You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Verified triage of all 83 Copilot review threads on PRs #2564-#2573:
1 real blocker + 4 escalations confirmed by direct code verification;
the rest nitpicks / already-fixed / intentional bug-mirrors. All fixes
TDD RED->GREEN.
- Consensus entry keys -> Clojure blob shape {tid, n-success, n-trials,
p-success, p-test} (was Python-convention comment_id/n_success/...).
Narrows the S1 deferral: these entries flow raw into
result['consensus'], where server-helpers.ts:298-313 and client-report
majorityStrict.jsx:23-27 pluck `tid` - the Python keys broke both
consumers. Rep-comment entries keep comment_id until the deferred
math-blob alignment PR.
- DynamoDB writer read D11 consensus from a key to_dynamo_dict never
emits (repness.consensus_comments) -> always wrote the empty default;
D11 data never reached Delphi_PCAResults. Now reads top-level
result['consensus']. The round-trip test had stubbed to_dynamo_dict
with the writer's wrong nested shape - stub corrected to the real
producer shape.
- to_dynamo_dict comment priorities: int(value) -> Decimal-preserving.
int() floors sub-1 priorities to 0 (real formula spans ~0.18-31.46 per
D12.6), which the TS server's weighted routing reads as "no priority
data". Harmless today (bug-mirror pins 49.0), landmine once #2571
resolves. Legacy writer path Decimal-wrapped too.
- DynamoDB reader normalizes legacy list-shaped consensus to the dict
shape (pre-D11 blobs).
- mod_out truthiness -> `is not None` x2 in repness.py (numpy
array/Index-safe).
- _compute_comment_priorities fails closed (error log + empty dict) on
PCA/columns desync instead of silently zip-truncating extremities.
- bench_repness.py imported the 14a-deleted comment_stats (ImportError
on any benchmark run); benchmark import test added.
- Per-variant xfails replace blanket xfail(strict=False) on D11/D12
real-data tests, so the variants that match Clojure gate again.
DISCOVERY: scoping the blanket unmasked two previously-invisible
incremental divergences (bg2018-incremental, pakistan-incremental
consensus vs Clojure) that the blanket had silently absorbed -
documented as known-bad incremental xfails, same family as
biodiversity-incremental, deferred to the sequential-parity work.
3 pre-existing CCR failures (verified identical on edge 722640e)
marked with precise per-variant reasons. PGR regression tests skip
with the 2026-06-11 goldens-deferral reason - the mark S3-5 claimed
to add but never committed.
- test_repness_smoke consensus-entry structure assertion updated to the
Clojure key shape (exact key-set check).
- ns docstrings corrected (ns includes PASS post ns-PASS fix; pa+pd <= 1
reasoning in select_consensus_comments_df).
- PERF deferral comment on the _compute_group_votes scan in
_compute_comment_priorities (follow-up issue to be filed).
Baseline (2026-07-04, stack top, --include-local): 13 failed / 476
passed / 18 skipped / 143 xfailed. All 13 accounted for: 10 stale-PGR
comparisons (now skipped per deferral), 3 pre-existing CCR (now precise
xfails).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013CiESAwcrZ6BcVfdkumnxa
commit-id:4cc93a23
0 commit comments