PrimeIntellect/SWE-rebench-V2 huggingface dataset:
Repository: ross-rotordynamics/ross (python)

Issue:
BearingElement.from_table does not support us units
I have added a file with us units (on the tests/data folder) and also a test for this case (see #354).

Pull request:
Add us units support for bearing from table instantiation
Close #355 

Patch:
diff --git a/ross/utils.py b/ross/utils.py
index efa7dc77..10e4194a 100644
--- a/ross/utils.py
+++ b/ross/utils.py
@@ -117,7 +117,7 @@ def read_table_file(file, element, sheet_name=0, n=0, sheet_type="Model"):
                     if row[i].lower() == header_key_word:
                         header_index = index
                         header_found = True
-                if "inches" in row[i].lower() or "lbm" in row[i].lower():
+                if "inches" in row[i].lower() or "lbm" in row[i].lower() or 'lb' in row[i].lower():
                     convert_to_metric = True
                 if "rpm" in row[i].lower():
                     convert_to_rad_per_sec = True


Test patch:
diff --git a/ross/tests/test_bearing_seal_element.py b/ross/tests/test_bearing_seal_element.py
index 1c789a47..5242fa8d 100644
--- a/ross/tests/test_bearing_seal_element.py
+++ b/ross/tests/test_bearing_seal_element.py
@@ -213,7 +213,6 @@ def test_equality(bearing0, bearing1, bearing_constant):
     assert not bearing0 == 1
 
 
-@pytest.mark.skip("Waiting for implementation of units conversion for bearings.")
 def test_from_table():
     bearing_file = (
         os.path.dirname(os.path.realpath(__file__)) + "/data/bearing_seal_si.xls"
@@ -221,7 +220,7 @@ def test_from_table():
 
     bearing = BearingElement.from_table(0, bearing_file)
     assert bearing.n == 0
-    assert_allclose(bearing.w[2], 523.5987755985)
+    assert_allclose(bearing.frequency[2], 523.5987755985)
     assert_allclose(bearing.kxx.coefficient[2], 53565700)
 
     # bearing with us units
@@ -230,7 +229,7 @@ def test_from_table():
     )
     bearing = BearingElement.from_table(0, bearing_file)
     assert bearing.n == 0
-    assert_allclose(bearing.w[2], 523.5987755985)
+    assert_allclose(bearing.frequency[2], 523.5987755985)
     assert_allclose(bearing.kxx.coefficient[2], 53565700)
Repository: scala-steward-org/scala-steward (scala)

Issue:
Fetch tags in GitAlg.syncFork
I think we also need to fetch tags in `GitAlg.syncFork` because some repos require tags to be present in order for the build to load successfully. See for example https://github.com/almond-sh/almond/pull/483.

Pull request:
Addresses #1284

Patch:
diff --git a/modules/core/src/main/scala/org/scalasteward/core/git/GitAlg.scala b/modules/core/src/main/scala/org/scalasteward/core/git/GitAlg.scala
index 6d7f1c7323..56048be6a5 100644
--- a/modules/core/src/main/scala/org/scalasteward/core/git/GitAlg.scala
+++ b/modules/core/src/main/scala/org/scalasteward/core/git/GitAlg.scala
@@ -188,7 +188,7 @@ object GitAlg {
           branch = defaultBranch.name
           remoteBranch = s"$remote/$branch"
           _ <- exec(Nel.of("remote", "add", remote, upstreamUrl.toString), repoDir)
-          _ <- exec(Nel.of("fetch", remote, branch), repoDir)
+          _ <- exec(Nel.of("fetch", "--tags", remote, branch), repoDir)
           _ <- exec(Nel.of("checkout", "-B", branch, "--track", remoteBranch), repoDir)
           _ <- exec(Nel.of("merge", remoteBranch), repoDir)
           _ <- push(repo, defaultBranch)


Test patch:
diff --git a/modules/core/src/test/scala/org/scalasteward/core/git/GitAlgTest.scala b/modules/core/src/test/scala/org/scalasteward/core/git/GitAlgTest.scala
index 1fd96f14c3..ef8f5cd9b0 100644
--- a/modules/core/src/test/scala/org/scalasteward/core/git/GitAlgTest.scala
+++ b/modules/core/src/test/scala/org/scalasteward/core/git/GitAlgTest.scala
@@ -89,7 +89,7 @@ class GitAlgTest extends AnyFunSuite with Matchers {
           "upstream",
           "http://github.com/fthomas/datapackage"
         ),
-        List(askPass, repoDir, "git", "fetch", "upstream", "master"),
+        List(askPass, repoDir, "git", "fetch", "--tags", "upstream", "master"),
         List(askPass, repoDir, "git", "checkout", "-B", "master", "--track", "upstream/master"),
         List(askPass, repoDir, "git", "merge", "upstream/master"),
         List(askPass, repoDir, "git", "push", "--force", "--set-upstream", "origin", "master")
diff --git a/modules/core/src/test/scala/org/scalasteward/core/vcs/VCSRepoAlgTest.scala b/modules/core/src/test/scala/org/scalasteward/core/vcs/VCSRepoAlgTest.scala
index 605e1e8950..da704c32bf 100644
--- a/modules/core/src/test/scala/org/scalasteward/core/vcs/VCSRepoAlgTest.scala
+++ b/modules/core/src/test/scala/org/scalasteward/core/vcs/VCSRepoAlgTest.scala
@@ -70,7 +70,7 @@ class VCSRepoAlgTest extends AnyFunSuite with Matchers {
           "upstream",
           s"https://${config.vcsLogin}@github.com/fthomas/datapackage"
         ),
-        List(askPass, repoDir, "git", "fetch", "upstream", "master"),
+        List(askPass, repoDir, "git", "fetch", "--tags", "upstream", "master"),
         List(askPass, repoDir, "git", "checkout", "-B", "master", "--track", "upstream/master"),
         List(askPass, repoDir, "git", "merge", "upstream/master"),
         List(askPass, repoDir, "git", "push", "--force", "--set-upstream", "origin", "master")