Expert Judgment Distillation
Use this skill when a user wants to turn repeated expert decisions into a reusable model-training and evaluation workflow. The goal is not generic classification; it is capturing domain taste with clear labels, hard evals, and failure-driven repair.
Quick Start
For a new domain, first produce four small artifacts before suggesting any training run:
- Decision brief: what expert judgment is being replicated, who makes it, and what action follows.
- Draft taxonomy: 3-8 labels with definitions, examples, counterexamples, and safety overrides.
- Seed eval plan: initial train/validation/test/holdout split and the one slice that must not regress.
- Failure-review queue: a CSV/JSONL shape for contested examples.
Minimal example:
Task: editorial item triage
Input: headline + short text + platform context
Labels: clip_now, publish_normally, send_for_review, ignore, save_for_evergreen
Dangerous miss: risky or unverified content classified as publish_normally
Protected holdout: sparse real-world headlines
Non-editorial example:
Task: sales lead prioritization
Input: company, role, inbound message, source, firmographic context
Labels: urgent_sales_followup, nurture, disqualify, needs_human_review
Dangerous miss: qualified enterprise lead classified as nurture or disqualify
Protected holdout: short ambiguous inbound messages from high-value accounts
Core Workflow
- Define the expert decision.
- Identify the domain expert, task, input unit, downstream action, and trust threshold.
- Separate final labels from operational actions when they differ.
- Build the first taxonomy.
- Write label definitions, risk/safety overrides, examples, and counterexamples.
- Mark ambiguous cases for human or expert review instead of forcing false certainty.
- Output
taxonomy.md with a table: label, action, definition, examples, counterexamples, override rules.
- Create seed data and splits.
- Keep
train, validation, test, and a continuity holdout separate.
- Add an edge-case shortlist for disputed labels and boundary cases.
- Run prompt baselines.
- Compare naive prompt, expert prompt, and structured-output prompt.
- Track accuracy, macro F1, invalid outputs, and domain-specific safety misses.
- Analyze failures before adding data.
- Use confusion matrices, error CSVs, prediction samples, and risk-miss reports.
- Convert recurring confusions into named failure buckets.
- Output
failure-taxonomy.md with bucket name, severity, count, examples, suspected cause, and repair strategy.
- Build targeted repair sets.
- Add contrastive pairs and sparse real-world variants for the actual failures.
- Do not leak exact holdout examples into training.
- Preserve prior regression evals.
- Output
repair-manifest.md explaining which failure each repair set targets and which evals it must protect.
- Evaluate every run against continuity gates.
- Do not call a run better if it improves one slice while regressing a required safety or transfer eval.
- Escalate to two-stage rubric modeling when final-label prediction stays brittle.
- Have the model predict rubric fields first.
- Derive the final label with deterministic rules.
- Compare model candidate labels vs derived labels to locate whether failures are rubric-field errors or mapping errors.
- Output a candidate-vs-derived report and field-level failure summary before recommending more data.
- Write the case study.
- Explain what the workflow replicated, what improved, what failed, and which claims are supported by held-out evidence.
Required Agent Outputs
When guiding a full workflow, produce these artifacts in order:
| Stage |
Required output |
| Decision definition |
decision-brief.md |
| Taxonomy |
taxonomy.md |
| Seed dataset |
JSONL/CSV files plus dataset-card.md |
| Baseline |
baseline-report.md |
| Failure analysis |
failure-taxonomy.md and error CSV |
| Repair data |
repair JSONL/CSV plus repair-manifest.md |
| Eval |
eval-report.md with metrics, gates, and promotion decision |
| Case study |
case-study.md or public-safe article draft |
For small requests, return the smallest useful subset instead of creating every artifact.
When The User Mentions Bridgewater Or Tinker
Read references/bridgewater-tinker-process-map.md before answering. Use it to cite the Thinking Machines/Bridgewater article as a conceptual basis without copying article text or implying endorsement.
Dataset And Eval References
- Read
references/dataset-schemas.md when creating JSONL/CSV schemas, rubric fields, or output formats.
- Read
references/eval-metrics.md when choosing metrics, gates, and failure reports.
- Read
references/case-study-template.md when drafting a public or internal case study.
- Read
references/extension-playbook.md when the user asks what else to add, how to make the workflow more visual, or how to mature the skill into a stronger ML/eval toolkit.
Validation Helper
For local JSONL datasets, use:
python3 scripts/validate_judgment_dataset.py \
--train path/to/train.jsonl \
--validation path/to/validation.jsonl \
--test path/to/test.jsonl \
--holdout path/to/holdout.jsonl \
--label-field final_label \
--allowed-labels labels.txt \
--text-fields headline summary text
The script checks JSONL validity, required labels, enum values, duplicate IDs, repeated text fingerprints, split leakage, and optional holdout leakage.
Good output:
{"ok": true, "errors": [], "splits": {"train": 100, "validation": 20}}
Bad output:
{"ok": false, "errors": ["id leakage across splits: example_42 in ['train', 'holdout']"]}
Reporting Rules
- Be explicit about whether the work is prompt engineering, supervised fine-tuning, RL/distillation, or only dataset/eval design.
- Do not claim expert-level performance without held-out evidence.
- Distinguish dangerous misses from taxonomy-safe escalations.
- Keep article references short and cited; do not reproduce copyrighted article tables, figures, or long passages.
- For public artifacts, remove private paths, credentials, proprietary source rows, and machine-specific assumptions.
Common Anti-Patterns This Skill Prevents
- Training before defining the decision and action.
- Reporting aggregate accuracy while ignoring dangerous misses.
- Treating weak or synthetic labels as final truth.
- Adding broad data instead of targeted repair data.
- Leaking exact holdout examples into training.
- Declaring victory on in-domain test sets while transfer evals regress.
- Claiming to reproduce a paper or article's training recipe when only the process pattern was reused.
1---2name: expert-judgment-distillation3description: Design, audit, and document domain-specific expert judgment distillation workflows: label taxonomies, seed datasets, prompt baselines, contested-example review, fine-tuning or Tinker-style experiment loops, failure taxonomies, repair sets, held-out evals, two-stage rubric models, and case-study writeups. Use when asked to replicate expert judgment, model a workflow after the Thinking Machines/Bridgewater Tinker article, build a domain judgment dataset, analyze a judgment model's failures, or package an experiment as a reusable case study.4---56# Expert Judgment Distillation78Use this skill when a user wants to turn repeated expert decisions into a reusable model-training and evaluation workflow. The goal is not generic classification; it is capturing domain taste with clear labels, hard evals, and failure-driven repair.910## Quick Start1112For a new domain, first produce four small artifacts before suggesting any training run:13141. **Decision brief:** what expert judgment is being replicated, who makes it, and what action follows.152. **Draft taxonomy:** 3-8 labels with definitions, examples, counterexamples, and safety overrides.163. **Seed eval plan:** initial train/validation/test/holdout split and the one slice that must not regress.174. **Failure-review queue:** a CSV/JSONL shape for contested examples.1819Minimal example:2021```text22Task: editorial item triage23Input: headline + short text + platform context24Labels: clip_now, publish_normally, send_for_review, ignore, save_for_evergreen25Dangerous miss: risky or unverified content classified as publish_normally26Protected holdout: sparse real-world headlines27```2829Non-editorial example:3031```text32Task: sales lead prioritization33Input: company, role, inbound message, source, firmographic context34Labels: urgent_sales_followup, nurture, disqualify, needs_human_review35Dangerous miss: qualified enterprise lead classified as nurture or disqualify36Protected holdout: short ambiguous inbound messages from high-value accounts37```3839## Core Workflow40411. Define the expert decision.42 - Identify the domain expert, task, input unit, downstream action, and trust threshold.43 - Separate final labels from operational actions when they differ.442. Build the first taxonomy.45 - Write label definitions, risk/safety overrides, examples, and counterexamples.46 - Mark ambiguous cases for human or expert review instead of forcing false certainty.47 - Output `taxonomy.md` with a table: label, action, definition, examples, counterexamples, override rules.483. Create seed data and splits.49 - Keep `train`, `validation`, `test`, and a continuity holdout separate.50 - Add an edge-case shortlist for disputed labels and boundary cases.514. Run prompt baselines.52 - Compare naive prompt, expert prompt, and structured-output prompt.53 - Track accuracy, macro F1, invalid outputs, and domain-specific safety misses.545. Analyze failures before adding data.55 - Use confusion matrices, error CSVs, prediction samples, and risk-miss reports.56 - Convert recurring confusions into named failure buckets.57 - Output `failure-taxonomy.md` with bucket name, severity, count, examples, suspected cause, and repair strategy.586. Build targeted repair sets.59 - Add contrastive pairs and sparse real-world variants for the actual failures.60 - Do not leak exact holdout examples into training.61 - Preserve prior regression evals.62 - Output `repair-manifest.md` explaining which failure each repair set targets and which evals it must protect.637. Evaluate every run against continuity gates.64 - Do not call a run better if it improves one slice while regressing a required safety or transfer eval.658. Escalate to two-stage rubric modeling when final-label prediction stays brittle.66 - Have the model predict rubric fields first.67 - Derive the final label with deterministic rules.68 - Compare model candidate labels vs derived labels to locate whether failures are rubric-field errors or mapping errors.69 - Output a candidate-vs-derived report and field-level failure summary before recommending more data.709. Write the case study.71 - Explain what the workflow replicated, what improved, what failed, and which claims are supported by held-out evidence.7273## Required Agent Outputs7475When guiding a full workflow, produce these artifacts in order:7677| Stage | Required output |78| --- | --- |79| Decision definition | `decision-brief.md` |80| Taxonomy | `taxonomy.md` |81| Seed dataset | JSONL/CSV files plus `dataset-card.md` |82| Baseline | `baseline-report.md` |83| Failure analysis | `failure-taxonomy.md` and error CSV |84| Repair data | repair JSONL/CSV plus `repair-manifest.md` |85| Eval | `eval-report.md` with metrics, gates, and promotion decision |86| Case study | `case-study.md` or public-safe article draft |8788For small requests, return the smallest useful subset instead of creating every artifact.8990## When The User Mentions Bridgewater Or Tinker9192Read `references/bridgewater-tinker-process-map.md` before answering. Use it to cite the Thinking Machines/Bridgewater article as a conceptual basis without copying article text or implying endorsement.9394## Dataset And Eval References9596- Read `references/dataset-schemas.md` when creating JSONL/CSV schemas, rubric fields, or output formats.97- Read `references/eval-metrics.md` when choosing metrics, gates, and failure reports.98- Read `references/case-study-template.md` when drafting a public or internal case study.99- Read `references/extension-playbook.md` when the user asks what else to add, how to make the workflow more visual, or how to mature the skill into a stronger ML/eval toolkit.100101## Validation Helper102103For local JSONL datasets, use:104105```bash106python3 scripts/validate_judgment_dataset.py \107 --train path/to/train.jsonl \108 --validation path/to/validation.jsonl \109 --test path/to/test.jsonl \110 --holdout path/to/holdout.jsonl \111 --label-field final_label \112 --allowed-labels labels.txt \113 --text-fields headline summary text114```115116The script checks JSONL validity, required labels, enum values, duplicate IDs, repeated text fingerprints, split leakage, and optional holdout leakage.117118Good output:119120```json121{"ok": true, "errors": [], "splits": {"train": 100, "validation": 20}}122```123124Bad output:125126```json127{"ok": false, "errors": ["id leakage across splits: example_42 in ['train', 'holdout']"]}128```129130## Reporting Rules131132- Be explicit about whether the work is prompt engineering, supervised fine-tuning, RL/distillation, or only dataset/eval design.133- Do not claim expert-level performance without held-out evidence.134- Distinguish dangerous misses from taxonomy-safe escalations.135- Keep article references short and cited; do not reproduce copyrighted article tables, figures, or long passages.136- For public artifacts, remove private paths, credentials, proprietary source rows, and machine-specific assumptions.137138## Common Anti-Patterns This Skill Prevents139140- Training before defining the decision and action.141- Reporting aggregate accuracy while ignoring dangerous misses.142- Treating weak or synthetic labels as final truth.143- Adding broad data instead of targeted repair data.144- Leaking exact holdout examples into training.145- Declaring victory on in-domain test sets while transfer evals regress.146- Claiming to reproduce a paper or article's training recipe when only the process pattern was reused.