• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tjcsl / tin
59%

Build:
DEFAULT BRANCH: master
Repo Added 29 Jun 2024 11:18PM UTC
Files 52
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • bump-deps
  • bytes
  • choose-python
  • docker
  • docker-improvements
  • error-msg
  • file-action
  • filtering
  • fix-dev
  • fixups
  • images
  • master
  • move-docs
  • nix-ruff
  • pre-commit-ci-update-config
  • quiz-sub-limit
  • teacher-submissions
  • tests-submissions
  • typo
  • uv
  • v2024.07.01
  • v2024.08.03
  • v2025.01.08
  • v2025.01.08.2
  • v2025.01.10
  • v2025.05.27
  • v2025.06.05
  • v2025.06.09
  • v2025.08.13
  • v2025.08.13-2

17 Jan 2026 03:38AM UTC coverage: 58.91% (+0.3%) from 58.654%
21087843462

push

github

web-flow
Allow choosing custom versions of python for graders (#92)

## Motivation
* Sets us up for supporting Java (notably this DOES NOT add official
Java support)
* Allows us to offer higher versions of python, without breaking
backwards compatibility with graders relying on python 3.10 behavior

This PR also does not add a warning banner if an assignment is using a
deprecated version of a language, in order to reduce the already large
and complex diff. This would be better as a "good first issue".

## Implementation
This adds a new model, `Language`, which stores information about the
language, binary path, and more. The field `Assignment.language` has
been moved inside said model. All the information about the specific
language is stored in a dictionary called `info`.

The `info` dictionary must contain a `version` key that is sortable. For
the `python` grader language, it must also contain the key `python3`
which has the absolute path to a python executable.
The addition of another language to Tin can then consist of simply
adding other keys to the `info` dictionary as needed.

> [!IMPORTANT]
> Custom migrations were written in order to facilitate this transition
with minimal problems.

The rest is just some restructuring:
* Changes the `run_submission` task to use the assignments executable
* Filters the edit assignment/create venv to only show non-deprecated
language options.
* Changes the `create_venv` task to use the correct executable

470 of 969 branches covered (48.5%)

Branch coverage included in aggregate %.

59 of 82 new or added lines in 12 files covered. (71.95%)

1 existing line in 1 file now uncovered.

1745 of 2791 relevant lines covered (62.52%)

0.63 hits per line

Relevant lines Covered
Build:
Build:
2791 RELEVANT LINES 1745 COVERED LINES
0.63 HITS PER LINE
Source Files on master
  • Tree
  • List 52
  • Changed 12
  • Source Changed 0
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
21087843462 master Allow choosing custom versions of python for graders (#92) ## Motivation * Sets us up for supporting Java (notably this DOES NOT add official Java support) * Allows us to offer higher versions of python, without breaking backwards compatibility w... push 17 Jan 2026 03:40AM UTC web-flow github
58.91
21087797386 choose-python Merge ac9f9c8bf into 592ca28e4 Pull #92 17 Jan 2026 03:36AM UTC web-flow github
58.91
21087787327 master [pre-commit.ci] pre-commit autoupdate (#113) <!--pre-commit.ci start--> updates: - [github.com/astral-sh/ruff-pre-commit: v0.13.3 → v0.14.13](https://github.com/astral-sh/ruff-pre-commit/compare/v0.13.3...v0.14.13) <!--pre-commit.ci end--> -----... push 17 Jan 2026 03:36AM UTC web-flow github
58.65
21087772087 pre-commit-ci-update-config Merge 7efc27f26 into 7a18b1c38 Pull #113 17 Jan 2026 03:34AM UTC web-flow github
58.65
21087771582 pre-commit-ci-update-config upgrade further push 17 Jan 2026 03:34AM UTC JasonGrace2282 github
58.65
20932267284 pre-commit-ci-update-config [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.13.3 → v0.14.11](https://github.com/astral-sh/ruff-pre-commit/compare/v0.13.3...v0.14.11) Pull #113 12 Jan 2026 07:29PM UTC web-flow github
58.65
20441767811 pre-commit-ci-update-config [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.13.3 → v0.14.10](https://github.com/astral-sh/ruff-pre-commit/compare/v0.13.3...v0.14.10) Pull #113 22 Dec 2025 07:22PM UTC web-flow github
58.65
20245105731 pre-commit-ci-update-config [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.13.3 → v0.14.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.13.3...v0.14.9) Pull #113 15 Dec 2025 07:39PM UTC web-flow github
58.65
20040649132 pre-commit-ci-update-config [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.13.3 → v0.14.8](https://github.com/astral-sh/ruff-pre-commit/compare/v0.13.3...v0.14.8) Pull #113 08 Dec 2025 07:44PM UTC web-flow github
58.65
19835479609 pre-commit-ci-update-config [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.13.3 → v0.14.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.13.3...v0.14.7) Pull #113 01 Dec 2025 07:51PM UTC web-flow github
58.65
See All Builds (433)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc