Skip to content

calico-team/CALICOlib

Repository files navigation

CALICOlib

CALICOlib is a framework to help facilitate problem creation on DOMjudge. Currently, the library helps with test generation and creating problem zip, which is based on the ICPC problem package specification

Installing

python -m pip install calico_lib

Alternatively, install the development version using flit.

brew install flit # or another package manager like pip or pipx
git clone https://github.com/calico-team/CALICOlib.git
cd CALICOlib
flit install --symlink

Quick Start

See examples/add. Also see https://github.com/calico-team/CALICOlib/blob/main/examples/add/main.py

Development

Bump version number in __init__.py and run flit publish or another build tool. See documentation for flit.

Roadmap

Problem / Test Generation / Test Verification:

  • Remove problem dir thingy, just cd
  • Support test case from file
  • Rethink API (Subproblem should be Problem and Problem should be MultipartProblem)
  • I thought about it, it's a bad idea

Other stuff:

  • Upload problem to testing contest
  • Create contest
  • Create contest.zip

Similar tools

https://github.com/RagnarGrootKoerkamp/BAPCtools

About

Library to help problem creation for domjudge.

Resources

License

Stars

Watchers

Forks

Packages

No packages published