Repository navigation
Conversation
- Cap difficulty on the current level, not the streak counter - Fail clearly when no stimuli match instead of looping forever - Remove click-as-keypress listeners using the same reference - Return after finishTrial on repeated trials - Replace inline onclick handlers with listeners wired in on_load - Score on resultAsNumber rather than the translated label - Tighten settings schema (language enum, initialDifficulty <= numberOfLevels, non-negative regressionSchedule, string booleans) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes to the adaptive loop and trial handling in
pictureNamingTask.ts, plus stricter settings validation.$Settings:languageis nowen | fr,initialDifficulty <= numberOfLevels,regressionSchedule >= 0,downloadOnFinish: "false"no longer coerces totrue.Evidence
advancementSchedule: 2,numberOfLevels: 9, enough consecutive correct answers push the level to 10 → empty pool → hang/crash.After: level stays at 9; an empty pool throws
no stimuli available for the requested difficulty/language.tscandvite buildpass. Not exercised in a browser — please click through a session (Correct/Incorrect buttons, repeat path, keyboard vs click advance) before merging.Merge Danger
Door: two-way
Blast Radius: task-flow
Touches the logging screen and the difficulty progression, so a regression would show up as wrong levels or a stuck logging page. Configs that previously parsed with
initialDifficulty > numberOfLevelsor an unknownlanguagewill now fail at startup.🤖 Generated with Claude Code