PoC Assembly - Kick Off Python Code Compilation and Execution by NodeJS

Register
Submit a solution
The challenge is finished.

Challenge Overview

Project Overview

This contest is going to do some initial research to using Node.JS to kick off Code Compilation and Testing.  This contest is going to use Python Code for proof of concept.

Competition Task Overview

This contest is going to write Node.js code to kick off process to compile and run Python Code and monitor resource usage of that process, like time, memory etc.

Following is the general requirements.

  • use child process to  kick off process for compiling and running Python Code.
  • use python command for compilation and execution
  • The node.js code should be able to capture the status of compilation and running, like compiling success/failure, output of the running code.
  • The Python Code should not be trivial, you can write up some code based on some SRM problem, or learn from others in the practice rooms.
  • The Node.js code should moinitor resource usage of that process, including time and memory, see https://stackoverflow.com/questions/10730429/how-to-get-a-child-process-memory-usage-in-node-js as one possible approach to monitoring the memory utilization
  • THe Node.js code should pipe in input to the python code (like test input).
  • The solution should be based on CentOS 6.4 with python installed.


Final Submission Guidelines

Submission Deliverables

Below is an overview of the deliverables:

  • Node.js Code
  • Sample Python Code
  • Detail Deployment Guide describing your solution.

Final Submission

For each member, the final submission should be uploaded to the Online Review Tool.

ELIGIBLE EVENTS:

2014 TopCoder(R) Open

Review style

Final Review

Community Review Board

Approval

User Sign-Off

ID: 30039427