You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From all data that is collected from twitter, a sample of data is used for annotations. This data will be stored in a SQL database and made available via a REST API. Each post needs to be allocated to possibly more than one annotator.
We need to write a script to allocate posts to annotators in a way that certain conditions are met.
Method Signature
The method signature should be of the form allocate(posts, annotator). The shape of posts and annotators is as follows :
annotators: [
id,
language,
max_post,
overlap : # yet to be defined
]
Distribution Criteria
k% of the posts need to be annotated by 3 annotators. The rest of the posts (100-k)% will be annotated by one annotator.
Doubts to be clarified
Is it necessary that every annotator's annotations are included in agreement estimation. So at least m% of an annotator's posts must have been annotated by at least one other annotator?
This a screenshot of the table that keeps track of which posts are assigned to which user and what the annotation's status is. The output of allocate() should be an array with each array item being {userId, postId}.
Unlike the data in mongo which is mostly written to and read, I foresee the need to run a lot of queries involving grouping, filtering and updates for the annotator UI, so i chose SQL.
Regardless you wouldn't have to worry about the SQL integration yet. I might provide you a REST API to work with. for now, lets just focus on the annotate function and you can assume that the function receives data in the formats described above.
oh, good catch. I think allocate's method signature should include a variable called config. k should be in config. maybe config.net_overlap or something. open to other naming suggestions.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
From all data that is collected from twitter, a sample of data is used for annotations. This data will be stored in a SQL database and made available via a REST API. Each post needs to be allocated to possibly more than one annotator.
We need to write a script to allocate posts to annotators in a way that certain conditions are met.
Method Signature
The method signature should be of the form
allocate(posts, annotator). The shape ofpostsandannotatorsis as follows :Distribution Criteria
k% of the posts need to be annotated by 3 annotators. The rest of the posts (100-k)% will be annotated by one annotator.
Doubts to be clarified
Is it necessary that every annotator's annotations are included in agreement estimation. So at least m% of an annotator's posts must have been annotated by at least one other annotator?
All reactions