Time2Code icon indicating copy to clipboard operation
Time2Code copied to clipboard

feature question

Open mjhea0 opened this issue 8 years ago • 3 comments

Thoughts before I add a PR?

I'd like to add the ability to "grade" project challenges. Sample workflow:

  1. Student forks a Flask app from GitHub that is fully tested, but missing the routes/views
  2. Student adds the routes/views to project locally, and then pushes up the changes to his/her repo
  3. Student then submits the GitHub link to his/her repo in the Time2Code webapp
  4. Time2Code then forks down the students project along with the original, upstream project. The "tests" directory is taken from the upstream and added to the student project (this helps to prevent cheating)
  5. Time2Code then spins up the project, runs the tests, and spits back out the results

Would this be a separate project altogether?

mjhea0 avatar Sep 23 '17 13:09 mjhea0

My thoughts on it are I like the idea. It would be like a a code test portion of Time2Code.

I think being able to test your code, whether for grading or other wise would be a great addition.

JockDaRock avatar Sep 23 '17 14:09 JockDaRock

I really like the sound of this. I wonder if we can build some of it with new FaaS functions too.

alexellis avatar Sep 23 '17 14:09 alexellis

Feel free to discuss with the Slack group too - sounds awesome

alexellis avatar Sep 23 '17 14:09 alexellis