Skip to content

Add a pass to outline computations in a function #1826

Add a pass to outline computations in a function

Add a pass to outline computations in a function #1826

Triggered via pull request June 2, 2025 19:40
@majosmmajosm
synchronize #221
outlining
Status Failure
Total duration 2m 46s
Artifacts

ci.yml

on: pull_request
Matrix: downstream_tests
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 13 warnings
Pytest Conda Py3 POCL
Process completed with exit code 1.
Pytest Conda Py3 POCL: test/test/test_utils.py#L58
test_dataclass_array_container NameError: name 'override' is not defined
Pytest Conda Py3 POCL: test/test/test_utils.py#L184
test_stringify_array_container_tree NameError: name 'override' is not defined
Pytest Conda Py3 POCL: test/test/test_utils.py#L128
test_dataclass_container_unions NameError: name 'override' is not defined
Pytest Conda Py3 POCL: test/test/test_utils.py#L42
test_pt_actx_key_stringification_uniqueness NameError: name 'override' is not defined
Pytest Conda Py3 Intel
Process completed with exit code 1.
Pytest Conda Py3 Intel: test/test/test_utils.py#L184
test_stringify_array_container_tree NameError: name 'override' is not defined
Pytest Conda Py3 Intel: test/test/test_utils.py#L58
test_dataclass_array_container NameError: name 'override' is not defined
Pytest Conda Py3 Intel: test/test/test_utils.py#L128
test_dataclass_container_unions NameError: name 'override' is not defined
Pytest Conda Py3 Intel: test/test/test_utils.py#L42
test_pt_actx_key_stringification_uniqueness NameError: name 'override' is not defined
Mypy
Process completed with exit code 1.
Documentation
Process completed with exit code 2.
basedpyright
Process completed with exit code 1.
basedpyright
2 errors
basedpyright: arraycontext/impl/pytato/outline.py#L189
Argument of type "(key: tuple[Any, ...], ary: Array) -> Array" cannot be assigned to parameter "f" of type "(tuple[SerializationKey, ...], ArrayT@rec_keyed_map_array_container) -> ArrayT@rec_keyed_map_array_container" in function "rec_keyed_map_array_container"   Type "(key: tuple[Any, ...], ary: Array) -> Array" is not assignable to type "(tuple[SerializationKey, ...], ArrayT@rec_keyed_map_array_container) -> ArrayT@rec_keyed_map_array_container"     Parameter 2: type "ArrayT@rec_keyed_map_array_container" is incompatible with type "Array"       "Array*" is not assignable to "Array"     Function return type "Array" is incompatible with type "ArrayT@rec_keyed_map_array_container"       Type "pytato.array.Array" is not assignable to type "arraycontext.context.Array"         "Array" is incompatible with protocol "Array"           "shape" is an incompatible type           "size" is an incompatible type ... (reportArgumentType)
basedpyright: arraycontext/impl/pytato/outline.py#L140
Argument of type "(keys: tuple[Any, ...], ary: Array) -> Array" cannot be assigned to parameter "f" of type "(tuple[SerializationKey, ...], ArrayT@rec_keyed_map_array_container) -> ArrayT@rec_keyed_map_array_container" in function "rec_keyed_map_array_container"   Type "(keys: tuple[Any, ...], ary: Array) -> Array" is not assignable to type "(tuple[SerializationKey, ...], ArrayT@rec_keyed_map_array_container) -> ArrayT@rec_keyed_map_array_container"     Parameter 2: type "ArrayT@rec_keyed_map_array_container" is incompatible with type "Array"       "Array*" is not assignable to "Array"     Function return type "Array" is incompatible with type "ArrayT@rec_keyed_map_array_container"       Type "pytato.array.Array" is not assignable to type "arraycontext.context.Array"         "Array" is incompatible with protocol "Array"           "shape" is an incompatible type           "size" is an incompatible type ... (reportArgumentType)
Tests for downstream project meshmode
Process completed with exit code 1.
Tests for downstream project grudge
Process completed with exit code 1.
Tests for downstream project mirgecom_examples
No point in testing mirgecom at the moment, see https://github.com/illinois-ceesd/mirgecom/pull/898. Test not performed.
Tests for downstream project mirgecom
No point in testing mirgecom at the moment, see https://github.com/illinois-ceesd/mirgecom/pull/898. Test not performed.
Ruff
The `python-version` input is not set. The version of Python currently in `PATH` will be used.
basedpyright: arraycontext/impl/pytato/outline.py#L59
Type of "arg" is Any (reportAny)
basedpyright: arraycontext/impl/pytato/outline.py#L45
"_BasePytatoArrayContext" is private and used outside of the module in which it is declared (reportPrivateUsage)
basedpyright: arraycontext/impl/pytato/compile.py#L308
"_ary_container_key_stringifier" is private and used outside of the module in which it is declared (reportPrivateUsage)
basedpyright: arraycontext/impl/pytato/compile.py#L173
"_verify_is_dag" is private and used outside of the module in which it is declared (reportPrivateUsage)
basedpyright: arraycontext/impl/pytato/__init__.py#L900
"_ary_container_key_stringifier" is private and used outside of the module in which it is declared (reportPrivateUsage)
basedpyright: arraycontext/impl/pytato/__init__.py#L757
"_verify_is_dag" is private and used outside of the module in which it is declared (reportPrivateUsage)
basedpyright: arraycontext/impl/pytato/__init__.py#L588
"_verify_is_dag" is private and used outside of the module in which it is declared (reportPrivateUsage)
basedpyright: arraycontext/impl/pytato/__init__.py#L524
"_ary_container_key_stringifier" is private and used outside of the module in which it is declared (reportPrivateUsage)
basedpyright: arraycontext/impl/pytato/__init__.py#L240
Function calls and mutable objects not allowed within parameter default value expression (reportCallInDefaultInitializer)
basedpyright: arraycontext/context.py#L584
"id" is not accessed (reportUnusedParameter)