PrimeIntellect/SWE-rebench-V2 huggingface dataset:
Repository: apple/swift-syntax (swift)

Issue:
"Any.Type" in header always outputs as "Any .Type" with an extra space
### Description

![246605376-4701d2cb-b77b-4c23-a427-aa7612a528f1](https://github.com/apple/swift-syntax/assets/101865961/fc7c6eda-9b3e-4ccf-9e00-2b32a8db50bd)
---
"Any.Type" in header always outputs as "Any .Type" with an extra space.

### Steps to Reproduce

_No response_

Pull request:
Resolves #1815 

Companion PR https://github.com/apple/swift/pull/66799

Patch:
diff --git a/Sources/SwiftBasicFormat/BasicFormat.swift b/Sources/SwiftBasicFormat/BasicFormat.swift
index bf732490310..692a491644a 100644
--- a/Sources/SwiftBasicFormat/BasicFormat.swift
+++ b/Sources/SwiftBasicFormat/BasicFormat.swift
@@ -206,6 +206,7 @@ open class BasicFormat: SyntaxRewriter {
       (.identifier, .leftSquare),  // myArray[1]
       (.identifier, .period),  // a.b
       (.integerLiteral, .period),  // macOS 11.2.1
+      (.keyword(.Any), .period),  // Any.Type
       (.keyword(.`init`), .leftAngle),  // init<T>()
       (.keyword(.`init`), .leftParen),  // init()
       (.keyword(.self), .period),  // self.someProperty


Test patch:
diff --git a/Tests/SwiftSyntaxBuilderTest/VariableTests.swift b/Tests/SwiftSyntaxBuilderTest/VariableTests.swift
index d35a99f1f0f..948045c7d47 100644
--- a/Tests/SwiftSyntaxBuilderTest/VariableTests.swift
+++ b/Tests/SwiftSyntaxBuilderTest/VariableTests.swift
@@ -371,4 +371,17 @@ final class VariableTests: XCTestCase {
       assertBuildResult(builder, expected, line: line)
     }
   }
+
+  // https://github.com/apple/swift-syntax/issues/1815
+  func testSpacingInDictionaryType() throws {
+    let buildable = try VariableDeclSyntax("static var mirror: Dictionary<String, Any.Type>") {}
+
+    assertBuildResult(
+      buildable,
+      """
+      static var mirror: Dictionary<String, Any.Type> {
+      }
+      """
+    )
+  }
 }
Repository: hyperledger/quilt (java)

Issue:
Stop interning InterledgerAddress
In runtimes processing lots of STREAM payments, the ILP addresses will look something like `g.{connectorId}.{accountId}.{encryptedStreamInfo}`. For example, `test.jc.money.bob.123xyz`.

In this example, when an ILP address is created, the full address will never be re-used because the  `encryptedStreamInfo` will never be the same from packet to packet. Thus, interning the full address is not a good idea. 

That said, it _probably_ is a good idea to keep interning the `InterledgerAddressPrefix` and `AllocationScheme` because these will be duplicated over many packets.

Pull request:
Stop interning InterledgerAddresses
fixes #418 

Patch:
diff --git a/ilp-core/src/main/java/org/interledger/core/InterledgerAddress.java b/ilp-core/src/main/java/org/interledger/core/InterledgerAddress.java
index bc05732..a038816 100644
--- a/ilp-core/src/main/java/org/interledger/core/InterledgerAddress.java
+++ b/ilp-core/src/main/java/org/interledger/core/InterledgerAddress.java
@@ -310,8 +310,7 @@ public interface InterledgerAddress {
   @Value.Style(
       typeBuilder = "*Builder",
       visibility = Value.Style.ImplementationVisibility.PRIVATE,
-      builderVisibility = Value.Style.BuilderVisibility.PUBLIC,
-      defaults = @Value.Immutable(intern = true))
+      builderVisibility = Value.Style.BuilderVisibility.PUBLIC)
   abstract class AbstractInterledgerAddress implements InterledgerAddress {
 
     static final String SEPARATOR_REGEX = "[.]";


Test patch:
diff --git a/ilp-core/src/test/java/org/interledger/core/InterledgerAddressTest.java b/ilp-core/src/test/java/org/interledger/core/InterledgerAddressTest.java
index 54de93b..773ba46 100644
--- a/ilp-core/src/test/java/org/interledger/core/InterledgerAddressTest.java
+++ b/ilp-core/src/test/java/org/interledger/core/InterledgerAddressTest.java
@@ -391,7 +391,9 @@ public class InterledgerAddressTest {
     final InterledgerAddress addressPrefix3 = InterledgerAddress.of("g.foo.bar");
 
     assertThat(addressPrefix1.hashCode()).isEqualTo(addressPrefix2.hashCode());
-    assertThat(addressPrefix1 == addressPrefix2).isTrue();
+    // As of https://github.com/hyperledger/quilt/issues/418, this should NOT be true, as InterledgerAddresses
+    // are not interned
+    assertThat(addressPrefix1 == addressPrefix2).isFalse();
     assertThat(addressPrefix1).isEqualTo(addressPrefix2);
     assertThat(addressPrefix2).isEqualTo(addressPrefix1);
     assertThat(addressPrefix1.toString()).isEqualTo(addressPrefix2.toString());
Repository: getmoto/moto (python)

Issue:
[RDS - Moto 5.1.3] stop_db_instance does not respect DBSnapshotIdentifier as manual snapshots
When calling stop_db_instance, you can provide a DBSnapshotIdentifier to create a manual snapshot as part of the db stop action. However, moto incorrectly tags this snapshot as an "automatic" snapshot instead of a manual one.

Example Code: 
```python

#stop db instance (should create a manual snapshot)
rds_client.stop_db_instance(DBInstanceIdentifier="myInstance", DBSnapshotIdentifier="mySnapshot")


# returns empty (should return a snapshot)
rds_client.describe_db_snapshots(
            DBInstanceIdentifier=rds_instance, SnapshotType="manual"
        )
```

running the describe_db_snapshots command without the SnapshotType filter does return the snapshot, but it is incorrectly tagged as "automatic" 

prio to moto 5.1, my automated tests worked fine because they (unknowingly) leveraged the bug that was fixed in the commit mentioned in #8658. however, now there is both an automated snapshot along with my manual snapshot that I am trying to test for, so my tests that were previously looking for the presense/absense of a snapshot no longer work, and this bug with not correctly tagging the snapshot as a manual snapshot prevents me from being able to update the tests to correctly query for manual snapshots.




Pull request:
RDS: snapshot type should be `manual` when stopping a DBInstance
Fixes #8779 

Patch:
diff --git a/moto/rds/models.py b/moto/rds/models.py
index f3621b1df..3a291b6d6 100644
--- a/moto/rds/models.py
+++ b/moto/rds/models.py
@@ -2690,7 +2690,7 @@ class RDSBackend(BaseBackend):
         if database.status != "available":
             raise InvalidDBInstanceStateError(db_instance_identifier, "stop")
         if db_snapshot_identifier:
-            self.create_auto_snapshot(db_instance_identifier, db_snapshot_identifier)
+            self.create_db_snapshot(db_instance_identifier, db_snapshot_identifier)
         database.status = "stopped"
         return database
 


Test patch:
diff --git a/tests/test_rds/test_rds.py b/tests/test_rds/test_rds.py
index 78dd005c4..7fdf0446c 100644
--- a/tests/test_rds/test_rds.py
+++ b/tests/test_rds/test_rds.py
@@ -289,6 +289,7 @@ def test_start_database(client):
     assert response["DBInstance"]["DBInstanceStatus"] == "stopped"
     response = client.describe_db_snapshots(DBSnapshotIdentifier="rocky4570-rds-snap")
     assert response["DBSnapshots"][0]["DBSnapshotIdentifier"] == "rocky4570-rds-snap"
+    assert response["DBSnapshots"][0]["SnapshotType"] == "manual"
     response = client.start_db_instance(
         DBInstanceIdentifier=mydb["DBInstanceIdentifier"]
     )