# Areno Validate Correctness

> Compare an AReno branch, model, checkpoint, algorithm, scheduler, or kernel against a baseline. Use for regression validation, logprob or metric comparison, checkpoint round trips, and correctness gates. Keep performance reporting separate.

- Skill: `inclusionai/areno-validate-correctness` (Agent Skill, multi-file: 5 files)
- Install (CLI): `npx skillmds@latest add inclusionai/areno-validate-correctness`
- Raw SKILL.md: https://api.skillmd.com/api/skills/inclusionai/areno-validate-correctness/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: inclusionai (https://skillmd.com/u/inclusionai)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/inclusionai/areno-validate-correctness

---


# Validate AReno Correctness

Create an isolated baseline worktree. Keep checkpoint, input, seed, algorithm, topology, dtype, and bounded step count identical.

## Primitives

```bash
python .agents/skills/areno-validate-correctness/scripts/compare_metrics.py BASE_DIR CANDIDATE_DIR --metric train/loss
python .agents/skills/areno-validate-correctness/scripts/compare_arrays.py base.json candidate.json --atol 1e-5 --rtol 1e-4
python .agents/skills/areno-model-adaptation/scripts/inspect_checkpoint.py /path/to/checkpoint
```

Read [references/validation-matrix.md](references/validation-matrix.md). Select invariants based on ownership; final loss alone is insufficient for model, algorithm, scheduler, or kernel changes.

## Workflow

1. State baseline commit and candidate commit.
2. Capture environment and workload metadata.
3. Run baseline and candidate independently. Do not switch the user's dirty worktree.
4. Compare the earliest meaningful boundary, then downstream outputs.
5. Explain numerical scale before choosing tolerance. Never loosen it merely to pass.
6. Report correctness separately from throughput, step time, and memory.

Completion requires reproducible commands, artifacts, comparison output, and a nonzero exit on failed invariants.

