hints on specializing the code for italian, math exercises & solutions

asked 2014-09-23 07:56:26 -0600

paolini gravatar image

updated 2014-09-23 07:57:33 -0600

I would like to create a server to gather math exercises (instead of questions) with solutions (instead of answers) in italian.

It seems to me that there are not so many modifications to achieve this. I'm seeking hints on how and where to put my hands. Also it would be nice to know if some of this functionality could be contributed back to askbot.

Here is a list of what I think it should be modified:

  1. ENGLISH -> ITALIAN. I see that the italian translation is far from being complete and I would like to give help. But: if I fork the code can I anyway benefit or contribute to the original translation pool?

  2. QUESTION/ANSWER -> EXERCISE/SOLUTION. Exercises usually don't have a title. Instead they have some more specialized attributes such that: school_level, difficulty, topics. So there is something to modify. However it could be good to maintain the possibility to also have a Q&A part in the same site (even if it is not currently planned). So what is best among the following? (2a) modifiy the Question and Answer classes to fit my case (assuming I don't need Q&A functionality). (2b) modify the Question and Answer classes to server both as Q&A and also as E&S (exercise/solution) by adding the required attributes and putting a flag to distinguish the two families. (2c) add Exercise/Solution models by copying Question/Answer and then modify them. Eventually extract a common ancestor of both sets of classes.

  3. COURSE PAGE. I would like that teachers can create pages for their Courses where they can officially collect past exercises. Only the owner of the course can add exercises to it. Maybe he can mark solutions as "official" and can mark the problem statement so that it cannot be modified (or better: he can check modifications to the problem and accept them).

The Course object should be a variant of the Tag? or it must be a new model?

Thank you for any hint, suggestion, or anything...

edit retag flag offensive close merge delete