Python code with strict types and thorough tests.
Recent revisions are kept. Restoring one creates a new revision.