From 227d7340bf909ea97886779b4ab5e40847405516 Mon Sep 17 00:00:00 2001 From: Will Chen Date: Fri, 29 Aug 2025 21:26:38 -0700 Subject: [PATCH] improve prompt (#1131) --- .github/workflows/duplicate-issues.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/duplicate-issues.yml b/.github/workflows/duplicate-issues.yml index 35f560b..6f37c4e 100644 --- a/.github/workflows/duplicate-issues.yml +++ b/.github/workflows/duplicate-issues.yml @@ -49,15 +49,23 @@ jobs: 3. Related functionality or components 4. Similar feature requests + For each potential duplicate you find, assign a confidence rating (high, medium, or low) indicating how likely it is to be a match. + If you find any potential duplicates, please comment on the new issue with: - A brief explanation of why it might be a duplicate - Links to the potentially duplicate issues + - A confidence assessment (high/medium/low) for each - A suggestion to check those issues first Use this format for the comment: 'This issue might be a duplicate of existing issues. Please check: - - #[issue_number]: [brief description of similarity] + - #[issue_number]: [brief description of similarity] (confidence: [high/medium/low]) Feel free to ignore if none of these address your specific case.' + Examples: + - #123: Contains identical error message and affects same component (confidence: high) + - #124: Similar feature request but slightly different use case (confidence: medium) + - #125: Mentions a related symptom, but context is unclear (confidence: low) + If no clear duplicates are found, do not comment."