Thanks for wanting to help. PhantomMark is a research-grade watermarking engine — contributions to robustness, detectors, or the attack harness are welcome.
- Detection ≠ security through obscurity. Every robustness claim must be
backed by a reproducible benchmark under
scripts/benchmark.py. - Secrets never enter the repo. Keys are always placeholders
(
YOUR_KEY), never real material. - English only in code, docstrings, and comments.
- Tests required. Any change to
phantommark/needs a matching test intests/.
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
pytestphantommark/ # the package (current engine = v7)
legacy/ # historical engines (v5/v6) kept for benchmarking
scripts/ # benchmarks and asset generators
tests/ # pytest suite
docs/ # design docs
-
pytestpasses - New code is type-hinted and documented
- No
printin library code (uselogging) - Benchmark numbers updated in
docs/BENCHMARK.mdif behavior changed -
CHANGELOG.mdentry added
- Follow PEP 8.
- One module = one responsibility (see
docs/ARCHITECTURE.md). - Prefer pure functions over state; engines are thin wrappers over primitives.