Mapping static-analysis data types to DPV yields plausible, reproducible mappings
Their combined deterministic and LLM-based mapping produces plausible and reproducible links between scanner data types and DPV categories
Software arXiv 2 Oct 2026 Method Prototype evidence
Published as “PrivDev: Mapping Static-Analysis Data Types to DPV”
Why it matters
PrivDev gives developers an automated bridge from static-analysis findings to privacy-relevant GDPR cues, potentially streamlining early privacy reviews, though its practical impact on developer workflows remains untested.
Summary
PrivDev successfully mapped all 122 Bearer CLI static-analysis data-type labels to DPV personal-data categories, producing an RDF knowledge graph with 118 ODRL policy resources that passed five validation gates. Human evaluation of the 79 non-trivial mappings achieved 0.721 raw agreement and a Gwet AC2 of 0.877, indicating plausible but not flawless mappings. However, low Krippendorff α values and an 8% flag-revision rate reveal notable ambiguities and coverage gaps.
What they found 2
- Complete coverage of the Bearer CLI taxonomy
“All 122 (100%) were mapped to DPV pd:* categories; none were quarantined.”
- Human annotation achieved high Gwet AC2
“Gwet’s AC2 (weighted) 0.877”
Caveats 6
- Krippendorff’s α for all entries was only 0.251, and for the Article 9 subset it was 0.056, indicating substantial disagreement despite high raw agreement.
- 8% of the mappings were flagged for revision (flag_revision class), showing that a non-trivial portion required manual review.
- The LLM mapping component may contain systematic biases, as noted in the threats to validity.
- The pipeline calls the hosted mapping LLM without a temperature or seed override, so outputs can vary; self-hosting remains future work.
- DPV coverage is also incomplete.
- The annotation study evaluates a fixed set of Bearer-to-DPV-PD mappings, not downstream developer decisions.
What’s new here 4
- Combines deterministic exact-label matching with retrieval-grounded LLM assistance to handle heterogeneous scanner taxonomy entries.
- Generates a validated RDF knowledge graph linking static-analysis data types to DPV categories and GDPR provisions using SHACL and ODRL.
- Introduces a five-gate evaluation framework that includes structural checks, automated retrieval quality, and multi-statistic human annotation.
- Provides a systematic, reusable pipeline designed for adaptation to other static-analysis taxonomies.