PrimeIntellect/SWE-rebench-V2 huggingface dataset:
Repository: ParkMyCar/compact_str (rust)

Issue:
Consider impl trait FromStr for CompactStr
I got error when using StructOpts

```
    | |__________________________^ the trait `FromStr` is not implemented for `CompactStr`
```

Pull request:
impl FromStr for CompactStr
Fixes #18

This PR implements the `std::str::FromStr` trait for `CompactStr`, where the error type is `core::convert::Infallible`. The ergonomics here aren't _great_ because despite making the error type "infallible" we still have to call unwrap. Once the never type, `!`, is stabilized, we can use that instead. 

Patch:
diff --git a/compact_str/src/lib.rs b/compact_str/src/lib.rs
index ed5785f7..002e399f 100644
--- a/compact_str/src/lib.rs
+++ b/compact_str/src/lib.rs
@@ -17,6 +17,7 @@ use core::{
     fmt,
     hash::{Hash, Hasher},
     ops::Deref,
+    str::FromStr,
 };
 
 mod repr;
@@ -181,6 +182,13 @@ impl<'a> From<&'a String> for CompactStr {
     }
 }
 
+impl FromStr for CompactStr {
+    type Err = core::convert::Infallible;
+    fn from_str(s: &str) -> Result<CompactStr, Self::Err> {
+        Ok(CompactStr::from(s))
+    }
+}
+
 impl fmt::Debug for CompactStr {
     fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
         fmt::Debug::fmt(self.as_str(), f)


Test patch:
diff --git a/compact_str/src/tests.rs b/compact_str/src/tests.rs
index 23031e6d..a4181529 100644
--- a/compact_str/src/tests.rs
+++ b/compact_str/src/tests.rs
@@ -1,5 +1,6 @@
 use crate::CompactStr;
 use proptest::{prelude::*, strategy::Strategy};
+use std::str::FromStr;
 
 #[cfg(target_pointer_width = "64")]
 const MAX_INLINED_SIZE: usize = 24;
@@ -129,3 +130,13 @@ fn test_medium_unicode() {
         assert_eq!(compact.is_heap_allocated(), is_heap);
     }
 }
+
+#[test]
+fn test_from_str_trait() {
+    let s = "hello_world";
+
+    // Until the never type `!` is stabilized, we have to unwrap here
+    let c = CompactStr::from_str(s).unwrap();
+
+    assert_eq!(s, c);
+}
Repository: tailwindlabs/tailwindcss (ts)

Issue:
Group Hover with Custom Separator
### What version of Tailwind CSS are you using?

2.1.2

### What build tool (or framework if it abstracts the build tool) are you using?

postcss-cli 8.2.15

### What version of Node.js are you using?

12

### What browser are you using?

Safari

### What operating system are you using?

macOS

### Reproduction repository

https://play.tailwindcss.com/IccDaYWge7

### Describe your issue

I am using a different separator.

```js
//tailwind.config.js
const colors = require('tailwindcss/colors')
module.exports = {
  separator: '_',
  mode: 'jit',
  purge: ['./src/**/*.{html,ts}'],
  darkMode: 'class', // or 'media' or 'class'
  theme: {
    extend: { 
      colors
    },
  },
  variants: {
    extend: {},
  },
  plugins: [
  ],
}
```

When using group hover, in this fashion it does not work. 
```html
<div *ngIf="i < 2" class="text-blue-100 text-sm font-semibold bg-blue-600 cursor-pointer rounded-md py-1 px-2 group">
<span class="group-hover_text-blue-500">{{phone.type}}</span>
```

However, the css that is outputted is the following:
```css
.group_hover .group-hover_text-blue-500 {
	--tw-text-opacity: 1;
	color: rgba(59, 130, 246, var(--tw-text-opacity));
}
```

It should look like this:
```css
.group:hover .group-hover_text-blue-500 {
	--tw-text-opacity: 1;
	color: rgba(59, 130, 246, var(--tw-text-opacity));
}
```

When I manually change this, the correct behavior occurs.

I created a tailwind play, to test it out, and notice the same behavior: [https://play.tailwindcss.com/IccDaYWge7](https://play.tailwindcss.com/IccDaYWge7)

Pull request:
Generate group parent classes correctly with custom separator
Fixes #4505

Patch:
diff --git a/src/jit/corePlugins.js b/src/jit/corePlugins.js
index abc108a4..2941487e 100644
--- a/src/jit/corePlugins.js
+++ b/src/jit/corePlugins.js
@@ -171,10 +171,7 @@ export default {
             return null
           }
 
-          let groupSelector = prefixSelector(
-            config('prefix'),
-            `.group${config('separator')}${state}`
-          )
+          let groupSelector = prefixSelector(config('prefix'), `.group:${state}`)
 
           return `${groupSelector} ${variantSelector}`
         })


Test patch:
diff --git a/tests/jit/custom-separator.test.css b/tests/jit/custom-separator.test.css
index c40e6e18..61984cf2 100644
--- a/tests/jit/custom-separator.test.css
+++ b/tests/jit/custom-separator.test.css
@@ -1,4 +1,4 @@
-.group_hover .group-hover_focus-within_text-left:focus-within {
+.group:hover .group-hover_focus-within_text-left:focus-within {
   text-align: left;
 }
 [dir='rtl'] .rtl_active_text-center:active {