---
title: "Quarantine invalid dataset rows with Weka"
description: "Judge records that pass structural validation but conflict with field meaning, provenance rules, consent policy, or neighboring values."
slug: "models/weka/use-cases/quarantine-invalid-dataset-rows-with-weka"
sidebar:
  label: "Quarantine invalid dataset rows"
seo:
  canonical: "https://autohand.ai/use-cases/quarantine-invalid-dataset-rows-with-weka/"
---
Quarantine invalid dataset rows with Weka is a Weka typed-decision workflow that judge records that pass structural validation but conflict with field meaning, provenance rules, consent policy, or neighboring values. It returns a bounded answer and probabilities so application code can keep final policy enforcement deterministic.

## At a glance

| Question | Answer |
| --- | --- |
| Best for | Separate usable rows from semantic outliers |
| Input | Minimal JSON state built from observable evidence |
| Weka returns | A typed row disposition that keeps deterministic validation and human review in control. Available through the Weka API, Autohand SDK, and Console Playground. |
| Policy boundary | Your code owns thresholds, permissions, retries, audit logs, and the final action |

Weka can route structurally valid records that may still violate field meaning, provenance, or consent policy. Weka is in Public Preview and is available only through the Autohand API, SDK, and Console Playground.

## Minimize and redact each row

Run schema, range, duplicate, and consent-ID checks first. Replace direct identifiers with stable references and send only the fields needed to judge the published dataset policy.

## Return a disposition, not rewritten data

```json
{
  "model": "weka",
  "state": {
    "row": { "source": "partner_export", "consent_scope": "analytics", "target_use": "model_training" },
    "checks": { "schema": "passed", "duplicate": false, "consent_id_found": true }
  },
  "questions": {
    "row_disposition": { "type": "choice", "instructions": "Choose the allowed dataset lane", "criteria": { "accept": "Policy clearly permits use", "quarantine": "Evidence needs review", "reject": "Policy clearly forbids use" } },
    "needs_human_review": { "type": "noul", "instructions": "Does this row require a data steward decision?" }
  }
}
```

## Keep destructive actions deterministic

Write quarantined rows to a recoverable store with reason, evidence hash, model version, and policy version. Never delete source data from the model response alone. The workflow adapts public bulk-judgment patterns such as [Judge Sheets](https://github.com/dabit3/jev-experiments/tree/main/judge-sheets).

## Review before accepting

Test permitted rows, explicit policy violations, missing consent, contradictory provenance, and redaction failures. A low-confidence result must increase review, not silently accept data.

## Source and validation signals

Autohand AI maintains this page as first-party Weka product guidance. Verify the current request contract in the [Weka model guide](/models/weka) and build application flows with the [Autohand SDK](https://autohand.ai/code/sdk/). Community patterns from the [AY Automate Jev builds index](https://www.ayautomate.com/jev-builds) and [dabit3/jev-experiments](https://github.com/dabit3/jev-experiments) informed the use-case taxonomy. Their measurements describe their own Jev implementations and are not Weka benchmarks.

## Frequently asked questions

**What is Quarantine invalid dataset rows with Weka?**

Quarantine invalid dataset rows with Weka is a Weka typed-decision workflow that judge records that pass structural validation but conflict with field meaning, provenance rules, consent policy, or neighboring values. It returns a bounded answer and probabilities so application code can keep final policy enforcement deterministic.

**When should a team use Quarantine invalid dataset rows with Weka?**

Separate usable rows from semantic outliers. Use it when the next software step needs one bounded decision and the application can preserve the evidence, probability, and policy outcome.

**What does Weka return for this workflow?**

A typed row disposition that keeps deterministic validation and human review in control. Available through the Weka API, Autohand SDK, and Console Playground.

**Does Weka take the final action?**

No. Weka evaluates the state and returns a typed answer. Application code remains responsible for authorization, thresholds, deterministic safety rules, logging, retries, and the final action.

## Related resources

**[Guide: Weka model guide](/models/weka)**

Return a typed row disposition without rewriting data.

**[Playground: Console Playground](https://console.autohand.ai/playground/)**

Try policy and provenance states with redacted example rows.

**[SDK: Autohand SDK](https://autohand.ai/code/sdk/)**

Run data inspection before the Weka quarantine gate.

**[Pattern: Judge Sheets](https://github.com/dabit3/jev-experiments/tree/main/judge-sheets)**

A public bulk-classification example with cached typed questions.

**[Samples: Weka samples on GitHub](https://github.com/autohandai/weka-samples)**

Run typed release, CI, patch, data, research, and Code Agent SDK examples.

## API request starter

```text
POST /v1/decisions with model "weka", a redacted row plus dataset rules, then ask for accept, quarantine, reject, and needs_human_review
```
