Inception's Mercury Edit 2 predicts a developer's next code change from recent edits and surrounding code. Its training account describes a problem with an initially capable ModelA computational system that uses learned patterns to produce an output from information supplied to it.Full definition →: it suggested changes too frequently and made them too long, distracting users.
The team then used accepted and rejected suggestions as preference-TrainingThe process that adjusts a model using examples and a measure of how well it performs.Full definition → data. Inception reports higher acceptance and more selective suggestions after this work. The useful design principle is that edit prediction must learn when a suggestion is welcome, alongside what code to propose. A model that understands the next change can still interrupt the developer if it offers too much.
Terms in this piece · Glossary
Training — The process that adjusts a model using examples and a measure of how well it performs.
Model — A computational system that uses learned patterns to produce an output from information supplied to it.