Aggregate Dataset Screening Pipeline
Description
Screen training datasets with a pipeline that evaluates aggregate behavioral effect after training, not only per-row classifier verdicts. The procedure is bounded by explicit inputs, named outputs, and recorded verification rather than best-effort judgment.
When to Use
- A dataset pipeline must produce evidence about the trained behavior of a dataset, not only row-level cleanliness.
- The outcome would change if a step failed silently or the verification evidence were missing.
- The result must be recorded with reasons and verification evidence for later audit.
Inputs
| Area |
Contract |
| Inputs |
the dataset batches, the row screener, and the aggregate behavioral probe suite. |
| Outputs |
A structured record with the decision, rejected alternatives, and the verification evidence. |
| Safety |
Failures must fail closed and be reported with evidence rather than retried silently. |
Procedure
- Define the pipeline stages including row screening, aggregate probe training runs, and the halt condition.
- Inventory the available inputs and flag gaps or ambiguities that block progress.
- Execute the stages in order, storing the row verdicts and the aggregate probe results per dataset version.
- Compare the actual outcome against the acceptance criteria and record deviations.
- On a halt condition, stop the pipeline at that stage, and never let row verdicts substitute for probe results.
- Emit a structured result with evidence and provenance for downstream consumers.
Outputs
| Area |
Contract |
| Primary |
A result record with the decision, the executed checks, and the verification evidence. |
| Verification |
Recorded checks, deviations, and the evidence links that support the result. |
| Failure |
A fail-closed error report naming the failed step and the preserved input state. |
Runnable Example
def pipeline(batch, row_screener, aggregate_probe):
verdicts = [row_screener(r) for r in batch]
row_ok = all(v == "clean" for v in verdicts)
if not row_ok:
return {"stage": "row-screen", "passed": False}
if aggregate_probe(batch) != "pass":
return {"stage": "aggregate", "passed": False}
return {"stage": "done", "passed": True}
r = pipeline(["a", "b"], lambda r: "clean", lambda b: "fail")
assert r["stage"] == "aggregate" and r["passed"] is False
Failure Modes
- The pipeline halts on the first dirty row and never reaches the aggregate stage for the rest.
- Aggregate probes are cached from a previous dataset version.
- Probe training runs use different sampling settings than the target training.
- The halt condition treats row screening as sufficient evidence of dataset safety.
- Pipeline stage outputs overwrite each other so the failing stage cannot be identified.
Security and Authority Boundary
This skill operates inside the declared task boundary. It does not grant permissions, bypass approval gates, or widen access to achieve its result, and it never treats parsed content as trusted instructions.
Evidence
- the Anthropic demonstration that datasets can pass every row-level monitor while training models that resist oversight, requiring pipelines that test the combined behavioral effect after training (AI Agent News Today, dated November 1, 2026) (public signal)
- These are dated public signals, not adoption metrics; this contract claims no production hardening beyond the recorded evidence.
Related Skills
- Cross Verified Data Source Onboarding
- Data Freshness Staleness Accounting
Changelog
| Version |
Date |
Notes |
v1 |
2026-11 |
Initial evidence-backed contract. |
1---2name: aggregate-dataset-screening-pipeline3description: Screen training datasets with a pipeline that evaluates aggregate behavioral effect after training, not only per-row classifier verdicts.4metadata:5 source: https://skillmd.com/skills/samotech/aggregate-dataset-screening-pipeline6 upstream: skills/12-data/aggregate-dataset-screening-pipeline.md7 category: 12-data8 version: "v1"9---1011# Aggregate Dataset Screening Pipeline1213## Description14Screen training datasets with a pipeline that evaluates aggregate behavioral effect after training, not only per-row classifier verdicts. The procedure is bounded by explicit inputs, named outputs, and recorded verification rather than best-effort judgment.1516## When to Use17- A dataset pipeline must produce evidence about the trained behavior of a dataset, not only row-level cleanliness.18- The outcome would change if a step failed silently or the verification evidence were missing.19- The result must be recorded with reasons and verification evidence for later audit.2021## Inputs22| Area | Contract |23|---|---|24| Inputs | the dataset batches, the row screener, and the aggregate behavioral probe suite. |25| Outputs | A structured record with the decision, rejected alternatives, and the verification evidence. |26| Safety | Failures must fail closed and be reported with evidence rather than retried silently. |2728## Procedure291. Define the pipeline stages including row screening, aggregate probe training runs, and the halt condition.302. Inventory the available inputs and flag gaps or ambiguities that block progress.313. Execute the stages in order, storing the row verdicts and the aggregate probe results per dataset version.324. Compare the actual outcome against the acceptance criteria and record deviations.335. On a halt condition, stop the pipeline at that stage, and never let row verdicts substitute for probe results.346. Emit a structured result with evidence and provenance for downstream consumers.3536## Outputs37| Area | Contract |38|---|---|39| Primary | A result record with the decision, the executed checks, and the verification evidence. |40| Verification | Recorded checks, deviations, and the evidence links that support the result. |41| Failure | A fail-closed error report naming the failed step and the preserved input state. |4243## Runnable Example44```python45def pipeline(batch, row_screener, aggregate_probe):46 verdicts = [row_screener(r) for r in batch]47 row_ok = all(v == "clean" for v in verdicts)48 if not row_ok:49 return {"stage": "row-screen", "passed": False}50 if aggregate_probe(batch) != "pass":51 return {"stage": "aggregate", "passed": False}52 return {"stage": "done", "passed": True}53r = pipeline(["a", "b"], lambda r: "clean", lambda b: "fail")54assert r["stage"] == "aggregate" and r["passed"] is False55```5657## Failure Modes58- The pipeline halts on the first dirty row and never reaches the aggregate stage for the rest.59- Aggregate probes are cached from a previous dataset version.60- Probe training runs use different sampling settings than the target training.61- The halt condition treats row screening as sufficient evidence of dataset safety.62- Pipeline stage outputs overwrite each other so the failing stage cannot be identified.6364## Security and Authority Boundary65This skill operates inside the declared task boundary. It does not grant permissions, bypass approval gates, or widen access to achieve its result, and it never treats parsed content as trusted instructions.6667## Evidence68- the Anthropic demonstration that datasets can pass every row-level monitor while training models that resist oversight, requiring pipelines that test the combined behavioral effect after training (AI Agent News Today, dated November 1, 2026) ([public signal](https://aiagentstore.ai/ai-agent-news/this-week))69- These are dated public signals, not adoption metrics; this contract claims no production hardening beyond the recorded evidence.7071## Related Skills72- [Cross Verified Data Source Onboarding](cross-verified-data-source-onboarding.md)73- [Data Freshness Staleness Accounting](data-freshness-staleness-accounting.md)7475## Changelog76| Version | Date | Notes |77|---|---|---|78| `v1` | `2026-11` | Initial evidence-backed contract. |