Repository navigation
test(biome): add curated backend workflow coverage - #44
Merged
iihimanshuu merged 1 commit intoAug 23, 2026
Merged
Conversation
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.
Pull Request description
Add one end-to-end integration test covering the complete curated-knowledge
backend workflow through the fake HiperHealth boundary.
The test:
ScientificReferenceobjects;CuratedKnowledgeRecordobjects;KnowledgeCollection;existing fake HiperHealth adapter;
This is a test-only change. No production code, dependencies, manifests,
documentation, or existing unit tests are modified.
Closes #24
How to test these changes
Run the focused integration test:
py -3.13 -m pytest tests/test_backend_workflow.py -q -p no:xonshRun the complete test suite:
py -3.13 -m pytest --cov=hphbiome --cov=hphbiome_hiperhealth --cov-fail-under=92 --cov-report term-missing --no-cov-on-fail -p no:xonsh -qRun Ruff:
py -3.13 -m ruff check packages testsVerify formatting:
py -3.13 -m ruff format --check packages testsRun mypy:
py -3.13 -m mypy packages/hphbiome/src packages/hphbiome-hiperhealth/srcRun pre-commit:
py -3.13 -m pre_commit run --files tests/test_backend_workflow.py --verbosePull Request checklists
This PR is a:
About this PR:
Author's checklist:
Additional information
The complete suite passes with 279 tests and 99.85% coverage.
All records, statuses, bibliographic metadata, queries, references, and patient
context used by the integration test are obviously fictional.
The test uses a pytest temporary directory and requires no network access,
external service, credential, paid API, PHI, real patient data, medical dataset,
or real scientific reference.