PrimeIntellect/SWE-rebench-V2-Filtered-Easy-Verified huggingface dataset:
Repository: AlecStrong/sql-psi (kotlin)
Issue: Regression from SqlDelight 1.3.0 to 1.4.0 - Erroneous 'Multiple columns found' error
Dialect: SQLite

failing sql:

```sql
CREATE TABLE foo(
    id TEXT NOT NULL PRIMARY KEY
);

CREATE TABLE bar(
    id TEXT NOT NULL PRIMARY KEY
);

CREATE TABLE baz(
    id TEXT NOT NULL PRIMARY KEY
);

repro:
SELECT id FROM foo
WHERE id IN (
    SELECT foo.id FROM foo
    LEFT JOIN bar ON foo.id = bar.id
    LEFT JOIN baz ON foo.id = baz.id
);
```

This is a reduced repro of a more complex query that I have in my Android app, however the query above labeled `repro` works fine with SqlDelight 1.3.0 but when I upgrade to 1.4.0, it fails with the error message:
```
<path to sq files>/Foo.sq line 17:25 - Multiple columns found with name id
14    SELECT id FROM foo
15    WHERE id IN (
16        SELECT foo.id FROM foo
17        LEFT JOIN bar ON foo.id = bar.id
                               ^^
18        LEFT JOIN baz ON foo.id = baz.id
19    )

<path to sq files>/Foo.sq line 18:25 - Multiple columns found with name id
14    SELECT id FROM foo
15    WHERE id IN (
16        SELECT foo.id FROM foo
17        LEFT JOIN bar ON foo.id = bar.id
18        LEFT JOIN baz ON foo.id = baz.id
                               ^^
19    )

```
Pull request description: Closes https://github.com/AlecStrong/sql-psi/issues/145

Patch:
diff --git a/core/src/main/kotlin/com/alecstrong/sql/psi/core/psi/mixins/JoinClauseMixin.kt b/core/src/main/kotlin/com/alecstrong/sql/psi/core/psi/mixins/JoinClauseMixin.kt
index 5504ec68..4c6008f9 100644
--- a/core/src/main/kotlin/com/alecstrong/sql/psi/core/psi/mixins/JoinClauseMixin.kt
+++ b/core/src/main/kotlin/com/alecstrong/sql/psi/core/psi/mixins/JoinClauseMixin.kt
@@ -18,7 +18,7 @@ internal abstract class JoinClauseMixin(
     if (child is SqlJoinConstraint) {
       val queryAvailable = tableOrSubqueryList[0].queryExposed()
         .map { it.copy(adjacent = true) }
-        .plus(super.queryAvailable(child))
+        .plus(super.queryAvailable(child).map { it.copy(adjacent = false) })
         .toMutableList()
       tableOrSubqueryList.drop(1).zip(joinConstraintList)
         .forEach { (subquery, constraint) ->


Test patch:
diff --git a/test-fixtures/src/main/resources/fixtures/adjacent-columns/Test.s b/test-fixtures/src/main/resources/fixtures/adjacent-columns/Test.s
new file mode 100644
index 00000000..0d0deb8e
--- /dev/null
+++ b/test-fixtures/src/main/resources/fixtures/adjacent-columns/Test.s
@@ -0,0 +1,18 @@
+CREATE TABLE foo(
+    id TEXT NOT NULL PRIMARY KEY
+);
+
+CREATE TABLE bar(
+    id TEXT NOT NULL PRIMARY KEY
+);
+
+CREATE TABLE baz(
+    id TEXT NOT NULL PRIMARY KEY
+);
+
+SELECT id FROM foo
+WHERE id IN (
+    SELECT foo.id FROM foo
+    LEFT JOIN bar ON foo.id = bar.id
+    LEFT JOIN baz ON foo.id = baz.id
+);
\ No newline at end of file
Repository: milvus-io/milvus-sdk-go (go)
Issue: [Bug]: SDK cannot connect to https scheme URL
### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

for plain https://in01-instanceXXX...zillizcloud.com (without port)
Go sdk will still try to connect to 80 port, which may lead to connection failure

### Expected Behavior

Auto use 443(default https port) for https scheme url

### Steps To Reproduce

_No response_

### Environment

_No response_

### Anything else?

_No response_
Pull request description: Auto fill 443 port for https schema url
Resolves #526 
/kind improvement

Patch:
diff --git a/client/config.go b/client/config.go
index 241cc18..5293f53 100644
--- a/client/config.go
+++ b/client/config.go
@@ -112,6 +112,9 @@ func (c *Config) parse() error {
 	if remoteURL.Scheme == "https" {
 		c.EnableTLSAuth = true
 	}
+	if remoteURL.Port() == "" && c.EnableTLSAuth {
+		remoteURL.Host += ":443"
+	}
 	c.parsedAddress = remoteURL
 	return nil
 }


Test patch:
diff --git a/client/config_test.go b/client/config_test.go
index 0f33ed6..201f213 100644
--- a/client/config_test.go
+++ b/client/config_test.go
@@ -52,7 +52,7 @@ func TestClientConfig(t *testing.T) {
 		&Config{
 			Address: "https://xxxx-xxxx-xxxxx.com",
 		},
-		"xxxx-xxxx-xxxxx.com", "", true, false,
+		"xxxx-xxxx-xxxxx.com:443", "", true, false,
 	)
 	// remote https host with dbname
 	assertConfig(
Repository: ChristopheBougere/asl-validator (ts)
Issue: nested maps generate an error due to bad path expression in validator
**Describe the bug**
I'm getting this error with an ASL with a nested map.

```
Parse error on line 1:
    $.['Next','Default']
```

It's due to the newly merged state-transitions.js code.

**To Reproduce**
Please provide a complete state machine definition:
```json
{
  "StartAt": "Map",
  "States": {
    "Map": {
      "Type": "Map",
      "Next": "Final State",
      "Iterator": {
        "StartAt": "Map2",
        "States": {
          "Map2": {
            "Type": "Map",
            "End": true,
            "Iterator": {
              "StartAt": "Wait 20s",
              "States": {
                "Wait 20s": {
                  "Type": "Wait",
                  "Seconds": 20,
                  "End": true
                }
              }
            }
          }
        }
      }
    },
    "Final State": {
      "Type": "Succeed"
    }
  }
}
```

**Expected behavior**
no error

**Version:** 2.1.0

**Additional context**
I was missing a test case for a nested map so it wasn't hitting this path in the code. The migration to jsonpath-plus will fix this but it could also be fixed with the existing `jsonpath` library. 

Pull request description: fix: bad jsonpath in nextAndDefaultTargets function
fixes #84 

Patch:
diff --git a/src/lib/state-transitions.js b/src/lib/state-transitions.js
index 2cf29a5..30dc833 100644
--- a/src/lib/state-transitions.js
+++ b/src/lib/state-transitions.js
@@ -14,7 +14,7 @@ module.exports = (definition) => {
     Object.keys(nestedStateMachine.States).forEach((stateName) => {
       const nestedState = nestedStateMachine.States[stateName];
       const isContainer = ['Map', 'Parallel'].indexOf(nestedState.Type) >= 0;
-      const path = isContainer ? '$.[\'Next\',\'Default\']' : '$..[\'Next\',\'Default\']';
+      const path = isContainer ? '$.*[?(\'Next\',\'Default\')]' : '$..[\'Next\',\'Default\']';
       states.push(...jp.query(nestedState, path));
     });
     return states;


Test patch:
diff --git a/src/__tests__/definitions/valid-map-nested.json b/src/__tests__/definitions/valid-map-nested.json
new file mode 100644
index 0000000..de14a85
--- /dev/null
+++ b/src/__tests__/definitions/valid-map-nested.json
@@ -0,0 +1,31 @@
+{
+  "StartAt": "Map",
+  "States": {
+    "Map": {
+      "Type": "Map",
+      "Next": "Final State",
+      "Iterator": {
+        "StartAt": "Map2",
+        "States": {
+          "Map2": {
+            "Type": "Map",
+            "End": true,
+            "Iterator": {
+              "StartAt": "Wait 20s",
+              "States": {
+                "Wait 20s": {
+                  "Type": "Wait",
+                  "Seconds": 20,
+                  "End": true
+                }
+              }
+            }
+          }
+        }
+      }
+    },
+    "Final State": {
+      "Type": "Succeed"
+    }
+  }
+}
Repository: rigetticomputing/pyquil (python)
Issue: Unequal length PauliSums raise a warning rather than warn
If two `PauliTerms` are compared with unequal lengths they raise a warning which breaks the control flow- it should just warn the user.
Pull request description: raise -> warn in PauliTerm
Fixes #114 

Patch:
diff --git a/pyquil/paulis.py b/pyquil/paulis.py
index 0f79f9c..f94a4e8 100644
--- a/pyquil/paulis.py
+++ b/pyquil/paulis.py
@@ -27,6 +27,7 @@ from .gates import H, RZ, RX, CNOT, X, PHASE
 from . import quilbase as pqb
 from numbers import Number
 from collections import Sequence
+import warnings
 from six import integer_types
 from six.moves import range
 
@@ -346,7 +347,7 @@ class PauliSum(object):
         elif isinstance(other, PauliTerm):
             return self == PauliSum(other)
         elif len(self.terms) != len(other.terms):
-            raise UnequalLengthWarning("These PauliSums have a different number of terms.")
+            warnings.warn(UnequalLengthWarning("These PauliSums have a different number of terms."))
             return False
         return all([term == other.terms[i] for i, term in enumerate(self.terms)])
 


Test patch:
diff --git a/pyquil/tests/test_paulis.py b/pyquil/tests/test_paulis.py
index feea509..8e8c443 100644
--- a/pyquil/tests/test_paulis.py
+++ b/pyquil/tests/test_paulis.py
@@ -538,12 +538,12 @@ def test_term_with_coeff():
 def test_sum_equality():
     pauli_sum = sY(0) - sX(0)
     assert pauli_sum != 2 * pauli_sum
-    with pytest.raises(UnequalLengthWarning):
+    with pytest.warns(UnequalLengthWarning):
         assert pauli_sum != pauli_sum + sZ(0)
-    with pytest.raises(UnequalLengthWarning):
+    with pytest.warns(UnequalLengthWarning):
         assert pauli_sum + sZ(0) != pauli_sum
     assert pauli_sum != sY(1) - sX(1)
     assert pauli_sum == -1.0 * sX(0) + sY(0)
     assert pauli_sum == pauli_sum * 1.0
     with pytest.raises(TypeError):
-        assert pauli_sum != 0
\ No newline at end of file
+        assert pauli_sum != 0