Skip to content

feat: Phase B B9 certificate claim discipline CI gate -- machine-verifiable overclaim prevention - #871

Merged
cschanhniem merged 1 commit into
mainfrom
feat/b9-certificate-claim-discipline
Jul 10, 2026
Merged

cschanhniem merged 1 commit into
mainfrom
feat/b9-certificate-claim-discipline

Conversation

@cschanhniem

Copy link
Copy Markdown
Collaborator

Summary

  • New test file: tests/test_certificate_claim_discipline.py — 35-test CI gate for claim discipline
  • Scans all certificate text fields (strings + list items) against two pattern sets:
    • RISKY_PATTERNS from scripts/safety/check_claims.py (overclaiming language)
    • FORBIDDEN_CLAIM_PATTERNS from gates/wave0_5_gate_checker.py (therapeutic/clinical claims)
  • Tests: default build_certificate() output proven clean; risky phrases (proven/drug candidate/cure/clinical) detected; forbidden phrases (antibiotic/therapy/wet-lab confirms) detected; scanner coverage; JSON roundtrip discipline preserved
  • BASELINE 6170→6205 (35 tests)
  • Closes Phase B B9 — claim discipline is now a CI gate, not just a reviewer convention

…rt text fields against forbidden and risky patterns
@cschanhniem
cschanhniem merged commit fd07c01 into main Jul 10, 2026
1 check failed
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