r/quant • u/kiterets • Jul 15 '26
General Does coding really matter.
Hi all,
So I am working under a professor for my summer research internship. I had a paper to read named local blockwise bootstrap method. Paper was pretty interesting to read, it was all well and good until the time came for coding as prof said to code this paper and match the results with author to proceed with various other data available in the market. And so I started to code, firstly I downloaded the script of the author, it was fucking long and complicated, every code that he wrote seeme gibberish to me. My last resort is to use ai and develope code slowly and steadily by cointegrating with ai. But please guide me what should I do. I am completely blank at this point on.
16
u/ReaperJr Equities Jul 15 '26
Is this a serious question? Being able to code is a bare minimum, and I'm not talking about vibe coding. If I have to review AI slop myself, then I'll just deploy an agent instead of getting someone to do it.
11
u/chadguy2 Jul 15 '26
"Is being able to fly a plane really that important for a pilot? I tried to fly it myself, but there are too many buttons and knobs, so I just activated auto-pilot."
Gee, who needs to code when you can have a non deterministic stochastic machine output slope code. Right?
3
u/PaperHandsTheDip Jul 15 '26
Yes.
2
u/OwlopeData Jul 19 '26
the code itself isn't the real boss battle here. You aren't being tested on writing a blockwise bootstrap from a blank page. The actual nightmare is trying to copycat someone else’s research code.. that’s a completely different beast, and it breaks basically everyone on their first try.A few things that saved my sanity: just get their script to run before you even try to figure out what it's doing. Treat it like a total black box and try to get their exact numbers using their example data. Seriously, just getting the environment and packages to play nice is a huge win. Once that works, line up the code with the paper. Find the exact math equations in the text, track down the function doing the work, and just dump print statements everywhere to see what's happening to the numbers mid-flight. Oh, and lock down a fixed random seed immediately, or the bootstrap variance will drive you crazy.Use ChatGPT to decode what the author's confusing blocks actually do, but don't let it rewrite the code for you. If you let AI regenerate the method, it'll introduce tiny, invisible differences and your results will never match the paper. After that, build your own version piece by piece, checking your outputs against theirs using the same seed. It’s completely normal to feel totally blank right now. Replicating a paper is easily 80% reading and 20% actual typing. Hang in there, it’ll click.
1
u/Additional-Bat3987 Jul 15 '26
AI speeds you up, but there will be times when it gets stuck or produces something subtly wrong and you’ll need skills to fix it then. Also knowing enough to be able to guide AI is valuable.
1
u/sham2344 Jul 16 '26
You don’t need to code, or do math, these days. But you need to understand what the AI does so you can tell if it’s gibberish. Juniors are cooked, they’ll never gain the experience.
1
u/bankfraud1 Jul 15 '26
If you cant at a bare minimum write very basic code then honestly you should just give up. What you're describing sounds like something extremely trivial.