ListingExtractorTest
|
100%
successful |
Tests
| Test | Method name | Duration | Result |
|---|---|---|---|
| LBC __NEXT_DATA__ — blob riche, ≥15 champs, majoritairement structuré | lbc rich blob mostly structured() | 0.009s | passed |
| Preux — page sans blob ni description → NO_STRUCTURED_DATA (abstention) | preux abstains() | 0.002s | passed |
| SeLoger — fusion structuré + description ⇒ 14 champs (>7 du structuré seul), dont nbLotsCopro→banId | seloger merges structured and description() | 0.002s | passed |
| Précédence — le structuré gagne pour les champs qu'il porte, la description comble le reste | structured wins description fills() | 0.003s | passed |
Standard output
00:16:09.852 [Test worker] INFO com.alertimmo.aiscraping.extraction.structured.ListingExtractor -- [listing-extractor] portal=lbc outcome=EXTRACTED champs=15 par-couche={STRUCTURED=15}
00:16:09.854 [Test worker] INFO com.alertimmo.aiscraping.extraction.structured.ListingExtractor -- [listing-extractor] portal=preux outcome=NO_STRUCTURED_DATA champs=0 par-couche={}
00:16:09.857 [Test worker] INFO com.alertimmo.aiscraping.extraction.structured.ListingExtractor -- [listing-extractor] portal=pap outcome=EXTRACTED champs=18 par-couche={STRUCTURED=8, DESCRIPTION=10}
00:16:09.859 [Test worker] INFO com.alertimmo.aiscraping.extraction.structured.ListingExtractor -- [listing-extractor] portal=seloger outcome=EXTRACTED champs=18 par-couche={STRUCTURED=7, DESCRIPTION=11}