Tracking user interactions in Jupyter notebooks in an interaction provenance graph.
In following two short screencasts presenting an early prototype with the provenance tracking in action.
After jumping back to an earlier state the user can continue with a different path of the analysis, which results in additional branches in the provenance graph.
jupyter labextension install @visualstorytelling/jupyterlab_nbprovenance
You can also use this with the Docker base images:
FROM jupyter/minimal-notebook
RUN jupyter labextension install @visualstorytelling/jupyterlab_nbprovenance
CMD start.sh jupyter lab
For a development install (requires npm version 4 or later, yarn, and jupyterlab), do the following in the repository directory:
yarn install
jupyter labextension link .
Then build the files and start Jupyter Lab:
yarn watch
# in new window
jupyter lab --port=8889 --watch
Reload the page to see new code changes.
First install cypress:
npm install -g cypress@1.0.3
Then you can run the tests:
cypress run
Or open Cypress for an interactive experience:
cypress open
If you have Docker version >= 17.09.0-ce installed, you can also do all of the above with:
docker-compose up lab
Then you can run the tests with:
docker-compose run --rm test
If you change the installed packages, you have to remove the existing volume and rebuild the images:
docker-compose down -v
docker-compose build