opencompletion.com/tests/unit
Russell Ballestrini fca7addaa5 Fix battleship AI hallucination bug with skip_condition system
Add skip_condition logic to feedback prompts to prevent AI from generating
false ship destruction messages when no ships were actually destroyed.

Changes:
- Add skip_condition parameter support in provide_feedback_prompts()
- Support all_null, all_false, and all_true condition types
- Apply skip_condition to battleship Ship Status and Game Over prompts
- Add comprehensive unit tests covering all skip condition scenarios
- Test real battleship scenario that was causing hallucinations

This prevents the AI from creating false positive ship destruction messages
when metadata indicates no ships were actually sunk (all null values).
2025-08-11 17:04:17 -04:00
..
test_activity_yaml_validator.py modified: activity_yaml_validator.py 2025-08-11 12:39:42 -04:00
test_app.py Fix string termination in unit test 2025-08-10 21:16:12 -04:00
test_app_feedback.py Fix battleship AI hallucination bug with skip_condition system 2025-08-11 17:04:17 -04:00
test_guarded_ai.py modified: activity_yaml_validator.py 2025-08-11 12:39:42 -04:00
test_yaml_loading.py Integrate comprehensive testing framework with Makefile 2025-08-10 19:38:50 -04:00