PrimeIntellect/SWE-rebench-V2 huggingface dataset:
Repository: rsteube/carapace (go)

Issue:
powershell: comma not unescaped during multiparts completion
When unquoted word with escaped comma is completed the escape character is kept although the word is quoted.

```sh
example multiparts --comma first`,<TAB>
# example multiparts --comma 'first`,second,'
```


Pull request:
powershell: unescape comma
fix #306 

Patch:
diff --git a/internal/powershell/snippet.go b/internal/powershell/snippet.go
index 8724d03..e265200 100644
--- a/internal/powershell/snippet.go
+++ b/internal/powershell/snippet.go
@@ -36,7 +36,7 @@ Function _%v_completer {
       if ($t.get_Length() -eq 0){
         $t = '""'
       }
-      $elems += $t
+      $elems += $t.replace('`+"`"+`,', ',') # quick fix
     }
 
     $completions = @(


Test patch:
diff --git a/example/cmd/_test/powershell.ps1 b/example/cmd/_test/powershell.ps1
index 31a9837..e7668c0 100644
--- a/example/cmd/_test/powershell.ps1
+++ b/example/cmd/_test/powershell.ps1
@@ -25,7 +25,7 @@ Function _example_completer {
       if ($t.get_Length() -eq 0){
         $t = '""'
       }
-      $elems += $t
+      $elems += $t.replace('`,', ',') # quick fix
     }
 
     $completions = @(