Coder Social home page Coder Social logo

janpf / ctt Goto Github PK

View Code? Open in Web Editor NEW
14.0 14.0 2.0 2.23 GB

Corona Tracker Tracker Dashboard for the German Corona-Tracing-app

Home Page: https://ctt.pfstr.de

License: GNU Affero General Public License v3.0

Shell 8.67% Python 68.06% HTML 18.54% CSS 4.72%
corona-warn-app coronavirus coronavirus-analysis coronavirus-info coronavirus-real-time coronavirus-tracking covid19 covid19-data covid19-tracker

ctt's People

Contributors

comradekingu avatar janpf avatar stefanb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ctt's Issues

Decide on handling country `EUR`

I noticed that keyCount in iOS log is diverging from the keyCount in the filehashes.json file, with 2020-10-27 being different. The difference is in the order of about 100 users. After investigating I found that it is due to cwa querying the files from the endpoint https://svc90.main.px.t-online.de/version/v1/diagnosis-keys/country/EUR/ instead of previously DE instead of EUR. Also the computed hashes from iOS match with those of the EUR files explaining the issue we had last week.

This raises two points:

  • for your dashboard: do you want to keep it displaying the uploaded keys from german user or do you want to switch to european users, consistent with the CWA behaviour.
  • for the purposes of ena_log, I would be keen on having the counts updated in the filehashes.json file to those of the files from EUR endpoint.

Thanks and best regards
Felix

Do declining valid keys indicate too-late notification?

I hope this question is appropriate for the project. I have read that keys are only valid for a given day. Looking at the stats, I notice increasing published keys, but from 9/23 an strongly decreasing number of valid keys. Does that mean keys have been delivered to late (aka "over-stress at health agencies/labs")? I think this discrepancy is important to understand the value of CoronaWarnApp.

Thx!

Wrong padding multiplier/wrong number of users for 2020-08-18?

It seems that the data for 2020-08-18 is not quite right:

  • https://ctt.pfstr.de/users/2020-08-18.txt shows a detected padding number of 1, resulting in 379 users
  • The graphs for number of users and number of keys show 98 users and 952 keys, which doesn't match the numbers from approx. users file
  • The dashboard from @micb25 https://micb25.github.io/dka/ shows 75 users, 749 keys and a padding of 5 for 2020-08-18, which seems to be about right.

Is there a problem in the downloaded source data? If so, why does https://micb25.github.io/dka/ show more reasonable values?

Provide a json list of diagnosis key files with hashes

I am about to create a small application that can match log files of the exposure notification framework and display a nicer report than what Apple/Google are providing. In this report, I am displaying the dates of the diagnosis key file for matches.

As the log file of the exposure notification framework just has the hash of the file inside, I would need a mapping hash -> file. This is currently hardcoded.

Since you are already maintaining all keys for download and a list, I wondered if you could add a generation of a json object with such a mapping.
Python stub to get the hex representation of a diagnosis key file is as follows:

zip_data = zipfile.ZipFile(diagnosis_key_file)
infolist = zip_data.infolist()
with zip_data.open([f for f in infolist if '.bin' in f.filename][0], 'r') as bin_file:
    hash = hashlib.sha256(bin_file.read()).hexdigest()

Thanks in advance for consideration and best regards
Felix

new plotting library

in the long run I will need a new plotting library with the following main improvement points:

  1. better interactivity
  2. easier to implement interactivity
  3. easier to display all data of a hovered datapoint/date
  4. synchronize interactivity between graphs? (this is possible with the current vega lite usage, but not done yet. See point 2.)
  5. ??

Charts: date overflow

Happy new year! ๐ŸŽ‰
With first data for the 2021-01-01 the charts started plotting the 2021 data as if it was for 2020, disregarding the year:
image

Missing hourly files

TL;DR: Does anybody have the collection of hourly files for the last few days?

Explanation why I'm missing those: my script didn't catch them, as I'm not archiving the hourly keys daily and the server stopped providing the hourly files for all days but yesterday:

available dates:
svc90.main.px.t-online.de/version/v1/diagnosis-keys/country/DE/date

hourly files available for yesterday (all hourly files available):
svc90.main.px.t-online.de/version/v1/diagnosis-keys/country/DE/date/2021-01-29/hour

the day before (no longer available):
svc90.main.px.t-online.de/version/v1/diagnosis-keys/country/DE/date/2021-01-28/hour

Thanks :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.