Only accepted work is recordedAboutGuidesContactSign in
CitePepCitePep
Effective Prompt Engineering Best Practices

Effective Prompt Engineering Best Practices

Corrected by Emir Baycan · on When Notes Fly · 23 November 2026 · View published page ↗

Prompt engineering best practices come with a catch: Wei found chain of thought lifts reasoning on very large models but barely helps smaller ones.

Factually incorrectMisleading wordingNeeds stronger evidence

The exact change

Before
Developers who used GitHub Copilot finished a JavaScript server implementation task 55.8 percent faster than those in the control group (the median was 71 minutes compared with 160 minutes). Prompt quality, which is how developers phrased their natural language comments above functions to guide Copilot, explained large differences in suggestion quality within the treatment group according to the study. When developers wrote descriptive function docstrings before coding that gave Copilot explicit context on inputs, outputs and purpose, they accepted suggestions 42 percent more often than developers who wrote minimal or no docstrings. One of the first rigorous measures of how prompt quality affects downstream AI tool productivity in a professional setting came out of research that appeared as "The Impact of AI on Developer Productivity: Evidence from GitHub Copilot."
After
Developers who used GitHub Copilot finished a JavaScript server implementation task 55.8 percent faster than those in the control group (the average was about 71 minutes compared with about 161 minutes). (removed) (removed) The study appeared as "The Impact of AI on Developer Productivity: Evidence from GitHub Copilot."

Why this is better

Paper reports average completion time 71.17 min (treated) vs 160.89 min (control), not medians. Source: https://arxiv.org/abs/2302.06590 The paper (95 randomly assigned Upwork programmers, 55.8% faster) does not examine prompt quality or comment phrasing. Source: https://arxiv.org/pdf/2302.06590 No 42 percent suggestion-acceptance figure or docstring comparison appears in the paper. Source: https://arxiv.org/pdf/2302.06590 The paper measures productivity with and without Copilot; it does not measure prompt quality. Source: https://arxiv.org/abs/2302.06590

More by Emir Baycan in AI Machine Learning

All of Emir Baycan's contributions →