fossunited/mon_school

Record all livecode executions

Closed this issue · 1 comments

It is important to capture all the livecode executions for the following reasons:

  1. execution is a marker of activity on the site and it could be used for tracking activity on the site
  2. that gives us a sense of how easy or difficult the problems are, where are people getting stuck, identify if are getting stuck and offer help before they decide to drop etc.

That will also help us to write test cases to see what kind of errors people are making with each kind of problems.

Fields

Create a new doctype with nameCodeRun.

The fields are documented in #5.

  • name: autogenerated
  • code: the code that is executed
  • result: the result of the execution, same as what is returned by the API
  • status
  • url
  • course
  • lesson
  • batch
  • example
  • exercise
  • sketch
  • source_type -- sketch|example|exercise
  • failure_type -- None|syntax-error|name-error|value-error
  • error_message

Done.