Skip to content

feat: Phase R R5 preprint evidence bundle (PEB-) -- read-only evidence snapshot for preprint submission (closes Phase R) - #964

Merged
cschanhniem merged 1 commit into
mainfrom
feat/r5-preprint-evidence-bundle
Jul 10, 2026
Merged

cschanhniem merged 1 commit into
mainfrom
feat/r5-preprint-evidence-bundle

Conversation

@cschanhniem

Copy link
Copy Markdown
Collaborator

Implements R5 from NEXT_100_PR_MAP — closes Phase R (scientific output readiness).

What

  • src/openamp_foundry/evidence/preprint_evidence_bundle.py: PEB- schema; PreprintEvidenceBundle dataclass (19 fields); validate_preprint_evidence_bundle(); build_preprint_evidence_bundle() (enforces canonical DRY_LAB_ONLY_DISCLAIMER, dry_lab_only=True); format_preprint_evidence_bundle()
  • VALID_BUNDLE_STATUSES (5): draft, internal_review, approved, submitted, published
  • VALID_PREPRINT_SERVERS (7): bioRxiv, chemRxiv, Research Square, SSRN, Zenodo, OSF Preprints, not_submitted
  • VALID_CLAIM_STRENGTH_TIERS (4): computational_nomination, validated_computational, preliminary_wet_lab, replicated_wet_lab
  • DRY_LAB_ONLY_DISCLAIMER: canonical anti-overclaim statement enforced in every bundle
  • tests/evidence/test_preprint_evidence_bundle.py: 66 tests in 5 classes
  • BASELINE: 9152 → 9215

Disconfirming pass

  • dry_lab_only=False blocked (tested)
  • TOY- family ID blocked (tested)
  • wrong DRY_LAB_ONLY_DISCLAIMER blocked (tested) — canonical text is mandatory
  • published requires preprint_doi (tested)
  • draft blocks preprint_doi (tested)
  • submitted/published require real server (not 'not_submitted') (tested)
  • replicated_wet_lab requires n_confirmed_hits >= 2 (tested)
  • empty artifact_ids blocked (tested)

…e snapshot for preprint submission; VALID_BUNDLE_STATUSES (5), VALID_PREPRINT_SERVERS (7), VALID_CLAIM_STRENGTH_TIERS (4); DRY_LAB_ONLY_DISCLAIMER enforced; published requires DOI; replicated_wet_lab requires 2+ hits; closes Phase R (#962)
@cschanhniem
cschanhniem merged commit 5537441 into main Jul 10, 2026
1 check failed
cschanhniem added a commit that referenced this pull request Jul 10, 2026
… transparency + external credibility, S1-S5) (#965) (#965)

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