AdemeDpeService — #1008 : un match GeoRadius n'est jamais EXACT
Tests
| Test |
Duration |
Result |
| ExactBan stays ambiguous when two candidates have the exact same surface() |
0.024s |
passed |
| ExactBan unique exact surface wins even with another candidate within five percent() |
1.234s |
passed |
| GeoRadius match is downgraded to GEO confidence, never EXACT() |
0.036s |
passed |
Standard output
22:37:50.101 [Test worker] INFO com.alertimmo.aiscraping.ademe.AdemeDpeService -- [ADEME] DPE matched — banId=69384_3485_00057, confidence=EXACT, delta=0.0%, candidates=2
22:37:50.171 [Test worker] INFO com.alertimmo.aiscraping.ademe.AdemeDpeService -- [ADEME] DPE matched by geo — geo:48.860000,2.350000,100m, confidence=GEO, delta=0.0%, candidates=1
22:37:50.194 [Test worker] WARN com.alertimmo.aiscraping.ademe.AdemeDpeMatcher -- [ADEME-match] Ambiguous match — 2 candidates within ±5% surface at banId=69384_3485_00057
22:37:50.195 [Test worker] INFO com.alertimmo.aiscraping.ademe.AdemeDpeService -- [ADEME] DPE found but no surface match — banId=69384_3485_00057, surface=61m²