You can share your project idea for comments here. Nobody will steal your idea. :-)
Hello everyone!
I'd like to share a project concept I'm considering for the Big Idea Challenge and would appreciate feedback from Open Food Facts contributors, particularly those familiar with the data-export infrastructure.
Project: OFF Data Integrity Sentinel
An automated validation and reconciliation layer for reliable Open Food Facts data exports.
Open Food Facts maintains a large product database and distributes its data through multiple export formats and channels. The openfoodfacts-exports repository provides infrastructure for scheduled exports, JSONL processing and Parquet generation, while Product Opener (openfoodfacts-server) continues to handle parts of the export process.
However, successful execution of an export job does not necessarily guarantee that the resulting dataset is complete, structurally valid or consistent with its expected source.
A few reported incidents illustrate this challenge:
These incidents suggest an opportunity to strengthen dataset-level validation across the export lifecycle, complementing existing export checks and infrastructure monitoring.
OFF Data Integrity Sentinel would be a modular validation and reconciliation component designed to integrate with the existing export workflow.
Its primary objective would be to detect, classify and report data-integrity anomalies before an export is published or consumed by downstream applications.
Proposed capabilities:
I propose implementing the initial version in Python, with a modular architecture that can integrate into the existing openfoodfacts-exports workflow rather than duplicating its export-generation responsibilities.
A possible processing pipeline:
Export artifacts → Metadata and schema validation → Snapshot comparison → Cross-format reconciliation → Anomaly classification → Integrity report
Implementation considerations:
Initially, the component would operate in a non-blocking reporting mode, allowing maintainers to evaluate its findings before introducing any publication-blocking validation gates.
The MVP would focus on three core objectives:
Evaluation would use reproducible test datasets containing known anomalies, measuring detection accuracy, false-positive rates, processing time and memory consumption.
I'd particularly appreciate maintainers' input on the following:
openfoodfacts-exports and openfoodfacts-server, and where do you see remaining gaps?openfoodfacts-exports, or as a separate component integrated into its workflow?My intention is not to duplicate existing checks, but to explore whether a unified, extensible validation layer could improve the reliability of Open Food Facts data distribution.
I'd be grateful for any feedback, corrections or suggestions, especially regarding the existing architecture and potential integration points.
Thank you for your time!