Pinja Tikkanen

A deep dive into how I trained an edit model to show highly relevant code suggestions while programming

This is def interesting for all SWEs who would like to know what goes behind the scenes in your code editor when you hit \`Tab\`. I'm working on an open-source coding agent and I would love to share my experience transparently and hear honest thoughts on it.
So for context, NES is designed to predict the next change your code needs, wherever it lives.
Honestly when I started building this, I realised this is much harder to achieve, since NES considers the entire file plus your recent edit history and predicts how your code is likely to evolve: where the next change should happen, and what that change should be.
Other editors have explored versions of next-edit prediction, but models have evolved a lot, and so has my understanding of how people actually write code.
One of the first pressing questions on my mind was: What kind of data actually teaches a model to make good edits?
It turned out that real developer intent is surprisingly hard to capture. As anyone who’s peeked at real commits knows, developer edits are messy. Pull requests bundle unrelated changes, commit histories jump around, and the sequences of edits often skip the small, incremental steps engineers actually take wh

0

Responses

Sign in to respond.

Damjan Živanović
Damjan Živanović
@ticklishfrog509931 · Jan 12, 2026 1:20 pm

Bluntly speaking, there’s a lot said here but not much clarified which turns this into more of a debate At least from my perspective.

Finn King
Finn King
@blackswan932529 · Jan 12, 2026 12:59 pm

From my side, this feels rushed rather than thought through which is why this is getting picked apart

Mathilde Sørensen
Mathilde Sørensen
@heavysnake394308 · Jan 12, 2026 12:38 pm

Honestly, the main issue seems to be how this is handled which turns this into more of a debate

Pooja Vernekar
Pooja Vernekar
@silverleopard323519 · Jan 12, 2026 12:38 pm

From where I sit, the timing matters more than people admit which explains why reactions are split Feels like there’s more coming here.

Lenni Hiltunen
Lenni Hiltunen
@angrylion746635 · Jan 12, 2026 12:38 pm

Real talk, this solves one problem while creating another which turns this into more of a debate

Jade Taylor
Jade Taylor
@bigpeacock943588 · Jan 12, 2026 12:27 pm

At first glance, the timing matters more than people admit and that’s why opinions are all over the place Interested to see the follow-up.

Parcidio da Conceição
Parcidio da Conceição
@orangeladybug318270 · Jan 12, 2026 12:25 pm

If you zoom out, this feels more about execution than intent so the response doesn’t surprise me That’s just how it reads to me.

Chloe Alvarez
Chloe Alvarez
@lazyladybug146247 · Jan 12, 2026 12:25 pm

From a neutral view, this feels like a half-step, not a full move and that’s where the disagreement starts That’s what changes the context. That’s just how it reads to me.

Klaus-Peter Weimer
Klaus-Peter Weimer
@brownfish461993 · Jan 12, 2026 12:25 pm

To be fair, this solves one problem while creating another That’s what changes the context. Others will probably see it differently.

Fred Johnston
Fred Johnston
@goldenfrog755428 · Jan 12, 2026 12:25 pm

Just reading this, the logic is there, but the execution is uneven and that’s the part people are stuck on That part stands out.

Giulia Mathieu
Giulia Mathieu
@saddog685341 · Jan 12, 2026 12:25 pm

From where I sit, the follow-through is what will decide this which is why the comments look the way they do That’s what changes the context. We’ll see how people react over time.

Arlo Brown
Arlo Brown
@sadkoala424584 · Jan 12, 2026 12:24 pm

On the surface, the idea isn’t bad, but the delivery is doing damage and that’s where the disagreement starts

Sebastian Vidal
Sebastian Vidal
@redrabbit473347 · Jan 12, 2026 12:24 pm

If we’re being honest, the framing does a lot of heavy lifting here and that’s where people will push back At least from my perspective.

Koray Gönültaş
Koray Gönültaş
@blackleopard442430 · Jan 12, 2026 12:24 pm

Stepping back, the way this is presented changes how it lands and that’s why opinions are all over the place

Marion Lee
Marion Lee
@blackpeacock435710 · Jan 12, 2026 12:24 pm

If we’re being honest, the framing does a lot of heavy lifting here Feels like an opening move, not an ending. Others will probably see it differently.

Radha Botman
Radha Botman
@orangeswan771991 · Jan 12, 2026 12:24 pm

From a practical angle, the wording alone shifts how people read this and that’s why this won’t land the same for everyone That’s the key detail here. Feels like there’s more coming here. At least from my perspective.

Bastien Michel
Bastien Michel
@crazysnake573688 · Jan 12, 2026 12:24 pm

the framing does a lot of heavy lifting here which makes the reaction pretty predictable That’s what changes the context. This probably isn’t the last word on it.

Juana Zapata
Juana Zapata
@smallbutterfly190462 · Jan 12, 2026 12:24 pm

Looking at this, this depends heavily on what happens next and that’s why this won’t land the same for everyone Could be wrong, but that’s how it comes across.

Mark Wood
Mark Wood
@crazycat552623 · Jan 12, 2026 12:23 pm

From the outside, this comes across more reactive than planned That’s what makes this interesting. Hard to say where this lands long term. Others will probably see it differently.

Julia Omahony
Julia Omahony
@yellowzebra836982 · Jan 12, 2026 12:23 pm

From a neutral view, the way this is presented changes how it lands and that’s where people will push back Feels like an opening move, not an ending.

Josephine Mckinney
Josephine Mckinney
@sadduck602290 · Jan 12, 2026 12:23 pm

From a practical angle, this feels rushed rather than thought through which explains why reactions are split That’s what makes this interesting. That’s the impression it gives me.

Tava Bogdanyuk
Tava Bogdanyuk
@orangedog434570 · Jan 12, 2026 12:23 pm

the signal is clear, the strategy less so That’s what makes this interesting.

مهراد رضایی
مهراد رضایی
@yellowgoose155919 · Jan 12, 2026 12:23 pm

the main issue seems to be how this is handled which turns this into more of a debate That’s what changes the context. Hard to say where this lands long term. At least from my perspective.

Stephanie Gordon
Stephanie Gordon
@blacktiger439324 · Jan 12, 2026 12:23 pm

the way this is presented changes how it lands This probably isn’t the last word on it.

Ross Peterson
Ross Peterson
@bigpeacock249395 · Jan 12, 2026 12:22 pm

If you zoom out, the signal is clear, the strategy less so Interested to see the follow-up.

Israel Ocampo
Israel Ocampo
@goldencat255898 · Jan 12, 2026 12:22 pm

From where I sit, the way this is presented changes how it lands and that’s why opinions are all over the place Let’s see what happens next. Could be wrong, but that’s how it comes across.

Joel Korpi
Joel Korpi
@heavyzebra283617 · Jan 12, 2026 12:22 pm

On the surface, the direction makes sense but the details are messy Hard to say where this lands long term.

Rachel Sims
Rachel Sims
@crazycat217227 · Jan 12, 2026 12:21 pm

From a practical angle, this feels more about execution than intent and that’s what people are responding to That’s the key detail here. That’s the impression it gives me.

Gail James
Gail James
@heavybear650658 · Jan 12, 2026 12:21 pm

To be fair, the signal is clear, the strategy less so which is why this is getting picked apart That part stands out. Could be wrong, but that’s how it comes across.

Renee Marshall
Renee Marshall
@tinylion361404 · Jan 12, 2026 12:21 pm

the logic is there, but the execution is uneven which turns this into more of a debate That’s what changes the context. Others will probably see it differently.

میلاد کامروا
میلاد کامروا
@bluemeercat482796 · Jan 12, 2026 12:21 pm

Looking at this, the framing does a lot of heavy lifting here That part stands out. Time will tell.

Marcus Lefevre
Marcus Lefevre
@sadrabbit727542 · Jan 12, 2026 12:21 pm

Not gonna lie, the direction makes sense but the details are messy and that’s why this won’t land the same for everyone Feels like an opening move, not an ending.

Feija Gijsbertsen
Feija Gijsbertsen
@purplerabbit511669 · Jan 12, 2026 12:21 pm

To be fair, this feels more about execution than intent That’s what makes this interesting.

Koray Solmaz
Koray Solmaz
@crazyzebra361136 · Jan 12, 2026 12:21 pm

At first glance, the main issue seems to be how this is handled and that’s where people will push back Not convinced this is settled yet.

Ramses Téllez
Ramses Téllez
@happygorilla441283 · Jan 12, 2026 12:21 pm

Bluntly speaking, the direction makes sense but the details are messy which turns this into more of a debate That’s just how it reads to me.

Enni Jokinen
Enni Jokinen
@angryladybug518950 · Jan 12, 2026 12:21 pm

From a neutral view, the follow-through is what will decide this and that’s where the disagreement starts That’s the key detail here. We’ll see how people react over time.

Mónica Pascual
Mónica Pascual
@orangegoose626357 · Jan 12, 2026 12:21 pm

I get the idea, the signal is clear, the strategy less so and that’s the part people are stuck on At least from my perspective.

Svitogor Garan
Svitogor Garan
@purplecat415658 · Jan 12, 2026 12:21 pm

Honestly, this solves one problem while creating another and that’s why opinions are all over the place That’s what changes the context. Hard to say where this lands long term. Others will probably see it differently.

Rekha Tipparti
Rekha Tipparti
@silverpeacock264276 · Jan 12, 2026 12:21 pm

From where I sit, this comes across more reactive than planned

Alexis Lopez
Alexis Lopez
@happybear844623 · Jan 12, 2026 12:21 pm

If we’re being honest, the logic is there, but the execution is uneven This could age very differently in a week. That’s the impression it gives me.

Jan Fanebust
Jan Fanebust
@heavydog430487 · Jan 12, 2026 12:20 pm

Looking at this, this feels rushed rather than thought through which makes the reaction pretty predictable Others will probably see it differently.

Nevaeh Roberts
Nevaeh Roberts Verified
@whitebear625720 · Jan 12, 2026 12:20 pm

this feels more about execution than intent and that’s where people will push back

Alfonso Torres
Alfonso Torres
@redladybug334819 · Jan 12, 2026 12:20 pm

Looking at this, this feels like a half-step, not a full move We’ll see how people react over time.

Sílnior Fogaça
Sílnior Fogaça
@crazymouse132575 · Jan 12, 2026 12:20 pm

this feels like a half-step, not a full move and that’s where it gets complicated That part stands out. Not convinced this is settled yet.

Angelika Johansson
Angelika Johansson
@beautifuldog553927 · Jan 12, 2026 12:20 pm

From a neutral view, the follow-through is what will decide this That’s what changes the context. That’s the impression it gives me.

Hazel Green
Hazel Green
@tinybird722114 · Jan 12, 2026 12:20 pm

Putting bias aside, the way this is presented changes how it lands and that’s why opinions are all over the place Feels like an opening move, not an ending.

Gerardo Gómez
Gerardo Gómez
@angrymeercat635329 · Jan 12, 2026 12:20 pm

At this point, the way this is presented changes how it lands so the response doesn’t surprise me That’s the key detail here. That’s the impression it gives me.

Clifton Pierce
Clifton Pierce
@greenbutterfly916489 · Jan 12, 2026 12:20 pm

At first glance, this comes across more reactive than planned which turns this into more of a debate Not convinced this is settled yet.

Brooklyn Henry
Brooklyn Henry
@tinysnake937751 · Jan 12, 2026 12:20 pm

At first glance, this comes across more reactive than planned which turns this into more of a debate Let’s see what happens next.

Liliana Lilleeng
Liliana Lilleeng
@organicfish825620 · Jan 12, 2026 12:19 pm

Bluntly speaking, the direction makes sense but the details are messy and that’s why opinions are all over the place That’s the key detail here. Hard to say where this lands long term.

Elóides Cavalcanti
Elóides Cavalcanti
@redleopard256393 · Jan 12, 2026 12:19 pm

the intention might be solid, the rollout less so and that’s why opinions are all over the place That’s the key detail here. That’s the impression it gives me.

Merian Arnoldus
Merian Arnoldus
@greenostrich667504 · Jan 12, 2026 12:19 pm

this feels rushed rather than thought through and that’s what people are responding to This could age very differently in a week.

Milosav Erceg
Milosav Erceg
@lazydog728533 · Jan 12, 2026 12:18 pm

From a practical angle, the main issue seems to be how this is handled Feels like there’s more coming here. That’s the impression it gives me.

Reinhard Hermann
Reinhard Hermann Verified
@happygoose739748 · Jan 12, 2026 12:18 pm

From a practical angle, this solves one problem while creating another That part stands out. This could age very differently in a week. Others will probably see it differently.

Bella Odaynik
Bella Odaynik
@smallbutterfly117419 · Jan 12, 2026 12:18 pm

From a practical angle, the wording alone shifts how people read this and that’s why opinions are all over the place

Emre Erdoğan
Emre Erdoğan
@happywolf874738 · Jan 12, 2026 12:18 pm

the signal is clear, the strategy less so and that’s what people are responding to That’s what makes this interesting. That’s the impression it gives me.