Trane

Github Checks Status Coverage Status docs.rs Latest Version Stars

Trane is an automated practice system for the acquisition of arbitrary, complex, and highly hierarchical skills. That's quite a mouthful, so let's break it down.

Trane is based on multiple proven principles of skill acquisition, like spaced repetition, mastery learning, interleaving, and chunking. For example, Trane makes sure that not too many very easy or hard exercises are shown to a student to avoid both extremes of frustration and boredom. Trane makes sure to periodically reinforce skills that have already been practiced and to include new skills automatically when the skills that they depend on have been sufficiently mastered.

If you are familiar with the experience of traversing the skill tree of a video game by grinding and becoming better at the game, Trane aims to provide a way to help students complete a similar process, but applied to arbitrary skills, specified in plain-text files that are easy to share and augment.

Trane is named after John Coltrane, whose nickname Trane was often used in wordplay with the word train (as in the vehicle) to describe the overwhelming power of his playing. It is used here as a play on its homophone (as in "trane a new skill").

Quick Start

For a guide to getting started with using Trane, see the quick start guide at the official site.

For a video showing Trane in action, see the Tour of Trane video.

Documentation

Full documentation for The Trane Project, including this library, can be found at the official site

A Code Tour of Trane

A goal of Trane's code is to be as clean, well-documented, organized, and readable as possible. Most modules should have module-level documentation at the top of the file, which includes rationale behind the design choices made by the author. Below is a list of a few modules and files to get you started with understanding the code:

If there's a particular part of the code that is confusing, does not follow standard Rust idioms or conventions, could use better documentation, or whose rationale is not obvious, feel free to open an issue.

Contributing

See the CONTRIBUTING file for more information on how to contribute to Trane.