-
Notifications
You must be signed in to change notification settings - Fork 1
/
TODOs.txt
67 lines (51 loc) · 2.65 KB
/
TODOs.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
TODOS are at this Trello card https://trello.com/c/ZBo4CO9r
* use a creds.yaml for azure storage in annotation_system
* create unique URLs in annotation system for a clip
* split logic. instead of /load/session, /fetch/session & /load/session
* add confidence score
* make new annotations have a min length
* add a requirements.txt
* disable the confusing double new/old_label function
* clean up README for annotation_system
* add example JSON files & update README
* unify annotation_system and prediction_explorer static folders [only separate flask apps]
* create separate tmp static directory for files
* modify logic for fetch/load API
(backend is tracking what number what served)
* rename json files to sessionid number
* /fetch/session returns 1 for first time, else +1 of last one served
* /load/session/<idx> loads that JSON
* change skip & refresh button to next
* update licence
* support multiple "Rounds" via the URL e.g. basename/round/?sessionid=X
* load the "Now playing" card from a YAML file on blob without needing backend redeployment
Backlog:
- control default / redirect also from same YAML file
- loading spinner https://codepen.io/yic666kr/pen/mxmvbV?__cf_chl_jschl_tk__=3555085104393da3384101d04359a2807f88a01f-1591725010-0-AeSCVSgStNRhdDgsCL2Xjhj4D2bZ_zpe5rqyoWA_HLj80q26yLLjz2bYe1vBWmyn0XS6iHsgy5voFUx84HG3SBqABjTgoLAseHrxh3BBKmbgaZs9zAISu5FqBo8ZF3pQZx-CWfc8ORF7Fnxb2qx4sDti6AN1BxkwjFYKeM3QicfRs18ji7GhzJCRaX9OAW3__1Cc_eFUdU1Ol5h4w5qn3rIfGEH6Q6c9u9lFvL26X9AyI9BwlVjE7JL8RI1qKNtJYWByF28IkMEhWujbWnigG5tApHqeyZJBju84Xh2Uxh9xLhN9qjrMlrV5_BVDi00ZxR8o-qYfd-JvvVnyiyNlvLSNGJqIlDqQABWCcIlgETAl
Misc Javascript learning links:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript
https://javascript.info/
Single page application architecture
https://love2dev.com/blog/5-single-page-app-best-practices/
https://en.wikipedia.org/wiki/Single-page_application#JavaScript_frameworks
Change for supporting multiple "Rounds":
audiosegments
round3
round4
predictions-round3
annotations-round3
predictions-round4
predictions-round4
handle edge case:
* / (redirect to default:round4)
fetch:
* does set difference of predictions, annotations (change to use roundid appropriate container name, handle / case)
load:
* loads sessionid.json from predictions container (change to use appropriate container name)
submit:
* writes sessionid.json to annotations container (change to use appropriate container name)
skip:
* call fetchAndLoadSession
client:
* loadSession (change to parse /round from url)
* fetchAndLoadSession (change to parse /round from url)