[azure-ai-projects] evals.runs.output_items.list returns fewer items than the run holds right after status is completed
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 48/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- azure, python
- Domaine
- backend-api-design
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
- 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.
- Langage dominant
- Python
- Étoiles
- 5.6k
- Forks
- 3.4k
- Merge moyen
- 1 j 22 h
- PR mergées (30 j)
- 189
Préparer son environnement
Lance le conteneur de développement du projet dans votre navigateur, avec votre propre compte GitHub.
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de Azure/azure-sdk-for-python
-
needs-triage
Difficulté 1/5 Moins d'une heure Accessibilité débutants 85/100
Azure/azure-sdk-for-python#50155 · 1 réaction ·
Les mainteneurs répondent en général sous 1 jour
-
[Teams Chatbot]: next-mypy install 404s should point to CFS auth or --pypi workaroundPeut-être pris @jianingwang123 l’a pris il y a 17 jours. Ouverteneeds-triage
Difficulté 1/5 1-3 heures Accessibilité débutants 72/100
Azure/azure-sdk-for-python#49886 · 1 commentaire · 2 réactions · 2 personnes assignées ·
Les mainteneurs répondent en général sous 1 jour
-
[AI Projects] AIProjectInstrumentor: non-streamed responses.create raises AttributeError ('NonRecordingSpan' object has no attribute 'attributes') when the span is not sampledPeut-être pris @14H034160212 l’a pris il y a 19 jours. OuverteAI Projects Client customer-reported question
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Azure/azure-sdk-for-python#49854 · 2 commentaires · 1 réaction ·
Les mainteneurs répondent en général sous 1 jour
-
azure-eventhub migration guide: legacy checkpoint sample writes "None" metadata for partitions that were never checkpointedPeut-être pris @hidingmyname l’a pris il y a 27 jours. OuverteClient customer-reported Event Hubs needs-team-attention question Service Attention
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Azure/azure-sdk-for-python#49723 · 2 commentaires · 1 réaction ·
Les mainteneurs répondent en général sous 1 jour
-
Scheduled test pipelines fail at the Analyze_Test stage due to date formattingPeut-être pris Une pull request liée à cette issue est ouverte ou déjà fusionnée. OuverteEngSys
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Azure/azure-sdk-for-python#49614 · 1 commentaire · 1 réaction ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de Azure/azure-sdk-for-python
Issues similaires
-
🧫10장-투향
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
hyunjimoon/golden-cage-book#188 ·
-
agent/scanner bug stage/010-actionable
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
torch-spyre/spyre-inference#1812 ·
Les mainteneurs répondent en général sous 1 jour
-
Bug: fenced drafts inside <think> tags break parsing or are returned instead of the answerPeut-être pris @aad1tyaaaaa l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
google/langextract#639 ·
Les mainteneurs répondent en général sous 1 jour
-
[oblt-aw][autodoc] Update autodoc routing docs for relative in-repo lock usesPeut-être pris @github-actions l’a pris aujourd’hui. Ouverte
Difficulté 1/5 1-3 heures Accessibilité débutants 87/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
Les mainteneurs répondent en général sous 1 jour