How vinaysathwik-ai/research_lens works
explog is a networked experiment-tracking system: a Python context manager audits reproducibility, registers runs, records metrics and artifacts, and reports completion or failure to a FastAPI server. The server persists run and metric state in SQLite and serves a browser dashboard for searching, filtering, and inspecting runs and metric curves. The README documents these capabilities; the shown source confirms the client, audit helpers, API, persistence models, and dashboard behavior. Some dashboard and server details are unsampled, so only documented or excerpt-visible links are shown.
Main entry points: client.py Run tracker · main.py Run API · index.html Dashboard page · database.py Run and metric store
Components 10
Tracking client
- Run tracker
explog/client.py
Reproducibility audits
- Git audit
explog/git_utils.py - Environment audit
explog/env_utils.py
Tracking server
- Run API
explog_server/main.py - Run and metric store
explog_server/database.py
Run dashboard
- Dashboard page
explog_server/static/index.html - Dashboard logic
explog_server/static/app.js
Other components
- Experiment code
- Dashboard user
- SQLite database
Connections 11
- Experiment code → Run tracker: starts run
README.md - Run tracker → Git audit: checks Git
explog/client.py - Run tracker → Environment audit: checks environment
explog/client.py - Run tracker → Run API: sends run and metrics
explog/client.py - Run tracker → Run API: reports outcome
explog/client.py - Run API → Run and metric store: reads and writes
explog_server/main.py - Run and metric store → SQLite database: persists data
explog_server/database.py - Dashboard user → Dashboard page: opens dashboard
README.md - Dashboard page → Dashboard logic: loads logic
- Dashboard logic → Run API: fetches and deletes runs
explog_server/static/app.js - Run API → Dashboard page: serves page
explog_server/main.py