Spaces:
Build error
Build error
Commit ·
681bc37
1
Parent(s): 02e886f
chore: bump version to 0.33.0 -- Phase 32 complete
Browse filesPhase 32 -- Entity Resolution v2: Canonical Identity Engine
New endpoints:
GET /resolve -- normalise + canonicalise a name
GET /resolve/alias -- O(1) alias graph lookup
POST /resolve/batch -- merge duplicates in a list (max 500 records)
GET /resolve/stats -- alias graph statistics
Infrastructure:
AliasGraph singleton loaded at startup from data/processed/alias_graph.json
Pipeline rebuilds alias graph after every resolve_dataset() run
15 new tests added (59 total, was 44)
- api/main.py +2 -2
- config/settings.py +1 -1
api/main.py
CHANGED
|
@@ -52,7 +52,7 @@ app = FastAPI(
|
|
| 52 |
"All data sourced from official government records. "
|
| 53 |
"Outputs are structural indicators, not legal findings."
|
| 54 |
),
|
| 55 |
-
version="0.
|
| 56 |
lifespan=lifespan,
|
| 57 |
)
|
| 58 |
|
|
@@ -131,7 +131,7 @@ def health_check():
|
|
| 131 |
return HealthResponse(
|
| 132 |
status="ok" if connected else "degraded",
|
| 133 |
neo4j_connected=connected,
|
| 134 |
-
version="0.
|
| 135 |
generated_at=datetime.now().isoformat(),
|
| 136 |
)
|
| 137 |
|
|
|
|
| 52 |
"All data sourced from official government records. "
|
| 53 |
"Outputs are structural indicators, not legal findings."
|
| 54 |
),
|
| 55 |
+
version="0.33.0",
|
| 56 |
lifespan=lifespan,
|
| 57 |
)
|
| 58 |
|
|
|
|
| 131 |
return HealthResponse(
|
| 132 |
status="ok" if connected else "degraded",
|
| 133 |
neo4j_connected=connected,
|
| 134 |
+
version="0.33.0",
|
| 135 |
generated_at=datetime.now().isoformat(),
|
| 136 |
)
|
| 137 |
|
config/settings.py
CHANGED
|
@@ -6,7 +6,7 @@ load_dotenv()
|
|
| 6 |
|
| 7 |
# Project Info
|
| 8 |
PROJECT_NAME = "BharatGraph"
|
| 9 |
-
VERSION = "0.
|
| 10 |
DESCRIPTION = "AI-powered public transparency platform for India"
|
| 11 |
|
| 12 |
# Database
|
|
|
|
| 6 |
|
| 7 |
# Project Info
|
| 8 |
PROJECT_NAME = "BharatGraph"
|
| 9 |
+
VERSION = "0.33.0" # NEW-A7 FIX: bumped from 0.31.0 after 3 bug sprints
|
| 10 |
DESCRIPTION = "AI-powered public transparency platform for India"
|
| 11 |
|
| 12 |
# Database
|