Skip to content

Fix pyright type errors #598

Fix pyright type errors

Fix pyright type errors #598

Triggered via pull request August 30, 2025 13:38
Status Failure
Total duration 5m 21s
Artifacts 1

ci.yml

on: pull_request
Lint & Type Check
1m 21s
Lint & Type Check
Matrix: test-core
Batch Evaluation Tests
1m 7s
Batch Evaluation Tests
MCP End-to-End Tests
47s
MCP End-to-End Tests
Upload Coverage
0s
Upload Coverage
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 4 warnings
Lint & Type Check: eval_protocol/adapters/huggingface.py#L141
"load_dataset" is possibly unbound (reportPossiblyUnboundVariable)
Lint & Type Check: eval_protocol/adapters/huggingface.py#L141
Type "DatasetDict | Dataset | IterableDatasetDict | IterableDataset" is not assignable to return type "Dataset | DatasetDict"   Type "DatasetDict | Dataset | IterableDatasetDict | IterableDataset" is not assignable to type "Dataset | DatasetDict"     Type "IterableDataset" is not assignable to type "Dataset | DatasetDict"       "IterableDataset" is not assignable to "Dataset"       "IterableDataset" is not assignable to "DatasetDict" (reportReturnType)
Lint & Type Check: eval_protocol/adapters/bigquery.py#L184
"Forbidden" is possibly unbound (reportPossiblyUnboundVariable)
Lint & Type Check: eval_protocol/adapters/bigquery.py#L184
"NotFound" is possibly unbound (reportPossiblyUnboundVariable)
Lint & Type Check: eval_protocol/adapters/bigquery.py#L142
"bigquery" is possibly unbound (reportPossiblyUnboundVariable)
Lint & Type Check: eval_protocol/adapters/bigquery.py#L103
"DefaultCredentialsError" is possibly unbound (reportPossiblyUnboundVariable)
Lint & Type Check: eval_protocol/adapters/bigquery.py#L101
"bigquery" is possibly unbound (reportPossiblyUnboundVariable)
Lint & Type Check: eval_protocol/adapters/bigquery.py#L95
"service_account" is possibly unbound (reportPossiblyUnboundVariable)
Lint & Type Check: eval_protocol/_version.py#L124
Cannot access attribute "decode" for class "str"   Attribute "decode" is unknown (reportAttributeAccessIssue)
Lint & Type Check: eval_protocol/_version.py#L117
"dispcmd" is possibly unbound (reportPossiblyUnboundVariable)
Core Tests (Python 3.10)
Process completed with exit code 1.
Core Tests (Python 3.11)
Process completed with exit code 1.
Core Tests (Python 3.12)
Process completed with exit code 1.
Lint & Type Check: examples/aime2025_chat_completion/__init__.py#L1
"main" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)
Lint & Type Check: eval_protocol/mcp/__init__.py#L49
Operation on "__all__" is not supported, so exported symbol list may be incorrect (reportUnsupportedDunderAll)
Lint & Type Check: eval_protocol/mcp/__init__.py#L49
Operation on "__all__" is not supported, so exported symbol list may be incorrect (reportUnsupportedDunderAll)
MCP End-to-End Tests
No files were found with the provided path: coverage.xml. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size Digest
coverage-batch-eval Expired
34.1 KB
sha256:98a0eecdb10461a8c31c86165824028ce800d569431dae216946131502f58b0f