Skip to content

fix: polish azd eval output - dataset path, Rows section, Foundry link, terser logs#297

Merged
placerda merged 1 commit into
developfrom
feature/azd-report-polish
Jun 10, 2026
Merged

fix: polish azd eval output - dataset path, Rows section, Foundry link, terser logs#297
placerda merged 1 commit into
developfrom
feature/azd-report-polish

Conversation

@placerda

Copy link
Copy Markdown
Contributor

Four user-visible papercuts in execution: azd runs:

  1. report.md showed Dataset: with an empty value. eval.yaml parser only recognized dataset_reference but azd ai agent eval init emits dataset_file. EvalRecipe now accepts dataset_file and _recipe_dataset_path prefers it.

  2. report.md always shipped a header-only ## Rows table (azd does not expose per-row metrics through agentops eval run). The reporter now omits the row sections when rows is empty and emits a ## Per-row breakdown callout linking to the Foundry run.

  3. CLI did not surface the Foundry run URL. normalize_to_results captures report_url from the azd payload; CLI prints a Foundry run: line next to results.json / report.md / latest/.

  4. The Running azd backend log line repeated the full command with absolute Windows paths. Replaced with the short Running azd backend: azd ai agent eval run (full command stays in the failure debug logs added in 0.3.18). The delegating to azd ai agent eval startup line also uses a workspace-relative recipe path.

921 unit tests pass.

…k, terser logs

Four user-visible issues with `execution: azd` runs:

1. `report.md` shipped an empty `Dataset:` line because the eval.yaml parser only recognized `dataset_reference:` and `azd ai agent eval init` actually emits `dataset_file:`. EvalRecipe now accepts `dataset_file:` and `_recipe_dataset_path` prefers it.
2. `report.md` shipped a header-only `## Rows` table on every azd run (azd does not expose per-row metrics through `agentops eval run`). The reporter now omits the row sections when `result.rows` is empty and instead emits a `## Per-row breakdown` callout linking to the Foundry run.
3. The CLI did not surface the Foundry run URL. `azd_runner.normalize_to_results` now captures `report_url` from the azd payload and the CLI prints a `Foundry run:` line next to the results paths.
4. `Running azd backend: azd --no-prompt ai agent eval run --config <long absolute path> --output json` was unreadable; replaced with `Running azd backend: azd ai agent eval run` (full command stays in the failure debug logs added in 0.3.18). The `delegating to azd ai agent eval` startup line also uses a workspace-relative recipe path.

921 unit tests pass.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@placerda placerda merged commit 63180c2 into develop Jun 10, 2026
12 checks passed
@placerda placerda deleted the feature/azd-report-polish branch June 10, 2026 17:35
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