Open davidskalinder opened 3 years ago
So catching up with the team this morning, it seems clear that proper UI functions for this stuff probably aren't necessary as long as these can all be run from the back end by a fairly technical user with a good set of instructions.
So the tasks involved for that are:
python scripts/do-this-thing.py
I should probably create separate issues for each of these (the first two at least) and make this issue into an Epic containing the others).
As discussed in #122 and #123, the UI button to export the long-format table of coder-level annotations is borked for any deployment with a DB larger than slightly-smaller-than-either-currently-live-deployment's-DB. So if we want that function to work for larger DBs, we'll probably need to find a whole different way to run that export from the UI in a way that Apache/mod-wsgi can handle without choking.
However, this elides another point, which is that our team at least occasionally uses several other exports that there's no way to run from the UI.
Here's a summary of all the exports we use from time to time:
generate-coder-table.py
s/\\"/""/g
to clean up escaped quote marksscripts/by_coder_and_event_by_annotation.py
122 means that in effect right now all of these can be run by developers but not UI users.
First step is to assess the value of making it so that users can run each of these from the UI. Rough idea of the cost will be tricky since finding the right design (which will then determine the workflow) is probably the hardest part... But for now I'll put this on our next team meeting agenda.