How benjiesotelo-sudo/telos works
Telos is a browser-based statistical analysis app for thesis students: users upload a dataset, configure its variables, choose and configure tests, run analyses locally in WebR, then review and export results. The map highlights the guided screens, data and test-selection layers, registry-driven analysis, SEM/path-modeling capabilities, and reporting/export options. The README documents the overall workflow and capabilities; sampled source confirms key calls, but several screen and export internals were not inspected, so those links rely on README statements.
Main entry points: App.tsx App router · ResultsScreen.tsx Results screen · session.ts Session state · runCbSem.ts CB-SEM runner
Components 24
Guided workflow
- App router
src/App.tsx - Welcome
src/components/screens/WelcomeScreen.tsx - Dataset upload
src/components/screens/UploadScreen.tsx - Terms guide
src/components/screens/GuideScreen.tsx - Configure data
src/components/screens/ConfigureDataScreen.tsx - Pick tests
src/components/screens/PickTestsScreen.tsx - Configure test
src/components/screens/TestConfigScreen.tsx
Data and selection
- Session state
src/state/session.ts - CSV and Excel parsing
src/lib/data - Test eligibility
src/lib/eligibility/eligibility.ts
Analysis runtime
- Test registry
src/lib/registry/catalog.ts - WebR engine
src/lib/webr/engine.ts - Statistical runners
src/lib/stats - Result builders
src/lib/results/builders.ts
Latent modeling
- SEM model canvas
src/components/SemCanvas.tsx - CB-SEM runner
src/lib/stats/runCbSem.ts - SEM helpers
src/lib/stats - Latent R emitter
src/lib/export/rScript/emitters/latent.ts
Results and export
- Results screen
src/components/screens/ResultsScreen.tsx - Result preview
src/components/ResultPreviewCard.tsx - Method explainers
src/lib/registry/explainers.ts - Method citations
src/lib/registry/citations.ts - Export bundle
src/lib/export
Other components
- Thesis student
Connections 28
- Thesis student → App router: uses
README.md - App router → Welcome: routes to
src/App.tsx - App router → Dataset upload: routes to
src/App.tsx - App router → Terms guide: routes to
src/App.tsx - App router → Configure data: routes to
src/App.tsx - App router → Pick tests: routes to
src/App.tsx - App router → Configure test: routes to
src/App.tsx - App router → Results screen: routes to
src/App.tsx - Thesis student → Session state: advances workflow
README.md - Dataset upload → CSV and Excel parsing: parses files
src/components/screens/UploadScreen.tsx - Session state → Test registry: loads specs
src/state/session.ts - Test eligibility → Test registry: checks specs
src/lib/eligibility/eligibility.ts - Configure test → Test eligibility: checks slots
README.md - Session state → WebR engine: gets engine
src/state/session.ts - Session state → Result builders: runs selected tests
src/state/session.ts - Result builders → Statistical runners: dispatches tests
src/lib/results/builders.ts - WebR engine → Statistical runners: executes R
src/lib/stats/runCbSem.ts - SEM model canvas → Session state: reads model state
src/components/SemCanvas.tsx - SEM model canvas → CB-SEM runner: uses SEM model
src/components/SemCanvas.tsx - CB-SEM runner → WebR engine: runs in
src/lib/stats/runCbSem.ts - CB-SEM runner → SEM helpers: uses helpers
src/lib/stats/runCbSem.ts - Latent R emitter → SEM helpers: uses model helpers
src/lib/export/rScript/emitters/latent.ts - Results screen → Result preview: renders cards
src/components/screens/ResultsScreen.tsx - Result preview → Result builders: builds card content
src/components/ResultPreviewCard.tsx - Result preview → Method explainers: shows explanations
src/components/ResultPreviewCard.tsx - Results screen → Test registry: reads specs
src/components/screens/ResultsScreen.tsx - Results screen → Method citations: adds citations
src/components/screens/ResultsScreen.tsx - Results screen → Export bundle: creates downloads
src/components/screens/ResultsScreen.tsx