Solving the Jane Street reverse engineering challenge
anitil
408 points
92 comments
September 04, 2026
Related Discussions
Found 5 related stories in 57.0ms across 5,564 title embeddings via pgvector HNSW
- Reverse-engineering is cheap now edward · 37 pts · July 21, 2026 · 51% similar
- ProgramBench Vetted: Reverse Engineering from a Runnable Binary rigelbm · 13 pts · August 20, 2026 · 47% similar
- Show HN: Reverse-engineering web apps into agent tools pancomplex · 30 pts · July 09, 2026 · 45% similar
- Reverse Engineering My ADHD Test hazebooth · 18 pts · August 27, 2026 · 44% similar
- Harness Engineering handfuloflight · 55 pts · July 18, 2026 · 43% similar
Discussion Highlights (18 comments)
anitil
Hi HN, I recently solved the Jane Street reverse engineering challenge [0], and I wrote a blog post on how I reached the answer. It's a moderately technical and (hopefully) entertaining run through of the process. I hope you enjoy reading it as much as I enjoyed doing the challenge (though, as you'll read, it was also quite a frustrating process). My github is on the post if you were interested in seeing a bit more in detail what my solution looked like, though I intend to write some follow up posts that are a bit more in the weeds of the solution. And frankly, the code I used is pretty ugly but it got the job done. This is my first blog post, so if you have any feedback please let me know. All the writing, all the code was done by me, by hand, in vim. [0] https://blog.janestreet.com/can-you-reverse-engineer-an-asic...
piker
> Well I don’t really know what to work on next Let me help you: work on figuring out how to spend the millions of dollars every year Jane Street will pay you to clock in. I've heard private aviation is expensive, for example. :)
charcircuit
I wonder how far a LLM could get with this. It will be cool when we get to the point where you can decap a chip, take a picture, and then an LLM can create an emulator for that chip.
gyanchawdhary
curious what the actual use case for a challenge like this is from Jane Streets side .. guess the obvious one is trading even closer to the wire .. being able to reverse engineer .. inspect circuits to uncover flaws or optimisations that shave latency or improve determinism in the trading stack .. but I wonder if there are other less obvious applications ..
karelpeeters
Congrats on solving the challenge! I also briefly wrote about my approach here, with less pictures but going into slightly more detail about how to convert circuits to z3 equations: https://gist.github.com/KarelPeeters/dba417c2690cf0505ac9079...
anon-3988
I have used Codex (Sol 5.6 or whatever) to solve this problem. It turns the problem into Z3, then iteratively work through the problems until it figured out the solution. Personally, I did not learn that much from that experience. So I am glad that there's other people working on it as well. I am mostly interested in the techniques used to solve this.
dhzzwgzua
I also look at it and got the same result as well, but I did not submit it. I also figured out the purpose of the circuit: it is a 11x11 Star Battle checker (2 stars per row/column/region, no touching)
amelius
If there's a "two stars" solution, then maybe there is also a "three stars" solution?
xvilka
To help with such tasks for real chips (given the good quality images) there is Degate[1][2] open source software. [1] https://www.degate.org/ [2] https://github.com/DegateCommunity/Degate
BalistaCRATZ
Nice! I ended up using the KLayout Python API to parse the GDS and extract the netlist, which was actually quite nice to use. Also, yosys has support for doing “assertion checking”, which I used in my solution: https://sunaabh.com/systems/2026/08/18/jspuzzle.html
swiftcoder
I'm not sure I've ever seen such a vicious case of NIH-syndrome. Regardless, congrats on the solve!
mring33621
I love this person!
motoxpro
So cool to see someone who loves challenges. Congrats!
AlDante2
Hi Chris, just for info: https://en.wikipedia.org/wiki/GDSII will tell you about the GDS format. It apparently stands for Graphic Data System II (originally developed by Calma in the late 1970s).
ctippett
> I ended up using a tool called ‘z3’. It’s kind of magical? Every time it finds a solution I get a surge of joy. This resonates so much. I had a similar feeling after going to my very first operations research lecture. Solving seemingly incomprehensibly complex problems by framing them as a bunch of simple constraints and getting a solution seemed like such magic.
eru
Weren't you supposed to wait until the submissions close to publish spoilers? (Or did they close yesterday?)
aavshr
There's a typo on your link to the two stars image. It should be `/img/two-stars.png` instead it's right now `/img/two-starts.pgn`. For those interested in the image itself: https://jestoph.com/img/two-stars.png
skr3178
Solving the puzzle with the assistance of a lower capability LLM model (even though I had access to more) turned out to be fun and good learning experience.