Skip to content

feat: Phase Q Q2 pre-registration entry schema -- pre-commitment lock before wet-lab (closes PRE- reference from Q1 PEP) - #852

Merged
cschanhniem merged 1 commit into
mainfrom
feat/q2-pre-registration-entry
Jul 10, 2026
Merged

cschanhniem merged 1 commit into
mainfrom
feat/q2-pre-registration-entry

Conversation

@cschanhniem

Copy link
Copy Markdown
Collaborator

Summary

  • PreRegistrationEntry: 14 fields, locks hypothesis+endpoint+candidates before experiments
  • 9 validation rules: PRE- prefix, non-empty required strings, candidate_ids>=1, registered_date ISO format, registration_status in {submitted,approved,rejected}, notes length
  • 4 warnings: approved+dry_lab_only, no positive control, no negative control, single candidate
  • 63 tests; BASELINE 5036->5099
  • CLI: openamp-foundry pre-registration-check
  • Closes the open PRE- reference from Q1 PilotEvidencePackage

…d candidate list before wet-lab begins, prevents HARKing, referenced by PEP
@cschanhniem
cschanhniem merged commit 4da9fde into main Jul 10, 2026
1 check failed
cschanhniem added a commit that referenced this pull request Jul 10, 2026
…- machine-checkable A/B/C/D grade for calibration weight reliability based on cohort size and cross-batch consistency (#852) (#1011)

VALID_RCC_GRADES (A-D), VALID_RCC_VERDICTS (4: high_confidence/moderate_confidence/low_confidence/insufficient_data),
VALID_CONSISTENCY_RATINGS (4: consistent/moderately_consistent/inconsistent/unknown).
BatchCohortEntry helper; grade A (>=4 batches consistent), B (>=2 batches consistent/moderately_consistent),
D (insufficient_data when <2 batches or inconsistent).
cit_id and lpr_id prefix-validated; dry_lab_only=True enforced; 76 tests.
BASELINE updated 10367->10443.

Co-authored-by: OpenCode <opencode@example.com>
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