Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

fix(evals): two run-validity denial tests fail on Windows

オープン 初心者向け
#6,499 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python, shell
領域
testing

調査の方向性

まず 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 の本文から書いたものです。

説明

good first issue needs-triage priority: medium

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_warning
  • test_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

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

melodic-software/claude-code-plugins のほかの issue

melodic-software/claude-code-plugins の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。