bharatgraph / api /routes

Commit History

feat(phase-34): add api/routes/case_memory.py with 3 endpoints
538036c

abinazebinoy commited on

feat(phase-34): add api/routes/self_learning.py with 4 endpoints
5fdaa50

abinazebinoy commited on

feat(phase-34): add api/routes/forensics.py with 5 endpoints
48337b7

abinazebinoy commited on

feat(phase-34): wire BenfordsAnalyzer + GhostCompanyDetector + ShadowDirectorDetector into risk scorer
4ac80cb

abinazebinoy commited on

feat(phase-33): add api/routes/timeline.py with 2 endpoints
4435778

abinazebinoy commited on

feat(phase-33): add 4 graph analytics endpoints to api/routes/graph.py
5ac9ba3

abinazebinoy commited on

feat(phase-32): add api/routes/resolve.py with 4 endpoints
d5dc03e

abinazebinoy commited on

fix(LOGIC-1): remove 2 duplicate pressrelease keys in LABEL_QUERIES; fix LIMIT $lim -> $limit to match query runner kwarg
b348d13

abinazebinoy commited on

fix(SEC-6): reject empty-string ADMIN_SECRET -- empty string was falsy and bypassed authentication check
4040e0f

abinazebinoy commited on

fix(CodeQL#16-17): use validated real_out path for FileResponse and media_type check in export.py
673a953

abinazebinoy commited on

fix(CodeQL#23): log exception type only in investigation.py -- full exception message may expose Neo4j URI
7a6c1ee

abinazebinoy commited on

fix(M-08): add pressrelease alias in LABEL_QUERIES so frontend filter button works
9b088fe

abinazebinoy commited on

fix(M-08): add 'pressrelease' alias key in LABEL_QUERIES -- frontend filter button now correctly filters to PressRelease nodes
2d87a38

abinazebinoy commited on

fix(M-03,M-06,M-08): add mobile CSS overrides for inline grid layouts; add NONE risk level for score=0; clamp risk score to 0-100
b0e0450

abinazebinoy commited on

fix(CodeQL#23): log exception type only, not full message in investigation.py -- prevents Neo4j URI/credentials leaking into logs
370bb36

abinazebinoy commited on

fix(H-08): replace substring audit name match with relationship-based + word-boundary match -- eliminates false positives for common words like 'India', 'National'
48f3ef2

abinazebinoy commited on

fix(H-07,CodeQL#12-17): use file-anchored absolute paths for path traversal guards in dossier_generator and export -- relative realpath() was CWD-dependent
6de77e6

abinazebinoy commited on

fix(H-04): enforce ADMIN_SECRET even when DEBUG_MODE=true -- prevents production DB wipe via accidental debug flag
d39cad8

abinazebinoy commited on

fix(BUG-17): wire blockchain.audit_chain.store_daily_root() to dossier export -- README SHA-256 claim now accurate
06f5a34

abinazebinoy commited on

fix(NEW-A3 part1): replace em-dashes/smart-quotes in 56+ Python files -- CI requires pure ASCII source
8a0fba4

abinazebinoy commited on

fix(BUG-15): remove duplicate entity_type param from /search; keep only entity_type_param with alias='type'
e13cf2a

abinazebinoy commited on

fix(BUG-6,NEW-A6): add X-Admin-Secret auth on /admin/seed and /admin/pipeline; add threading.Lock for pipeline race condition
e97313c

abinazebinoy commited on

fix(BUG-1): use str(depth_safe) literal in Cypher path pattern -- Neo4j rejects parameters in *min..max
391b602

abinazebinoy commited on

fix(encoding): strip non-ASCII from 4 remaining files
23cf286

abinazebinoy commited on

fix(api+graph+pipeline): M-04+M-05+M-08+M-09 -- misc medium fixes
5d9b8a9

abinazebinoy commited on

fix(api+ai): M-01+M-02+M-03 -- version consistency and duplicate assignments
01cf12a

abinazebinoy commited on

fix(api+pipeline): C-05+C-06 -- unsearchable nodes and hardcoded ICIJ names
2f11b48

abinazebinoy commited on

fix(api): C-04 -- /investigate was using DeepInvestigator not MultiInvestigator
2a82690

abinazebinoy commited on

fix(api): C-02+H-04 -- risk None crash and missing risk signals
3c1144f

abinazebinoy commited on

fix(encoding): strip non-ASCII chars from all modified files
747e613

abinazebinoy commited on

fix(api): BUG-17 -- fragile rstrip(s) filter normalisation in search
77b5a18

abinazebinoy commited on

fix(api): BUG-10 -- deduplicate graph edges before sending to frontend
719142b

abinazebinoy commited on

fix(api): BUG-10 -- deduplicate graph edges before sending to frontend
7beb5e9

abinazebinoy commited on

feat(api): add GET /runtime endpoint
9cf5b3f

abinazebinoy commited on

fix(admin): BUG-21/22/30 — driver reuse, bond key, 7 missing scrapers
d8672be

abinazebinoy commited on

fix(search): BUG-1/4/10/18 — type() crash, missing types, source map
fabf548

abinazebinoy commited on

fix(BUG-03/22): removed duplicate fallback block; added sources field to ProfileResponse
99375ed

abinazebinoy commited on

fix(BUG-08): DossierGenerator no longer caches stale Neo4j driver
b7bdaca

abinazebinoy commited on

fix(BUG-04): all investigation routes wrapped in try/except — no more raw 500s
6c74dba

abinazebinoy commited on

fix(BUG-02/15/16): pipeline loads all 13 scrapers; reuses driver; auto-detects loaders
66a6483

abinazebinoy commited on

fix(BUG-07): generic fallback for AuditReport/Contract/NGO/ElectoralBond profiles
e42734c

abinazebinoy commited on

fix(BUG-09): depth via Cypher param not f-string; use explicit node/rel RETURN
d85d91e

abinazebinoy commited on

fix(BUG-03/08): RiskScorer() takes no args; scorer.score()→use get_risk() route
402e6dc

abinazebinoy commited on

fix(BUG-06): replace full-scan MATCH(n) with 14 indexed label queries — HTTP 500 on non-English
e2ecd13

abinazebinoy commited on

fix(BUG-05): per_label was 20÷14=1; now max(10, limit*2÷types)
aec0e78

abinazebinoy commited on

fix(profile): generic fallback for AuditReport/Contract/NGO/ElectoralBond entity types
d71db35

abinazebinoy commited on

fix(search): replace full-scan MATCH(n) with 9 indexed queries — fixes HTTP 500 on non-English search
6d7a265

abinazebinoy commited on

fix(admin): seed now creates relationships, bump version to 0.29.0
06efe08

abinazebinoy commited on

feat(search): add 6 new entity types to search route
f6f38e2

abinazebinoy commited on