Skip to content

Validation-branch coverage, services tests, control-parity sweep, freshness lane (punch-list 6, 9) - #4

Merged
CJud25 merged 6 commits into
mainfrom
chore/sweeps-a1-freshness
Jul 28, 2026
Merged

CJud25 merged 6 commits into
mainfrom
chore/sweeps-a1-freshness

Conversation

@CJud25

@CJud25 CJud25 commented Jul 28, 2026

Copy link
Copy Markdown
Owner

What shipped

  • Item 6: every validate_demo_data error branch now exercised (16 mutators + thin-history warning); first tests for services.py (Do-Not-Contact exclusion with positive control, draft safety, report decision boundaries); the Trust-controls section of ARCHITECTURE.md is now machine-checked against named tests — including a guard that flags any UNANNOTATED bullet.
  • Item 9: scheduled monthly freshness check on the demo as-of date (deterministic rehearsal, remediation printed on the stale path).

Process

PM-briefed SME plans, Fable plan review, GPT 5.6 Sol implementation, adversarial QC + verified findings, supervised fixes. Gate green at every commit: ruff + pytest + validate_demo_data.

CJud25 and others added 6 commits July 27, 2026 18:04
…es the remediation; DNC score test gains its positive control
NaN in the float64 qualified_hiring_need column is truthy, so the
'or 0' idiom at pages.py:347 and services.py:126 did not guard it and
int(NaN) raised ValueError. Both sites now use the pd.isna idiom already
established at services.py:94; the deliberate None branch keeps working
(pd.isna covers both). Regression test drives None and NaN through the
real forecast-frame path for both the page render and the leadership
summary. Suite: 59 passed.

Co-Authored-By: GPT 5.6 Sol <noreply@openai.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JBGunVuQranA9dUGqxGuBD
@CJud25
CJud25 merged commit 30eee36 into main Jul 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant