-
Notifications
You must be signed in to change notification settings - Fork 0
Developer Guide
Anubha Parashar edited this page Jun 22, 2026
·
1 revision
| File | Purpose |
|---|---|
types.py |
Dataclasses for policies, predicates, devices, backend metrics, and metadata |
policy_parser.py |
JSON policy/device loader |
registry.py |
Default backend capability registry and metrics loader |
cost.py |
Normalized cost calculation |
selector.py |
CAPS-ZK selector and fail-closed filtering |
verifier.py |
Verifier-side metadata guard |
synthetic_benchmarks.py |
Clearly labeled synthetic trace generator from summary statistics |
- Add a capability entry in
default_backend_registry(). - Add benchmark summary data to
results/summary/. - Extend
load_backend_metrics()if the table format differs. - Add policy tests to
tests/. - Re-run
python experiments/run_all.pyandpytest -q.
- Create a new JSON file under
configs/policies/. - Set the semantics field clearly.
- Specify revealed attributes, hidden attributes, predicates, unlinkability, status, and resource budgets.
- Run
python experiments/selector_demo.py. - Check that rejected backend reasons match expected safety behavior.
Maintained by Dr. Anubha Parashar / @dranubhaparashar. This wiki documents the reproducibility package and claim-safe project boundary for LightDID-ZKP.