# fix\(netflow-db\): skip unused MAAD work and check weights against a reference · flambo/atlantis

[View on GitCafe](https://git.cafe/flambo/atlantis/commit/957e16426de1c7134143a29360a222e2c057cec0)

Repository: [flambo/atlantis](https://git.cafe/flambo/atlantis)

Visibility: public

Requested revision: 957e16426de1c7134143a29360a222e2c057cec0

Requested commit: 957e16426de1c7134143a29360a222e2c057cec0

Commit: 957e16426de1c7134143a29360a222e2c057cec0

Tree: c8ee160ab86608d552926c38e6401fe89fef3e21

Author: flamboh

Committer: flamboh

## Message

```
fix(netflow-db): skip unused MAAD work and check weights against a reference

compute_weighted now evaluates only its weighted result instead of building and discarding the distinct-address result, so the zero-weight fallback in the pipeline computes the unweighted measure once. Entries sort stably by address only, so repeated addresses sum their weights in input order for every column and compute_measures matches compute_weighted exactly. A weighted ordered-map reference, shared with the unweighted one, checks IPv4 with duplicates and IPv6.

```

## Parents

- [79da58169529b89856c5b27784cc18c70db933ac](https://git.cafe/flambo/atlantis/commit/79da58169529b89856c5b27784cc18c70db933ac?format=markdown)

[Source at this commit](https://git.cafe/flambo/atlantis/tree/957e16426de1c7134143a29360a222e2c057cec0?format=markdown)
