All Projects → codewars → runner

codewars / runner

Licence: other
Issue tracker for Code Runner

Projects that are alternatives of or similar to runner

CodeWars
Daily Coding Exercises to sharpen problem solving skills
Stars: ✭ 67 (+168%)
Mutual labels:  codewars
codewars
Rank: 4 kyu | Completed: 105
Stars: ✭ 20 (-20%)
Mutual labels:  codewars
codewars python solutions
My CodeWars solutions in Python.
Stars: ✭ 111 (+344%)
Mutual labels:  codewars
code-executor
A CLI/library to execute code against test cases in various languages and obtain relevant results. 🚀
Stars: ✭ 9 (-64%)
Mutual labels:  code-runner
CodeWars-8-kyu-Soluitions
CodeWars-8-kyu-Soluitions (Please leave a star thank you) Created by https://github.com/Automedon
Stars: ✭ 52 (+108%)
Mutual labels:  codewars
codewars-python
No description or website provided.
Stars: ✭ 20 (-20%)
Mutual labels:  codewars
CodeWars-6-kyu-Soluitions
CodeWars 6 kyu Soluitions (Please leave a star, thank you) Created by https://github.com/Automedon
Stars: ✭ 75 (+200%)
Mutual labels:  codewars
Codewars
CodeWars Solutions (Please leave a start. Thank you)
Stars: ✭ 156 (+524%)
Mutual labels:  codewars
javascript
in this project, I will add Javascript functions from Basics to Advanced with design patterns
Stars: ✭ 41 (+64%)
Mutual labels:  codewars
challenges
My solutions for random coding challenges 💪
Stars: ✭ 44 (+76%)
Mutual labels:  codewars
python-test-framework
Codewars test framework for Python
Stars: ✭ 40 (+60%)
Mutual labels:  code-runner

codewars/runner

Issue tracker for CodeRunner used on Codewars and Qualified.

Reporting Issues

Please report any language related issues here.
For anything else about Codewars, please use codewars/codewars.com.

Feature Requests

Please open new issues using appropriate issue templates.

Code

CodeRunner itself is not open source, but it's roughly equivalent to the following:

$ WORKDIR=/workspace/
# Create a container
$ C=$(docker container create --rm -w $WORKDIR language-image cmd args)
# Copy files
$ files | preprocess | docker container cp - $C:$WORKDIR
# Run
$ docker container start --attach $C | postprocess
  • WORKDIR is not always /workspace/ and can be a subdirectory of it (planned to be standardized in the future)
  • preprocess is responsible for the file layout and any code modifications necessary for backwards compatibility (e.g., concatenation)
  • postprocess transforms the output when necessary (e.g., Codewars test output from JSON)

Images can be used with local files by changing the step to copy the files:

$ docker container cp ./files/. $C:$WORKDIR
#                            ^^
#                            copy contents and not itself

Container images are available on DockerHub under qualified.

Contributing

Contributions are welcomed!

For now, please look at the following places:

Feel free to open issues to ask us if you'd like to contribute in other ways.

Supported Languages

Stable

Beta

Requested

See issues with language request label.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].