Skip to content

Use matvec for camera projection helpers#2017

Merged
FlorianPfaff merged 1 commit intomainfrom
fix/sensor-model-matvec
May 10, 2026
Merged

Use matvec for camera projection helpers#2017
FlorianPfaff merged 1 commit intomainfrom
fix/sensor-model-matvec

Conversation

@FlorianPfaff
Copy link
Copy Markdown
Owner

Fixes the failing dynamic sensor-model test by using the backend matrix-vector helper for camera projection products instead of backend matmul, which rejects 1-D vector operands.\n\nLocal checks:\n- PYTHONPATH=src python -m pytest tests/test_dynamic_models.py::TestSensorModelCatalog::test_radar_tdoa_fdoa_and_camera_measurements\n- python -m ruff check src/pyrecest/models/sensor_models.py tests/test_dynamic_models.py\n- git diff --check

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 10, 2026

MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ COPYPASTE jscpd yes no no 38.32s
✅ JSON prettier 2 0 0 0 0.48s
✅ JSON v8r 2 0 0 2.45s
✅ MARKDOWN markdownlint 28 0 0 0 1.33s
✅ MARKDOWN markdown-table-formatter 28 0 0 0 0.39s
✅ PYTHON bandit 519 0 0 8.71s
✅ PYTHON black 519 8 0 0 14.3s
✅ PYTHON flake8 519 0 0 4.81s
✅ PYTHON isort 519 10 0 0 0.97s
✅ PYTHON mypy 519 0 0 6.55s
✅ PYTHON pylint 519 0 0 119.64s
✅ PYTHON ruff 519 10 0 0 0.1s
✅ REPOSITORY checkov yes no no 22.95s
✅ REPOSITORY gitleaks yes no no 8.27s
✅ REPOSITORY git_diff yes no no 0.09s
✅ REPOSITORY secretlint yes no no 9.8s
✅ REPOSITORY syft yes no no 2.43s
✅ REPOSITORY trivy-sbom yes no no 3.68s
✅ REPOSITORY trufflehog yes no no 21.83s
✅ YAML prettier 5 0 0 0 0.57s
✅ YAML v8r 5 0 0 5.05s
✅ YAML yamllint 5 0 0 0.42s

See detailed reports in MegaLinter artifacts

Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)

  • Documentation: Custom Flavors
  • Command: npx mega-linter-runner@9.4.0 --custom-flavor-setup --custom-flavor-linters PYTHON_PYLINT,PYTHON_BLACK,PYTHON_FLAKE8,PYTHON_ISORT,PYTHON_BANDIT,PYTHON_MYPY,PYTHON_RUFF,COPYPASTE_JSCPD,JSON_V8R,JSON_PRETTIER,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,REPOSITORY_CHECKOV,REPOSITORY_GIT_DIFF,REPOSITORY_GITLEAKS,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,YAML_PRETTIER,YAML_YAMLLINT,YAML_V8R

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 10, 2026

Test Results

    12 files  +    5      12 suites  +5   2h 28m 22s ⏱️ + 1h 34m 12s
 1 537 tests ±    0   1 537 ✅ +    1      0 💤  -     1  0 ❌ ±0 
18 904 runs  +7 809  15 120 ✅ +4 828  3 784 💤 +2 981  0 ❌ ±0 

Results for commit 294993d. ± Comparison against base commit 62d80eb.

♻️ This comment has been updated with latest results.

@FlorianPfaff FlorianPfaff force-pushed the fix/sensor-model-matvec branch from 28d1867 to 294993d Compare May 10, 2026 13:19
@FlorianPfaff FlorianPfaff merged commit d65d579 into main May 10, 2026
20 checks passed
@FlorianPfaff FlorianPfaff deleted the fix/sensor-model-matvec branch May 10, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant