mirror of https://github.com/razor-ai/soup.git
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> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| tracker.py | ||