get_sanitized_dataset
Download an experiment's dataset with flagged poisoned samples removed as a .npz file for re-training, saving only inside the configured output directory.
Instructions
Download the experiment's suspect dataset with flagged poisoned samples removed, as a .npz file suitable for re-training. Requires the experiment to be completed with per-sample scores present. The saved file always lands inside POISONDASH_OUTPUT_DIR (the user's Downloads folder by default) -- output_path is resolved relative to that directory and any attempt to escape it, including via a symlink, is refused. Won't overwrite an existing file unless overwrite=true.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"experiment_id": "<experiment_id>"
},
"name": "get_sanitized_dataset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| overwrite | No | ||
| threshold | No | Override the poisoning-score threshold; defaults to the experiment's stored threshold | |
| output_path | No | Where to save the file, relative to POISONDASH_OUTPUT_DIR (or an absolute path inside it) | |
| experiment_id | Yes |