Skip to content

Fix backtest Credit activity precision - #411

Merged
MrParamecium merged 10 commits into
mainfrom
fix/backtest-credit-activity
Aug 28, 2026
Merged

Fix backtest Credit activity precision#411
MrParamecium merged 10 commits into
mainfrom
fix/backtest-credit-activity

Conversation

@MrParamecium

Copy link
Copy Markdown
Collaborator

Summary

  • display ATL Credit values with exact fixed six-decimal precision across Credits, Admin Credits, and Admin Analytics
  • aggregate settled model-call debits into one Activity row per user and backtest run before pagination
  • expose only safe run-level provider/model context while keeping SQLite and PostgreSQL behavior aligned

Tests

  • focused Credits repository, API, frontend, and parity suite: 195 passed, 21 skipped (live PostgreSQL not configured locally)
  • full dashboard backend suite: 3745 passed, 147 skipped, with one pre-existing marketplace-card failure reproduced unchanged on origin/main
  • desktop and 390px browser verification with a temporary SQLite database and synthetic account/run data
  • git diff --check origin/main...HEAD and secret/path audit

@vercel

vercel Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agentic-trading-lab Ready Ready Preview Aug 28, 2026 4:21pm

# Conflicts:
#	dashboard/backend/tests/test_frontend_fast_boot.py
#	dashboard/frontend/app.html
#	dashboard/frontend/js/credits.js
@MrParamecium
MrParamecium merged commit 8abc083 into main Aug 28, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant