OpenParable
Skip to content
← Back to skills

Result Validation Loop

Testing & Quality
result-validation-loop

Result Validation Loop is an Agent Skill for testing & quality published in the yogsoth-ai/de-anthropocentric-research-engine repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Validate results through statistical testing, ROPE judgment, reproducibility re-runs, and final synthesis

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/yogsoth-ai/de-anthropocentric-research-engine/blob/HEAD/skills/result-validation-loop/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/result-validation-loop, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Tactic: Result Validation Loop

Orchestration Pattern

FUNCTION result_validation_loop(raw_results, experiment_design):
    // Phase 1: Collect and structure
    structured = SPAWN result-collection(raw_results)
    VALIDATE structured.complete
    
    // Phase 2: Statistical testing
    stats = SPAWN statistical-testing(structured, experiment_design.hypotheses)
    
    // Phase 3: ROPE Judgment
    rope = experiment_design.rope  // pre-registered ROPE bounds
    
    IF stats.posterior_in_rope > 0.95:
        judgment = "ACCEPT_NULL"  // practically equivalent
    ELIF stats.posterior_above_rope > 0.95:
        judgment = "REJECT_NULL"  // meaningful effect detected
    ELSE:
        judgment = "UNDECIDED"  // need more data
    END
    
    // Phase 4: Reproducibility verification
    IF judgment != "UNDECIDED":
        repro = SPAWN reproducibility-verification(
            experiment_design,
            n_reruns = 3,
            seeds = [42, 123, 7]
        )
        
        IF repro.icc < 0.5:
            judgment = "NOT_REPRODUCIBLE"
        ELIF repro.icc < 0.75:
            judgment = judgment + "_PARTIAL_REPRO"
        ELSE:
            judgment = judgment + "_REPRODUCIBLE"
        END
    ELSE:
        // Undecided — still run reproducibility to check if issue is noise
        repro = SPAWN reproducibility-verification(
            experiment_design,
            n_reruns = 5,  // more runs for undecided cases
            seeds = [42, 123, 7, 256, 999]
        )
        
        IF repro.variance_explained_by_seed > 0.5:
            judgment = "HIGH_VARIANCE_ACROSS_SEEDS"
        END
    END
    
    // Phase 5: Synthesis
    report = SPAWN execution-synthesis({
        structured_results: structured,
        statistical_tests: stats,
        judgment: judgment,
        reproducibility: repro,
        experiment_design: experiment_design
    })
    
    RETURN report
END

Decision Criteria

ConditionAction
Results incomplete (missing tasks)Report gaps, analyze available data
P(in ROPE) > 95%Accept null (no practical difference)
P(above ROPE) > 95%Reject null (meaningful effect)
Neither threshold metUndecided — recommend more data
ICC > 0.75Results reproducible
ICC 0.5-0.75Partially reproducible — flag
ICC < 0.5Not reproducible — investigate sources of variance
High seed-dependent varianceReport instability, recommend investigation

Quality Gates

Before producing final synthesis:

  • All statistical tests report effect sizes (not just p-values)
  • Confidence intervals are provided for all estimates
  • ROPE was defined before analysis (not post-hoc)
  • At least 3 reproducibility re-runs completed
  • Limitations are explicitly stated
  • Next steps are actionable

Available SOPs

Optional, no fixed order; the final leaf is always a sop.

SOPWhen to use
execution-synthesisSynthesize complete execution report from all results, tests, and reproducibility data
reproducibility-verificationVerify result reproducibility via re-runs with different seeds and ICC comparison
result-collectionCollect experiment outputs — metrics, logs, artifacts — into structured result set
statistical-testingExecute statistical tests — bootstrap, permutation, Bayesian ROPE — on experiment results