Thread:Project:Support desk/Possibility of turning MediaWiki into a tutoring program?

I'm thinking about possibility of creating an interactive science encyclopedia/textbook, which will contain articles of different complexity and style and itself make decisions, which articles to show to the reader, depending on his/her current knowledge. It must be something similar to http://en.wikipedia.org/wiki/Knewton, but free, modifyable by users, with its own CC-BY-SA text articles, problems, and links to YouTube videos. Each user must be able to specify a topic he/she wants to study, and then read, watch and answer the material, selected by the program according to the knowledge, interests, and capabilities of the user. The algorithm is clear to me, but I barely imagine how to program it. (I'm just a professional astrophysicist and a Wikipedia author, with some intermediate experience in C++) Could you please suggest what I should start with and whether it sounds possible at all? Does modifying MediaWiki engine for these purposes sound like a viable idea? (The engine must hold information about knowledge of the reader in all subtopics, complexity of all articles and problems, must recalculate these knowledge and complexity after each solved problem, and must chose the best articles, which are expected to improve the knowledge of a particular user the most rapidly.) Thank you for any advice!