Code Monkey home page Code Monkey logo

Comments (4)

hilmarf avatar hilmarf commented on May 24, 2024 2

Dear @MikeMcC399,

the 'cwa-server' doesn't collect any nor calculates any statistics, but it reads in a json file coming from CWA-Analytics framework and transforms it into protobuf structure, which is then consumed by the mobile clients, when you open your app.

Unfortunately I don't have all the details where the CWA-Analytics framework gets its information from. But for sure its using the RKI as one of the data-sources.

I hope that answers your question.

Regards,
Hilmar

from cwa-server.

MikeMcC399 avatar MikeMcC399 commented on May 24, 2024

@hilmarf

Thanks for your answer about the statistics! I don't believe there is any documentation on GitHub regarding the CWA-Analytics framework, which is a new term for me.

The FAQ article https://www.coronawarn.app/en/faq/#further_details refers to data from RKI and there was no question for me that the original infection numbers come directly from RKI.

I was interested in the trend calculations and to be concrete, the 7-Day Incidence.

Does the trend for the 7-Day Incidence indicator come directly from the CWA-Analytics framework? Or does the CWA server keep historical data stored and calculate itself whether the value is trending upwards, staying steady or trending downwards. I would like to be able to point to lines of code to confirm that the 7-Day Incidence trend is based on comparing the value with the previous day and using a ±1% band for the determination of a steady trend (rather than comparing with the value one week previously and using a ±5% steady trend band).

from cwa-server.

hilmarf avatar hilmarf commented on May 24, 2024

Hi @MikeMcC399,

the cwa-server does not do any trend calculation. As mentioned, it's just reading json (e.g. services/distribution/src/test/resources/stats and produces protobuf common/protocols/src/main/proto/app/coronawarn/server/common/protocols/internal/stats. What the 'distribution' service does here is a 'mapping' of the trend-numbers from the json to the trend-enums in the protobuf.

No gathering of numbers, no real calculation.

Regards,
Hilmar

from cwa-server.

MikeMcC399 avatar MikeMcC399 commented on May 24, 2024

@hilmarf
Thanks for the detailed confirmation of your previous statement!

from cwa-server.

Related Issues (20)

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.