Commit Graph

178 Commits

Author SHA1 Message Date
Bingxi Zhao (Frank)
04daf46c5d fix(learning): preserve legacy review history and idempotent strategy bindings 2026-10-29 01:04:55 +08:00
Bingxi Zhao (Frank)
d09a4d3a4f Merge pull request #2028: configurable review strategies 2026-10-29 01:04:33 +08:00
Bingxi Zhao (Frank)
e7f5823781 Merge pull request #2063 into validated PR integration 2026-10-29 00:56:13 +08:00
Bingxi Zhao (Frank)
7b307357dc Merge pull request #2103 into validated PR integration 2026-10-29 00:56:10 +08:00
nandanadileep
e27735d75c fix: Mastery Path concept objectives can never 2026-10-28 00:16:17 +00:00
Bingxi Zhao (Frank)
9aadac3e3b merge: integrate current dev with modular installation 2026-10-28 01:23:48 +08:00
Bingxi Zhao (Frank)
fbab59acbf feat: modularize installation and enforce feature dependency boundaries 2026-10-28 01:02:29 +08:00
Bingxi Zhao
995567d453 Merge pull request #2090 from nandanadileep/oss-harness/issue-2075
fix: Exact-substring quote check rejects faithful citations (line breaks/markup differ), so mastery_quiz fails repeatedl
2026-10-27 23:58:26 +08:00
Bingxi Zhao
c663700aeb Merge pull request #2000 from drakeo338/claude/1993-fix
fix(mastery): show the picked option's text next to its letter in the grade seed
2026-10-27 23:57:51 +08:00
Bingxi Zhao (Frank)
6cb3d53677 fix: preserve mathematical meaning when validating citations 2026-10-27 21:39:14 +08:00
Cursor Agent
d5ed6f563c fix: sort imports in semantic_assessment to satisfy ruff I001
Move `from typing import Literal` above `import unicodedata` so isort
(force-sort-within-sections) matches CI ruff 0.16.0.

Co-authored-by: Nandana Dileep <nandanadileep@users.noreply.github.com>
2026-10-27 12:00:34 +00:00
nandanadileep
b824e69bb0 fix: normalize quote matching in mastery source 2026-10-27 06:41:59 +00:00
Rudy Celekli
3008c58ef4 fix(learning): resolve 'lesson N' by rank, not 0-based order value
resolve_module matched a learner's 1-based 'lesson N' against the module
'order' field with int(module['order']) == position. But order is stored
0-based (topic_generation uses order=len(modules); service and
outline_revision number with enumerate from 0), so 'lesson 1' matched the
module whose order is 1 — the second lesson — and every lesson but the last
resolved one too high, sending the learner's hand-off card to the wrong lesson.
Take the Nth module by rank in the order sequence instead.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-10-26 10:36:59 -04:00
XZH
aa7d54bd7b feat(learning): add mastery review strategies (#1908)
Mastery paths previously scheduled with one fixed interval template per knowledge type, which did not fit exam cramming, language drilling, science review, or learner-specific pacing.

Add four built-in strategy presets and custom per-round interval templates with validated persistence, CRUD, duplication, and path bindings. Bound paths keep a frozen strategy snapshot, replay durable evidence when switching, and mastery tools follow the bound path scheduler.

Expose strategy management in the mastery review trail, including custom interval editing and loading, empty, busy, invalid-input, and error states. Regenerate the OpenAPI contract and add focused backend and web regression coverage. Legacy paths without a binding continue to use the previous default scheduler.
2026-10-22 18:37:54 -07:00
dajiaohuang
3ce2937c82 fix: keep mastery review within the gate 2026-10-22 12:44:45 +08:00
drakeo338
05f302e355 fix(mastery): name the picked option next to its letter in the grade seed (#1993)
The card can show the options in a different order than the tutor
registered them, so the bare letter in the "(they answered "D")" seed
pointed at a different option in the tutor's context than on the
learner's screen.

build_grade_result now carries the picked option's text as learner_body,
and the loop's grade seed appends it to the letter.
2026-10-20 03:21:29 +00:00
Bingxi Zhao (Frank)
a31d82624c release: v1.6.15
Document Guided Learning improvements, chat and parsing recovery, retrieval comparisons, and native Gemini speech in assets/releases/ver1-6-15.md.

Synchronize README prose and 11 translations, archive older release notes, and bump the version. Resolve release-gate typing diagnostics, a prompt-only Bandit false positive, and SVG formatting.
2026-10-19 04:12:56 +08:00
Bingxi Zhao (Frank)
0aa12fdfb6 fix(mastery): explain failed source repair in the session language (#1902) 2026-10-19 03:44:57 +08:00
Bingxi Zhao (Frank)
c49d130d5c fix(mastery): stream localized lesson preparation progress (#1902) 2026-10-19 03:29:21 +08:00
Bingxi Zhao (Frank)
e63bb09e6c fix(mastery): budget distinct pixels in grouped assessments (#1901) 2026-10-19 02:57:26 +08:00
Bingxi Zhao (Frank)
148bb1ec26 fix(mastery): refresh lesson intent and preserve source diagnostics (#1902) 2026-10-19 02:57:26 +08:00
Bingxi Zhao (Frank)
784de5fa6d fix: align integrated mastery catalog and regression fixtures 2026-10-19 01:17:50 +08:00
Bingxi Zhao (Frank)
9aae961412 Merge PR #1957: separate private source evidence from explicit public presentation 2026-10-19 00:53:44 +08:00
Bingxi Zhao (Frank)
3196b6d792 Merge PR #1954: prepare source evidence through a generic capability prerequisite contract 2026-10-19 00:48:43 +08:00
Bingxi Zhao (Frank)
0fd8dc8384 Merge PR #1953: source-bound assessment with portable lexical page lookup 2026-10-19 00:43:33 +08:00
Bingxi Zhao (Frank)
59cdd81170 Merge PR #1943: preserve grouped questions through reviewed outline revisions 2026-10-19 00:40:44 +08:00
Bingxi Zhao (Frank)
ba899ffc68 Merge PR #1939: review outline changes before atomic commit 2026-10-19 00:38:00 +08:00
Bingxi Zhao (Frank)
61719b18de Merge PR #1952: verify teaching delivery alongside durable feedback 2026-10-19 00:36:32 +08:00
Bingxi Zhao (Frank)
9ca096b456 fix(mastery): localize learner profile persistence notices 2026-10-19 00:35:33 +08:00
Bingxi Zhao
f976208e2c Merge pull request #1936 from yepyhun/contrib/mastery-teaching-guide
feat(mastery): retain scoped teaching feedback and strategy outcomes
2026-10-19 00:35:25 +08:00
Bingxi Zhao
5d108e54c1 Merge pull request #1820 from dajiaohuang/fix/learning-read-snapshots
fix(learning): keep aggregate reads in one SQLite snapshot
2026-10-19 00:19:22 +08:00
Bingxi Zhao
100b837886 Merge pull request #1805 from lorenzozanee/fix/qualitative-repair-persistence
test(learning): cover persisted qualitative repair turns
2026-10-15 03:16:09 +08:00
Bingxi Zhao
20a0af660b Merge branch 'dev' into fix/qualitative-repair-persistence 2026-10-15 02:05:01 +08:00
yepyhun
b8fccb92b2 fix(mastery): validate visual hints and select original source excerpts 2026-10-13 17:24:37 +02:00
yepyhun
755686264d fix(mastery): separate source inspection from assessment delivery 2026-10-13 13:49:35 +02:00
yepyhun
ccac56eec1 fix(mastery): bind semantic assessment to verified question evidence 2026-10-13 12:21:04 +02:00
yepyhun
1a2cdb5a25 fix(mastery): preserve profile fields and bound save recovery 2026-10-13 12:05:23 +02:00
yepyhun
6532c8c2a7 fix(mastery): resume pending cards and guard Markdown assessments 2026-10-13 10:18:07 +02:00
yepyhun
cc079776c4 fix(mastery): bind teaching records to visible delivered explanation 2026-10-13 08:29:46 +02:00
yepyhun
9cfa5cb8fd fix(mastery): retain incremental grouped replies and partial feedback 2026-10-13 08:24:38 +02:00
yepyhun
f4b0197b7f fix(mastery): expose bounded actionable teaching focus 2026-10-13 08:24:00 +02:00
yepyhun
982615faaf feat(mastery): reorder existing modules through reviewed commits 2026-10-13 00:34:59 +02:00
yepyhun
c3301c0055 feat(mastery): support independently graded question groups 2026-10-12 21:03:14 +02:00
yepyhun
e6853db336 feat(mastery): retain scoped teaching feedback with learner evidence 2026-10-12 13:12:50 +02:00
yepyhun
c510b13363 feat(mastery): add reviewed outline previews and retry-safe commits 2026-10-12 11:23:32 +02:00
XZH
cf37be0f5e fix(mastery): apply coordinated multi-module revisions atomically (#1929)
mastery_revise accepted one module per call, so a coordinated outline
adjustment across several modules cost one call, one transaction and one
full-outline snapshot echo per module. Add a modules=[{module_id,
rewrite, add, remove}, ...] form that validates every entry against a
shared id space, refuses the whole request on any rejection (unknown
ids, mastered waypoints, cross-module cycles), and commits all modules
in a single revision with one result payload. The single-module form
keeps its exact contract and payload shape.
2026-10-11 16:38:54 -07:00
dajiaohuang
30277b1798 Merge commit '6cf793bd868ba5ecbe64722936d4be8fab5a01df' into fix/learning-read-snapshots 2026-10-08 12:35:34 +08:00
dajiaohuang
80881c2500 fix(learning): read related projections in one snapshot 2026-10-08 12:35:34 +08:00
lorenzozanee
6dd1cb4dcb test(learning): cover persisted qualitative repair turns 2026-10-08 05:33:21 +08:00
Bingxi Zhao (Frank)
2350ea2dba feat(mastery): complete source-grounded visual practice and evidence (#1611)
Bind original visual sources and keys to supported tasks; verify accepted model pixels, preserve cues/assistance and canonical attempts, keep uncertainty ungraded, expose challenge/repair, and separate required visual evidence from generic text mastery.
2026-10-08 05:25:05 +08:00