From f60f654ed1c28b7ac65e5341d30257568dd83674 Mon Sep 17 00:00:00 2001 From: matthewevans Date: Wed, 5 Aug 2026 03:48:31 -0700 Subject: [PATCH] chore(ai): restamp the perf baseline's card-data hash for the scoped provenance MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #7013 changed `card_data_hash` from a whole-file digest of card-data.json to a digest of only the cards `default_scenarios()` actually plays (46 of 46, as CI reports). The committed baseline still carries the OLD whole-file value, so the two sides are produced by different functions and can never agree — every perf gate run since the merge prints note: card-data hash changed (e2db8a6d…→d11502ce…) — likely a card-data-driven trajectory shift, not a cost-per-node regression on an unchanged workload. A diagnostic that fires unconditionally is worse than none: the next reader sees "card-data changed" and stops investigating a real regression. The new value is the one the merged binary computes on the CI runner, observed identically on two separate runs against different weekly card pools (30963718102 pre-merge, 30996886019 post-merge) — consistent with the scoped subset being stable across MTGJSON vintages, which is what motivated #7013. Provenance only. Counters, seed, action_cap, sample_count and scenarios are untouched, so this changes no PASS/FAIL verdict — `card_data_hash` is diagnostic and never feeds `any_fail()`. NOT fixed here, and worth its own change: `git_sha` reads 64b65e58e249, a pull/6777 BRANCH head that was never on main. Measuring at that commit yields layers_full_eval=4045 against the 3495 recorded here, so the baseline's counters do not reproduce at the commit they name. Restamping the SHA without re-measuring would only move the inconsistency. --- crates/phase-ai/baselines/perf-baseline.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/phase-ai/baselines/perf-baseline.json b/crates/phase-ai/baselines/perf-baseline.json index 7867321727..0297886158 100644 --- a/crates/phase-ai/baselines/perf-baseline.json +++ b/crates/phase-ai/baselines/perf-baseline.json @@ -1,7 +1,7 @@ { "schema_version": 4, "git_sha": "64b65e58e249", - "card_data_hash": "e2db8a6d4711e34097b307c454032b29fbce8d4f", + "card_data_hash": "d11502ce500bf1ed0392287cc0376248f37f993d", "base_seed": 2654435769, "action_cap": 3000, "sample_count": 5,