Skip to content

Scaffold schema v2 - #5

Merged
lagillenwater merged 5 commits into
greenelab:mainfrom
lagillenwater:scaffold-schema-v2
May 21, 2026
Merged

Scaffold schema v2#5
lagillenwater merged 5 commits into
greenelab:mainfrom
lagillenwater:scaffold-schema-v2

Conversation

@lagillenwater

Copy link
Copy Markdown
Collaborator

This PR sets up the scaffold for the evaluation harness and plans for future model/data additions:

pyproject.toml + uv.lock (Python 3.11, ruff/pyright/pytest configured)
src/fmharness/schema/ pydantic models: Patient, Sample, DrugAssay, BaselineExpression, Prediction, Tranche, LeakageProfile, EnvironmentSnapshot (all frozen, extra=forbid)
src/fmharness/utils/determinism.py with fix_seeds(seed)
tests/test_schema.py: hypothesis property tests, round-trip + bounds
.pre-commit-config.yaml, .github/workflows/ci.yml
containers/fmharness.def, .env.example
docs/environment.md (container/secrets/determinism contract)
docs/adapter_contract.md (model and control ingest settings)

lagillenwater and others added 4 commits May 19, 2026 15:35
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
- pyproject.toml + uv.lock (Python 3.11, ruff/pyright/pytest configured)
- src/fmharness/schema/ pydantic models: Patient, Sample, DrugAssay,
  BaselineExpression, Prediction, Tranche, LeakageProfile,
  EnvironmentSnapshot (all frozen, extra=forbid)
- src/fmharness/utils/determinism.py with fix_seeds(seed)
- tests/test_schema.py: hypothesis property tests, round-trip + bounds
- .pre-commit-config.yaml, .github/workflows/ci.yml
- containers/fmharness.def, .env.example
- docs/environment.md (container/secrets/determinism contract)

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
…ace. fix by definining protected_namespace parameter as (). Suggested fix by copilot PR review.
@lagillenwater
lagillenwater requested a review from graceakatsu May 19, 2026 21:37

@graceakatsu graceakatsu left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apologies for the delay - this looks great, I like the super clear documentation! I do wonder if maybe the plan ([docs/fm-pdo-evaluator-plan.md‎]) could be excluded from being committed to the greenelab github - but I think it could go either way! maybe I doesn't need to live there long-term?

Also, with other PRs (mine and others'), we sometimes request a review from Github Copilot, which often catches small things that are easy to miss. Just an option~

Otherwise, approving to merge!

@lagillenwater

Copy link
Copy Markdown
Collaborator Author

Good call. I removed the 3 week plan from tracking. Thanks!

@lagillenwater
lagillenwater merged commit 6ad1cb6 into greenelab:main May 21, 2026
1 check passed
@lagillenwater
lagillenwater deleted the scaffold-schema-v2 branch June 30, 2026 16:04
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.

2 participants