feat: pipeline merge+validate — nuovo funnel SO (−6.400 righe nette)#412
Open
Gabrymi93 wants to merge 8 commits into
Open
feat: pipeline merge+validate — nuovo funnel SO (−6.400 righe nette)#412Gabrymi93 wants to merge 8 commits into
Gabrymi93 wants to merge 8 commits into
Conversation
Merge engine: normalizzazione titoli, dataset_group logico, slug coerenti. Validate: HEAD probe + sniff CSV leggero. readiness_score 0-10: reachable, formato, colonne, status, delimiter, encoding, anni. Penalità: sniff fallito (-3), content-type non-CSV (-1). Validatori per protocollo: CKAN, HTML, SDMX (score 5), SPARQL (score 3). Rimossi: bulk_source_check, source_check_analyze, source_check_fetch, catalog_diff, build_catalog_signals, run_source (-6.400 righe nette). Unificate: FORMAT_PRIORITY, compute_dataset_group, _validate_utils.
Gabrymi93
force-pushed
the
feat/pipeline-merge-dedup
branch
from
July 26, 2026 21:06
2f2234a to
af5df55
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sintesi
Sostituisce il vecchio flusso source-check (bulk_source_check, source_check_analyze, source_check_fetch, catalog_diff) con una nuova pipeline merge → validate. Risultato: −6.400 righe nette (+3.400 / −9.700), readiness_score 0-10, merge/dedup logico per dataset.
Cosa cambia
Dettaglio
Pipeline merge + validate (nuovo)
dataset_group), slug coerentireadiness_score0-10# DA FAREresiduo)Rimosso
bulk_source_check.py(1283 righe),source_check_analyze.py(546),source_check_fetch.py(390)catalog_diff.py(151),build_catalog_signals.py(362),run_source.py(371)_validate_utils.py(duplicato di_validate_base.py)JOIN_KEY_PATTERNSe funzioni associate (150 righe morte)_FORMAT_PRIORITYtriplicato → centralizzato in_constants.pycompute_dataset_groupduplicato → unificato in_merge_utils.pyPackaging
scripts/reso package installabile (prima non era incluso in pyproject.toml)sys.path.insert(erano 4 in script + 1 in test)source-observatory-mcp,so-run-pipeline,so-build-reports,so-radar-check,so-sync-datasetsMCP
so_source_checklegge davalidated.parquet(con fallback al vecchio path)min_paqa_scorerimosso dalla signature (parametro ignorato con backward compat)inventory_status()einventory_diff()riscritte per nuovo report schemaTest
intake_score→readiness_score,_CHECK_PARQUET→_VALIDATED_PARQUET)Checklist
pytest tests/passa (278 passed, 2 skip)ruff check .passadocs/architecture.mdaggiornatoNote per chi revisiona
discover_named_graphs,_collect_named_graphs). Vanno riscritti per la nuova implementazione SPARQL.report_version: 2: campiintake_candidates→tot_reachable/tot_csv_count. Verificare che nessun consumer downstream usi i vecchi campi.