How rajaraman079k/mechguard works
MechGuard AI is a local Streamlit maintenance decision-support app. A user signs in, enters machine readings in the workspace, and receives a deterministic assessment with diagnostic evidence, severity, and actions. The documented workflow retrieves historical context, selects and executes diagnostic tools, evaluates combined signals, may replan, then generates and persists a report. Separate capabilities provide SQLite-backed machine memory, CSV validation and trend visualization, and local authentication. The implementation is a single file; relationships are based on the README, since the excerpts do not show most function calls or page wiring.
Main entry points: app.py Signal Evaluation
Components 14
User Workspace
- Streamlit Workspace
app.py - Local Authentication
app.py - System Guide
app.py
Assessment Workflow
- Machine Readings
app.py - Tool Selection
app.py - Diagnostic Tools
app.py - Signal Evaluation
app.py - Severity Replanning
app.py - Maintenance Report
app.py
Machine Memory
- Historical Context
app.py - SQLite History
app.py
Data Tools
- CSV Ingestion
app.py - Trend Views
app.py
Other components
- Maintenance User
Connections 15
- Maintenance User → Streamlit Workspace: uses
README.md - Maintenance User → Local Authentication: registers or signs in
README.md - Streamlit Workspace → Machine Readings: submits
README.md - Machine Readings → Historical Context: retrieves context
README.md - Historical Context → Tool Selection: informs selection
README.md - Tool Selection → Diagnostic Tools: selects tools
README.md - Diagnostic Tools → Signal Evaluation: supplies signals
README.md - Signal Evaluation → Severity Replanning: may trigger
README.md - Signal Evaluation → Maintenance Report: generates report
README.md - Severity Replanning → Maintenance Report: adjusts assessment
README.md - Historical Context → SQLite History: reads history
README.md - Maintenance Report → SQLite History: persists assessment
README.md - Maintenance User → CSV Ingestion: uploads dataset
README.md - CSV Ingestion → Trend Views: feeds trends
README.md - Maintenance User → System Guide: views guide
README.md