electinth/election-live

[Dev] Time traveling

dtinth opened this issue · 4 comments

Time traveling allow us to view and test using data at a specified point in time.

  1. Go to /dev and enable ELECT_DEVELOPER_PANEL.

  2. Open the developer panel and click the Time Travel button.

    image

Thanks to the fact that we don’t overwrite our data file but each time write a new file, time traveling is possible! We can go back in time and load the data in the past and inspect the cases where data may be weird and interesting.
Some cases:

  • 20190323040203 — every zone finished counting, but all zone resulted in no-vote
  • 20190323040304 — stats data delayed resulting in weird percentage
  • 20190323041804 — initial voting, no partylist yet
  • 20190323041403 — some no votes win

add more cases in comments of this issue...

  • 20190323110504 — 13m people voted, but none finished counting
  • 20190323112603 — 18m people voted, but none finished counting
  • 20190323040304 — all counted but no vote
  • 20190323154404 — 22m people voted, 81% counted, some zones over 80%

Data based on ETL team’s model:

  • 20190323181506
  • 20190323181606
  • 20190323182204
  • 20190323182505

(Closing this issue for housekeeping purposes)