Repository navigation
docs(biome): document curated knowledge workflow - #45
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
Document the complete curated-knowledge backend workflow using public APIs and
obviously fictional data.
This documentation-only PR:
ScientificReferenceobjects;CuratedKnowledgeRecordobjects;KnowledgeCollection;hphbiomeandhphbiome-hiperhealth;location;
The standalone example requires only the
hphbiomepackage and Python’sstandard library. HiperHealth is not required.
No production behavior, tests, manifests, dependencies, or root documentation
are changed.
Closes #25
How to test these changes
Run the Python example under the “Curated-knowledge backend workflow” section of:
packages/hphbiome/README.mdThe expected behavior is:
fictional-record-visibleis returned;1.0;fictional-record-hiddenis excluded by the status allowlist;Run 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 packages/hphbiome/README.md packages/hphbiome-hiperhealth/README.md --verbosePull Request checklists
This PR is a:
About this PR:
Author's checklist:
Additional information
The full suite passes with 279 tests and 99.85% coverage.
All example records, review statuses, bibliographic metadata, identifiers,
canonical URLs, queries, and syntheses are fictional.
The documentation explicitly states that HPH Biome does not diagnose, recommend
treatment, validate scientific or medical claims, or replace professional
judgment. It also states that callers remain responsible for privacy, licensing,
content quality, and review status.