How rushabu/liquid-innoversite works
Liquid+ is a browser-based liquidity data and analysis application. Support users upload asset, liability, and historical books; the backend parses and validates rows, then commits valid data and row-level issues as one transaction. Users can review batch history and errors, explore a deterministic maturity-gap ladder, and use behavioral-model views for comparisons, explanations, and transaction drill-downs. The README documents the ingestion and ladder flow; the source index supports the analysis modules and frontend connections, though unsampled implementation details are not inferred.
Main entry points: client.ts Typed API client · ingest.py Ingest endpoints · ladder.py Ladder endpoints · behavioral.py Behavior endpoints
Components 21
Browser application
- App routes
frontend/src/App.tsx - Upload workflow
frontend/src/pages/UploadPage.tsx - Ladder view
frontend/src/pages/LadderPage.tsx - AI analysis views
frontend/src/pages/AiGapPage.tsx - Typed API client
frontend/src/api/client.ts
API and access
- FastAPI app
backend/app/main.py - JWT access checks
backend/app/deps.py - Ingest endpoints
backend/app/routers/ingest.py - Ladder endpoints
backend/app/routers/ladder.py - Behavior endpoints
backend/app/routers/behavioral.py
Ingestion pipeline
- File parsing
backend/app/services/parsing.py - Row validation
backend/app/services/validation.py - Transactional ingest
backend/app/services/ingestion.py - Batch and issue queries
backend/app/services/queries.py - Postgres database
backend/app/db.py
Liquidity analysis
- Snapshot queries
backend/app/services/ladder_queries.py - Deterministic ladder
backend/app/core/ladder.py - Interest calculation
backend/app/core/liquidity_core.py - Behavior data queries
backend/app/services/behavioral_queries.py - Behavior model
backend/app/core/behavioral.py
Other components
- User
Connections 30
- User → App routes: opens views
frontend/src/App.tsx - App routes → Upload workflow: routes to
frontend/src/App.tsx - App routes → Ladder view: routes to
frontend/src/App.tsx - App routes → AI analysis views: routes to
frontend/src/App.tsx - Upload workflow → Typed API client: requests data
frontend/src/pages/UploadPage.tsx - Ladder view → Typed API client: requests ladder
frontend/src/pages/LadderPage.tsx - AI analysis views → Typed API client: requests analysis
- Typed API client → Ingest endpoints: calls ingest API
frontend/src/api/client.ts - Typed API client → Ladder endpoints: calls ladder API
frontend/src/api/client.ts - Typed API client → Behavior endpoints: calls behavior API
frontend/src/api/client.ts - FastAPI app → Ingest endpoints: registers routes
backend/app/main.py - FastAPI app → Ladder endpoints: registers routes
backend/app/main.py - FastAPI app → Behavior endpoints: registers routes
backend/app/main.py - Ingest endpoints → JWT access checks: requires upload role
backend/app/routers/ingest.py - Ladder endpoints → JWT access checks: checks user
backend/app/routers/ladder.py - Behavior endpoints → JWT access checks: checks user
backend/app/routers/behavioral.py - Ingest endpoints → Transactional ingest: ingests book
backend/app/routers/ingest.py - Transactional ingest → File parsing: parses file
backend/app/services/ingestion.py - Transactional ingest → Row validation: validates rows
backend/app/services/ingestion.py - Row validation → Interest calculation: uses interest rules
backend/app/services/validation.py - Transactional ingest → Postgres database: writes transaction
- Ingest endpoints → Batch and issue queries: serves batch and issue reads
backend/app/routers/ingest.py - Batch and issue queries → Postgres database: reads records
- Ladder endpoints → Snapshot queries: fetches snapshots
backend/app/routers/ladder.py - Snapshot queries → Postgres database: reads snapshots
- Ladder endpoints → Deterministic ladder: computes ladder
backend/app/routers/ladder.py - Deterministic ladder → Interest calculation: uses cash values
backend/app/core/ladder.py - Behavior endpoints → Behavior data queries: loads analysis data
backend/app/routers/behavioral.py - Behavior endpoints → Behavior model: runs model analysis
backend/app/routers/behavioral.py - Behavior data queries → Behavior model: provides model data
backend/app/services/behavioral_queries.py