Releases: google/prog-edu-assistant
Developer pre-release v0.8
Changelog:
Implemented data file inclusion into student_tar and autograder_tar.
* student_tar:
Use the attribute `data` to include either source
file labels directly, or pkg_tar labels to include the contents
of a tar file. Note: we cannot put the data dependencies
together with notebook dependencies, as notebooks are filtered
with *.ipynb.
* autograder_tar:
Add the pkg_tar labels directly to `deps`.
Developer pre-release v0.7.1
A fix to actually include all changes advertised in v0.7.
Developer pre-release
Changelog:
- Added --preamble_metadata flag to go/cmd/assign
- Added corresponding attribute preamble_metadata to the Bazel build rule assignment_notebook.
Developer prerelease
Changes:
- Use explicit context markers # (GLOBAL|EXERCISE) CONTEXT
- Add check_cell_template attribute to student_notebook Blaze rule to create Colab autograder submit cells.
Development prerelease
Two important changes:
- A minor fix in %autotest magic implementation to use a copy of user environment as a global environment
- Created some draft code towards automated local integration testing.
Minor improvements for debugging
v0.4: Development prerelease
This release enables a coule of options for debugging autograder.
Running grader manually inside of the container
This release include the 'grade' binary into autograder image to facilitate easier debugging of nsjail problems inside the Docker container. Typical workflow may look like this:
# Build the docker image
docker/build-docker-image.sh
# Start the autograder container locally
docker/start-local-server.sh
# Autograding does not work for some reason
# Start a shell inside the autograder
docker exec -it "${DOCKER_IMAGE}" /bin/bash
# Try to run grading manually inside of contaner, reuse an existing submission
grade --alsologtostderr --autograder_dir /autograder /tmp/uploads/7068c221-51a5-4c68-96b6-577f407ccde0.ipynb
Including nsjail logs into autograder reports
A simpler option is to enable more detailed logs in the autograder reports by adding the flag
--include_logs_to_report
. For example, start the local autograder container with:
docker run -p 8000:8000/tcp --rm --name "${DOCKER_IMAGE}" "${DOCKER_IMAGE}":latest \
--logtostderr \
--v=5 \
--disable_cleanup \
--auto_remove \
--log_to_bucket=0 \
--use_openid=0 \
--use_jwt=0 \
--secure_cookie=0 \
--include_logs_to_report
Incompatible change in student_tar rule
Renamed the attribute of student_tar rule to be standard 'deps' for consistency with other rules.
Continue testing external integration
This release adds Docker scripts so that the full deployment image can be built from an external repository,
using Bazel for managing build and dependencies.
Initial release tag to test external integration.
A pre-release intended to test depending on this project from external Bazel repositories.