Skip to content

Fix pyright type errors #593

Fix pyright type errors

Fix pyright type errors #593

Triggered via pull request August 30, 2025 11:17
Status Success
Total duration 5m 23s
Artifacts 4

ci.yml

on: pull_request
Lint & Type Check
1m 20s
Lint & Type Check
Matrix: test-core
Batch Evaluation Tests
1m 6s
Batch Evaluation Tests
MCP End-to-End Tests
48s
MCP End-to-End Tests
Upload Coverage
5s
Upload Coverage
Fit to window
Zoom out
Zoom in

Annotations

10 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)
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 KB
sha256:21e4950e9bcc120b77cac2da4ad319e73c080fd8d28aedabfd803e079c64ac71
coverage-core-3.10 Expired
41.1 KB
sha256:f3a71fea06552ec7545edf5cbb575313e6aefad5f3a7a1445541cfce7397ea0c
coverage-core-3.11 Expired
41.1 KB
sha256:37948556bf1b23b673e5441ea159edd236534f61d2369b645eb744883a4594ed
coverage-core-3.12 Expired
41.1 KB
sha256:906b8c0291a15c2e37bef431adb54421021c65ccb43bc956bef0bea00ade9232