-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Function improvement (continued) (#7)
* Tweak text descriptions. * Move TODO from different files to a single file. * Add examples with both steam and smoke on the index page. * Add text description of user score to the labeling page. * Add a link to the introduction video to the index page. * Add a link to the viewer for each video in the gallery when in the researcher mode. * Replace 'Collection' to 'Contribution'. * Add raw score (the number of viewed unlabeled videos) for each user to the database. * Display the raw score in the front-end. * Remove user_raw_score and user_score from the connection table. * Add the api call to get label statistics. * Show the label statistics on the front-end when labeling. * Add more positive videos. * Improve the flow for adding videos. * When querying batches, make sure that half of them are partially labeled. In this way, we can speed up labeling. * Now the gold standard videos have at least one negative and one positive videos, which prevents spamming. * Fix the migration script problem. * Upgrade python packages. * Add loading icon for the galley. * Improve loading icon logic for the labeling tool. * Increase the countdown duration when labeling. * Reduce the number of videos at the first page to 16 because of video number restrictions before mobile safari version 12. * Fix a problem that when google sign-in api failed, the system get stuck in the loading state. * Update website template to improve the functionality of the dialog box. * Update website template to improve accessibility and usability. * Fix a css bug in the submit button when counting down. * Improve the automatic check for video autoplay. * Fix a bug that in track protection mode (Firefox), the page will hang forever because the browser is unable to load the google analytics. * Improve the track protection detection in the google analytics tracker. * Add browser support checks. * Add a script to mark bad videos. * Improve video autoplay detection. * Add frequently asked questions (FAQ) page. * Add a google form to collect feedback on the FAQ page. * Change max-age in the apache2 cache control to 5 seconds (this used to be 60 seconds, and the browser will cache the label statistics, which can be wrong). * Fix other miscellaneous bugs.
- Loading branch information
Showing
28 changed files
with
1,425 additions
and
326 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
TODO: add interactive tutorial | ||
|
||
TODO: design user feedback system after labeling a batch (e.g., dialog box) | ||
- poor performance when labels are rejected | ||
- if the user made too many bad batches, ask the user to retake the tutorial | ||
- detect and mark spamming (e.g., all not selected, all selected) in the database | ||
|
||
TODO: design features for sharing achievements | ||
- add a leaderboard for showing user id and scores | ||
- generate PDF certificates of label statistics for each user upon request | ||
- allow users to share the badge with their achievement on social media | ||
|
||
TODO: add the feature for labeling smoke opacity | ||
- add a compass to show sun direction for each video (when labeling opacity) | ||
TODO: add the feature for cropping videos to a region | ||
|
||
TODO: refactor code based on https://codeburst.io/jwt-authorization-in-flask-c63c1acf4eeb | ||
|
||
TODO: as users gain enough scores, advance them to the harder mode | ||
- laypeople mode: select videos that have smoke | ||
- amateur mode: label smoke opacity (low, medium, high) | ||
- expert mode: crop videos to a region | ||
- how to invalidate previous user tokens with different permissions? | ||
- need to add a table to record the promotion history | ||
- need to encode client type in the user token, and check if this matches the database record | ||
- for a user that did not login via google, always treat them as laypeople | ||
|
||
BUG: when changing the client type of a user, previous tokens with different permissions are still working | ||
- need to invalidate previous issued tokens? | ||
|
||
OPTIONAL: graphically display the label statistics (instead of using text) | ||
OPTIONAL: add a playback timeline bar to show the video playback time | ||
OPTIONAL: add a link back to time machine viewer (or a larger video) on the labeling page (also gallery page) | ||
OPTIONAL: prevent the case that multiple people label the same data | ||
- add the last_queried_time to video and query the ones with last_queried_time <= current_time - lock_time |
Oops, something went wrong.