How tanuj52/oee_dashboard_8d_intelligence works
This is a Snowflake-backed Streamlit manufacturing operations product: plant staff monitor machine health, act on predicted failures, investigate defects through an 8D workflow, and track business impact and follow-up. The graph separates UI entry points, analytics, operational services, and persistence. It includes the README’s documented capabilities even where page implementations were not sampled; those page-level connections are documented rather than inferred from unseen code. Source-index references and README statements support the shown relationships; unsampled details are not expanded into speculative call chains.
Main entry points: data.py Plant analytics · streamlit_app.py Streamlit app · live_monitoring.py Live monitoring · pipeline.py 8D agent pipeline
Components 28
Operator experience
- Streamlit app
snowflake_app/streamlit_app.py - Command center
snowflake_app/app_pages/command_center.py - Live monitoring
snowflake_app/app_pages/live_monitoring.py - 8D investigations
snowflake_app/app_pages/investigations.py - Corrective actions
snowflake_app/app_pages/corrective_actions.py - Reports library
snowflake_app/app_pages/reports.py - Plant workflows
snowflake_app/app_pages - Assistant chat
snowflake_app/ui/chat_dock.py
Plant analytics
- Online monitoring
snowflake_app/core/monitoring.py - Failure prediction
snowflake_app/tools/prediction_engine.py - Plant analytics
snowflake_app/core/data.py - Quality tools
snowflake_app/tools/spc_analysis.py - Lot traceability
snowflake_app/tools/lot_traceability.py - COPQ analysis
snowflake_app/tools/copq_calculator.py
Operational workflows
- 8D agent pipeline
snowflake_app/core/pipeline.py - Investigation runs
snowflake_app/services/runs.py - Maintenance operations
snowflake_app/core/maintenance.py - Parts and purchasing
snowflake_app/services/parts_ops.py - Action tracking
snowflake_app/services/capa_ops.py - Business impact
snowflake_app/services/impact_ops.py - Report export
snowflake_app/services/report_export.py - Daily digest
snowflake_app/services/digest_ops.py - Plant assistant
snowflake_app/services/assistant.py
Data and services
- Data source
snowflake_app/services/datasource.py - Operations store
snowflake_app/services/ops_store.py - Cortex AI
snowflake_app/services/llm.py
Other components
- Plant staff
- Snowflake
Connections 38
- Plant staff → Streamlit app: uses
- Streamlit app → Command center: opens
- Streamlit app → Live monitoring: opens
- Streamlit app → 8D investigations: opens
- Streamlit app → Corrective actions: opens
- Streamlit app → Reports library: opens
- Streamlit app → Plant workflows: offers
- Streamlit app → Assistant chat: renders
snowflake_app/streamlit_app.py - Live monitoring → Online monitoring: uses
snowflake_app/app_pages/live_monitoring.py - Live monitoring → Failure prediction: uses
snowflake_app/app_pages/live_monitoring.py - Online monitoring → Failure prediction: uses
snowflake_app/core/monitoring.py - Online monitoring → Plant analytics: reads
snowflake_app/core/monitoring.py - Command center → Plant analytics: reads
snowflake_app/app_pages/command_center.py - 8D agent pipeline → Plant analytics: queries
snowflake_app/core/pipeline.py - 8D agent pipeline → Online monitoring: uses
snowflake_app/core/pipeline.py - Plant analytics → Quality tools: uses
snowflake_app/core/data.py - Plant analytics → Lot traceability: uses
snowflake_app/core/data.py - Plant analytics → COPQ analysis: uses
snowflake_app/core/data.py - 8D investigations → Investigation runs: starts
- Investigation runs → 8D agent pipeline: runs
snowflake_app/services/runs.py - 8D investigations → Report export: views
- Reports library → Report export: exports
- Corrective actions → Action tracking: tracks
- Live monitoring → Business impact: shows
snowflake_app/app_pages/live_monitoring.py - Command center → Business impact: shows
snowflake_app/app_pages/command_center.py - Plant workflows → Maintenance operations: supports
- Plant workflows → Parts and purchasing: supports
- Parts and purchasing → Operations store: persists
snowflake_app/services/parts_ops.py - Action tracking → Operations store: persists
snowflake_app/services/capa_ops.py - Business impact → Plant analytics: reads
snowflake_app/services/impact_ops.py - Daily digest → Action tracking: collects
snowflake_app/services/digest_ops.py - Daily digest → Business impact: collects
snowflake_app/services/digest_ops.py - Assistant chat → Plant assistant: calls
snowflake_app/ui/chat_dock.py - Data source → Plant analytics: configures
snowflake_app/services/datasource.py - Plant analytics → Snowflake: reads tables
- Operations store → Snowflake: persists state
snowflake_app/services/ops_store.py - 8D agent pipeline → Cortex AI: reasons with
- Report export → Action tracking: includes actions
snowflake_app/services/report_export.py