corona-warn-app / cwa-documentation

Project overview, general documentation, and white papers. The CWA development ends on May 31, 2023. You still can warn other users until April 30, 2023. More information:
https://coronawarn.app/en/faq/#ramp_down
Apache License 2.0
3.28k stars 345 forks source link

How to view G rules (status proof)? #860

Closed MikeMcC399 closed 2 years ago

MikeMcC399 commented 2 years ago

CWA 2.18: Improving the display of the G status in the Corona-Warn-App announced the introduction of a rule engine for determination of G status which is also listed in the FAQ General information about the status proof display.

There is no mention of this change in this cwa-documentation repository.

Where are the G rules stored and how can they be viewed?

dsarkar commented 2 years ago

@MikeMcC399 Thanks for asking, will try to get an answer.

MikeMcC399 commented 2 years ago

@dsarkar

will try to get an answer.

Thank you very much!

It would be great to see a page for the "G rules" similar to https://timokoenig.github.io/eu-dcc-rules from @timokoenig which displays the EU rules in a user-friendly way.

dsarkar commented 2 years ago

@MikeMcC399 Not easy to read:

Functions https://github.com/corona-warn-app/cwa-app-ccl/tree/main/lib/ccl/functions

Rules https://github.com/corona-warn-app/cwa-app-ccl/blob/main/lib/ccl/functions/__analyzeDccWallet.js

Tests https://github.com/corona-warn-app/cwa-app-ccl/tree/main/test/fixtures/ccl

MikeMcC399 commented 2 years ago

@dsarkar Thank you very much for the pointers! I agree that this is not easy to read and interpret!

MikeMcC399 commented 2 years ago

I knew about the existence of the new cwa-app-ccl repository. I wonder why it isn't listed in the cwa-documentation README together with the list of other project repositories?

Ein-Tim commented 2 years ago

@MikeMcC399

Thanks for the reminder!

I will update the table later today.

Ein-Tim commented 2 years ago

@MikeMcC399 FYI PR: #863

MikeMcC399 commented 2 years ago

Closing, since the question was answered by @dsarkar.

Thanks again.