The Clojure representer runs using babashka. To generate a normalized representation of a solution:
./bin/run.sh <slug> <in-dir> <out-dir>
# Example:
./bin/run.sh "armstrong-numbers" "resources/armstrong_numbers/0/" "resources/armstrong_numbers/0/"
representation.txt
will be created in out-dir
along with mapping.json
containing the placeholder names.
./bin/run-in-docker.sh <slug> <in-dir> <out-dir>
To test 1000 solutions:
./bin/run-tests.sh
This is run in CI. It builds a container and runs /bin/run-tests.sh
in it.
./bin/run-tests-in-docker.sh