Giter Club home page Giter Club logo

coderunner's Introduction

CodeRunner

An online judge to conduct programming contests or run 24*7 programming site. It was initially born out of the need for organising IIT Roorkee programming competition INSOMNIA. Later development occurred when the need arose for powering the internal programming arena of IIT Roorkee. In this documentation you will find everything that you need for using it in your local programming competition or for its further development.

Demo

Insomnia Not a full featured demo but you can see how CodeRunner was used in action! Already being used in Codevillage (The coding arena of IIT Roorkee on intranet).

Features

  • Download source code files via HTTP/FTP.
  • Compilation of source code files.
  • Execution of files.
  • Matching output produced by executing files with the standard solution.
  • Status given - Compilation Error, Wrong Answer, Time Limit Exceeded, Runtime Error, Memory Limit Exceeded.
  • Gives time of execution, memory used, type of runtime error(in case of runtime error) and compilation error(in case of compilation error).

Languages supported

  • C/C++
  • Python
  • Perl
  • Pascal
  • PHP
  • Java

TODOs

  • Matching output with 10^-6 precision error.
  • Securing the uploads.
  • Add support for threads.
  • Add support to run on multiple servers concurrently.

coderunner's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

coderunner's Issues

Changes to do.

I guess all of u working on the coderunner remember what problems it faced during Insomnia. Let me revise it for u.

  1. "\n" thing. All the "\n"s were replaced by newline while coderunner was fetching the source code. The main reason behind this was some change in php config at the cogni server as stated by nemo/rushil . May be ask them for the correct reason.
  2. The interruption from cloudflare. The pings made by coderunner on the server invited some interruption from cloudflare. The url pinged did not return the source code but some html from cloudflare that we are pinging too much. For this reason we had to constantly take coderunner off / even had to take cloudflare down but that resulted in delayed judging/ unresponsive website respectively.

Now the changes that I suggest is:
CodeRunner SHOULD NOT ping the server for submission details. This is not the way things should be. CodeRunner should listen to a port on localhost where the server can do a "POST" request with all the submission details in the JSON form. Read the data from JSON, and process accordingly. The judgement result pushing neednot be changed. This model will sovle both the problems stated above, make coderunner more portable and moreover it is the correct way of interraction between applications. Better would be branch out at this point to work on this feature. There is nodejs library for cpp ( "node.h" as i remember) for this purpose. I hope this will be given the higher preference among other features. If u have any implementation related query, feel free to ask.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.