Address review findings: const guards, qualifying-count regression test, owned keys

- Add compile-time const assertions (const _: () block, stable on 1.95)
  for MAX_RQ, MIN_VALID_TIME, TIME_TOLERANCE, TEST_BOWL_FACTOR, and
  CONCURRENCY_LIMIT so bad constant edits fail the build; remove the
  stale comment that incorrectly claimed compile-time validation existed
- Add regression test for the qualifying-count fix: car with 3 configs
  where only 2 meet min_count and 2 copies suffice to cover the
  qualifying ones (previously phantom-wishlisted via overcounting)
- Use owned String keys in qualifying_per_guid to decouple the map from
  guid_to_rid's allocations
- Clarify write_improve_csv doc (exactly one row per car), restore the
  remove.csv test section header, add trailing newline to .gitignore
This commit is contained in:
Jan-Peter von Hunnius 2026-08-15 19:07:03 +02:00
parent 2ab66a249b
commit 39d1e1d71b
3 changed files with 84 additions and 16 deletions

2
.gitignore vendored
View file

@ -6,4 +6,4 @@ tracks_repo.json
times/
*.csv
AGENTS.md
AGENTS.md