Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

CWA 1.9.1 does not show Risk Contact but iOS Exposure Framework does show matching keys / Lost encounters after the latest update #1703

Closed
2 tasks done
Ein-Tim opened this issue Dec 16, 2020 · 24 comments
Labels
question Further information is requested

Comments

@Ein-Tim
Copy link
Contributor

Ein-Tim commented Dec 16, 2020

CWA 1.9.1 does not show Risk Contact but iOS Exposure Framework does show matching keys
Lost encounters after the latest update

This behavior has been raised several times recently and has caused some confusion (e.g. in these duplicates: #1705, #1706, #1713, #1723, #1755).
However, this is not a bug. For an explanation, see the following references, please:

Blog post:

German:

https://www.coronawarn.app/de/blog/2020-12-17-risk-calculation-exposure-notification-framework-2-0/

English:

https://www.coronawarn.app/en/blog/2020-12-17-risk-calculation-exposure-notification-framework-2-0/

FAQ-Entries:

German:

https://www.coronawarn.app/de/faq/#encounter_count_19

https://www.coronawarn.app/de/faq/#encounter_19_calc

English:

https://www.coronawarn.app/en/faq/#encounter_count_19

https://www.coronawarn.app/en/faq/#encounter_19_calc


ORIGINAL POST

Avoid duplicates

  • Bug is not mentioned in the FAQ
  • Bug is not already reported in another issue

Technical details

  • Device name: iPhone XR
  • iOS Version: 14.3
  • App Version: 1.9.1

Describe the bug

With version 1.7.1 the App showed "Eine Risiko-Begegnung mit niedriegem Risiko". The EN-Log also showed "1 Übereinstimmender Schlüssel"
Here is the EN-Log before the update:
ExposureChecks-2020-12-16.txt


Now, I installed 1.9.1, the App did another check and now it shows this:

But the log shows this:

Here is the Log after the update:
ExposureChecks-2020-12-16.txt
Somehow (I assume because of the update to v2 of ENF) the Log does not show "MatchCount" anymore...

What is correct? The App or the Log? Or is this just a change in v2 of the ENF that the Log can show a Matched Key but the App does not show an encounter?

Steps to reproduce the issue

  1. Get a Risk Contact
  2. Update to 1.9.1 (0)
  3. See no Risk Contact
@Ein-Tim Ein-Tim added the bug Something isn't working label Dec 16, 2020
@wowbagger089
Copy link

wowbagger089 commented Dec 16, 2020

Confirm same behaviour iPhone 12 Pro, ios 14.3, app 1.9.1(0) (Should be 4 low risk (was before update and 4 in the key details), is 0 on the UI)

@Delta1977
Copy link

Same here. Device name: iPhone 8 , iOS Version: 14.3 App Version: 1.9.1. One risk is shown before update, after update 0 risk. in ENF is 1 shown.

@max-ae
Copy link

max-ae commented Dec 16, 2020

Same here, 4 encounters before update in app and settings log, 0 in app after update, 4 matches in the settings log still remaining.
Device: iPhone 12 Pro Max, iOS 14.3, CWA v1.9.1

@Ein-Tim
Copy link
Contributor Author

Ein-Tim commented Dec 16, 2020

Could be that this has something to do with:

With the change to ENF 2.0, it is no longer a single encounter that is decisive for the risk assessment, but the sum of the risk minutes per day.

(Source: https://www.coronawarn.app/en/blog/2020-12-16-corona-warn-app-version-1-9/)

Would be nice to have a clarification about this.

@Ein-Tim
Copy link
Contributor Author

Ein-Tim commented Dec 16, 2020

This closed PR in the Website Repo from @thomasaugsten seems to confirm that it is possible to have matches in the Log but no encounters in the App.

Unter dem Exposure Notification Framework in Version 2 werden vom Betriebssystem außerdem Begegnungen erfasst, die ein geringeres Risiko als „niedriges Risiko“ (grün) aufweisen. Diese sind aus virologischer Sicht aber nicht relevant und werden von der Corona-Warn-App herausgefiltert.

@thomasaugsten
Copy link
Member

With ENF v2 there are matched keys on OS level with a low risk. This matched are from RKI model not relevant and filtered out by the App. This means since ENF v2 there could be a mismatch between the OS matched Keys and the CWA risk encounters.

We will create soon an FAQ entry with a detailed explanation.

@Ein-Tim
Copy link
Contributor Author

Ein-Tim commented Dec 16, 2020

Okay thanks @thomasaugsten

One last question:
Is it normal that there is no "MatchCount" in the Log with v2 of ENF?

@thomasaugsten
Copy link
Member

I can confirm at the moment there is the matched key count visible in the UI, but not in the log. We will address this.

@thomasaugsten
Copy link
Member

In the updated documentation you can see TRL 1 and 2 are filtered out on App level

https://github.com/corona-warn-app/cwa-documentation/blob/master/images/risk_calculation/risk_calculation_enf_v2_overview.pdf

@Ein-Tim

This comment has been minimized.

@Ein-Tim
Copy link
Contributor Author

Ein-Tim commented Dec 16, 2020

@thomasaugsten

I can confirm at the moment there is the matched key count visible in the UI, but not in the log. We will address this.

Yes, but but only for the whole check and not for every individual hash... Thanks for addressing 👍

@Ein-Tim

This comment has been minimized.

@dsarkar dsarkar added question Further information is requested and removed bug Something isn't working labels Dec 17, 2020
@Ein-Tim
Copy link
Contributor Author

Ein-Tim commented Dec 17, 2020

I will close this Issue now, still it would be good to get figured out why there is no Match Keys neither in the EN-Log nor in UI for the individual hashes.

Edit:
@dsarkar Maybe I was a bit to fast to close it, could you reopen it to avoid duplicates? (You can also add the label "ready to close" if you want to)
Thanks!

@Ein-Tim
Copy link
Contributor Author

Ein-Tim commented Jan 3, 2021

@dsarkar I think we can close this now with v1.10.1 released 👍

@dsarkar
Copy link
Member

dsarkar commented Jan 3, 2021

@Ein-Tim, sure, go ahead! Thanks! DS

@Ein-Tim Ein-Tim closed this as completed Jan 3, 2021
@dsarkar dsarkar removed the hot topic 🔥 Hot Topics from the view point of the Community label Jan 3, 2021
@dsarkar dsarkar reopened this Jan 4, 2021
@dsarkar
Copy link
Member

dsarkar commented Jan 4, 2021

@Ein-Tim, re-opened for visibility and avoiding duplicates.

@dsarkar dsarkar added the hot topic 🔥 Hot Topics from the view point of the Community label Jan 4, 2021
@fsbaraglia
Copy link

Hi @dsarkar Hi @Ein-Tim ,

Same here. Device name: iPhone 11 , iOS Version: 14.3 App Version: 1.10.1.
0 exposure in the App, but IOS "Begegnungsmitteilungen" shows "Übereinstimmend Schlüssel".

I downloaded the ExposureChecks.json file, this is what I see (it is just an extract of the first :
....
{
"Hash" : "xxxxxxxxx",
"KeyCount" : 26879,
"AppBundleIdentifier" : "de.rki.coronawarnapp",
"Timestamp" : "2021-01-05 20:44:29 +0100"
}
...
I installed , activated the Italian version "Immuni" and selected that I am leaving in Germany,
I downloaded again the Exposure.json and I see this:
{
"Hash" : "xxxxx",
"MatchCount" : 1,
"KeyCount" : 15991,
"AppBundleIdentifier" : "it.ministerodellasalute.immuni",
"Timestamp" : "2021-01-05 23:17:20 +0100"
},

I think that what @Ein-Tim sees in "Begegnungsmitteilungen" -> "Übereinstimmend Schlüssel", is coming from another corona tracking App and not from the matching from the Coronawarnapp.

Maybe it is a fake positive matching ? What do you think ?

I can provide the full Exposure files.

@Ein-Tim
Copy link
Contributor Author

Ein-Tim commented Jan 5, 2021

Hey @fsbaraglia

First of all I don't have any other tracing App installed on my phone and as you can see all entries in the EN-Log are coming from Corona-Warn-App. The drop of encounters after the update to 1.9.1 is ok, please see my comment here for more information.

You are using two Apps, Immuni & Corona-Warn App.
I think Immuni is selected as "active region" in your phones settings, right?

It seems like Immuni is still using v1 of ENF (Match Count in Log) while CWA is using v2 of it (no Match Count in the Log).

Does Immuni show you an encounter while CWA doesn't?

@fsbaraglia
Copy link

Hey @Ein-Tim,

nice, thank you for the quick answer.
I placed as active region Immuni -> yes
and inside the app you can select that you are in another country that it is not Italy at the moment, here I selected Germany.

For the MatchCount, I commented you with screenshots in the other issue #1731

@Ein-Tim
Copy link
Contributor Author

Ein-Tim commented Jan 5, 2021

Okay thanks @fsbaraglia.
So both Apps are reporting one Encounter at the moment, right?

@fsbaraglia
Copy link

fsbaraglia commented Jan 5, 2021

yes. Unfortunately, the Immuni app is not showing the num of Exposures but just if you are in high RISK, I cannot say if for Immuni 1 Exposure is considered already a RISK of any type Low or High.

@dsarkar dsarkar removed the hot topic 🔥 Hot Topics from the view point of the Community label Jan 29, 2021
@Ein-Tim
Copy link
Contributor Author

Ein-Tim commented Feb 10, 2021

I will close this issue now. If there are still any duplicates, we can reopen it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

7 participants