Skip to content

Releases: olimpiadi-informatica/task-maker-rust

v0.5.10

20 May 08:15
6200932
Compare
Choose a tag to compare

Changes

  • Update dependencies
  • New plugin system for sanity checks
  • Add --skip-checks as synonym for -W
  • Category for sanity checks, and filtering by category
  • Check if the system supports the sandbox before starting
  • Add support for Unix sockets in client-server mode
  • Use nextest for running the tests in the CI
  • Deduplicate and group warnings about \n at end of files
  • Speedup diff checking by passing --brief and --speed-large-files
  • Default fuzz-checker standard to c++17
  • Implement SubtaskDependencies sanity check
  • Read score_precision from task.yaml and use it in the final ui
  • Configure dependabot to ignore patch updates
  • Disable solution symlink sanity check
  • Don't emit "missing \n at EOF" for binary files
  • Check if all the testcases in a subtask have the same output

v0.5.9

28 Dec 17:36
3a2abaa
Compare
Choose a tag to compare

Changes

  • General dependency update (#94 and others)
  • Fallback to CXX if TM_CXX is not set (and similar) #93
  • Sanity check to avoid #include <bits/stdc++.h> in .cpp/.cc files #81
  • Sanity checks pre_hook is now execute after building the task's DAG
  • Add sanity check for I/O files ending with LF #87
  • Add sanity check for attached files ending with LF #87
  • Add sanity check for no folder in att/ #87
  • Fuzz the custom checker with some junk output files #87
  • Fix bug when sending an empty content message
  • Sanity check: the grader and template in att/ should compile together #83
  • Add description field to SourceFile for better diagnostics
  • Sanity check: sol/template.ext should point to att/taskname.ext #94
  • Bufferize r/w in cache and store index #106
  • Make the status poll thread exit quicker
  • Deny clippy::string_slice as it's very risky to slice on strings
  • Trigger PPA build on release in dp1's repository

v0.5.8

18 Nov 17:29
6bf12e6
Compare
Choose a tag to compare

Changes

  • Draw testcase generation + UI fixes #76
  • Use the same criteria for coloring testcases and subtasks #80
  • Using subtask 0 for example in att/ for validation #82
  • Improve argument parsing #84

v0.5.7

11 Sep 18:54
6b3cce0
Compare
Choose a tag to compare

Changes

  • C/C++ includes resolve symlinks like GCC does (#58)
  • Add --extra-memory option (#60)
  • Fix UI colors for MacOS (#59)
  • Fix static compilation for MacOS (#61)
  • Add JS and C# support (#62)
  • Update cache format and loading (#65)
  • Many dependency updates (#67)
  • Fix Rust compilation with grader (#68)
  • Consider communication's solution TLE/MLE/RE for the score (#69)
  • Support generators in communication tasks (#70)
  • Add support for @check-partial-score (#73)
  • Add support for @check-zero (#74)

v0.5.6

12 Jun 14:33
62de46d
Compare
Choose a tag to compare

Changes

  • Migrate from structopt to clap
  • Options in --help are grouped
  • task-maker-tools shell auto completion
  • Fix: all solutions got zero if a subtask was empty
  • Fix: copy the available files even when the computation is stopped
  • task-maker-tools find-bad-case for looking for a testcase that makes a solution fail
  • \pynum macro uses python3 (fixes statement compilation on ubuntu)
  • Remove the need for TEXINPUTS when compiling statements
  • Update the dependencies
  • Optimization on startup time by changing the cache and index file format
  • Add --overwrite flag for task-maker-tools add-solution-checks
  • Error messages have more context
  • Show diagnostics for failed asy/cropping executions
  • Ignore broken symlinks in fuzz/ in the sanity check
  • Check that all the sample files are symlinked in att/

v0.5.5

16 May 16:07
a6be255
Compare
Choose a tag to compare

Changes

  • Link the terry managers statically
  • Fix spurious spaces in example section of the statement (c7ffddd)
  • Add sanity check that no @check rules are present in the attachments
  • Generators, validators and checkers are allowed to be multiprocess/multithreaded
  • --version has a cleaner output
  • task-maker-tools fuzz-chercer raw artifacts are symlinked in the fuzz folder, together with a README
  • The fuzzed checkers have unlimited stack
  • TM_SUBTASK_NAME env is provided to the validators

v0.5.4

17 Mar 17:22
137a639
Compare
Choose a tag to compare

Changes

  • Switch to Rust 2021
  • Better error messages with diagnostic information

v0.5.3

03 Mar 21:10
f475f0c
Compare
Choose a tag to compare

Changes

  • Always copy the compiled manager in communication tasks
  • --version now shows more details version information
  • The subtask sanity check for the statement now supports the \subtask macro
  • Split warnings into warnings and errors (which are showed in red)
  • Warn in yellow when a solution is close to the time limit (both slightly lower than the TL, and slightly higher than the TL)
  • Add support for named subtasks in gen/GEN (#STNAME: commands)
  • Add support for result-checking comment in the solutions (@check rules), see #34
  • Add add-solution-checks tool for automatically adding the checks to the solutions

v0.5.2

02 Feb 23:37
c17466b
Compare
Choose a tag to compare

Changes

  • Fix worker sandbox spawning and sandbox in tm-tools sandbox (thanks to @veluca93)
  • Use task-maker-tools sandbox instead of self-execing
  • Some fixes for MacOS (thanks to @bortoz)
  • task-maker-tools fuzz-checker (thanks to @veluca93)
  • More sanity checks and few improvements to the existing ones (thanks to @bortoz)
  • Support compilation of source files with a name starting with a dash
  • Try to use Ansi256 colors if they are supported by the console
  • Default logging level is now warn
  • Support for user_io: std_io in communication tasks
  • Fix missing translations in communication manager's outcome

v0.5.1

15 Nov 23:37
92a48f1
Compare
Choose a tag to compare

Changes

  • Add --priority flag for remote evaluation
  • task-maker-tools booklet
  • Nicer task detection
  • Add Rust support
  • Macro for reading limiti.py from the statement
  • Macro for writing nicer signatures
  • Fix for macOS Monterey