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