Commit Graph

1 Commits

Author SHA1 Message Date
Stefan eca909351b fix: Provide theoretical moves to tutor in family mode even without feedback
The tutor was recommending incorrect moves in family mode because
theoreticalAlternatives were only provided when currentFeedback existed.
In family mode, the tutor needs access to all possible theoretical moves
from the variation tree at all times, not just after a move is played.

Changes:
- Modified currentFeedback in openingPracticeMode to always provide
  theoreticalMoves in family mode, even when no feedback exists yet
- Added comprehensive tests for French Defense family mode
- Added tests for opening loader functionality
- Fixed missing timestamp property in test fixtures

This fixes the issue where asking the tutor how do I play French Defense?
at the start would result in wrong move recommendations.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-04 11:41:10 +01:00