ListingExtractorTest

4

tests

0

failures

0

ignored

0.008s

duration

100%

successful

Tests

Test Method name Duration Result
LBC __NEXT_DATA__ — blob riche, ≥15 champs, majoritairement structuré lbc rich blob mostly structured() 0.003s 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.001s passed

Standard output

22:38:07.536 [Test worker] INFO com.alertimmo.aiscraping.extraction.structured.ListingExtractor -- [listing-extractor] portal=lbc outcome=EXTRACTED champs=15 par-couche={STRUCTURED=15}
22:38:07.537 [Test worker] INFO com.alertimmo.aiscraping.extraction.structured.ListingExtractor -- [listing-extractor] portal=preux outcome=NO_STRUCTURED_DATA champs=0 par-couche={}
22:38:07.539 [Test worker] INFO com.alertimmo.aiscraping.extraction.structured.ListingExtractor -- [listing-extractor] portal=pap outcome=EXTRACTED champs=18 par-couche={STRUCTURED=8, DESCRIPTION=10}
22:38:07.541 [Test worker] INFO com.alertimmo.aiscraping.extraction.structured.ListingExtractor -- [listing-extractor] portal=seloger outcome=EXTRACTED champs=18 par-couche={STRUCTURED=7, DESCRIPTION=11}