Thank you for improving MedIntelOS. Contributions should keep the project testable, transparent about limitations, and safe for public distribution.
- Create a virtual environment.
- Run
python -m pip install -e ".[dev]". - Create a focused branch and add tests with the change.
- Run
ruff check .,pytest, andmypy src/medintelos. - For contract changes, run
npm test.
Clinical rules must include a primary published source, units, inclusion and exclusion criteria, missing-data behavior, and tests at every threshold. A rule implementation is not clinical validation. Do not describe it as validated, safe, compliant, or ready for patient care without publicly reviewable evidence.
Keep changes narrow. Explain behavior, risks, test evidence, migration impact, and any security or privacy consequences. Never commit real patient data, credentials, private keys, model artifacts derived from PHI, or licensed terminology content that cannot be redistributed.