CWA 1.9.1 does not show Risk Contact but iOS Exposure Framework does show matching keys
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
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?
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)
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.
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
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.
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.
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.
Okay thanks @thomasaugsten
One last question:
Is it normal that there is no "MatchCount" in the Log with v2 of ENF?
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.
In the updated documentation you can see TRL 1 and 2 are filtered out on App level
This was also reported in #1706, #1705, #1713, #1723 and #1755.
@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 👍
I will close this Issue as soon as there is a FAQ Entry explaining this.
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:_
_English:_
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, ok! let's keep that one open as a reference. I think we will get many more questions regarding this behavior. I suggest writing in the first post the links to the FAQ and a short statement that this is not a bug. DS
@dsarkar I think we can close this now with v1.10.1 released 👍
@Ein-Tim, sure, go ahead! Thanks! DS
@Ein-Tim, re-opened for visibility and avoiding duplicates.
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.
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?
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 https://github.com/corona-warn-app/cwa-app-ios/issues/1731
Okay thanks @fsbaraglia.
So both Apps are reporting one Encounter at the moment, right?
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.
I will close this issue now. If there are still any duplicates, we can reopen it.
Most helpful comment
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.