swarm-0.5.0.0: 2D resource gathering game with programmable robots
LicenseBSD-3-Clause
Safe HaskellSafe-Inferred
LanguageHaskell2010

Swarm.Doc.Pedagogy

Description

Assess pedagogical soundness of the tutorials.

Approach:

  1. Obtain a list of all of the tutorial scenarios, in order
  2. Search their "solution" code for commands
  3. "fold" over the tutorial list, noting which tutorial was first to introduce each command
Synopsis

Documentation

renderTutorialProgression :: IO Text Source #

Generate a document which lists all the tutorial scenarios, highlighting for each one which commands are introduced for the first time in the canonical solution, and which commands are referenced in the tutorial description.

generateIntroductionsSequence :: ScenarioCollection -> [CoverageInfo] Source #

Extract the tutorials from the complete scenario collection and derive their command coverage info.

data CoverageInfo Source #

Tutorials augmented by the set of commands that they introduce. Generated by folding over all of the tutorials in sequence.

data TutorialInfo Source #

Tutorial scenarios with the set of commands introduced in their solution and descriptions having been extracted