This is a very simple demo that uses the Fix Explainer library:
- the
generate.py
file is a short end-to-end demo of using the library to generate fixes to incorrect student code, and outputing the generated data into a useable html file- this example generates the appropriate files in the
html
andjson
folders
- this example generates the appropriate files in the
- the
html
folder contains some sample generated html files,- it also contains the hand-made files
fixes.css
andfixes.js
, which are automatically imported by the html generated bygenerate.py
and demonstrate one way of using the fix data to create an interactive interface- with this file structure, you can just open any of the html files in the browser and they should work interactively as intended
- it also contains the hand-made files
- the
json
folder contains.json
files with the dump of the output as generated by the fix explainer.