ethereum / play

playproject
https://playproject.io
MIT License
22 stars 5 forks source link

exercise/lesson validation (dressed as a "virtual customer" regarding the user experience) #75

Closed serapath closed 5 years ago

serapath commented 5 years ago

@todo


Idea

  1. The workshop app lists tasks (exercises, exams, ...)
  2. Users choose a task and solve the code inside the editor and then submit
  3. In case of exercises, the submitted code is checked/validated by a bot
    • if pass => bot merged the users pull request to solve the exercise
    • if fail => bot comments on pull request and asks user to try again
  4. User codes until pull request is merged and gets rewarded (eventually with a payment)

goal: Refining this workflow for users helps us to tune our tooling until it is good enough to add exams (=paid tasks) where the bot is replaced with a real "customer" who wants to outsource work and pays the learner.


@bit-shift

Related

more

serapath commented 5 years ago

implementation inspiration

serapath commented 5 years ago

INSPIRATION (helper librarys for AST checking)

These are used for JavaScript, but to have something similar for solidity could be very useful

If so - we could brainstorm about the API and how to make it module (e.g. AST tree walker, etc...) Also - the alternative to a convenient AST checking library would be to focus on the compiler output and compare metadata and abi, but this won't help us a lot when it comes to figure out details about implemented methods :-) ...so yeah, what do you think?