docs(math): add Appendix A for v0.2 pipeline (JSONL mapping, CE, temp… #14
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
| name: CI | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Install dependencies (root) | |
| run: | | |
| python -m pip install --upgrade pip | |
| if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
| - name: Install dependencies (medical model) | |
| run: | | |
| pip install -r medical_diagnosis_model/requirements.txt | |
| - name: Validate sample datasets | |
| run: | | |
| python medical_diagnosis_model/tools/sanity.py data | |
| - name: Run unit tests | |
| env: | |
| PYTHONPATH: ${{ github.workspace }}:${{ github.workspace }}/medical_diagnosis_model | |
| MDM_QUICK_TRAIN: '1' | |
| run: | | |
| python medical_diagnosis_model/tools/sanity.py tests | |