Standard QC reports (single + parallel) gain a 6th summary-grid card "Tokens / Est. cost" showing aggregated token usage and a Gemini/OpenAI priced estimate. Document-mode and document-diff reports gain a muted footer line in the overall card matching the existing diff-report "Tokens:" line. New helpers in usage_tracker.py: - estimate_cost(prompt, completion, provider) for single-call costs - estimate_cost_for_checks(check_results) aggregating dict/list shapes Cost rates already maintained in COST_PER_1K_TOKENS; no pricing change. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| data | ||
| __init__.py | ||
| accessibility_checks.py | ||
| checks.py | ||
| diff_engine.py | ||
| diff_report_writer.py | ||
| dispatcher.py | ||
| ingest.py | ||
| page_classifier.py | ||
| print_preflight_checks.py | ||
| result_writer.py | ||