diff --git a/docs/evidence/GUIDE_TUTORIAL_CLEANUP.md b/docs/evidence/GUIDE_TUTORIAL_CLEANUP.md new file mode 100644 index 00000000..48e35edb --- /dev/null +++ b/docs/evidence/GUIDE_TUTORIAL_CLEANUP.md @@ -0,0 +1,21 @@ +# Tutorial Cleanup Guidance + +Each tutorial should include cleanup instructions. + +## Format +```markdown +## Cleanup + +To remove the files created in this tutorial: + +```bash +rm -rf outputs/demo_ranked.jsonl outputs/evidence/ outputs/demo_report.md +``` + +If you want to remove the entire project: + +```bash +cd .. +rm -rf OpenAMP-Foundry +``` +``` diff --git a/docs/evidence/STANDARD_TUTORIAL_EXPECTED_FILES.md b/docs/evidence/STANDARD_TUTORIAL_EXPECTED_FILES.md new file mode 100644 index 00000000..ce5c9e8e --- /dev/null +++ b/docs/evidence/STANDARD_TUTORIAL_EXPECTED_FILES.md @@ -0,0 +1,15 @@ +# Tutorial Expected Files Section Standard + +Each tutorial should include a section listing the files the reader should +have after completing the tutorial. + +## Format +```markdown +## Expected Files + +After completing this tutorial, you should have: + +- `outputs/demo_ranked.jsonl` — ranked candidate list +- `outputs/evidence/` — evidence certificates for selected candidates +- `outputs/demo_report.md` — human-readable report +``` diff --git a/docs/evidence/TEMPLATE_TUTORIAL_SAFETY_NOTE.md b/docs/evidence/TEMPLATE_TUTORIAL_SAFETY_NOTE.md new file mode 100644 index 00000000..9a291f77 --- /dev/null +++ b/docs/evidence/TEMPLATE_TUTORIAL_SAFETY_NOTE.md @@ -0,0 +1,11 @@ +# Tutorial Safety Boundary Note Template + +Use this template for tutorials that touch safety-adjacent topics. + +```markdown +> **Safety Note:** This tutorial demonstrates computational scoring only. +> No biological activity has been demonstrated. The scores shown are +> predictions, not proof of antimicrobial efficacy. Do not use these +> results for clinical, safety, or release decisions without qualified +> human review and wet-lab validation. +``` diff --git a/docs/evidence/TEMPLATE_TUTORIAL_TROUBLESHOOTING.md b/docs/evidence/TEMPLATE_TUTORIAL_TROUBLESHOOTING.md new file mode 100644 index 00000000..ae76ea0d --- /dev/null +++ b/docs/evidence/TEMPLATE_TUTORIAL_TROUBLESHOOTING.md @@ -0,0 +1,16 @@ +# Tutorial Troubleshooting Appendix Template + +```markdown +## Troubleshooting + +### `command not found: openamp-foundry` +Make sure you've installed the package: `pip install -e ".[dev]"` + +### `ModuleNotFoundError: No module named 'openamp_foundry'` +Make sure the virtual environment is activated and PYTHONPATH is set: +`source .venv/bin/activate && export PYTHONPATH=src` + +### Tests fail +Check your Python version: `python3 --version` (requires 3.11+) +If tests still fail, open an issue. +``` diff --git a/docs/evidence/TUTORIAL_INDEX_BY_LEVEL.md b/docs/evidence/TUTORIAL_INDEX_BY_LEVEL.md new file mode 100644 index 00000000..9089163c --- /dev/null +++ b/docs/evidence/TUTORIAL_INDEX_BY_LEVEL.md @@ -0,0 +1,8 @@ +# Tutorial Index by Reader Level + +| Level | Reader | Recommended Tutorials | +|-------|--------|---------------------| +| Beginner | First-time contributor | QUICKSTART.md, first contribution decision tree | +| Intermediate | Regular contributor | ARCHITECTURE.md, REVIEWER_CURRICULUM.md | +| Advanced | Maintainer | Calibration audit walkthrough, release dry-run walkthrough | +| Agent | AI agent | AGENTS.md, AGENT_TASKS.json, AGENT_CURRICULUM.md | diff --git a/docs/evidence/TUTORIAL_PREREQS_CHECKLIST.md b/docs/evidence/TUTORIAL_PREREQS_CHECKLIST.md new file mode 100644 index 00000000..881c3e5f --- /dev/null +++ b/docs/evidence/TUTORIAL_PREREQS_CHECKLIST.md @@ -0,0 +1,10 @@ +# Tutorial Prerequisites Checklist + +Before starting a tutorial, ensure: + +- [ ] Python 3.11+ is installed +- [ ] `git` is installed +- [ ] A virtual environment is created: `python3 -m venv .venv` +- [ ] Dependencies are installed: `pip install -e ".[dev]"` +- [ ] The tutorial's estimated time is accurate +- [ ] All commands in the tutorial work from a clean checkout diff --git a/docs/evidence/WALKTHROUGH_ARTIFACT_VALIDATION.md b/docs/evidence/WALKTHROUGH_ARTIFACT_VALIDATION.md new file mode 100644 index 00000000..d7e734e0 --- /dev/null +++ b/docs/evidence/WALKTHROUGH_ARTIFACT_VALIDATION.md @@ -0,0 +1,13 @@ +# Guided Walkthrough: Artifact Validation + +## Scenario +You've received lab result JSON files from a partner. Validate them. + +## Steps +1. Place the JSON files in a single directory. +2. Run: `python scripts/validate_lab_data_return.py --results-dir