How arunkumarravindran/incentive-common-ui works
Incentive-Common-UI is a multi-tenant research-incentive and governance platform. Users enter through tenant-specific dashboard routes, then work with publication valuations, researcher scorecards, policy simulation, verification, benchmarks, and exception handling. TenantContext is the shared runtime layer: it selects tenant configuration, fetches live data, evaluates incentives, and exposes shared state to the modules. README capabilities guide coverage of modules whose source was not excerpted; connections without shown call evidence are omitted.
Main entry points: App.jsx Route shell · ChartJS.jsx Analytics charts · TenantContext.jsx Tenant state · registry.js Tenant registry
Components 22
Application shell
- Route shell
src/App.jsx - Sidebar and header
src/components/layout - Analytics charts
src/components/ui/ChartJS.jsx
Research workflows
- Executive dashboard
src/modules/DashboardModule.jsx - Outputs workspace
src/modules/PublicationsWorkspaceModule.jsx - Publication audit drawer
src/modules/PublicationDrawer.jsx - Point override
src/components/common/PointOverrideModal.jsx - Faculty scorecards
src/modules/FacultyScorecardsModule.jsx - Faculty details
src/modules/FacultyDrawer.jsx
Policy governance
- Exception queue
src/modules/ExceptionQueueModule.jsx - Policy sandbox
src/modules/PolicySandboxModule.jsx - Verification panel
src/modules/ScorePanelModule.jsx - Institution benchmarks
src/modules/BenchmarkModule.jsx
Tenant runtime
- Tenant state
src/context/TenantContext.jsx - Incentive engine
src/engine/universalIncentiveEngine.js - Tenant registry
src/config/tenants/registry.js - MUJ policies
src/config/tenants/muj.js - MIT-ADT policies
src/config/tenants/mit-adt.js - Anurag policies
src/config/tenants/anurag.js - API client
src/services/api.js
Other components
- Institution user
- Live data backend
Connections 28
- Institution user → Route shell: opens
src/App.jsx - Route shell → Tenant state: provides tenant state
src/App.jsx - Route shell → Sidebar and header: renders
src/App.jsx - Route shell → Executive dashboard: routes to
src/App.jsx - Route shell → Outputs workspace: routes to
src/App.jsx - Route shell → Faculty scorecards: routes to
src/App.jsx - Route shell → Exception queue: routes to
src/App.jsx - Route shell → Policy sandbox: routes to
src/App.jsx - Route shell → Verification panel: routes to
src/App.jsx - Route shell → Institution benchmarks: routes to
src/App.jsx - Route shell → Publication audit drawer: renders
src/App.jsx - Route shell → Faculty details: renders
src/App.jsx - Route shell → Route shell: hosts
src/App.jsx - Outputs workspace → Point override: opens override
src/modules/PublicationsWorkspaceModule.jsx - Tenant state → Tenant registry: loads tenant
src/context/TenantContext.jsx - Tenant state → Incentive engine: evaluates incentives
src/context/TenantContext.jsx - Tenant state → Incentive engine: simulates policy
src/context/TenantContext.jsx - Tenant state → API client: fetches data
src/context/TenantContext.jsx - Tenant registry → MUJ policies: registers
src/config/tenants/registry.js - Tenant registry → MIT-ADT policies: registers
src/config/tenants/registry.js - Tenant registry → Anurag policies: registers
src/config/tenants/registry.js - API client → Live data backend: requests live data
- Executive dashboard → Analytics charts: renders analytics
src/modules/DashboardModule.jsx - Outputs workspace → Analytics charts: renders analytics
src/modules/PublicationsWorkspaceModule.jsx - Faculty scorecards → Analytics charts: renders analytics
src/modules/FacultyScorecardsModule.jsx - Policy sandbox → Analytics charts: renders simulation charts
src/modules/PolicySandboxModule.jsx - Verification panel → Analytics charts: renders analytics
src/modules/ScorePanelModule.jsx - Institution benchmarks → Analytics charts: renders analytics
src/modules/BenchmarkModule.jsx