Authority axis v1: mint the executive branch + link 27,804 § → office edges

The Code empowers the executive branch, but the mirror only had legislative
Bodies — every authority reference pointed at nothing. Fixed by minting the
executive branch from the Code's OWN enumerations: 15 Cabinet departments
(5 U.S.C. § 101) + 21 Executive-Schedule Level I offices (§ 5312), 42 Body
nodes under us/executive/.

Then the axis: scripts/extract_authority.py matches named office/department
references across all 59,740 sections (guarding against Deputy/Assistant/Under
subordinates) and emits data/section_authority_edges.jsonl — 27,804 edges from
17,031 sections (28.7% of the Code) to the offices they empower. build.py
renders reciprocal 'empowered by' links on each office node; the section files
are never touched. Now: click the Attorney General, see all 2,386 sections that
vest authority in it.

Named references only in v1 (cabinet-level). Deterministic; body.schema
classification enum extended (executive-department/-agency/-office); make check
green at 105,746 records.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Fabio
2026-07-06 11:37:12 -04:00
parent 76b8ec33a7
commit a8594d786c
48 changed files with 30086 additions and 2 deletions
@@ -0,0 +1,33 @@
---
type: Body
title: "Director of National Drug Control Policy"
classification: "executive-office"
chamber: "executive"
code: "EXEC-NATIONAL-DRUG-CONTROL-POLICY-DIRECTOR"
parent: "us/executive/national-drug-control-policy"
schedule_level: "I"
sources:
- field: definition
source: "5 U.S.C. § 5312 (Executive Schedule, Level I)"
confidence: official
tags: [body, executive, executive-office]
timestamp: "2026-07-03"
---
# Director of National Drug Control Policy
Cabinet-rank office (Executive Schedule Level I, 5 U.S.C. § 5312), head of the [Office of National Drug Control Policy](/us/executive/national-drug-control-policy/index.md).
## Empowered by the U.S. Code
9 sections of the U.S. Code vest authority in this office.
- [5 U.S.C. § 5312](/legal/us/code/title-05/chapter-53/section-5312.md)
- [10 U.S.C. § 2576a](/legal/us/code/title-10/chapter-153/section-2576a.md)
- [15 U.S.C. § 654](/legal/us/code/title-15/chapter-14a/section-654.md)
- [21 U.S.C. § 1701](/legal/us/code/title-21/chapter-22/section-1701.md)
- [32 U.S.C. § 112](/legal/us/code/title-32/chapter-1/section-112.md)
- [34 U.S.C. § 10142](/legal/us/code/title-34/chapter-101/section-10142.md)
- [42 U.S.C. § 285o–4](/legal/us/code/title-42/chapter-6a/section-285o-4.md)
- [42 U.S.C. § 300u–16](/legal/us/code/title-42/chapter-6a/section-300u-16.md)
- [50 U.S.C. § 3021](/legal/us/code/title-50/chapter-44/section-3021.md)