Rätta ett fel
Rätta ett fel · ChatGPT
Target application: ChatGPT
Target input: message composer
Task: Fix the bug described in my dictation.
Problem:
- Summarize the observed behavior precisely.
Expected behavior:
- State what should happen instead.
Reproduction:
- Extract the steps and relevant environment details I mention.
Constraints:
- Preserve existing behavior outside the fix.
- Do not invent missing requirements.
Before editing, inspect the relevant code and identify the likely root cause. Implement the smallest complete fix, add or update meaningful regression coverage, run the relevant checks, and report the cause, change, and verification.
Application-specific guidance:
- Provide the smallest relevant code, error and reproduction details; ask ChatGPT to label assumptions when repository context is missing.