soroban-abacus-flashcards/apps/web/drizzle
Thomas Hallock 5d61de4bf6 feat(practice): add complexity budget system and toggleable session parts
- Add skill complexity budget system with base costs per skill type:
  - Basic skills: 0 (trivial bead movements)
  - Five complements: 1 (single mental substitution)
  - Ten complements: 2 (cross-column operations)
  - Cascading operations: 3 (multi-column)

- Add per-term complexity debug overlay in VerticalProblem (toggle via visual debug mode)
  - Shows total cost per term and individual skill costs
  - Highlights over-budget terms in red

- Make session structure parts toggleable in configure page:
  - Can enable/disable abacus, visualization, and linear parts
  - Time estimates, problem counts adjust dynamically
  - At least one part must remain enabled

- Fix max terms per problem not being respected:
  - generateSingleProblem was hardcoding 3-5 terms
  - Now properly uses minTerms/maxTerms from constraints

- Set visualization complexity budget to 3 (more restrictive)
- Hide complexity badges for zero-cost (basic) skills in ManualSkillSelector

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-10 20:18:20 -06:00
..
meta feat(practice): add complexity budget system and toggleable session parts 2025-12-10 20:18:20 -06:00
0000_third_carnage.sql
0001_friendly_stingray.sql
0002_loose_ultimatum.sql
0003_naive_reptil.sql
0004_shiny_madelyne_pryor.sql feat: implement modal room enforcement (one room per user) 2025-10-08 08:41:39 -05:00
0005_flimsy_squadron_sinister.sql feat: add database schema for room moderation and invitations 2025-10-13 11:22:02 -05:00
0005_jazzy_mimic.sql fix: prevent duplicate arcade sessions per room 2025-10-10 15:06:19 -05:00
0006_pretty_invaders.sql feat: add database schema for room moderation and invitations 2025-10-13 11:22:02 -05:00
0007_access_modes.sql feat: add room access modes and ownership transfer 2025-10-13 19:19:49 -05:00
0008_make_room_name_nullable.sql feat: improve room creation UX and add password support for share links 2025-10-14 07:09:22 -05:00
0009_add_display_password.sql fix(migrations): add migration 0009 for display_password column 2025-10-14 09:56:26 -05:00
0010_make_game_name_nullable.sql refactor: make game_name nullable to support in-room game selection 2025-10-14 11:30:27 -05:00
0011_add_room_game_configs.sql feat: add drizzle migration for room_game_configs table 2025-10-15 13:40:40 -05:00
0012_damp_mongoose.sql feat(abacus): add nativeAbacusNumbers setting to schema and UI 2025-10-31 20:44:16 -05:00
0013_add_player_stats.sql feat: add per-player stats tracking system 2025-11-03 10:53:54 -06:00
0013_conscious_firebird.sql fix(db): add statement-breakpoint to worksheet_settings migration 2025-11-06 08:26:09 -06:00
0014_remarkable_master_chief.sql fix(worksheets): remove foreign key constraint to support guest users 2025-11-06 08:26:09 -06:00
0015_early_pepper_potts.sql fix: correct GPT-5 API parameters and surface actual grading errors 2025-11-10 06:12:10 -06:00
0016_confused_the_enforcers.sql fix: correct GPT-5 API parameters and surface actual grading errors 2025-11-10 06:12:10 -06:00
0017_skinny_red_hulk.sql feat: add AI-powered worksheet grading with GPT-5 vision 2025-11-10 04:33:22 -06:00
0018_brief_red_wolf.sql feat: add AI-powered worksheet grading with GPT-5 vision 2025-11-10 04:33:22 -06:00
0019_broad_vance_astro.sql feat: add AI-powered worksheet grading with GPT-5 vision 2025-11-10 04:33:22 -06:00
0020_supreme_saracen.sql fix: correct GPT-5 API parameters and surface actual grading errors 2025-11-10 06:12:10 -06:00
0021_little_sentry.sql feat: add worksheet sharing infrastructure with database persistence 2025-11-11 11:17:44 -06:00
0022_nappy_titanium_man.sql feat: add database schema for custom skills and skill customizations 2025-11-11 13:30:36 -06:00
0023_flaky_naoko.sql feat(practice): add three-part daily practice session system 2025-12-06 12:23:53 -06:00
0024_past_richard_fisk.sql feat(practice): add three-part daily practice session system 2025-12-06 12:23:53 -06:00
0025_sparkling_susan_delgado.sql feat(practice): add three-part daily practice session system 2025-12-06 12:23:53 -06:00
0026_add_practice_sessions.sql feat(practice): add three-part daily practice session system 2025-12-06 12:23:53 -06:00
0027_help_system_schema.sql feat(help-system): add schema for progressive help and feedback loop 2025-12-06 15:16:52 -06:00
0028_medical_wolfsbane.sql feat(practice): unify dashboard with session-aware progress display 2025-12-09 20:59:53 -06:00