plugin:judge
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:judge [2016-01-29 15:25] – created smmsadrnezh | plugin:judge [2020-02-01 17:09] (current) – Aleksandr | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- plugin ---- | ---- plugin ---- | ||
- | description: | + | description: |
author | author | ||
email : masoud@sadrnezhaad.ir | email : masoud@sadrnezhaad.ir | ||
type : syntax | type : syntax | ||
lastupdate : 2016-01-18 | lastupdate : 2016-01-18 | ||
- | compatible : | + | compatible : !Binky, Ponder Stibbons |
- | depends | + | depends |
conflicts | conflicts | ||
similar | similar | ||
tags : judge, plugins | tags : judge, plugins | ||
- | downloadurl: | + | downloadurl: |
- | bugtracker : # eg. http:// | + | bugtracker : https:// |
- | sourcerepo : # eg. http:// | + | sourcerepo : https:// |
donationurl: | donationurl: | ||
Line 23: | Line 23: | ||
//:!: This is a prereleased version. Don't use it in production environment unless you are sure about what you are doing.// | //:!: This is a prereleased version. Don't use it in production environment unless you are sure about what you are doing.// | ||
+ | **Note:** it's not compatible with [[: | ||
===== Description ===== | ===== Description ===== | ||
- | The aim of Judge system is to test the correctness of programs and user's answers to questions related to computer science. The main difference between this plugin and other similar judge systems is it's simplicity and minimalistic design and making use of integrated tools of a Wiki software for defining the questions and their answers or test cases. Other main features of this system is the dependency of where users submit their answers or write questions from the other system which run the codes and send back the result, simplicity of nominating a question for judgement, controlling user's access to questions, submissions or answers. The installation process is straightforward and do not need to hack the core of Dokuwiki | + | The aim of Judge system is to test the correctness of programs and user's answers to questions related to computer science. The main difference between this plugin and other similar judge systems is it's simplicity and minimalistic design and making use of integrated tools of a Wiki software for defining the questions and their answers or test cases. Other main features of this system is the dependency of where users submit their answers or write questions from the other system which run the codes and send back the result, simplicity of nominating a question for judgement, controlling user's access to questions, submissions or answers. The installation process is straightforward and do not need to hack the core of DokuWiki |
===== Installation ===== | ===== Installation ===== | ||
- | The installation process is straightforward. Install | + | Search and install |
Set the directory which submission codes uploaded into after the installation. You must make this directory outside of directories which is in the web. | Set the directory which submission codes uploaded into after the installation. You must make this directory outside of directories which is in the web. | ||
Line 41: | Line 42: | ||
Use the following syntax to create a simple judge block in the page: | Use the following syntax to create a simple judge block in the page: | ||
- | < | + | |
- | {{judge}} | + | |
- | </ | + | |
==== Demo ==== | ==== Demo ==== | ||
Line 51: | Line 50: | ||
===== Syntax ===== | ===== Syntax ===== | ||
- | ^ Parameter Name ^ Description | + | ^ Parameter Name ^ Description |
- | | submit_id | + | | submit_id |
- | | timestamp | + | | timestamp |
- | | problem_name | + | | problem_name |
- | | username | + | | username |
- | | language | + | | language |
- | | type | two possible values: output-only and test-case | syntax parameter|test-case|Mandatory| | + | | type | two possible values: output-only and test-case |
- | | status_code | + | | status_code |
- | | valid_number | + | | valid_number |
- | | runtime | + | | runtime |
Basic syntax: | Basic syntax: | ||
- | < | + | '' |
* **key** can be one of this: | * **key** can be one of this: | ||
- | * //problem_name// | + | * '' |
- | * //type// --- test-case/ | + | * '' |
- | * //language// --- programming language for test-case kind of questions | + | * '' |
- | * //runtime// --- maximum runtime of the program | + | * '' |
- | * //method// --- tester.cpp/ | + | * '' |
===== Configuration and Settings ===== | ===== Configuration and Settings ===== |
plugin/judge.1454077510.txt.gz · Last modified: 2016-01-29 15:25 by smmsadrnezh