Do not simplify in overloaded operators, type mappers #710
Annotations
45 errors and 1 warning
Ruff
Process completed with exit code 1.
|
Pytest on Py3.9:
test/test/test/test_matchpy.py#L104
test_make_subexpr_subst
AssertionError: assert Product((Call(Variable('subst'), (Variable('i'), Variable('j'))), Power(Subscript(Variable('a'), (Variable('k'),)), 1), Power(Subscript(Variable('d'), (Variable('k'),)), 1), 1)) == Product((Call(Variable('subst'), (Variable('i'), Variable('j'))), Subscript(Variable('a'), (Variable('k'),)), Subscript(Variable('d'), (Variable('k'),))))
+ where Product((Call(Variable('subst'), (Variable('i'), Variable('j'))), Subscript(Variable('a'), (Variable('k'),)), Subscript(Variable('d'), (Variable('k'),)))) = <function flatten at 0x7fbc00395c10>(Product((Call(Variable('subst'), (Variable('i'), Variable('j'))), Product((Subscript(Variable('a'), (Variable('k'),)), Subscript(Variable('d'), (Variable('k'),)))))))
+ where Product((Call(Variable('subst'), (Variable('i'), Variable('j'))), Product((Subscript(Variable('a'), (Variable('k'),)), Subscript(Variable('d'), (Variable('k'),)))))) = <pymbolic.parser.Parser object at 0x7fbc036aa8b0>('subst(i, j)*a[(k,)]*d[(k,)]')
|
Pytest on Py3.9:
test/test/test/test_pymbolic.py#L778
test_differentiator_flags_for_nonsmooth_and_discontinuous
AssertionError: assert Product((Call(Lookup(Variable('math'), 'copysign'), (1, Variable('x'))), 1)) == Call(Lookup(Variable('math'), 'copysign'), (1, Variable('x')))
+ where Call(Lookup(Variable('math'), 'copysign'), (1, Variable('x'))) = <function sign at 0x7fb4cdce2c10>(Variable('x'))
+ where <function sign at 0x7fb4cdce2c10> = <module 'pymbolic.functions' from '/home/runner/work/pymbolic/pymbolic/pymbolic/functions.py'>.sign
|
Pytest on Py3.9:
test/test/test/test_pymbolic.py#L832
test_coefficient_collector
AssertionError: assert {Variable('x'...able('z'), 2)} == {Variable('x'...able('z'), 2)}
Omitting 1 identical items, use -vv to show
Differing items:
{Variable('x'): Product((1, Quotient(1, 2)))} != {Variable('x'): Quotient(1, 2)}
Full diff:
{
1: Power(Variable('z'), 2),
- Variable('x'): Quotient(1, 2),
+ Variable('x'): Product((1, Quotient(1, 2))),
? ++++++++++++ ++
}
|
Pytest on Py3.9:
test/test/pymbolic/mapper/differentiator.py#L78
[doctest] pymbolic.mapper.differentiator.DifferentiationMapper
|
Pytest on Py3.9
Process completed with exit code 1.
|
Pytest on Py3.x
The job was canceled because "_3_9" failed.
|
Pytest on Py3.x:
test/test/test/test_matchpy.py#L104
test_make_subexpr_subst
AssertionError: assert Product((Call(Variable('subst'), (Variable('i'), Variable('j'))), Power(Subscript(Variable('a'), (Variable('k'),)), 1), Power(Subscript(Variable('d'), (Variable('k'),)), 1), 1)) == Product((Call(Variable('subst'), (Variable('i'), Variable('j'))), Subscript(Variable('a'), (Variable('k'),)), Subscript(Variable('d'), (Variable('k'),))))
+ where Product((Call(Variable('subst'), (Variable('i'), Variable('j'))), Subscript(Variable('a'), (Variable('k'),)), Subscript(Variable('d'), (Variable('k'),)))) = <function flatten at 0x7f3f8ff90b80>(Product((Call(Variable('subst'), (Variable('i'), Variable('j'))), Product((Subscript(Variable('a'), (Variable('k'),)), Subscript(Variable('d'), (Variable('k'),)))))))
+ where Product((Call(Variable('subst'), (Variable('i'), Variable('j'))), Product((Subscript(Variable('a'), (Variable('k'),)), Subscript(Variable('d'), (Variable('k'),)))))) = <pymbolic.parser.Parser object at 0x7f3f962b3c80>('subst(i, j)*a[(k,)]*d[(k,)]')
|
Pytest on Py3.x:
test/test/test/test_pymbolic.py#L832
test_coefficient_collector
AssertionError: assert {Variable('x'...able('z'), 2)} == {Variable('x'...able('z'), 2)}
Omitting 1 identical items, use -vv to show
Differing items:
{Variable('x'): Product((1, Quotient(1, 2)))} != {Variable('x'): Quotient(1, 2)}
Full diff:
{
1: Power(Variable('z'), 2),
- Variable('x'): Quotient(1, 2),
+ Variable('x'): Product((1, Quotient(1, 2))),
? ++++++++++++ ++
}
|
Pytest on Py3.x:
test/test/test/test_pymbolic.py#L778
test_differentiator_flags_for_nonsmooth_and_discontinuous
AssertionError: assert Product((Call(Lookup(Variable('math'), 'copysign'), (1, Variable('x'))), 1)) == Call(Lookup(Variable('math'), 'copysign'), (1, Variable('x')))
+ where Call(Lookup(Variable('math'), 'copysign'), (1, Variable('x'))) = <function sign at 0x7fc20c7b8ea0>(Variable('x'))
+ where <function sign at 0x7fc20c7b8ea0> = <module 'pymbolic.functions' from '/home/runner/work/pymbolic/pymbolic/pymbolic/functions.py'>.sign
|
Pytest on Py3.x:
test/test/pymbolic/mapper/differentiator.py#L78
[doctest] pymbolic.mapper.differentiator.DifferentiationMapper
|
Pytest on Py3.x
The operation was canceled.
|
Pytest on Py3.8
The job was canceled because "_3_9" failed.
|
Pytest on Py3.8:
test/test/test/test_matchpy.py#L104
test_make_subexpr_subst
AssertionError: assert Product((Call(Variable('subst'), (Variable('i'), Variable('j'))), Power(Subscript(Variable('a'), (Variable('k'),)), 1), Power(Subscript(Variable('d'), (Variable('k'),)), 1), 1)) == Product((Call(Variable('subst'), (Variable('i'), Variable('j'))), Subscript(Variable('a'), (Variable('k'),)), Subscript(Variable('d'), (Variable('k'),))))
+ where Product((Call(Variable('subst'), (Variable('i'), Variable('j'))), Subscript(Variable('a'), (Variable('k'),)), Subscript(Variable('d'), (Variable('k'),)))) = <function flatten at 0x7fe2878bd940>(Product((Call(Variable('subst'), (Variable('i'), Variable('j'))), Product((Subscript(Variable('a'), (Variable('k'),)), Subscript(Variable('d'), (Variable('k'),)))))))
+ where Product((Call(Variable('subst'), (Variable('i'), Variable('j'))), Product((Subscript(Variable('a'), (Variable('k'),)), Subscript(Variable('d'), (Variable('k'),)))))) = <pymbolic.parser.Parser object at 0x7fe28c91fb20>('subst(i, j)*a[(k,)]*d[(k,)]')
|
Pytest on Py3.8:
test/test/test/test_pymbolic.py#L778
test_differentiator_flags_for_nonsmooth_and_discontinuous
AssertionError: assert Product((Call(Lookup(Variable('math'), 'copysign'), (1, Variable('x'))), 1)) == Call(Lookup(Variable('math'), 'copysign'), (1, Variable('x')))
+ where Call(Lookup(Variable('math'), 'copysign'), (1, Variable('x'))) = <function sign at 0x7fe2850a8a60>(Variable('x'))
+ where <function sign at 0x7fe2850a8a60> = <module 'pymbolic.functions' from '/home/runner/work/pymbolic/pymbolic/pymbolic/functions.py'>.sign
|
Pytest on Py3.8:
test/test/test/test_pymbolic.py#L832
test_coefficient_collector
AssertionError: assert {Variable('x'...able('z'), 2)} == {Variable('x'...able('z'), 2)}
Omitting 1 identical items, use -vv to show
Differing items:
{Variable('x'): Product((1, Quotient(1, 2)))} != {Variable('x'): Quotient(1, 2)}
Full diff:
{
1: Power(Variable('z'), 2),
- Variable('x'): Quotient(1, 2),
+ Variable('x'): Product((1, Quotient(1, 2))),
? ++++++++++++ ++
}
|
Pytest on Py3.8:
test/test/pymbolic/mapper/differentiator.py#L78
[doctest] pymbolic.mapper.differentiator.DifferentiationMapper
|
Pytest on Py3.8
The operation was canceled.
|
Tests for downstream project pytential:
pytential/test/test/test/test_layer_pot_eigenvalues.py#L114
test_ellipse_eigenvalues[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-1-7-5-False]
TypeError: unsupported operand type(s) for *: 'int' and 'NoneType'
|
Tests for downstream project pytential:
pytential/test/test/test/test_beltrami.py#L208
test_beltrami_convergence[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-operator0-solution0]
TypeError: unsupported operand type(s) for *: 'int' and 'NoneType'
|
Tests for downstream project pytential:
pytential/test/test/test/test_cost_model.py#L713
test_cost_model_correctness[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-2-True-False]
TypeError: unsupported operand type(s) for *: 'int' and 'NoneType'
|
Tests for downstream project pytential:
pytential/test/test/test/test_layer_pot.py#L73
test_geometry[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>]
TypeError: unsupported operand type(s) for *: 'int' and 'NoneType'
|
Tests for downstream project pytential:
pytential/test/test/test/test_layer_pot_eigenvalues.py#L114
test_ellipse_eigenvalues[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-2-7-5-False]
TypeError: unsupported operand type(s) for *: 'int' and 'NoneType'
|
Tests for downstream project pytential:
pytential/test/test/test/test_beltrami.py#L208
test_beltrami_convergence[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-operator1-solution1]
TypeError: unsupported operand type(s) for *: 'int' and 'NoneType'
|
Tests for downstream project pytential:
pytential/test/test/test/test_cost_model.py#L713
test_cost_model_correctness[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-3-False-False]
TypeError: unsupported operand type(s) for *: 'int' and 'NoneType'
|
Tests for downstream project pytential:
pytential/test/test/test/test_layer_pot.py#L121
test_off_surface_eval[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-True]
TypeError: unsupported operand type(s) for *: 'int' and 'NoneType'
|
Tests for downstream project pytential:
pytential/test/test/test/test_beltrami.py#L208
test_beltrami_convergence[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-operator2-solution2]
TypeError: unsupported operand type(s) for *: 'int' and 'NoneType'
|
Tests for downstream project pytential:
pytential/test/test/test/test_layer_pot_eigenvalues.py#L114
test_ellipse_eigenvalues[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-2-7-5-True]
TypeError: unsupported operand type(s) for *: 'int' and 'NoneType'
|
Tests for downstream project loopy:
loopy/test/test/test/test_apps.py#L119
test_convolution[<context factory for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>]
pymbolic.mapper.UnsupportedExpressionError: <class 'loopy.symbolic.CoefficientCollector'> cannot handle expressions of type <class 'pymbolic.primitives.FloorDiv'>
|
Tests for downstream project loopy:
loopy/test/test/test/test_callables.py#L1258
test_call_kernel_w_preds[<context factory for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-False]
pymbolic.mapper.UnsupportedExpressionError: <class 'loopy.symbolic.SweptInameStrideCollector'> cannot handle expressions of type <class 'pymbolic.primitives.FloorDiv'>
|
Tests for downstream project loopy:
loopy/test/test/test/test_callables.py#L406
test_array_inputs_to_callee_kernels[<context factory for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-False]
pymbolic.mapper.UnsupportedExpressionError: <class 'loopy.symbolic.SweptInameStrideCollector'> cannot handle expressions of type <class 'pymbolic.primitives.FloorDiv'>
|
Tests for downstream project loopy:
loopy/test/test/test/test_callables.py#L404
test_array_inputs_to_callee_kernels[<context factory for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-True]
pymbolic.mapper.UnsupportedExpressionError: <class 'loopy.symbolic.SweptInameStrideCollector'> cannot handle expressions of type <class 'pymbolic.primitives.FloorDiv'>
|
Tests for downstream project loopy:
loopy/test/test/test/test_callables.py#L442
test_stride_depending_on_args[<context factory for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>]
pymbolic.mapper.UnsupportedExpressionError: <class 'loopy.symbolic.SweptInameStrideCollector'> cannot handle expressions of type <class 'pymbolic.primitives.FloorDiv'>
|
Tests for downstream project loopy:
loopy/test/test/test/test_callables.py#L466
test_unknown_stride_to_callee[<context factory for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>]
pymbolic.mapper.UnsupportedExpressionError: <class 'loopy.symbolic.SweptInameStrideCollector'> cannot handle expressions of type <class 'pymbolic.primitives.FloorDiv'>
|
Tests for downstream project loopy:
loopy/test/test/test/test_callables.py#L487
test_argument_matching_for_inplace_update[<context factory for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>]
pymbolic.mapper.UnsupportedExpressionError: <class 'loopy.symbolic.SweptInameStrideCollector'> cannot handle expressions of type <class 'pymbolic.primitives.FloorDiv'>
|
Tests for downstream project loopy:
loopy/test/test/test/test_callables.py#L510
test_non_zero_start_in_subarray_ref[<context factory for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>]
pymbolic.mapper.UnsupportedExpressionError: <class 'loopy.symbolic.SweptInameStrideCollector'> cannot handle expressions of type <class 'pymbolic.primitives.FloorDiv'>
|
Tests for downstream project loopy:
loopy/test/test/test/test_callables.py#L537
test_incomplete_entrypoint_raises_type_inf_failure
pymbolic.mapper.UnsupportedExpressionError: <class 'loopy.symbolic.SweptInameStrideCollector'> cannot handle expressions of type <class 'pymbolic.primitives.FloorDiv'>
|
Tests for downstream project loopy:
loopy/test/test/test/test_callables.py#L561
test_callees_with_gbarriers_are_inlined[<context factory for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>]
pymbolic.mapper.UnsupportedExpressionError: <class 'loopy.symbolic.SweptInameStrideCollector'> cannot handle expressions of type <class 'pymbolic.primitives.FloorDiv'>
|
Tests for downstream project pytato:
pytato/test/test/test/test_codegen.py#L737
test_call_loopy[<context factory for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>]
pymbolic.mapper.UnsupportedExpressionError: <class 'loopy.symbolic.SweptInameStrideCollector'> cannot handle expressions of type <class 'pymbolic.primitives.FloorDiv'>
|
Tests for downstream project pytato:
pytato/test/test/test/test_codegen.py#L766
test_call_loopy_with_same_callee_names[<context factory for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>]
pymbolic.mapper.UnsupportedExpressionError: <class 'loopy.symbolic.SweptInameStrideCollector'> cannot handle expressions of type <class 'pymbolic.primitives.FloorDiv'>
|
Tests for downstream project pytato:
pytato/test/test/test/test_codegen.py#L805
test_call_loopy_with_parametric_sizes[<context factory for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>]
AssertionError
|
Tests for downstream project pytato:
pytato/test/test/test/test_codegen.py#L1016
test_call_loopy_shape_inference2[<context factory for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>]
AssertionError
|
Tests for downstream project pytato:
pytato/test/test/test/test_codegen.py#L979
test_call_loopy_shape_inference1[<context factory for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>]
AssertionError
|
Tests for downstream project pytato:
pytato/test/test/test/test_pytato.py#L266
test_call_loopy_shape_inference
AssertionError
|
Tests for downstream project pytato
Process completed with exit code 1.
|
Ruff
The `python-version` input is not set. The version of Python currently in `PATH` will be used.
|