Developer work · Handwriting, feedback and understanding

Penmentor brings AI feedback beside handwritten maths

A misplaced plus sign is marked on the original line. This open-source project connects annotations, staged hints and adjustable graphs to handwriting—and shows why a demo, real grading and local processing are different claims.

The code first appeared on October 17, with additional model command-line routes added October 20. We checked the source and original demo on October 21. This is a reading of a Linux learning tool. The author discloses scripted handwriting and a fixed example response in the recording; it does not measure live grading accuracy. We have not installed it or tested new problems.

The integration-by-parts subtraction is linked to the mistaken handwritten plus sign, with correct and affected lines marked separately.
Original demo at 16 seconds, uncropped. It shows where feedback appears. The writing and response are fixed examples, so it does not establish reliable first-error detection on a student's work. · Open full-size image
In this articleContents4

中文

Place the correction beside the mistaken sign

In the demo, the written solution to ∫x eˣ dx chooses u and dv correctly, then uses a plus where integration by parts needs subtraction. The example ticks earlier steps, marks the sign and underlines a later line that inherits it. Feedback stays beside the student's reasoning rather than in a separate screen of solutions.

The prompt asks for line-by-line transcription before a verdict, boxes and annotation types; uncertain symbols should be marked as uncertain. That makes recognition and grading inspectable steps. Check what it read first: a neat annotation may be correcting a minus sign the model misread as a plus.

Sources and further reading

中文

Let the learner choose the next amount of help

A small hint highlights one useful feature. More help can progress to naming a technique, ghosting the next line and finally showing a correction. Another mode highlights clues before asking the learner to choose a method; a quiz asks about key steps in their own work.

The useful design choice is that feedback leaves room to continue writing. Whether it improves recall depends on solving a different problem independently, not on a smooth recording. A self-learner can compare their next step with the hint and ask whether it addressed the actual sticking point.

Sources and further reading

中文

Turn the formula into a graph you can change

Boxing a formula can open a separate Show me window. The demo turns the integral into area under a curve and moves a cursor to inspect the changing area. The guide separately documents editing functions and bounds, and lists Riemann sums, solids of revolution, series and Taylor polynomials. Adjustable quantities invite questions about what changes, beyond a final illustration.

The code receives structured fields such as plot type, function and bounds, then draws them through preset Manim scenes. Expression parsing accepts a listed mathematical syntax. The contribution is a link from the current problem to manipulable graphics, rather than arbitrary animation code written on demand. The function and bounds still need checking against the original problem.

The author's Manim window shows the x e^x curve, shaded integral area and bounds above handwritten notes.
Original demo at 35 seconds, uncropped. The later recording shows an area cursor moving; function and bound editing are separately documented in the guide and source. This is a companion graph interface, not native video generation or our own solved problem. · Open full-size image
Sources and further reading

中文

A local interface still sends screenshots to the chosen model

The current setup targets Linux X11, with xournal++ and a pen tablet in the author's workflow, plus an installed and signed-in model command-line agent. A local harness handles capture, calls and annotation; it does not establish offline inference. The guide says screenshots of every monitor and, with the plugin, the whole current notes page go to the chosen model—not only the boxed expression.

Anyone trying it should first check system requirements, account allowances and other material visible on their screens. The October 20 code supports Claude Code, Codex and Antigravity, but an extra route does not establish equal recognition accuracy. A useful follow-up would compare transcription, false corrections and hints on the same unfamiliar handwritten problems. We do not yet have that test.

Sources and further reading