claude-turing 4.6.0 → 4.7.0
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.
- package/.claude-plugin/plugin.json +2 -2
- package/README.md +1 -1
- package/package.json +9 -3
- package/skills/turing/SKILL.md +180 -0
- package/skills/turing/ablate/SKILL.md +47 -0
- package/skills/turing/annotate/SKILL.md +23 -0
- package/skills/turing/archive/SKILL.md +23 -0
- package/skills/turing/audit/SKILL.md +56 -0
- package/skills/turing/baseline/SKILL.md +45 -0
- package/skills/turing/brief/SKILL.md +95 -0
- package/skills/turing/budget/SKILL.md +52 -0
- package/skills/turing/calibrate/SKILL.md +47 -0
- package/skills/turing/card/SKILL.md +36 -0
- package/skills/turing/changelog/SKILL.md +22 -0
- package/skills/turing/checkpoint/SKILL.md +47 -0
- package/skills/turing/cite/SKILL.md +23 -0
- package/skills/turing/compare/SKILL.md +24 -0
- package/skills/turing/counterfactual/SKILL.md +27 -0
- package/skills/turing/curriculum/SKILL.md +43 -0
- package/skills/turing/design/SKILL.md +97 -0
- package/skills/turing/diagnose/SKILL.md +52 -0
- package/skills/turing/diff/SKILL.md +48 -0
- package/skills/turing/distill/SKILL.md +56 -0
- package/skills/turing/doctor/SKILL.md +31 -0
- package/skills/turing/ensemble/SKILL.md +54 -0
- package/skills/turing/explore/SKILL.md +107 -0
- package/skills/turing/export/SKILL.md +48 -0
- package/skills/turing/feature/SKILL.md +42 -0
- package/skills/turing/flashback/SKILL.md +22 -0
- package/skills/turing/fork/SKILL.md +40 -0
- package/skills/turing/frontier/SKILL.md +45 -0
- package/skills/turing/init/SKILL.md +154 -0
- package/skills/turing/leak/SKILL.md +47 -0
- package/skills/turing/lit/SKILL.md +47 -0
- package/skills/turing/logbook/SKILL.md +51 -0
- package/skills/turing/merge/SKILL.md +24 -0
- package/skills/turing/mode/SKILL.md +43 -0
- package/skills/turing/onboard/SKILL.md +20 -0
- package/skills/turing/paper/SKILL.md +44 -0
- package/skills/turing/plan/SKILL.md +27 -0
- package/skills/turing/poster/SKILL.md +89 -0
- package/skills/turing/postmortem/SKILL.md +28 -0
- package/skills/turing/preflight/SKILL.md +75 -0
- package/skills/turing/present/SKILL.md +23 -0
- package/skills/turing/profile/SKILL.md +43 -0
- package/skills/turing/prune/SKILL.md +26 -0
- package/skills/turing/quantize/SKILL.md +24 -0
- package/skills/turing/queue/SKILL.md +48 -0
- package/skills/turing/registry/SKILL.md +31 -0
- package/skills/turing/regress/SKILL.md +53 -0
- package/skills/turing/replay/SKILL.md +23 -0
- package/skills/turing/report/SKILL.md +97 -0
- package/skills/turing/reproduce/SKILL.md +48 -0
- package/skills/turing/retry/SKILL.md +41 -0
- package/skills/turing/review/SKILL.md +20 -0
- package/skills/turing/rules/loop-protocol.md +91 -0
- package/skills/turing/sanity/SKILL.md +48 -0
- package/skills/turing/scale/SKILL.md +55 -0
- package/skills/turing/search/SKILL.md +22 -0
- package/skills/turing/seed/SKILL.md +47 -0
- package/skills/turing/sensitivity/SKILL.md +41 -0
- package/skills/turing/share/SKILL.md +20 -0
- package/skills/turing/simulate/SKILL.md +28 -0
- package/skills/turing/status/SKILL.md +24 -0
- package/skills/turing/stitch/SKILL.md +49 -0
- package/skills/turing/suggest/SKILL.md +159 -0
- package/skills/turing/surgery/SKILL.md +27 -0
- package/skills/turing/sweep/SKILL.md +45 -0
- package/skills/turing/template/SKILL.md +22 -0
- package/skills/turing/train/SKILL.md +75 -0
- package/skills/turing/transfer/SKILL.md +54 -0
- package/skills/turing/trend/SKILL.md +21 -0
- package/skills/turing/try/SKILL.md +63 -0
- package/skills/turing/update/SKILL.md +27 -0
- package/skills/turing/validate/SKILL.md +34 -0
- package/skills/turing/warm/SKILL.md +53 -0
- package/skills/turing/watch/SKILL.md +60 -0
- package/skills/turing/whatif/SKILL.md +31 -0
- package/skills/turing/xray/SKILL.md +43 -0
- package/src/command-registry.js +9 -0
- package/src/sync-skills-layout.js +149 -0
- package/templates/__pycache__/evaluate.cpython-312.pyc +0 -0
- package/templates/__pycache__/evaluate.cpython-314.pyc +0 -0
- package/templates/__pycache__/prepare.cpython-312.pyc +0 -0
- package/templates/__pycache__/prepare.cpython-314.pyc +0 -0
- package/templates/features/__pycache__/__init__.cpython-312.pyc +0 -0
- package/templates/features/__pycache__/__init__.cpython-314.pyc +0 -0
- package/templates/features/__pycache__/featurizers.cpython-312.pyc +0 -0
- package/templates/features/__pycache__/featurizers.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/__init__.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/__init__.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/ablation_study.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/ablation_study.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/architecture_surgery.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/architecture_surgery.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/budget_manager.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/budget_manager.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/build_ensemble.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/build_ensemble.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/calibration.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/calibration.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/check_convergence.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/check_convergence.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/checkpoint_manager.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/checkpoint_manager.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/citation_manager.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/citation_manager.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/cost_frontier.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/cost_frontier.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/counterfactual_explanation.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/counterfactual_explanation.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/critique_hypothesis.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/critique_hypothesis.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/curriculum_optimizer.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/curriculum_optimizer.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/diagnose_errors.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/diagnose_errors.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/draft_paper_sections.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/draft_paper_sections.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/equivalence_checker.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/equivalence_checker.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/experiment_annotations.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/experiment_annotations.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/experiment_archive.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/experiment_archive.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/experiment_diff.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/experiment_diff.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/experiment_index.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/experiment_index.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/experiment_queue.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/experiment_queue.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/experiment_replay.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/experiment_replay.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/experiment_search.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/experiment_search.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/experiment_simulator.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/experiment_simulator.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/experiment_templates.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/experiment_templates.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/export_card.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/export_card.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/export_formats.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/export_formats.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/failure_postmortem.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/failure_postmortem.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/feature_intelligence.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/feature_intelligence.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/fork_experiment.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/fork_experiment.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/generate_baselines.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/generate_baselines.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/generate_brief.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/generate_brief.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/generate_changelog.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/generate_changelog.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/generate_figures.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/generate_figures.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/generate_logbook.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/generate_logbook.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/generate_model_card.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/generate_model_card.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/generate_onboarding.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/generate_onboarding.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/harness_doctor.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/harness_doctor.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/incremental_update.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/incremental_update.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/knowledge_transfer.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/knowledge_transfer.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/latency_benchmark.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/latency_benchmark.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/leakage_detector.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/leakage_detector.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/literature_search.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/literature_search.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/log_experiment.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/log_experiment.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/manage_hypotheses.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/manage_hypotheses.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/methodology_audit.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/methodology_audit.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/model_distiller.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/model_distiller.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/model_lifecycle.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/model_lifecycle.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/model_merger.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/model_merger.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/model_pruning.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/model_pruning.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/model_quantization.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/model_quantization.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/model_xray.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/model_xray.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/novelty_guard.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/novelty_guard.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/package_experiments.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/package_experiments.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/pareto_frontier.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/pareto_frontier.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/parse_metrics.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/parse_metrics.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/pipeline_manager.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/pipeline_manager.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/profile_training.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/profile_training.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/regression_gate.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/regression_gate.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/reproduce_experiment.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/reproduce_experiment.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/research_planner.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/research_planner.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/sanity_checks.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/sanity_checks.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/scaffold.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/scaffold.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/scaling_estimator.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/scaling_estimator.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/seed_runner.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/seed_runner.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/sensitivity_analysis.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/sensitivity_analysis.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/session_flashback.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/session_flashback.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/show_experiment_tree.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/show_experiment_tree.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/show_families.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/show_families.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/simulate_review.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/simulate_review.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/smart_retry.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/smart_retry.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/statistical_compare.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/statistical_compare.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/suggest_next.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/suggest_next.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/sweep.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/sweep.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/synthesize_decision.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/synthesize_decision.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/training_monitor.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/training_monitor.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/treequest_suggest.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/treequest_suggest.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/trend_analysis.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/trend_analysis.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/turing_io.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/turing_io.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/update_state.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/update_state.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/verify_placeholders.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/verify_placeholders.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/warm_start.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/warm_start.cpython-314.pyc +0 -0
- package/templates/scripts/__pycache__/whatif_engine.cpython-312.pyc +0 -0
- package/templates/scripts/__pycache__/whatif_engine.cpython-314.pyc +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "turing",
|
|
3
|
-
"version": "4.
|
|
4
|
-
"description": "Autonomous ML research harness — the autoresearch loop as a formal protocol. 74 commands, 2 specialized agents, operational intelligence (postmortem + doctor + plan), model lifecycle (update + registry), what-if analysis (whatif + counterfactual + simulate), collaboration (onboard + share + review), research communication (cite + present + changelog), experiment archaeology (trend + flashback + archive + annotate + search + template + replay), model surgery (prune + quantize + merge + surgery), feature & training intelligence, model debugging, pre-training intelligence, meta-intelligence, scaling & efficiency, model composition, deep analysis, experiment orchestration, literature + paper, model export, profiling, checkpoints, experiment intelligence, statistical rigor, tree-search, cost-performance, model cards, hypothesis database, novelty guard, anti-cheating, taste-leverage loop. Inspired by Karpathy's autoresearch and the scientific method itself.",
|
|
3
|
+
"version": "4.7.0",
|
|
4
|
+
"description": "Autonomous ML research harness — the autoresearch loop as a formal protocol. 74 commands, 2 specialized agents, modern skills/turing package mirror, operational intelligence (postmortem + doctor + plan), model lifecycle (update + registry), what-if analysis (whatif + counterfactual + simulate), collaboration (onboard + share + review), research communication (cite + present + changelog), experiment archaeology (trend + flashback + archive + annotate + search + template + replay), model surgery (prune + quantize + merge + surgery), feature & training intelligence, model debugging, pre-training intelligence, meta-intelligence, scaling & efficiency, model composition, deep analysis, experiment orchestration, literature + paper, model export, profiling, checkpoints, experiment intelligence, statistical rigor, tree-search, cost-performance, model cards, hypothesis database, novelty guard, anti-cheating, taste-leverage loop. Inspired by Karpathy's autoresearch and the scientific method itself.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Prannaya Gupta"
|
|
7
7
|
},
|
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*The research assistant that can't fool itself.*
|
|
4
4
|
|
|
5
5
|
<p align="center">
|
|
6
|
-
<img src="https://img.shields.io/badge/version-4.
|
|
6
|
+
<img src="https://img.shields.io/badge/version-4.7.0-ffb74d?style=flat-square&labelColor=1a1a2e" alt="Version" />
|
|
7
7
|
<img src="https://img.shields.io/badge/license-MIT-ff4d4d?style=flat-square&labelColor=1a1a2e" alt="License" />
|
|
8
8
|
<img src="https://img.shields.io/badge/Claude_Code-plugin-ff4d4d?style=flat-square&labelColor=1a1a2e" alt="Claude Code" />
|
|
9
9
|
<img src="https://img.shields.io/badge/Node.js-20%2B-ff4d4d?style=flat-square&labelColor=1a1a2e" alt="Node.js" />
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-turing",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.7.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Autonomous ML research harness for Claude Code. The autoresearch loop as a formal protocol — iteratively trains, evaluates, and improves ML models with structured experiment tracking, convergence detection, immutable evaluation infrastructure, and safety guardrails.",
|
|
6
6
|
"bin": {
|
|
@@ -8,16 +8,22 @@
|
|
|
8
8
|
"claude-turing": "./bin/cli.js"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
|
-
"postinstall": "node src/postinstall.js"
|
|
11
|
+
"postinstall": "node src/postinstall.js",
|
|
12
|
+
"sync:skills": "node src/sync-skills-layout.js"
|
|
12
13
|
},
|
|
13
14
|
"files": [
|
|
14
15
|
"bin/",
|
|
15
16
|
"src/",
|
|
16
17
|
".claude-plugin/",
|
|
17
18
|
"commands/",
|
|
19
|
+
"skills/",
|
|
18
20
|
"agents/",
|
|
19
21
|
"templates/",
|
|
20
|
-
"config/"
|
|
22
|
+
"config/",
|
|
23
|
+
"!src/**/*.egg-info/**",
|
|
24
|
+
"!templates/**/__pycache__/**",
|
|
25
|
+
"!templates/**/*.pyc",
|
|
26
|
+
"!templates/**/.pytest_cache/**"
|
|
21
27
|
],
|
|
22
28
|
"keywords": [
|
|
23
29
|
"ml",
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: turing
|
|
3
|
+
description: Autonomous ML research harness. Thin router that detects ML training intent and identifies the matching Turing sub-command execution path. Each sub-command handles one phase of the experiment lifecycle.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
You are the Turing ML research router. Detect the user's intent and identify the matching Turing sub-command execution path.
|
|
7
|
+
|
|
8
|
+
## Execution Contract
|
|
9
|
+
|
|
10
|
+
Turing sub-commands are explicit slash-command skills. Current sub-commands are `slash_only` and use `disable-model-invocation: true`, so router handling must not claim model dispatch into those skills.
|
|
11
|
+
|
|
12
|
+
- If the user explicitly invokes `/turing:<cmd>`, Claude Code runtime handles that slash command.
|
|
13
|
+
- If the user invokes `/turing` as a router and the detected command is `slash_only`, give the exact slash command to run.
|
|
14
|
+
- If a command has a documented safe equivalent script, the assistant may execute those documented steps inline when safe and appropriate.
|
|
15
|
+
|
|
16
|
+
## Routing Table
|
|
17
|
+
|
|
18
|
+
| User says... | Route to | Lifecycle phase |
|
|
19
|
+
|---|---|---|
|
|
20
|
+
| "train", "train ml/coding", "train ml/claims", "run experiments", "run experiments in ml/X", "autoresearch", "improve the model", "start training" | `/turing:train` | Execute |
|
|
21
|
+
| "status", "how's training", "experiment results", "current metrics" | `/turing:status` | Observe |
|
|
22
|
+
| "compare", "diff runs", "which is better" | `/turing:compare` | Analyze |
|
|
23
|
+
| "sweep", "grid search", "hyperparameter search", "tune" | `/turing:sweep` | Explore |
|
|
24
|
+
| "init", "set up ML", "initialize", "scaffold", "bootstrap" | `/turing:init` | Setup |
|
|
25
|
+
| "try", "test this", "inject", "what if we", "I think we should" | `/turing:try` | Steer |
|
|
26
|
+
| "brief", "briefing", "what have we learned", "summary" | `/turing:brief` | Report |
|
|
27
|
+
| "logbook", "log", "history", "timeline", "narrative" | `/turing:logbook` | Document |
|
|
28
|
+
| "poster", "presentation", "one-pager", "visual summary" | `/turing:poster` | Document |
|
|
29
|
+
| "report", "write-up", "findings", "document results" | `/turing:report` | Document |
|
|
30
|
+
| "validate", "stability", "check variance", "noisy" | `/turing:validate` | Validate |
|
|
31
|
+
| "seed", "seed study", "multi-seed", "lucky seed", "seed sensitivity" | `/turing:seed` | Validate |
|
|
32
|
+
| "reproduce", "reproducibility", "verify results", "re-run experiment", "repro" | `/turing:reproduce` | Validate |
|
|
33
|
+
| "suggest", "what model", "recommend", "which architecture", "literature" | `/turing:suggest` | Research |
|
|
34
|
+
| "explore hypotheses", "tree search", "treequest", "search hypothesis space", "MCTS" | `/turing:explore` | Research |
|
|
35
|
+
| "design", "plan experiment", "how should I test", "experiment design" | `/turing:design` | Design |
|
|
36
|
+
| "mode", "explore", "exploit", "replicate", "strategy" | `/turing:mode` | Strategy |
|
|
37
|
+
| "preflight", "resources", "VRAM", "memory", "can I run", "OOM", "GPU" | `/turing:preflight` | Check |
|
|
38
|
+
| "card", "model card", "document model", "model documentation" | `/turing:card` | Document |
|
|
39
|
+
| "diagnose", "error analysis", "failure modes", "where does it fail", "confusion matrix" | `/turing:diagnose` | Analyze |
|
|
40
|
+
| "ablate", "ablation", "remove component", "which features matter", "component impact" | `/turing:ablate` | Analyze |
|
|
41
|
+
| "frontier", "pareto", "tradeoff", "tradeoffs", "multi-objective", "which model is best" | `/turing:frontier` | Analyze |
|
|
42
|
+
| "lit", "literature", "papers", "SOTA", "baseline", "related work", "citations" | `/turing:lit` | Research |
|
|
43
|
+
| "paper", "draft paper", "write paper", "results table", "latex", "experimental setup" | `/turing:paper` | Document |
|
|
44
|
+
| "export", "deploy", "production", "onnx", "torchscript", "tflite", "ship model" | `/turing:export` | Deploy |
|
|
45
|
+
| "queue", "batch", "overnight", "schedule experiments", "run queue" | `/turing:queue` | Orchestrate |
|
|
46
|
+
| "retry", "retry experiment", "crashed", "OOM", "fix and rerun" | `/turing:retry` | Orchestrate |
|
|
47
|
+
| "fork", "branch", "try both", "parallel experiments", "A or B" | `/turing:fork` | Orchestrate |
|
|
48
|
+
| "profile", "profiling", "bottleneck", "slow training", "why is it slow", "timing" | `/turing:profile` | Check |
|
|
49
|
+
| "checkpoint", "checkpoints", "prune checkpoints", "disk space", "resume training" | `/turing:checkpoint` | Check |
|
|
50
|
+
| "diff", "deep compare", "what changed", "why did it diverge", "experiment diff" | `/turing:diff` | Analyze |
|
|
51
|
+
| "watch", "monitor", "live training", "loss spike", "is it overfitting", "training progress" | `/turing:watch` | Monitor |
|
|
52
|
+
| "regress", "regression", "did metrics degrade", "check for regression", "CI gate", "stability check" | `/turing:regress` | Validate |
|
|
53
|
+
| "ensemble", "combine models", "voting", "stacking", "blending", "merge models" | `/turing:ensemble` | Compose |
|
|
54
|
+
| "stitch", "pipeline", "swap stage", "cache stage", "pipeline composition" | `/turing:stitch` | Compose |
|
|
55
|
+
| "warm", "warm start", "fine-tune", "continue training", "transfer learning", "from checkpoint" | `/turing:warm` | Compose |
|
|
56
|
+
| "scale", "scaling law", "how much data", "is more data worth it", "power law", "data efficiency" | `/turing:scale` | Analyze |
|
|
57
|
+
| "budget", "compute budget", "how many experiments", "spending limit", "stop after" | `/turing:budget` | Manage |
|
|
58
|
+
| "distill", "compress", "smaller model", "student model", "knowledge distillation", "model compression" | `/turing:distill` | Deploy |
|
|
59
|
+
| "transfer", "what worked before", "similar project", "cross-project", "institutional knowledge", "prior projects" | `/turing:transfer` | Research |
|
|
60
|
+
| "audit", "methodology check", "pre-submission", "reviewer checklist", "data leakage", "missing baselines" | `/turing:audit` | Validate |
|
|
61
|
+
| "sanity", "sanity check", "pre-training", "is it broken", "before training", "quick check" | `/turing:sanity` | Check |
|
|
62
|
+
| "baseline", "baselines", "trivial baseline", "majority class", "is it better than random" | `/turing:baseline` | Analyze |
|
|
63
|
+
| "leak", "leakage", "data leakage scan", "suspicious feature", "train test overlap" | `/turing:leak` | Validate |
|
|
64
|
+
| "xray", "model internals", "dead neurons", "gradient flow", "weight distribution", "inside the model" | `/turing:xray` | Analyze |
|
|
65
|
+
| "sensitivity", "which params matter", "hyperparameter importance", "parameter ranking" | `/turing:sensitivity` | Analyze |
|
|
66
|
+
| "calibrate", "calibration", "ECE", "reliability diagram", "overconfident", "probability calibration" | `/turing:calibrate` | Analyze |
|
|
67
|
+
| "feature", "features", "feature selection", "feature importance", "which features matter", "redundant features" | `/turing:feature` | Analyze |
|
|
68
|
+
| "curriculum", "training order", "easy to hard", "data ordering", "curriculum learning" | `/turing:curriculum` | Optimize |
|
|
69
|
+
| "prune", "pruning", "sparsity", "remove weights", "smaller model", "weight pruning" | `/turing:prune` | Optimize |
|
|
70
|
+
| "quantize", "quantization", "int8", "fp16", "reduce precision", "faster inference" | `/turing:quantize` | Optimize |
|
|
71
|
+
| "merge", "model soup", "merge weights", "average models", "TIES", "DARE" | `/turing:merge` | Compose |
|
|
72
|
+
| "surgery", "architecture", "add layer", "widen", "modify model", "swap activation" | `/turing:surgery` | Modify |
|
|
73
|
+
| "cite", "citation", "bibliography", "bibtex", "attribution", "references" | `/turing:cite` | Record |
|
|
74
|
+
| "present", "figures", "slides", "presentation", "charts", "plots" | `/turing:present` | Document |
|
|
75
|
+
| "changelog", "model changelog", "progress summary", "what improved" | `/turing:changelog` | Document |
|
|
76
|
+
| "onboard", "onboarding", "walkthrough", "new collaborator", "project overview" | `/turing:onboard` | Document |
|
|
77
|
+
| "share", "package", "export experiments", "send results", "portable" | `/turing:share` | Share |
|
|
78
|
+
| "review", "peer review", "reviewer", "simulate review", "weakness" | `/turing:review` | Validate |
|
|
79
|
+
| "trend", "trends", "research direction", "improvement rate", "diminishing returns", "what's working" | `/turing:trend` | Analyze |
|
|
80
|
+
| "flashback", "where was I", "context", "resume", "catch up", "what happened" | `/turing:flashback` | Recall |
|
|
81
|
+
| "archive", "cleanup", "compress old", "disk space", "archive experiments" | `/turing:archive` | Manage |
|
|
82
|
+
| "annotate", "note", "tag experiment", "add note", "experiment note" | `/turing:annotate` | Record |
|
|
83
|
+
| "search", "find experiment", "query experiments", "which experiments" | `/turing:search` | Query |
|
|
84
|
+
| "template", "recipe", "save config", "reusable config", "starting point" | `/turing:template` | Manage |
|
|
85
|
+
| "replay", "re-run", "revisit", "retry old", "would it work now" | `/turing:replay` | Validate |
|
|
86
|
+
| "what if", "what-if", "hypothetical", "estimate impact", "would it help" | `/turing:whatif` | Analyze |
|
|
87
|
+
| "counterfactual", "flip prediction", "why this prediction", "minimum change", "explanation" | `/turing:counterfactual` | Explain |
|
|
88
|
+
| "simulate", "predict outcome", "pre-filter", "which configs will work", "forecast" | `/turing:simulate` | Predict |
|
|
89
|
+
| "update", "incremental", "new data", "add data", "fine-tune existing", "partial update" | `/turing:update` | Update |
|
|
90
|
+
| "registry", "promote", "demote", "staging", "production", "which model is deployed", "model lifecycle" | `/turing:registry` | Govern |
|
|
91
|
+
| "postmortem", "why failing", "failure streak", "why no improvement", "what went wrong" | `/turing:postmortem` | Diagnose |
|
|
92
|
+
| "doctor", "health check", "is it broken", "diagnose harness", "self-check" | `/turing:doctor` | Check |
|
|
93
|
+
| "plan", "research plan", "campaign", "what next", "allocate budget", "strategic plan" | `/turing:plan` | Plan |
|
|
94
|
+
|
|
95
|
+
## Sub-commands
|
|
96
|
+
|
|
97
|
+
| Command | Purpose | Invocation |
|
|
98
|
+
|---|---|---|
|
|
99
|
+
| `/turing:train [ml/project] [N]` | Run the autonomous experiment loop (auto-detects project from path or cwd) | slash_only |
|
|
100
|
+
| `/turing:status` | Show experiment status, best model, convergence | slash_only |
|
|
101
|
+
| `/turing:compare <a> <b>` | Side-by-side experiment comparison | slash_only |
|
|
102
|
+
| `/turing:sweep` | Generate and run hyperparameter sweep | slash_only |
|
|
103
|
+
| `/turing:try <hypothesis>` | Inject a hypothesis into the agent's queue | slash_only |
|
|
104
|
+
| `/turing:brief` | Generate structured research intelligence report | slash_only |
|
|
105
|
+
| `/turing:init` | Scaffold a new ML project | slash_only |
|
|
106
|
+
| `/turing:validate` | Check metric stability, auto-fix if noisy | slash_only |
|
|
107
|
+
| `/turing:seed [N] [--quick]` | Multi-seed study: mean/std/CI, flag seed-sensitive results | slash_only |
|
|
108
|
+
| `/turing:reproduce <exp-id>` | Reproducibility verification with tolerance checking | slash_only |
|
|
109
|
+
| `/turing:suggest` | Literature-grounded model architecture suggestions | slash_only |
|
|
110
|
+
| `/turing:explore` | Tree-search hypothesis exploration via AB-MCTS | slash_only |
|
|
111
|
+
| `/turing:design <hyp-id>` | Generate structured experiment design from hypothesis | slash_only |
|
|
112
|
+
| `/turing:logbook` | HTML/markdown logbook with trajectory chart | slash_only |
|
|
113
|
+
| `/turing:poster` | Single-page HTML research poster | slash_only |
|
|
114
|
+
| `/turing:report` | Structured markdown research report | slash_only |
|
|
115
|
+
| `/turing:mode <mode>` | Set research strategy (explore/exploit/replicate) | slash_only |
|
|
116
|
+
| `/turing:preflight` | Pre-flight resource check (VRAM/RAM/disk) | slash_only |
|
|
117
|
+
| `/turing:card` | Generate standardized model card (type, performance, data, limitations, contract) | slash_only |
|
|
118
|
+
| `/turing:diagnose [exp-id]` | Error analysis: failure modes, confused pairs, feature-range bias | slash_only |
|
|
119
|
+
| `/turing:ablate [--components]` | Ablation study: remove components, measure impact, flag dead weight | slash_only |
|
|
120
|
+
| `/turing:frontier [--metrics]` | Pareto frontier: multi-objective tradeoff visualization | slash_only |
|
|
121
|
+
| `/turing:lit <query>` | Literature search: papers, SOTA baselines, related work | slash_only |
|
|
122
|
+
| `/turing:paper [--sections] [--format]` | Draft paper sections from experiment logs (setup, results, ablation, hyperparams) | slash_only |
|
|
123
|
+
| `/turing:export [exp-id] [--format]` | Export model to production format with equivalence check + latency benchmark | slash_only |
|
|
124
|
+
| `/turing:queue <action>` | Batch experiment scheduler: add, list, run, pause, clear | slash_only |
|
|
125
|
+
| `/turing:retry <exp-id>` | Smart failure recovery: auto-diagnose crash, apply fix, re-run | slash_only |
|
|
126
|
+
| `/turing:fork <exp-id> --branches` | Experiment branching: run parallel tracks, report winner | slash_only |
|
|
127
|
+
| `/turing:profile [exp-id]` | Computational profiling: timing, memory, throughput, bottleneck detection | slash_only |
|
|
128
|
+
| `/turing:checkpoint <action>` | Smart checkpoint management: list, prune (Pareto), average, resume, stats | slash_only |
|
|
129
|
+
| `/turing:diff <exp-a> <exp-b>` | Deep experiment comparison: config diff, metric significance, per-class regressions, curve divergence | slash_only |
|
|
130
|
+
| `/turing:watch [--analyze]` | Live training monitor with early-warning alerts (loss spike, NaN, overfitting, plateau) | slash_only |
|
|
131
|
+
| `/turing:regress [--tolerance]` | Performance regression gate: re-run best experiment, verify metrics haven't degraded | slash_only |
|
|
132
|
+
| `/turing:ensemble [--top-k] [--methods]` | Automated ensemble: voting, weighted voting, stacking, blending from top-K models | slash_only |
|
|
133
|
+
| `/turing:stitch <action> [stage]` | Pipeline composition: show/swap/cache/run stages independently | slash_only |
|
|
134
|
+
| `/turing:warm <exp-id>` | Warm-start from prior model: load checkpoint, freeze layers, adjust LR | slash_only |
|
|
135
|
+
| `/turing:scale [--axis]` | Scaling law estimator: fit power law, predict full-scale performance | slash_only |
|
|
136
|
+
| `/turing:budget <action>` | Compute budget manager: set limits, track allocation, auto-shift modes | slash_only |
|
|
137
|
+
| `/turing:distill <exp-id>` | Model compression: distill teacher into smaller student model | slash_only |
|
|
138
|
+
| `/turing:transfer [--from]` | Cross-project knowledge transfer: find similar prior projects, surface what worked | slash_only |
|
|
139
|
+
| `/turing:audit [--strict]` | Pre-submission methodology audit: data leakage, baselines, seeds, ablations, reproducibility | slash_only |
|
|
140
|
+
| `/turing:sanity [--quick]` | Pre-training sanity checks: initial loss, overfit test, gradient flow, output validation | slash_only |
|
|
141
|
+
| `/turing:baseline [--methods]` | Automatic baseline generation: random, majority/mean, linear, k-NN | slash_only |
|
|
142
|
+
| `/turing:leak [--deep]` | Targeted leakage detection: single-feature tests, correlation, train/test overlap | slash_only |
|
|
143
|
+
| `/turing:xray [exp-id]` | Internal model diagnostics: gradient flow, dead neurons, weight distributions, tree analysis | slash_only |
|
|
144
|
+
| `/turing:sensitivity [exp-id]` | Hyperparameter sensitivity analysis: rank parameters by impact, detect non-monotonic responses | slash_only |
|
|
145
|
+
| `/turing:calibrate [exp-id]` | Probability calibration: ECE/MCE, reliability diagrams, Platt/isotonic/temperature scaling | slash_only |
|
|
146
|
+
| `/turing:feature [--method]` | Automated feature selection: multi-method consensus ranking, redundancy, interaction generation | slash_only |
|
|
147
|
+
| `/turing:curriculum [exp-id]` | Training curriculum optimization: difficulty scoring, strategy comparison, impossible sample detection | slash_only |
|
|
148
|
+
| `/turing:prune <exp-id>` | Weight pruning: magnitude/structured/lottery, sparsity sweep, knee point detection | slash_only |
|
|
149
|
+
| `/turing:quantize <exp-id>` | Post-training quantization: FP16/INT8, accuracy-latency comparison, QAT suggestion | slash_only |
|
|
150
|
+
| `/turing:merge <exp-ids...>` | Model merging: uniform/greedy soup, TIES, DARE — free accuracy, zero latency cost | slash_only |
|
|
151
|
+
| `/turing:surgery <exp-id>` | Architecture modification: add/remove layer, widen/narrow, swap activation, skip connections | slash_only |
|
|
152
|
+
| `/turing:trend` | Long-term trend analysis: improvement velocity, family ROI, diminishing returns detection | slash_only |
|
|
153
|
+
| `/turing:flashback` | Session context restoration: "where was I?" after days away from the project | slash_only |
|
|
154
|
+
| `/turing:archive` | Experiment lifecycle cleanup: compress old artifacts, prune checkpoints, summary index | slash_only |
|
|
155
|
+
| `/turing:annotate <exp-id>` | Retrospective annotations: add human notes, tags, search by content | slash_only |
|
|
156
|
+
| `/turing:search <query>` | Natural language experiment search with structured filters | slash_only |
|
|
157
|
+
| `/turing:template <action>` | Experiment template library: save/list/apply reusable configs across projects | slash_only |
|
|
158
|
+
| `/turing:replay <exp-id>` | Experiment replay: re-run old experiment with current infrastructure | slash_only |
|
|
159
|
+
| `/turing:cite <action>` | Citation manager: add/list/check/bib for papers, datasets, methods | slash_only |
|
|
160
|
+
| `/turing:present [--figures]` | Presentation figures: training curves, comparisons, ablation, Pareto, sensitivity | slash_only |
|
|
161
|
+
| `/turing:changelog [--audience]` | Model changelog: version-grouped improvements for technical or stakeholder audiences | slash_only |
|
|
162
|
+
| `/turing:onboard [--audience]` | Project onboarding: full walkthrough for new collaborators | slash_only |
|
|
163
|
+
| `/turing:share <exp-ids...>` | Experiment packaging: portable archive with manifest and README | slash_only |
|
|
164
|
+
| `/turing:review [--venue]` | Peer review simulation: weaknesses, questions, fix commands, score | slash_only |
|
|
165
|
+
| `/turing:whatif "<question>"` | What-if analysis: route hypotheticals to existing estimators (scaling, ablation, sensitivity, ensemble, pruning) | slash_only |
|
|
166
|
+
| `/turing:counterfactual <exp-id> --sample <index>` | Input-level counterfactual explanations: minimum input change to flip a prediction | slash_only |
|
|
167
|
+
| `/turing:simulate [--configs] [--top-k]` | Experiment outcome prediction: pre-filter configs using surrogate model, save budget | slash_only |
|
|
168
|
+
| `/turing:update <exp-id> --new-data <path>` | Incremental model update: add new data without full retraining, forgetting detection | slash_only |
|
|
169
|
+
| `/turing:registry [list\|register\|promote\|demote\|history]` | Model registry: stage lifecycle (candidate → staging → production) with promotion gates | slash_only |
|
|
170
|
+
| `/turing:postmortem [--window N]` | Failure postmortem: diagnose why experiments stopped improving (exhaustion, config error, data issue, ceiling, noise) | slash_only |
|
|
171
|
+
| `/turing:doctor [--fix]` | Harness self-diagnosis: environment, dependencies, config, log integrity, scripts, disk, git state, Claude hooks | slash_only |
|
|
172
|
+
| `/turing:plan [--budget N] [--goal]` | Research planning assistant: strategic campaign design with budget-aware ROI allocation | slash_only |
|
|
173
|
+
|
|
174
|
+
## Proactive Detection
|
|
175
|
+
|
|
176
|
+
If you detect ML training intent in the conversation (e.g., "the model accuracy is bad", "we need to improve predictions", "let's try a different model"), suggest the relevant sub-command.
|
|
177
|
+
|
|
178
|
+
## First-Time Setup
|
|
179
|
+
|
|
180
|
+
If no ML project is detected (no `config.yaml`, no `train.py`, no `experiments/`), suggest `/turing:init` first.
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ablate
|
|
3
|
+
description: Run systematic ablation study — remove components one at a time, measure impact, produce publication-ready table with dead-weight flagging.
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
argument-hint: "[exp-id] [--components \"X,Y\"] [--seeds 3] [--latex]"
|
|
6
|
+
allowed-tools: Read, Bash(*), Grep, Glob
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
Run a systematic ablation study to measure the contribution of each model component.
|
|
10
|
+
|
|
11
|
+
## Steps
|
|
12
|
+
|
|
13
|
+
1. **Activate environment:**
|
|
14
|
+
```bash
|
|
15
|
+
source .venv/bin/activate
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
2. **Parse arguments from `$ARGUMENTS`:**
|
|
19
|
+
- First argument can be an experiment ID (e.g., `exp-042`); defaults to best
|
|
20
|
+
- `--components "dropout,feature_X,regularization"` specifies components to ablate
|
|
21
|
+
- `--seeds 3` runs each ablation 3 times for statistical robustness (uses seed runner)
|
|
22
|
+
- `--latex` outputs a LaTeX-formatted table instead of markdown
|
|
23
|
+
|
|
24
|
+
3. **Run ablation study:**
|
|
25
|
+
```bash
|
|
26
|
+
python scripts/ablation_study.py $ARGUMENTS
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
4. **Report results:**
|
|
30
|
+
- Show the ablation table: Configuration | Metric | Δ from Full | % Change
|
|
31
|
+
- Rank by impact (largest Δ first)
|
|
32
|
+
- Flag **dead-weight** components (removing them improves the metric)
|
|
33
|
+
- If `--latex`, output ready for copy-paste into a paper
|
|
34
|
+
|
|
35
|
+
5. **Saved output:** results written to `experiments/ablations/exp-NNN-ablation.yaml`
|
|
36
|
+
|
|
37
|
+
6. **If no ablatable components detected:** suggest using `--components` explicitly.
|
|
38
|
+
|
|
39
|
+
## Examples
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
/turing:ablate # Auto-detect components
|
|
43
|
+
/turing:ablate exp-042 # Specific experiment
|
|
44
|
+
/turing:ablate --components "dropout,subsample" # Specific components
|
|
45
|
+
/turing:ablate --seeds 3 # Multi-seed for robustness
|
|
46
|
+
/turing:ablate --latex # LaTeX table output
|
|
47
|
+
```
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: annotate
|
|
3
|
+
description: Retrospective experiment annotations — add human notes, tags, and context that automated metrics can't capture.
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
argument-hint: "<exp-id> \"note\" [--tag fragile] | --list | --search \"keyword\""
|
|
6
|
+
allowed-tools: Read, Bash(*), Grep, Glob
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
Add context that experiment logs can't capture. "This only worked because the data was pre-sorted."
|
|
10
|
+
|
|
11
|
+
## Steps
|
|
12
|
+
1. **Activate environment:** `source .venv/bin/activate`
|
|
13
|
+
2. **Run:** `python scripts/experiment_annotations.py $ARGUMENTS`
|
|
14
|
+
3. **Operations:** add (text + tags), list (per-experiment or all), search (keyword or tag)
|
|
15
|
+
4. **Stored in:** `experiments/annotations.yaml`
|
|
16
|
+
|
|
17
|
+
## Examples
|
|
18
|
+
```
|
|
19
|
+
/turing:annotate exp-042 "Fragile — only works with specific preprocessing"
|
|
20
|
+
/turing:annotate exp-042 "Reviewer 2 requested this" --tag reviewer-requested
|
|
21
|
+
/turing:annotate --list
|
|
22
|
+
/turing:annotate --search "fragile"
|
|
23
|
+
```
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: archive
|
|
3
|
+
description: Experiment lifecycle cleanup — compress old artifacts, prune checkpoints, create queryable summary index. Reclaim disk space.
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
argument-hint: "[--older-than 30d] [--keep-best 10] [--dry-run]"
|
|
6
|
+
allowed-tools: Read, Bash(*), Grep, Glob
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
Keep your project directory manageable after 200+ experiments.
|
|
10
|
+
|
|
11
|
+
## Steps
|
|
12
|
+
1. **Activate environment:** `source .venv/bin/activate`
|
|
13
|
+
2. **Run:** `python scripts/experiment_archive.py $ARGUMENTS`
|
|
14
|
+
3. **Protected experiments:** Pareto-optimal, current best, recent, top-N by metric
|
|
15
|
+
4. **Report:** archived count, preserved count, space reclaimed
|
|
16
|
+
5. **Saved output:** `experiments/archive/index.yaml`
|
|
17
|
+
|
|
18
|
+
## Examples
|
|
19
|
+
```
|
|
20
|
+
/turing:archive --dry-run # Preview what would be archived
|
|
21
|
+
/turing:archive --older-than 30 --keep-best 10 # Archive old, keep top 10
|
|
22
|
+
/turing:archive # Default: 30 days, keep 10
|
|
23
|
+
```
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: audit
|
|
3
|
+
description: Pre-submission methodology audit — catch data leakage, missing baselines, cherry-picked seeds, and incomplete ablations before a reviewer does.
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
argument-hint: "[--strict] [--checklist neurips]"
|
|
6
|
+
allowed-tools: Read, Bash(*), Grep, Glob
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
A reviewer checklist you run before submitting. Catches methodology mistakes that cause desk rejections.
|
|
10
|
+
|
|
11
|
+
## Steps
|
|
12
|
+
|
|
13
|
+
1. **Activate environment:**
|
|
14
|
+
```bash
|
|
15
|
+
source .venv/bin/activate
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
2. **Parse arguments from `$ARGUMENTS`:**
|
|
19
|
+
- `--strict` — treat warnings as failures
|
|
20
|
+
- `--checklist neurips|icml|iclr` — add venue-specific checks
|
|
21
|
+
- `--json` — raw JSON output
|
|
22
|
+
|
|
23
|
+
3. **Run methodology audit:**
|
|
24
|
+
```bash
|
|
25
|
+
python scripts/methodology_audit.py $ARGUMENTS
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
4. **Checks performed:**
|
|
29
|
+
- **Data leakage** (critical): verify prepare.py/evaluate.py separation
|
|
30
|
+
- **CV strategy** (critical): verify appropriate cross-validation for data type
|
|
31
|
+
- **Seed sensitivity** (high): seed studies exist for best experiments
|
|
32
|
+
- **Ablation completeness** (high): ablation studies performed
|
|
33
|
+
- **Baseline comparison** (high): simple baselines in experiment log
|
|
34
|
+
- **Reproducibility** (high): best result successfully reproduced
|
|
35
|
+
- **Hyperparameter budget** (medium): total tuning cost documented
|
|
36
|
+
- **Regression stability** (medium): regression checks performed
|
|
37
|
+
|
|
38
|
+
5. **Verdicts:**
|
|
39
|
+
- **PASS** — ready for submission
|
|
40
|
+
- **PASS (with warnings)** — address before submission
|
|
41
|
+
- **NEEDS WORK** — fix failures first
|
|
42
|
+
- **FAIL** — critical issues found
|
|
43
|
+
|
|
44
|
+
6. **Actions:** each failure suggests the `/turing:` command to fix it
|
|
45
|
+
|
|
46
|
+
7. **Venue checklists:** `--checklist neurips` adds NeurIPS-specific checks (broader impact, reproducibility checklist, code availability)
|
|
47
|
+
|
|
48
|
+
8. **Saved output:** report in `experiments/audits/audit-YYYY-MM-DD.yaml`
|
|
49
|
+
|
|
50
|
+
## Examples
|
|
51
|
+
|
|
52
|
+
```
|
|
53
|
+
/turing:audit # Standard audit
|
|
54
|
+
/turing:audit --strict # Warnings become failures
|
|
55
|
+
/turing:audit --checklist neurips # NeurIPS submission checklist
|
|
56
|
+
```
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: baseline
|
|
3
|
+
description: Automatic baseline generation — random, majority/mean, linear, k-NN baselines in 60 seconds. Every experiment needs a "is this better than dumb?" reference.
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
argument-hint: "[--methods all|simple|linear] [--data data.npz]"
|
|
6
|
+
allowed-tools: Read, Bash(*), Grep, Glob
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
Generate trivial baselines so you always know if your model is meaningfully better than simple approaches.
|
|
10
|
+
|
|
11
|
+
## Steps
|
|
12
|
+
|
|
13
|
+
1. **Activate environment:**
|
|
14
|
+
```bash
|
|
15
|
+
source .venv/bin/activate
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
2. **Parse arguments from `$ARGUMENTS`:**
|
|
19
|
+
- `--methods all|simple|linear` — baseline group (default: all)
|
|
20
|
+
- `--data data.npz` — data file with X and y arrays
|
|
21
|
+
- `--json` — raw JSON output
|
|
22
|
+
|
|
23
|
+
3. **Run baseline generation:**
|
|
24
|
+
```bash
|
|
25
|
+
python scripts/generate_baselines.py $ARGUMENTS
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
4. **Baselines generated:**
|
|
29
|
+
- **Classification:** Random, Majority class, Stratified random, Logistic Regression, k-NN
|
|
30
|
+
- **Regression:** Random, Mean predictor, Median predictor, Ridge Regression, k-NN
|
|
31
|
+
- Each evaluated with the same protocol as real experiments
|
|
32
|
+
|
|
33
|
+
5. **Report includes:** comparison table with metric values and notes (floor, ceiling, reference)
|
|
34
|
+
|
|
35
|
+
6. **Integration:** satisfies the "baseline comparison" check in `/turing:audit`
|
|
36
|
+
|
|
37
|
+
7. **Saved output:** report in `experiments/baselines/baselines-*.yaml`
|
|
38
|
+
|
|
39
|
+
## Examples
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
/turing:baseline # All baselines
|
|
43
|
+
/turing:baseline --methods simple # Just random + majority
|
|
44
|
+
/turing:baseline --data data/processed.npz # With actual data
|
|
45
|
+
```
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: brief
|
|
3
|
+
description: Generate a structured research intelligence report from experiment history — what's been learned, what's promising, what's exhausted, and what the human should consider next. Use --deep for literature-grounded suggestions.
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
argument-hint: "[ml/project] [--deep]"
|
|
6
|
+
allowed-tools: Read, Bash(python scripts/*:*, source .venv/bin/activate:*), Grep, Glob, WebSearch, WebFetch
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
Generate a research briefing that a human can read in 2 minutes and immediately decide what to inject next.
|
|
10
|
+
|
|
11
|
+
## Project Detection
|
|
12
|
+
|
|
13
|
+
Before generating the briefing, detect which project to report on:
|
|
14
|
+
|
|
15
|
+
0. **Detect project directory:**
|
|
16
|
+
- If `$ARGUMENTS` contains a path (e.g., `ml/coding`), use that as the project directory
|
|
17
|
+
- Else if cwd contains `config.yaml` and `train.py`, use cwd
|
|
18
|
+
- Else search for `ml/*/` subdirectories containing `config.yaml`
|
|
19
|
+
- If exactly one found, use it
|
|
20
|
+
- If multiple found, list them and ask the user which to report on
|
|
21
|
+
- All subsequent commands run from the detected project directory
|
|
22
|
+
|
|
23
|
+
## Steps
|
|
24
|
+
|
|
25
|
+
1. **Generate the briefing:**
|
|
26
|
+
```bash
|
|
27
|
+
source .venv/bin/activate && python scripts/generate_brief.py
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
2. **Self-critique the briefing** before presenting. Review the generated output and check:
|
|
31
|
+
- **Recommendations specificity:** Are they concrete enough to act on? "Try a different model" is bad. "Try LightGBM with leaf-wise growth because exp-004 showed depth sensitivity" is good. If vague, rewrite them with specific model/hyperparameter suggestions grounded in the experiment data.
|
|
32
|
+
- **Exhausted directions coverage:** Cross-reference the "Model Types Explored" section against `experiments/log.jsonl`. Are there discarded experiments missing from the summary? If so, add them.
|
|
33
|
+
- **Convergence estimate grounding:** If the briefing says "close to convergence" or "further improvement possible", verify against the actual metric trajectory. Is the claim supported by the numbers?
|
|
34
|
+
- **Metric accuracy:** Spot-check that the "Current Best" metrics match the actual log. Run `python scripts/show_metrics.py --last 1` if uncertain.
|
|
35
|
+
|
|
36
|
+
If any section fails the check, regenerate just that section. Max 1 revision round — don't over-polish.
|
|
37
|
+
|
|
38
|
+
3. **Present the output** to the user. The briefing has 6 sections:
|
|
39
|
+
- **Campaign Summary** — total experiments, keep rate, timespan
|
|
40
|
+
- **Current Best** — model type, metrics, experiment ID, configuration
|
|
41
|
+
- **Improvement Trajectory** — metric over time, rate of improvement
|
|
42
|
+
- **Model Types Explored** — which approaches have been tried and their hit rates
|
|
43
|
+
- **Hypothesis Queue** — pending and completed hypotheses
|
|
44
|
+
- **Recommendations** — data-driven next steps
|
|
45
|
+
|
|
46
|
+
4. **If `$ARGUMENTS` contains `--deep`:** run the Literature-Grounded Suggestions step below.
|
|
47
|
+
|
|
48
|
+
5. **Prompt for action:**
|
|
49
|
+
- "Want to inject a hypothesis? Use `/turing:try <idea>`"
|
|
50
|
+
- "Want to continue training? Use `/turing:train`"
|
|
51
|
+
- "Want literature-backed suggestions? Use `/turing:brief --deep`"
|
|
52
|
+
|
|
53
|
+
## Literature-Grounded Suggestions (--deep flag)
|
|
54
|
+
|
|
55
|
+
When `--deep` is requested, add a 7th section: **Literature-Grounded Suggestions**.
|
|
56
|
+
|
|
57
|
+
### Steps:
|
|
58
|
+
|
|
59
|
+
1. **Read context:** Read `config.yaml` and the briefing output to understand:
|
|
60
|
+
- What task type this is (tabular classification, time series, etc.)
|
|
61
|
+
- Which model families have been exhausted (from "Model Types Explored")
|
|
62
|
+
- Where improvement has plateaued (from "Improvement Trajectory")
|
|
63
|
+
- What failure patterns keep recurring
|
|
64
|
+
|
|
65
|
+
2. **Search literature** with `WebSearch` for techniques that address the specific stagnation:
|
|
66
|
+
- If plateaued: "improve [task type] accuracy beyond [current metric] 2024"
|
|
67
|
+
- If overfitting: "regularization techniques [model family] [task type]"
|
|
68
|
+
- If all models tried: "state of the art [task type] benchmark 2024 2025"
|
|
69
|
+
|
|
70
|
+
3. **Distill 3-5 suggestions** from the literature, each with:
|
|
71
|
+
- **Technique:** specific and actionable
|
|
72
|
+
- **Source:** paper or article URL
|
|
73
|
+
- **Why now:** how it addresses the specific stagnation point
|
|
74
|
+
- **Impact estimate:** high/medium/low
|
|
75
|
+
- **Complexity:** low/medium/high
|
|
76
|
+
|
|
77
|
+
4. **Queue suggestions** as hypotheses:
|
|
78
|
+
```bash
|
|
79
|
+
source .venv/bin/activate && python scripts/manage_hypotheses.py add "<technique>: <rationale> (source: <citation>)" --priority medium --source literature
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
5. **Format as a section** appended to the briefing.
|
|
83
|
+
|
|
84
|
+
## Saving Briefs
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
mkdir -p briefs && python scripts/generate_brief.py > briefs/brief-$(date +%Y-%m-%d).md
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
## When to Use
|
|
91
|
+
|
|
92
|
+
- After a training session completes or converges
|
|
93
|
+
- Before injecting new hypotheses (to understand what's already been tried)
|
|
94
|
+
- When returning to a project after time away
|
|
95
|
+
- **With `--deep`:** when the agent seems stuck and you want evidence-based direction
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: budget
|
|
3
|
+
description: Compute budget manager — set experiment/time limits, track allocation across explore/exploit phases, auto-shift modes, hard stop.
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
argument-hint: "<set|status|reset> [--experiments 50] [--hours 8]"
|
|
6
|
+
allowed-tools: Read, Bash(*), Grep, Glob
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
Set a compute ceiling and let the system optimize within it. Prevents runaway experiment loops.
|
|
10
|
+
|
|
11
|
+
## Steps
|
|
12
|
+
|
|
13
|
+
1. **Activate environment:**
|
|
14
|
+
```bash
|
|
15
|
+
source .venv/bin/activate
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
2. **Parse arguments from `$ARGUMENTS`:**
|
|
19
|
+
- First argument is action: `set`, `status`, `reset`, or `check`
|
|
20
|
+
- `--experiments 50` — max experiment count
|
|
21
|
+
- `--hours 8` — max wall-clock hours
|
|
22
|
+
- `--json` — raw JSON output
|
|
23
|
+
|
|
24
|
+
3. **Run budget manager:**
|
|
25
|
+
```bash
|
|
26
|
+
python scripts/budget_manager.py $ARGUMENTS
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
4. **Actions:**
|
|
30
|
+
- **set:** create a budget with experiment and/or time constraints
|
|
31
|
+
- **status:** show usage, burn rate, projected exhaustion, allocation breakdown
|
|
32
|
+
- **reset:** deactivate the current budget
|
|
33
|
+
- **check:** returns whether another experiment is allowed (used by `/turing:train`)
|
|
34
|
+
|
|
35
|
+
5. **Budget allocation policy:**
|
|
36
|
+
- **0-50% budget:** EXPLORE — try diverse hypotheses
|
|
37
|
+
- **50-80% budget:** MIXED — explore promising, exploit best
|
|
38
|
+
- **80-100% budget:** EXPLOIT ONLY — refine the winner
|
|
39
|
+
- **100% budget:** HARD STOP — `/turing:train` refuses new experiments
|
|
40
|
+
|
|
41
|
+
6. **Budget state** stored in `experiment_state.yaml` under the `budget` key.
|
|
42
|
+
|
|
43
|
+
7. **If no budget exists:** `/turing:train` runs without limits.
|
|
44
|
+
|
|
45
|
+
## Examples
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
/turing:budget set --experiments 50 --hours 8 # Set both constraints
|
|
49
|
+
/turing:budget set --experiments 30 # Experiment count only
|
|
50
|
+
/turing:budget status # Show usage and projections
|
|
51
|
+
/turing:budget reset # Remove budget limits
|
|
52
|
+
```
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: calibrate
|
|
3
|
+
description: Probability calibration — measure ECE, plot reliability diagrams, apply Platt scaling or isotonic regression.
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
argument-hint: "[exp-id] [--method platt|isotonic|temperature|auto]"
|
|
6
|
+
allowed-tools: Read, Bash(*), Grep, Glob
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
Make model probabilities trustworthy. Does 80% confidence actually mean 80% correct?
|
|
10
|
+
|
|
11
|
+
## Steps
|
|
12
|
+
|
|
13
|
+
1. **Activate environment:**
|
|
14
|
+
```bash
|
|
15
|
+
source .venv/bin/activate
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
2. **Parse arguments from `$ARGUMENTS`:**
|
|
19
|
+
- Optional experiment ID
|
|
20
|
+
- `--method platt|isotonic|temperature|auto` — calibration method (default: auto)
|
|
21
|
+
- `--json` — raw JSON output
|
|
22
|
+
|
|
23
|
+
3. **Run calibration:**
|
|
24
|
+
```bash
|
|
25
|
+
python scripts/calibration.py $ARGUMENTS
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
4. **Report includes:**
|
|
29
|
+
- ECE/MCE before calibration
|
|
30
|
+
- Reliability diagram (predicted vs actual per bin)
|
|
31
|
+
- Calibration method comparison table
|
|
32
|
+
- Verdict: ALREADY CALIBRATED / IMPROVED / NO IMPROVEMENT
|
|
33
|
+
|
|
34
|
+
5. **Methods:**
|
|
35
|
+
- **Platt:** logistic regression on logits
|
|
36
|
+
- **Isotonic:** non-parametric (more flexible, needs more data)
|
|
37
|
+
- **Temperature:** single scalar T parameter
|
|
38
|
+
- **Auto:** tries all, picks lowest ECE
|
|
39
|
+
|
|
40
|
+
6. **Saved output:** report in `experiments/calibration/<exp-id>-calibration.yaml`
|
|
41
|
+
|
|
42
|
+
## Examples
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
/turing:calibrate exp-042 # Auto-select best method
|
|
46
|
+
/turing:calibrate exp-042 --method platt # Platt scaling only
|
|
47
|
+
```
|