Narrow dg-native-suggestions-off-withholds-offer's grader so it stops matching the condition's paste instruction

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

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
68/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github-actions, python, shell
領域
testing-qa

調査の方向性

no-goal-offer matcherとそのサンプルを見つけ、参照されているcheck-matchers.pyワークフローを読んでください。貼り付けの指示が合格し、条件付きのRouting文が失敗するようにサンプルを追加し、check-matchers.pyを実行して確認してください。残る受け入れ確認は、mainでruns 5を指定してVALIDスイートを実行し、このケースがプラグインなしのアームと同等以上のスコアを得ることです。

索引モデルが issue の本文から書いたものです。

説明

Context

dg-native-suggestions-off-withholds-offer scored 0.50 against no-plugin 1.00 in #20870's post-merge suite (scores, run 47199540348, VALID, runs 5). In 4 of 5 with-arm replies the no-goal-offer regex (Type[ \t]+/goal|you can run[ \t]+?/goal\b, from #20669) matched only "Type /goal (with a trailing space), then paste everything between the dashed lines". That line is draft-goal-condition's own delivery instruction for the Step 4 condition, which the case expects to stay. Only run 2 also carried the gated sentence "If /goal is available in your session, you can run /goal <condition>".

Proposed work

Narrow no-goal-offer to the gated Routing sentence (/goal is available in your session, or you can run /goal`), add samples covering the paste instruction (pass) and the offer sentence (fail), and confirm with check-matchers.py.

Acceptance criteria
  • no-goal-offer passes a reply carrying only the paste instruction and fails one carrying the Routing sentence (samples).
  • The case scores at or above its no-plugin arm in a VALID suite run on main at runs 5.
References
  • #20870, #20669.
主要言語
Shell
スター
22
フォーク
2
平均マージ
3時間 4分
マージ済み PR(30日)
941

環境構築

はじめの一歩

  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 を短くまとめたダイジェスト。