Scaffold schema v2 - #5
Merged
Merged
Conversation
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]>
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.
graceakatsu
approved these changes
May 20, 2026
graceakatsu
left a comment
There was a problem hiding this comment.
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!
Collaborator
Author
|
Good call. I removed the 3 week plan from tracking. Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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)