fix(evals): two run-validity denial tests fail on Windows
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 78/100
調査の方向性
まず plugins/evals/skills/plugin-eval/scripts/run-validity.test.sh と、失敗しているケース test_a_with_arm_denial_outside_the_plugin_scoring_the_same_is_a_warning および test_a_with_arm_denial_beside_the_plugin_name_prefix_is_a_warning から始める。次に run-validity.py を読み、プラグインのルートが os.path.abspath/os.path.normpath を通る箇所、および inside/above/beside が分類される箇所を確認し、フィクスチャが /tmp/eval-r2 と /tmp/claude-eval-x をどのように構築しているかを調べる。完了の条件は、39 個のテストが Windows で通過することであり、その方法は、パスを単一の正規化された形式で比較するか、フィクスチャのパスをプラットフォームのテンポラリディレクトリから導出するかのいずれかである。スクリプトを実行して、POSIX でリグレッションがないことを確認する。
索引モデルが issue の本文から書いたものです。
説明
No related PR: found while verifying #6497, which does not touch these files.
Summary
plugins/evals/skills/plugin-eval/scripts/run-validity.test.sh fails 2 of 39 tests on Windows with any TMPDIR, including the default on C:, and fails the same way on origin/main at 42f26c1dd:
test_a_with_arm_denial_outside_the_plugin_scoring_the_same_is_a_warningtest_a_with_arm_denial_beside_the_plugin_name_prefix_is_a_warning
Both expect VALID with a permission-denials WARN and get INVALID with FAIL.
Likely cause
The fixtures use POSIX paths (/tmp/eval-r2/plugins/evals, a denial at /tmp/claude-eval-x), while run-validity.py normalizes plugin roots with os.path.abspath/os.path.normpath, which on Windows yields drive-and-backslash paths. The inside/above/beside classification then no longer sees the denial as outside the plugin. Either the check should compare paths in one form, or the fixtures should build their paths from the platform's temp directory.
- 主要言語
- Shell
- スター
- 22
- フォーク
- 2
- 平均マージ
- 5時間 4分
- マージ済み PR(30日)
- 825
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
melodic-software/claude-code-plugins のほかの issue
-
needs-human needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
melodic-software/claude-code-plugins#6496 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
good first issue needs-triage priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
melodic-software/claude-code-plugins#6390 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
good first issue needs-triage priority: low
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
melodic-software/claude-code-plugins#6386 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
needs-human needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
melodic-software/claude-code-plugins#6363 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
good first issue needs-triage priority: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
melodic-software/claude-code-plugins#6333 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
melodic-software/claude-code-plugins の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
collabnix/awesome-mcp-lists#179 ·
メンテナーはふだん 1 日以内に返信
-
electron tech debt
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
alunduil/alunduil-chezmoi#870 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
package-update
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
oSoWoSo/vOid_Community_repOsitory#268 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信