Reference data simplification (choke point pattern): - Remove RefSave/RefDelete from lib (import-time only, not runtime) - Remove LabTestSave*, LabRefSave* from lib/lab_reference.go - Remove PopulateReferences (LLM-based ref generation) - Keep only RefQuery() for runtime reads - Import tools handle their own SQL inserts Rate limiting removed: - Delete new_signups table and all rate limit code - Solved via different approach (not in codebase) Database consolidation (on staging): - Moved genotypes table (30K SNPs) to reference.db - Deleted empty DBs: portal.db, rate_limit.db, snpedia.db, ratelimit.db Net -293 lines. Runtime code now only reads reference data via RefQuery(). Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| bin | ||
| lang | ||
| static | ||
| templates | ||
| access_log.go | ||
| api_client.go | ||
| api_mobile.go | ||
| api_proxy.go | ||
| defense.go | ||
| dossier_sections.go | ||
| genome.go | ||
| inou-portal | ||
| main.go | ||
| main.go.bak | ||
| mcp_http.go | ||
| mcp_tools.go | ||
| oauth.go | ||
| portal | ||
| trackers.go | ||
| upload.go | ||