Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indicators for periods that abnormal counting activities occur. #245

Open
p16i opened this issue Mar 27, 2019 · 0 comments
Open

Indicators for periods that abnormal counting activities occur. #245

p16i opened this issue Mar 27, 2019 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@p16i
Copy link
Contributor

p16i commented Mar 27, 2019

Currently, we have a feature that allows users to browse counting results at a particular period. However, the timeline bar doesn't provide any clue when abnormal counting events occur.

As a user, I would like to see indicators for periods that such abnormal activities happen. For example, we could display the box of those periods differently.

image

Information about abnormal activities can be precomputed from a utility script and stored as a JSON file.

With this information we can automatically navigate to a zone that an abnormal activity will happen while enabling autoplay. We can add a check box to enable/disable this automatic highlight feature.

To summarise, I think there are three tasks needed to be done:

  1. Create a utility script to find which periods have abnormal counting. This script will traverse through all data files and determine whether there are abnormal counting. For example, scores for some candidates get decreased or increased by a large margin. Criterion for abnormal activities can be based on https://www.facebook.com/ta.chiraphadhanakul/posts/10157283641938278. The script should output a JSON file with the following structure:
{
  'DATAFILE-1(DATETIME)': [
    { zone: "BKK-1", type: "SCORE_DECREASE", candidate: { ... } },
    ...
  ] ,
}

  1. Incorporate the output to
  2. Use this information to automatically navigate while autoplaying. For example, for every move, we could look ahead two next two steps and change the url accordingly if the next two step has an abnormal event. For example,

image

@p16i p16i added the help wanted Extra attention is needed label Mar 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant