A tool to investigate and possibly annotate datasets that represent student programming processes in ProgSnap2 format.
The tool can be installed locally to open a single CSV file at a time. Install Node JS (linux packages) first. The following command takes a while to load the CSV into memory and then it should open the tool in browser (http://localhost:3333/).
git clone <the_repository_address>
npm install
npm start <my_dataset/MainTable.csv>
Alternatively, the tool runs on a Mongo database which helps to scale for any number of large datasets. The following commands are required to first, load any desired datasets into the database, and second, start serving from the database.
npm run load <dataset_id> <my_dataset/MainTable.csv> <description.txt>
npm start db
The Mongo database must be installed separately (eg. apt install mongodb).
Process environment can override default port and database parameters.
export PORT=3333
export DB="mongodb://127.0.0.1:27017"
export DB_NAME="progsnap2browser"
The aim is to follow recent TypeScript standards and use VS Code.
src/typesdefines types and type checking for csv datasrc/transformdata transformations (unittests exists intest/)src/serveran Express backend to serve minimal API over HTTPsrc/clienta client using Lit web components (reactive properties automatically re-render elements as required)
Compile the client for the browser:
npm test
npm run lint
npm run build