Scifabric / pybossa

PYBOSSA is the ultimate crowdsourcing framework (aka microtasking) to analyze or enrich data that can't be processed by machines alone.

Home Page:http://pybossa.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pre populate tasks' answers

eyast opened this issue · comments

Is it possible to pre-populate the answers of tasks?
We've used an ML model to transcribe text, and the accuracy is very low. we want to now use Pybossa to distribute tasks for people to "fix" the transcription. if we were to create a new task presenter for the job, would it be possible to prepopulate a text field with what we've already modeled in ML?
Akin to the PDF transcriber, but without an empty text box per task

Hi!

Yes, you can pre-populate the tasks with any information that you want. The task.info field is a JSONB object within the PostgreSQL database, so you can have something like this:

{
"options": [ {"text": "option 1", "val": "value1"}, {"text": "option 2", "val": "value2"}]
}

Then you can present the user with different options (like a select or radio button) based on that options field.

I hope this helps!