SnapshotsParsingMesureTest

8

tests

0

failures

0

ignored

1.629s

duration

100%

successful

Tests

Test Method name Duration Result
DEFAUT-C1 : une liste de codes postaux de filtre suivie d'un mot capitalisé est lue comme code postal + ville defaut code postal de filtre() 0.001s passed
DEFAUT-G1 : l'échelle GES (A..G) d'une jauge est lue comme la classe GES du bien defaut ges jauge() 0s passed
DEFAUT-P1 : espace insécable avant les milliers => prix lu « 000 » (190 000 € attendu) defaut prix avec espace insecable() 0.001s passed
DEFAUT-P2 : point des milliers => prix lu « 500 » (325500 attendu) defaut prix avec point des milliers() 0s passed
Rejeu : chaque snapshot est relu par checksum avant parsing ; un snapshot altéré donne un état typé, jamais un succès integrite par checksum() 0.099s passed
Snapshots staging (texte) + pages HTML historiques (structured-first) : mesure et non-régression mesure par champ et par domaine() 1.011s passed
Rejeu : déterministe, deux exécutions sur le même snapshot donnent la même sortie octet pour octet rejeu deterministe() 0.409s passed
Rejeu : taux de rejeu réussi par domaine = snapshots rejoués avec succès / snapshots archivés (publié, champ non extrait = null) taux de rejeu reussi() 0.108s passed

Standard output

21:49:58.663 [Test worker] INFO com.alertimmo.aiscraping.extraction.structured.ListingExtractor -- [listing-extractor] portal=leboncoin outcome=EXTRACTED champs=14 par-couche={STRUCTURED=14}
21:49:58.735 [Test worker] INFO com.alertimmo.aiscraping.extraction.structured.ListingExtractor -- [listing-extractor] portal=seloger outcome=EXTRACTED champs=10 par-couche={STRUCTURED=10}
21:49:58.781 [Test worker] INFO com.alertimmo.aiscraping.extraction.structured.ListingExtractor -- [listing-extractor] portal=seloger outcome=EXTRACTED champs=6 par-couche={STRUCTURED=6}
21:49:58.844 [Test worker] INFO com.alertimmo.aiscraping.extraction.structured.ListingExtractor -- [listing-extractor] portal=seloger outcome=EXTRACTED champs=10 par-couche={STRUCTURED=10}
21:49:58.877 [Test worker] INFO com.alertimmo.aiscraping.extraction.structured.ListingExtractor -- [listing-extractor] portal=seloger outcome=EXTRACTED champs=10 par-couche={STRUCTURED=9, DESCRIPTION=1}
21:49:58.944 [Test worker] INFO com.alertimmo.aiscraping.extraction.structured.ListingExtractor -- [listing-extractor] portal=seloger outcome=EXTRACTED champs=9 par-couche={STRUCTURED=9}
21:49:58.971 [Test worker] INFO com.alertimmo.aiscraping.extraction.structured.ListingExtractor -- [listing-extractor] portal=foncia outcome=EXTRACTED champs=9 par-couche={STRUCTURED=6, DESCRIPTION=3}
21:49:59.014 [Test worker] INFO com.alertimmo.aiscraping.extraction.structured.ListingExtractor -- [listing-extractor] portal=safti outcome=EXTRACTED champs=8 par-couche={STRUCTURED=5, DESCRIPTION=3}
21:49:59.054 [Test worker] INFO com.alertimmo.aiscraping.extraction.structured.ListingExtractor -- [listing-extractor] portal=safti outcome=EXTRACTED champs=10 par-couche={STRUCTURED=5, DESCRIPTION=5}
21:49:59.058 [Test worker] INFO com.alertimmo.aiscraping.extraction.structured.ListingExtractor -- [listing-extractor] portal=null outcome=EXTRACTED champs=2 par-couche={STRUCTURED=2}
21:49:59.060 [Test worker] INFO com.alertimmo.aiscraping.extraction.structured.ListingExtractor -- [listing-extractor] portal=leboncoin outcome=EXTRACTED champs=3 par-couche={STRUCTURED=3}
21:49:59.063 [Test worker] INFO com.alertimmo.aiscraping.extraction.structured.ListingExtractor -- [listing-extractor] portal=leboncoin outcome=EXTRACTED champs=15 par-couche={STRUCTURED=15}
21:49:59.064 [Test worker] INFO com.alertimmo.aiscraping.extraction.structured.ListingExtractor -- [listing-extractor] portal=leboncoin outcome=EXTRACTED champs=13 par-couche={STRUCTURED=7, DESCRIPTION=6}
21:49:59.065 [Test worker] INFO com.alertimmo.aiscraping.extraction.structured.ListingExtractor -- [listing-extractor] portal=offmarket outcome=EXTRACTED champs=13 par-couche={STRUCTURED=7, DESCRIPTION=6}
21:49:59.066 [Test worker] INFO com.alertimmo.aiscraping.extraction.structured.ListingExtractor -- [listing-extractor] portal=offmarket outcome=EXTRACTED champs=2 par-couche={STRUCTURED=2}
21:49:59.068 [Test worker] INFO com.alertimmo.aiscraping.extraction.structured.ListingExtractor -- [listing-extractor] portal=pap outcome=EXTRACTED champs=18 par-couche={STRUCTURED=8, DESCRIPTION=10}
21:49:59.070 [Test worker] INFO com.alertimmo.aiscraping.extraction.structured.ListingExtractor -- [listing-extractor] portal=pap outcome=EXTRACTED champs=8 par-couche={STRUCTURED=7, DESCRIPTION=1}
21:49:59.072 [Test worker] INFO com.alertimmo.aiscraping.extraction.structured.ListingExtractor -- [listing-extractor] portal=preux outcome=EXTRACTED champs=3 par-couche={STRUCTURED=3}
21:49:59.074 [Test worker] INFO com.alertimmo.aiscraping.extraction.structured.ListingExtractor -- [listing-extractor] portal=preux outcome=EXTRACTED champs=4 par-couche={STRUCTURED=4}
21:49:59.075 [Test worker] INFO com.alertimmo.aiscraping.extraction.structured.ListingExtractor -- [listing-extractor] portal=seloger outcome=EXTRACTED champs=19 par-couche={STRUCTURED=7, DESCRIPTION=12}
21:49:59.076 [Test worker] INFO com.alertimmo.aiscraping.extraction.structured.ListingExtractor -- [listing-extractor] portal=seloger outcome=EXTRACTED champs=6 par-couche={STRUCTURED=6}
21:49:59.077 [Test worker] INFO com.alertimmo.aiscraping.extraction.structured.ListingExtractor -- [listing-extractor] portal=seloger outcome=EXTRACTED champs=18 par-couche={STRUCTURED=7, DESCRIPTION=11}
# Mesure du parsing sur snapshots

## Corpus A — staging annonce_brute (texte), 27 URL, 10 domaines

| domaine | n | prix (présent/extrait) | surface (présent/extrait) | nbPieces (présent/extrait) | type (présent/extrait) | ville (présent/extrait) | codePostal (présent/extrait) | dpe (présent/extrait) | ges (présent/extrait) | incohérences |
|---|---|---|---|---|---|---|---|---|---|---|
| 4807immobilier.com | 1 | 1/1 | 1/1 | 1/0 | n/a/1 | n/a/0 | 1/0 | 1/0 | n/a/0 | 0 |
| agence-schuman.com | 1 | 1/1 | 1/0 | 1/1 | n/a/1 | n/a/0 | 1/0 | 0/0 | n/a/0 | 1 |
| almabyevelynele.com | 2 | 2/0 | 2/0 | 1/0 | n/a/0 | n/a/0 | 2/2 | 2/2 | n/a/0 | 0 |
| booster-immobilier.com | 15 | 15/0 | 4/0 | 10/0 | n/a/0 | n/a/0 | 15/15 | 15/0 | n/a/15 | 0 |
| gerimalp.fr | 2 | 2/2 | 2/2 | 2/0 | n/a/2 | n/a/0 | 2/2 | 2/0 | n/a/0 | 0 |
| lefranc-immobilier.fr | 1 | 1/0 | 1/0 | 1/1 | n/a/0 | n/a/0 | 1/1 | 1/0 | n/a/0 | 0 |
| leonimmobilier.fr | 1 | 1/1 | 1/1 | 1/0 | n/a/1 | n/a/0 | 1/1 | 1/0 | n/a/0 | 2 |
| novea-immobilier.fr | 1 | 1/0 | 1/0 | 1/1 | n/a/0 | n/a/1 | 1/1 | 1/1 | n/a/1 | 0 |
| swixim-paris.com | 1 | 1/0 | 1/0 | 1/0 | n/a/1 | n/a/1 | 1/1 | 1/0 | n/a/0 | 0 |
| talentis-immo.com | 2 | 1/0 | 2/0 | 2/2 | n/a/0 | n/a/2 | 2/2 | 0/0 | n/a/0 | 0 |

**Total extrait (sur 27)** : prix=5, surface=4, nbPieces=5, type=6, ville=4, codePostal=25, dpe=3, ges=16; incohérences=3

Incohérences :
- agence-schuman.com — .com/vente/vente-appartement-t3-nantes-americains-325-500-e/ — prix hors plage: 500
- leonimmobilier.fr — bien/studio-2167-m%c2%b2-au-calme-sur-cour-nation-paris-12e/ — prix hors plage: 0
- leonimmobilier.fr — bien/studio-2167-m%c2%b2-au-calme-sur-cour-nation-paris-12e/ — prix/m² hors plage: 0

## Corpus B — HTML historiques versionnés (structured-first), 22 pages

| page | outcome | JSON-LD/blob | prix | surface | nbPieces | type | ville | codePostal | dpe | ges | incoh. |
|---|---|---|---|---|---|---|---|---|---|---|---|
| lbc-3205048424 | EXTRACTED | non | x | x | x | x | x | x | x | x | 0 |
| seloger-251IH6L615B5 | EXTRACTED | oui | x | x | x | x | x | x | x | - | 0 |
| seloger-265UZKVG53ZJ | EXTRACTED | oui | x | x | - | - | x | x | x | - | 0 |
| seloger-269LUM2LZWFZ | EXTRACTED | oui | x | x | x | x | x | x | x | - | 0 |
| seloger-26FAGT8AZXXM | EXTRACTED | oui | x | x | x | x | x | x | x | - | 0 |
| seloger-26X2N6YYW114 | EXTRACTED | oui | x | x | x | x | x | x | x | - | 0 |
| foncia-00729089 | EXTRACTED | oui | - | x | x | x | x | x | - | - | 0 |
| safti-1576531 | EXTRACTED | oui | x | x | - | x | x | x | - | - | 0 |
| safti-1680467 | EXTRACTED | oui | x | x | - | x | x | x | - | - | 0 |
| agence-siege-sans-rue-366 | EXTRACTED | non | - | - | - | x | - | x | - | - | 0 |
| lbc-appartement-t4-annecy | EXTRACTED | non | - | - | x | x | - | x | - | - | 0 |
| lbc-blob-annecy | EXTRACTED | non | x | x | x | x | x | x | x | x | 0 |
| lbc-t4-limoges | EXTRACTED | oui | x | x | x | x | x | x | x | x | 0 |
| offmarket-maison-poitiers | EXTRACTED | oui | x | x | x | x | x | x | x | x | 0 |
| offmarket-studio-lyon | EXTRACTED | non | - | - | - | x | - | x | - | - | 0 |
| pap-maison-bordeaux | EXTRACTED | oui | x | x | x | x | x | x | x | x | 0 |
| pap-studio-poitiers | EXTRACTED | oui | x | x | x | x | x | x | - | - | 0 |
| preux-appartement-va4736 | EXTRACTED | non | - | - | x | x | - | x | - | - | 0 |
| preux-va4736-annecy | EXTRACTED | non | x | x | - | x | - | x | - | - | 0 |
| seloger-appartement-t3-paris | EXTRACTED | oui | x | x | x | x | x | x | x | x | 0 |
| seloger-real-poor-jsonld | EXTRACTED | oui | x | x | x | x | x | x | - | - | 0 |
| seloger-t3-lyon | EXTRACTED | oui | x | x | x | x | x | x | x | x | 0 |

**Total B** : EXTRACTED=22/22, structure=15/22; prix=17, surface=18, nbPieces=16, type=21, ville=17, codePostal=22, dpe=12, ges=7

# Taux de rejeu réussi (GH#1148 G1, replay offline)

Réussi = checksum relu OK + parsing sans exception. Complet = réussi ET prix, surface et code postal extraits sans incohérence (champ absent = null, jamais deviné).

| domaine | archivés | rejoués avec succès | taux de rejeu réussi | complets (prix+surface+CP) | taux complet |
|---|---|---|---|---|---|
| 4807immobilier.com | 1 | 1 | 100 % | 0 | 0 % |
| agence-schuman.com | 1 | 1 | 100 % | 0 | 0 % |
| almabyevelynele.com | 2 | 2 | 100 % | 0 | 0 % |
| booster-immobilier.com | 15 | 15 | 100 % | 0 | 0 % |
| gerimalp.fr | 2 | 2 | 100 % | 2 | 100 % |
| lefranc-immobilier.fr | 1 | 1 | 100 % | 0 | 0 % |
| leonimmobilier.fr | 1 | 1 | 100 % | 0 | 0 % |
| novea-immobilier.fr | 1 | 1 | 100 % | 0 | 0 % |
| swixim-paris.com | 1 | 1 | 100 % | 0 | 0 % |
| talentis-immo.com | 2 | 2 | 100 % | 0 | 0 % |
| **TOTAL** | 27 | 27 | 100 % | 2 | 7 % |