Skip to main content

IDS2Eval

hashtagRR.github.io/IDS2Eval

PyPI DOI

IDS2Eval overview: a NIDS dataset and a YAML config go through four kinds of check (diagnose, 18 checks; control, 1; intervene, 9; look up known issues, 1), run on the raw data and again after removing duplicates, and every verdict lands in one scorecard. ids2eval recommend suggests config fixes for flagged checks.

A config-driven toolkit that audits network intrusion detection (NIDS) datasets before you trust a result on them. It runs 29 checks for duplicated rows, label conflicts, one-column shortcuts and split problems, tests whether a suspected problem actually changes the accuracy, and records every verdict in a citable scorecard.

IDS2 reads both ways: Intrusion Detection Systems and Intrusion Data Sets.

Quickstart

python3 -m venv venv && venv/bin/pip install "ids2eval[plots]"
venv/bin/ids2eval-dashboard                      # web UI with a pre-filled config editor
venv/bin/ids2eval run --config my_config.yaml    # or the CLI, with a config like the one below
# my_config.yaml: any NIDS dataset in CSV or Parquet form
dataset:
  name: my-dataset
  raw_files: ["data.csv"]
schema:
  label_column: Label

Windows, installing from the source code, and troubleshooting: INSTALL.md.

Documentation

Guide What it covers
Usage the CLI, the dashboard, output files, caching, reproducing a run, and the Python API
Config fields every config field, with its default and an example
Configuration notes the reasoning behind non-obvious fields, and larger worked examples
Checks what each of the 29 checks does, the research behind it, and the scorecard's verdict rule
Example scorecards the real audit runs behind the paper, on seven widely used NIDS benchmarks
Paper results configurations, scorecards and analysis outputs behind the accompanying paper
Known issues how to add a curated known issue or extractor fingerprint
Install guide platform setup, extras, tests and lint, including Windows
Contributing development setup and how releases are made
Project site the project's overview page

Versions

Every release and its changes are in the changelog; each one is archived on Zenodo under the concept DOI above.

  • v0.3.0 (10.5281/zenodo.24554057): verdicts per metric (accuracy, balanced accuracy and macro-F1) with per-metric thresholds; grouping-key statistics and class support in the grouped checks; the opt-in reuse_removal_falsification check; homogeneity_test reports excess_matching and an optional cluster-bootstrap interval. Accuracy statistics and default thresholds are unchanged.
  • v0.2.3 (10.5281/zenodo.23437827): documentation; the project site shows the pip install command.
  • v0.2.2 (10.5281/zenodo.23436993): first release on PyPI; Python 3.13 supported.
  • v0.2.1 (10.5281/zenodo.23301210): a check with no input to test reports not_applicable instead of ok, an audit in which no check produced a result is not_evaluated instead of passed, scorecards list the checks a config left disabled (schema 1.4), and known-issue warnings name the release they document; no statistic or threshold changed. Also adds validation scripts and results (host-disjoint splits, workflow ablation, interval coverage, class-adjusted reuse, a comparison with Flood et al.'s released heuristics).
  • v0.2.0 (10.5281/zenodo.23217301): the code, configurations and results behind the accompanying paper on auditing NIDS benchmarks.

IDS2Eval grew out of the dataset-auditing code of research on machine-learning-based network intrusion detection, generalized into a dataset-independent toolkit.

Citing

Cite the version you used. The concept DOI 10.5281/zenodo.23217300 always resolves to the latest version.

Relapanawa, R. (2026). IDS2Eval 0.3.0 (Version v0.3.0) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.24554057

The results, configurations and analysis scripts behind the accompanying paper are archived separately (concept DOI 10.5281/zenodo.23301257 for every version):

Relapanawa, R. (2026). IDS2Eval paper: research artifacts (results, configurations and analysis scripts) (Version 2.0) [Dataset]. Zenodo. https://doi.org/10.5281/zenodo.24557729

License

AGPL-3.0. See LICENSE.

Metadata

Release files for ids2eval 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ids2eval 0.3.1
File Size Uploaded Provenance Actions
ids2eval-0.3.1.tar.gz 223.7 kB With provenance Details for ids2eval-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ids2eval 0.3.1
File Interpreter ABI Platform Actions
ids2eval-0.3.1-py3-none-any.whl Python 3 none any Details for ids2eval-0.3.1-py3-none-any.whl

Total release size: 428.9 kB

Release files / ids2eval-0.3.1.tar.gz

Download URL ids2eval-0.3.1.tar.gz
Size 223.7 kB
Tags Source
SHA-256 checksum
How to use checksums
cb8a6e0bf4ae90c5c5dfe81074fe016338ba6407cc5a59825bea3038323b3668
BLAKE2b-256 checksum
How to use checksums
92a5d1c8e04a1ee20ad6dd91993f5197d9a35c338e59be91607cb67b02c0ca7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Release files / ids2eval-0.3.1-py3-none-any.whl

Download URL ids2eval-0.3.1-py3-none-any.whl
Size 205.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be76a14cd4f9955d08478b0c4cfed2bacf540287370e0413953b15f62d0fee30
BLAKE2b-256 checksum
How to use checksums
affc99fa17e8c9d3e464899cfb70355a137f1fe3d457df76393230b04a93c1b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Security for ids2eval 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ids2eval-0.3.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page