Add unit tests for walk_forward_splits

Created tests/test_model_training.py and added unit tests for the walk_forward_splits function in models/model_training.py. Tests cover basic chronological splitting logic, varying number of splits, dataset sizes that don't divide perfectly, and end bounds capping. Verified that the tests accurately catch regressions.

Co-authored-by: maghdam <63883156+maghdam@users.noreply.github.com>
This commit is contained in:
google-labs-jules[bot]
2026-03-11 18:39:00 +00:00
co-authored by maghdam
parent 29fcbf0f9d
commit f9be43b827
2 changed files with 91 additions and 0 deletions
View File