ListingExtractorTest

4

tests

0

failures

0

ignored

0.021s

duration

100%

successful

Tests

Test Method name Duration Result
LBC __NEXT_DATA__ — blob riche, ≥15 champs, majoritairement structuré lbc rich blob mostly structured() 0.012s passed
Preux — page sans blob ni description → NO_STRUCTURED_DATA (abstention) preux abstains() 0.001s passed
SeLoger — fusion structuré + description ⇒ 14 champs (>7 du structuré seul), dont nbLotsCopro→banId seloger merges structured and description() 0.005s 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

01:02:19.284 [Test worker] INFO com.alertimmo.aiscraping.extraction.structured.ListingExtractor -- [listing-extractor] portal=lbc outcome=EXTRACTED champs=15 par-couche={STRUCTURED=15}
01:02:19.285 [Test worker] INFO com.alertimmo.aiscraping.extraction.structured.ListingExtractor -- [listing-extractor] portal=preux outcome=NO_STRUCTURED_DATA champs=0 par-couche={}
01:02:19.288 [Test worker] INFO com.alertimmo.aiscraping.extraction.structured.ListingExtractor -- [listing-extractor] portal=pap outcome=EXTRACTED champs=18 par-couche={STRUCTURED=8, DESCRIPTION=10}
01:02:19.293 [Test worker] INFO com.alertimmo.aiscraping.extraction.structured.ListingExtractor -- [listing-extractor] portal=seloger outcome=EXTRACTED champs=18 par-couche={STRUCTURED=7, DESCRIPTION=11}