How jashwanthk7/calc-flow works
CalcFlow is a Streamlit Calculus I tutor: users can chat with a local model, take adaptive quizzes checked with symbolic math, and review calculus material. The sampled source shows these responsibilities concentrated in app.py, including model discovery and database access; the excerpts do not expose all event handlers, so uncertain internal calls are omitted. PostgreSQL persistence and Ollama inference are documented, and the README also describes dashboard/history capabilities.
Main entry points: app.py Streamlit application
Components 12
Learning experience
- Streamlit application
app.py - Calculus handbook
app.py - Learning dashboard
app.py - Chat history
app.py
Tutoring and assessment
- AI chat tutor
app.py - Adaptive quizzes
app.py - Symbolic grading
app.py
Runtime services
- PostgreSQL
- Model discovery
app.py - Persistence access
app.py
Other components
- Learner
- Ollama model server
Connections 12
- Learner → Streamlit application: uses
- Streamlit application → AI chat tutor: offers
- Streamlit application → Adaptive quizzes: offers
- Streamlit application → Calculus handbook: offers
- Streamlit application → Learning dashboard: offers
- Streamlit application → Chat history: offers
- AI chat tutor → Model discovery: queries models
- Model discovery → Ollama model server: lists models
- AI chat tutor → Ollama model server: requests completion
- Adaptive quizzes → Symbolic grading: verifies answers
- Streamlit application → Persistence access: stores and reads
- Persistence access → PostgreSQL: queries