You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When testing the instance astropy__astropy-6938, I realized that the gold patch provided in the SWE-Bench_Lite result in different results at different versions of SWE-bench.
Here is the gold patch of astropy__astropy-6938
diff --git a/astropy/io/fits/fitsrec.py b/astropy/io/fits/fitsrec.py
--- a/astropy/io/fits/fitsrec.py
+++ b/astropy/io/fits/fitsrec.py
@@ -1261,7 +1261,7 @@ def _scale_back_ascii(self, col_idx, input_field, output_field):
# Replace exponent separator in floating point numbers
if 'D' in format:
- output_field.replace(encode_ascii('E'), encode_ascii('D'))
+ output_field[:] = output_field.replace(b'E', b'D')
def _get_recarray_field(array, key):
I'm testing this patch with the following command:
Describe the bug
When testing the instance
astropy__astropy-6938
, I realized that the gold patch provided in the SWE-Bench_Lite result in different results at different versions of SWE-bench.Here is the gold patch of
astropy__astropy-6938
I'm testing this patch with the following command:
The report, which shows that the gold patch is failed, from the latest SWE-bench is the following:
However, I got a different report from the SWE-Gym's fork of SWE-bench
Both are using the same docker images. Could this be due to a bug that occurred in the newer version of SWE-Bench?
Steps/Code to Reproduce
Run this command:
Expected Results
Actual Results
System Information
The text was updated successfully, but these errors were encountered: