Skip to main content

construct_answer_dictionaries

Adds answer object and classification answer dictionaries from a label row if they do not exist. Integrity checks are conducted upon saving of labels. Arguments:
  • label_row - A label row.
Returns:
  • LabelRow - A label row instance with updated answer dictionaries

add_answers_to_items

If object_hash (uid) or classification_hash (uid) are not in answer dictionaries, add key entry with empty classification list.