﻿# WaDi updated files need label-sign and removed-row provenance

Pin WaDi release files, preserve corrected attack dates and the documented label sign, and rebuild temporal joins after removed unstable readings or application downsampling.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/fg2-wadi-updated-label-sign-removed-rows-time-map/
Language: en

## A binary target is not always stored as Boolean values

A detector adapter may cast every nonzero WaDi label to `True`. If normal and attack states use different nonzero signed values, that conversion erases the distinction entirely. A valid Boolean array can therefore label every observation anomalous without a parsing error.

The [WaDi characteristics](https://www.sutd.edu.sg/itrust/itrust-labs/datasets/dataset-characteristics/wadi/) document updated attack labels: -1 for attack and 1 for no attack. Preserve this mapping explicitly rather than inferring semantics from generic numeric truthiness.

## Updated normal files can remove observations

The publisher records removal of unstable periods and release of an updated normal CSV. A row number after that removal is not automatically the same temporal coordinate as in an earlier file.

Keep original timestamps and file identity. A window model should not silently treat observations on opposite sides of a removed interval as continuously adjacent. Any choice to bridge those gaps belongs to the preparation protocol.

## Corrected attack dates require matching resources

The update also includes a corrected attack table. Mixing that table with another acquisition or a differently prepared file can shift labels while retaining plausible timestamps and array lengths.

The [release summary](https://www.sutd.edu.sg/itrust/itrust-labs/datasets/summary-of-available-datasets/) distinguishes WaDi acquisitions. Keep the table, labeled data, and normal reference tied to the intended release rather than selecting whichever resources share a familiar filename prefix.

## Downsampling needs an anomaly aggregation definition

An application may reduce sensor frequency before inference. Selecting one label, marking an output bin anomalous when any source point is anomalous, and averaging a label column are different target definitions. The new label should not arise accidentally from a generic numeric resampler.

Preserve source-to-output time mapping. The [tensor-axis guide](/journal/tensor-axes-batch-sequence-hidden/) helps separate a time-bin coordinate from the measurements or targets summarized within it.

## Verify a transition before reporting detection quality

Inspect normal-to-attack and attack-to-normal transitions using original signed labels, converted targets, and any reduced-frequency representation. Check file versions and missing intervals before evaluating a model score.

The [publisher terms](https://www.sutd.edu.sg/itrust/itrust-labs/datasets/terms-of-usage/) supply access provenance, while the [data identity guide](/journal/data-guide-coco-instance-caption-identities/) explains linked-resource consistency. Correct reconstruction supports the chosen benchmark task; it does not establish root-cause detection or performance in a different water-distribution installation.
