@jamestesting888/tum-mcp 0.13.0 → 0.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,43 @@
1
1
  # Changes
2
2
 
3
+ ## 0.14.1 — 2026-10-30
4
+
5
+ - TUMonline login keeps waiting while sign-in is incomplete. An empty HTTP 200
6
+ from the anonymous session refresh no longer closes the login window with
7
+ `INVALID_RESPONSE`. Malformed responses and server failures still report errors.
8
+
9
+ ## 0.14.0 — 2026-10-30
10
+
11
+ - Graph diagrams sit on a grid: each node takes a `row` and `col` instead of pixel
12
+ coordinates. The app sizes boxes from their labels (two lines, centred), spaces rows and
13
+ columns, crops to what is drawn, bends a blocked edge around nodes to the side where it
14
+ crosses fewest edges, draws self-loops and bows the two arrows of a two-way pair apart,
15
+ each with its own label, and places every edge label clear of lines and nodes.
16
+ - UML class and state diagrams and a new `flowchart` diagram are laid out by the bundled
17
+ Eclipse Layout Kernel (elkjs, EPL-2.0, loaded only on pages that show such a diagram)
18
+ in the order the author lists elements: an interface above its implementations with one
19
+ joined trunk, state machines with curved transitions and entry activities in a
20
+ compartment, flowcharts with questions inside the diamonds and labelled exits.
21
+ Sequence diagrams keep their renderer.
22
+ - Plots: a series can be a `function` of x that the build samples, split at poles and
23
+ jumps, or data drawn as lines, markers, points, connected steps or stems with their
24
+ values; plots add shaded `areas`, marked `notes`, explicit ticks, a logarithmic y
25
+ axis labelled with real values and labels at the line ends. Axis labels are Unicode.
26
+ - Drawings keep 12 px text on a phone: graphs and UML diagrams shrink only that far and
27
+ scroll sideways beyond it; plots redraw at their real width.
28
+ - `tum-mcp study visuals PROJECT` measures every drawn visual of lessons, practice
29
+ questions, exercise steps and Exam Prep at 390, 600 and 1280 px (lines through nodes,
30
+ clashing labels, small or clipped text, drawings that differ from their block), writes
31
+ contact sheets to `.tum-mcp/visuals/` and records the result; `study report` gains a
32
+ render section that lists missing, stale and failing checks.
33
+ - `review-course` reviews in five passes (logic, text, visuals, interaction and
34
+ intuition), scores a new intuition dimension and each drawn visual on a six-criterion
35
+ visual rubric, and calibrates against a gallery of rated examples
36
+ (`study visuals --gallery`). A review passes only when every visual is scored, and
37
+ representation never scores above the item's weakest visual.
38
+ - prepare-study gains guides for diagrams and plots, and the study skills run the render
39
+ check after each build. The component demo shows each new diagram and plot form.
40
+
3
41
  ## 0.13.0 — 2026-10-29
4
42
 
5
43
  - Lessons read as structure rather than prose: a `text` step or point that opens with a short `Label: ` shows the label in bold, and `study report` flags paragraphs over 45 words or three long sentences (`dense_paragraph`), calculations chained inside a sentence (`prose_calculation`) and mathematics typed as plain characters instead of inline LaTeX (`plain_math`). Arithmetic in inline LaTeX is recomputed like arithmetic in prose. prepare-study's writing guide gains the procedure, worked-example and notation rules behind them.
package/NOTICE CHANGED
@@ -1,4 +1,8 @@
1
1
  The project's original code and documentation are provided under the MIT License.
2
2
 
3
+ The course app ships third-party files under their own licenses, each beside it: the
4
+ interface fonts (`fonts-license.txt`) and elkjs, the Eclipse Layout Kernel compiled to
5
+ JavaScript, under the Eclipse Public License 2.0 (`elk-license.txt`).
6
+
3
7
  No TUM logo is distributed. TUM names and trademarks belong to their respective
4
8
  owners; no trademark rights or university endorsement are granted by this project.
package/docs/study.md CHANGED
@@ -109,8 +109,11 @@ course's lecture or week sequence when useful, or consistent topics, with at mos
109
109
  one category level. Every unit has:
110
110
 
111
111
  - Content: a short lesson with objectives, source links, assumptions and worked
112
- examples, using formulas, tables, code, diagrams, drawn figures or line graphs where
113
- they help. A hard idea comes as short numbered steps instead of a long paragraph. A
112
+ examples, using formulas, tables, code, graphs, UML diagrams, flowcharts, drawn figures
113
+ or plots where they help. Graphs keep the rows and columns the author chose; UML
114
+ diagrams and flowcharts are laid out automatically; plots draw functions from their
115
+ formula. On a phone a drawing shrinks only until its text reaches 12 px and scrolls
116
+ sideways beyond that. A hard idea comes as short numbered steps instead of a long paragraph. A
114
117
  term to learn appears in bold beside its meaning, inside the section that introduces
115
118
  it; a dotted term anywhere in the app opens its definition in place. Algorithm traces
116
119
  step through one operation at a time and show the algorithm's state (a queue, the
@@ -149,6 +152,7 @@ and reported, so the agent must review compatibility when extending them.
149
152
  tum-mcp study inspect ./pse-ws26
150
153
  tum-mcp study build ./pse-ws26
151
154
  tum-mcp study report ./pse-ws26 # review flags and what the sources leave uncovered
155
+ tum-mcp study visuals ./pse-ws26 # measure every drawn visual and draw contact sheets
152
156
  ```
153
157
 
154
158
  The agent records what each lecture states students should learn, and which sheet
@@ -156,10 +160,22 @@ problems are prepared, in `.tum-mcp/coverage.json`. `study report` lists outcome
156
160
  that are not yet taught, sources not yet read and problems still pending, so a request
157
161
  to cover a whole course is judged against the course's own outcomes.
158
162
 
163
+ `study visuals` opens every lesson, practice question, exercise step and Exam Prep
164
+ visual in an installed Chrome, Edge or Chromium at phone (390 px), narrow (600 px) and
165
+ desktop (1280 px) width. It reports lines through nodes, labels that overlap or sit on a
166
+ line, text under 12 px, clipped text and drawings that differ from their block, writes
167
+ contact sheets to `.tum-mcp/visuals/` and records the result in
168
+ `.tum-mcp/visual-check.json`. Editing an item or updating the app makes its result stale,
169
+ and `study report` lists items whose check is missing, stale or failing.
170
+
159
171
  Ask `review-course` to score the lessons and exercises the way a student meets them.
160
- It gives each unit and exercise 1 to 3 points for correctness, clarity, cognitive load,
161
- representation, practice and coverage, names what costs each point and saves the
162
- scores in `.tum-mcp/review.json`. The agent then fixes the findings and scores again.
172
+ It reads each item in five passes (logic, text, visuals, interaction and intuition) and
173
+ gives each unit and exercise 1 to 3 points for correctness, clarity, cognitive load,
174
+ representation, practice, coverage and intuition. Each drawn visual gets its own score
175
+ from the contact sheets for fidelity, form, layout, legibility, focus and convention,
176
+ calibrated against a gallery of rated examples (`study visuals --gallery`). The agent
177
+ names what costs each point, saves the scores in `.tum-mcp/review.json`, then fixes the
178
+ findings and scores again.
163
179
  Editing a unit or exercise makes its score stale, so `study report` lists what needs a
164
180
  new review and what is still below the bar. The scores are not shown in the app.
165
181
 
@@ -489,7 +505,7 @@ tum-mcp study serve ./component-preview
489
505
  ```
490
506
 
491
507
  The demo creates one small Study unit and one exercise covering prose, code, tables,
492
- formulas, graph/process diagrams, cards and response controls. It is a format
508
+ formulas, graphs, UML diagrams, a flowchart, plots, cards and response controls. It is a format
493
509
  reference, not necessarily a good teaching or question-authoring example; actual
494
510
  course authoring follows reviewed sources and the preparation skills. Rich learning
495
511
  pilots stay in private test fixtures. It uses no campus account, and an existing
@@ -1,5 +1,5 @@
1
1
  {
2
- "wheel": "tum_mcp-0.13.0-py3-none-any.whl",
3
- "wheelSha256": "8aeaf0c4be57000272f679694d6e9d35b0534efb821c009ab5a5a0d3248a664f",
2
+ "wheel": "tum_mcp-0.14.1-py3-none-any.whl",
3
+ "wheelSha256": "d634fd64fe6d6c058866a4b952e901c6eadb55809cca531f123bd144959294e0",
4
4
  "requirementsSha256": "39a401b6e606d3292eb91b8fe9ef60367d4852f203eb409dc52f38b76e513ccf"
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jamestesting888/tum-mcp",
3
- "version": "0.13.0",
3
+ "version": "0.14.1",
4
4
  "description": "Read-only TUM campus tools and source-backed study, exercise and lecture workflows",
5
5
  "license": "MIT",
6
6
  "type": "module",