Administration

← Retour

Log : 20260425_080000

OK
Durée : 1046s 8 OK 5444 annonces
clio_4 i20 berlingo c4 scenic 5008 fiesta nv200
2026-04-25 08:08:28 [INFO] [i20] [LLM DESC] [2/8] I20 (brand=hyundai, pages=auto)
2026-04-25 08:08:28 [INFO] [i20] [LLM DESC] URL: https://www.leboncoin.fr/recherche?category=2&text=i20&price=3000-9000&regdate=2...
2026-04-25 08:08:28 [INFO] [i20] [SEARCH] $ /home/ubuntu/app/.venv/bin/python /home/ubuntu/app/crawler/leboncoin_search_export.py --output-file /home/ubuntu/app/leboncoin_ads.csv --model i20
2026-04-25 08:08:28 [INFO] [i20] [SEARCH] Recuperation de la page 1 avec l'URL: https://www.leboncoin.fr/recherche?category=2&text=i20&price=3000-9000&regdate=2013-max&gearbox=1&seats=5%2C4&u_car_brand=HYUNDAI&u_car_model=HYUNDAI_i20&order=asc&page=1
2026-04-25 08:08:31 [INFO] [i20] [SEARCH] 35 annonces recuperees (total: 35)
2026-04-25 08:08:31 [INFO] [i20] [SEARCH] Recuperation de la page 2 avec l'URL: https://www.leboncoin.fr/recherche?category=2&text=i20&price=3000-9000&regdate=2013-max&gearbox=1&seats=5%2C4&u_car_brand=HYUNDAI&u_car_model=HYUNDAI_i20&order=asc&page=2
2026-04-25 08:08:33 [INFO] [i20] [SEARCH] 35 annonces recuperees (total: 70)
2026-04-25 08:08:33 [INFO] [i20] [SEARCH] Recuperation de la page 3 avec l'URL: https://www.leboncoin.fr/recherche?category=2&text=i20&price=3000-9000&regdate=2013-max&gearbox=1&seats=5%2C4&u_car_brand=HYUNDAI&u_car_model=HYUNDAI_i20&order=asc&page=3
2026-04-25 08:08:36 [INFO] [i20] [SEARCH] 35 annonces recuperees (total: 105)
2026-04-25 08:08:36 [INFO] [i20] [SEARCH] Recuperation de la page 4 avec l'URL: https://www.leboncoin.fr/recherche?category=2&text=i20&price=3000-9000&regdate=2013-max&gearbox=1&seats=5%2C4&u_car_brand=HYUNDAI&u_car_model=HYUNDAI_i20&order=asc&page=4
2026-04-25 08:08:39 [INFO] [i20] [SEARCH] 35 annonces recuperees (total: 140)
2026-04-25 08:08:39 [INFO] [i20] [SEARCH] Recuperation de la page 5 avec l'URL: https://www.leboncoin.fr/recherche?category=2&text=i20&price=3000-9000&regdate=2013-max&gearbox=1&seats=5%2C4&u_car_brand=HYUNDAI&u_car_model=HYUNDAI_i20&order=asc&page=5
2026-04-25 08:08:42 [INFO] [i20] [SEARCH] 35 annonces recuperees (total: 175)
2026-04-25 08:08:42 [INFO] [i20] [SEARCH] Recuperation de la page 6 avec l'URL: https://www.leboncoin.fr/recherche?category=2&text=i20&price=3000-9000&regdate=2013-max&gearbox=1&seats=5%2C4&u_car_brand=HYUNDAI&u_car_model=HYUNDAI_i20&order=asc&page=6
2026-04-25 08:08:45 [INFO] [i20] [SEARCH] 35 annonces recuperees (total: 210)
2026-04-25 08:08:45 [INFO] [i20] [SEARCH] Recuperation de la page 7 avec l'URL: https://www.leboncoin.fr/recherche?category=2&text=i20&price=3000-9000&regdate=2013-max&gearbox=1&seats=5%2C4&u_car_brand=HYUNDAI&u_car_model=HYUNDAI_i20&order=asc&page=7
2026-04-25 08:08:46 [INFO] [i20] [SEARCH] 27 annonces recuperees (total: 237)
2026-04-25 08:08:46 [INFO] [i20] [SEARCH] Recuperation de la page 8 avec l'URL: https://www.leboncoin.fr/recherche?category=2&text=i20&price=3000-9000&regdate=2013-max&gearbox=1&seats=5%2C4&u_car_brand=HYUNDAI&u_car_model=HYUNDAI_i20&order=asc&page=8
2026-04-25 08:08:49 [INFO] [i20] [SEARCH] Page 8 : aucune annonce, arret de la pagination.
2026-04-25 08:08:49 [INFO] [i20] [SEARCH] Termine : 237 annonces au total dans /home/ubuntu/app/leboncoin_ads_i20_20260425_080828.csv
2026-04-25 08:08:49 [INFO] [i20] [SEARCH] CSV : leboncoin_ads_i20_20260425_080828.csv
2026-04-25 08:08:49 [INFO] [i20] [IMPORT] $ /home/ubuntu/app/.venv/bin/python -m db.migrate_csv --input /home/ubuntu/app/leboncoin_ads_i20_20260425_080828.csv --db /home/ubuntu/app/db/lbc.sqlite --model i20
2026-04-25 08:08:49 [INFO] [i20] [IMPORT] Model override : i20
2026-04-25 08:08:49 [INFO] [i20] [IMPORT] MIGRATION CSV -> SQLite unifie
2026-04-25 08:08:49 [INFO] [i20] [IMPORT] Fichier: leboncoin_ads_i20_20260425_080828.csv
2026-04-25 08:08:49 [INFO] [i20] [IMPORT] Schéma initialisé dans /home/ubuntu/app/db/lbc.sqlite
2026-04-25 08:08:49 [INFO] [i20] [IMPORT] 237 lus, 237 inseres, 0 ignores, 0 erreurs
2026-04-25 08:08:49 [INFO] [i20] [IMPORT] TOTAL : 237 lus, 237 inseres — Base : /home/ubuntu/app/db/lbc.sqlite
2026-04-25 08:08:49 [INFO] [i20] [IMPORT] 14659 annonces en base
2026-04-25 08:08:49 [INFO] [i20] [AVAILABILITY] $ /home/ubuntu/app/.venv/bin/python /home/ubuntu/app/scripts/check_availability.py --csv /home/ubuntu/app/leboncoin_ads_i20_20260425_080828.csv --brand hyundai --model i20 --db /home/ubuntu/app/db/lbc.sqlite
2026-04-25 08:08:49 [INFO] [i20] [AVAILABILITY] CHECK DISPONIBILITE — CSV: leboncoin_ads_i20_20260425_080828.csv, Brand: hyundai, Model: i20
2026-04-25 08:08:49 [INFO] [i20] [AVAILABILITY] 237 list_id lus dans le CSV.
2026-04-25 08:08:49 [INFO] [i20] [AVAILABILITY] 239 annonces actives en base pour hyundai i20.
2026-04-25 08:08:49 [INFO] [i20] [AVAILABILITY] 2 annonce(s) marquées indisponibles.
2026-04-25 08:08:49 [INFO] [i20] [AVAILABILITY] CSV: 237, Actives DB: 239, Absentes: 2
2026-04-25 08:08:49 [INFO] [i20] [AVAILABILITY] Marquees indisponibles: 2
2026-04-25 08:08:49 [INFO] [i20] [DETAIL] $ /home/ubuntu/app/.venv/bin/python -m crawler.leboncoin_ad_detail --model i20 --delay 0.5 --limit 200
2026-04-25 08:08:50 [INFO] [i20] [DETAIL] ENRICHISSEMENT AD DETAIL — Modele: i20 — Limite: 200
2026-04-25 08:08:50 [INFO] [i20] [DETAIL] Schéma initialisé dans /home/ubuntu/app/db/lbc.sqlite
2026-04-25 08:08:50 [INFO] [i20] [DETAIL] 3 annonce(s) à enrichir (modèle: i20)
2026-04-25 08:09:01 [INFO] [i20] [DETAIL] RESULTAT : 3 traitee(s), 3 enrichies, 0 introuvables, 0 erreurs
2026-04-25 08:09:01 [INFO] [i20] [STATS] $ /home/ubuntu/app/.venv/bin/python -m stats.main --model i20 --skip-plots
2026-04-25 08:09:01 [INFO] [i20] [STATS] ANALYSEUR LEBONCOIN — Base: /home/ubuntu/app/db/lbc.sqlite, Figures: /home/ubuntu/app/stats/i20/figures, Modele: i20, Graphiques: Non
2026-04-25 08:09:04 [INFO] [i20] [STATS] Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
2026-04-25 08:09:04 [INFO] [i20] [STATS] Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
2026-04-25 08:09:05 [INFO] [i20] [STATS] M05 — Extraction LLM des titres (GPT-5 Nano)
2026-04-25 08:09:05 [INFO] [i20] [STATS] Annonces sans evaluation LLM : 3
2026-04-25 08:09:08 [INFO] [i20] [STATS] HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2026-04-25 08:09:08 [INFO] [i20] [STATS] LLM OUTPUT batch 1/1: 3 resultats extraits (modele=gpt-4.1-mini)
2026-04-25 08:09:08 [INFO] [i20] [STATS] Resultats extraits : 3
2026-04-25 08:09:08 [INFO] [i20] [STATS] Evaluations inserees : 3
2026-04-25 08:09:09 [INFO] [i20] [STATS]   stats_descriptives : 5 lignes insérées
2026-04-25 08:09:09 [INFO] [i20] [STATS]   modele_regression : 2 lignes insérées
2026-04-25 08:09:09 [INFO] [i20] [STATS]   referentiel_prix : 44 segments insérés
2026-04-25 08:09:09 [INFO] [i20] [STATS]   ads.deal_columns : 636 annonces mises à jour
2026-04-25 08:09:09 [INFO] [i20] [STATS] M06 — Extraction LLM des descriptions (GPT-5 Nano)
2026-04-25 08:09:09 [INFO] [i20] [STATS] Schéma initialisé dans /home/ubuntu/app/db/lbc.sqlite
2026-04-25 08:09:09 [INFO] [i20] [STATS] Champs actifs : 8
2026-04-25 08:09:09 [INFO] [i20] [STATS] Annonces Excellente/Bonne affaire sans analyse description : 3
2026-04-25 08:09:09 [INFO] [i20] [STATS] ━━━ LLM DESC SYSTEM PROMPT ━━━
Tu es un expert automobile français. On te donne des descriptions d'annonces de véhicules d'occasion avec leur identifiant.

Pour chaque annonce, extrais depuis la description les informations suivantes :
- courroie_changee : true si la courroie de distribution a été changée ou remplacée, false si explicitement non changée, null si non mentionné
- embrayage_change : true si l'embrayage est neuf ou a été remplacé, false si explicitement non changé, null si non mentionné
- travaux_recents : liste des travaux ou réparations récentes mentionnés dans la description (ex: 'freins refaits', 'pneus neufs', 'vidange faite'). Liste vide si aucun.
- negociabilite : négociable si le vendeur indique être ouvert aux offres, ferme si le prix est indiqué ferme, null si non mentionné
- contexte_vente : contexte notable de la vente s'il est mentionné (ex: 'urgent', 'déménagement', 'décès', 'achat neuf'). null si rien de notable
- nb_proprietaires : nombre de propriétaires du véhicule si mentionné (ex: 1 pour '1ère main', 2 pour '2ème main'). null si non mentionné
- options_description : liste des équipements et options cités dans la description (ex: 'GPS', 'Caméra recul', 'Clim auto', 'Toit ouvrant'). Liste vide si aucun.
- accidente : true si le véhicule a subi un accident, un choc, une collision, des airbags déclenchés ou une carrosserie endommagée mentionné explicitement. false si le vendeur indique explicitement non accidenté ou sans accident. null si non mentionné.

Règles :
- Extrais UNIQUEMENT ce qui est explicitement dans la description
- Ne déduis pas, n'invente pas
- Pour les champs de type liste, retourne une liste vide si rien n'est mentionné
- Conserve le list_id exact tel que fourni
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2026-04-25 08:09:09 [INFO] [i20] [STATS] ━━━ LLM DESC INPUT batch 1/3 (1 annonces) ━━━
3183929649: "Je vends ma Hyundai i20 édition Clim de 2017, une berline citadine pratique et économique. - Marque : Hyundai - Modèle : i20 - Année : 2017 - Kilométrage : 153 000 km - Motorisation : 1.2 Essence 75 ch - Carburant : Essence - Boîte de vitesses : Manuelle - Nombre de portes : 5 - Nombre de sièges : 5 - Couleur : Gris - Crit'Air : 1 - Contrôle technique : Bon état général N'hésitez pas à me contacter pour plus d'informations ou pour convenir d'un essai."
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2026-04-25 08:09:10 [INFO] [i20] [STATS] HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2026-04-25 08:09:10 [INFO] [i20] [STATS] ━━━ LLM DESC OUTPUT batch 1/3 (1 résultats, modèle=gpt-4.1-mini) ━━━
[
  {
    "list_id": "3183929649",
    "courroie_changee": null,
    "embrayage_change": null,
    "travaux_recents": [],
    "negociabilite": null,
    "contexte_vente": null,
    "nb_proprietaires": null,
    "options_description": [
      "Clim"
    ],
    "accidente": null
  }
]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2026-04-25 08:09:10 [INFO] [i20] [STATS] Batch persisté : 1 évaluation(s) sauvegardée(s)
2026-04-25 08:09:10 [INFO] [i20] [STATS] ━━━ LLM DESC INPUT batch 2/3 (1 annonces) ━━━
3185823288: "A vendre hyundai i20 propre CT ok faible kilométrage cg a jour disponible de suite 4200€"
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2026-04-25 08:09:12 [INFO] [i20] [STATS] HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2026-04-25 08:09:12 [INFO] [i20] [STATS] ━━━ LLM DESC OUTPUT batch 2/3 (1 résultats, modèle=gpt-4.1-mini) ━━━
[
  {
    "list_id": "3185823288",
    "courroie_changee": null,
    "embrayage_change": null,
    "travaux_recents": [],
    "negociabilite": null,
    "contexte_vente": null,
    "nb_proprietaires": null,
    "options_description": [],
    "accidente": null
  }
]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2026-04-25 08:09:12 [INFO] [i20] [STATS] Batch persisté : 1 évaluation(s) sauvegardée(s)
2026-04-25 08:09:12 [INFO] [i20] [STATS] ━━━ LLM DESC INPUT batch 3/3 (1 annonces) ━━━
3185832815: "cause maladie vend HYUNDAY I20  bonne état général courroie distribution faite pneu neuf reservoir essence et pompe changé"
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2026-04-25 08:09:13 [INFO] [i20] [STATS] HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2026-04-25 08:09:13 [INFO] [i20] [STATS] ━━━ LLM DESC OUTPUT batch 3/3 (1 résultats, modèle=gpt-4.1-mini) ━━━
[
  {
    "list_id": "3185832815",
    "courroie_changee": true,
    "embrayage_change": null,
    "travaux_recents": [
      "pneu neuf",
      "réservoir essence changé",
      "pompe changé"
    ],
    "negociabilite": null,
    "contexte_vente": "cause maladie",
    "nb_proprietaires": null,
    "options_description": [],
    "accidente": null
  }
]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2026-04-25 08:09:13 [INFO] [i20] [STATS] Batch persisté : 1 évaluation(s) sauvegardée(s)
2026-04-25 08:09:13 [INFO] [i20] [STATS] Évaluations insérées : 3
2026-04-25 08:09:13 [INFO] [i20] [STATS] ANALYSE TERMINEE en 7.5s — 636 annonces (run #813) — Modele: i20
2026-04-25 08:09:13 [INFO] [i20] [LLM] $ /home/ubuntu/app/.venv/bin/python -m stats.m05_llm_title_analysis --model i20
2026-04-25 08:09:14 [INFO] [i20] [LLM] M05 — Extraction LLM des titres (GPT-5 Nano)
2026-04-25 08:09:14 [INFO] [i20] [LLM] Annonces sans evaluation LLM : 0
2026-04-25 08:09:14 [INFO] [i20] [LLM] Toutes les annonces ont deja ete analysees.
2026-04-25 08:09:14 [INFO] [i20] [LLM DESC] $ /home/ubuntu/app/.venv/bin/python -m stats.m06_llm_description_analysis --model i20
2026-04-25 08:09:14 [INFO] [i20] [LLM DESC] M06 — Extraction LLM des descriptions (GPT-5 Nano)
2026-04-25 08:09:14 [INFO] [i20] [LLM DESC] Schéma initialisé dans /home/ubuntu/app/db/lbc.sqlite
2026-04-25 08:09:14 [INFO] [i20] [LLM DESC] Champs actifs : 8
2026-04-25 08:09:14 [INFO] [i20] [LLM DESC] Annonces Excellente/Bonne affaire sans analyse description : 0
2026-04-25 08:09:14 [INFO] [i20] [LLM DESC] Toutes les annonces éligibles ont déjà été analysées.