DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to test two candidate models before choosing one with Modeling Workbench

Run both candidates as cheap exploratory runs and record why one was selected.

Short answer: In MODEL_CONTRACT.json, write two candidates, each with why_considered and discriminating_evidence; then run each candidate as an exploratory run: python3 "$S/record_run.py" --project <project folder> --candidate CAND-A -- python3 code/try_a.py; Repeat the same command for CAND-B with its own script. All steps.

  • Research
  • Advanced
  • 2 hours 30 minutes
  • From the README
  • Codex
  • Claude Code

Who it is forA modeler on a contest team who has two plausible approaches to one problem and must justify the choice in the paper.

The problemPicking a model first and testing it later makes it hard to show a real comparison or explain the choice.

The outcomeA recorded comparison table of candidates, with exploratory run evidence and a written reason for the selected model.

What you need first

  • Python 3.10 or newer with the Python dependencies the README lists
  • A MATLAB or Python calculation backend
  • XeLaTeX and a PDF rendering tool, needed before the paper stage
  • Official contest problem files, attachments and submission rules in one folder
  • Codex or Claude Code with access to the local tool folder

Steps

  1. In MODEL_CONTRACT.json, write two candidates, each with why_considered and discriminating_evidence.
  2. Run each candidate as an exploratory run: python3 "$S/record_run.py" --project <project folder> --candidate CAND-A -- python3 code/try_a.py. (inferred, check the README)
  3. Repeat the same command for CAND-B with its own script.
  4. Mark the chosen candidate as selected and write decision_rationale that cites the exploratory run IDs.
  5. Run python3 "$S/cumcm_check.py" --project <project folder> --stage model-design --gate-mode preflight to print the candidate comparison table. (inferred, check the README)

Prompt for your agent

Use the Modeling Workbench repo in <tool folder> to compare two candidate models for the problem in <project folder>. Record an exploratory run for each candidate, select one with a written rationale, and run the model-design check. Verify the comparison table lists both candidates and the selected one cites its runs.

Caveat. The workflow records and checks the comparison, but it does not prove that the chosen model is mathematically correct or globally optimal.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for Lucasuiii/modeling-workbench and "Test two candidate models before choosing one"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer