Skip to content
Kushal Kant Goyal edited this page Sep 21, 2015 · 8 revisions

Name: aidr-trainer



The aidr-trainer module manages the process of labelling items that are waiting to be labelled in the task buffer.

Items enter the task buffer if they are selected by the tagger. Items can exit the task buffer if a long time (e.g. 12 hours) pass and they have neither been assigned nor been labelled.

Items can be labelled in the task buffer by an AIDR operator, or via crowdsourcing. In the first case, we say the items are labelled through the internal tagging interface, which is a part of AIDR's front-end that is accessible to AIDR operators. In the second case, we say the items are labelled through PyBossa, which happens our own PyBossa installation, named MicroMappers.

In both cases, an item passes through the following steps:

  1. The item is waiting to be assigned.
  2. The item is assigned to an operator, or to MicroMappers.
  3. The item is labelled by the person/group it was assigned.

The aidr-trainer module also takes care of expiring old items that wait for too long for a label, in order to keep the task buffer relatively small.


The aidr-trainer is a Java EE application using Spring and the following libraries:

  • Spring ORM, Spring JDBC, Spring MVC 3.2
  • JEDIS 2.1.0 (REDIS API library)
  • Hibernate 4.1.5 (persistence) -- (why? --ChaTo)
  • MySQL -- (why? --ChaTo)
  • Jersey 1.18.1
  • JSON-Simple 1.1 (JSON Processor) -- (redundant? --ChaTo)
  • Jackson 1.9.13 (JSON processor)
  • Jersey 2+
  • HttpClient 4.2.5

Module Dependencies

  • aidr-common
  • [aidr-task-manager](Task Manager)
  • [aidr-db-manager](DB Manager)
Clone this wiki locally