soup/soup_cli
Alpamys 5f728c04cc Expand test suite from ~70 to 147 tests, fix flaky ordering bug
Add 8 new test files covering previously untested modules:
- test_chat.py: _detect_base_model, adapter validation
- test_push.py: _format_size, _generate_model_card, token checks
- test_init.py: all templates, overwrite confirm/deny, YAML validation
- test_callback.py: SoupTrainerCallback with mocks
- test_display.py: TrainingDisplay rendering + edge cases
- test_loader.py: JSON/CSV/JSONL loading, empty lines, bad JSON
- test_validator.py: validate_and_stats, extended_stats, _percentile
- test_formats.py: reverse conversion, round-trips, edge cases

Fix flaky test_list_runs_ordering by adding rowid DESC as tiebreaker
in list_runs SQL query (runs created in same second had nondeterministic order).

Update CLAUDE.md with test file inventory.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 20:52:33 +05:00
..
commands Phase 2: experiment tracking, data tools, model evaluation 2026-02-23 23:34:28 +05:00
config Phase 1.5: add soup chat, soup push, DPO trainer + smoke tests 2026-02-23 21:18:19 +05:00
data Phase 2: experiment tracking, data tools, model evaluation 2026-02-23 23:34:28 +05:00
experiment Expand test suite from ~70 to 147 tests, fix flaky ordering bug 2026-03-02 20:52:33 +05:00
monitoring Phase 2: experiment tracking, data tools, model evaluation 2026-02-23 23:34:28 +05:00
trainer Phase 2: experiment tracking, data tools, model evaluation 2026-02-23 23:34:28 +05:00
utils Fix all ruff lint errors and failing test 2026-02-20 16:25:46 +05:00
__init__.py Initial project setup: CLI skeleton + config + trainer + data pipeline 2026-02-20 16:14:56 +05:00
__main__.py Initial project setup: CLI skeleton + config + trainer + data pipeline 2026-02-20 16:14:56 +05:00
cli.py Phase 2: experiment tracking, data tools, model evaluation 2026-02-23 23:34:28 +05:00