The Code Was Public Years Ago. The Struggle Never Was. And That Struggle Is My Startup.
I keep hearing the same line about MegaBit trajectories. On LinkedIn, in emails, and yes, even DeepSeek running on OpenCode told me:
"bro it's not contamination free, the code was already public, anyone can see it."
Okay. Let's sit down and clear this, because almost everyone saying it is mixing two different things. Once you see the mix-up, the objection falls apart.
First, what contamination actually means
Simple version: You have a test. You want to know if the model can really solve it. But the answer to that test already slipped into its training data. So it "solves" it by remembering, not by thinking. The score looks amazing, but means nothing. That is contamination.
Now look at what people point at when they say it about me: my training data. Not a test. Training food.
And "the code was public" is not contamination in the first place. It just means the source is public. Which is true of basically every book, every repo, every page any model has ever trained on. Public source is normal. Contamination is when a benchmark's answers leak into training. Two different things.
What is public is only the finished code
MegaBit is not just code. It is five things:
- Tool calls: Calling tools to get a task done.
- Planning: Figuring out the steps before doing them.
- Agentic execution: Working a long task for hours, making careful decisions.
- Recovery from failures: Fixing things after a wrong tool call, a destructive step, a crash.
- Coding: The actual code.
The pillars for a reliable agent are 1, 3 and 4. Tool calls, execution, recovery. And that is true in any domain: healthcare, finance, coding. Every agent fails, calls tools, and plans. So this helps agents in a very broad field, not just code.
Now here is the part people miss: What is public on GitHub is only number 5. The finished code.
What the developer planned. How many times he failed and where. How he fixed it. How many commands went wrong. None of that was ever pushed. You cannot git log a struggle.
What final code teaches, and what it never teaches
From finished code alone, a model learns:
- syntax, how to write the language
- library names, how to call a function
- common patterns, how to structure a file
- style, what a clean file looks like
It does not learn:
- which tool to call, and when
- how long to wait, when to check the output
- how to plan 20 steps
- what to do when a tool call fails
- how to pick between five ways to run the same command
- how to backtrack after a destructive step
See the gap? The second list is the job. The first list is the alphabet, basic ones.
The stuff that lives in a dev's head, not in the repo
There are many ways to kill a process on Linux. Only some actually kill it in one go. Others sit there stuck for minutes. Same for running something in the background. Many tools, many ways. But the thing that actually survives is nohup + setsid. Otherwise your process dies when the bash session times out.
No dev is born knowing that. You learn it by getting burned once. And that burn is not in the code. GitHub ships the code, not the burn.
You only avoid a mistake you know exists
Think about it. If you don't know a mistake can happen, you will do it. First try, you say "bro I didn't know how this works" or "it's my first time, no experience."
But once you know the mistake can happen in that exact situation, you're aware. You steer around it. Where does that experience live in you? Your brain.
But... An AI has no brain? Right? Well, For an AI, The substitute is weights.
So for an AI to be aware of a failure, it has to have seen that failure, in its weights. That is exactly why MegaBit keeps failures, wrong code edits or tool calls, in order, with the fix right after. Not hidden. Kept.
But wait, it just predicts the next token. Won't it predict the bad stuff from its weights?
Fair question. The model can't label things good or bad. It just predicts from what's in its weights. If a bad thing is in there, won't it just do it?
Two answers.
First one: AI learns patterns, not single mistakes. And it learns them at scale. It is not trained on a hundred reddit threads. It is trained on billions and trillions of data from the whole internet. So the same mistake shows up everywhere: one place shows the mistake, another shows why it happens, another shows what it breaks, another shows the fix. The model connects those into one pattern: mistake, reason, consequence, fix. That is how it learns to steer around mistakes. By pattern, not by memorizing one story.
Second and the MAIN ONE: what a model CAN do and what it WILL do get shaped at different stages. The superficial alignment line of work, LIMA is the canonical one, says roughly:
knowledge and capabilities come almost entirely from pretraining, while alignment teaches which format and style to use. And the safety alignment line says the final safety tune is what steers an otherwise unsafe model toward safe behavior.
Easy version for you if you're like me:
pretraining fills what it knows and can do. The final alignment and safety tune shapes what it actually will do. So seeing a failure in pretraining teaches it the failure exists and what follows it. It does not command it to go perform the failure.
Another interesting thing to come
In my next article, I break down this exact "pretraining VS fine tuning" thing, in easy words - as I always do. Because that "CAN vs WILL" split is the whole game and most people have it backwards. Follow so you don't miss it, one follow means alot to me.
And tell me in the comments: What is one mistake every AI makes, no matter how big it is or which lab built it? BTW, I read and reply to every comment.