ufal / factgenie

Lightweight self-hosted span annotation tool
https://quest.ms.mff.cuni.cz/nlg/d2t-llm/
MIT License
23 stars 2 forks source link

Examples are not being freed after `idle_time` #118

Closed kasnerz closed 1 month ago

kasnerz commented 1 month ago

~Apparently we have not even started to support this parameter 🤯~

The method free_idle_examples() was called before assigning a batch to an annotator. The purpose of the method was to free the examples that were over idle time. However, this method was hardcoded to 2 hours and did not use the idle_time parameter.

We could just fix this method, but it will be more transparent to actually free the examples that are over idle_time so that the users will know how many examples are waiting to be annotated.

kasnerz commented 1 month ago

Solved in #123