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,49 @@
---
type: Body
title: "Department of Housing and Urban Development"
classification: "executive-department"
chamber: "executive"
code: "EXEC-HOUSING-AND-URBAN-DEVELOPMENT"
head: "us/executive/housing-and-urban-development/secretary"
sources:
- field: definition
source: "5 U.S.C. § 101 (Executive departments)"
confidence: official
tags: [body, executive, executive-department]
timestamp: "2026-07-03"
---
# Department of Housing and Urban Development
Executive department, established by 5 U.S.C. § 101. Headed by the [Secretary of Housing and Urban Development](/us/executive/housing-and-urban-development/secretary.md).
## Referenced by the U.S. Code
177 sections of the U.S. Code reference this department. A sample:
- [5 U.S.C. § 101](/legal/us/code/title-05/chapter-1/section-101.md)
- [5 U.S.C. § 406](/legal/us/code/title-05/chapter-4/section-406.md)
- [5 U.S.C. § 422](/legal/us/code/title-05/chapter-4/section-422.md)
- [5 U.S.C. § 5315](/legal/us/code/title-05/chapter-53/section-5315.md)
- [6 U.S.C. § 772](/legal/us/code/title-06/chapter-2/section-772.md)
- [7 U.S.C. § 1932](/legal/us/code/title-07/chapter-50/section-1932.md)
- [7 U.S.C. § 2204b–3](/legal/us/code/title-07/chapter-55/section-2204b-3.md)
- [10 U.S.C. § 2824](/legal/us/code/title-10/chapter-169/section-2824.md)
- [12 U.S.C. § 1701d–4](/legal/us/code/title-12/chapter-13/section-1701d-4.md)
- [12 U.S.C. § 1701g–5](/legal/us/code/title-12/chapter-13/section-1701g-5.md)
- [12 U.S.C. § 1701g–5b](/legal/us/code/title-12/chapter-13/section-1701g-5b.md)
- [12 U.S.C. § 1701n](/legal/us/code/title-12/chapter-13/section-1701n.md)
- [12 U.S.C. § 1701o](/legal/us/code/title-12/chapter-13/section-1701o.md)
- [12 U.S.C. § 1701p](/legal/us/code/title-12/chapter-13/section-1701p.md)
- [12 U.S.C. § 1701q](/legal/us/code/title-12/chapter-13/section-1701q.md)
- [12 U.S.C. § 1701r](/legal/us/code/title-12/chapter-13/section-1701r.md)
- [12 U.S.C. § 1701s](/legal/us/code/title-12/chapter-13/section-1701s.md)
- [12 U.S.C. § 1701v](/legal/us/code/title-12/chapter-13/section-1701v.md)
- [12 U.S.C. § 1701x](/legal/us/code/title-12/chapter-13/section-1701x.md)
- [12 U.S.C. § 1701x–1](/legal/us/code/title-12/chapter-13/section-1701x-1.md)
- [12 U.S.C. § 1701y](/legal/us/code/title-12/chapter-13/section-1701y.md)
- [12 U.S.C. § 1701z–15](/legal/us/code/title-12/chapter-13/section-1701z-15.md)
- [12 U.S.C. § 1701z–2](/legal/us/code/title-12/chapter-13/section-1701z-2.md)
- [12 U.S.C. § 1702](/legal/us/code/title-12/chapter-13/section-1702.md)
- [12 U.S.C. § 1708](/legal/us/code/title-12/chapter-13/section-1708.md)
- …and 152 more (full set in data/section_authority_edges.jsonl)