qcvn-conflict-map
An open, machine-checkable catalogue of where Vietnamese building codes contradict each other.
- Status
- Alpha
- License
- MIT
- Language
- Python
- Tests
- 38
Install
pip install git+https://github.com/aec-platform/qcvn-conflict-map.gitNot on PyPI yet — this installs from source.
Run
qcvnmap check
Two regulations can describe the same physical quantity and not meet. The fire code sets external fire flow from fire-resistance class and building volume; the infrastructure code sizes the urban water network from planning population — and on an infill plot the nearest hydrant cannot deliver what the fire submission demands. Each conflict is one TOML file with both readings, the clauses they come from, what it costs in practice, and a verification flag that stays false until someone cites the clause properly. It is the same method as phong-thuy-corpus, turned on the statutory codes.
What makes it different
- One conflict per TOML file, bilingual, with the clauses on both sides and the practical cost
- Every reference carries a verified flag that starts false — an uncited conflict is a claim, not a finding
- Sits under tcvn-rules-engine and plancheck: the contradictions a rule engine cannot resolve on its own