Purpose
Convert the framed problem and data profile into a small executable decision surface. Screen methods for load-bearing data, assumption, degeneracy, sensitivity, and scale risks before asking the human to choose.
This skill proposes and probes methods. The human chooses the method.
Preconditions
- G1 problem framing passed.
- Required output and evaluation criteria are known.
- Relevant data inventory or audit exists.
planning/symbol_table.md and planning/model_assumptions.md exist when the problem needs them.
If these are missing, return to the producer skill rather than guessing.
Inputs
- Problem parse and classification.
- Data audit, including missingness, effective sample size, imbalance, cardinality, and distribution summaries.
- Literature analysis when available.
- Contest deadline, implementation language, interpretability needs, and compute limits.
planning/session_config.json.
- Existing
methods/Qx/qx_method_card.md and decision ledger when revising.
Workflow
Align the decision surface.
- Invoke
decision-prompt-builder before generating an open-ended shortlist.
- Ask about human-owned trade-offs, not algorithm names.
- Reuse answers already present in the decision ledger.
Derive method requirements.
- Start from required output, hard constraints, data characteristics, validation criteria, explanation burden, and experiment budget.
- Identify the failure modes that would make a method unusable.
Create a role-based shortlist.
- One
main_candidate: best fit to the chosen trade-off.
- One
usable_baseline: completes the real task and yields directly comparable outputs.
- At most one
conditional_fallback: differs in a meaningful mathematical way and has an explicit activation trigger.
- If a simple reference cannot complete the real task, label it
diagnostic_reference; it does not satisfy the baseline requirement.
- Do not add a method merely to reach a candidate count.
Define method-specific risk checks.
- Use the contract in
references/risk-probe-contract.md.
- Select only relevant assumption checks.
- Always check output degeneracy or concentration with metrics appropriate to the output.
- Bound probe runtime rather than source-line count.
Run the risk probe on the main candidate and usable baseline.
- Use a representative slice or full-data diagnostic as appropriate; never rely only on the first rows.
- The probe may use reusable scripts and may save detailed metrics, but its canonical output is one compact summary.
- Probe the fallback only enough to establish that its trigger and risk profile are credible. Do not fully implement it.
Write canonical artifacts.
methods/Qx/qx_method_card.md
methods/Qx/probes/risk_probe_summary.json
- Update
planning/manifests/Qx.json if present.
Ask for the method choice.
- Present the probe evidence through a choice card.
- After the user answers, hand the exact answer to
modeler-decision-logger for append-only capture in methods/Qx/qx_decisions.jsonl.
- If no answer is available, stop. Do not create a placeholder decision file.
Method Card Contract
qx_method_card.md stays compact and contains:
# Qx Method Card
## Goal and success criteria
## Human constraints
- Output form:
- Priority:
- Unacceptable failure:
- Experiment budget:
## Shortlist
| ID | Role | Mathematical idea | Why eligible | Main risk | Implementation cost |
## Baseline validity
- Real task completed:
- Comparable output/metric:
- If no, classification: diagnostic_reference
## Risk-probe summary
| ID | Executability | Data/assumptions | Degeneracy | Sensitivity | Scale | Verdict |
## Fallback trigger
- Trigger:
- Evidence to evaluate:
## Compact history
- One line per material change, with decision_id when human-owned.
Do not maintain a separate iteration log for new work.
Probe Verdicts
PASS: eligible for the human choice.
CONDITIONAL: eligible only with a stated mitigation or fallback trigger.
FAIL: not offered as a selectable main or baseline.
A method fails screening when a load-bearing assumption fails, the output degenerates, it cannot produce a legal result, or its cost violates the user's budget. A method does not fail merely because an irrelevant generic diagnostic is unavailable.
Output and Handoff
After G2 screening:
- If the human choice is absent: return the evidence-backed choice card.
- If G2.5 is decided: hand the method card, probe summary, chosen IDs, and experiment budget to
model-code-analyzer.
- Instruct code generation to implement only the approved main method and usable baseline.
- Keep the fallback dormant until its recorded trigger fires.
Rules
- Do not use a fixed candidate count.
- Do not use source-line count as validation quality.
- Do not invent missing data fields, constraints, labels, or evaluation metrics.
- Do not call a nonfunctional toy method a baseline.
- Do not fully implement all shortlisted methods.
- Do not select the method or write the human rationale.
- Keep AI suggestions visibly separate from the human decision.
Compatibility
When revising an older workspace, read:
methods/Qx/qx_method_candidates.md
methods/Qx/qx_method_iteration_log.md
methods/Qx/poc/
Migrate material evidence into the method card and probe summary. Do not require new legacy PoCs or iteration logs.
References
- Risk checks and summary schema:
references/risk-probe-contract.md
- Method-family routing cues:
references/method-family-guide.md
Verification
- Shortlist contains a main candidate and a genuinely usable baseline.
- Optional fallback has a concrete trigger.
- Main and baseline have evidence-backed probe verdicts.
- Output-degeneracy checks are present.
- Method card and probe summary exist.
- No per-skill pending decision file was created.
- No code-generation handoff occurs before a human method choice is recorded.
1---2name: method-selector3description: Build and risk-screen a compact role-based method shortlist for a mathematical-modeling subquestion. Use after problem framing and data profiling, before model code generation, to propose a main candidate, a usable baseline, and at most one conditional fallback without padding the pool.4---56# Purpose78Convert the framed problem and data profile into a small executable decision surface. Screen methods for load-bearing data, assumption, degeneracy, sensitivity, and scale risks before asking the human to choose.910This skill proposes and probes methods. The human chooses the method.1112# Preconditions1314- G1 problem framing passed.15- Required output and evaluation criteria are known.16- Relevant data inventory or audit exists.17- `planning/symbol_table.md` and `planning/model_assumptions.md` exist when the problem needs them.1819If these are missing, return to the producer skill rather than guessing.2021# Inputs2223- Problem parse and classification.24- Data audit, including missingness, effective sample size, imbalance, cardinality, and distribution summaries.25- Literature analysis when available.26- Contest deadline, implementation language, interpretability needs, and compute limits.27- `planning/session_config.json`.28- Existing `methods/Qx/qx_method_card.md` and decision ledger when revising.2930# Workflow31321. **Align the decision surface.**33 - Invoke `decision-prompt-builder` before generating an open-ended shortlist.34 - Ask about human-owned trade-offs, not algorithm names.35 - Reuse answers already present in the decision ledger.36372. **Derive method requirements.**38 - Start from required output, hard constraints, data characteristics, validation criteria, explanation burden, and experiment budget.39 - Identify the failure modes that would make a method unusable.40413. **Create a role-based shortlist.**42 - One `main_candidate`: best fit to the chosen trade-off.43 - One `usable_baseline`: completes the real task and yields directly comparable outputs.44 - At most one `conditional_fallback`: differs in a meaningful mathematical way and has an explicit activation trigger.45 - If a simple reference cannot complete the real task, label it `diagnostic_reference`; it does not satisfy the baseline requirement.46 - Do not add a method merely to reach a candidate count.47484. **Define method-specific risk checks.**49 - Use the contract in `references/risk-probe-contract.md`.50 - Select only relevant assumption checks.51 - Always check output degeneracy or concentration with metrics appropriate to the output.52 - Bound probe runtime rather than source-line count.53545. **Run the risk probe on the main candidate and usable baseline.**55 - Use a representative slice or full-data diagnostic as appropriate; never rely only on the first rows.56 - The probe may use reusable scripts and may save detailed metrics, but its canonical output is one compact summary.57 - Probe the fallback only enough to establish that its trigger and risk profile are credible. Do not fully implement it.58596. **Write canonical artifacts.**60 - `methods/Qx/qx_method_card.md`61 - `methods/Qx/probes/risk_probe_summary.json`62 - Update `planning/manifests/Qx.json` if present.63647. **Ask for the method choice.**65 - Present the probe evidence through a choice card.66 - After the user answers, hand the exact answer to `modeler-decision-logger` for append-only capture in `methods/Qx/qx_decisions.jsonl`.67 - If no answer is available, stop. Do not create a placeholder decision file.6869# Method Card Contract7071`qx_method_card.md` stays compact and contains:7273```markdown74# Qx Method Card7576## Goal and success criteria7778## Human constraints79- Output form:80- Priority:81- Unacceptable failure:82- Experiment budget:8384## Shortlist85| ID | Role | Mathematical idea | Why eligible | Main risk | Implementation cost |8687## Baseline validity88- Real task completed:89- Comparable output/metric:90- If no, classification: diagnostic_reference9192## Risk-probe summary93| ID | Executability | Data/assumptions | Degeneracy | Sensitivity | Scale | Verdict |9495## Fallback trigger96- Trigger:97- Evidence to evaluate:9899## Compact history100- One line per material change, with decision_id when human-owned.101```102103Do not maintain a separate iteration log for new work.104105# Probe Verdicts106107- `PASS`: eligible for the human choice.108- `CONDITIONAL`: eligible only with a stated mitigation or fallback trigger.109- `FAIL`: not offered as a selectable main or baseline.110111A method fails screening when a load-bearing assumption fails, the output degenerates, it cannot produce a legal result, or its cost violates the user's budget. A method does not fail merely because an irrelevant generic diagnostic is unavailable.112113# Output and Handoff114115After G2 screening:116117- If the human choice is absent: return the evidence-backed choice card.118- If G2.5 is decided: hand the method card, probe summary, chosen IDs, and experiment budget to `model-code-analyzer`.119- Instruct code generation to implement only the approved main method and usable baseline.120- Keep the fallback dormant until its recorded trigger fires.121122# Rules123124- Do not use a fixed candidate count.125- Do not use source-line count as validation quality.126- Do not invent missing data fields, constraints, labels, or evaluation metrics.127- Do not call a nonfunctional toy method a baseline.128- Do not fully implement all shortlisted methods.129- Do not select the method or write the human rationale.130- Keep AI suggestions visibly separate from the human decision.131132# Compatibility133134When revising an older workspace, read:135136- `methods/Qx/qx_method_candidates.md`137- `methods/Qx/qx_method_iteration_log.md`138- `methods/Qx/poc/`139140Migrate material evidence into the method card and probe summary. Do not require new legacy PoCs or iteration logs.141142# References143144- Risk checks and summary schema: `references/risk-probe-contract.md`145- Method-family routing cues: `references/method-family-guide.md`146147# Verification148149- Shortlist contains a main candidate and a genuinely usable baseline.150- Optional fallback has a concrete trigger.151- Main and baseline have evidence-backed probe verdicts.152- Output-degeneracy checks are present.153- Method card and probe summary exist.154- No per-skill pending decision file was created.155- No code-generation handoff occurs before a human method choice is recorded.