JockDaRock / Time2Code

Portable Scalable web code editor to integrate into your sites and learning experiences
MIT License
313 stars 36 forks source link

feature question #6

Open mjhea0 opened 7 years ago

mjhea0 commented 7 years ago

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?

JockDaRock commented 7 years ago

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.

alexellis commented 7 years ago

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

alexellis commented 7 years ago

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