EA1: wildcard pattern still false-positives on footnote-legend '*' and on blank lines before the colon
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
EA1 の wildcard パターンと既存の単一行 grant テストを見つけ、その後、issue に記載された完全な grant マトリックスを、脚注と空行のケースを含めて実行します。完了とは、これらの無害なドキュメント例がもはやマッチせず、引用符付き、角括弧付き、bare、スペースなし、タブ、CRLF、大文字、末尾コメント付きの grant 形式は引き続きマッチすることです。
索引モデルが issue の本文から書いたものです。
説明
Summary
Follow-up to #405 / #417. The single-line + standalone-* fix killed the markdown-bold and cross-heading false positives, but two false-positive paths remain in the EA1 wildcard pattern:
(r"(?:tools?|permissions?)\s*:[ \t]*\[?[ \t]*['\"]?\*(?!\*|\w)['\"]?[ \t]*\]?", 0.85)
Case 1: footnote/legend text still matches
The (?!\*|\w) lookahead only rejects a * followed by another * or a word character. A standalone * followed by a space passes — and documentation legitimately uses a bare * as a footnote marker after a label:
Tools: * = requires authentication
Tools: * marks optional parameters
Both match today (verified with re.IGNORECASE | re.MULTILINE, matched text Tools: * ) and fire EA1/MEDIUM on benign docs — same class of false positive as #405.
Case 2: the gap before the colon still crosses blank lines
#417 bounded the whitespace after the colon to [ \t]*, but the \s* before the colon still matches newlines. A line ending in tools/permissions followed by a blank line and a markdown definition-list line starting with : still bridges paragraphs:
several tools
: * item
Matched text: tools\n\n: * — the same cross-paragraph disease #405 reported, on the other side of the colon.
Proposed fix
- Bare (unquoted)
*should only count when it ends the line (optionally followed by]and/or a#comment): a real bare-scalar grant has nothing after the value, a footnote legend always does. Quoted forms ("*",'*') stay as-is — they are unambiguous. - Bound the pre-colon gap to the same line:
[ \t]*:instead of\s*:. No real YAML/JSON/TOML syntax puts a newline between a key and its colon.
Verified against the full single-line grant matrix (quoted, bracketed, bare, no-space, tab, CRLF, uppercase, trailing comment): no genuine form is lost.
- 主要言語
- Python
- スター
- 23.2k
- フォーク
- 2k
- 平均マージ
- 5日 12時間
- マージ済み PR(30日)
- 122
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
NVIDIA/SkillSpector のほかの issue
-
RP1 `npx` pattern matches across line breaks, so a line ending in "npx" plus the next word becomes a command対応中かも @agentsope が 35 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
NVIDIA/SkillSpector#639 · コメント 2 件 ·
メンテナーはふだん 4 日以内に返信
-
Quoted version metadata creates a false missing-file reference and changes score 0 from SAFE to CAUTION対応中かも @goodhee が 51 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
NVIDIA/SkillSpector#524 · コメント 2 件 ·
メンテナーはふだん 4 日以内に返信
-
compare_scan_accuracy: editable-dependency file:// URL resolves to "C:\C:\..." on Windows対応中かも @mohgupta-ship-it が 55 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
NVIDIA/SkillSpector#485 · コメント 4 件 ·
メンテナーはふだん 4 日以内に返信
-
E2 shell arm matches one `env | grep` spelling: a second grep flag, quotes, or egrep all evade "Env Variable Harvesting"対応中かも @MandoCodes1 が 56 日前に担当しました。 オープン
難易度 2/5 半日 初心者へのやさしさ 78/100
NVIDIA/SkillSpector#482 · コメント 2 件 ·
メンテナーはふだん 4 日以内に返信
-
fix(supply-chain): UTF-8 BOM in requirements.txt silently drops the first dependency from SC4/OSV対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
NVIDIA/SkillSpector#962 ·
メンテナーはふだん 4 日以内に返信
NVIDIA/SkillSpector の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
-
[Bug]: Responses API 500s on assistant message with empty content list対応中かも @shadowmodder が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
vllm-project/vllm#64940 ·
メンテナーはふだん 1 日以内に返信
-
limits
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
agent-ready area: docs documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Soneso/stellar-agent-wallet#524 ·
メンテナーはふだん 1 日以内に返信
-
Status: Triage Type: Quest
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
GTNewHorizons/GT-New-Horizons-Modpack#27490 ·
メンテナーはふだん 1 日以内に返信