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.008s |
passed |
| ExactBan unique exact surface wins even with another candidate within five percent() |
0.830s |
passed |
| GeoRadius match is downgraded to GEO confidence, never EXACT() |
0.013s |
passed |
Standard output
20:41:06.934 [Test worker] INFO com.alertimmo.aiscraping.ademe.AdemeDpeService -- [ADEME] DPE matched — banId=69384_3485_00057, confidence=EXACT, delta=0.0%, candidates=2
20:41:06.961 [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
20:41:06.968 [Test worker] WARN com.alertimmo.aiscraping.ademe.AdemeDpeMatcher -- [ADEME-match] Ambiguous match — 2 candidates within ±5% surface at banId=69384_3485_00057
20:41:06.969 [Test worker] INFO com.alertimmo.aiscraping.ademe.AdemeDpeService -- [ADEME] DPE found but no surface match — banId=69384_3485_00057, surface=61m²