Skip to content
naidx0Public

About

Skills and small frameworks for research that measures itself: arloop, fast-verification-kit, four-asserts and the Pivot Inspector. fastgate: 39.1 s to 1.65 s, 0 verdicts changed.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

research

Tools for research that measures itself. Every change is tested against a fixed baseline and kept only if it wins by more than the noise. Plain Python, no dependencies, MIT licensed.

Map of the repository: skills/research-loop feeds frameworks/arloop, skills/fast-verification feeds frameworks/fast-verification-kit, and tests/ checks every framework

skills/ holds instructions written for coding agents (Claude Code, Codex and others): copy a folder into your agent's skills directory and it knows the procedure. frameworks/ holds the code those skills run. tests/ checks that the two copies of arloop.py match and that every framework passes its own tests.

skills

research-loop

Run an experiment loop. Write down what counts as a win before the run, test against a sealed baseline, keep or revert by a fixed rule, and log every result, the losses included.

Ships its own copy of arloop.py.

SKILL.md
research-loop: hypothesis and win rule, smallest version, sealed rows and noise floor, keep or revert, log.md and handoff.md
fast-verification: is the new version better, fast gate and paired bootstrap, ACCEPT, REJECT or UNSURE

fast-verification

Make a slow test suite or eval give the same answer in seconds, then turn "is the new version better?" into ACCEPT, REJECT or UNSURE.

SKILL.md

frameworks

arloop

The keep-or-revert engine, in one file. It seals the test rows, records each hypothesis before it runs, compares the new score with the baseline and logs KEPT or DISCARDED.

python arloop.py selftest prints PASS.

Folder
arloop: seal, prereg and verdict commands feed a sealed-row hash and a 2 SE comparison, which writes KEPT or DISCARDED and the ledger
fast-verification-kit: source and environment hash to one key per test file; cached verdicts return in 0.02 s, the rest compile and run in parallel

fast-verification-kit

fastgate.py speeds up a unittest or pytest suite with a hash cache and parallel workers. fastcheck_template.py does the same for any other scorer.

On one suite, a full run went from 39.1 s to 1.65 s with 0 verdicts changed.

Folder

four-asserts

Four checks before a run's record counts: every case found actually ran, a shared resource has a live named holder, a record of what was read outlives the data, and a judge's reason holds up.

Of 25 agent and eval frameworks read, none checks all four.

Folder
four-asserts: cases, a shared GPU, data read and a judge's verdict each get one assert before the record counts
executed-pivots: the terminal at a pivot is forked, the agent's and the expert's steps both run, and X pays the step if their effects match

executed-pivots

The Pivot Inspector walkthrough. It scores an agent's terminal step by what the command did, not by what it typed.

On 546 labelled actions it pays 94 working steps where the keystroke reward pays 26.

Open the walkthrough · Full project

Quick start

python frameworks/arloop/arloop.py selftest
python -m unittest discover -s tests

ML Harness and Sequence are products with their own repos: ml-harness-app and sequence-arch-tool.

About

Skills and small frameworks for research that measures itself: arloop, fast-verification-kit, four-asserts and the Pivot Inspector. fastgate: 39.1 s to 1.65 s, 0 verdicts changed.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages