Skip to content

Fix at least ten type errors (#150) #637

Fix at least ten type errors (#150)

Fix at least ten type errors (#150) #637

Triggered via push September 1, 2025 22:52
Status Success
Total duration 5m 21s
Artifacts 4

ci.yml

on: push
Lint & Type Check
1m 5s
Lint & Type Check
Matrix: test-core
Batch Evaluation Tests
1m 12s
Batch Evaluation Tests
MCP End-to-End Tests
43s
MCP End-to-End Tests
Upload Coverage
5s
Upload Coverage
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
Lint & Type Check: eval_protocol/mcp_env.py#L355
"__getitem__" method not defined on type "CoroutineType[Any, Any, List[EvaluationRow]]" (reportIndexIssue)
Lint & Type Check: eval_protocol/mcp_env.py#L354
"__getitem__" method not defined on type "CoroutineType[Any, Any, List[EvaluationRow]]" (reportIndexIssue)
Lint & Type Check: eval_protocol/mcp_env.py#L348
"__getitem__" method not defined on type "CoroutineType[Any, Any, List[EvaluationRow]]" (reportIndexIssue)
Lint & Type Check: eval_protocol/mcp/simulation_server.py#L349
Argument of type "(level: str) -> CoroutineType[Any, Any, dict[Unknown, Unknown]]" cannot be assigned to parameter "func" of type "(LoggingLevel) -> Awaitable[None]" in function "decorator"   Type "(level: str) -> CoroutineType[Any, Any, dict[Unknown, Unknown]]" is not assignable to type "(LoggingLevel) -> Awaitable[None]"     Function return type "CoroutineType[Any, Any, dict[Unknown, Unknown]]" is incompatible with type "Awaitable[None]"       "CoroutineType[Any, Any, dict[Unknown, Unknown]]" is not assignable to "Awaitable[None]"         Type parameter "_T_co@Awaitable" is covariant, but "dict[Unknown, Unknown]" is not a subtype of "None"           "dict[Unknown, Unknown]" is not assignable to "None" (reportArgumentType)
Lint & Type Check: eval_protocol/mcp/simulation_server.py#L335
Argument of type "Any | str" cannot be assigned to parameter "uri" of type "AnyUrl" in function "__init__"   Type "Any | str" is not assignable to type "AnyUrl"     "str" is not assignable to "AnyUrl" (reportArgumentType)
Lint & Type Check: eval_protocol/execution/pipeline.py#L852
Type "list[Unknown | BaseException]" is not assignable to declared type "List[Exception | Dict[str, Any] | List[Dict[str, Any]]]"   "list[Unknown | BaseException]" is not assignable to "List[Exception | Dict[str, Any] | List[Dict[str, Any]]]"     Type parameter "_T@list" is invariant, but "Unknown | BaseException" is not the same as "Exception | Dict[str, Any] | List[Dict[str, Any]]"     Consider switching from "list" to "Sequence" which is covariant (reportAssignmentType)
Lint & Type Check: eval_protocol/benchmarks/test_tau_bench_retail.py#L175
Argument of type "str | None" cannot be assigned to parameter "id" of type "str" in function "__init__"   Type "str | None" is not assignable to type "str"     "None" is not assignable to "str" (reportArgumentType)
Lint & Type Check: eval_protocol/benchmarks/test_tau_bench_airline.py#L185
Argument of type "str | None" cannot be assigned to parameter "id" of type "str" in function "__init__"   Type "str | None" is not assignable to type "str"     "None" is not assignable to "str" (reportArgumentType)
Lint & Type Check: eval_protocol/adapters/langfuse.py#L16
"Langfuse" is not exported from module "langfuse"   Import from "langfuse._client.client" instead (reportPrivateImportUsage)
Lint & Type Check: eval_protocol/adapters/bigquery.py#L197
Except clause is unreachable because exception is already handled   "Exception" is a subclass of "Exception" (reportUnusedExcept)
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
33.7 KB
sha256:61517028f50cd168e74b245509bebf9a6b963bd38863295764bc86f112e5446e
coverage-core-3.10 Expired
41.1 KB
sha256:df9117533e33e00a2ef90638b66a8432d227defa6d177fc595e9723c596d4718
coverage-core-3.11 Expired
41.1 KB
sha256:b80e44616045330b1b02fa9d5b904d1934347ffe1acb0e59497f108ebb36a0af
coverage-core-3.12 Expired
41.1 KB
sha256:37a93015f8b51019298f2fd4d83dac7b01cceb5eb18fa7ffc19fd4a24c2c0d0b