Exp eval

From Lambenthan/empiricalwiki · View interactive version

Exp eval is an AI agent skill from the GitHub repository Lambenthan/empiricalwiki. Experiment verdict gate — Review LLM independently judges results → 4 verdict paths → auto-update claims confidence, ideas status, graph edges

How to use this skill

Skill file

/exp-eval

Convert completed experiment results into wiki knowledge updates.

Review LLM acts as an impartial judge (following cross-model-review), independently evaluating how experimental results affect the target claim.

Four verdict paths: supported → claim↑ + idea validated / partially_supported → supplementary experiments /

not_supported → claim↓ + idea failed / inconclusive → debug.

Auto-updates claims confidence and evidence, ideas status, and graph edges.

Inputs

Outputs

Wiki Interaction

Reads

Writes

Graph edges created

Workflow

Precondition:

  1. Confirm working directory is the wiki project root (directory containing wiki/, raw/, tools/)
  2. Confirm experiment status == completed (incomplete experiments cannot be evaluated)

Step 1: Load Context

  1. Read experiment page wiki/experiments/{slug}.md:
  1. Read target claim wiki/claims/{target-claim}.md:
  1. Read linked idea wiki/ideas/{linked-idea}.md (if it exists):
  1. Load other experiments on the same claim:
  1. Read global context:
  1. Read cross-model-review.md: confirm Review LLM independence principle

Step 2: Review LLM Verdict (Cross-Model Verdict)

Follow cross-model-review.md: do not send Claude's pre-judgment to Review LLM.

mcp__llm-review__chat:
  system: "You are an impartial scientific judge evaluating whether experimental
           results support or refute a research claim. Be rigorous and objective.
           Consider: statistical significance, effect size, experimental validity,
           potential confounds, and whether the results generalize beyond the
           specific setup tested."
  message: |
    ## Claim Under Test
    Title: {claim title}
    Statement: {claim statement from ## Statement section}
    Current status: {status}
    Current confidence: {confidence}
    Conditions: {conditions and scope}

    ## Experiment
    Title: {experiment title}
    Hypothesis: {hypothesis}
    Setup: {model, dataset, hardware, framework}
    Metrics: {metrics list}

    ## Results
    {full Results section from experiment page}

    ## Key Finding
    {key_result}

    ## Other Experiments on This Claim
    {summary of other experiments' outcomes on the same claim, if any}

    ## Your Task
    Provide your verdict:
    1. **Verdict**: One of: supported / partially_supported / not_supported / inconclusive
    2. **Confidence adjustment**: Suggest new confidence value (0.0-1.0) with reasoning
    3. **Evidence strength**: weak / moderate / strong
    4. **Key reasoning**: 2-3 sentences explaining your verdict
    5. **Concerns**: Any methodological concerns or limitations
    6. **Suggested next steps**: What would strengthen or clarify this result?

Record Review LLM's verdict.

Step 3: Claude Synthesis

  1. Form Claude's independent verdict (after reading Review LLM's verdict, Claude also analyzes independently):
  1. Synthesize both verdicts (follow cross-model-review.md composing rules):
  1. Determine final verdict: verdict + new_confidence + evidence_strength

Step 4: Update Wiki Based on Verdict

If --auto is not set: display verdict and planned changes first, wait for user confirmation.

Path A: SUPPORTED (experiment supports claim)
  1. Update claim:
  1. Update idea (if it exists and status is in_progress/tested):
  1. Add graph edge:

```bash

python3 tools/research_wiki.py add-edge wiki/ \

--from "experiments/{slug}" --to "claims/{target-claim}" \

--type supports --evidence "{key_result}"

```

  1. Suggest next steps: /paper-plan or continue ablation/robustness experiments
Path B: PARTIALLY_SUPPORTED (partial support)
  1. Update claim:
  1. Add graph edge:

```bash

python3 tools/research_wiki.py add-edge wiki/ \

--from "experiments/{slug}" --to "claims/{target-claim}" \

--type supports --evidence "Partially supported: {limitation}"

```

  1. Suggest supplementary experiments:
  1. Idea status unchanged: keep in_progress, wait for more evidence
Path C: NOT_SUPPORTED (experiment does not support claim)
  1. Update claim:
  1. Update idea (if it exists):
  1. Add graph edge:

```bash

python3 tools/research_wiki.py add-edge wiki/ \

--from "experiments/{slug}" --to "claims/{target-claim}" \

--type invalidates --evidence "{failure_reason}"

```

  1. Suggest next steps:
Path D: INCONCLUSIVE (results are uncertain)
  1. Do not modify claim status/confidence: insufficient evidence to make a judgment
  1. Update experiment page: outcome is already inconclusive (set by /exp-run)
  1. Suggest debugging:
  1. Idea status unchanged: keep current status
All Paths (common steps)
  1. Fill in ## Claim updates section of the experiment page:

```markdown

## Claim updates

```

  1. Update index.md (if claim status changed)
  1. Rebuild derived data:

```bash

python3 tools/research_wiki.py rebuild-context-brief wiki/

python3 tools/research_wiki.py rebuild-open-questions wiki/

```

  1. Append log:

```bash

python3 tools/research_wiki.py log wiki/ \

"exp-eval | {slug} → {target-claim} | verdict: {verdict} | confidence: {old}→{new}"

```

  1. Print VERDICT_REPORT to terminal:

```markdown

# Verdict Report: {experiment title}

## Verdict: {SUPPORTED / PARTIALLY_SUPPORTED / NOT_SUPPORTED / INCONCLUSIVE}

## Judge Assessment

| | Claude | Review LLM | Final |

|---|-------|------|-------|

| Verdict | {verdict} | {verdict} | {verdict} |

| Confidence | {value} | {value} | {value} |

| Evidence strength | {strength} | {strength} | {strength} |

## Key Reasoning

{2-3 sentences from Review LLM + Claude synthesis}

## Wiki Changes

| Entity | Field | Before | After |

|--------|-------|--------|-------|

| claims/{slug} | confidence | {old} | {new} |

| claims/{slug} | status | {old} | {new} |

| ideas/{slug} | status | {old} | {new} |

## Graph Edges Added

## Concerns

{methodological concerns from Review LLM}

## Next Steps

## Wiki Growth

| Metric | Before | After | Delta |

|--------|--------|-------|-------|

| Claims updated | — | — | {N} |

| Edges | {before} | {after} | +{delta} |

| Maturity | {level} | {level} | {unchanged/upgraded} |

(Data from comparing python3 tools/research_wiki.py maturity wiki/ --json calls at the start of Step 1 and end of Step 4.)

```

Constraints

Error Handling

Dependencies

Tools(via Bash)

MCP Servers

Claude Code Native

Shared References

Called by

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.