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

Maker-fixer does not break on some incorrect drawing tools #40

Open tingard opened 2 years ago

tingard commented 2 years ago

Expected behavior

If the provided starting classification for a Subject does not match the workflow schema, it should error

Current behavior

If I specify a Rectangle starting shape on a Point annotation task, the x and y attributes required by Point are present, and so the interface does not error.

This behaviour will be the same for other combinations, where the schema of one tool is contained inside another (e.g. circle vs point, perhaps polygon vs polyline?).

rogerhutchings commented 2 years ago

We need to trigger this manually. To do that, we'd need to: