[AI Test Toolkit] Export full eval run results (cost, time, dataset)#8442
Draft
onbuyuka wants to merge 1 commit into
Draft
[AI Test Toolkit] Export full eval run results (cost, time, dataset)#8442onbuyuka wants to merge 1 commit into
onbuyuka wants to merge 1 commit into
Conversation
…dataset) Report 149030 "AIT Test Summary" (the "Export Results" / "Download Test Summary" action on the AI Eval log pages) only emitted a subset of the AIT Log Entry data: codeunit/test name, status, accuracy, turns, input, output and error. It omitted the cost and timing data the user needs to analyse a run - tokens consumed, duration, start/end time - as well as the version, tag and dataset identity (test input group/code/description) that are shown on screen. Add those columns to the report dataset so the exported workbook contains the full per-entry results. Because a modern Excel-layout report writes every dataset column into the workbook's Data sheet, the new fields are exported without needing to change the formatted layout. Fixes AB#633442 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0e67942 to
06027af
Compare
Contributor
Author
CI note: the Clean build failure is a known BCApps incremental-build infra issue — not this changeThe Evidence it is infrastructure, not this change:
No code change is appropriate (a |
darjoo
approved these changes
Jun 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The Export Results / Download Test Summary action on the AI Eval log pages (report
149030 "AIT Test Summary") did not export the full run results. It only emitted: codeunit/test name, status, accuracy, turns, input, output, and error. The reporter needs the cost and timing data to analyse a run.Root cause
The export passes the complete filtered
AIT Log Entryview to the report (no row/marked-row limiting) — so the limitation is purely the report's column set. The dataset omitted fields that already exist on the table and are shown on screen:Tokens Consumed,Duration (ms),Start Time,End TimeVersion,Tag,Test Input Group Code,Test Input Code,Test Input Description,Run ID,Entry No.Fix
Add those columns to the
dataitem(Results; "AIT Log Entry")dataset. A modern Excel-layout report writes every dataset column into the workbook's Data sheet, so the new fields are exported in the raw data without changing the formatted.xlsxlayout.Follow-up (optional, not in this PR)
If the formatted/pretty sheet of
AITestSummary.xlsxshould also display the new columns, the layout file can be regenerated from the updated report (Report → Run → Edit layout). The raw Data sheet already carries them.Impact / risk
Additive only — no codeunit/page changes; the export already passed the full filtered view. Field names verified against
AITLogEntry.Table.al.Verification
AIT Log Entry(fields 1, 4, 5, 9, 13, 15, 18, 24, 25, 26, 50).Linked work item: AB#633442
🤖 Generated with Claude Code