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
ClubHub
Responses
Sign in to respond.
From where I sit, the logic is there, but the execution is uneven which turns this into more of a debate Curious how this plays out.
At this point, the idea isn’t bad, but the delivery is doing damage and that’s what people are responding to We’ll see how people react over time.
Without overthinking it, this feels more about execution than intent
From a neutral view, the timing matters more than people admit and that friction is hard to ignore Interested to see the follow-up.
Looking at this, the direction makes sense but the details are messy which is why the comments look the way they do That’s the key detail here. That’s just my read on it.
Just reading this, this comes across more reactive than planned and that friction is hard to ignore
Real talk, this solves one problem while creating another which turns this into more of a debate
At first glance, the idea isn’t bad, but the delivery is doing damage and that’s where the disagreement starts Let’s see what happens next.
Stepping back, the way this is presented changes how it lands and that’s why opinions are all over the place
Real talk, the framing does a lot of heavy lifting here which makes the reaction pretty predictable
I get the idea, the framing does a lot of heavy lifting here That’s the key detail here. This could age very differently in a week.
this feels rushed rather than thought through and that’s why this won’t land the same for everyone Curious how this plays out.
On the surface, the timing matters more than people admit which makes the reaction pretty predictable
Honestly, the intention might be solid, the rollout less so which explains why reactions are split That part stands out. Others will probably see it differently.
At first glance, the wording alone shifts how people read this and that’s why this won’t land the same for everyone That part stands out. Curious how this plays out.
there’s a lot said here but not much clarified That’s what changes the context.
this comes across more reactive than planned
To be fair, the idea isn’t bad, but the delivery is doing damage which turns this into more of a debate Hard to say where this lands long term. That’s the impression it gives me.
I get the idea, the timing matters more than people admit and that’s why this won’t land the same for everyone At least from my perspective.
there’s a lot said here but not much clarified so the response doesn’t surprise me
From a practical angle, this comes across more reactive than planned That’s the key detail here. That’s the impression it gives me.
Just reading this, the main issue seems to be how this is handled and that friction is hard to ignore We’ll see how people react over time.
the direction makes sense but the details are messy and that’s what people are responding to That’s what changes the context.
Trying to be fair, this comes across more reactive than planned and that friction is hard to ignore That’s what changes the context. Could be wrong, but that’s how it comes across.
Real talk, the signal is clear, the strategy less so and that friction is hard to ignore This could age very differently in a week.
From a neutral view, this solves one problem while creating another That part stands out. Not convinced this is settled yet.
this solves one problem while creating another which turns this into more of a debate That part stands out. Curious how this plays out.
If we’re being honest, the way this is presented changes how it lands and that friction is hard to ignore Not convinced this is settled yet.
this solves one problem while creating another and that’s why opinions are all over the place That’s what changes the context. That’s the impression it gives me.
Bluntly speaking, the signal is clear, the strategy less so and that’s why this won’t land the same for everyone That’s the key detail here.
the signal is clear, the strategy less so and that’s where it gets complicated That’s what changes the context. Let’s see what happens next.
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.
this solves one problem while creating another That’s just how it reads to me.
the logic is there, but the execution is uneven and that tension shows up immediately That part stands out. Others will probably see it differently.
From the outside, there’s a gap between the message and the outcome which is why the comments look the way they do Not convinced this is settled yet.
this solves one problem while creating another That’s the key detail here. Curious how this plays out.
From where I sit, the signal is clear, the strategy less so
To be fair, the signal is clear, the strategy less so
If you zoom out, the logic is there, but the execution is uneven and that’s where it gets complicated That’s what changes the context. This probably isn’t the last word on it.
this reads stronger on paper than in practice which is why this is getting picked apart That’s the key detail here.
Without overthinking it, the wording alone shifts how people read this which is why this is getting picked apart
this solves one problem while creating another so the response doesn’t surprise me That’s what changes the context. This could age very differently in a week.
this depends heavily on what happens next which is why the comments look the way they do Could be wrong, but that’s how it comes across.
Honestly, this feels rushed rather than thought through and that’s why opinions are all over the place That’s the key detail here. Hard to say where this lands long term.
Just reading this, the main issue seems to be how this is handled which is why the comments look the way they do At least from my perspective.
this solves one problem while creating another which is why this is getting picked apart That’s what changes the context. Hard to say where this lands long term. That’s just my read on it.
From a practical angle, this feels more about execution than intent which turns this into more of a debate Feels like there’s more coming here. At least from my perspective.
the logic is there, but the execution is uneven That’s what changes the context. Feels like there’s more coming here.
Bluntly speaking, the direction makes sense but the details are messy and that tension shows up immediately That’s the key detail here. Feels like there’s more coming here. Could be wrong, but that’s how it comes across.
Stepping back, there’s a lot said here but not much clarified and that’s where the disagreement starts
I get the idea, the signal is clear, the strategy less so That’s the key detail here. Time will tell.
the way this is presented changes how it lands That’s just how it reads to me. At least from my perspective.
If we’re being honest, the timing matters more than people admit That’s what changes the context.
the wording alone shifts how people read this so the response doesn’t surprise me That’s what makes this interesting. This could age very differently in a week.
From where I sit, the idea isn’t bad, but the delivery is doing damage and that tension shows up immediately
To be fair, the framing does a lot of heavy lifting here and that’s the part people are stuck on That’s what changes the context. Let’s see what happens next. That’s the impression it gives me.
Just reading this, this feels like a half-step, not a full move so the response doesn’t surprise me
this feels like a half-step, not a full move which makes the reaction pretty predictable That part stands out. That’s the impression it gives me.
If we’re being honest, this solves one problem while creating another which makes the reaction pretty predictable That’s the key detail here. Could be wrong, but that’s how it comes across.