delta-misuse flags absolute position/rotation assignments in _process
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 88/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- testing-qa
調査の方向性
src/lint/rules/delta-misuse.ts の101~105行付近を読み、位置/回転情報の分岐を、issueで説明されている速度の分岐と比較してください。再現手順を実行し、npm run build && npm test を使って test/rules.test.ts の関連テストを実行してください。単純な絶対代入では指摘が発生せず、_process 内の position += speed では引き続き報告されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Summary
delta-misuse reports the info "motion becomes frame-rate dependent" for plain absolute assignments in _process, such as position = get_global_mouse_position() or rotation = 0.0. These do not accumulate per frame, so they are not frame-rate dependent.
Where
src/lint/rules/delta-misuse.ts:101-105(the info branch does not checkstmt.typeor self-reference)
Details
The velocity branch was tightened in 5d49f5d..e836036 (stmt.type === "assignment" plus a no-self-reference check), but the position/rotation info branch treats any = as an incremental change.
Steps to reproduce
func _process(delta):
position = get_global_mouse_position()
rotation = 0.0
gdcorrect lint reports two INFO delta-misuse findings.
Impact
Noise on very common code, which fails runs that use --fail-on info.
Suggested fix
Only flag augmented_assignment (+=, -=), or = where the right-hand side references the target itself (position = position + v).
Acceptance criteria
- The repro reports nothing.
-
position += speedin_process(no delta) still reports.
Getting started
- Relevant files:
src/lint/rules/delta-misuse.ts,test/rules.test.ts - How to run tests:
npm run build && npm test
Filed by repo-audit/full-audit at e836036. Severity: low. Effort: S. audit-key: bug|src/lint/rules/delta-misuse.ts|deltaMisuse
- 主要言語
- TypeScript
- スター
- 0
- フォーク
- 6
- 平均マージ
- 1日 21時間
- マージ済み PR(30日)
- 8
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
TMHSDigital/godot-correctness-mcp のほかの issue
-
enhancement good first issue severity: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
TMHSDigital/godot-correctness-mcp#123 ·
メンテナーはふだん 2 日以内に返信
-
dependencies good first issue severity: low
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
TMHSDigital/godot-correctness-mcp#116 ·
メンテナーはふだん 2 日以内に返信
-
bug good first issue severity: low
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
TMHSDigital/godot-correctness-mcp#106 ·
メンテナーはふだん 2 日以内に返信
-
bug good first issue severity: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
TMHSDigital/godot-correctness-mcp#105 ·
メンテナーはふだん 2 日以内に返信
-
bug good first issue severity: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
TMHSDigital/godot-correctness-mcp#104 ·
メンテナーはふだん 2 日以内に返信
TMHSDigital/godot-correctness-mcp の issue をすべて見る
似ている issue
-
clawsweeper:needs-maintainer-review clawsweeper:needs-product-decision clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster P3
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
openclaw/openclaw#203385 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
nwverse/persona#12800 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
メンテナーはふだん 1 日以内に返信
-
[MCP]: page snapshots in .playwright-mcp/ are not git-ignored (.playwright-cli/ is, since #42318)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
microsoft/playwright#44289 ·
メンテナーはふだん 1 日以内に返信
-
good first issue
難易度 2/5 半日 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信