Prerequisites: Python
#Clone repo:
git clone https://github.com/alee097/chatCHW.git
cd chatCHW
#Run engine.py to view demo outputs on sample data:
python engine.py
#Run tests.py to run tests:
python tests.py
- engine.py: Contains core logic behind interpretation, evaluation, and rule reconstruction.
- tests.py: Automated tests for the interpreter.
- outputs/: Mermaid output for the sample ruleset, interpreter output for 10 sample patients, and extracted ruleset JSON from the manual excerpt.
- docs/: Notes and design process, image of sample Mermaid flowchart generated via https://mermaid.live.
- sample_data/: Sample ruleset, patient data, and manual excerpts.