akryldigital commited on
Commit
b9a1f8b
·
verified ·
1 Parent(s): c6d64d9

include Uganda Parliament Structure (analysis doc)

Browse files
src/config/uganda_entity_structure.txt ADDED
@@ -0,0 +1,125 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ UGANDA PUBLIC ENTITIES STRUCTURE
2
+ ================================
3
+ (Source: Office of the Auditor General — List of Entities as at end of 2022)
4
+ Total PDEs (Procuring and Disposing Entities): 1,514
5
+
6
+
7
+ 1. ENTITY CATEGORIES
8
+ ---------------------
9
+
10
+ The Uganda Auditor General audits public entities grouped into these categories:
11
+
12
+ A) MINISTRIES (21)
13
+ Central government ministries, e.g.:
14
+ - Ministry of Finance, Planning and Economic Development
15
+ - Ministry of Health
16
+ - Ministry of Education and Sports
17
+ - Ministry of Agriculture, Animal Industry and Fisheries
18
+ - Ministry of Defence and Veteran Affairs
19
+
20
+ B) BOARDS, COMMISSIONS, COUNCILS, AGENCIES, STATE ENTERPRISES & STATUTORY BODIES (156 combined)
21
+ Sub-categories:
22
+ - Boards (4): e.g. Uganda National Examinations Board, Uganda Tourism Board
23
+ - Commissions (13): e.g. Electoral Commission, Uganda Human Rights Commission
24
+ - Councils (8): e.g. National Council of Sports, National Council for Higher Education
25
+ - Government Agencies (23): e.g. Uganda Police Force, Office of the Prime Minister, Parliament of Uganda
26
+ - State Enterprises (24): e.g. Bank of Uganda, Uganda Airlines, National Water & Sewerage Corporation
27
+ - Statutory Bodies (34): e.g. Uganda Revenue Authority, KCCA, National Roads Authority, Civil Aviation Authority
28
+
29
+ C) MISSIONS (34)
30
+ Ugandan embassies, high commissions, and consulates abroad, e.g.:
31
+ - Permanent Mission of Uganda to the UN, New York
32
+ - Uganda High Commission in Kenya, Nairobi
33
+ - Uganda Embassy in the United States of America, Washington
34
+
35
+ D) DISTRICT LOCAL GOVERNMENTS (135)
36
+ Each district has a District Local Government (DLG), e.g.:
37
+ - Gulu DLG, Kampala (under KCCA), Mukono DLG, Bushenyi DLG
38
+
39
+ E) CITY COUNCILS (10)
40
+ Urban authorities with city status:
41
+ - Arua, Fort Portal, Gulu, Hoima, Jinja, Lira, Masaka, Mbale, Mbarara, Soroti
42
+
43
+ F) MUNICIPAL COUNCILS (31)
44
+ Sub-county level urban areas, e.g.:
45
+ - Entebbe, Kabale, Kasese, Mukono, Tororo, Moroto
46
+
47
+ G) PUBLIC HOSPITALS (25)
48
+ Regional referral and national referral hospitals, e.g.:
49
+ - Mulago National Referral Hospital
50
+ - Gulu Regional Referral Hospital
51
+ - Mbarara Regional Referral Hospital
52
+
53
+ H) PUBLIC UNIVERSITIES & TERTIARY INSTITUTIONS (69)
54
+ - Universities (14): e.g. Makerere University, Gulu University, Kyambogo University
55
+ - Tertiary Institutions (47): e.g. Uganda Management Institute, Law Development Centre
56
+
57
+ I) PUBLIC SECONDARY SCHOOLS (1,033)
58
+ Mostly not individually audited; covered in bulk reports.
59
+
60
+
61
+ 2. MAPPING TO QDRANT 'source' FILTER VALUES
62
+ --------------------------------------------
63
+
64
+ Our database uses a simplified 'source' field. Here is how the entity categories map:
65
+
66
+ "Ministry, Department and Agency" (MDA)
67
+ <- Ministries
68
+ <- Boards, Commissions, Councils, Agencies, State Enterprises, Statutory Bodies
69
+ <- Missions
70
+ <- Universities & Tertiary Institutions
71
+
72
+ "Local Government"
73
+ <- District Local Governments (DLGs)
74
+ <- City Councils
75
+ <- Municipal Councils
76
+
77
+ "Hospital"
78
+ <- Public Hospitals (Regional Referral, National Referral)
79
+
80
+ "Project"
81
+ <- Specific government projects (cross-cutting, often multi-year)
82
+
83
+ "Value for Money"
84
+ <- VFM audit reports (thematic, not entity-specific)
85
+
86
+ "Consolidated"
87
+ <- The annual consolidated Auditor General's report
88
+
89
+
90
+ 3. KEY STRUCTURAL NOTES FOR AGENT REASONING
91
+ --------------------------------------------
92
+
93
+ - "Ministry" or "MDA" queries should search source="Ministry, Department and Agency"
94
+ - "Local Government" includes DLGs + City Councils + Municipal Councils, all indexed by 'district' name
95
+ - City Councils (10 cities) and Municipal Councils (31 towns) are DISTINCT from District Local Governments
96
+ but share the same 'source' = "Local Government" and may share the 'district' name
97
+ - Hospitals are a separate audit category — they have their own 'source' = "Hospital"
98
+ - Universities and Tertiary Institutions are audited under MDA, NOT Local Government
99
+ - "Project" reports are cross-cutting (e.g. "Uganda Road Fund", "Rural Electrification") — they span
100
+ multiple districts/entities and typically don't have a single 'district' value
101
+ - Some entities like KCCA (Kampala Capital City Authority) are statutory bodies but deeply tied to
102
+ local government functions — they appear under MDA in official classification
103
+
104
+ - When a user says "government agencies" they likely mean the broader MDA category
105
+ - When they say "local councils" or "district reports" they mean source="Local Government"
106
+ - "VFM" or "value for money" audits are thematic/performance audits, not compliance audits
107
+
108
+
109
+ 4. METADATA GAPS IN QDRANT (as of BAAI-bge-m3-full)
110
+ -----------------------------------------------------
111
+
112
+ source="Local Government" (961 files):
113
+ - DLG files (676): ALL have 'district' metadata populated
114
+ - City Council files (48): NONE have 'district' metadata
115
+ - Municipal Council files (106): NONE have 'district' metadata
116
+ - 46 hospital files are MISCLASSIFIED under source="Local Government"
117
+ - 85 other files (divisions, old naming): ~66% have district
118
+
119
+ source="Ministry, Department and Agency" (731 files): 'district' is NOT populated
120
+ source="Hospital" (36 files): 'district' is NOT populated
121
+ source="Project" (86 files): 'district' is NOT populated (cross-cutting)
122
+ source="Value for Money" (166 files): Some have 'district', most don't
123
+
124
+ Entity sub-type (DLG vs City Council vs Ministry etc) is NOT stored in metadata
125
+ but CAN BE INFERRED from filename patterns via src/utils/entity_type.py.