simplify cst agent prompt and add plan context. Adapt example accordi… #74
Annotations
10 errors and 9 warnings
|
ruff (PLR0913):
pyRadPlan/dose/engines/_base_pencilbeam_particle.py#L880
pyRadPlan/dose/engines/_base_pencilbeam_particle.py:880:9: PLR0913 Too many arguments in function definition (8 > 5)
help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle
|
|
ruff (PLR0915):
pyRadPlan/dose/engines/_base_pencilbeam_particle.py#L564
pyRadPlan/dose/engines/_base_pencilbeam_particle.py:564:9: PLR0915 Too many statements (100 > 50)
|
|
ruff (PLR0912):
pyRadPlan/dose/engines/_base_pencilbeam_particle.py#L564
pyRadPlan/dose/engines/_base_pencilbeam_particle.py:564:9: PLR0912 Too many branches (18 > 12)
|
|
ruff (PLR0913):
pyRadPlan/dose/engines/_base_pencilbeam.py#L839
pyRadPlan/dose/engines/_base_pencilbeam.py:839:9: PLR0913 Too many arguments in function definition (6 > 5)
help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle
|
|
ruff (PLR0913):
pyRadPlan/dose/engines/_base_pencilbeam.py#L683
pyRadPlan/dose/engines/_base_pencilbeam.py:683:9: PLR0913 Too many arguments in function definition (7 > 5)
help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle
|
|
ruff (PLR0915):
pyRadPlan/dose/engines/_base.py#L411
pyRadPlan/dose/engines/_base.py:411:9: PLR0915 Too many statements (65 > 50)
|
|
ruff (PLR0912):
pyRadPlan/dose/engines/_base.py#L300
pyRadPlan/dose/engines/_base.py:300:9: PLR0912 Too many branches (28 > 12)
|
|
ruff (PLR0913):
pyRadPlan/core/resample.py#L66
pyRadPlan/core/resample.py:66:5: PLR0913 Too many arguments in function definition (7 > 5)
|
|
ruff (PLW1641):
pyRadPlan/core/datamodel.py#L16
pyRadPlan/core/datamodel.py:16:7: PLW1641 Object does not implement `__hash__` method
|
|
ruff (PLR0913):
pyRadPlan/ai_agents/_cst_agents.py#L41
pyRadPlan/ai_agents/_cst_agents.py:41:5: PLR0913 Too many arguments in function definition (6 > 5)
|
|
lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-python@v5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
test (3.13)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-python@v5, codecov/test-results-action@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
test (3.10)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-python@v5, codecov/test-results-action@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
test (3.13)
This action is being deprecated in favor of 'codecov-action'.
Please update CI accordingly to use 'codecov-action@v5' with
'report_type: test_results'.
The 'codecov-action' should and can be run at least once for
coverage and once for test results
|
|
test (3.10)
This action is being deprecated in favor of 'codecov-action'.
Please update CI accordingly to use 'codecov-action@v5' with
'report_type: test_results'.
The 'codecov-action' should and can be run at least once for
coverage and once for test results
|
|
test (3.12)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-python@v5, codecov/test-results-action@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
test (3.12)
This action is being deprecated in favor of 'codecov-action'.
Please update CI accordingly to use 'codecov-action@v5' with
'report_type: test_results'.
The 'codecov-action' should and can be run at least once for
coverage and once for test results
|
|
test (3.11)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea, actions/setup-python@v5, codecov/test-results-action@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
test (3.11)
This action is being deprecated in favor of 'codecov-action'.
Please update CI accordingly to use 'codecov-action@v5' with
'report_type: test_results'.
The 'codecov-action' should and can be run at least once for
coverage and once for test results
|