refactor(autojac): Factorize jacobian dict creation #303
checks.yml
on: pull_request
Build documentation
1m 1s
Link correctness
5s
Code quality (ty and ruff)
41s
Matrix: tests
Annotations
6 errors and 1 notice
|
Code quality (ty and ruff)
Process completed with exit code 1.
|
|
ty (invalid-argument-type):
tests/unit/autojac/test_jac_to_grad.py#L221
tests/unit/autojac/test_jac_to_grad.py:221:30: invalid-argument-type: Argument to bound method `append` is incorrect: Expected `tuple[AlignedMTL, bool] | tuple[DualProj, bool] | tuple[IMTLG, bool] | ... omitted 11 union elements`, found `tuple[NashMTL, Literal[False]]`
stdlib/builtins.pyi:2843:9: info: Method defined here
stdlib/builtins.pyi:2843:22: Parameter declared here
info: rule `invalid-argument-type` is enabled by default
|
|
ty (invalid-argument-type):
tests/unit/autojac/test_jac_to_grad.py#L214
tests/unit/autojac/test_jac_to_grad.py:214:30: invalid-argument-type: Argument to bound method `append` is incorrect: Expected `tuple[AlignedMTL, bool] | tuple[DualProj, bool] | tuple[IMTLG, bool] | ... omitted 11 union elements`, found `tuple[CAGrad, Literal[True]]`
stdlib/builtins.pyi:2843:9: info: Method defined here
stdlib/builtins.pyi:2843:22: Parameter declared here
info: rule `invalid-argument-type` is enabled by default
|
|
ty (invalid-argument-type):
tests/unit/aggregation/test_values.py#L100
tests/unit/aggregation/test_values.py:100:9: invalid-argument-type: Argument to bound method `append` is incorrect: Expected `tuple[AlignedMTL, Tensor, Tensor] | tuple[ConFIG, Tensor, Tensor] | tuple[Constant, Tensor, Tensor] | ... omitted 11 union elements`, found `ParameterSet`
stdlib/builtins.pyi:2843:9: info: Method defined here
stdlib/builtins.pyi:2843:22: Parameter declared here
info: rule `invalid-argument-type` is enabled by default
|
|
ty (invalid-argument-type):
tests/unit/aggregation/test_values.py#L92
tests/unit/aggregation/test_values.py:92:39: invalid-argument-type: Argument to bound method `append` is incorrect: Expected `tuple[AlignedMTLWeighting, Tensor, Tensor] | tuple[ConstantWeighting, Tensor, Tensor] | tuple[DualProjWeighting, Tensor, Tensor] | ... omitted 8 union elements`, found `tuple[CAGradWeighting, Tensor, Tensor]`
stdlib/builtins.pyi:2843:9: info: Method defined here
stdlib/builtins.pyi:2843:22: Parameter declared here
info: rule `invalid-argument-type` is enabled by default
|
|
ty (invalid-argument-type):
tests/unit/aggregation/test_values.py#L91
tests/unit/aggregation/test_values.py:91:40: invalid-argument-type: Argument to bound method `append` is incorrect: Expected `tuple[AlignedMTL, Tensor, Tensor] | tuple[ConFIG, Tensor, Tensor] | tuple[Constant, Tensor, Tensor] | ... omitted 11 union elements`, found `tuple[CAGrad, Tensor, Tensor]`
stdlib/builtins.pyi:2843:9: info: Method defined here
stdlib/builtins.pyi:2843:22: Parameter declared here
info: rule `invalid-argument-type` is enabled by default
|
|
Link correctness
Summary report available at: https://github.com/SimplexLab/TorchJD/actions/runs/22760311476#summary-66015044715
|