ai-code-battle/cmd/acb-matchmaker
jedarden c726de4d7c fix(test): replace duration-based age check with calendar-relative anchors
TestThreeMonthAgeCheck used 89*24h as "3 months minus 1 day", but
89 calendar days == exactly 3 months on dates like May 1 (Feb+Mar+Apr=
28+31+30=89). The equality case makes the >3-month eligibility check
return true instead of false. Replace with AddDate-relative anchors
so the test stays correct regardless of current date.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-30 22:14:40 -04:00
..
alerts.go Extract matchmaker into separate deployment (acb-matchmaker) 2026-03-29 00:55:46 -04:00
config.go feat(web,cmd): enhance evolution dashboard, series/seasons pages, and matchmaker 2026-04-21 13:42:20 -04:00
cooldown_test.go test: integration tests for multi-match crash cooldown (3 strikes / 30 min) per §4.5 + §6.1 2026-04-22 15:14:03 -04:00
crypto.go Extract matchmaker into separate deployment (acb-matchmaker) 2026-03-29 00:55:46 -04:00
Dockerfile fix(docker): add COPY metrics/ to all service Dockerfiles 2026-04-23 18:00:16 -04:00
main.go feat(config): add season_id + rules_version to Config per §4.2 2026-04-22 18:09:26 -04:00
map_fairness.go fix(matchmaker): use inclusive boundary for classic promotion age check 2026-04-23 17:45:36 -04:00
map_fairness_test.go fix(test): replace duration-based age check with calendar-relative anchors 2026-04-30 22:14:40 -04:00
series_season.go feat(config): add season_id + rules_version to Config per §4.2 2026-04-22 18:09:26 -04:00
series_season_test.go feat(playlists): add playlist curation and rebuild logic per §10, with series/seasons/enrichment 2026-04-21 16:11:27 -04:00
tickers.go fix(matchmaker): stale-reaper queries claimed not running status 2026-04-24 17:24:57 -04:00
tickers_test.go fix(matchmaker): correct priority inversion in bestCandidate opponent selection 2026-04-22 17:46:44 -04:00