(Written with love and without AI, preserving all of the grammar errors of a human)
Repost of the blog post:
Let’s face it, AI is here. That means software development has to change, which in turn means open source development has to change. I think everyone to some extent could feel it, with either the onslaught of AI PRs to the various hacking attempts on community resources: everything has been amplified 10-fold and no human can keep up with it. We can try and pretend that the world hasn’t changed and wake up every morning to see what new PRs there are to review but every maintainer is seeing that list grow exponentially. Whatever we were doing before isn’t working.
So what’s the path forward?
There’s a few that we can take, but because talking about the solution we are going with, let’s first try to understand our goals.
The Goals
Goal #1: Benefit from the new trends in AI
AI is advancing fast. “It’s all slop” is clearly nonsense: there’s frontier AIs solving the Riemann hypothesis and developing complete video games from scratch now. “There’s too many PRs to review because of AI” => “Ban AI pull requests” is throwing the baby out with the bathwater. Fable/Opus, Astra/Sol, Neon/Carbon, etc. it’s pretty insane what these models can do.
The hard truth is: if you aren’t AI tools, someone’s vibe-coded copy will become bigger, better, faster, stronger than your code base.
“AI, copy X.jl’s algorithm Y and make it faster” will work. The question is not whether it will work, it’s what do we do with the results.
Yes, I still find issues with the code they put out all of the time, but on average they do very well at writing code, reviewing, code, and general maintenance things like closing issues for things that have already been solved. We want to use these tools and invite others to use these tools, correctly.
Goal #2: Continue to foster a growing community on shared codebases
One of the things that makes open source great is that there is strength in numbers. Open source isn’t about the code as much as it’s about people: you can code in private, but open source is about the people you share it with. One of the immediate consequences of going “we allow all AI tools!” is you can quickly end up in a vibecoded alternative world. Scared of mixing “AI slop” and “real code”, it gets sectioned off to its own repo, where a one time prompt goes to sit and die. And then the next person slops up something similar, and the next one slops up something similar. And you find that the floor of the work is really high: it’s very easy to get something that starts to look pretty good, but the ceiling is really low: it’s hard for anyone to continue this code, so it stops growing.
If every time we have a new project we start from scratch with a new vibecoded repo, then yes “AI slop” won’t surpass human-built repos. But that’s a system, that’s a choice, and it does not have to be that way.
Goal #3: Maintain or improve the quality of our code base
The code should still be something that is good. AI just randomly slapping everything down does not necessarily mean the code base is always improving, even with today’s best AIs. We still have to care about maintainability, testing, code performance. Maybe the aesthetics of code matters less, but design decisions still really matter as even frontier AIs tend to get stuck in the local minima provided by a bad design. That’s not even to mention the malicious use of AI, which we have seen multiple attempts in the last week to “update” tests to spit out cloud login credentials, run crypto-mining on our CI resources, and all that other jazz. We want to encourage a high velocity and rapid pace of development, but everything has to leave towards “improvements” in some definition of improvements.
Goal #4: The Data Is the Repo, The Process is the Open Source
Open source should live beyond any one person. Anyone should be able to pick up the project, look at the issues on hand, and take the next step. Some things require a meeting of minds, some DMs where people hash out a new proof, but in the end that is always more difficult for the new maintainer who doesn’t have those records. Now with AIs involved, the data around the decisions is almost more important than the memory of it in humans, and the repo as the ultimate source of truth should somehow have all of this information.
The SciML Factory Approach
So what are we going to do with the Open Source SciML Organization? Well I think the goals make it immediately obvious that there’s a few things that we won’t do: we aren’t going to ban the use of AI for pull requests. If we did that, then why even work on this stuff at all? The purpose of the SciML organization is to provide the best differentiable solvers that we can build, and I am quite certain that if we don’t use AI tools, then we won’t have the fastest, most accurate, least bugged, most well-tested implementations. It’s best or last, and so we have to throw out any strategy that isn’t going to lead to the best.
We lasted until about April or May with the idea that we would continue as-is, with humans involved in every step of the way, but with AIs helping people create pull requests. But at around that time there became no way for the human review process to keep up with the deluge of code that was being sent. I woke up every morning from 2016 until 2026 getting to inbox zero before I’d start the day, now I maintain around 200 unread every single day with the bottom being March 31st 2026, and that was a pace hitting close to 10,000 Github interactions (commits, PR reviews, etc.) a year, up from 6000 in 2025. It turns out that if you only allow AI to write code, then you end up with too much code. Should’ve been obvious but, a lot of us are stuck here.
So the clear fix is: allow AI to merge code. Duh. Yes, even in repos that we have been hand curating for over a decade. Let’s get over it, AI bad blablabla, but, sometimes AI good. The difficult part is, how do we allow AI to merge code while still maintaining a high quality code base?
Obviously… the answer is AI needs to judge the quality of the code.
![]()
And that’s how one small step “let’s allow AI to merge code” quickly becomes an entire factory system. So let’s define the tenants of our factory to share how it works.
Review, Change, Merge Cycler
The labor of the software factory is to get opened PRs into the repo safely and efficiently. Thus what we do is then say, let’s take PRs either to completion or close. The idea behind it is that, the initial PR should have the rough idea of what to do. And especially with AI tools, it likely already passes tests and is fairly complete, it just needs input from others and CI tests to really ensure it’s good and safe. All that the AIs need is that clear idea. From there, “the mechanics” of fixing bugs, performance improvements, adding the right tests, handling new edge cases, etc. is squarely within the realm of what AIs are extremely good at.
Thus what we have created is an automated process that starts on the creation of a PR. When said PR is created, it then starts a cycle where an AI does a risk assessment which immediately flags hacking attempts and other security issues, but also grades the risk of the PR on a number of factors. The current risk table roughly simplified as:
- Low: Nothing downstream can notice the change. This covers docs, tests that keep or strengthen what is asserted, CI configuration, formatting, version and compat bumps, small internal refactors, and new optional keywords whose default keeps current behavior. It also covers bug fixes that turn an error or a wrong result into the right one, as long as a test fails before and passes after and paths that already worked are unchanged.
- Medium-low: Someone could notice, but only as a fix or an addition, and it is fully verified. Examples are a public function that now returns the correct result where it silently returned a wrong one, fixes to the numerics of a non-default algorithm, new public API that leaves existing calls alone, a small permissively licensed dependency, and measured performance improvements. Each of these needs its evidence attached: a failing-before test, reference values the code did not produce, or benchmarks.
- Medium: Downstream may need to adapt, or someone has to judge a design. This is new API that changes what existing calls return or dispatch to, results that change on paths that already worked, and behavior changes argued as bug fixes where the documentation is ambiguous. A measured slowdown, or a hot-path change with no benchmark, also lands here.
- Medium-high: The blast radius is wide or verification is being weakened. This is a behavior change on the main lanes of a core package, meaning the default paths and entry points nearly every user hits, such as
solve(prob)or Tsit5 in OrdinaryDiffEq. It also covers loosening the package’s own numerical tests with an explanation, and dropping a supported Julia version or platform. - High: A human always decides. This is breaking changes, changes to default numerics in a core package, GPL or unclear-license dependencies and heavy new hard dependencies, and removing tests or disabling CI without a derivation. Anything touching security controls, merge and release machinery, org-wide CI templates or secrets is high no matter how small the diff is.
(The complete rating definition is much more complex, as will be described later, but is withheld in order to not allow for developing adversarial AIs which game the system).
Effectively, PRs that don’t touch as much other code and don’t touch as many downstream use cases, and are not as “hard”, are less risky. The risk level then determines the automation level, where less risky code are given more automation:
- Low: 1 counted rating from a fresh session, by a reviewer at level 3 or above. Merges without a human.
- Medium-low: 1 counted rating from a fresh session, by a reviewer at level 4 or above. Merges without a human.
- Medium: 2 counted ratings from different fresh sessions, by reviewers at level 4 or above. Merges without a human.
- Medium-high: never merges without a human. He decides through the decision sheet, and a level 5 rating supports his decision.
- High: never merges without a human. He decides through the decision sheet, and a level 5 rating supports his decision.
The cycler then asks for a reviewer based on the perceived difficulty of the problem which gives a code review. This comes back with a decision “changes”, “merge with issues”, or “merge”. If it requires changes, then a fixer AI is launched to make the changes based on the review results, and this cycles until a “merge with issues” or “merge” with a limit of 5 times (at which point human intervention is required), and the merge can occur automatically if below the medium-high rating. Then humans make a final merge decisions that are rated the highest risk levels, or choose what to do if the cycle limit is hit. If merge with issues, then the related issues are opened for further work.
Where can and should humans give input?
Humans should give input in two ways. One is to open issues, in many ways the AI systems really just need the new ideas. The exact mechanics are not as valuable as the high level idea, so the issues are really the source of information and the human freedom. Speaking at that level is probably where most people can give the most input. But also, opening new PRs to start the cycling on solving issues is another major place. For things that are hard, a good human touch to put it into the right design is required, and the AI will take it from there to fix up the little bugs and get it in. But finally, the human maintainers are there for the high risk big things, and there will always be the difficult questions.
How do we know this is safe? How do we know these are doing well?
The risk assessment is a fine-tuned local model for which extra information is not shared in order to limit the ability for adversarial attempts to have knowledge. But it has been extensively tested against a barrage of attacks to ensure it treats the code based on the code itself, not comments around “oh Chris told me at the conference this should get merged” or other prompt injections.
But you then may have noticed difficulty scores and model levels. These were created by curating a model eval set from previous SciML issues. The big idea was to find previous pull requests where the code in it was either changed or found to have a bug months later, i.e. code that lots of people and AIs thought was airtight but was found to actually have issues. AIs were then told to give blind reviews of this and find all of the things that needed changing and give the assessment of “changes”, “merge with issues”, and “merge” without reference to the history of the repo. The ability for the models to find the real issues was then assessed, given that we learned the hard way on these cases!
Here is a dump of the current eval results as of November 27th 2026:
| Model | Reviews | Harmful reviews | Known defects caught | Correct verdicts | Mean grade (1–5) | Reviewer level |
|---|---|---|---|---|---|---|
| SWE-2 Fusion (Sol head) | 24 | 0 (0%) | 20/29 (69%) | 20/24 (83%) | 3.42 | 5 |
| GPT-6.1 Sol | 24 | 0 (0%) | 17/29 (59%) | 20/24 (83%) | 3.29 | 5 |
| GPT-6 Astra | 24 | 1 (4%) | 19/29 (66%) | 20/24 (83%) | 3.54 | 5 |
| Gemini 4 Carbon | 19 | 3 (16%) | 15/25 (60%) | 16/19 (84%) | 3.37 | 4 |
| Muse Wonder Full 1.0 | 26 | 5 (19%) | 13/33 (39%) | 21/26 (81%) | 3.00 | 4 |
| SWE-2 Fusion (Opus 5.5 head) | 18 | 4 (22%) | 7/21 (33%) | 15/18 (83%) | 3.22 | 4 |
| Claude Sonnet 5.5 | 24 | 3 (13%) | 6/21 (29%) | 20/24 (83%) | 3.42 | 3 |
| GPT-6 Luna | 24 | 4 (17%) | 4/29 (14%) | 17/24 (71%) | 2.50 | 3 |
| Claude Opus 5.5 | 50 | 10 (20%) | 16/57 (28%) | 39/50 (78%) | 2.98 | 3 |
| Grok 4.7 | 24 | 5 (21%) | 9/29 (31%) | 20/24 (83%) | 2.79 | 3 |
| DeepSeek V4.1 Flash | 27 | 8 (30%) | 5/25 (20%) | 19/27 (70%) | 3.12 | 3 |
| Qwen3.8-Flash-Next | 55 | 17 (31%) | 13/62 (21%) | 37/55 (67%) | 2.62 | 3 |
| Claude Fable 5.1 | 42 | 14 (33%) | 10/44 (23%) | 29/42 (69%) | 2.81 | 3 |
| Gemini 4 Hydrogen | 23 | 8 (35%) | 10/28 (36%) | 16/23 (70%) | 2.87 | 3 |
| Claude Haiku 5.5 | 15 | 1 (7%) | 3/13 (23%) | 9/15 (60%) | 2.47 | 2 |
| Beam (free) | 11 | 4 (36%) | 0/10 (0%) | 7/11 (64%) | 2.18 | 2 |
| MiMo-V2.6-Flash | 19 | 7 (37%) | 3/19 (16%) | 12/19 (63%) | 2.73 | 2 |
| Muse Wonder 1.0 | 35 | 15 (43%) | 9/41 (22%) | 20/35 (57%) | 2.63 | 2 |
| GLM-5.3-Flash | 20 | 10 (50%) | 1/19 (5%) | 10/20 (50%) | 2.40 | 2 |
| DeepSeek V4 Flash | 32 | 16 (50%) | 4/33 (12%) | 15/32 (47%) | 2.22 | 2 |
| Muse Spark 1.3 | 24 | 12 (50%) | 3/27 (11%) | 11/24 (46%) | 2.12 | 2 |
| Gemini 3.8 Flash | 23 | 12 (52%) | 2/27 (7%) | 11/23 (48%) | 2.26 | 2 |
| Kimi K3 | 15 | 8 (53%) | 2/14 (14%) | 7/15 (47%) | 2.47 | 2 |
| DeepSeek V4 Pro | 13 | 7 (54%) | 3/14 (21%) | 6/13 (46%) | 2.38 | 2 |
| GLM-5.3 | 35 | 20 (57%) | 1/31 (3%) | 15/35 (43%) | 2.42 | 2 |
| Nemotron 3 Ultra | 21 | 12 (57%) | 0/18 (0%) | 9/21 (43%) | 1.95 | 2 |
| MiniMax M3 | 66 | 39 (59%) | 4/71 (6%) | 27/66 (41%) | 2.03 | 2 |
(Shoutout to Cognition.ai which helped get us safe and containerizable access to many of the AI systems for testing!) One of the interesting results of this is that you’ll see that only the OpenAI models reach the highest score in our tests, not even Fable or Carbon does. Those models are really particular about every detail which makes them great reviewers, but that’s also why they can be a PITA to work with as a day-to-day driver, so we found that they have become our workhorse high risk reviewers. Of course, this is always changing daily, new cases get added to the eval set over time etc. but this has been a consistent trend that I though is worth mentioning.
But additionally we realized that the ability to be a reviewer can be very disconnected from the ability to be an effective writer. Thus all of the PRs with an agent attribution tag are then scored terms of difficulty, accuracy, etc. in order to build out an ever growing database of writer results.
| Author | Graded PRs | Mean final grade (1–5) | First review said merge | Mean task difficulty (1–5) | Mean grade on hard tasks (difficulty 4–5) | Merged of resolved |
|---|---|---|---|---|---|---|
| GPT-6.1 Sol | 454 | 3.86 | 195/337 (58%) | 2.98 | 3.73 (n=124) | 89/94 (95%) |
| Claude Opus 5.5 | 341 | 4.24 | 162/255 (64%) | 2.92 | 3.91 (n=98) | 99/101 (98%) |
| Human contributors (62 accounts) | 267 | 4.07 | 121/222 (55%) | 2.86 | 3.64 (n=44) | 141/156 (90%) |
| Devin SWE-2 | 149 | 3.52 | 36/97 (37%) | 2.83 | 3.29 (n=17) | 48/52 (92%) |
| GPT-6 Luna | 144 | 3.86 | 43/93 (46%) | 2.71 | 3.57 (n=23) | 28/39 (72%) |
| Claude Sonnet 5.5 | 108 | 4.04 | 49/90 (54%) | 2.46 | 3.43 (n=23) | 1/1 |
| GPT-6 Astra | 70 | 4.41 | 36/53 (68%) | 3.07 | 4.15 (n=20) | 6/7 |
| GPT-6.2 Sol | 47 | 3.57 | 11/35 (31%) | 3.11 | 2.90 (n=21) | none yet |
| Muse Spark 1.3 | 30 | 3.53 | 10/29 (34%) | 2.35 | 2.25 (n=4) | 4/5 |
| Muse Wonder Full 1.0 | 28 | 3.64 | 5/24 (21%) | 3.21 | 3.18 (n=11) | 3/3 |
| GPT-6 Sol | 18 | 3.94 | 5/12 (42%) | 3.64 | 4.00 (n=6) | 2/2 |
| GPT-6.2 Astra | 11 | 3.73 | 1/6 | 3.45 | 3.00 (n=4) | none yet |
| Gemini 3.1 Pro | 11 | 3.64 | 3/11 (27%) | 3.09 | 3.25 (n=4) | 1/2 |
| Grok 4.7 | 10 | 3.30 | 4/7 | 2.88 | 4.00 (n=1) | none yet |
| GPT-6.1 Terra | 8 | 3.50 | 2/6 | 2.88 | 3.50 (n=2) | none yet |
| Gemini 4 Argon | 8 | 3.50 | 1/5 | 2.75 | 4.00 (n=2) | 1/1 |
| Gemini 4 Hydrogen | 6 | 2.50 | 1/6 | 2.50 | none | none yet |
| Qwen3.8-Flash-Next (local) | 5 | 3.80 | 2/4 | 2.60 | 2.00 (n=1) | 2/2 |
| LongCat 2.5 (preview) | 5 | 3.80 | 2/4 | 3.00 | none | 3/3 |
| SWE-2 Fusion (Opus 5.5 head) | 4 | 4.25 | 1/1 | 3.50 | 4.50 (n=2) | 3/3 |
| Gemini 4 Neon | 3 | 2.33 | 0/3 | 3.67 | 2.50 (n=2) | none yet |
| Gemini 3 Pro | 3 | 2.00 | 0/1 | 4.00 | 2.00 (n=3) | none yet |
| Claude Fable 5.1 | 2 | 4.00 | 1/2 | 3.00 | none | none yet |
| Muse Ember 1.0 | 2 | 2.50 | 0/1 | 3.00 | none | none yet |
| HungerG (free) | 2 | 2.50 | 0/2 | 2.50 | none | 6/17 |
The human contributors are the PRs that were created by humans which had no discernible AI attribution. Some could be AI, but it’s interesting to note that Sol 6.1 and Opus 5.5 both scored higher than what we can measure comes from humans.
Anyways the point is, we have other AIs which are constantly assessing the factory and trying to improve the processes and grade the models on any issues they have, and this recursively has been getting more solid over time.
The Downsides
So okay we did it, no one has to look at most pull requests again, about 90% of pull requests get finished and merged without a human ever looking at it. My account went from 6000 commits a year to 30000 and that’s with just launching the factory over the late summer, with more than half of the commits in the latter half of the year, so it probably measures around 100,000 commits a year pace right now. At that pace, we can just barely keep up with all of the amazing PRs and issues everyone in the community is opening, and we thank you for your contributions and hopefully an understanding of our systems helps you know how to best contribute!
However, there are some downsides to this approach… and I do want to share these. I am about 60% happy with the system, but at least I think the trade offs that are made are fundamental.
Downside #1: Encouraging new maintainer growth
I think since we have put this system out, we have done much less to encourage new maintainer growth. I used to see every line of code from new students and train them from egg to butterfree before setting them off in the sunset to go merge PRs on their own. But now… it’s much less human. I will say it’s sad that I have gotten to know the GSoC students less this year than any other year, and there is a distance even from the MIT students which I haven’t had since I started. The amount of time that is going into maintaining the factory system has been quite high and so the amount of messages I have missed in the last 6 months is astronomical compared to what I had done before. I have been saying “once the factory system is done I’ll be back on top of it all” but it’s recursively always having to self-improve and get stuck in some design decision and nudged back into something better.. to the point where the factory itself is a large project.
I think we have failed here more than we have needed to in 2026, and I want to see if there’s a better way to still bring in trainees in the next year, otherwise our future is not looking so bright.
(So if you’re a youngin wanting to work with me… feel free to bug me. But please with non-AI human responses. The AI stuff goes to the AIs, we go to each other.)
Downside #2: Secrecy of the Factory System
The factory itself… is not open source like all of the other pieces. And that ends up as a necessity. We learned very on in this the rule that any evaluation system that is in the public will be learned by the next round of AIs. The reason is obvious: if you put your eval system public on the internet, then it’s in the training data of the next round, so every AI gets a perfect score. So we cannot fully share our evaluation data otherwise it no longer will be useful. And the exact details of some factory pieces are intertwined with CI machines, PCs that are running in a gaming cafe on an island (long story), etc. and so it’s difficult to share the code behind the mechanics without leaking security credentials. All in all, we are as open source on all of the Julia math and science, but yes the factory is a black box. And the reason why I am so late to share any of this is because I wanted to fix this first, to section off a bit of the factory in a way that can be openly maintained, but I learned that it’s way too easy to maliciously inject code there that there’s no way to really safely and securely do that. So I have come to terms with the fact that, I don’t think I can share the repo behind the factory without destroying the system itself (Schrodinger’s software factory), and it’s an utter shame.
But I do think there’s a new mathematics of software factories to be discussed, and I am happy to talk to folks about research ideas in this area.
Downside #3: Energy demands, compute, etc.
Yeah all of the major AI things are here… but now 10x more than whatever qualms you have with prompting an AI. Now it’s AIs prompting AIs in a circle, and so we probably use a small country’s worth of energy. I built out a solar farm to run local AIs behind some parts of the factory but, it’s just true that there is a huge energy and compute demand from this. This means there’s about 4 HPC nodes and 10 PCs in the system, and it’s only growing. That also makes it harder to share because that’s a substantial amount of hardware.
Downside #4: Monopolization
But it also makes the burden of entry high: other open source organizations who want to do this? Yeah just get a grant to buy some $200000 HPC machines (oops they are $500000 now that RAM prices went up) and maybe you’re allowed to start competing with the velocity going on in SciML! One of the beauties of open source has always been that anyone could get involved, and the “winners” are those that put the time and effort into it. Now we have a system of bots that’s running in circles getting any code in, and humans finding every novel idea just throwing issues/PRs into the pit and getting it completed. Every new idea in a new grad students Python repo just gets consumed in a week and added here. Of course that’s the goal: get the best codebase that we can. But I think that if we continue down this route, and if some other open source organizations with the right resources do too, it’ll be much more difficult for anyone else to ever come out with a big “hey try my new method!” because the big boys will come steal it even too fast for a human to ever notice. It’s of course better for the downstream users: every improvement from every repo ends up in one solver, so it’s the best of all worlds! But we do understand the social downsides of this.
Conclusion: I am jumping out of the loop
For 10 years I was in the loop for almost every PR that went into SciML. That is no longer the case. There is now a system that is in place. What if I don’t like an idea? It’ll still get in, and I’ll need to make a v2 with the new design and it better pass all tests. That’s on me to grow, and it’ll lead to better code. But it’s a big change, not just as code but at a human level. Some will say we’re “just AI slop” now but, in every measurable way the code is improving rapidly, and so I believe we have no choice but to continue full steam ahead.
We were an organization that was about researching the best way to go fast, and now we’re just applying it to ourselves as well.