v0.3.23 - Simplify Prompt Instructions
Simplification ✨
Removes a redundant and confusing CRITICAL instruction from the writing prompt.
What Changed
- ❌ Removed: "CRITICAL: The 'Current text' and 'Suggested fix' MUST be different (fixes must change something). Even if the visual difference is subtle (like whitespace changes), ensure the suggested fix actually corrects the violation."
Why
- Redundant: Obviously fixes should change something - that's what "fix" means!
- Confusing: Was causing LLM to second-guess valid fixes, especially whitespace changes
- Already handled: The
validate_fix_quality()function already checks if current_text == suggested_fix - Simpler is better: Following "simplicity above all" principle
Result
- ✅ Cleaner, more focused prompt
- ✅ Less confusion for the LLM
- ✅ Relies on existing validation logic instead of pre-warning
- ✅ Updated writing prompt version to 0.3.23
Full Changelog: https://github.com/QuantEcon/action-style-guide/blob/main/CHANGELOG.md