# Source to Score Activation Queue

File operationnelle pour passer des sources recuperees aux KPI scorecards puis aux blocs publics copiables.

## Lanes
- **Source retrieved** : La source brute ou le snapshot metadata est present dans `sources/`. Gate : Input file, source URL, licence/caveat and owner are documented.
- **Normalize next** : Le script de normalisation existe mais la sortie normalisee n est pas encore declaree comme disponible. Gate : Normalized CSV produced, schema aligned and caveat carried forward.
- **Score hydration** : La source normalisee peut alimenter une scorecard territoire via la spine. Gate : KPI input mapped to scorecard, grain and period explicit.
- **Publication ready** : Le score peut etre expose dans un bundle public avec source, date, maille and caveat. Gate : Public block, source note, method note and trust badge available.
- **Feedback loop** : Les limites et demandes utilisateur alimentent le backlog source. Gate : Next source action tracked with producer, sample and decision rule.

## Items
### datatourisme_fidelity_monitor
- Lane : source_retrieved | Priorite : P1
- Inputs : sources/datatourisme-datagouv.json, sources/datatourisme-resource-snapshot.csv
- Script : scripts/monitor_datatourisme_freshness.php
- Sortie : sources/datatourisme-fidelity-monitor.csv
- KPI : datatourisme_freshness_score, coverage_by_region, source_relationship_signal
- Scorecards : data_trust, publication_readiness
- Commande preparee : `php scripts/monitor_datatourisme_freshness.php sources/datatourisme-resource-snapshot.csv sources/datatourisme-fidelity-monitor.csv`
- Gate : Freshness score and watch status available for regional feeds.
- Risque : Resource freshness does not prove POI quality or coverage.
- Prochaine action : Run monitor, then expose oldest critical source in publication notes.

### openagenda_wine_events
- Lane : normalize_next | Priorite : P1
- Inputs : sources/openagenda-wine-events-sample.json
- Script : scripts/normalize_openagenda_wine_events.php
- Sortie : sources/openagenda-wine-events-normalized.csv
- KPI : wine_event_signal, territory_activation_score, tourism_demand_context
- Scorecards : market_pull
- Commande preparee : `php scripts/normalize_openagenda_wine_events.php sources/openagenda-wine-events-sample.json sources/openagenda-wine-events-normalized.csv 35`
- Gate : Events filtered by wine relevance, location and period retained.
- Risque : Contributive event coverage and keyword false positives.
- Prochaine action : Expand sample by region and period before publishing territory rankings.

### bnlc_carpooling_areas
- Lane : normalize_next | Priorite : P1
- Inputs : sources/bnlc-carpooling-areas.csv
- Script : scripts/normalize_bnlc_carpooling_areas.php
- Sortie : sources/bnlc-carpooling-areas-normalized.csv
- KPI : carpool_access_signal, low_carbon_access_score
- Scorecards : low_carbon_access
- Commande preparee : `php scripts/normalize_bnlc_carpooling_areas.php sources/bnlc-carpooling-areas.csv sources/bnlc-carpooling-areas-normalized.csv`
- Gate : Open status, coordinates, INSEE and capacity mapped.
- Risque : Infrastructure presence does not prove usage or final access to estates.
- Prochaine action : Normalize and aggregate open places by commune, then join to destination spine.

### insee_bpe_equipment
- Lane : normalize_next | Priorite : P1
- Inputs : sources/insee-bpe-2024-counts.zip, sources/insee-bpe-2024-table-passage.csv
- Script : scripts/normalize_insee_bpe_equipment.php
- Sortie : sources/insee-bpe-2024-equipment-normalized.csv
- KPI : tourism_service_density, territory_readiness_score, culture_leisure_context, access_equipment_signal
- Scorecards : experience_readiness, culture_story, low_carbon_access
- Commande preparee : `php scripts/normalize_insee_bpe_equipment.php sources/insee-bpe-2024-counts.zip sources/insee-bpe-2024-table-passage.csv sources/insee-bpe-2024-equipment-normalized.csv`
- Gate : BPE domains A/B/E/F/G retained with year and grain explicit.
- Risque : Equipment counts are not quality, satisfaction or usage metrics.
- Prochaine action : Normalize, then compute density at compatible territory grains.

### merimee_heritage_monuments
- Lane : normalize_next | Priorite : P1
- Inputs : sources/merimee-monuments.csv
- Script : scripts/normalize_merimee_heritage_monuments.php
- Sortie : sources/merimee-monuments-normalized.csv
- KPI : heritage_pull_signal, culture_wine_context_score, territory_story_proof
- Scorecards : culture_story
- Commande preparee : `php scripts/normalize_merimee_heritage_monuments.php sources/merimee-monuments.csv sources/merimee-monuments-normalized.csv`
- Gate : Monument reference, commune, protection and coordinates retained.
- Risque : Protected heritage does not prove public opening or tourism demand.
- Prochaine action : Normalize and deduplicate by monument reference before joining to BPE culture.

### agencebio_organic_wine
- Lane : score_hydration | Priorite : P2
- Inputs : sources/agencebio-professionnels-bio.csv
- Script : scripts/normalize_agencebio_organic_wine.php
- Sortie : sources/agencebio-organic-wine-normalized.csv
- KPI : organic_wine_signal, organic_viticulture_surface_signal
- Scorecards : wine_identity
- Commande preparee : `php scripts/normalize_agencebio_organic_wine.php`
- Gate : Organic operators and surfaces kept distinct with year and grain.
- Risque : Territory signal is not individual estate certification proof.
- Prochaine action : Hydrate Wine Identity once grain and vintage are explicit.

### reference_territory_scorecard_public_bundle
- Lane : publication_ready | Priorite : P1
- Inputs : sources/reference-territory-scorecard-public-bundle-template.csv
- Script : n/a
- Sortie : public page/deck/citation copy blocks
- KPI : publication_readiness_score, data_trust_score
- Scorecards : publication_readiness, data_trust
- Commande preparee : `no command: inject certified values before publication`
- Gate : No placeholder replaced by guessed value; source, date, grain and caveat visible.
- Risque : Copy may look ready before data values are certified.
- Prochaine action : Select first pilot territory and replace placeholders only with certified values.

_Genere le 2026-07-06T14:58:00+00:00._
