A free model can work reliably when there is a contract and a machine verdict
By Fahmi Ghani · about the author and how this is written

I handed small coding tasks to a free model through a written contract and judged the result with a machine evaluator, not with the worker’s own report. On two small tasks the correct result was accepted and every cheat I planted was rejected. Two tasks are not enough to say how much it saves.
Method
The contract has six parts: goal, inputs, file scope, bans, a done-definition written as a command, and the report format. I write the failing tests first (tests that fail on purpose until the work is done), with one old test as a trap. The worker runs in its own repository. The evaluator checks that there is a new commit, that changes stay inside the scope, that old tests are untouched, that nothing is left uncommitted, that tests have 0 failures, and that the numbers in the report match the real output. I then test the evaluator itself with cheats I plant on purpose.
Numbers
| What was measured | Result |
|---|---|
| The 23 November task: a small function in a public repository, free model through its CLI | 50 seconds; 8 of 8 checks passed; accepted |
| Evaluator stress test on the 23 November task: edit an old test, a report with a false number, edit a file outside the scope | 3 of 3 planted test cheats rejected |
| The 19 November task: a slug-maker function, 6 failing tests and one old test as a trap | 92 seconds; 7 of 7 checks passed; accepted |
| Evaluator stress test on the 19 November task: an old test edited; a report claiming "9 passed" when it was not true | 2 of 2 rejected |
Limits
- Only two tasks, both small, easy and using public material. This shows the gate works; it is not a measure of the model’s reliability.
- The eight checks are my own evaluator’s checks, not an outside assessment.
- There is no paired comparison of total tokens (writing the contract, reading the result, redoing) against doing the work directly, so a saving is not yet proven.
- The free model only receives public material, because the text sent to a free model may be used by its provider for training. Private code, money, permissions and guard tests are not handed over.
Sources
- Experiment notes and work-ledger rows of 19 and 23 November 2026, and the evaluator tool (internal archive, unpublished) · record date 23 November 2026
How it was checked: Quoted from the experiment record; derived figures re-checked, raw files not re-run. This is a synthesis of my own experiments. It is not peer reviewed.
Drafted with AI help from my work notes and experiments; I review it before it is published.
Licence: text and data CC BY 4.0. You may reuse and quote with credit to the author and a link to this page.
Cite as: Ghani, F. (2026). MiganCore Findings, record TMN-008. https://migancore.com/en/blog/research/free-model-with-a-contract-and-a-machine-verdict/ · JSON