[Hackathon] hiten: add configurable provenance_supply_chain_multi scenario#60
Open
Hiten0305l wants to merge 1 commit into
Open
Conversation
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.
Summary
This is a focused follow-up to my previous hackathon PR (#39). Following the merge of the DataFacts implementation in #31, this PR contributes the independent scenario enhancement suggested during review by introducing a configurable provenance supply-chain scenario.
The new
provenance_supply_chain_multiscenario exercises the existingcid_factsimplementation over a parameterized multi-stage provenance DAG, supporting configurable supplier and manufacturer stages while preserving the existingprovenance_supply_chain(diamond topology) unchanged. Together, both scenarios exercise the same provenance implementation across complementary graph structures without modifying plugin behaviour.What
provenance_supply_chain_multiscenario supporting configurablenum_suppliersandnum_manufacturers.provenance_supply_chain_multi.yamlfor configuring parameterized graph sizes.Topology
Each manufacturer aggregates provenance from all supplier datasets, producing a configurable multi-stage provenance DAG. The distributor aggregates all manufacturer outputs before forwarding the resulting lineage to the retailer for provenance verification and adversarial validation.
Why
The existing
provenance_supply_chainscenario validates provenance using a fixed diamond-shaped dependency graph. This PR introduces a complementary configurable graph topology that exercises the samecid_factsimplementation under a different dependency structure without changing the underlying plugin.Supporting configurable numbers of suppliers and manufacturers allows the framework to exercise the same provenance implementation across multiple graph sizes and dependency structures, expanding scenario coverage for:
This expands scenario coverage while preserving backward compatibility and leaving the existing provenance implementation unchanged.
Scope
This PR is intentionally limited to introducing the new
provenance_supply_chain_multiscenario, its configuration, registry integration, and associated tests.Verification