Add governed Dataflow audience outputs

This commit is contained in:
2026-07-31 21:00:02 +02:00
parent 8724591bf9
commit cef2ba9482
12 changed files with 1226 additions and 6 deletions
@@ -0,0 +1,92 @@
{
"id": "adrema-audience-selection",
"title": "Synthetic governed AdreMa audience selection",
"issue": "GovOPlaN/govoplan-dataflow#18",
"tenant_id": "tenant-synthetic-adrema",
"graph": "graph.json",
"expected_output": "expected-output.json",
"parameters": {
"group_key": "residents",
"region": "north",
"purpose": "monthly-notice"
},
"sources": {
"snapshot:directory-2026-01": {
"fixture": "inputs/directory-snapshot.json",
"tenant_id": "tenant-synthetic-adrema",
"provider": "connectors.synthetic-directory",
"fingerprint": "sha256:synthetic-directory-2026-01"
},
"snapshot:manual-includes-2026-01": {
"fixture": "inputs/manual-includes.json",
"tenant_id": "tenant-synthetic-adrema",
"provider": "datasources.static",
"fingerprint": "sha256:synthetic-manual-includes-2026-01"
},
"snapshot:suppressions-2026-01": {
"fixture": "inputs/suppressions.json",
"tenant_id": "tenant-synthetic-adrema",
"provider": "addresses.synthetic-preferences",
"fingerprint": "sha256:synthetic-suppressions-2026-01"
},
"snapshot:expected-audience-2026-01": {
"fixture": "inputs/expected-audience.json",
"tenant_id": "tenant-synthetic-adrema",
"provider": "reporting.synthetic-baseline",
"fingerprint": "sha256:synthetic-expected-audience-2026-01"
}
},
"expected_definition_hash": "2fec104dfda522dbc708ce61b237c062919703d62d2912ba621d5873ee5b975e",
"expected_execution_graph_hash": "d1cbb51c837810300044ed5f660e295ace49411265108b102731174d5587a85d",
"expected_output_hash": "f2d744354279f80393c6f894f7854569aa686f8292e6256fe429569d4410a72e",
"expected_source_fingerprints": [
{
"node_id": "directory",
"source_ref": "snapshot:directory-2026-01",
"source_name": "directory_snapshot",
"kind": "datasource",
"provider": "connectors.synthetic-directory",
"fingerprint": "sha256:synthetic-directory-2026-01",
"row_count": 7,
"preview_rows": 7,
"truncated": false
},
{
"node_id": "manual",
"source_ref": "snapshot:manual-includes-2026-01",
"source_name": "manual_includes",
"kind": "datasource",
"provider": "datasources.static",
"fingerprint": "sha256:synthetic-manual-includes-2026-01",
"row_count": 2,
"preview_rows": 2,
"truncated": false
},
{
"node_id": "suppressions",
"source_ref": "snapshot:suppressions-2026-01",
"source_name": "channel_suppressions",
"kind": "datasource",
"provider": "addresses.synthetic-preferences",
"fingerprint": "sha256:synthetic-suppressions-2026-01",
"row_count": 1,
"preview_rows": 1,
"truncated": false
},
{
"node_id": "expected",
"source_ref": "snapshot:expected-audience-2026-01",
"source_name": "expected_audience",
"kind": "datasource",
"provider": "reporting.synthetic-baseline",
"fingerprint": "sha256:synthetic-expected-audience-2026-01",
"row_count": 4,
"preview_rows": 4,
"truncated": false
}
],
"expected_recipients": ["identity:alice", "identity:grace", "identity:frank"],
"expected_exclusions": {
"identity:bob": "preference.suppressed"
}
}