lab-kit-cli 0.6.0__tar.gz → 0.6.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/CHANGELOG.md +5 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/PKG-INFO +1 -1
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1/examples/monte-carlo-lab/.agents}/skills/plan-mission/SKILL.md +1 -1
- lab_kit_cli-0.6.1/examples/monte-carlo-lab/.gitignore +5 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/lab.yaml +1 -1
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/pyproject.toml +1 -1
- {lab_kit_cli-0.6.0/examples/monte-carlo-lab/.agents → lab_kit_cli-0.6.1}/skills/plan-mission/SKILL.md +1 -1
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/src/lab_kit/__init__.py +1 -1
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/src/lab_kit/commands/migrate.py +24 -3
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/src/lab_kit/commands/setup.py +1 -1
- lab_kit_cli-0.6.1/tests/fixtures/monte-carlo-lab-0.5/ops/missions/.gitkeep +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/test_migrate.py +65 -0
- lab_kit_cli-0.6.0/examples/monte-carlo-lab/.gitignore +0 -4
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/.github/workflows/ci.yml +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/.github/workflows/policy.yml +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/.github/workflows/release.yml +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/.gitignore +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/AGENTS.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/CLAUDE.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/CONTRIBUTING.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/LICENSE +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/README.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/SETUP.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/agents/reporter.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/agents/reviewer.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/agents/runner.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/agents/scout.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/docs/figures/how-lab-kit-works-dark.svg +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/docs/figures/how-lab-kit-works-light.svg +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/docs/figures/lab-loop-dark.svg +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/docs/figures/lab-loop-light.svg +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/docs/figures/number-chain-dark.svg +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/docs/figures/number-chain-light.svg +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/docs/spec/lab-model.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/.agents/agents/reporter.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/.agents/agents/reviewer.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/.agents/agents/runner.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/.agents/agents/scout.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/.agents/skills/address/SKILL.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/.agents/skills/configure/SKILL.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/.agents/skills/experiment/SKILL.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/.agents/skills/organise/SKILL.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/.agents/skills/publish/SKILL.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/.agents/skills/review/SKILL.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/.agents/skills/run/SKILL.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/.agents/skills/run-mission/SKILL.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/.agents/skills/set-up/SKILL.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/.agents/skills/set-up-lab/SKILL.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/.agents/skills/write/SKILL.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/.lab/frozen.sha256 +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/.lab/method/DISCIPLINE.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/.lab/method/LADDER.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/.lab/migration.tsv +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/AGENTS.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/CLAUDE.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/.folio/backlinks.json +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/.folio/cards.json +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/.folio/catalog.json +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/.folio/journal.json +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/.folio/nav.json +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/.folio/search.json +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/.gitignore +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/assets/data/.gitkeep +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/assets/figures/.gitkeep +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/assets/refs.bib +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/baseline.sha256 +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/content/claims/C-1.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/content/index.html +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/content/journal/2026/2026-10-04-concluded-the-pi-error-scaling-mission.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/content/journal/2026/2026-10-04-lab-set-up.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/content/journal/2026/2026-10-04-locked-the-pi-error-scaling-protocol.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/content/journal/2026/2026-10-04-opened-the-pi-error-scaling-mission.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/content/journal/2026/2026-10-04-r-1-fitted-the-mean-absolute-error.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/content/journal/2026/2026-10-04-ran-the-pi-error-scaling-protocol.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/content/journal/2026/2026-10-04-recorded-r-1.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/content/journal/2026/2026-10-04-recorded-r-2.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/content/journal/2026/2026-10-04-reported-the-pi-error-scaling-experiment.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/content/journal/2026/2026-10-04-the-square-root-law-holds-per-size-predictions.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/content/maps/research.html +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/content/projects/lab/index.html +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/content/protocols/pi-error-scaling.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/content/questions/Q-1.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/content/reports/pi-error-scaling-report/index.html +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/content/results/R-1.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/content/results/R-2.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/folio.yaml +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/experiments/.gitkeep +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/experiments/26-10-04-e_pi-error-scaling/bin/.gitkeep +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/experiments/26-10-04-e_pi-error-scaling/bin/fold.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/experiments/26-10-04-e_pi-error-scaling/bin/sample.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/experiments/26-10-04-e_pi-error-scaling/lock.json +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/experiments/26-10-04-e_pi-error-scaling/score.yaml +0 -0
- {lab_kit_cli-0.6.0/examples/monte-carlo-lab/ops → lab_kit_cli-0.6.1/examples/monte-carlo-lab}/missions/.gitkeep +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/missions/26-10-04-m_pi-error-scaling.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/ops/STATE.md +0 -0
- {lab_kit_cli-0.6.0/tests/fixtures/monte-carlo-lab-0.5/docs/assets/data → lab_kit_cli-0.6.1/examples/monte-carlo-lab/ops/missions}/.gitkeep +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/runs/26-10-04-e_pi-error-scaling/26-10-04-2316-r_zlk7/out/estimates.tsv +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/runs/26-10-04-e_pi-error-scaling/26-10-04-2316-r_zlk7/run.json +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/substrate/README.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/substrate/estimator.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/method/DISCIPLINE.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/method/LADDER.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/skills/experiment/SKILL.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/skills/review/SKILL.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/skills/run-mission/SKILL.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/skills/set-up-lab/SKILL.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/src/lab_kit/__main__.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/src/lab_kit/budgets.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/src/lab_kit/checks/__init__.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/src/lab_kit/checks/base.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/src/lab_kit/checks/files.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/src/lab_kit/checks/locks.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/src/lab_kit/checks/results.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/src/lab_kit/checks/run.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/src/lab_kit/cli.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/src/lab_kit/commands/__init__.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/src/lab_kit/commands/experiments.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/src/lab_kit/commands/runs.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/src/lab_kit/commands/status.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/src/lab_kit/data.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/src/lab_kit/errors.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/src/lab_kit/frozen.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/src/lab_kit/gitlog.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/src/lab_kit/lab.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/src/lab_kit/ops.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/src/lab_kit/protocol.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/src/lab_kit/records.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/src/lab_kit/rederive.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/src/lab_kit/store.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/src/lab_kit/supervise.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/conftest.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/.agents/agents/reporter.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/.agents/agents/reviewer.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/.agents/agents/runner.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/.agents/agents/scout.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/.agents/skills/address/SKILL.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/.agents/skills/configure/SKILL.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/.agents/skills/experiment/SKILL.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/.agents/skills/organise/SKILL.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/.agents/skills/plan-mission/SKILL.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/.agents/skills/publish/SKILL.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/.agents/skills/review/SKILL.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/.agents/skills/run/SKILL.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/.agents/skills/run-mission/SKILL.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/.agents/skills/set-up/SKILL.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/.agents/skills/set-up-lab/SKILL.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/.agents/skills/write/SKILL.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/.gitignore +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/.lab/frozen.sha256 +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/.lab/method/DISCIPLINE.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/.lab/method/LADDER.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/AGENTS.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/CLAUDE.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/docs/.folio/backlinks.json +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/docs/.folio/cards.json +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/docs/.folio/catalog.json +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/docs/.folio/journal.json +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/docs/.folio/nav.json +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/docs/.folio/search.json +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/docs/.gitignore +0 -0
- {lab_kit_cli-0.6.0/tests/fixtures/monte-carlo-lab-0.5/docs/assets/figures → lab_kit_cli-0.6.1/tests/fixtures/monte-carlo-lab-0.5/docs/assets/data}/.gitkeep +0 -0
- {lab_kit_cli-0.6.0/tests/fixtures/monte-carlo-lab-0.5/experiments → lab_kit_cli-0.6.1/tests/fixtures/monte-carlo-lab-0.5/docs/assets/figures}/.gitkeep +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/docs/assets/refs.bib +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/docs/content/claims/C-1.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/docs/content/index.html +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/docs/content/journal/2026/2026-10-04-concluded-the-pi-error-scaling-mission.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/docs/content/journal/2026/2026-10-04-lab-set-up.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/docs/content/journal/2026/2026-10-04-locked-the-pi-error-scaling-protocol.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/docs/content/journal/2026/2026-10-04-opened-the-pi-error-scaling-mission.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/docs/content/journal/2026/2026-10-04-r-1-fitted-the-mean-absolute-error.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/docs/content/journal/2026/2026-10-04-ran-the-pi-error-scaling-protocol.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/docs/content/journal/2026/2026-10-04-recorded-r-1.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/docs/content/journal/2026/2026-10-04-recorded-r-2.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/docs/content/journal/2026/2026-10-04-reported-the-pi-error-scaling-experiment.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/docs/content/journal/2026/2026-10-04-the-square-root-law-holds-per-size-predictions.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/docs/content/maps/research.html +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/docs/content/projects/lab/index.html +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/docs/content/protocols/pi-error-scaling.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/docs/content/questions/Q-1.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/docs/content/reports/pi-error-scaling-report/index.html +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/docs/content/results/R-1.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/docs/content/results/R-2.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/docs/folio.yaml +0 -0
- {lab_kit_cli-0.6.0/tests/fixtures/monte-carlo-lab-0.5/experiments/pi-error-scaling/bin → lab_kit_cli-0.6.1/tests/fixtures/monte-carlo-lab-0.5/experiments}/.gitkeep +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/experiments/pi-error-scaling/.gitignore +0 -0
- {lab_kit_cli-0.6.0/tests/fixtures/monte-carlo-lab-0.5/experiments/pi-error-scaling/runs → lab_kit_cli-0.6.1/tests/fixtures/monte-carlo-lab-0.5/experiments/pi-error-scaling/bin}/.gitkeep +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/experiments/pi-error-scaling/bin/fold.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/experiments/pi-error-scaling/bin/sample.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/experiments/pi-error-scaling/lock.json +0 -0
- {lab_kit_cli-0.6.0/tests/fixtures/monte-carlo-lab-0.5/ops/missions → lab_kit_cli-0.6.1/tests/fixtures/monte-carlo-lab-0.5/experiments/pi-error-scaling/runs}/.gitkeep +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/experiments/pi-error-scaling/runs/20261004-231629/MANIFEST.sha256 +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/experiments/pi-error-scaling/runs/20261004-231629/out/estimates.tsv +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/experiments/pi-error-scaling/runs/20261004-231629/run.json +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/experiments/pi-error-scaling/score.yaml +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/lab.yaml +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/ops/STATE.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/ops/missions/2026-10-04-pi-error-scaling.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/substrate/README.md +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/substrate/estimator.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/test_budgets.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/test_checks.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/test_end_to_end.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/test_example.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/test_instrument.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/test_runs.py +0 -0
- {lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/test_store.py +0 -0
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.6.1
|
|
4
|
+
|
|
5
|
+
- `lab-kit migrate` rewrites a run's `config` with the same names it rewrites in its protocol's pinned configuration, so `lab-roster-frozen` holds after the move.
|
|
6
|
+
- The plan-mission skill points `ops/STATE.md` at `missions/`.
|
|
7
|
+
|
|
3
8
|
## 0.6.0
|
|
4
9
|
|
|
5
10
|
- One folder per run, outside git. A run is `runs/<experiment>/<YY-MM-DD-HHMM>-r_<4 characters>/` and holds everything it produced. lab-kit writes only `run.json` and `run.log` there; the rest is the experiment's own. `LAB_RUN` names the folder. `LAB_OUT`, `LAB_WORK` and `LAB_RUN_DIR` still work for one release.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: lab-kit-cli
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.1
|
|
4
4
|
Summary: A research lab's method and machinery on top of folio: pre-register, lock, run, score, re-derive.
|
|
5
5
|
Project-URL: Homepage, https://github.com/pierg/lab-kit
|
|
6
6
|
Project-URL: Issues, https://github.com/pierg/lab-kit/issues
|
|
@@ -52,7 +52,7 @@ You plan the mission with the operator, and you stop at their approval. The run-
|
|
|
52
52
|
Do not point `ops/STATE.md` at a draft.
|
|
53
53
|
4. **Show the summary.** Tell the operator, in at most eight lines: the objective, the questions by id, the milestones, the scope, the spend, the stops. End with: "Approve, or tell me what to change." Under a standing budget, when rule 5 lets you approve it yourself, go to step 6 and send the summary as a report instead, ending with what you approved and the budget left.
|
|
54
54
|
5. **Revise.** Change the draft as the operator asks, and append a dated log line for each revision. Show the summary again. Repeat until the operator approves in their own words.
|
|
55
|
-
6. **Record the approval.** Set `approved:` to who approved and when, for example `"the operator, 2026-10-05"`, or, under a standing budget, `"the commander, 2026-10-05, under budget <name>"`, and set `status: active`. Append "Approved by <who>" to the log. Point `ops/STATE.md` at it: `Active mission:
|
|
55
|
+
6. **Record the approval.** Set `approved:` to who approved and when, for example `"the operator, 2026-10-05"`, or, under a standing budget, `"the commander, 2026-10-05, under budget <name>"`, and set `status: active`. Append "Approved by <who>" to the log. Point `ops/STATE.md` at it: `Active mission: missions/{YY-MM-DD}-m_{slug}.md`, with the next step. Record it: `folio journal add --title "Opened the <slug> mission" --description ".." --body "<objective; where the mission file is>" --kind decision --about <ids it rests on>`. Run `folio index` in the library and `lab-kit check` from the root.
|
|
56
56
|
7. **Commit and hand over.** Commit the mission file, `ops/STATE.md`, the journal entry and `.folio/`. Tell the operator the mission is approved and that the run-mission skill will carry it out. Do not start it yourself unless they ask you to run it now; then follow run-mission from its start.
|
|
57
57
|
|
|
58
58
|
## Stops
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
lab-kit: 0.6.
|
|
1
|
+
lab-kit: 0.6.1 # the version this lab is checked with
|
|
2
2
|
library: docs # where folio.yaml is; "." for the root
|
|
3
3
|
front: lab # the front door's id: a project document
|
|
4
4
|
frozen: [substrate/] # surfaces never edited in place; record each with `lab-kit freeze`
|
|
@@ -5,7 +5,7 @@ build-backend = "hatchling.build"
|
|
|
5
5
|
[project]
|
|
6
6
|
dynamic = ["readme"]
|
|
7
7
|
name = "lab-kit-cli"
|
|
8
|
-
version = "0.6.
|
|
8
|
+
version = "0.6.1"
|
|
9
9
|
description = "A research lab's method and machinery on top of folio: pre-register, lock, run, score, re-derive."
|
|
10
10
|
license = "MIT"
|
|
11
11
|
authors = [{ name = "Piergiuseppe Mallozzi" }]
|
|
@@ -52,7 +52,7 @@ You plan the mission with the operator, and you stop at their approval. The run-
|
|
|
52
52
|
Do not point `ops/STATE.md` at a draft.
|
|
53
53
|
4. **Show the summary.** Tell the operator, in at most eight lines: the objective, the questions by id, the milestones, the scope, the spend, the stops. End with: "Approve, or tell me what to change." Under a standing budget, when rule 5 lets you approve it yourself, go to step 6 and send the summary as a report instead, ending with what you approved and the budget left.
|
|
54
54
|
5. **Revise.** Change the draft as the operator asks, and append a dated log line for each revision. Show the summary again. Repeat until the operator approves in their own words.
|
|
55
|
-
6. **Record the approval.** Set `approved:` to who approved and when, for example `"the operator, 2026-10-05"`, or, under a standing budget, `"the commander, 2026-10-05, under budget <name>"`, and set `status: active`. Append "Approved by <who>" to the log. Point `ops/STATE.md` at it: `Active mission:
|
|
55
|
+
6. **Record the approval.** Set `approved:` to who approved and when, for example `"the operator, 2026-10-05"`, or, under a standing budget, `"the commander, 2026-10-05, under budget <name>"`, and set `status: active`. Append "Approved by <who>" to the log. Point `ops/STATE.md` at it: `Active mission: missions/{YY-MM-DD}-m_{slug}.md`, with the next step. Record it: `folio journal add --title "Opened the <slug> mission" --description ".." --body "<objective; where the mission file is>" --kind decision --about <ids it rests on>`. Run `folio index` in the library and `lab-kit check` from the root.
|
|
56
56
|
7. **Commit and hand over.** Commit the mission file, `ops/STATE.md`, the journal entry and `.folio/`. Tell the operator the mission is approved and that the run-mission skill will carry it out. Do not start it yourself unless they ask you to run it now; then follow run-mission from its start.
|
|
57
57
|
|
|
58
58
|
## Stops
|
|
@@ -46,7 +46,7 @@ from .. import __version__, ops, records
|
|
|
46
46
|
from .. import protocol as protocol_mod
|
|
47
47
|
from .. import store as store_mod
|
|
48
48
|
from ..errors import LabError
|
|
49
|
-
from ..lab import EXPERIMENT_ID, RUNS, Lab
|
|
49
|
+
from ..lab import EXPERIMENT_ID, RUNS, Lab, protocol_slug
|
|
50
50
|
from .experiments import experiment_id
|
|
51
51
|
from .setup import ignore_runs, install
|
|
52
52
|
|
|
@@ -311,7 +311,7 @@ def _verify_against(folder: Path, manifest: Path) -> list[str]:
|
|
|
311
311
|
|
|
312
312
|
|
|
313
313
|
def assemble(lab: Lab, run: Run, missions: dict[str, str], locks: dict[str, tuple[str, str]],
|
|
314
|
-
stage: Path) -> tuple[Path, dict]:
|
|
314
|
+
stage: Path, configs: dict[str, tuple[object, object]] | None = None) -> tuple[Path, dict]:
|
|
315
315
|
"""Build the run's new folder under `stage`, verified against its old manifests, and seal it."""
|
|
316
316
|
where = lab.rel(run.folder)
|
|
317
317
|
dest = stage / run.experiment / run.new_id
|
|
@@ -361,6 +361,10 @@ def assemble(lab: Lab, run: Run, missions: dict[str, str], locks: dict[str, tupl
|
|
|
361
361
|
mission = data.get("mission")
|
|
362
362
|
if isinstance(mission, str) and mission in missions:
|
|
363
363
|
data["mission"] = missions[mission]
|
|
364
|
+
old_new_config = (configs or {}).get(run.experiment)
|
|
365
|
+
if old_new_config is not None and data.get("config") == old_new_config[0]:
|
|
366
|
+
# the configuration is a copy of the protocol's pinned block: it takes that block as rewritten
|
|
367
|
+
data["config"] = old_new_config[1]
|
|
364
368
|
old_new = locks.get(run.experiment)
|
|
365
369
|
if old_new and data.get("lock") == old_new[0]:
|
|
366
370
|
data["lock"] = old_new[1]
|
|
@@ -485,6 +489,22 @@ def _new_locks(lab: Lab, plan_: Plan, rewrite) -> dict[str, tuple[str, str, str
|
|
|
485
489
|
return out
|
|
486
490
|
|
|
487
491
|
|
|
492
|
+
def _pinned_configs(lab: Lab, plan_: Plan, rewrite) -> dict[str, tuple[object, object]]:
|
|
493
|
+
"""Per experiment (new id): its protocol's pinned configuration before and after the rewrite."""
|
|
494
|
+
out = {}
|
|
495
|
+
for old, new in plan_.experiments.items():
|
|
496
|
+
proto = protocol_mod.find(lab, protocol_slug(new))
|
|
497
|
+
if proto is None:
|
|
498
|
+
continue
|
|
499
|
+
try:
|
|
500
|
+
before = protocol_mod.pinned_config(proto.text(), proto.path)
|
|
501
|
+
after = protocol_mod.pinned_config(rewrite(proto.text())[0], proto.path)
|
|
502
|
+
except LabError:
|
|
503
|
+
continue
|
|
504
|
+
out[new] = (before, after)
|
|
505
|
+
return out
|
|
506
|
+
|
|
507
|
+
|
|
488
508
|
def _earlier_locks(table: list[tuple[str, str, str]]) -> dict[str, tuple[str, str]]:
|
|
489
509
|
"""Lock hashes an earlier pass took again, per experiment: a late run naming the old one gets the new."""
|
|
490
510
|
out = {}
|
|
@@ -500,6 +520,7 @@ def _apply(lab: Lab, plan_: Plan, table: list[tuple[str, str, str]], rewrite) ->
|
|
|
500
520
|
locks = _new_locks(lab, plan_, rewrite)
|
|
501
521
|
missions = {**{o: n for k, o, n in table if k == "mission"}, **plan_.missions}
|
|
502
522
|
run_locks = {**_earlier_locks(table), **{k: (v[0], v[1]) for k, v in locks.items()}}
|
|
523
|
+
configs = _pinned_configs(lab, plan_, rewrite)
|
|
503
524
|
# Phase 1: every run assembled, verified, sealed and put in place before git changes at all.
|
|
504
525
|
stage = stage_root(lab)
|
|
505
526
|
stage.mkdir(parents=True, exist_ok=True)
|
|
@@ -514,7 +535,7 @@ def _apply(lab: Lab, plan_: Plan, table: list[tuple[str, str, str]], rewrite) ->
|
|
|
514
535
|
f"({'; '.join(wrong[:3])}); look at it before migrating again")
|
|
515
536
|
continue
|
|
516
537
|
try:
|
|
517
|
-
built, data = assemble(lab, run, missions, run_locks, stage)
|
|
538
|
+
built, data = assemble(lab, run, missions, run_locks, stage, configs)
|
|
518
539
|
_put_in_place(lab, run, built, data)
|
|
519
540
|
except Exception as exc:
|
|
520
541
|
raise LabError(f"{exc}\nNothing in git changed; the runs put in place so far are reused when you run "
|
|
@@ -79,7 +79,7 @@ def ignore_runs(root: Path) -> list[str]:
|
|
|
79
79
|
if not missing:
|
|
80
80
|
return []
|
|
81
81
|
block = ("" if not text or text.endswith("\n") else "\n") + \
|
|
82
|
-
"# lab-kit:
|
|
82
|
+
"# lab-kit: runs on this machine (running, fetched from the store, or being migrated)\n" + "\n".join(missing) + "\n"
|
|
83
83
|
path.write_text(text + block, encoding="utf-8")
|
|
84
84
|
return [f"added {', '.join(missing)} to .gitignore"]
|
|
85
85
|
|
|
File without changes
|
|
@@ -204,3 +204,68 @@ def test_a_rewritten_protocol_is_relocked_and_late_runs_follow(tmp_path, monkeyp
|
|
|
204
204
|
_finish(root, folio)
|
|
205
205
|
code, out = lab_kit("check")
|
|
206
206
|
assert code == 0, out
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
def test_a_pinned_configuration_that_names_a_run_is_rewritten_in_both(tmp_path, monkeypatch, lab_kit, folio) -> None:
|
|
210
|
+
root = tmp_path / "lab"
|
|
211
|
+
shutil.copytree(LEGACY, root, symlinks=True)
|
|
212
|
+
protocol = root / "docs/content/protocols/pi-error-scaling.md"
|
|
213
|
+
protocol.write_text(protocol.read_text().replace(
|
|
214
|
+
"language: python 3, standard library only",
|
|
215
|
+
f"language: python 3, standard library only\nprior: {OLD_RUN}/out/estimates.tsv", 1))
|
|
216
|
+
from lab_kit import protocol as protocol_mod
|
|
217
|
+
lock_path = root / "experiments/pi-error-scaling/lock.json"
|
|
218
|
+
lock = json.loads(lock_path.read_text())
|
|
219
|
+
sha = protocol_mod.hash_text(protocol.read_text())
|
|
220
|
+
lock["sha256"] = sha
|
|
221
|
+
lock_path.write_text(json.dumps(lock, indent=2) + "\n")
|
|
222
|
+
run_json = root / OLD_RUN / "run.json"
|
|
223
|
+
data = json.loads(run_json.read_text())
|
|
224
|
+
data["lock"] = sha
|
|
225
|
+
data["config"] = {"language": data["config"]["language"], "prior": f"{OLD_RUN}/out/estimates.tsv",
|
|
226
|
+
**{k: v for k, v in data["config"].items() if k != "language"}}
|
|
227
|
+
run_json.write_text(json.dumps(data, indent=2) + "\n")
|
|
228
|
+
score = root / "experiments/pi-error-scaling/score.yaml"
|
|
229
|
+
text = score.read_text()
|
|
230
|
+
score.write_text(text.replace(text.split("lock: ")[1].split("\n")[0], sha, 1))
|
|
231
|
+
init_repo(root)
|
|
232
|
+
commit(root, "the lab before 0.6.0")
|
|
233
|
+
monkeypatch.chdir(root)
|
|
234
|
+
assert lab_kit("check", "--only", "lab-roster-frozen")[0] == 0
|
|
235
|
+
code, out = lab_kit("migrate", "--apply")
|
|
236
|
+
assert code == 0, out
|
|
237
|
+
[run] = records.runs(load(root))
|
|
238
|
+
assert run.data["config"]["prior"] == f"runs/{EXP}/{run.run_id}/out/estimates.tsv"
|
|
239
|
+
_finish(root, folio)
|
|
240
|
+
code, out = lab_kit("check")
|
|
241
|
+
assert code == 0, out
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
def test_a_block_scalar_in_the_pinned_configuration_stays_equal(tmp_path, monkeypatch, lab_kit, folio) -> None:
|
|
245
|
+
root = tmp_path / "lab"
|
|
246
|
+
shutil.copytree(LEGACY, root, symlinks=True)
|
|
247
|
+
protocol = root / "docs/content/protocols/pi-error-scaling.md"
|
|
248
|
+
note = f"notes: |\n {OLD_RUN}/out\n see \"20261004-231629\"\n"
|
|
249
|
+
protocol.write_text(protocol.read_text().replace(
|
|
250
|
+
"language: python 3, standard library only\n", "language: python 3, standard library only\n" + note, 1))
|
|
251
|
+
from lab_kit import protocol as protocol_mod
|
|
252
|
+
lock_path = root / "experiments/pi-error-scaling/lock.json"
|
|
253
|
+
lock = json.loads(lock_path.read_text())
|
|
254
|
+
sha = protocol_mod.hash_text(protocol.read_text())
|
|
255
|
+
lock["sha256"] = sha
|
|
256
|
+
lock_path.write_text(json.dumps(lock, indent=2) + "\n")
|
|
257
|
+
run_json = root / OLD_RUN / "run.json"
|
|
258
|
+
data = json.loads(run_json.read_text())
|
|
259
|
+
data["lock"] = sha
|
|
260
|
+
data["config"] = protocol_mod.pinned_config(protocol.read_text(), "p")
|
|
261
|
+
run_json.write_text(json.dumps(data, indent=2) + "\n")
|
|
262
|
+
score = root / "experiments/pi-error-scaling/score.yaml"
|
|
263
|
+
text = score.read_text()
|
|
264
|
+
score.write_text(text.replace(text.split("lock: ")[1].split("\n")[0], sha, 1))
|
|
265
|
+
init_repo(root)
|
|
266
|
+
commit(root, "the lab before 0.6.0")
|
|
267
|
+
monkeypatch.chdir(root)
|
|
268
|
+
assert lab_kit("migrate", "--apply")[0] == 0
|
|
269
|
+
_finish(root, folio)
|
|
270
|
+
code, out = lab_kit("check")
|
|
271
|
+
assert code == 0, out
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/.agents/skills/address/SKILL.md
RENAMED
|
File without changes
|
{lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/.agents/skills/configure/SKILL.md
RENAMED
|
File without changes
|
{lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/.agents/skills/experiment/SKILL.md
RENAMED
|
File without changes
|
{lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/.agents/skills/organise/SKILL.md
RENAMED
|
File without changes
|
{lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/.agents/skills/publish/SKILL.md
RENAMED
|
File without changes
|
{lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/.agents/skills/review/SKILL.md
RENAMED
|
File without changes
|
{lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/.agents/skills/run/SKILL.md
RENAMED
|
File without changes
|
{lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/.agents/skills/run-mission/SKILL.md
RENAMED
|
File without changes
|
{lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/.agents/skills/set-up/SKILL.md
RENAMED
|
File without changes
|
{lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/.agents/skills/set-up-lab/SKILL.md
RENAMED
|
File without changes
|
{lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/.agents/skills/write/SKILL.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/assets/figures/.gitkeep
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/content/maps/research.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/content/questions/Q-1.md
RENAMED
|
File without changes
|
|
File without changes
|
{lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/content/results/R-1.md
RENAMED
|
File without changes
|
{lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/examples/monte-carlo-lab/docs/content/results/R-2.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/.agents/agents/runner.md
RENAMED
|
File without changes
|
{lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/.agents/agents/scout.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/.lab/frozen.sha256
RENAMED
|
File without changes
|
{lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/.lab/method/DISCIPLINE.md
RENAMED
|
File without changes
|
{lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/.lab/method/LADDER.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/docs/.folio/cards.json
RENAMED
|
File without changes
|
{lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/docs/.folio/catalog.json
RENAMED
|
File without changes
|
{lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/docs/.folio/journal.json
RENAMED
|
File without changes
|
{lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/docs/.folio/nav.json
RENAMED
|
File without changes
|
{lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/docs/.folio/search.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/docs/assets/refs.bib
RENAMED
|
File without changes
|
|
File without changes
|
{lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/docs/content/index.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/substrate/README.md
RENAMED
|
File without changes
|
{lab_kit_cli-0.6.0 → lab_kit_cli-0.6.1}/tests/fixtures/monte-carlo-lab-0.5/substrate/estimator.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|