Skip to main content

Command Line Interface for TuringArena

Project description

TuringArena

Join the chat at https://gitter.im/turingarena/turingarena

Create algorithmic challenges!

TuringArena is a toolkit and platform which allows to:

  • define challenges which require an algorithmic solution;
  • get/provide automatic evaluation of submitted solutions for an immidiate feedback to the problem recipient (student, class, employee/user/costumer to be trained/evaluated upon some competences), or for problem/system testing for the problem maker or proposer (teacher, trainer, advisor), or for student/team evaluation purposes;
  • allow and organize the immediate use, the shared development, the publication and the promoting of the problem with possibly an eye to the respecting of the paternity and intellectual property of the problems that we fully recognize as forms of valuable content (we ourselves started this up as problem developers as part of our service for the italian olympiads in informatics and within our classes).

Some of the innovative features are:

  • a language independent workflow, the problem designer is required a basic knowledge in just one programming language of its choice, and can always decide to which languages the evaluation service of solutions is open;
  • virtually no restriction on the generality of challanges that can be represented;
  • support for defining and implementing with minimum effort meaty problems from various fields (mainly in computer science and mathematics, but let's offer more concrete hints: algorithms, reductions between problems, computational complexity, games in a broad sense, mathematical programming, criptography, zero-knowledge proofs, programming tasks in specific languages or environments, workflows, ... and even support for problem solving without programming);
  • high levels of interactivity allowed and open ends for gamifications;
  • an effective problem sharing approach which allows teachers and the like to organize in networks collaborating to the joint development of problem based didactive projects for the active learner and open source publishing the problems without neither spoiling them nor giving up their paternity, possibly even copyrighting them.

Getting started

Here is how to use TuringArena on your local machine to develop and test challenges.

Prerequisites

TuringArena is currently supported only on Linux. To use TuringArena on a local machine, the following tools are needed:

Install / Upgrade

Install / upgrade the CLI client:

sudo pip3 install -U turingarena-cli

Install / upgrade the server (Docker image):

sudo docker pull turingarena/turingarena

Usage

To start the server, run:

turingarena daemon start --sudo --detach

To stop the server, run:

turingarena daemon stop --sudo

At the moment, to work on a challenge, the code must be placed in a (local) Git repository.

To evaluate a solution, cd in the directory of the problem and run:

turingarena evaluate path/to/solution.cpp

First tests (running the example problems)

  1. Clone this repository.
git clone https://github.com/turingarena/turingarena.git
  1. cd into any of the example problem directories. Example:
cd examples/sum_of_two_numbers/
  1. Evaluate a solution, say, correct.cpp:
turingarena evaluate solutions/correct.cpp

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

turingarena_dev-0.0.2.dev724-py3-none-any.whl (113.8 kB view details)

Uploaded Python 3

File details

Details for the file turingarena_dev-0.0.2.dev724-py3-none-any.whl.

File metadata

  • Download URL: turingarena_dev-0.0.2.dev724-py3-none-any.whl
  • Upload date:
  • Size: 113.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.20.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

File hashes

Hashes for turingarena_dev-0.0.2.dev724-py3-none-any.whl
Algorithm Hash digest
SHA256 0be1f73d35e7e28b6c857c7444c2670fbd2d58ade0e4f637e253147d92f7b074
MD5 3bcf5391219edca137a0f1b3933a3aad
BLAKE2b-256 e3d93e0c43258416cf865cb9f687747a8719a5af0b14175c2a55821ec7cfdcfb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page