Skip to content

Releases: google/prog-edu-assistant

Developer pre-release v0.8

15 Sep 19:02
Compare
Choose a tag to compare
Pre-release

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

15 Sep 16:04
Compare
Choose a tag to compare
Pre-release

A fix to actually include all changes advertised in v0.7.

Developer pre-release

15 Sep 15:58
Compare
Choose a tag to compare
Developer pre-release Pre-release
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

10 Sep 17:20
Compare
Choose a tag to compare
Developer prerelease Pre-release
Pre-release

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

28 Jul 21:07
Compare
Choose a tag to compare
Pre-release

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

03 Jun 08:19
Compare
Choose a tag to compare
Pre-release

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

27 Mar 16:10
Compare
Choose a tag to compare
Pre-release

Renamed the attribute of student_tar rule to be standard 'deps' for consistency with other rules.

Continue testing external integration

24 Mar 22:40
Compare
Choose a tag to compare
Pre-release

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.

22 Feb 03:36
Compare
Choose a tag to compare

A pre-release intended to test depending on this project from external Bazel repositories.