CRLF line endings fooled my evaluator, so I fixed the evaluator
By Fahmi Ghani · about the author and how this is written

A paid executor rewrote the line endings of whole files from LF to CRLF. The old evaluator still accepted the result, although the raw diff was 788 lines for a real change of 126 lines. I turned that finding into a new check, and the same case is now rejected until the line endings are normalised.
Method
I ran the evaluator on a contract done by a paid Gemini model (a per-model ledger for the Majelix router). I compared the raw diff line count with the number of lines whose content really changed. Then I added a check for mass line-ending changes and ran it on the bad case (must be rejected) and on the good case from the earlier test (must still be accepted).
Numbers
| What was measured | Result |
|---|---|
| Raw diff lines vs lines whose content changed | 788 vs 126 |
| The old evaluator on that case; the evaluator with the line-ending check | accepted; rejected |
| After the line endings were normalised and recommitted | diff 126 of 126 lines; 68 tests passed, 0 failed; accepted |
| Acceptance meter for the Gemini CLI executor (4 small tasks, recorded duration 980 seconds) | 2 of 4 accepted (50%) |
Limits
- One case for the line endings and four tasks for the meter. The 50% acceptance rate is only a picture; it does not compare models, because the tasks are not equal.
- I did not confirm whether the duration column of the meter is a total or covers only accepted tasks. In my notes a small task with the Gemini CLI took about 8 minutes, so its time limit needs 900 seconds or more, or the task should be split.
- The line-ending check rejects mass changes, so the contract must still ask the executor to keep the original line endings.
Sources
- Experiment notes, work-ledger rows of 23 November 2026 and the output of the Majelix router meter (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-009. https://migancore.com/en/blog/research/crlf-line-endings-fooled-the-executor-evaluator/ · JSON