cloze-reader / src /clozeGameEngine.js

Commit History

Fix difficulty progression and batch processing issues
1505067

milwright commited on

Optimize AI word selection to reduce fallback rate
de88fe1

milwright commited on

Fix word matching logic to prevent fallback override
9ed86c2

milwright commited on

Strengthen content filtering to reject dictionary and academic material
dc9cc8c

milwright commited on

Add enhanced game logic improvements
baad690

milwright commited on

Add filtering for excessive dashes in passage extraction
7b3ba65

milwright commited on

Fix level progression and word validation issues
eeb2654

milwright commited on

Strengthen content filtering to reject indexes and TOCs
9e70845

milwright commited on

Improve content filtering and word validation
e26fd03

milwright commited on

Refactor book processing to remove year extraction and improve fallback logic
bac89b2

milwright commited on

Implement level-aware word selection and performance optimizations
9e0745a

milwright commited on

fix level progression and optimize ai word selection
440ff08

milwright commited on

fix: improve UI elements and reduce input field width
1df4d55

milwright commited on

fix: improve UI consistency and prevent capitalized words as blanks
805c9da

milwright commited on

fix: improve chat interface and error handling
3ca518f

milwright commited on

feat: implement batch API processing for both passages
cd16e7b

milwright commited on

fix: improve word selection and passage quality filtering
b37374a

milwright commited on

Merge branch 'main' into clean-deploy
d2c7203

milwright commited on

fix: add spaced underscores and mobile dropdown for questions
0aa8e05

milwright commited on

fix: clean up AI response processing and improve UI
b451c6e

milwright commited on

fix: make AI API calls sequential with delay to prevent rate limiting
82a4372

milwright commited on

feat: implement two-passage system to avoid OpenRouter rate limits
106bc8b

milwright commited on

improve: enhance contextual prompts with robust safety rules and year integration
2f6bbd8

milwright commited on

fix: prevent infinite recursion in passage extraction
e50c260

milwright commited on

fix: clean contextualization artifacts and ensure passages start properly
4f8034e

milwright commited on

improve: differentiate prompts, fix passage boundaries, and avoid early blanks
e38d8d4

milwright commited on

fix: improve word selection and remove markdown formatting
b874e04

milwright commited on

fix: restore working chat and contextualization logic
09d70c8

milwright commited on

fix: correct AI contextualization method call
6174db0

milwright commited on

fix: resolve module import errors and CSP issues
0787f2d

milwright commited on

feat: minimal deployment with essential JavaScript modules and complete CSS
5dd5427

milwright commited on