Agentic Coding · Masterclass · Learning apps & edtech

Checking Maths Answers Automatically: A Masterclass on CAS Evaluation in Learning Apps

Recognise equivalent answers reliably, whether x² − 1 or (x − 1)(x + 1), with formula input, computer algebra on the server and a test base of realistic learner input.

  • Workshops & trainings since 2014
  • jocapps GmbH · Freiburg, Germany
  • The team behind Mathe-VollLogo
Format
Masterclass
Duration
1 day (7.5 hours)
Delivery
Live online · On-site (in-house) · Hybrid
Group size
4–10 participants
Level
Advanced
Language
German or English

Tools: Claude Code · Python · SymPy · MathLive · TypeScript

Multiple choice is easy to grade but often gives the answer away. Free-form input is more valuable for learning, yet checking maths answers automatically raises hard questions: is 0.5 the same as 1/2, is an unsimplified answer correct, and how do you handle bracket typos? In this masterclass you use Claude Code to build an evaluation chain of formula input, parser, computer algebra with SymPy and grading rules. A test base of realistic input exposes edge cases before learners find them.

Who the answer checking masterclass is for

Developers of learning apps, assessment platforms and university systems who need to grade free-form mathematical input and have back-end experience.

What you'll walk away with

  • Define grading rules for equivalence, form and precision with subject experts
  • Parse formula input robustly and catch common input mistakes
  • Check equivalence symbolically, backed up by numerical sampling
  • Generate feedback that distinguishes wrong, incomplete and not simplified
  • Build a test base of realistic input and extend it continuously

Typical scenarios

  1. A learning app accepts only factorised forms when factorising, yet recognises any order of factors and sign variants as correct.
  2. A university platform grades integrals with any constant of integration and reports a missing constant specifically.
  3. With the test base, a team discovers that input using a decimal comma was being wrongly rejected as a syntax error.

Does this fit your team?

Pick a few dates that suit you. The request is non-binding, and the agenda is tailored in a short call beforehand.

Request dates

What the answer checking masterclass covers

  1. What correct meansEquivalence, required form, rounding and units as grading rules agreed with learning designers.
  2. Input and parsingFormula input with MathLive or a text field, decimal commas, implicit multiplication and bracket errors.
  3. Checking with computer algebraSymbolic simplification with SymPy, its limits and numerical sampling as a second safeguard.
  4. FeedbackDistinguish partly correct, not simplified, wrong form or calculation error and report it clearly.
  5. Test base and operationsReal and synthetic input as tests, time limits, protection against malicious input and logging.

Before the answer checking masterclass: prerequisites

  • Experience with Python and back-end development
  • A laptop with Python, Node.js and access to a coding agent

Materials you keep

  • An evaluation module with parser, computer algebra and grading rules
  • A test base with edge cases and common input mistakes
  • Guidance for agreeing grading rules within the team

How it works

  1. Request with preferred datesTick the date proposals that suit you or name a period of your own.
  2. Short callWe talk about your goals, prior knowledge and the tools your team already uses.
  3. Agenda for your teamYou receive a plan tailored to your group, with exercises that match your subject and material.
  4. Course and materialsThe course runs online, on-site or hybrid, and you keep the materials afterwards.

Why train with us

  • jocapps GmbH has offered workshops and trainings since 2014. The topics have moved with the technology; today the focus is on agentic coding and prompt engineering.
  • Hands-on rather than slides: you practise on realistic examples from maths and STEM, or on your own tasks, code or prompts if you wish.
  • Online, on-site or hybrid, held in German or English.
  • jocapps GmbH is certified to ISO 27001 (information security) and ISO 9001 (quality management).

Questions about the answer checking masterclass

Can SymPy decide every equivalence?

No. General equivalence of expressions is not decidable in every case, and simplification can take a long time. That is why we combine symbolic checks with numerical sampling, time limits and clear rules for uncertain cases.

Is it safe to pass user input to a CAS?

Only with precautions. We cover safe parsing without executing arbitrary code, size and time limits and isolated execution, so that manipulated input does no harm.

Why not let a language model do the grading?

Language models are unreliable on expression equivalence and hard to reproduce. They are good at writing feedback text, but the decision on right or wrong should be deterministic.

Is the masterclass held online or on-site, and in which language?

Both are possible: live online, at your premises (in-house) or hybrid. The course is held in German or English; you choose when you send the request.

Can the content be tailored to our team?

Yes. The agenda, examples and emphasis are agreed in the call beforehand, based on your team's prior knowledge, subjects and tools. On request we work with your own exercises, data or code.