Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • learn-renku/teaching-on-renku/autograde
  • fotis.georgatos/autograde
2 results
Show changes
Commits on Source (9)
# For finding latest versions of the base image see
# https://github.com/SwissDataScienceCenter/renkulab-docker
ARG RENKU_BASE_IMAGE=renku/renkulab-vnc:771cc49
ARG RENKU_BASE_IMAGE=renku/renkulab-vnc:0.10.1
FROM ${RENKU_BASE_IMAGE}
# Uncomment and adapt if code is to be included in the image
......
# autograde
`autograde` is a toolbox for testing Jupyter notebooks. Autograde executed of notebooks with consecutive unit testing of the final notebook state and allows refining results (e.g. grading plots by hand) in the audit mode. Autograde summarizes results in human and machine-readable formats.
`autograde` is a toolbox for testing Jupyter notebooks. Autograde executes notebooks with consecutive unit testing of the final notebook state and allows refining results (e.g. grading plots by hand) in the audit mode. Autograde summarizes results in human (html) and machine-readable (JSON) formats.
https://github.com/cssh-rwth/autograde
## Demo
......@@ -27,7 +27,7 @@ This command generates a compressed archive named `results_[Lastname1,Lastname2,
- `restults.json`: test results
### Inspect and edit automatic grades
Let's use `autogarde audit` to inspect and edit the grades generated by automatic testing located in subfolder `grading/`.
Let's use `autograde audit` to inspect and edit the grades generated by automatic testing located in subfolder `grading/`.
```bash
autograde audit grading/
```
......@@ -57,9 +57,9 @@ unzip results_\[Bar\,Foo\]_598b9a96.zip
popd
```
Here is how the generated report looks like:
![image](https://renkulab.io/gitlab/learn-renku/teaching-on-renku/autograde/raw/master/images/report.png)
You can display the full contents of `grading/report.html` by opening it either from interactive session or locally.
Here is how the generated `grading/report.html` looks like:
![image](https://renkulab.io/gitlab/learn-renku/teaching-on-renku/autograde/raw/master/images/report_html.gif)
You can display the full contents of this report by opening it either from interactive session or locally.
Let's summarise results and generate inside subfolder `grading/` the follwoing 2 files:
- `summary.csv` with aggregated results
......@@ -68,8 +68,6 @@ Let's summarise results and generate inside subfolder `grading/` the follwoing 2
autograde summary grading/
```
Here is how the generated summary looks like:
![image](https://renkulab.io/gitlab/learn-renku/teaching-on-renku/autograde/raw/master/images/summary.png)
You can display the contents of `grading/summary.html` by opening it either from interactive session or locally.
Here is how the generated summary `grading/summary.html` looks like:
![image](https://renkulab.io/gitlab/learn-renku/teaching-on-renku/autograde/raw/master/images/summary_html.gif)
images/summary_html.gif

2.12 MiB | W: 0px | H: 0px

images/summary_html.gif

738 KiB | W: 0px | H: 0px

images/summary_html.gif
images/summary_html.gif
images/summary_html.gif
images/summary_html.gif
  • 2-up
  • Swipe
  • Onion skin