peal.teachers.cluster_teacher.DataStore

class peal.teachers.cluster_teacher.DataStore[source]

Bases: object

Mutable state shared between the Flask request handler and the teacher.

Variables:
  • i (int) – Index of the next cluster to show.

  • collage_paths (list of list of str) – One list of collage paths (under static/) per cluster.

  • feedback (list of str) – Verdicts collected so far, one per cluster, in display order.

Methods

Attributes

i = None
collage_paths = None
feedback = None