Skip to content

Validate question JSON before export - #50

Merged
peterbjohnson merged 5 commits into
devfrom
wb/t8
Sep 20, 2026
Merged

peterbjohnson merged 5 commits into
devfrom
wb/t8

Conversation

@peterbjohnson

Copy link
Copy Markdown
Member

A question can be perfectly valid JSON and still fail to import, or import and then render wrongly. Authors currently discover this by uploading and looking.

Done when in2lambda reports, before export, the problems it can reasonably detect: an answer box whose marking method does not fit its answer, a multiple choice whose options and answers disagree, an image that will not be found, and maths the platform cannot render (it uses KaTeX; for instance the usual degree symbol does not display). Each report should tell the author where to look.

The markdown delimiter checks added by PR #22 belong with these rather than in a second, separate checker.


Workbench ticket t8.

@peterbjohnson
peterbjohnson merged commit 5ad0ede into dev Sep 20, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant