Repository navigation
Protocol discovery: tsf data splits, generated split facts, reproduce skill - #70
Merged
Merged
Conversation
… protocols - tsflab.data.protocol: split_borders/train_rows used by every ForecastingDataset, split_protocol (rows used, truncation, borders with seq_len overlap, ratio, scaling) and load_splits (runner-identical arrays, optional explicit file) - ETT row limits become loader class facts (max_rows); loaders byte-identical - tsf data splits <dataset> [--seq-len N] [--path FILE] [--json] - tsf catalog show <dataset>: generated split facts lead the L1 page - card [protocol]: ETT truncation and PEMS/METR-LA window split stated explicitly - reproduce-paper-results: protocol-first, scaffold + tsf run for new methods, executed runs only; AGENTS.md points to tsf data splits - fix the tsf data add loader template border argument order
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Agents reproducing new papers inside TSFLab split ETTh1 as 6:2:2 of the full 17,420-row CSV. The card's one-line protocol did not state the 14,400-row truncation, and the reproduce skill pushed them to write private loops. This PR makes the official protocol explicit and reusable for every dataset.
tsflab.data.protocol:split_borders/train_rowsare now the single source that all loaders use;split_protocolandload_splits(also on an explicit raw file) return the official borders, scaling and arrays.tsf data splits <dataset> [--seq-len N] [--path FILE] [--json].[protocol]line now states hidden rules for ETT (row truncation) and the PEMS/METR-LA window-index splits.reproduce-paper-resultsskill: protocol first; path for a method not in the catalog; local values only from executed runs; custom loops only throughload_splits. AGENTS.md points totsf data splits.tsf data addloader template (_get_bordersargument order).Loader outputs are byte-identical to before for ETTh1, ETTm1, weather and solar (all splits, M and S). No model code changes. Checks: audit passes, ruff F passes, pytest 360 passed.