Skip to content

Add the rule-proposal ledger and proposals to the results - #84

Merged
Viraj5503 merged 1 commit into
mainfrom
aryan-results-ai-usage
Nov 29, 2026
Merged

Viraj5503 merged 1 commit into
mainfrom
aryan-results-ai-usage

Conversation

@WiseyXD

@WiseyXD WiseyXD commented Nov 29, 2026

Copy link
Copy Markdown
Collaborator

The README and results/README.md said no record of AI job A (decisions propose) was committed, so the calls, tokens and cost behind rules/<id>.yaml could not be stated. The record exists in the run that proposed the rules (#69), and this PR adds it.

What this adds, per repository in results/<id>/

  • usage_job_a.json: that run's job A ledger entries, unchanged, in the usage format (codexray.usage/1). Each entry has the model, tokens and cost of one call the gateway answered.
  • proposals.yaml: what job A proposed, before review.
  • proposals.json: every decision source read, its outcome, and the dry run of each checkable proposal.

results/README.md gets a section that says where these come from:

The README's AI usage note now points to these files instead of saying the numbers cannot be stated.

Repository Job A calls Tokens in Tokens out Cost (USD)
Artemis 59 209,253 15,304 1.14
Shopware 393 835,329 73,644 4.81
Graylog 6 39,242 1,454 0.19
All three 458 1,083,824 90,402 6.14

Left out, on purpose

On Artemis the same run folder's ledger also holds 93 job B and 73 job C calls (2.34 USD). They come from the test of judge in #67, and that text is not what results/ shows; the published usage.json holds the calls behind the shown text. Adding them would count two different judge runs as one, so they stay out. The numbers are given here and in results/README.md so nothing is hidden.

What I checked

  • Every entry has its stored answer in that run's judgements/cache/ (458 of 458).
  • The totals match the ones measured in Add AI job A to propose rules from decision sources #69.
  • None of the added files contains the gateway key or an absolute path.
  • No AI call was made for this PR.
  • make check passes.

@Viraj5503
Viraj5503 merged commit 6c3cacd into main Nov 29, 2026
2 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.

2 participants