Administration

← Retour

Log : 20260429_080000

OK
Durée : 768s 8 OK 5512 annonces
clio_4 i20 berlingo c4 scenic 5008 fiesta nv200
2026-04-29 08:06:24 [INFO] [scenic] [LLM DESC] [5/8] SCENIC (brand=renault, pages=auto)
2026-04-29 08:06:24 [INFO] [scenic] [LLM DESC] URL: https://www.leboncoin.fr/recherche?category=2&text=scenic&price=min-11000&regdat...
2026-04-29 08:06:24 [INFO] [scenic] [SEARCH] $ /home/ubuntu/app/.venv/bin/python /home/ubuntu/app/crawler/leboncoin_search_export.py --output-file /home/ubuntu/app/leboncoin_ads.csv --model scenic
2026-04-29 08:06:24 [INFO] [scenic] [SEARCH] Recuperation de la page 1 avec l'URL: https://www.leboncoin.fr/recherche?category=2&text=scenic&price=min-11000&regdate=2013-max&mileage=min-150000&seats=999999&u_car_brand=RENAULT&page=1
2026-04-29 08:06:28 [INFO] [scenic] [SEARCH] 35 annonces recuperees (total: 35)
2026-04-29 08:06:28 [INFO] [scenic] [SEARCH] Recuperation de la page 2 avec l'URL: https://www.leboncoin.fr/recherche?category=2&text=scenic&price=min-11000&regdate=2013-max&mileage=min-150000&seats=999999&u_car_brand=RENAULT&page=2
2026-04-29 08:06:30 [INFO] [scenic] [SEARCH] 35 annonces recuperees (total: 70)
2026-04-29 08:06:30 [INFO] [scenic] [SEARCH] Recuperation de la page 3 avec l'URL: https://www.leboncoin.fr/recherche?category=2&text=scenic&price=min-11000&regdate=2013-max&mileage=min-150000&seats=999999&u_car_brand=RENAULT&page=3
2026-04-29 08:06:33 [INFO] [scenic] [SEARCH] 35 annonces recuperees (total: 105)
2026-04-29 08:06:33 [INFO] [scenic] [SEARCH] Recuperation de la page 4 avec l'URL: https://www.leboncoin.fr/recherche?category=2&text=scenic&price=min-11000&regdate=2013-max&mileage=min-150000&seats=999999&u_car_brand=RENAULT&page=4
2026-04-29 08:06:36 [INFO] [scenic] [SEARCH] 35 annonces recuperees (total: 140)
2026-04-29 08:06:36 [INFO] [scenic] [SEARCH] Recuperation de la page 5 avec l'URL: https://www.leboncoin.fr/recherche?category=2&text=scenic&price=min-11000&regdate=2013-max&mileage=min-150000&seats=999999&u_car_brand=RENAULT&page=5
2026-04-29 08:06:38 [INFO] [scenic] [SEARCH] 3 annonces recuperees (total: 143)
2026-04-29 08:06:38 [INFO] [scenic] [SEARCH] Recuperation de la page 6 avec l'URL: https://www.leboncoin.fr/recherche?category=2&text=scenic&price=min-11000&regdate=2013-max&mileage=min-150000&seats=999999&u_car_brand=RENAULT&page=6
2026-04-29 08:06:40 [INFO] [scenic] [SEARCH] Page 6 : aucune annonce, arret de la pagination.
2026-04-29 08:06:40 [INFO] [scenic] [SEARCH] Termine : 143 annonces au total dans /home/ubuntu/app/leboncoin_ads_scenic_20260429_080624.csv
2026-04-29 08:06:40 [INFO] [scenic] [SEARCH] CSV : leboncoin_ads_scenic_20260429_080624.csv
2026-04-29 08:06:40 [INFO] [scenic] [IMPORT] $ /home/ubuntu/app/.venv/bin/python -m db.migrate_csv --input /home/ubuntu/app/leboncoin_ads_scenic_20260429_080624.csv --db /home/ubuntu/app/db/lbc.sqlite --model scenic
2026-04-29 08:06:40 [INFO] [scenic] [IMPORT] Model override : scenic
2026-04-29 08:06:40 [INFO] [scenic] [IMPORT] MIGRATION CSV -> SQLite unifie
2026-04-29 08:06:40 [INFO] [scenic] [IMPORT] Fichier: leboncoin_ads_scenic_20260429_080624.csv
2026-04-29 08:06:40 [INFO] [scenic] [IMPORT] Schéma initialisé dans /home/ubuntu/app/db/lbc.sqlite
2026-04-29 08:06:41 [INFO] [scenic] [IMPORT] 143 lus, 143 inseres, 0 ignores, 0 erreurs
2026-04-29 08:06:41 [INFO] [scenic] [IMPORT] TOTAL : 143 lus, 143 inseres — Base : /home/ubuntu/app/db/lbc.sqlite
2026-04-29 08:06:41 [INFO] [scenic] [IMPORT] 15535 annonces en base
2026-04-29 08:06:41 [INFO] [scenic] [AVAILABILITY] $ /home/ubuntu/app/.venv/bin/python /home/ubuntu/app/scripts/check_availability.py --csv /home/ubuntu/app/leboncoin_ads_scenic_20260429_080624.csv --brand renault --model scenic --db /home/ubuntu/app/db/lbc.sqlite
2026-04-29 08:06:41 [INFO] [scenic] [AVAILABILITY] CHECK DISPONIBILITE — CSV: leboncoin_ads_scenic_20260429_080624.csv, Brand: renault, Model: scenic
2026-04-29 08:06:41 [INFO] [scenic] [AVAILABILITY] 143 list_id lus dans le CSV.
2026-04-29 08:06:41 [INFO] [scenic] [AVAILABILITY] 145 annonces actives en base pour renault scenic.
2026-04-29 08:06:41 [INFO] [scenic] [AVAILABILITY] 2 annonce(s) marquées indisponibles.
2026-04-29 08:06:41 [INFO] [scenic] [AVAILABILITY] CSV: 143, Actives DB: 145, Absentes: 2
2026-04-29 08:06:41 [INFO] [scenic] [AVAILABILITY] Marquees indisponibles: 2
2026-04-29 08:06:41 [INFO] [scenic] [DETAIL] $ /home/ubuntu/app/.venv/bin/python -m crawler.leboncoin_ad_detail --model scenic --delay 0.5 --limit 200
2026-04-29 08:06:41 [INFO] [scenic] [DETAIL] ENRICHISSEMENT AD DETAIL — Modele: scenic — Limite: 200
2026-04-29 08:06:41 [INFO] [scenic] [DETAIL] Schéma initialisé dans /home/ubuntu/app/db/lbc.sqlite
2026-04-29 08:06:41 [INFO] [scenic] [DETAIL] 2 annonce(s) à enrichir (modèle: scenic)
2026-04-29 08:06:45 [INFO] [scenic] [DETAIL] RESULTAT : 2 traitee(s), 2 enrichies, 0 introuvables, 0 erreurs
2026-04-29 08:06:46 [INFO] [scenic] [STATS] $ /home/ubuntu/app/.venv/bin/python -m stats.main --model scenic --skip-plots
2026-04-29 08:06:46 [INFO] [scenic] [STATS] ANALYSEUR LEBONCOIN — Base: /home/ubuntu/app/db/lbc.sqlite, Figures: /home/ubuntu/app/stats/scenic/figures, Modele: scenic, Graphiques: Non
2026-04-29 08:06:49 [INFO] [scenic] [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-29 08:06:49 [INFO] [scenic] [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-29 08:06:49 [INFO] [scenic] [STATS] M05 — Extraction LLM des titres (GPT-5 Nano)
2026-04-29 08:06:50 [INFO] [scenic] [STATS] Annonces sans evaluation LLM : 2
2026-04-29 08:06:52 [INFO] [scenic] [STATS] HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2026-04-29 08:06:52 [INFO] [scenic] [STATS] LLM OUTPUT batch 1/1: 2 resultats extraits (modele=gpt-4.1-mini)
2026-04-29 08:06:52 [INFO] [scenic] [STATS] Resultats extraits : 2
2026-04-29 08:06:52 [INFO] [scenic] [STATS] Evaluations inserees : 2
2026-04-29 08:06:52 [INFO] [scenic] [STATS]   stats_descriptives : 5 lignes insérées
2026-04-29 08:06:52 [INFO] [scenic] [STATS]   modele_regression : 2 lignes insérées
2026-04-29 08:06:52 [INFO] [scenic] [STATS]   referentiel_prix : 29 segments insérés
2026-04-29 08:06:52 [INFO] [scenic] [STATS]   ads.deal_columns : 401 annonces mises à jour
2026-04-29 08:06:53 [INFO] [scenic] [STATS] M06 — Extraction LLM des descriptions (GPT-5 Nano)
2026-04-29 08:06:53 [INFO] [scenic] [STATS] Schéma initialisé dans /home/ubuntu/app/db/lbc.sqlite
2026-04-29 08:06:53 [INFO] [scenic] [STATS] Champs actifs : 8
2026-04-29 08:06:53 [INFO] [scenic] [STATS] Annonces Excellente/Bonne affaire sans analyse description : 1
2026-04-29 08:06:53 [INFO] [scenic] [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-29 08:06:53 [INFO] [scenic] [STATS] ━━━ LLM DESC INPUT batch 1/1 (1 annonces) ━━━
3186421488: "Vends scenic 7 places, bon état. Monté en pneu hiver et vendu avec 4 roues été supplémentaires. Consommation correcte, 5.5L /100  Le contrôle technique sera refait avant la vente."
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2026-04-29 08:06:54 [INFO] [scenic] [STATS] HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2026-04-29 08:06:54 [INFO] [scenic] [STATS] ━━━ LLM DESC OUTPUT batch 1/1 (1 résultats, modèle=gpt-4.1-mini) ━━━
[
  {
    "list_id": "3186421488",
    "courroie_changee": null,
    "embrayage_change": null,
    "travaux_recents": [],
    "negociabilite": null,
    "contexte_vente": null,
    "nb_proprietaires": null,
    "options_description": [
      "7 places",
      "pneu hiver",
      "4 roues été supplémentaires"
    ],
    "accidente": null
  }
]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2026-04-29 08:06:54 [INFO] [scenic] [STATS] Batch persisté : 1 évaluation(s) sauvegardée(s)
2026-04-29 08:06:54 [INFO] [scenic] [STATS] Évaluations insérées : 1
2026-04-29 08:06:54 [INFO] [scenic] [STATS] ANALYSE TERMINEE en 6.3s — 401 annonces (run #912) — Modele: scenic
2026-04-29 08:06:54 [INFO] [scenic] [LLM] $ /home/ubuntu/app/.venv/bin/python -m stats.m05_llm_title_analysis --model scenic
2026-04-29 08:06:55 [INFO] [scenic] [LLM] M05 — Extraction LLM des titres (GPT-5 Nano)
2026-04-29 08:06:55 [INFO] [scenic] [LLM] Annonces sans evaluation LLM : 0
2026-04-29 08:06:55 [INFO] [scenic] [LLM] Toutes les annonces ont deja ete analysees.
2026-04-29 08:06:55 [INFO] [scenic] [LLM DESC] $ /home/ubuntu/app/.venv/bin/python -m stats.m06_llm_description_analysis --model scenic
2026-04-29 08:06:55 [INFO] [scenic] [LLM DESC] M06 — Extraction LLM des descriptions (GPT-5 Nano)
2026-04-29 08:06:55 [INFO] [scenic] [LLM DESC] Schéma initialisé dans /home/ubuntu/app/db/lbc.sqlite
2026-04-29 08:06:55 [INFO] [scenic] [LLM DESC] Champs actifs : 8
2026-04-29 08:06:55 [INFO] [scenic] [LLM DESC] Annonces Excellente/Bonne affaire sans analyse description : 0
2026-04-29 08:06:55 [INFO] [scenic] [LLM DESC] Toutes les annonces éligibles ont déjà été analysées.