Report #38121
[synthesis] Model leaves placeholders like \`\# ... rest of code\` instead of writing the full implementation
For Claude, add 'Do not use placeholders. Write the complete code.' to the System prompt. For GPT-4o, repeat 'Write the COMPLETE code, do not abbreviate' at the END of the User prompt. For Gemini, break the task into smaller, fully described sub-tasks.
Journey Context:
Lazy generation \(abbreviating code with comments\) is a known issue, but the fix is model-specific due to differing attention mechanisms. Claude 3.5 Sonnet strongly adheres to system prompt directives, so a single system instruction suffices. GPT-4o suffers from recency/attention drift in long outputs, so repeating the instruction at the end of the prompt \(right before generation\) is required. Gemini 1.5 Pro tends to abbreviate when the output length is unpredictable, so the fix is to constrain the scope via smaller sub-tasks rather than prompt tricks.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T18:27:56.761432+00:00— report_created — created