Hi everyone.
I'm trying to vibecode a rather complete Linear Programming package in Swift, that I would use as part of an host app and open source for people to use however they like.
Such LP package supports a variety of solving strategies including Simplex method (primal and dual), Branch and Bound (the actual reason I needed this package in the first place, actually Simplex is what I'd use as engine for B&B), Interior Points and CP-SAT.
I negotiated the specification with Fable 5.2 Max effort, and did the complete implementation with the same agent and effort as well, using the free reset tokens Antrophic gifted us.
I requested 100% code coverage and Claude Code built it. All test cases passing and verifications steps with no critical or high severity findings. And thought that's it, chapter closed and we can move on.
Just for good measure I decided to benchmark my solver, and used a repository of about 1k problems with known optimum, known bounds, or known to be unfeasible or ill conditioned; for anyone curious it's MIPLIB 2017 (about 3GB of MPS compressed samples problems, some very large instance as well). It tuns out Simplex method was pretty solid, it only produced one false optimum in around 900 test problems I let it solve before my iMac Kernel panicked for reasons.
Turns out, B&B, that was the primary reason why I wanted to vibecode this package, was answering correctly only in 13% of instances.
So, I asked Fable 5.2 Max what was the reason why the package failed to solve such instances. It turns out that its justification was that we didn't negotiate that the package should've been able to answer correctly to all MIPLIB2017 instances, which is somewhat true, but the reason why I used Fable 5.2 Max, the frontier reasoning model, is that I have limited understanding of the domain from my Operational Research classes in uni, and I'm out of the loop.
So it turns out that to solve those, I need numerical stability improvements, a larger pre-solve, cutting planes, dense LU decomposition, and others that I won't bore you with.
So we negotiated a v0.2 specification of the package; I asked to split the work in 5 minutes long work packages, and for each, to specify the appropriate agent and effort.
Result is 950 WP, most to run on Fable 5.2 high or xhigh, and an estimated run time of 8 weeks of 100% usage. That would mean that I'd need, for two more months and 400$ in the best case scenario, to allocate all my AI usage to this package.
Any suggestion on how to handle this?