1715labs / 1715labs-pfe

Modified version of PFE for use with paid crowds
1715labs-pfe.vercel.app
Apache License 2.0
0 stars 0 forks source link

Allow specifying a custom annotation starting point via subject metadata #12

Open tingard opened 3 years ago

tingard commented 3 years ago

It would be great to be able to specify an initial value for the annotation on a workflow for a given subject. I'd envision something like specifying

subject.metadata['#initial_annotation'][WORKFLOW_ID] = [{value: 0...}]

This may be doable simply by changing this line of code to check the annotation from the subject data? There are a lot of moving parts here so this may well be a terrible idea!