[azure-ai-projects] evals.runs.output_items.list returns fewer items than the run holds right after status is completed
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- azure, python
調査の方向性
Start by tracing get_openai_client() and the azure-ai-projects integration for evals.runs.output_items.list, then compare its pagination and response handling with the run's result_counts. The report does not identify whether the delay is in the service or SDK, so first reproduce it by polling until completed and listing immediately and again several seconds later. Done means identifying the cause and ensuring completed runs expose all output items consistently, or documenting the service's expected delay.
索引モデルが issue の本文から書いたものです。
説明
- Package Name: azure-ai-projects (OpenAI-compatible Evals API through
get_openai_client()) - Package Version: 2.9.0 (openai 3.17.0)
- Operating System: Windows 11 and Ubuntu (GitHub-hosted runner)
- Python Version: 3.13
Describe the bug
Right after evals.runs.retrieve(...) reports status == "completed", evals.runs.output_items.list(run_id, eval_id=eval_id) can return fewer items than the run holds. Listing the same run again some time later returns every item and result_counts.total equals the number of submitted rows.
Example from one run of 4 rows (custom evaluation, azure_ai_evaluator testing criteria, jsonl file_content data source):
- First list, immediately after the run became
completed: 3 items. - Later
evals.runs.retrieve(...):statuscompleted,result_countswithtotal=4,passed=3,failed=1. - Later list: 4 items, item ids 0 to 3, all
completed.
This happened at least twice in about a dozen runs of the same 4-row evaluation over three days. In both cases the later listing had all the items. Code that reads the listing once silently drops the missing item and compares fewer results than rows.
I don't know whether the lag is in the service or in the SDK pagination, so please route it if this is not the right tracker.
To Reproduce
Steps to reproduce the behavior:
- Create an evaluation with
openai_client.evals.create(...)using a custom item schema and one or moreazure_ai_evaluatortesting criteria. - Create a run with 4 rows as a
jsonlfile_contentdata source. - Poll
evals.runs.retrieveuntilstatusiscompleted, then callevals.runs.output_items.list(run.id, eval_id=evaluation.id)once. - Compare
len(items)with the number of rows and with a second listing a few seconds later. It is intermittent.
Expected behavior
Once a run is completed, output_items.list returns all its items, or the run documents that the listing is eventually consistent and how long to wait.
Screenshots
Not applicable.
Additional context
- Workaround on our side: list again, up to 6 times 5 seconds apart, while a completed run shows fewer items than submitted rows.
- I can provide more information if needed.
- 主要言語
- Python
- スター
- 5.6k
- フォーク
- 3.4k
- 平均マージ
- 1日 22時間
- マージ済み PR(30日)
- 189
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Azure/azure-sdk-for-python のほかの issue
-
needs-triage
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
Azure/azure-sdk-for-python#50155 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Teams Chatbot]: next-mypy install 404s should point to CFS auth or --pypi workaround対応中かも @jianingwang123 が 17 日前に担当しました。 オープンneeds-triage
難易度 1/5 1〜3時間 初心者へのやさしさ 72/100
Azure/azure-sdk-for-python#49886 · コメント 1 件 · リアクション 2 件 · 担当者 2 名 ·
メンテナーはふだん 1 日以内に返信
-
[AI Projects] AIProjectInstrumentor: non-streamed responses.create raises AttributeError ('NonRecordingSpan' object has no attribute 'attributes') when the span is not sampled対応中かも @14H034160212 が 19 日前に担当しました。 オープンAI Projects Client customer-reported question
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Azure/azure-sdk-for-python#49854 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
azure-eventhub migration guide: legacy checkpoint sample writes "None" metadata for partitions that were never checkpointed対応中かも @hidingmyname が 27 日前に担当しました。 オープンClient customer-reported Event Hubs needs-team-attention question Service Attention
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Azure/azure-sdk-for-python#49723 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Scheduled test pipelines fail at the Analyze_Test stage due to date formatting対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンEngSys
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Azure/azure-sdk-for-python#49614 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
Azure/azure-sdk-for-python の issue をすべて見る
似ている issue
-
🧫10장-투향
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
hyunjimoon/golden-cage-book#188 ·
-
agent/scanner bug stage/010-actionable
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
torch-spyre/spyre-inference#1812 ·
メンテナーはふだん 1 日以内に返信
-
Bug: fenced drafts inside <think> tags break parsing or are returned instead of the answer対応中かも @aad1tyaaaaa が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
google/langextract#639 ·
メンテナーはふだん 1 日以内に返信
-
[oblt-aw][autodoc] Update autodoc routing docs for relative in-repo lock uses対応中かも @github-actions が今日担当しました。 オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 87/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信