Debug code
Coding
Give the environment, the expected and actual behaviour, and what you tried, and get the cause plus only the part to fix.
Fill the blanks and it copies as you filled it
[Paste the code — upload a file if it's long] Find out why this code doesn't work. - Environment: - What should happen: - What actually happens: [paste the full error message] - When it happens: - What I already tried: - Name the cause first, then show only the part that needs fixing and don't reprint the whole file
0 of 4 blanks filled · anything left blank copies with its brackets
What this prompt does
Compared with asking the same thing without the length and format lines.estimate
Estimated output tokens
700
Asked loosely
180
This prompt
Energy (Wh)
1.215
Asked loosely
0.423
This prompt
Token counts are estimated from character counts, not measured. Energy uses the per-band figures measured by Jegham et al. 2025 as published.
What that saves
15.8 Wh · 5.54 gCO₂e · 74 mL — assuming 20 uses a day
Tap a card for how the conversion was done.
Reported backfire — Specifying output lengthSpecifying a length longer than needed backfires (a 34% increase in 11% of scenarios)
Where these figures come from
We read the prompt to see whether it carries that instruction. The percentages below are published figures for the rule itself, not a measurement of what this prompt saves.
Specifying output length
38.7%mean reduction · 95% CI 29.7–47.7%
Podder et al. 2026 BP#5 · 18 use cases / 57 prompts
by modelGPT-4o 35%Command R+ 49%Mistral-7B 32%
Reduced in every scenario. No backfire reported