How prasanna-1166/loadlens works
LoadLens is a Streamlit workload-planning application: users edit or import ordered tasks, choose workers, and run an optimizer that minimizes the largest contiguous workload. Results can be inspected, exported, or saved and restored through local scenario history. The graph retains the separate algorithm demos and About page documented in the README. Edges are limited to relationships shown in excerpts or README; unsampled page behavior is not inferred.
Main entry points: streamlit_app.py Streamlit Navigation · planner_page.py Planner · csv_service.py CSV Import Export · algorithm_lab_page.py Algorithm Lab
Components 14
Application UI
- Streamlit Navigation
streamlit_app.py - Planner
loadlens/ui/planner_page.py - Scenario History
loadlens/ui/history_page.py - About Help
loadlens/ui/about_page.py
Planning Domain
- Input Validation
loadlens/validation.py - CSV Import Export
loadlens/services/csv_service.py - Allocation Solver
loadlens/algorithms/allocation.py - Domain Models
loadlens/models.py
Local History
- Scenario Repository
loadlens/persistence/scenario_repository.py - Local SQLite
Algorithm Learning
- Algorithm Lab
loadlens/ui/algorithm_lab_page.py - Rotated Search Demo
loadlens/algorithms/rotated_search.py
Other components
- Planner User
- CSV Results
Connections 19
- Planner User → Streamlit Navigation: navigates
README.md - Streamlit Navigation → Planner: routes to
streamlit_app.py - Streamlit Navigation → Scenario History: routes to
streamlit_app.py - Streamlit Navigation → Algorithm Lab: routes to
streamlit_app.py - Streamlit Navigation → About Help: routes to
streamlit_app.py - Planner → Input Validation: validates inputs
loadlens/ui/planner_page.py - Planner → CSV Import Export: imports and exports
loadlens/ui/planner_page.py - Planner → Allocation Solver: runs optimization
loadlens/ui/planner_page.py - Allocation Solver → Input Validation: validates tasks
loadlens/algorithms/allocation.py - Allocation Solver → Domain Models: returns allocation
loadlens/algorithms/allocation.py - CSV Import Export → Input Validation: parses durations
loadlens/services/csv_service.py - CSV Import Export → Domain Models: creates tasks
loadlens/services/csv_service.py - CSV Import Export → CSV Results: generates export
README.md - Planner → Scenario Repository: saves scenarios
README.md - Scenario History → Scenario Repository: lists and deletes
loadlens/ui/history_page.py - Scenario Repository → Local SQLite: reads and writes
loadlens/persistence/scenario_repository.py - Algorithm Lab → Allocation Solver: traces allocation
loadlens/ui/algorithm_lab_page.py - Algorithm Lab → Rotated Search Demo: demonstrates search
loadlens/ui/algorithm_lab_page.py - Algorithm Lab → Input Validation: handles input errors
loadlens/ui/algorithm_lab_page.py