Files
thesis-prototype-agregation/pyproject.toml
T
willtanoe 91b0e371f7 chore: declare matplotlib and apply three behavior-preserving nits
- pyproject.toml: add a figures extra with matplotlib (used by the two figure
  scripts) so the environment is reproducible from pyproject alone.
- partition.py: correct the partition_eval_split docstring (simulated per-client
  eval sets from the global split, not client-owned held-out data).
- protean_cnn.py: extract_embeddings now moves batches to the model device.
- posthoc_statistical_audit.py: refuse to write an empty table.
2026-10-17 04:08:38 +07:00

38 lines
818 B
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "protean-research"
version = "0.0.1"
description = "Server-side prototype aggregation study on the PROTEAN federated IDS baseline"
readme = "README.md"
requires-python = ">=3.10"
license = { text = "Proprietary" }
dependencies = [
"pyyaml>=6.0",
]
[project.optional-dependencies]
# Research/runtime stack. Not installed in the planning session.
research = [
"numpy>=1.24",
"pandas>=2.0",
"torch>=2.0",
]
figures = [
# Used by scripts/make_final_figures.py and scripts/make_comparison_figures.py.
"matplotlib>=3.8",
]
dev = [
"pytest>=7.0",
]
[tool.hatch.build.targets.wheel]
packages = ["src/protean_research"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
addopts = "-q"