repo stringclasses 10
values | instance_id stringlengths 18 32 | html_url stringlengths 41 55 | feature_patch stringlengths 805 8.42M | test_patch stringlengths 548 207k | doc_changes listlengths 0 92 | version stringclasses 57
values | base_commit stringlengths 40 40 | PASS2PASS listlengths 0 3.51k | FAIL2PASS listlengths 0 5.17k | augmentations dict | mask_doc_diff listlengths 0 92 | problem_statement stringlengths 0 54.8k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
astropy/astropy | astropy__astropy-14763 | https://github.com/astropy/astropy/pull/14763 | diff --git a/astropy/coordinates/earth.py b/astropy/coordinates/earth.py
index f7f1eba81a40..88c5f7672057 100644
--- a/astropy/coordinates/earth.py
+++ b/astropy/coordinates/earth.py
@@ -8,39 +8,29 @@
import urllib.request
from warnings import warn
-import erfa
import numpy as np
from astropy import constants a... | diff --git a/astropy/coordinates/tests/test_earth.py b/astropy/coordinates/tests/test_earth.py
index e21c390e72ff..0c8c3a140bfb 100644
--- a/astropy/coordinates/tests/test_earth.py
+++ b/astropy/coordinates/tests/test_earth.py
@@ -10,8 +10,9 @@
from astropy import constants
from astropy import units as u
from astrop... | [
{
"path": "docs/changes/coordinates/14763.feature.rst",
"old_path": "/dev/null",
"new_path": "b/docs/changes/coordinates/14763.feature.rst",
"metadata": "diff --git a/docs/changes/coordinates/14763.feature.rst b/docs/changes/coordinates/14763.feature.rst\nnew file mode 100644\nindex 000000000000..d4... | 6.0 | eadcd73a38639e9695ecb2190b65e045b445d0ea | [] | [
"astropy/coordinates/tests/test_earth.py::TestInput::test_invalid_input",
"astropy/coordinates/tests/test_geodetic_representations.py::test_non_length_error",
"astropy/coordinates/tests/test_earth.py::TestInput::test_ellipsoid[WGS84]",
"astropy/coordinates/tests/test_earth.py::TestInput::test_attribute_classe... | {
"header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:",
"data": [
{
"type": "file",
"name": "astropy/coordinates/representation/geodetic.py"
},
{
"type": "field",
"name": ... | [
{
"path": "docs/changes/coordinates/<PRID>.feature.rst",
"old_path": "/dev/null",
"new_path": "b/docs/changes/coordinates/<PRID>.feature.rst",
"metadata": "diff --git a/docs/changes/coordinates/<PRID>.feature.rst b/docs/changes/coordinates/<PRID>.feature.rst\nnew file mode 100644\nindex 000000000000... | diff --git a/docs/changes/coordinates/<PRID>.feature.rst b/docs/changes/coordinates/<PRID>.feature.rst
new file mode 100644
index 000000000000..d4733abb2abc
--- /dev/null
+++ b/docs/changes/coordinates/<PRID>.feature.rst
@@ -0,0 +1,4 @@
+Support has been added to create geodetic representations not just for existing el... |
astropy/astropy | astropy__astropy-14851 | https://github.com/astropy/astropy/pull/14851 | diff --git a/astropy/coordinates/representation/__init__.py b/astropy/coordinates/representation/__init__.py
index f91d47e3ae56..e92af318ba87 100644
--- a/astropy/coordinates/representation/__init__.py
+++ b/astropy/coordinates/representation/__init__.py
@@ -8,6 +8,7 @@
from .cylindrical import CylindricalRepresentati... | diff --git a/astropy/coordinates/tests/test_geodetic_representations.py b/astropy/coordinates/tests/test_geodetic_representations.py
index 0a5d4ccee13d..fb72255c02e3 100644
--- a/astropy/coordinates/tests/test_geodetic_representations.py
+++ b/astropy/coordinates/tests/test_geodetic_representations.py
@@ -8,6 +8,7 @@
... | [
{
"path": "docs/changes/coordinates/14851.feature.rst",
"old_path": "/dev/null",
"new_path": "b/docs/changes/coordinates/14851.feature.rst",
"metadata": "diff --git a/docs/changes/coordinates/14851.feature.rst b/docs/changes/coordinates/14851.feature.rst\nnew file mode 100644\nindex 000000000000..c7... | 6.0 | 4fba338b907356185c5a9dd60cc7f65f54e58a4d | [
"astropy/coordinates/tests/test_representation.py::TestSphericalRepresentation::test_init_lonlat",
"astropy/coordinates/tests/test_representation.py::TestCartesianRepresentationWithDifferential::test_transform",
"astropy/coordinates/tests/test_representation.py::TestCartesianRepresentationWithDifferential::test... | [
"astropy/coordinates/tests/test_geodetic_representations.py::test_geocentric_to_geodetic",
"astropy/coordinates/tests/test_geodetic_representations.py::test_geodetic_cartesian_roundtrip[IAUMARS2000BodycentricRepresentation]",
"astropy/coordinates/tests/test_geodetic_representations.py::test_subclass_bad_ellipso... | {
"header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:",
"data": []
} | [
{
"path": "docs/changes/coordinates/<PRID>.feature.rst",
"old_path": "/dev/null",
"new_path": "b/docs/changes/coordinates/<PRID>.feature.rst",
"metadata": "diff --git a/docs/changes/coordinates/<PRID>.feature.rst b/docs/changes/coordinates/<PRID>.feature.rst\nnew file mode 100644\nindex 000000000000... | diff --git a/docs/changes/coordinates/<PRID>.feature.rst b/docs/changes/coordinates/<PRID>.feature.rst
new file mode 100644
index 000000000000..c74e2aa8435c
--- /dev/null
+++ b/docs/changes/coordinates/<PRID>.feature.rst
@@ -0,0 +1,2 @@
+Add ``BaseBodycentricRepresentation``, a new spheroidal representation for bodycen... |
astropy/astropy | astropy__astropy-14701 | https://github.com/astropy/astropy/pull/14701 | "diff --git a/astropy/cosmology/io/__init__.py b/astropy/cosmology/io/__init__.py\nindex 9ed9a995e63(...TRUNCATED) | "diff --git a/astropy/cosmology/io/tests/test_latex.py b/astropy/cosmology/io/tests/test_latex.py\nn(...TRUNCATED) | [{"path":"docs/changes/cosmology/14701.feature.rst","old_path":"/dev/null","new_path":"b/docs/change(...TRUNCATED) | 6.0 | a429c3984a14c995584455e51a6f3d7d9c16e914 | [] | ["astropy/cosmology/tests/test_connect.py::TestCosmologyReadWrite::test_readwrite_ecsv_mutlirow[WMAP(...TRUNCATED) | {"header":"If completing this task requires creating new files, classes, fields, or error messages, (...TRUNCATED) | [{"path":"docs/changes/cosmology/<PRID>.feature.rst","old_path":"/dev/null","new_path":"b/docs/chang(...TRUNCATED) | "diff --git a/docs/changes/cosmology/<PRID>.feature.rst b/docs/changes/cosmology/<PRID>.feature.rst\(...TRUNCATED) |
astropy/astropy | astropy__astropy-14780 | https://github.com/astropy/astropy/pull/14780 | "diff --git a/astropy/cosmology/_io/ecsv.py b/astropy/cosmology/_io/ecsv.py\nindex 06603a95ed82..fef(...TRUNCATED) | "diff --git a/astropy/cosmology/_io/tests/test_ecsv.py b/astropy/cosmology/_io/tests/test_ecsv.py\ni(...TRUNCATED) | [{"path":"docs/changes/cosmology/14780.feature.rst","old_path":"/dev/null","new_path":"b/docs/change(...TRUNCATED) | 6.0 | 3a145a38d3f6fd531df5e6d9bcd81b0f72e3a6db | ["astropy/cosmology/_io/tests/test_table.py::TestToFromTable::test_to_table_cls[cosmo4-QTable]","ast(...TRUNCATED) | ["astropy/cosmology/_io/tests/test_mapping.py::TestToFromMapping::test_to_mapping_rename_conflict[co(...TRUNCATED) | {"header":"If completing this task requires creating new files, classes, fields, or error messages, (...TRUNCATED) | [{"path":"docs/changes/cosmology/<PRID>.feature.rst","old_path":"/dev/null","new_path":"b/docs/chang(...TRUNCATED) | "diff --git a/docs/changes/cosmology/<PRID>.feature.rst b/docs/changes/cosmology/<PRID>.feature.rst\(...TRUNCATED) |
astropy/astropy | astropy__astropy-14878 | https://github.com/astropy/astropy/pull/14878 | "diff --git a/astropy/table/row.py b/astropy/table/row.py\nindex 03b7d13219b9..cab570e837c6 100644\n(...TRUNCATED) | "diff --git a/astropy/table/tests/test_row.py b/astropy/table/tests/test_row.py\nindex 8ad9f46ba80b.(...TRUNCATED) | [{"path":"docs/changes/table/14878.feature.rst","old_path":"/dev/null","new_path":"b/docs/changes/ta(...TRUNCATED) | 6.0 | 88790514bdf248e43c2fb15ee18cfd3390846145 | ["astropy/table/tests/test_row.py::TestRow::test_row_keys_values[masked]","astropy/table/tests/test_(...TRUNCATED) | [
"astropy/table/tests/test_row.py::test_row_get"
] | {"header":"If completing this task requires creating new files, classes, fields, or error messages, (...TRUNCATED) | [{"path":"docs/changes/table/<PRID>.feature.rst","old_path":"/dev/null","new_path":"b/docs/changes/t(...TRUNCATED) | "diff --git a/docs/changes/table/<PRID>.feature.rst b/docs/changes/table/<PRID>.feature.rst\nnew fil(...TRUNCATED) |
astropy/astropy | astropy__astropy-14729 | https://github.com/astropy/astropy/pull/14729 | "diff --git a/astropy/units/quantity_helper/erfa.py b/astropy/units/quantity_helper/erfa.py\nindex 6(...TRUNCATED) | "diff --git a/astropy/coordinates/tests/test_earth.py b/astropy/coordinates/tests/test_earth.py\nind(...TRUNCATED) | [{"path":"docs/changes/units/14729.feature.rst","old_path":"/dev/null","new_path":"b/docs/changes/un(...TRUNCATED) | 6.0 | 51332ce5bccc1862e9b59a8ff698bed48d0ee9d6 | ["astropy/coordinates/tests/test_earth.py::TestInput::test_invalid_input","astropy/units/tests/test_(...TRUNCATED) | ["astropy/units/tests/test_quantity_erfa_ufuncs.py::TestGeodetic::test_gc2gde","astropy/units/tests/(...TRUNCATED) | {"header":"If completing this task requires creating new files, classes, fields, or error messages, (...TRUNCATED) | [{"path":"docs/changes/units/<PRID>.feature.rst","old_path":"/dev/null","new_path":"b/docs/changes/u(...TRUNCATED) | "diff --git a/docs/changes/units/<PRID>.feature.rst b/docs/changes/units/<PRID>.feature.rst\nnew fil(...TRUNCATED) |
astropy/astropy | astropy__astropy-13993 | https://github.com/astropy/astropy/pull/13993 | "diff --git a/astropy/coordinates/earth.py b/astropy/coordinates/earth.py\nindex 724298b99075..15d10(...TRUNCATED) | "diff --git a/astropy/coordinates/tests/test_sites.py b/astropy/coordinates/tests/test_sites.py\nind(...TRUNCATED) | [{"path":"docs/changes/coordinates/13993.feature.rst","old_path":"/dev/null","new_path":"b/docs/chan(...TRUNCATED) | 5.3 | aca313fd13b760c6d3d6af9cc68c744f03c1c2dc | ["astropy/coordinates/tests/test_sites.py::test_Earthlocation_refresh_cache_is_mandatory_kwarg[of_si(...TRUNCATED) | ["astropy/coordinates/tests/test_sites.py::test_Earthlocation_refresh_cache[False-of_site-args1]","a(...TRUNCATED) | {"header":"If completing this task requires creating new files, classes, fields, or error messages, (...TRUNCATED) | [{"path":"docs/changes/coordinates/<PRID>.feature.rst","old_path":"/dev/null","new_path":"b/docs/cha(...TRUNCATED) | "diff --git a/docs/changes/coordinates/<PRID>.feature.rst b/docs/changes/coordinates/<PRID>.feature.(...TRUNCATED) |
astropy/astropy | astropy__astropy-14371 | https://github.com/astropy/astropy/pull/14371 | "diff --git a/astropy/coordinates/matrix_utilities.py b/astropy/coordinates/matrix_utilities.py\nind(...TRUNCATED) | "diff --git a/astropy/coordinates/tests/test_matrix_utilities.py b/astropy/coordinates/tests/test_ma(...TRUNCATED) | [{"path":"docs/changes/coordinates/14371.feature.rst","old_path":"/dev/null","new_path":"b/docs/chan(...TRUNCATED) | 5.3 | e2a2ca3eab1defc71aedf4cf3982f7d4793faacf | ["astropy/coordinates/tests/test_matrix_utilities.py::test_rotation_matrix","astropy/coordinates/tes(...TRUNCATED) | ["astropy/coordinates/tests/test_matrix_utilities.py::test_is_rotation","astropy/coordinates/tests/t(...TRUNCATED) | {"header":"If completing this task requires creating new files, classes, fields, or error messages, (...TRUNCATED) | [{"path":"docs/changes/coordinates/<PRID>.feature.rst","old_path":"/dev/null","new_path":"b/docs/cha(...TRUNCATED) | "diff --git a/docs/changes/coordinates/<PRID>.feature.rst b/docs/changes/coordinates/<PRID>.feature.(...TRUNCATED) |
astropy/astropy | astropy__astropy-14628 | https://github.com/astropy/astropy/pull/14628 | "diff --git a/astropy/coordinates/earth.py b/astropy/coordinates/earth.py\nindex bf8de3ebd60e..f7f1e(...TRUNCATED) | "diff --git a/astropy/coordinates/tests/test_intermediate_transformations.py b/astropy/coordinates/t(...TRUNCATED) | [{"path":"docs/changes/coordinates/14628.feature.rst","old_path":"/dev/null","new_path":"b/docs/chan(...TRUNCATED) | 5.3 | c667e73df92215cf1446c3eda71a56fdaebba426 | ["astropy/coordinates/tests/test_intermediate_transformations.py::test_gcrs_altaz_bothroutes[testfra(...TRUNCATED) | [
"astropy/coordinates/tests/test_intermediate_transformations.py::test_itrs_straight_overhead"
] | {"header":"If completing this task requires creating new files, classes, fields, or error messages, (...TRUNCATED) | [{"path":"docs/changes/coordinates/<PRID>.feature.rst","old_path":"/dev/null","new_path":"b/docs/cha(...TRUNCATED) | "diff --git a/docs/changes/coordinates/<PRID>.feature.rst b/docs/changes/coordinates/<PRID>.feature.(...TRUNCATED) |
astropy/astropy | astropy__astropy-12353 | https://github.com/astropy/astropy/pull/12353 | "diff --git a/astropy/cosmology/flrw/scalar_inv_efuncs.pyx b/astropy/cosmology/flrw/scalar_inv_efunc(...TRUNCATED) | "diff --git a/astropy/cosmology/flrw/tests/test_w0wzcdm.py b/astropy/cosmology/flrw/tests/test_w0wzc(...TRUNCATED) | [{"path":"docs/changes/cosmology/12353.feature.rst","old_path":"/dev/null","new_path":"b/docs/change(...TRUNCATED) | 5.3 | 4e88b6dddf4a6cc6c8d7cbd7a3de10e6cd6d64d3 | [] | ["astropy/cosmology/flrw/tests/test_wpwazpcdm.py::TestFlatwpwaCDM::test_readwrite_html_subclass_part(...TRUNCATED) | {"header":"If completing this task requires creating new files, classes, fields, or error messages, (...TRUNCATED) | [{"path":"docs/changes/cosmology/<PRID>.feature.rst","old_path":"/dev/null","new_path":"b/docs/chang(...TRUNCATED) | "diff --git a/docs/changes/cosmology/<PRID>.feature.rst b/docs/changes/cosmology/<PRID>.feature.rst\(...TRUNCATED) |
End of preview. Expand in Data Studio
Dataset Summary
NoCode-bench is a dataset that tests systems’ no-code feature addition ability automatically.
Languages
The text of the dataset is primarily English, but we make no effort to filter or otherwise clean based on language type.
Dataset Structure
An example of a SWE-bench datum is as follows:
repo: (str) - The repository owner/name identifier from GitHub.
instance_id: (str) - A formatted instance identifier, usually as repo_owner__repo_name-PR-number.
html_url: (str) - The URL of the PR web page where the instances are collected.
feature_patch: (str) - The gold patch, the patch generated by the PR (minus test-related code), that resolved the issue.
test_patch: (str) - A test-file patch that was contributed by the solution PR.
doc_changes: (list) - The documentation changes in a certain PR.
version: (str) - Installation version to use for running evaluation.
base_commit: (str) - The commit hash of the repository representing the HEAD of the repository before the solution PR is applied.
PASS2PASS: (str) - A json list of strings that represent tests that should pass before and after the PR application.
FAIL2PASS: (str) - A json list of strings that represent the set of tests resolved by the PR and tied to the issue resolution.
augmentations: (dict) - A set of names of the entity used to implement the feature.
mask_doc_diff: (list) - The documentation changes in a certain PR, which masked the PR number.
problem_statement: (str) - The main input contained `mask_doc_diff` and `augmentations`.
- Downloads last month
- 37