Skip to content

Fix stale test fixtures and normalize resource CSV output - #32

Merged
JaeseungYeom merged 1 commit into
mainfrom
bug_fix/stale_examples
Sep 7, 2026
Merged

Fix stale test fixtures and normalize resource CSV output#32
JaeseungYeom merged 1 commit into
mainfrom
bug_fix/stale_examples

Conversation

@JaeseungYeom

Copy link
Copy Markdown
Collaborator

Fix stale/incorrect test-fixture documentation and normalize resource CSV quoting

Corrects five .answer.json files and several legacy .csv.expected prose descriptions (tests 01, 02, 03, 04, 05, 07, 11, 14, 15, 16, 22) that disagreed with their authoritative .expected_output.csv — including swapped job roles, wrong node counts, and a false idle-period claim in test 22. These files are not exercised by any test, so the errors were previously undetected; they're purely human-facing explanations of expected scheduler behavior.

Also quotes multi-value running_jobs fields in 37 expected_resources.csv files (30 comprehensive + all 7 scale) to produce structurally valid CSV — confirmed no test reads that column, so this doesn't change test behavior. Fixes a truthiness bug in test_easy_vs_conservative_correctness.sh that printed real 0 start times as None.

Independently verified: every corrected schedule re-derived by hand from the raw input traces and EASY-backfill logic, all 27 .answer.json files checked exhaustively against their authoritative CSVs (not just the 5 changed), all 37 resource-CSV changes diffed to confirm columns 1–3 are byte-identical before/after, and the full test suite re-run with zero regressions.

@JaeseungYeom JaeseungYeom added the bug Something isn't working label Sep 7, 2026
@JaeseungYeom JaeseungYeom self-assigned this Sep 7, 2026
@JaeseungYeom
JaeseungYeom merged commit 0dc3f8c into main Sep 7, 2026
4 checks passed
@JaeseungYeom
JaeseungYeom deleted the bug_fix/stale_examples branch September 8, 2026 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant