How k-techpro/cognicode works
CogniCode is a Flask-based coding-learning platform: learners log in, choose a learning area, work through coding exercises, receive attempt-dependent guidance, and can view learning analytics. The tree contains two app/template/static trees; both app files are listed as core modules, so the graph distinguishes the root demo implementation from the CogniCode implementation. The CogniCode excerpt is incomplete, and analytics wiring and several route relationships are therefore not inferred beyond the README.
Main entry points: CogniCode/app.py Learning catalog · app.py Learning catalog · templates/problem.html Problem page · templates/problem.html Problem page
Components 29
CogniCode app
- CogniCode routes
CogniCode/app.py - Demo login
CogniCode/app.py - Learning catalog
CogniCode/app.py - Exercise runner
CogniCode/app.py - Adaptive guidance
CogniCode/app.py - Similar questions
CogniCode/app.py - Analytics route
CogniCode/app.py
Root demo app
- Root routes
app.py - Demo login
app.py - Learning catalog
app.py - Exercise runner
app.py - Adaptive guidance
app.py - Analytics route
app.py
Page templates
- Login page
CogniCode/templates/auth.html - Home page
CogniCode/templates/home.html - Level page
CogniCode/templates/level.html - Course page
CogniCode/templates/course.html - Problem page
CogniCode/templates/problem.html - Similar page
CogniCode/templates/similar.html - Analytics page
CogniCode/templates/analytics.html - Login page
templates/auth.html - Home page
templates/home.html - Level page
templates/level.html - Course page
templates/course.html - Problem page
templates/problem.html - Analytics page
templates/analytics.html
Browser analytics
- Analytics calculations
static/js/analytics.js - Analytics calculations
CogniCode/static/js/analytics.js
Other components
- Learner
Connections 24
- Learner → Demo login: submits credentials
CogniCode/app.py - Demo login → Login page: renders
CogniCode/app.py - Demo login → Learning catalog: redirects valid login
CogniCode/app.py - Learning catalog → Home page: renders
CogniCode/app.py - Learning catalog → Level page: serves levels
README.md - Learning catalog → Course page: serves courses
README.md - Learning catalog → Exercise runner: starts questions
README.md - Exercise runner → Problem page: renders
CogniCode/app.py - Exercise runner → Adaptive guidance: updates attempts
CogniCode/app.py - Adaptive guidance → Problem page: shows guidance
README.md - Adaptive guidance → Similar questions: offers after attempts
README.md - Similar questions → Similar page: renders
CogniCode/app.py - Analytics route → Analytics page: renders
README.md - Learner → Demo login: submits credentials
app.py - Demo login → Login page: renders
app.py - Demo login → Learning catalog: redirects valid login
app.py - Learning catalog → Home page: renders
app.py - Learning catalog → Level page: renders
app.py - Learning catalog → Course page: renders
app.py - Learning catalog → Exercise runner: opens questions
README.md - Exercise runner → Problem page: renders
app.py - Exercise runner → Adaptive guidance: updates attempts
app.py - Adaptive guidance → Problem page: shows guidance
app.py - Analytics route → Analytics page: renders
app.py