round stringclasses 1
value | task_id stringlengths 26 26 | environment_id stringlengths 18 45 | repo stringlengths 8 36 | base_commit stringlengths 40 40 | docker_image stringlengths 53 80 | cwd stringclasses 1
value | prompt stringlengths 647 3.68k | docker_init_command stringclasses 24
values | f2p_command stringlengths 82 272 | p2p_command stringlengths 93 34.8k | f2p_tests listlengths 1 71 | p2p_tests listlengths 2 545 | authored_tests listlengths 3 137 | hidden_test_files listlengths 1 3 | result_parser stringclasses 1
value | hidden_tests_patch stringlengths 1.62k 16.7k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
round0 | t300-20261105-01-task-0002 | env-Krukov__cashews-171 | Krukov/cashews | 0b64ec98052f6dcbb3be0962ff2b8f54b96f076d | swerebench/sweb.eval.x86_64.krukov_1776_cashews-171:latest | /testbed | # `close()` raises `RuntimeError: ... attached to a different loop` when the backend was initialized on another event loop
Calling `await cache.close()` fails with
```
RuntimeError: Task ... got Future <Task ... coro=<_Memory._remove_expired() ...>> attached to a different loop
```
whenever the underlying `Memory` b... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_close_cross_loop.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short 'tests/test_tags_feature.py::test_register_tags[memory]' 'tests/test_tags_feature.py::test_tags_no_delete[memory]' 'tests/test_tags_feature.py::test_tags_set[memory]' 'tests/test_tags_feature.py::test_tags_incr[memory]' 'tests/test_tags_feature.py::test_set_delete_set_delete_tag[memory]'... | [
"tests/test_taskpilot_close_cross_loop.py::test_close_from_different_loop_after_init_loop_closed",
"tests/test_taskpilot_close_cross_loop.py::test_close_from_different_loop_while_init_loop_alive",
"tests/test_taskpilot_close_cross_loop.py::test_backend_reusable_after_cross_loop_close",
"tests/test_taskpilot_c... | [
"tests/test_tags_feature.py::test_register_tags[memory]",
"tests/test_tags_feature.py::test_tags_no_delete[memory]",
"tests/test_tags_feature.py::test_tags_set[memory]",
"tests/test_tags_feature.py::test_tags_incr[memory]",
"tests/test_tags_feature.py::test_set_delete_set_delete_tag[memory]",
"tests/test_... | [
"tests/test_taskpilot_close_cross_loop.py::test_close_from_different_loop_after_init_loop_closed",
"tests/test_taskpilot_close_cross_loop.py::test_close_from_different_loop_while_init_loop_alive",
"tests/test_taskpilot_close_cross_loop.py::test_close_on_same_loop_still_works",
"tests/test_taskpilot_close_cros... | [
"tests/test_taskpilot_close_cross_loop.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_close_cross_loop.py b/tests/test_taskpilot_close_cross_loop.py
new file mode 100644
index 0000000..3a41049
--- /dev/null
+++ b/tests/test_taskpilot_close_cross_loop.py
@@ -0,0 +1,185 @@
+"""
+Regression tests for `close()` on the memory backend when it is called from a
+different event... |
round0 | t300-20261105-01-task-0007 | env-hhm970__c10-games-tracker-project-188 | hhm970/c10-games-tracker-project | d4a7b8d733048d544bfce051c1133fd8fd3eb679 | swerebench/sweb.eval.x86_64.hhm970_1776_c10-games-tracker-project-188:latest | /testbed | # GOG extraction returns `None` when new releases span more than one page
`handler()` / `search_pages_last_day()` in `pipeline/extract/gog/extract_gog.py` should return a `list[list]` of details for every game released in the last 24 hours. That works when all new games fit on the first search-results page, but as soo... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 dd2fa7c2920408f0b3d0d11847ab8f14758c852192027b4ffaafbee863d187a7
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short pipeline/extract/gog/test_taskpilot_gog_multipage.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short pipeline/extract/gog/test_extract_gog.py::test_get_price pipeline/extract/gog/test_extract_gog.py::test_get_price_bad_input pipeline/extract/gog/test_extract_gog.py::test_get_rating pipeline/extract/gog/test_extract_gog.py::test_get_rating_no_rating pipeline/extract/gog/test_extract_gog.... | [
"pipeline/extract/gog/test_taskpilot_gog_multipage.py::test_handler_returns_rows_across_multiple_pages"
] | [
"pipeline/extract/gog/test_extract_gog.py::test_get_price",
"pipeline/extract/gog/test_extract_gog.py::test_get_price_bad_input",
"pipeline/extract/gog/test_extract_gog.py::test_get_rating",
"pipeline/extract/gog/test_extract_gog.py::test_get_rating_no_rating",
"pipeline/extract/gog/test_extract_gog.py::tes... | [
"pipeline/extract/gog/test_taskpilot_gog_multipage.py::test_handler_returns_rows_across_multiple_pages",
"pipeline/extract/gog/test_taskpilot_gog_multipage.py::test_search_pages_last_day_single_page",
"pipeline/extract/gog/test_taskpilot_gog_multipage.py::test_search_pages_last_day_stops_at_older_releases"
] | [
"pipeline/extract/gog/test_taskpilot_gog_multipage.py"
] | pytest-junit-v1 | diff --git a/pipeline/extract/gog/test_taskpilot_gog_multipage.py b/pipeline/extract/gog/test_taskpilot_gog_multipage.py
new file mode 100644
index 0000000..1f12d5a
--- /dev/null
+++ b/pipeline/extract/gog/test_taskpilot_gog_multipage.py
@@ -0,0 +1,164 @@
+'''Tests that GOG extraction returns every game released in the... |
round0 | t300-20261105-01-task-0009 | env-fjosw__pyerrors-139 | fjosw/pyerrors | 64034747c07f81053ec72adae51fe6d90a1387d1 | swerebench/sweb.eval.x86_64.fjosw_1776_pyerrors-139:latest | /testbed | # Derived observables silently drop configurations from their `idl`
When an `Obs` is combined with another `Obs` (e.g. `a * b`, `a + b`, or elementwise `Corr` operations), the derived observable should be defined on the union of the Monte Carlo configurations of all inputs. Instead, configurations whose merged fluctua... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 22b24f95d77b930b2f2dd0a3a5ba70d250cc8af20834bf28017345b8953b77b7
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_derived_idl.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/correlators_test.py::test_function_overloading tests/correlators_test.py::test_modify_correlator tests/correlators_test.py::test_deriv tests/correlators_test.py::test_m_eff tests/correlators_test.py::test_m_eff_negative_values tests/correlators_test.py::test_reweighting tests/corre... | [
"tests/test_taskpilot_derived_idl.py::test_multiply_idl_is_union_of_inputs",
"tests/test_taskpilot_derived_idl.py::test_arithmetic_operations_keep_union_of_idl",
"tests/test_taskpilot_derived_idl.py::test_zero_fluctuation_configurations_are_kept",
"tests/test_taskpilot_derived_idl.py::test_error_is_computed_o... | [
"tests/correlators_test.py::test_function_overloading",
"tests/correlators_test.py::test_modify_correlator",
"tests/correlators_test.py::test_deriv",
"tests/correlators_test.py::test_m_eff",
"tests/correlators_test.py::test_m_eff_negative_values",
"tests/correlators_test.py::test_reweighting",
"tests/co... | [
"tests/test_taskpilot_derived_idl.py::test_multiply_idl_is_union_of_inputs",
"tests/test_taskpilot_derived_idl.py::test_arithmetic_operations_keep_union_of_idl",
"tests/test_taskpilot_derived_idl.py::test_zero_fluctuation_configurations_are_kept",
"tests/test_taskpilot_derived_idl.py::test_error_is_computed_o... | [
"tests/test_taskpilot_derived_idl.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_derived_idl.py b/tests/test_taskpilot_derived_idl.py
new file mode 100644
index 0000000..d6dea31
--- /dev/null
+++ b/tests/test_taskpilot_derived_idl.py
@@ -0,0 +1,159 @@
+"""Tests for the configuration (idl) handling of derived observables.
+
+Regression tests for the issue that deriv... |
round0 | t300-20261105-01-task-0013 | env-snakemake__snakemake-469 | snakemake/snakemake | d550d20ce9520fd328e166938df253b2ca63fc8a | swerebench/sweb.eval.x86_64.snakemake_1776_snakemake-469:latest | /testbed | # Trailing whitespace in a wildcard constraint becomes part of the regex
A wildcard constraint written with a trailing space before the closing `}`, e.g. `"{sample,\d+ }.txt"`, is parsed as the regex `\d+ ` — the whitespace is included verbatim instead of being stripped. The pattern then requires a literal whitespace ... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_wildcard_constraint_whitespace.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_io.py::test_wildcard_regex --junitxml=/tmp/p2p.xml | [
"tests/test_taskpilot_wildcard_constraint_whitespace.py::test_repeated_wildcard_backreference_with_constrained_first_occurrence",
"tests/test_taskpilot_wildcard_constraint_whitespace.py::test_whitespace_around_name_and_constraint_is_stripped[{sample,\\\\d+ }]",
"tests/test_taskpilot_wildcard_constraint_whitespa... | [
"tests/test_io.py::test_wildcard_regex",
"tests/test_taskpilot_wildcard_constraint_whitespace.py::test_constraint_on_repeated_wildcard_still_rejected",
"tests/test_taskpilot_wildcard_constraint_whitespace.py::test_whitespace_around_name_and_constraint_is_stripped[{sample,\\\\d+}]",
"tests/test_taskpilot_wildc... | [
"tests/test_taskpilot_wildcard_constraint_whitespace.py::test_repeated_wildcard_backreference_with_constrained_first_occurrence",
"tests/test_taskpilot_wildcard_constraint_whitespace.py::test_whitespace_around_name_and_constraint_is_stripped[{sample,\\\\d+ }]",
"tests/test_taskpilot_wildcard_constraint_whitespa... | [
"tests/test_taskpilot_wildcard_constraint_whitespace.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_wildcard_constraint_whitespace.py b/tests/test_taskpilot_wildcard_constraint_whitespace.py
new file mode 100644
index 00000000..85de4f80
--- /dev/null
+++ b/tests/test_taskpilot_wildcard_constraint_whitespace.py
@@ -0,0 +1,115 @@
+"""Trailing whitespace in a wildcard constraint must no... |
round0 | t300-20261105-01-task-0016 | env-lark-parser__lark-1481 | lark-parser/lark | 24d0cf7b5b56db77203dbbe794e50958433130ea | swerebench/sweb.eval.x86_64.lark-parser_1776_lark-1481:latest | /testbed | # DEDENT tokens injected at end of input carry no position information
When a grammar uses an `Indenter` (e.g. the built-in `PythonIndenter`) and the input ends while an indented block is still open, the `_DEDENT` tokens injected at end-of-input have no position information: `start_pos`, `line`, `column`, `end_line`, ... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_dedent_eof_positions.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_grammar.py::TestGrammar::test_alias_in_terminal tests/test_grammar.py::TestGrammar::test_empty_literal tests/test_grammar.py::TestGrammar::test_errors tests/test_grammar.py::TestGrammar::test_extend_rule tests/test_grammar.py::TestGrammar::test_extend_term tests/test_grammar.p... | [
"tests/test_taskpilot_dedent_eof_positions.py::TestDedentPositionAtEof::test_eof_dedent_token_has_position",
"tests/test_taskpilot_dedent_eof_positions.py::TestDedentPositionAtEof::test_multiple_eof_dedent_tokens_have_positions",
"tests/test_taskpilot_dedent_eof_positions.py::TestDedentPositionAtEof::test_parse... | [
"tests/test_grammar.py::TestGrammar::test_alias_in_terminal",
"tests/test_grammar.py::TestGrammar::test_empty_literal",
"tests/test_grammar.py::TestGrammar::test_errors",
"tests/test_grammar.py::TestGrammar::test_extend_rule",
"tests/test_grammar.py::TestGrammar::test_extend_term",
"tests/test_grammar.py:... | [
"tests/test_taskpilot_dedent_eof_positions.py::TestDedentPositionAtEof::test_eof_dedent_token_has_position",
"tests/test_taskpilot_dedent_eof_positions.py::TestDedentPositionAtEof::test_multiple_eof_dedent_tokens_have_positions",
"tests/test_taskpilot_dedent_eof_positions.py::TestDedentPositionAtEof::test_midst... | [
"tests/test_taskpilot_dedent_eof_positions.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_dedent_eof_positions.py b/tests/test_taskpilot_dedent_eof_positions.py
new file mode 100644
index 0000000..1e4f78d
--- /dev/null
+++ b/tests/test_taskpilot_dedent_eof_positions.py
@@ -0,0 +1,182 @@
+"""DEDENT tokens injected at end-of-input must carry position information.
+
+Grounded ... |
round0 | t300-20261105-01-task-0018 | env-python-cmd2__cmd2-666 | python-cmd2/cmd2 | 7a20c2e312513b8a84a6cfb56263cac9c67df04d | swerebench/sweb.eval.x86_64.python-cmd2_1776_cmd2-666:latest | /testbed | # `strip_ansi()` leaves non-color CSI sequences and eats text up to the next `m`
`cmd2.utils.strip_ansi()` only strips SGR (color/style) sequences ending in `m`. Other CSI sequences (starting with `ESC [`) are left in the output, and if such a sequence is followed by text containing a literal `m`, everything between t... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_strip_ansi_csi.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_utils.py::test_strip_ansi tests/test_utils.py::test_ansi_safe_wcswidth tests/test_utils.py::test_strip_quotes_no_quotes tests/test_utils.py::test_strip_quotes_with_quotes tests/test_utils.py::test_remove_duplicates_no_duplicates tests/test_utils.py::test_remove_duplicates_with... | [
"tests/test_taskpilot_strip_ansi_csi.py::test_strip_ansi_removes_non_sgr_csi_sequence",
"tests/test_taskpilot_strip_ansi_csi.py::test_strip_ansi_does_not_eat_text_up_to_next_m",
"tests/test_taskpilot_strip_ansi_csi.py::test_strip_ansi_removes_various_csi_final_bytes",
"tests/test_taskpilot_strip_ansi_csi.py::... | [
"tests/test_utils.py::test_strip_ansi",
"tests/test_utils.py::test_ansi_safe_wcswidth",
"tests/test_utils.py::test_strip_quotes_no_quotes",
"tests/test_utils.py::test_strip_quotes_with_quotes",
"tests/test_utils.py::test_remove_duplicates_no_duplicates",
"tests/test_utils.py::test_remove_duplicates_with_d... | [
"tests/test_taskpilot_strip_ansi_csi.py::test_strip_ansi_removes_non_sgr_csi_sequence",
"tests/test_taskpilot_strip_ansi_csi.py::test_strip_ansi_does_not_eat_text_up_to_next_m",
"tests/test_taskpilot_strip_ansi_csi.py::test_strip_ansi_removes_various_csi_final_bytes",
"tests/test_taskpilot_strip_ansi_csi.py::... | [
"tests/test_taskpilot_strip_ansi_csi.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_strip_ansi_csi.py b/tests/test_taskpilot_strip_ansi_csi.py
new file mode 100644
index 00000000..16751c02
--- /dev/null
+++ b/tests/test_taskpilot_strip_ansi_csi.py
@@ -0,0 +1,79 @@
+# coding=utf-8
+"""
+Regression tests for cmd2.utils.strip_ansi() and cmd2.utils.ansi_safe_wcswidth().
+... |
round0 | t300-20261105-01-task-0032 | env-h2non__jsonpath-ng-62 | h2non/jsonpath-ng | fefc4dd188c8acb45df0704fa694bba039cdc1e5 | swerebench/sweb.eval.x86_64.h2non_1776_jsonpath-ng-62:latest | /testbed | # Parsed JSONPath objects are unhashable
`JSONPath` objects returned by `parse()` define value-based equality (`parse('$.a') == parse('$.a')` is `True`), but they can't be hashed. Putting any parsed path — or node types like `Root`, `This`, `Fields`, `Index`, `Slice`, `Child`, `Descendants` — into a `set`, using it as... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_hash_equality.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_jsonpath.py::TestDatumInContext::test_DatumInContext_in_context tests/test_jsonpath.py::TestDatumInContext::test_DatumInContext_init tests/test_jsonpath.py::TestJsonPath::test_child_auto_id tests/test_jsonpath.py::TestJsonPath::test_child_value tests/test_jsonpath.py::TestJson... | [
"tests/test_taskpilot_hash_equality.py::test_parsed_path_usable_in_set[$]",
"tests/test_taskpilot_hash_equality.py::test_parsed_path_usable_in_set[$.a]",
"tests/test_taskpilot_hash_equality.py::test_parsed_path_usable_in_set[$.a.b]",
"tests/test_taskpilot_hash_equality.py::test_parsed_path_usable_in_set[$.a[*... | [
"tests/test_jsonpath.py::TestDatumInContext::test_DatumInContext_in_context",
"tests/test_jsonpath.py::TestDatumInContext::test_DatumInContext_init",
"tests/test_jsonpath.py::TestJsonPath::test_child_auto_id",
"tests/test_jsonpath.py::TestJsonPath::test_child_value",
"tests/test_jsonpath.py::TestJsonPath::t... | [
"tests/test_taskpilot_hash_equality.py::test_parsed_path_usable_in_set[$]",
"tests/test_taskpilot_hash_equality.py::test_parsed_path_usable_in_set[$.a]",
"tests/test_taskpilot_hash_equality.py::test_parsed_path_usable_in_set[$.a.b]",
"tests/test_taskpilot_hash_equality.py::test_parsed_path_usable_in_set[$.a[*... | [
"tests/test_taskpilot_hash_equality.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_hash_equality.py b/tests/test_taskpilot_hash_equality.py
new file mode 100644
index 0000000..818ba95
--- /dev/null
+++ b/tests/test_taskpilot_hash_equality.py
@@ -0,0 +1,201 @@
+"""Parsed JSONPath objects must be hashable and Union/Intersect must compare by value.
+
+Grounded in the pu... |
round0 | t300-20261105-01-task-0045 | env-ivankorobkov__python-inject-66 | ivankorobkov/python-inject | 7cb156772cd1a1155b0b4f743fca519a104374c8 | swerebench/sweb.eval.x86_64.ivankorobkov_1776_python-inject-66:latest | /testbed | # Parameter-injection decorators don't preserve coroutine-function detection for `async def` functions
Applying `@inject.params(...)` or `@inject.autoparams()` to an `async def` function produces a wrapper that `inspect.iscoroutinefunction()` and `asyncio.iscoroutinefunction()` no longer recognize as a coroutine funct... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 efdd21b67a27872838e400a083e7c9263e191a40905afd2ab06732d675e4c1a5
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short test/test_taskpilot_async_params.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short test/test_param.py::TestInjectParams::test_param_by_class test/test_param.py::TestInjectParams::test_param_by_name test/test_params.py::TestInjectParams::test_params test/test_params.py::TestInjectParams::test_params_multi test/test_params.py::TestInjectParams::test_params_on_classmethod... | [
"test/test_taskpilot_async_params.py::TestInjectParamsAsync::test_params_async_on_method",
"test/test_taskpilot_async_params.py::TestInjectParamsAsync::test_params_async_detected_as_coroutine_function",
"test/test_taskpilot_async_params.py::TestInjectAutoparamsAsync::test_autoparams_async_detected_as_coroutine_... | [
"test/test_param.py::TestInjectParams::test_param_by_class",
"test/test_param.py::TestInjectParams::test_param_by_name",
"test/test_params.py::TestInjectParams::test_params",
"test/test_params.py::TestInjectParams::test_params_multi",
"test/test_params.py::TestInjectParams::test_params_on_classmethod",
"t... | [
"test/test_taskpilot_async_params.py::TestInjectParamsAsync::test_params_async_on_method",
"test/test_taskpilot_async_params.py::TestInjectParamsAsync::test_params_async_explicit_args_not_overwritten",
"test/test_taskpilot_async_params.py::TestInjectParamsAsync::test_params_async_injects_and_result_is_awaitable... | [
"test/test_taskpilot_async_params.py"
] | pytest-junit-v1 | diff --git a/test/test_taskpilot_async_params.py b/test/test_taskpilot_async_params.py
new file mode 100644
index 0000000..da9cc7f
--- /dev/null
+++ b/test/test_taskpilot_async_params.py
@@ -0,0 +1,160 @@
+"""Tests for coroutine-function detection preservation by @inject.params/@inject.autoparams.
+
+Applying the param... |
round0 | t300-20261105-01-task-0050 | env-larq__zookeeper-228 | larq/zookeeper | 52b97b05f09cf8f29d65cc82f1be1ce2fd6dfdc4 | swerebench/sweb.eval.x86_64.larq_1776_zookeeper-228:latest | /testbed | # Sub-components selected through configuration are not linked to their parent, breaking field-value inheritance
When a `ComponentField` receives its sub-component through configuration, the child is not linked to its parent (`__component_parent__` is `None`) and cannot inherit field values. Any field without its own ... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 22b24f95d77b930b2f2dd0a3a5ba70d250cc8af20834bf28017345b8953b77b7
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short zookeeper/core/test_taskpilot_component_field_parent_link.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short zookeeper/core/component_test.py::test_non_class_decorate_error zookeeper/core/component_test.py::test_abstract_class_decorate_error zookeeper/core/component_test.py::test_init_decorate_error zookeeper/core/component_test.py::test_no_init zookeeper/core/component_test.py::test_configure_... | [
"zookeeper/core/test_taskpilot_component_field_parent_link.py::test_taskpilot_subcomponent_from_class_name_string_inherits_parent_values",
"zookeeper/core/test_taskpilot_component_field_parent_link.py::test_taskpilot_subcomponent_instance_in_conf_inherits_parent_values",
"zookeeper/core/test_taskpilot_component... | [
"zookeeper/core/component_test.py::test_non_class_decorate_error",
"zookeeper/core/component_test.py::test_abstract_class_decorate_error",
"zookeeper/core/component_test.py::test_init_decorate_error",
"zookeeper/core/component_test.py::test_no_init",
"zookeeper/core/component_test.py::test_configure_overrid... | [
"zookeeper/core/test_taskpilot_component_field_parent_link.py::test_taskpilot_subcomponent_from_class_name_string_inherits_parent_values",
"zookeeper/core/test_taskpilot_component_field_parent_link.py::test_taskpilot_subcomponent_instance_in_conf_inherits_parent_values",
"zookeeper/core/test_taskpilot_component... | [
"zookeeper/core/test_taskpilot_component_field_parent_link.py"
] | pytest-junit-v1 | diff --git a/zookeeper/core/test_taskpilot_component_field_parent_link.py b/zookeeper/core/test_taskpilot_component_field_parent_link.py
new file mode 100644
index 0000000..6905e75
--- /dev/null
+++ b/zookeeper/core/test_taskpilot_component_field_parent_link.py
@@ -0,0 +1,166 @@
+"""Tests that sub-components selected t... |
round0 | t300-20261105-01-task-0051 | env-peterbe__hashin-83 | peterbe/hashin | ffe6115cceef588f6e559710d9ce2fdb3e07f4eb | swerebench/sweb.eval.x86_64.peterbe_1776_hashin-83:latest | /testbed | # `--python-version` fails with "Unrecognizable url" on URLs with `#sha256=` fragments
Running hashin with `-p` / `--python-version` against the live PyPI JSON API aborts with:
```
hashin.PackageError: Unrecognizable url: https://files.pythonhosted.org/packages/.../somepkg-1.0-py3-none-any.whl#sha256=<digest>
```
Th... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 efdd21b67a27872838e400a083e7c9263e191a40905afd2ab06732d675e4c1a5
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_sha256_fragments.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_cli.py::Tests::test_amend_requirements_content_new tests/test_cli.py::Tests::test_amend_requirements_content_new_similar_name tests/test_cli.py::Tests::test_amend_requirements_content_replacement tests/test_cli.py::Tests::test_amend_requirements_content_replacement_2 tests/tes... | [
"tests/test_taskpilot_sha256_fragments.py::Sha256FragmentTests::test_filter_releases_with_sha256_fragments",
"tests/test_taskpilot_sha256_fragments.py::Sha256FragmentTests::test_get_package_hashes_sha256_fragments_with_python_versions",
"tests/test_taskpilot_sha256_fragments.py::Sha256FragmentTests::test_releas... | [
"tests/test_cli.py::Tests::test_amend_requirements_content_new",
"tests/test_cli.py::Tests::test_amend_requirements_content_new_similar_name",
"tests/test_cli.py::Tests::test_amend_requirements_content_replacement",
"tests/test_cli.py::Tests::test_amend_requirements_content_replacement_2",
"tests/test_cli.p... | [
"tests/test_taskpilot_sha256_fragments.py::Sha256FragmentTests::test_filter_releases_with_sha256_fragments",
"tests/test_taskpilot_sha256_fragments.py::Sha256FragmentTests::test_get_package_hashes_sha256_fragments_with_python_versions",
"tests/test_taskpilot_sha256_fragments.py::Sha256FragmentTests::test_releas... | [
"tests/test_taskpilot_sha256_fragments.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_sha256_fragments.py b/tests/test_taskpilot_sha256_fragments.py
new file mode 100644
index 0000000..f7f161c
--- /dev/null
+++ b/tests/test_taskpilot_sha256_fragments.py
@@ -0,0 +1,293 @@
+"""
+Tests for classifying PyPI file URLs that carry a ``#sha256=<digest>`` fragment.
+
+The PyPI J... |
round0 | t300-20261105-01-task-0054 | env-encode__starlette-1147 | encode/starlette | 23e15789bf6b879b455f1249e47a43d4c752b3ed | swerebench/sweb.eval.x86_64.encode_1776_starlette-1147:latest | /testbed | # SessionMiddleware raises an unhandled exception for a correctly signed cookie with malformed data
`SessionMiddleware` handles cookies with an invalid or expired signature by treating the session as empty, but if the cookie is correctly signed with the app's secret key and the payload is not valid base64/JSON, loadin... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 c7840b2f1689de1cc24bfa01085e58a0a48f4d78642f2175c67ba9b1360e23ab
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/middleware/test_taskpilot_session.py tests/middleware/test_taskpilot_quality_9f239f92841e4b547864640c499db078eb34b526a241a9c47105174d0691915c.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/middleware/test_session.py::test_session tests/middleware/test_session.py::test_session_expires tests/middleware/test_session.py::test_secure_session --junitxml=/tmp/p2p.xml | [
"tests/middleware/test_taskpilot_session.py::test_signed_cookie_with_undecodable_payload_yields_empty_session",
"tests/middleware/test_taskpilot_session.py::test_signed_cookie_with_non_json_payload_yields_empty_session",
"tests/middleware/test_taskpilot_session.py::test_signed_cookie_with_non_object_json_yields... | [
"tests/middleware/test_session.py::test_session",
"tests/middleware/test_session.py::test_session_expires",
"tests/middleware/test_session.py::test_secure_session",
"tests/middleware/test_taskpilot_session.py::test_expired_signed_cookie_yields_empty_session",
"tests/middleware/test_taskpilot_session.py::tes... | [
"tests/middleware/test_taskpilot_session.py::test_signed_cookie_with_undecodable_payload_yields_empty_session",
"tests/middleware/test_taskpilot_session.py::test_signed_cookie_with_non_json_payload_yields_empty_session",
"tests/middleware/test_taskpilot_session.py::test_signed_cookie_with_non_object_json_yields... | [
"tests/middleware/test_taskpilot_session.py",
"tests/middleware/test_taskpilot_quality_9f239f92841e4b547864640c499db078eb34b526a241a9c47105174d0691915c.py"
] | pytest-junit-v1 | diff --git a/tests/middleware/test_taskpilot_quality_9f239f92841e4b547864640c499db078eb34b526a241a9c47105174d0691915c.py b/tests/middleware/test_taskpilot_quality_9f239f92841e4b547864640c499db078eb34b526a241a9c47105174d0691915c.py
new file mode 100644
index 0000000..629e18e
--- /dev/null
+++ b/tests/middleware/test_tas... |
round0 | t300-20261105-01-task-0064 | env-encode__starlette-195 | encode/starlette | 58888bb53fa54991479d8a9a4c32d6b41b334b2c | swerebench/sweb.eval.x86_64.encode_1776_starlette-195:latest | /testbed | # StaticFiles accepts a non-existent `directory` and only fails on the first request
`StaticFiles` does not validate its `directory` argument at instantiation time. A typo'd or non-existent directory is accepted silently, and the mistake only surfaces when the first request is served, as a `RuntimeError` raised from i... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 c7840b2f1689de1cc24bfa01085e58a0a48f4d78642f2175c67ba9b1360e23ab
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_staticfiles.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_staticfiles.py::test_staticfiles tests/test_staticfiles.py::test_staticfiles_post tests/test_staticfiles.py::test_staticfiles_with_directory_returns_404 tests/test_staticfiles.py::test_staticfiles_with_missing_file_returns_404 tests/test_staticfiles.py::test_staticfiles_config... | [
"tests/test_taskpilot_staticfiles.py::test_staticfiles_missing_directory_raises_at_instantiation",
"tests/test_taskpilot_staticfiles.py::test_staticfiles_file_instead_of_directory_raises_at_instantiation",
"tests/test_taskpilot_staticfiles.py::test_staticfiles_check_dir_false_allows_missing_directory",
"tests... | [
"tests/test_staticfiles.py::test_staticfiles",
"tests/test_staticfiles.py::test_staticfiles_post",
"tests/test_staticfiles.py::test_staticfiles_with_directory_returns_404",
"tests/test_staticfiles.py::test_staticfiles_with_missing_file_returns_404",
"tests/test_staticfiles.py::test_staticfiles_config_check_... | [
"tests/test_taskpilot_staticfiles.py::test_staticfiles_missing_directory_raises_at_instantiation",
"tests/test_taskpilot_staticfiles.py::test_staticfiles_file_instead_of_directory_raises_at_instantiation",
"tests/test_taskpilot_staticfiles.py::test_staticfiles_check_dir_false_allows_missing_directory",
"tests... | [
"tests/test_taskpilot_staticfiles.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_staticfiles.py b/tests/test_taskpilot_staticfiles.py
new file mode 100644
index 0000000..bcb93aa
--- /dev/null
+++ b/tests/test_taskpilot_staticfiles.py
@@ -0,0 +1,100 @@
+import os
+
+import pytest
+
+from starlette.staticfiles import StaticFiles
+from starlette.testclient import Test... |
round0 | t300-20261105-01-task-0086 | env-aio-libs__async-timeout-230 | aio-libs/async-timeout | f2c160a2d7c45609ef029792394887d80d83712f | swerebench/sweb.eval.x86_64.aio-libs_1776_async-timeout-230:latest | /testbed | # Timeout cancels the task that created it, not the task that enters it
`async-timeout` 4.0.0a3 binds the task to be cancelled when the `Timeout` object is **created**, not when the context manager is **entered**. When those happen in different tasks, the timeout cancels the wrong task; when the object is created outs... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 efdd21b67a27872838e400a083e7c9263e191a40905afd2ab06732d675e4c1a5
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_timeout_cross_task.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_timeout.py::test_timeout tests/test_timeout.py::test_timeout_finish_in_time tests/test_timeout.py::test_timeout_disable tests/test_timeout.py::test_timeout_is_none_no_schedule tests/test_timeout.py::test_timeout_no_loop tests/test_timeout.py::test_timeout_zero tests/test_timeo... | [
"tests/test_taskpilot_timeout_cross_task.py::test_timeout_cancels_entering_task_not_creating_task",
"tests/test_taskpilot_timeout_cross_task.py::test_timeout_created_outside_task_fires_in_entering_task"
] | [
"tests/test_timeout.py::test_timeout",
"tests/test_timeout.py::test_timeout_finish_in_time",
"tests/test_timeout.py::test_timeout_disable",
"tests/test_timeout.py::test_timeout_is_none_no_schedule",
"tests/test_timeout.py::test_timeout_no_loop",
"tests/test_timeout.py::test_timeout_zero",
"tests/test_ti... | [
"tests/test_taskpilot_timeout_cross_task.py::test_timeout_cancels_entering_task_not_creating_task",
"tests/test_taskpilot_timeout_cross_task.py::test_timeout_created_outside_task_fires_in_entering_task",
"tests/test_taskpilot_timeout_cross_task.py::test_timeout_created_outside_task_without_deadline"
] | [
"tests/test_taskpilot_timeout_cross_task.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_timeout_cross_task.py b/tests/test_taskpilot_timeout_cross_task.py
new file mode 100644
index 0000000..b5959f5
--- /dev/null
+++ b/tests/test_taskpilot_timeout_cross_task.py
@@ -0,0 +1,134 @@
+"""Timeout must cancel the task that *enters* the context manager,
+not the task that *create... |
round0 | t300-20261105-01-task-0097 | env-zarr-developers__zarr-python-1354 | zarr-developers/zarr-python | d7d88158c5f4e61d926675f2af9df66e7848bb68 | swerebench/sweb.eval.x86_64.zarr-developers_1776_zarr-python-1354:latest | /testbed | # `zarr.group()` raises `ReadOnlyError` with a writable fsspec mapper
Calling `zarr.group()` with a writable `fsspec.FSMap` as the `store` raises `zarr.errors.ReadOnlyError: object is read-only` as soon as the group's metadata is written, even though the mapper itself is writable:
```python
import fsspec, zarr, tempf... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short zarr/tests/test_taskpilot_group_fsspec.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short zarr/tests/test_hierarchy.py::TestGroup::test_array_creation zarr/tests/test_hierarchy.py::TestGroup::test_context_manager zarr/tests/test_hierarchy.py::TestGroup::test_create_dataset zarr/tests/test_hierarchy.py::TestGroup::test_create_errors zarr/tests/test_hierarchy.py::TestGroup::tes... | [
"zarr/tests/test_taskpilot_group_fsspec.py::test_group_with_writable_fsspec_mapper[2]",
"zarr/tests/test_taskpilot_group_fsspec.py::test_group_with_writable_file_url_string[2]"
] | [
"zarr/tests/test_hierarchy.py::TestGroup::test_array_creation",
"zarr/tests/test_hierarchy.py::TestGroup::test_context_manager",
"zarr/tests/test_hierarchy.py::TestGroup::test_create_dataset",
"zarr/tests/test_hierarchy.py::TestGroup::test_create_errors",
"zarr/tests/test_hierarchy.py::TestGroup::test_creat... | [
"zarr/tests/test_taskpilot_group_fsspec.py::test_group_with_writable_fsspec_mapper[2]",
"zarr/tests/test_taskpilot_group_fsspec.py::test_group_with_writable_file_url_string[2]",
"zarr/tests/test_taskpilot_group_fsspec.py::test_group_with_plain_path_still_writable[2]",
"zarr/tests/test_taskpilot_group_fsspec.p... | [
"zarr/tests/test_taskpilot_group_fsspec.py"
] | pytest-junit-v1 | diff --git a/zarr/tests/test_taskpilot_group_fsspec.py b/zarr/tests/test_taskpilot_group_fsspec.py
new file mode 100644
index 00000000..a29d6a2e
--- /dev/null
+++ b/zarr/tests/test_taskpilot_group_fsspec.py
@@ -0,0 +1,130 @@
+"""Regression tests for creating groups with a writable fsspec store.
+
+``zarr.group()`` used... |
round0 | t300-20261105-01-task-0098 | env-intel__dffml-862 | intel/dffml | 4d0ca9f32f015bd429e74cf9e1788d3bd0cf25f1 | swerebench/sweb.eval.x86_64.intel_1776_dffml-862:latest | /testbed | # `BinaryFileSource` fails to save plain files in `readwrite` mode and can't open or save `.zip` archives
`BinaryFileSource` subclasses declare their I/O modes via class-level attributes (e.g. `READMODE = "rb"`, `WRITEMODE = "wb"`), but several paths don't honor them:
1. Saving to a plain (uncompressed) file with `re... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/source/test_taskpilot_binary_file.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/source/test_file.py::TestFileSource::test_args tests/source/test_file.py::TestFileSource::test_close_bz2 tests/source/test_file.py::TestFileSource::test_close_gz tests/source/test_file.py::TestFileSource::test_close_lzma tests/source/test_file.py::TestFileSource::test_close_readonl... | [
"tests/source/test_taskpilot_binary_file.py::TestBinaryFileSourcePlainAndZip::test_binary_plain_readwrite_save",
"tests/source/test_taskpilot_binary_file.py::TestBinaryFileSourcePlainAndZip::test_binary_zip_open_readonly",
"tests/source/test_taskpilot_binary_file.py::TestBinaryFileSourcePlainAndZip::test_binary... | [
"tests/source/test_file.py::TestFileSource::test_args",
"tests/source/test_file.py::TestFileSource::test_close_bz2",
"tests/source/test_file.py::TestFileSource::test_close_gz",
"tests/source/test_file.py::TestFileSource::test_close_lzma",
"tests/source/test_file.py::TestFileSource::test_close_readonly",
"... | [
"tests/source/test_taskpilot_binary_file.py::TestBinaryFileSourcePlainAndZip::test_binary_gz_roundtrip",
"tests/source/test_taskpilot_binary_file.py::TestBinaryFileSourcePlainAndZip::test_binary_plain_open_readonly",
"tests/source/test_taskpilot_binary_file.py::TestBinaryFileSourcePlainAndZip::test_binary_plain... | [
"tests/source/test_taskpilot_binary_file.py"
] | pytest-junit-v1 | diff --git a/tests/source/test_taskpilot_binary_file.py b/tests/source/test_taskpilot_binary_file.py
new file mode 100644
index 000000000..c1b1264eb
--- /dev/null
+++ b/tests/source/test_taskpilot_binary_file.py
@@ -0,0 +1,153 @@
+# SPDX-License-Identifier: MIT
+# Copyright (c) 2019 Intel Corporation
+"""
+Tests for Bi... |
round0 | t300-20261105-01-task-0107 | env-PicnicSupermarket__dbt-score-93 | PicnicSupermarket/dbt-score | c5ed67fe2c504cd54e3e6d80c4e75c5bed4c63f4 | swerebench/sweb.eval.x86_64.picnicsupermarket_1776_dbt-score-93:latest | /testbed | # Crash (`KeyError: 'test_metadata'`) when the manifest contains singular tests, and singular tests are not attributed to their model
`dbt-score lint` (0.9.0) crashes with an unhandled `KeyError: 'test_metadata'` when the dbt manifest contains a singular test (a custom SQL test defined as a `.sql` file in `tests/`, as... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_singular_tests.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_models.py::test_manifest_select_models_simple tests/test_models.py::test_manifest_select_models_dbt_ls tests/test_models.py::test_manifest_no_model --junitxml=/tmp/p2p.xml | [
"tests/test_taskpilot_singular_tests.py::test_manifest_with_singular_test_on_source_loads",
"tests/test_taskpilot_singular_tests.py::test_manifest_with_singular_test_on_model_loads",
"tests/test_taskpilot_singular_tests.py::test_singular_test_on_model_with_columns_not_assigned_to_column",
"tests/test_taskpilo... | [
"tests/test_models.py::test_manifest_select_models_simple",
"tests/test_models.py::test_manifest_select_models_dbt_ls",
"tests/test_models.py::test_manifest_no_model",
"tests/test_taskpilot_singular_tests.py::test_generic_test_attribution_unchanged",
"tests/test_taskpilot_singular_tests.py::test_unattachabl... | [
"tests/test_taskpilot_singular_tests.py::test_manifest_with_singular_test_on_source_loads",
"tests/test_taskpilot_singular_tests.py::test_manifest_with_singular_test_on_model_loads",
"tests/test_taskpilot_singular_tests.py::test_singular_test_on_model_with_columns_not_assigned_to_column",
"tests/test_taskpilo... | [
"tests/test_taskpilot_singular_tests.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_singular_tests.py b/tests/test_taskpilot_singular_tests.py
new file mode 100644
index 0000000..d2def3f
--- /dev/null
+++ b/tests/test_taskpilot_singular_tests.py
@@ -0,0 +1,386 @@
+"""Tests for loading manifests that contain singular tests.
+
+A singular test is a custom SQL test defin... |
round0 | t300-20261105-01-task-0109 | env-gtsystem__python-remotezip-8 | gtsystem/python-remotezip | a0be1dd3157a0118117786e4ce994777086e869e | swerebench/sweb.eval.x86_64.gtsystem_1776_python-remotezip-8:latest | /testbed | # Reading members fails when the central directory order does not match the file data order
`RemoteZip` cannot reliably read members of a zip archive when the entries in the central directory are not stored in the same order as the local file headers / compressed data. Nothing in the zip format requires these orders t... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short test_taskpilot_unordered_central_directory.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short test_remotezip.py::TestPartialBuffer::test_static test_remotezip.py::TestPartialBuffer::test_static_oob test_remotezip.py::TestPartialBuffer::test_static_read_no_size test_remotezip.py::TestPartialBuffer::test_static_seek test_remotezip.py::TestPartialBuffer::test_stream test_remotezip.p... | [
"test_taskpilot_unordered_central_directory.py::TestUnorderedCentralDirectory::test_read_members_in_central_directory_order",
"test_taskpilot_unordered_central_directory.py::TestUnorderedCentralDirectory::test_read_members_over_http",
"test_taskpilot_unordered_central_directory.py::TestUnorderedCentralDirectory... | [
"test_remotezip.py::TestPartialBuffer::test_static",
"test_remotezip.py::TestPartialBuffer::test_static_oob",
"test_remotezip.py::TestPartialBuffer::test_static_read_no_size",
"test_remotezip.py::TestPartialBuffer::test_static_seek",
"test_remotezip.py::TestPartialBuffer::test_stream",
"test_remotezip.py:... | [
"test_taskpilot_unordered_central_directory.py::TestUnorderedCentralDirectory::test_infolist_reports_central_directory_order",
"test_taskpilot_unordered_central_directory.py::TestUnorderedCentralDirectory::test_read_members_in_central_directory_order",
"test_taskpilot_unordered_central_directory.py::TestUnorder... | [
"test_taskpilot_unordered_central_directory.py"
] | pytest-junit-v1 | diff --git a/test_taskpilot_unordered_central_directory.py b/test_taskpilot_unordered_central_directory.py
new file mode 100644
index 0000000..bf72f9f
--- /dev/null
+++ b/test_taskpilot_unordered_central_directory.py
@@ -0,0 +1,187 @@
+"""Tests for reading members of a zip archive whose central directory order
+does no... |
round0 | t300-20261105-01-task-0121 | env-pypa__setuptools_scm-929 | pypa/setuptools_scm | 65e7c568ab00ce964559b133fca8222dd0d27563 | swerebench/sweb.eval.x86_64.pypa_1776_setuptools_scm-929:latest | /testbed | # `write_to` with an absolute path crashes the build with `AssertionError`, even when the path is inside the project root
When `write_to` in `[tool.setuptools_scm]` is set to an **absolute** path, any build that goes through the setuptools integration fails with a bare `AssertionError` — even if the path points to a l... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short testing/test_taskpilot_write_to_absolute.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short testing/test_basic_api.py::test_run_plain testing/test_basic_api.py::test_data_from_mime testing/test_basic_api.py::test_version_from_pkginfo testing/test_basic_api.py::test_root_parameter_creation testing/test_basic_api.py::test_root_parameter_pass_by testing/test_basic_api.py::test_par... | [
"testing/test_taskpilot_write_to_absolute.py::test_absolute_write_to_inside_root_is_accepted",
"testing/test_taskpilot_write_to_absolute.py::test_absolute_write_to_inside_root_setuptools_integration",
"testing/test_taskpilot_write_to_absolute.py::test_absolute_write_to_outside_root_is_rejected"
] | [
"testing/test_basic_api.py::test_run_plain",
"testing/test_basic_api.py::test_data_from_mime",
"testing/test_basic_api.py::test_version_from_pkginfo",
"testing/test_basic_api.py::test_root_parameter_creation",
"testing/test_basic_api.py::test_root_parameter_pass_by",
"testing/test_basic_api.py::test_paren... | [
"testing/test_taskpilot_write_to_absolute.py::test_absolute_write_to_inside_root_is_accepted",
"testing/test_taskpilot_write_to_absolute.py::test_absolute_write_to_inside_root_setuptools_integration",
"testing/test_taskpilot_write_to_absolute.py::test_absolute_write_to_outside_root_is_rejected",
"testing/test... | [
"testing/test_taskpilot_write_to_absolute.py"
] | pytest-junit-v1 | diff --git a/testing/test_taskpilot_write_to_absolute.py b/testing/test_taskpilot_write_to_absolute.py
new file mode 100644
index 0000000..3372ef8
--- /dev/null
+++ b/testing/test_taskpilot_write_to_absolute.py
@@ -0,0 +1,90 @@
+"""write_to with an absolute path must not crash with a bare AssertionError.
+
+Regression ... |
round0 | t300-20261105-01-task-0136 | env-scikit-hep__hist-278 | scikit-hep/hist | 8a73f527b848f022d326841940bd33a8be96e0be | swerebench/sweb.eval.x86_64.scikit-hep_1776_hist-278:latest | /testbed | # `poisson_interval` returns `NaN` (instead of `0.0`) for empty bins
`hist.intervals.poisson_interval` returns `NaN` in the lower bound for every bin whose value is zero, even though the docstring says the nearest nonzero bin's scale is substituted for zero bins. The upper bound for those bins is computed normally, an... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_intervals.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_intervals.py::test_poisson_interval tests/test_intervals.py::test_clopper_pearson_interval tests/test_intervals.py::test_ratio_uncertainty --junitxml=/tmp/p2p.xml | [
"tests/test_taskpilot_intervals.py::test_poisson_interval_zero_bin_lower_bound",
"tests/test_taskpilot_intervals.py::test_poisson_interval_zero_bin_multidimensional",
"tests/test_taskpilot_intervals.py::test_poisson_interval_weighted_zero_bin",
"tests/test_taskpilot_intervals.py::test_ratio_uncertainty_zero_n... | [
"tests/test_intervals.py::test_poisson_interval",
"tests/test_intervals.py::test_clopper_pearson_interval",
"tests/test_intervals.py::test_ratio_uncertainty",
"tests/test_taskpilot_intervals.py::test_poisson_interval_all_zero_raises"
] | [
"tests/test_taskpilot_intervals.py::test_poisson_interval_zero_bin_lower_bound",
"tests/test_taskpilot_intervals.py::test_poisson_interval_zero_bin_multidimensional",
"tests/test_taskpilot_intervals.py::test_poisson_interval_weighted_zero_bin",
"tests/test_taskpilot_intervals.py::test_poisson_interval_all_zer... | [
"tests/test_taskpilot_intervals.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_intervals.py b/tests/test_taskpilot_intervals.py
new file mode 100644
index 0000000..4b83c44
--- /dev/null
+++ b/tests/test_taskpilot_intervals.py
@@ -0,0 +1,132 @@
+from __future__ import annotations
+
+import numpy as np
+import pytest
+from pytest import approx
+from scipy import st... |
round0 | t300-20261105-01-task-0140 | env-PennyLaneAI__pennylane-1357 | PennyLaneAI/pennylane | be3c88d320ee48a0f3fb761c981356137de20027 | swerebench/sweb.eval.x86_64.pennylaneai_1776_pennylane-1357:latest | /testbed | # Quantum channel operations accept invalid probabilities and produce NaN Kraus matrices
The built-in channel operations (`BitFlip`, `PhaseFlip`, `DepolarizingChannel`, `AmplitudeDamping`, `GeneralizedAmplitudeDamping`, `PhaseDamping`, `ResetError`) accept probability parameters outside their valid range without raisi... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 efdd21b67a27872838e400a083e7c9263e191a40905afd2ab06732d675e4c1a5
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/ops/test_taskpilot_channel_validation.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short 'tests/ops/test_channel_ops.py::TestChannels::test_kraus_matrices_sum_identity[0-AmplitudeDamping]' 'tests/ops/test_channel_ops.py::TestChannels::test_kraus_matrices_sum_identity[0-GeneralizedAmplitudeDamping]' 'tests/ops/test_channel_ops.py::TestChannels::test_kraus_matrices_sum_identit... | [
"tests/ops/test_taskpilot_channel_validation.py::TestSingleParameterChannelValidation::test_out_of_range_raises_at_creation[-2-BitFlip]",
"tests/ops/test_taskpilot_channel_validation.py::TestSingleParameterChannelValidation::test_out_of_range_raises_at_creation[-2-PhaseFlip]",
"tests/ops/test_taskpilot_channel_... | [
"tests/ops/test_channel_ops.py::TestChannels::test_kraus_matrices_sum_identity[0-AmplitudeDamping]",
"tests/ops/test_channel_ops.py::TestChannels::test_kraus_matrices_sum_identity[0-GeneralizedAmplitudeDamping]",
"tests/ops/test_channel_ops.py::TestChannels::test_kraus_matrices_sum_identity[0-PhaseDamping]",
... | [
"tests/ops/test_taskpilot_channel_validation.py::TestSingleParameterChannelValidation::test_out_of_range_raises_at_creation[-2-BitFlip]",
"tests/ops/test_taskpilot_channel_validation.py::TestSingleParameterChannelValidation::test_out_of_range_raises_at_creation[-2-PhaseFlip]",
"tests/ops/test_taskpilot_channel_... | [
"tests/ops/test_taskpilot_channel_validation.py"
] | pytest-junit-v1 | diff --git a/tests/ops/test_taskpilot_channel_validation.py b/tests/ops/test_taskpilot_channel_validation.py
new file mode 100644
index 000000000..737f07c55
--- /dev/null
+++ b/tests/ops/test_taskpilot_channel_validation.py
@@ -0,0 +1,149 @@
+# Copyright 2018-2021 Xanadu Quantum Technologies Inc.
+
+# Licensed under th... |
round0 | t300-20261105-01-task-0142 | env-pdm-project__pdm-1785 | pdm-project/pdm | 946164916d506ba33cf8eabbad1c21282147c737 | swerebench/sweb.eval.x86_64.pdm-project_1776_pdm-1785:latest | /testbed | # `pdm init -n` ignores the `python.use_venv` setting and never creates a virtualenv
Running `pdm init -n` (non-interactive) never consults the `python.use_venv` configuration, so no virtualenv is created even though that setting is enabled (it is `True` by default):
```bash
pdm config python.use_venv true
mkdir demo... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/cli/test_taskpilot_init_non_interactive_venv.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/cli/test_init.py::test_init_validate_python_requires tests/cli/test_init.py::test_init_command tests/cli/test_init.py::test_init_command_library tests/cli/test_init.py::test_init_non_interactive tests/cli/test_init.py::test_init_auto_create_venv_specify_python tests/cli/test_init.p... | [
"tests/cli/test_taskpilot_init_non_interactive_venv.py::test_init_non_interactive_creates_venv"
] | [
"tests/cli/test_init.py::test_init_validate_python_requires",
"tests/cli/test_init.py::test_init_command",
"tests/cli/test_init.py::test_init_command_library",
"tests/cli/test_init.py::test_init_non_interactive",
"tests/cli/test_init.py::test_init_auto_create_venv_specify_python",
"tests/cli/test_init.py:... | [
"tests/cli/test_taskpilot_init_non_interactive_venv.py::test_init_non_interactive_creates_venv",
"tests/cli/test_taskpilot_init_non_interactive_venv.py::test_init_non_interactive_no_venv_when_use_venv_disabled",
"tests/cli/test_taskpilot_init_non_interactive_venv.py::test_init_non_interactive_skip_venv_for_venv... | [
"tests/cli/test_taskpilot_init_non_interactive_venv.py"
] | pytest-junit-v1 | diff --git a/tests/cli/test_taskpilot_init_non_interactive_venv.py b/tests/cli/test_taskpilot_init_non_interactive_venv.py
new file mode 100644
index 00000000..bee1bb7f
--- /dev/null
+++ b/tests/cli/test_taskpilot_init_non_interactive_venv.py
@@ -0,0 +1,54 @@
+import subprocess
+import sys
+
+import pytest
+
+
+@pytest... |
round0 | t300-20261105-01-task-0148 | env-nipy__heudiconv-459 | nipy/heudiconv | f4c2dd20d4d529dbb978623b3e03c5dd79ad57be | swerebench/sweb.eval.x86_64.nipy_1776_heudiconv-459:latest | /testbed | # AttributeError: 'set' object has no attribute 'index' when converting multi-echo series whose sidecars lack `EchoNumber`
When converting a multi-echo DICOM series (multiple NIfTI outputs with different `EchoTime` values) with `--bids`, and at least one of the produced sidecar JSONs has an `EchoTime` but no `EchoNumb... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 c4a0562ac1af7dc0a6a4be111f086f2150bd84e8e454f3b2d72bfa176b89c961
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short heudiconv/tests/test_taskpilot_multiecho_name.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short heudiconv/tests/test_main.py::test_main_help heudiconv/tests/test_main.py::test_main_version heudiconv/tests/test_main.py::test_create_file_if_missing heudiconv/tests/test_main.py::test_populate_bids_templates heudiconv/tests/test_main.py::test_add_participant_record heudiconv/tests/test... | [
"heudiconv/tests/test_taskpilot_multiecho_name.py::test_taskpilot_multiecho_name_set_echo_times_first_echo",
"heudiconv/tests/test_taskpilot_multiecho_name.py::test_taskpilot_multiecho_name_set_echo_times_rank_by_echo_time"
] | [
"heudiconv/tests/test_main.py::test_main_help",
"heudiconv/tests/test_main.py::test_main_version",
"heudiconv/tests/test_main.py::test_create_file_if_missing",
"heudiconv/tests/test_main.py::test_populate_bids_templates",
"heudiconv/tests/test_main.py::test_add_participant_record",
"heudiconv/tests/test_m... | [
"heudiconv/tests/test_taskpilot_multiecho_name.py::test_taskpilot_multiecho_name_set_echo_times_first_echo",
"heudiconv/tests/test_taskpilot_multiecho_name.py::test_taskpilot_multiecho_name_set_echo_times_rank_by_echo_time",
"heudiconv/tests/test_taskpilot_multiecho_name.py::test_taskpilot_multiecho_name_echonu... | [
"heudiconv/tests/test_taskpilot_multiecho_name.py"
] | pytest-junit-v1 | diff --git a/heudiconv/tests/test_taskpilot_multiecho_name.py b/heudiconv/tests/test_taskpilot_multiecho_name.py
new file mode 100644
index 0000000..12a3b42
--- /dev/null
+++ b/heudiconv/tests/test_taskpilot_multiecho_name.py
@@ -0,0 +1,88 @@
+"""Regression tests for multi-echo renaming when sidecars lack ``EchoNumber`... |
round0 | t300-20261105-01-task-0153 | env-Azure__msrest-for-python-43 | Azure/msrest-for-python | 11f19f936f2d2d912782c7280f02f01ed89baf47 | swerebench/sweb.eval.x86_64.azure_1776_msrest-for-python-43:latest | /testbed | # SerializationError when a request body dict already contains timedelta values for a duration attribute
`Serializer.body()` accepts either a model instance or a plain dict for the same model type. When the input is a dict whose `duration`-typed attribute already holds a `datetime.timedelta`, `body()` raises `Serializ... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_duration_dict_body.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_serialization.py::TestModelDeserialization::test_response tests/test_serialization.py::TestRuntimeSerialized::test_attr_bool tests/test_serialization.py::TestRuntimeSerialized::test_attr_dict_simple tests/test_serialization.py::TestRuntimeSerialized::test_attr_enum tests/test_... | [
"tests/test_taskpilot_duration_dict_body.py::TestBodyDictWithDurationObject::test_body_dict_with_timedelta",
"tests/test_taskpilot_duration_dict_body.py::TestBodyDictWithDurationObject::test_body_list_of_dict_with_timedelta",
"tests/test_taskpilot_duration_dict_body.py::TestBodyDictWithDurationObject::test_body... | [
"tests/test_serialization.py::TestModelDeserialization::test_response",
"tests/test_serialization.py::TestRuntimeSerialized::test_attr_bool",
"tests/test_serialization.py::TestRuntimeSerialized::test_attr_dict_simple",
"tests/test_serialization.py::TestRuntimeSerialized::test_attr_enum",
"tests/test_seriali... | [
"tests/test_taskpilot_duration_dict_body.py::TestBodyDurationCompatibility::test_body_dict_with_invalid_duration_string_still_fails",
"tests/test_taskpilot_duration_dict_body.py::TestBodyDurationCompatibility::test_body_dict_with_iso_duration_string",
"tests/test_taskpilot_duration_dict_body.py::TestBodyDuratio... | [
"tests/test_taskpilot_duration_dict_body.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_duration_dict_body.py b/tests/test_taskpilot_duration_dict_body.py
new file mode 100644
index 0000000..ce1a5be
--- /dev/null
+++ b/tests/test_taskpilot_duration_dict_body.py
@@ -0,0 +1,85 @@
+#--------------------------------------------------------------------------
+#
+# Copyright (c... |
round0 | t300-20261105-01-task-0169 | env-kornia__kornia-1740 | kornia/kornia | e73dab6e13e7daec01418c0da1fea1fd8ff81a3f | swerebench/sweb.eval.x86_64.kornia_1776_kornia-1740:latest | /testbed | # `Boxes3D` does not round-trip boxes through the `xyzwhd` mode
Converting a 3D box to `Boxes3D` with `mode='xyzwhd'` and back to a tensor with the same mode does not preserve the original values when the box's width, height, and depth differ from each other:
```python
import torch
from kornia.geometry.boxes import B... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short test/geometry/test_taskpilot_boxes3d_xyzwhd.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short 'test/geometry/test_boxes.py::TestBoxes2D::test_smoke[cpu-float32]' 'test/geometry/test_boxes.py::TestBoxes2D::test_get_boxes_shape[cpu-float32]' 'test/geometry/test_boxes.py::TestBoxes2D::test_get_boxes_shape_batch[cpu-float32]' 'test/geometry/test_boxes.py::TestBoxes2D::test_from_inval... | [
"test/geometry/test_taskpilot_boxes3d_xyzwhd.py::TestBoxes3DXyzwhdRoundTrip::test_round_trip_asymmetric[cpu-float32-shape0]",
"test/geometry/test_taskpilot_boxes3d_xyzwhd.py::TestBoxes3DXyzwhdRoundTrip::test_round_trip_asymmetric[cpu-float32-shape1]",
"test/geometry/test_taskpilot_boxes3d_xyzwhd.py::TestBoxes3D... | [
"test/geometry/test_boxes.py::TestBoxes2D::test_smoke[cpu-float32]",
"test/geometry/test_boxes.py::TestBoxes2D::test_get_boxes_shape[cpu-float32]",
"test/geometry/test_boxes.py::TestBoxes2D::test_get_boxes_shape_batch[cpu-float32]",
"test/geometry/test_boxes.py::TestBoxes2D::test_from_invalid_tensor[cpu-float... | [
"test/geometry/test_taskpilot_boxes3d_xyzwhd.py::TestBoxes3DXyzwhdRoundTrip::test_round_trip_asymmetric[cpu-float32-shape0]",
"test/geometry/test_taskpilot_boxes3d_xyzwhd.py::TestBoxes3DXyzwhdRoundTrip::test_round_trip_asymmetric[cpu-float32-shape1]",
"test/geometry/test_taskpilot_boxes3d_xyzwhd.py::TestBoxes3D... | [
"test/geometry/test_taskpilot_boxes3d_xyzwhd.py"
] | pytest-junit-v1 | diff --git a/test/geometry/test_taskpilot_boxes3d_xyzwhd.py b/test/geometry/test_taskpilot_boxes3d_xyzwhd.py
new file mode 100644
index 00000000..ac35c910
--- /dev/null
+++ b/test/geometry/test_taskpilot_boxes3d_xyzwhd.py
@@ -0,0 +1,114 @@
+from typing import Tuple
+
+import pytest
+import torch
+from torch.testing imp... |
round0 | t300-20261105-01-task-0173 | env-scieloorg__xylose-158 | scieloorg/xylose | 135018ec4be1a30320d1f59caee922ee4a730f41 | swerebench/sweb.eval.x86_64.scieloorg_1776_xylose-158:latest | /testbed | # `Article.update_date` and `Issue.update_date` don't implement the intended fallback chain consistently
`update_date` on both `Article` and `Issue` is supposed to combine the `updated_at` field, the legacy ISIS field `v91`, the processing date, and the creation date, but it misbehaves in three ways, and the two class... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 efdd21b67a27872838e400a083e7c9263e191a40905afd2ab06732d675e4c1a5
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_update_date.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_document.py::ToolsTests::test_creative_commons_html_1 tests/test_document.py::ToolsTests::test_creative_commons_html_2 tests/test_document.py::ToolsTests::test_creative_commons_html_3 tests/test_document.py::ToolsTests::test_creative_commons_html_4 tests/test_document.py::Tool... | [
"tests/test_taskpilot_update_date.py::UpdateDateTests::test_article_update_date_empty_updated_at_does_not_hide_v91",
"tests/test_taskpilot_update_date.py::UpdateDateTests::test_issue_update_date_empty_updated_at_does_not_hide_v91",
"tests/test_taskpilot_update_date.py::UpdateDateTests::test_article_update_date_... | [
"tests/test_document.py::ToolsTests::test_creative_commons_html_1",
"tests/test_document.py::ToolsTests::test_creative_commons_html_2",
"tests/test_document.py::ToolsTests::test_creative_commons_html_3",
"tests/test_document.py::ToolsTests::test_creative_commons_html_4",
"tests/test_document.py::ToolsTests:... | [
"tests/test_taskpilot_update_date.py::UpdateDateTests::test_journal_update_date_still_uses_v941",
"tests/test_taskpilot_update_date.py::UpdateDateTests::test_article_update_date_empty_updated_at_does_not_hide_v91",
"tests/test_taskpilot_update_date.py::UpdateDateTests::test_issue_update_date_returns_none_withou... | [
"tests/test_taskpilot_update_date.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_update_date.py b/tests/test_taskpilot_update_date.py
new file mode 100644
index 0000000..a1acadc
--- /dev/null
+++ b/tests/test_taskpilot_update_date.py
@@ -0,0 +1,191 @@
+# coding: utf-8
+"""Tests for the ``update_date`` fallback chain of ``Article`` and ``Issue``.
+
+``update_date`` ... |
round0 | t300-20261105-01-task-0174 | env-pvlib__pvanalytics-128 | pvlib/pvanalytics | 31771dedb1afa641557dcdbaa11bc82c93f9adf1 | swerebench/sweb.eval.x86_64.pvlib_1776_pvanalytics-128:latest | /testbed | # `features.clearsky.reno()` rejects every input with `ValueError` and only inspects a single timestamp gap
`pvanalytics.features.clearsky.reno()` currently raises
```
ValueError: clearsky requires regular time intervals of 15m or less
```
for every input, including data that satisfies the documented requirement of ... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 c4a0562ac1af7dc0a6a4be111f086f2150bd84e8e454f3b2d72bfa176b89c961
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short pvanalytics/tests/features/test_taskpilot_clearsky_reno.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short pvanalytics/tests/features/test_clearsky.py::test_reno_large_interval --junitxml=/tmp/p2p.xml | [
"pvanalytics/tests/features/test_taskpilot_clearsky_reno.py::test_reno_accepts_regular_intervals[15T]",
"pvanalytics/tests/features/test_taskpilot_clearsky_reno.py::test_reno_accepts_regular_intervals[10T]",
"pvanalytics/tests/features/test_taskpilot_clearsky_reno.py::test_reno_accepts_regular_intervals[5T]",
... | [
"pvanalytics/tests/features/test_clearsky.py::test_reno_large_interval",
"pvanalytics/tests/features/test_taskpilot_clearsky_reno.py::test_reno_rejects_20_minute_interval",
"pvanalytics/tests/features/test_taskpilot_clearsky_reno.py::test_reno_rejects_single_gap_over_15_minutes[middle]",
"pvanalytics/tests/fe... | [
"pvanalytics/tests/features/test_taskpilot_clearsky_reno.py::test_reno_accepts_regular_intervals[15T]",
"pvanalytics/tests/features/test_taskpilot_clearsky_reno.py::test_reno_accepts_regular_intervals[10T]",
"pvanalytics/tests/features/test_taskpilot_clearsky_reno.py::test_reno_accepts_regular_intervals[5T]",
... | [
"pvanalytics/tests/features/test_taskpilot_clearsky_reno.py"
] | pytest-junit-v1 | diff --git a/pvanalytics/tests/features/test_taskpilot_clearsky_reno.py b/pvanalytics/tests/features/test_taskpilot_clearsky_reno.py
new file mode 100644
index 0000000..939638d
--- /dev/null
+++ b/pvanalytics/tests/features/test_taskpilot_clearsky_reno.py
@@ -0,0 +1,119 @@
+"""Regression tests for pvanalytics.features.... |
round0 | t300-20261105-01-task-0188 | env-3YOURMIND__django-migration-linter-258 | 3YOURMIND/django-migration-linter | 366d16b01a72d0baa54fef55761d846b0f05b8dd | swerebench/sweb.eval.x86_64.3yourmind_1776_django-migration-linter-258:latest | /testbed | # False `NOT_NULL` error for SQL that merely contains `IS NOT NULL`
When linting migrations, the PostgreSQL and MySQL SQL analysers report a `NOT_NULL` error ("NOT NULL constraint on columns") for statements that do not actually add a NOT NULL constraint to a column. Any statement containing the text `IS NOT NULL` is ... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/unit/test_taskpilot_not_null_false_positive.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/unit/test_sql_analyser.py::MySqlAnalyserTestCase::test_add_many_to_many_field tests/unit/test_sql_analyser.py::MySqlAnalyserTestCase::test_add_not_null tests/unit/test_sql_analyser.py::MySqlAnalyserTestCase::test_add_not_null_followed_by_default tests/unit/test_sql_analyser.py::MyS... | [
"tests/unit/test_taskpilot_not_null_false_positive.py::MySqlIsNotNullFalsePositiveTestCase::test_check_constraint_with_is_not_null",
"tests/unit/test_taskpilot_not_null_false_positive.py::PostgresqlIsNotNullFalsePositiveTestCase::test_check_constraint_with_is_not_null",
"tests/unit/test_taskpilot_not_null_false... | [
"tests/unit/test_sql_analyser.py::MySqlAnalyserTestCase::test_add_many_to_many_field",
"tests/unit/test_sql_analyser.py::MySqlAnalyserTestCase::test_add_not_null",
"tests/unit/test_sql_analyser.py::MySqlAnalyserTestCase::test_add_not_null_followed_by_default",
"tests/unit/test_sql_analyser.py::MySqlAnalyserTe... | [
"tests/unit/test_taskpilot_not_null_false_positive.py::MySqlIsNotNullFalsePositiveTestCase::test_check_constraint_with_is_not_null",
"tests/unit/test_taskpilot_not_null_false_positive.py::PostgresqlIsNotNullFalsePositiveTestCase::test_check_constraint_with_is_not_null",
"tests/unit/test_taskpilot_not_null_false... | [
"tests/unit/test_taskpilot_not_null_false_positive.py"
] | pytest-junit-v1 | diff --git a/tests/unit/test_taskpilot_not_null_false_positive.py b/tests/unit/test_taskpilot_not_null_false_positive.py
new file mode 100644
index 0000000..a8db106
--- /dev/null
+++ b/tests/unit/test_taskpilot_not_null_false_positive.py
@@ -0,0 +1,121 @@
+from __future__ import annotations
+
+import unittest
+
+from d... |
round0 | t300-20261105-01-task-0189 | env-pre-commit__pre-commit-1359 | pre-commit/pre-commit | 0a8ba31b9b6656d90f94fc368b47acb502cea44d | swerebench/sweb.eval.x86_64.pre-commit_1776_pre-commit-1359:latest | /testbed | # Error handler crashes when the exception's `str()` raises
When an unexpected error occurs, pre-commit's top-level error handler is supposed to print `An unexpected error has occurred: ...`, write a `pre-commit.log` with version and traceback information, and exit with status 1. If the exception that triggered the ha... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_error_handler_unstringable.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/error_handler_test.py::test_error_handler_no_exception tests/error_handler_test.py::test_error_handler_fatal_error tests/error_handler_test.py::test_error_handler_uncaught_error tests/error_handler_test.py::test_error_handler_keyboardinterrupt tests/error_handler_test.py::test_log_... | [
"tests/test_taskpilot_error_handler_unstringable.py::test_error_handler_unstringable_exception_exits_1",
"tests/test_taskpilot_error_handler_unstringable.py::test_error_handler_unstringable_exception_writes_log",
"tests/test_taskpilot_error_handler_unstringable.py::test_error_handler_unstringable_fatal_error",
... | [
"tests/error_handler_test.py::test_error_handler_no_exception",
"tests/error_handler_test.py::test_error_handler_fatal_error",
"tests/error_handler_test.py::test_error_handler_uncaught_error",
"tests/error_handler_test.py::test_error_handler_keyboardinterrupt",
"tests/error_handler_test.py::test_log_and_exi... | [
"tests/test_taskpilot_error_handler_unstringable.py::test_error_handler_unstringable_exception_exits_1",
"tests/test_taskpilot_error_handler_unstringable.py::test_error_handler_unstringable_exception_writes_log",
"tests/test_taskpilot_error_handler_unstringable.py::test_error_handler_unstringable_fatal_error",
... | [
"tests/test_taskpilot_error_handler_unstringable.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_error_handler_unstringable.py b/tests/test_taskpilot_error_handler_unstringable.py
new file mode 100644
index 0000000..d7cb3e3
--- /dev/null
+++ b/tests/test_taskpilot_error_handler_unstringable.py
@@ -0,0 +1,123 @@
+"""Tests for the top-level error handler when ``str(exc)`` raises.
+
... |
round0 | t300-20261105-01-task-0198 | env-matthewwithanm__python-markdownify-165 | matthewwithanm/python-markdownify | 6258f5c38b97ab443b4ddf03e6676ce29b392d06 | swerebench/sweb.eval.x86_64.matthewwithanm_1776_python-markdownify-165:latest | /testbed | # `<br>` inside a heading is dropped, fusing the heading into one run-together string
`<br>` elements inside heading tags (`<h1>`–`<h6>`) produce no output at all, so the text before and after the `<br>` is concatenated with no separator:
```python
markdownify("<h1>Chapter 1<br>The Beginning</h1>", heading_style="ATX... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_br_in_headings.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_conversions.py::test_a tests/test_conversions.py::test_a_spaces tests/test_conversions.py::test_a_with_title tests/test_conversions.py::test_a_shortcut tests/test_conversions.py::test_a_no_autolinks tests/test_conversions.py::test_b tests/test_conversions.py::test_b_spaces tes... | [
"tests/test_taskpilot_br_in_headings.py::test_br_in_atx_heading",
"tests/test_taskpilot_br_in_headings.py::test_br_in_atx_closed_heading",
"tests/test_taskpilot_br_in_headings.py::test_br_in_underlined_heading",
"tests/test_taskpilot_br_in_headings.py::test_br_in_heading_all_levels",
"tests/test_taskpilot_b... | [
"tests/test_conversions.py::test_a",
"tests/test_conversions.py::test_a_spaces",
"tests/test_conversions.py::test_a_with_title",
"tests/test_conversions.py::test_a_shortcut",
"tests/test_conversions.py::test_a_no_autolinks",
"tests/test_conversions.py::test_b",
"tests/test_conversions.py::test_b_spaces"... | [
"tests/test_taskpilot_br_in_headings.py::test_br_in_atx_heading",
"tests/test_taskpilot_br_in_headings.py::test_br_in_atx_closed_heading",
"tests/test_taskpilot_br_in_headings.py::test_br_in_underlined_heading",
"tests/test_taskpilot_br_in_headings.py::test_br_in_heading_all_levels",
"tests/test_taskpilot_b... | [
"tests/test_taskpilot_br_in_headings.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_br_in_headings.py b/tests/test_taskpilot_br_in_headings.py
new file mode 100644
index 0000000..e28cb86
--- /dev/null
+++ b/tests/test_taskpilot_br_in_headings.py
@@ -0,0 +1,74 @@
+# Tests for <br> elements inside headings.
+#
+# Issue: <br> inside <h1>-<h6> produces no output at all, f... |
round0 | t300-20261105-01-task-0215 | env-beeware__briefcase-2085 | beeware/briefcase | 4005202304fdef04a5e87de2e8b09c9de506dcae | swerebench/sweb.eval.x86_64.beeware_1776_briefcase-2085:latest | /testbed | # Template cache recovery crashes when the cache path is not a directory
When Briefcase detects a template cache in a "weird state", it prints `Template cache is in a weird state. Getting a clean clone.` and tries to delete the cached template before re-cloning. That cleanup crashes with an unhandled exception wheneve... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/commands/base/test_taskpilot_template_cache_recovery.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/commands/base/test_update_cookiecutter_cache.py::test_non_url tests/commands/base/test_update_cookiecutter_cache.py::test_new_repo_template tests/commands/base/test_update_cookiecutter_cache.py::test_new_repo_template_interrupt tests/commands/base/test_update_cookiecutter_cache.py:... | [
"tests/commands/base/test_taskpilot_template_cache_recovery.py::test_cache_path_is_plain_file",
"tests/commands/base/test_taskpilot_template_cache_recovery.py::test_cache_path_is_symlink_to_file",
"tests/commands/base/test_taskpilot_template_cache_recovery.py::test_cache_path_is_symlink_to_directory"
] | [
"tests/commands/base/test_update_cookiecutter_cache.py::test_non_url",
"tests/commands/base/test_update_cookiecutter_cache.py::test_new_repo_template",
"tests/commands/base/test_update_cookiecutter_cache.py::test_new_repo_template_interrupt",
"tests/commands/base/test_update_cookiecutter_cache.py::test_new_re... | [
"tests/commands/base/test_taskpilot_template_cache_recovery.py::test_cache_path_is_plain_file",
"tests/commands/base/test_taskpilot_template_cache_recovery.py::test_cache_path_is_symlink_to_file",
"tests/commands/base/test_taskpilot_template_cache_recovery.py::test_cache_path_is_symlink_to_directory",
"tests/... | [
"tests/commands/base/test_taskpilot_template_cache_recovery.py"
] | pytest-junit-v1 | diff --git a/tests/commands/base/test_taskpilot_template_cache_recovery.py b/tests/commands/base/test_taskpilot_template_cache_recovery.py
new file mode 100644
index 00000000..a30db3f8
--- /dev/null
+++ b/tests/commands/base/test_taskpilot_template_cache_recovery.py
@@ -0,0 +1,146 @@
+"""Tests for recovery when the tem... |
round0 | t300-20261105-01-task-0231 | env-Justintime50__github-archive-44 | Justintime50/github-archive | b04355be48d3abcee2d9ddaf9b26cb1e9edc7e4d | swerebench/sweb.eval.x86_64.justintime50_1776_github-archive-44:latest | /testbed | # Crash when a token is passed with a `--users` list that doesn't include the authenticated user
Running `github-archive -t "$GITHUB_TOKEN" -u someotheruser -v` with a token for user `justintime50` crashes with an unhandled `ValueError` instead of archiving the requested user's repos:
```
ValueError: list.remove(x): ... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short test/unit/test_taskpilot_token_users.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short test/unit/test_archive.py::test_run_token_view test/unit/test_archive.py::test_run_token_clone test/unit/test_archive.py::test_run_token_pull test/unit/test_archive.py::test_run_users_view test/unit/test_archive.py::test_run_users_clone test/unit/test_archive.py::test_run_users_pull test... | [
"test/unit/test_taskpilot_token_users.py::test_run_token_users_excluding_authenticated_user_completes[operation_kwargs0-None]",
"test/unit/test_taskpilot_token_users.py::test_run_token_users_excluding_authenticated_user_completes[operation_kwargs1-clone]",
"test/unit/test_taskpilot_token_users.py::test_run_toke... | [
"test/unit/test_archive.py::test_run_token_view",
"test/unit/test_archive.py::test_run_token_clone",
"test/unit/test_archive.py::test_run_token_pull",
"test/unit/test_archive.py::test_run_users_view",
"test/unit/test_archive.py::test_run_users_clone",
"test/unit/test_archive.py::test_run_users_pull",
"t... | [
"test/unit/test_taskpilot_token_users.py::test_run_token_users_excluding_authenticated_user_completes[operation_kwargs0-None]",
"test/unit/test_taskpilot_token_users.py::test_run_token_users_excluding_authenticated_user_completes[operation_kwargs1-clone]",
"test/unit/test_taskpilot_token_users.py::test_run_toke... | [
"test/unit/test_taskpilot_token_users.py"
] | pytest-junit-v1 | diff --git a/test/unit/test_taskpilot_token_users.py b/test/unit/test_taskpilot_token_users.py
new file mode 100644
index 0000000..64359e9
--- /dev/null
+++ b/test/unit/test_taskpilot_token_users.py
@@ -0,0 +1,146 @@
+"""Tests for running with a token whose authenticated user is not in the `users` list.
+
+Regression t... |
round0 | t300-20261105-01-task-0259 | env-frictionlessdata__frictionless-py-1142 | frictionlessdata/frictionless-py | 33bfb1d99595667202aaa6fa01e54f4865e4c2fa | swerebench/sweb.eval.x86_64.frictionlessdata_1776_frictionless-py-1142:latest | /testbed | # Validation options are silently ignored when validating a single resource with `resource_name`
When a package is validated as a whole, options like `skip_errors`, `pick_errors`, `limit_errors`, `limit_memory`, `original`, and `checks` are honored. When the same package is validated with `resource_name` (Python API o... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 8e6f94e77d2a9612300fbb2966f63d2f79c11f33d985874c0d1bfecad1cb97ef
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/actions/validate/test_taskpilot_single_resource_options.py tests/package/validate/test_taskpilot_single_resource_options.py tests/program/test_taskpilot_single_resource_options.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/program/test_validate.py::test_program_validate tests/program/test_validate.py::test_program_validate_invalid tests/program/test_validate.py::test_program_validate_header_rows tests/program/test_validate.py::test_program_validate_header_join tests/program/test_validate.py::test_pro... | [
"tests/actions/validate/test_taskpilot_single_resource_options.py::test_taskpilot_validate_package_resource_name_skip_errors",
"tests/actions/validate/test_taskpilot_single_resource_options.py::test_taskpilot_validate_package_resource_name_limit_errors",
"tests/actions/validate/test_taskpilot_single_resource_op... | [
"tests/program/test_validate.py::test_program_validate",
"tests/program/test_validate.py::test_program_validate_invalid",
"tests/program/test_validate.py::test_program_validate_header_rows",
"tests/program/test_validate.py::test_program_validate_header_join",
"tests/program/test_validate.py::test_program_va... | [
"tests/actions/validate/test_taskpilot_single_resource_options.py::test_taskpilot_validate_package_resource_name_skip_errors",
"tests/actions/validate/test_taskpilot_single_resource_options.py::test_taskpilot_validate_package_resource_name_limit_errors",
"tests/actions/validate/test_taskpilot_single_resource_op... | [
"tests/actions/validate/test_taskpilot_single_resource_options.py",
"tests/package/validate/test_taskpilot_single_resource_options.py",
"tests/program/test_taskpilot_single_resource_options.py"
] | pytest-junit-v1 | diff --git a/tests/actions/validate/test_taskpilot_single_resource_options.py b/tests/actions/validate/test_taskpilot_single_resource_options.py
new file mode 100644
index 00000000..14d0fc37
--- /dev/null
+++ b/tests/actions/validate/test_taskpilot_single_resource_options.py
@@ -0,0 +1,68 @@
+from frictionless import v... |
round0 | t300-20261105-01-task-0271 | env-celery__py-amqp-431 | celery/py-amqp | ec138c279f9f4d38dcdfd973bac24a031f4793f9 | swerebench/sweb.eval.x86_64.celery_1776_py-amqp-431:latest | /testbed | # `repr()` of a Transport or Connection can raise `OSError` when endpoint lookups fail
Calling `repr()` on an `amqp.transport.Transport` (or on an `amqp.connection.Connection`, whose repr embeds the transport's repr) can raise `OSError` instead of returning a string. This happens when the broker connection has just be... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 efdd21b67a27872838e400a083e7c9263e191a40905afd2ab06732d675e4c1a5
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short t/unit/test_taskpilot_repr.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short t/unit/test_transport.py::test_socket_options::test_backward_compatibility_tcp_transport t/unit/test_transport.py::test_socket_options::test_backward_compatibility_SSL_transport t/unit/test_transport.py::test_socket_options::test_use_default_sock_tcp_opts t/unit/test_transport.py::test_s... | [
"t/unit/test_taskpilot_repr.py::test_Transport_repr::test_getpeername_oserror_renders_unavailable",
"t/unit/test_taskpilot_repr.py::test_Transport_repr::test_getpeername_badf_renders_unavailable",
"t/unit/test_taskpilot_repr.py::test_Transport_repr::test_getpeername_socket_timeout_renders_unavailable",
"t/uni... | [
"t/unit/test_transport.py::test_socket_options::test_backward_compatibility_tcp_transport",
"t/unit/test_transport.py::test_socket_options::test_backward_compatibility_SSL_transport",
"t/unit/test_transport.py::test_socket_options::test_use_default_sock_tcp_opts",
"t/unit/test_transport.py::test_socket_option... | [
"t/unit/test_taskpilot_repr.py::test_Transport_repr::test_connected_format_unchanged",
"t/unit/test_taskpilot_repr.py::test_Transport_repr::test_disconnected_format_unchanged",
"t/unit/test_taskpilot_repr.py::test_Transport_repr::test_getpeername_oserror_renders_unavailable",
"t/unit/test_taskpilot_repr.py::t... | [
"t/unit/test_taskpilot_repr.py"
] | pytest-junit-v1 | diff --git a/t/unit/test_taskpilot_repr.py b/t/unit/test_taskpilot_repr.py
new file mode 100644
index 0000000..bb01f10
--- /dev/null
+++ b/t/unit/test_taskpilot_repr.py
@@ -0,0 +1,228 @@
+"""Tests that ``repr()`` of Transport and Connection never raises.
+
+Regression tests for the issue where ``repr()`` of an
+``amqp.... |
round0 | t300-20261105-01-task-0274 | env-sdementen__oasapi-15 | sdementen/oasapi | 6da65344b97878cb2c39c2cbc1d377231eb81c58 | swerebench/sweb.eval.x86_64.sdementen_1776_oasapi-15:latest | /testbed | # `prune()` crashes with `KeyError`/`ValueError` on dangling or malformed `$ref` values
`oasapi.prune()` raises bare `KeyError` or `ValueError` on several classes of `$ref` values, while `oasapi.validate()` handles the same documents gracefully (reporting `Reference not found` / `Reference invalid syntax`).
```python... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 efdd21b67a27872838e400a083e7c9263e191a40905afd2ab06732d675e4c1a5
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_prune_refs.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_validation.py::test_minimal_compliant_swagger tests/test_validation.py::test_empty_swagger tests/test_validation.py::test_schema_error tests/test_validation.py::test_check_schema tests/test_validation.py::test_check_references tests/test_validation.py::test_detect_duplicate_op... | [
"tests/test_taskpilot_prune_refs.py::test_prune_dangling_reference_is_ignored[#/definitions/DoesNotExist]",
"tests/test_taskpilot_prune_refs.py::test_prune_dangling_reference_is_ignored[#/definitions/DoesNotExist/properties/bar]",
"tests/test_taskpilot_prune_refs.py::test_prune_reference_to_missing_section_is_i... | [
"tests/test_validation.py::test_minimal_compliant_swagger",
"tests/test_validation.py::test_empty_swagger",
"tests/test_validation.py::test_schema_error",
"tests/test_validation.py::test_check_schema",
"tests/test_validation.py::test_check_references",
"tests/test_validation.py::test_detect_duplicate_oper... | [
"tests/test_taskpilot_prune_refs.py::test_prune_dangling_reference_is_ignored[#/definitions/DoesNotExist]",
"tests/test_taskpilot_prune_refs.py::test_prune_dangling_reference_is_ignored[#/definitions/DoesNotExist/properties/bar]",
"tests/test_taskpilot_prune_refs.py::test_prune_reference_to_missing_section_is_i... | [
"tests/test_taskpilot_prune_refs.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_prune_refs.py b/tests/test_taskpilot_prune_refs.py
new file mode 100644
index 0000000..8815d96
--- /dev/null
+++ b/tests/test_taskpilot_prune_refs.py
@@ -0,0 +1,207 @@
+"""Tests for ``oasapi.prune.prune`` handling of dangling, malformed and
+multi-segment ``$ref`` values.
+
+Contract u... |
round0 | t300-20261105-01-task-0295 | env-matthewwithanm__python-markdownify-169 | matthewwithanm/python-markdownify | 6258f5c38b97ab443b4ddf03e6676ce29b392d06 | swerebench/sweb.eval.x86_64.matthewwithanm_1776_python-markdownify-169:latest | /testbed | # `<br>` tags inside headings and table cells are silently dropped
When converting HTML to Markdown, a `<br>` inside a heading or a table cell produces no output at all, so the words on either side are run together:
```python
from markdownify import markdownify
markdownify('<h1>Line1<br>Line2</h1>')
# => '\n\nLine1L... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 efdd21b67a27872838e400a083e7c9263e191a40905afd2ab06732d675e4c1a5
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_br_in_heading_and_cell.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_conversions.py::test_a tests/test_conversions.py::test_a_spaces tests/test_conversions.py::test_a_with_title tests/test_conversions.py::test_a_shortcut tests/test_conversions.py::test_a_no_autolinks tests/test_conversions.py::test_b tests/test_conversions.py::test_b_spaces tes... | [
"tests/test_taskpilot_br_in_heading_and_cell.py::test_br_in_h1_underlined",
"tests/test_taskpilot_br_in_heading_and_cell.py::test_br_in_h1_atx",
"tests/test_taskpilot_br_in_heading_and_cell.py::test_br_in_h1_atx_closed",
"tests/test_taskpilot_br_in_heading_and_cell.py::test_br_in_h2_underlined",
"tests/test... | [
"tests/test_conversions.py::test_a",
"tests/test_conversions.py::test_a_spaces",
"tests/test_conversions.py::test_a_with_title",
"tests/test_conversions.py::test_a_shortcut",
"tests/test_conversions.py::test_a_no_autolinks",
"tests/test_conversions.py::test_b",
"tests/test_conversions.py::test_b_spaces"... | [
"tests/test_taskpilot_br_in_heading_and_cell.py::test_br_in_h1_underlined",
"tests/test_taskpilot_br_in_heading_and_cell.py::test_br_in_h1_atx",
"tests/test_taskpilot_br_in_heading_and_cell.py::test_br_in_h1_atx_closed",
"tests/test_taskpilot_br_in_heading_and_cell.py::test_br_in_h2_underlined",
"tests/test... | [
"tests/test_taskpilot_br_in_heading_and_cell.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_br_in_heading_and_cell.py b/tests/test_taskpilot_br_in_heading_and_cell.py
new file mode 100644
index 0000000..9a654b7
--- /dev/null
+++ b/tests/test_taskpilot_br_in_heading_and_cell.py
@@ -0,0 +1,91 @@
+from markdownify import markdownify as md, ATX, ATX_CLOSED, BACKSLASH
+
+
+# A <br... |
round0 | t300-20261105-01-task-0300 | env-wireservice__csvkit-800 | wireservice/csvkit | 3d9438e7ea5db34948ade66b0a4333736990c77a | swerebench/sweb.eval.x86_64.wireservice_1776_csvkit-800:latest | /testbed | # csvstack: support the common `-K/--skip-lines` option
Most csvkit utilities accept `-K/--skip-lines <N>` to skip the first `N` lines of the input before CSV parsing (e.g. comments, copyright notices, blank preamble rows). `csvstack` does not: the option is missing from `csvstack --help`, and passing it fails with `e... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_utilities/test_taskpilot_csvstack_skip_lines.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_utilities/test_csvstack.py::TestCSVStack::test_empty tests/test_utilities/test_csvstack.py::TestCSVStack::test_explicit_grouping tests/test_utilities/test_csvstack.py::TestCSVStack::test_filenames_grouping tests/test_utilities/test_csvstack.py::TestCSVStack::test_launch_new_in... | [
"tests/test_utilities/test_taskpilot_csvstack_skip_lines.py::TestCSVStackSkipLines::test_skip_lines_short_flag",
"tests/test_utilities/test_taskpilot_csvstack_skip_lines.py::TestCSVStackSkipLines::test_skip_lines_with_no_header_row",
"tests/test_utilities/test_taskpilot_csvstack_skip_lines.py::TestCSVStackSkipL... | [
"tests/test_utilities/test_csvstack.py::TestCSVStack::test_empty",
"tests/test_utilities/test_csvstack.py::TestCSVStack::test_explicit_grouping",
"tests/test_utilities/test_csvstack.py::TestCSVStack::test_filenames_grouping",
"tests/test_utilities/test_csvstack.py::TestCSVStack::test_launch_new_instance",
"... | [
"tests/test_utilities/test_taskpilot_csvstack_skip_lines.py::TestCSVStackSkipLines::test_skip_lines_short_flag",
"tests/test_utilities/test_taskpilot_csvstack_skip_lines.py::TestCSVStackSkipLines::test_skip_lines_with_no_header_row",
"tests/test_utilities/test_taskpilot_csvstack_skip_lines.py::TestCSVStackSkipL... | [
"tests/test_utilities/test_taskpilot_csvstack_skip_lines.py"
] | pytest-junit-v1 | diff --git a/tests/test_utilities/test_taskpilot_csvstack_skip_lines.py b/tests/test_utilities/test_taskpilot_csvstack_skip_lines.py
new file mode 100644
index 0000000..78310e5
--- /dev/null
+++ b/tests/test_utilities/test_taskpilot_csvstack_skip_lines.py
@@ -0,0 +1,120 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*... |
round0 | t300-20261105-01-task-0306 | env-bids-standard__pybv-17 | bids-standard/pybv | f1c84c062b8f1e3596d63b331c5d205d5b9c109e | swerebench/sweb.eval.x86_64.bids-standard_1776_pybv-17:latest | /testbed | # Resolutions finer than 0.1 µV are written as `0.0` in the `.vhdr` header, producing unreadable files
`write_brainvision()` accepts a `resolution` argument (in volts) that controls the round-trip resolution of the exported data, but resolutions finer than 0.1 µV are silently truncated to `0.0` in the `[Channel Infos]... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 efdd21b67a27872838e400a083e7c9263e191a40905afd2ab06732d675e4c1a5
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short pybv/tests/test_taskpilot_resolution.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short pybv/tests/test_bv_writer.py::test_bv_writer_events pybv/tests/test_bv_writer.py::test_bv_bad_format --junitxml=/tmp/p2p.xml | [
"pybv/tests/test_taskpilot_resolution.py::test_resolution_written_to_header",
"pybv/tests/test_taskpilot_resolution.py::test_resolution_round_trip"
] | [
"pybv/tests/test_bv_writer.py::test_bv_writer_events",
"pybv/tests/test_bv_writer.py::test_bv_bad_format",
"pybv/tests/test_taskpilot_resolution.py::test_default_resolution_round_trip",
"pybv/tests/test_taskpilot_resolution.py::test_bad_resolution_type"
] | [
"pybv/tests/test_taskpilot_resolution.py::test_resolution_written_to_header",
"pybv/tests/test_taskpilot_resolution.py::test_resolution_round_trip",
"pybv/tests/test_taskpilot_resolution.py::test_default_resolution_round_trip",
"pybv/tests/test_taskpilot_resolution.py::test_bad_resolution_type"
] | [
"pybv/tests/test_taskpilot_resolution.py"
] | pytest-junit-v1 | diff --git a/pybv/tests/test_taskpilot_resolution.py b/pybv/tests/test_taskpilot_resolution.py
new file mode 100644
index 0000000..bdd407a
--- /dev/null
+++ b/pybv/tests/test_taskpilot_resolution.py
@@ -0,0 +1,120 @@
+# -*- coding: utf-8 -*-
+"""Tests that the .vhdr header faithfully reflects the requested resolution.
... |
round0 | t300-20261105-01-task-0317 | env-tox-dev__tox-554 | tox-dev/tox | 682b96094b971b294c931c7464fbafe846308d4d | swerebench/sweb.eval.x86_64.tox-dev_1776_tox-554:latest | /testbed | # `tox-quickstart [root]` ignores the root argument and writes `tox.ini` in the current directory
`tox-quickstart` advertises an optional positional argument for the target directory (`Usage: tox-quickstart [root]`, printed when too many arguments are given), but the value passed as `root` has no effect. From a direct... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_quickstart.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_quickstart.py::TestToxQuickstartMain::test_quickstart_main_choose_individual_pythons_and_pytest tests/test_quickstart.py::TestToxQuickstartMain::test_quickstart_main_choose_individual_pythons_and_nose_adds_deps tests/test_quickstart.py::TestToxQuickstartMain::test_quickstart_m... | [
"tests/test_taskpilot_quickstart.py::TestQuickstartRootArgument::test_root_argument_is_honored_or_rejected",
"tests/test_taskpilot_quickstart.py::TestQuickstartExistingIniEof::test_eof_on_alternative_path_prompt_is_graceful"
] | [
"tests/test_quickstart.py::TestToxQuickstartMain::test_quickstart_main_choose_individual_pythons_and_pytest",
"tests/test_quickstart.py::TestToxQuickstartMain::test_quickstart_main_choose_individual_pythons_and_nose_adds_deps",
"tests/test_quickstart.py::TestToxQuickstartMain::test_quickstart_main_choose_indivi... | [
"tests/test_taskpilot_quickstart.py::TestQuickstartRootArgument::test_root_argument_is_honored_or_rejected",
"tests/test_taskpilot_quickstart.py::TestQuickstartExistingIniEof::test_eof_on_alternative_path_prompt_is_graceful",
"tests/test_taskpilot_quickstart.py::TestQuickstartExistingIniEof::test_eof_at_first_p... | [
"tests/test_taskpilot_quickstart.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_quickstart.py b/tests/test_taskpilot_quickstart.py
new file mode 100644
index 00000000..945393c0
--- /dev/null
+++ b/tests/test_taskpilot_quickstart.py
@@ -0,0 +1,154 @@
+# -*- coding: utf-8 -*-
+"""Regression tests for tox-quickstart issues reported in the public tracker.
+
+1. ``tox-... |
round0 | t300-20261105-01-task-0319 | env-octue__twined-68 | octue/twined | 49e5a0b2c808c23b45a86f10048e4ff04809b8fb | swerebench/sweb.eval.x86_64.octue_1776_twined-68:latest | /testbed | # `Twine.validate_strand()` always raises `KeyError` instead of validating
`Twine.validate_strand(name, source)` never succeeds — every call raises `KeyError` with the strand name, regardless of whether the twine contains the strand or the data is valid. The equivalent `Twine.validate()` call with the same strand pass... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_validate_strand.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_children.py::TestChildrenTwine::test_empty_children tests/test_children.py::TestChildrenTwine::test_invalid_children_dict_not_array tests/test_children.py::TestChildrenTwine::test_invalid_children_no_key tests/test_children.py::TestChildrenTwine::test_valid_children tests/test... | [
"tests/test_taskpilot_validate_strand.py::TestValidateStrand::test_invalid_manifest_data_raises_invalid_manifest_contents",
"tests/test_taskpilot_validate_strand.py::TestValidateStrand::test_invalid_values_data_raises_invalid_values_contents",
"tests/test_taskpilot_validate_strand.py::TestValidateStrand::test_s... | [
"tests/test_children.py::TestChildrenTwine::test_empty_children",
"tests/test_children.py::TestChildrenTwine::test_invalid_children_dict_not_array",
"tests/test_children.py::TestChildrenTwine::test_invalid_children_no_key",
"tests/test_children.py::TestChildrenTwine::test_valid_children",
"tests/test_childr... | [
"tests/test_taskpilot_validate_strand.py::TestValidateStrand::test_invalid_manifest_data_raises_invalid_manifest_contents",
"tests/test_taskpilot_validate_strand.py::TestValidateStrand::test_invalid_values_data_raises_invalid_values_contents",
"tests/test_taskpilot_validate_strand.py::TestValidateStrand::test_s... | [
"tests/test_taskpilot_validate_strand.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_validate_strand.py b/tests/test_taskpilot_validate_strand.py
new file mode 100644
index 0000000..92ab0ef
--- /dev/null
+++ b/tests/test_taskpilot_validate_strand.py
@@ -0,0 +1,178 @@
+import unittest
+
+from twined import Twine, exceptions
+from .base import BaseTestCase
+
+
+TWINE_WIT... |
round0 | t300-20261105-01-task-0323 | env-dpkp__kafka-python-2548 | dpkp/kafka-python | cebfed210c7bca4a6c699df6748b008dbb7ce087 | swerebench/sweb.eval.x86_64.dpkp_1776_kafka-python-2548:latest | /testbed | # `NewTopic` accepts mixing `num_partitions`/`replication_factor` with `replica_assignments`
The docstring says `num_partitions` and `replication_factor` should be `-1` when `replica_assignment` is specified, but the constructor accepts combinations that mix the two modes:
```python
from kafka.admin.new_topic import ... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short test/test_taskpilot_new_topic_mixed_modes.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short 'test/test_conn.py::test_connect[states0]' 'test/test_conn.py::test_connect[states1]' 'test/test_conn.py::test_connect[states2]' 'test/test_conn.py::test_connect[states3]' 'test/test_conn.py::test_connect[states4]' test/test_conn.py::test_connect_timeout test/test_conn.py::test_blacked_o... | [
"test/test_taskpilot_new_topic_mixed_modes.py::test_new_topic_mixed_modes_with_replica_assignments_raise"
] | [
"test/test_conn.py::test_connect[states0]",
"test/test_conn.py::test_connect[states1]",
"test/test_conn.py::test_connect[states2]",
"test/test_conn.py::test_connect[states3]",
"test/test_conn.py::test_connect[states4]",
"test/test_conn.py::test_connect_timeout",
"test/test_conn.py::test_blacked_out",
... | [
"test/test_taskpilot_new_topic_mixed_modes.py::test_new_topic_mixed_modes_with_replica_assignments_raise",
"test/test_taskpilot_new_topic_mixed_modes.py::test_new_topic_replica_assignments_mode_accepted",
"test/test_taskpilot_new_topic_mixed_modes.py::test_new_topic_counts_mode_accepted",
"test/test_taskpilot... | [
"test/test_taskpilot_new_topic_mixed_modes.py"
] | pytest-junit-v1 | diff --git a/test/test_taskpilot_new_topic_mixed_modes.py b/test/test_taskpilot_new_topic_mixed_modes.py
new file mode 100644
index 0000000..f69ab5a
--- /dev/null
+++ b/test/test_taskpilot_new_topic_mixed_modes.py
@@ -0,0 +1,51 @@
+import pytest
+
+from kafka.admin.new_topic import NewTopic
+from kafka.errors import Il... |
round0 | t300-20261105-01-task-0333 | env-ppizarror__pygame-menu-449 | ppizarror/pygame-menu | 63916f616c7469b8ac80df8b5ff50433e8f1edfd | swerebench/sweb.eval.x86_64.ppizarror_1776_pygame-menu-449:latest | /testbed | # `onbeforeopen` cannot change the widget selection of the Menu it opens
When a submenu is opened, any widget selection performed inside `onbeforeopen` is discarded: the submenu always opens with its first widget selected. This happens regardless of how the submenu is opened (e.g. a `Button` whose callback is the subm... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 24ce80687552fa251d763b556bda43d6d788f7ba1a099dcda6444113a8eaf7c9
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short test/test_taskpilot_onbeforeopen.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short test/test_widgets.py::test_reset_surface test/test_widgets.py::WidgetsTest::test_abstract_widget test/test_widgets.py::WidgetsTest::test_abstract_widget_manager test/test_widgets.py::WidgetsTest::test_background test/test_widgets.py::WidgetsTest::test_border test/test_widgets.py::Widgets... | [
"test/test_taskpilot_onbeforeopen.py::OnBeforeOpenSelectionTest::test_onbeforeopen_select_widget",
"test/test_taskpilot_onbeforeopen.py::OnBeforeOpenSelectionTest::test_onbeforeopen_select_widget_button_event"
] | [
"test/test_widgets.py::test_reset_surface",
"test/test_widgets.py::WidgetsTest::test_abstract_widget",
"test/test_widgets.py::WidgetsTest::test_abstract_widget_manager",
"test/test_widgets.py::WidgetsTest::test_background",
"test/test_widgets.py::WidgetsTest::test_border",
"test/test_widgets.py::WidgetsTe... | [
"test/test_taskpilot_onbeforeopen.py::OnBeforeOpenSelectionTest::test_onbeforeopen_hide_first_widget",
"test/test_taskpilot_onbeforeopen.py::OnBeforeOpenSelectionTest::test_onbeforeopen_select_widget",
"test/test_taskpilot_onbeforeopen.py::OnBeforeOpenSelectionTest::test_onbeforeopen_select_widget_button_event"... | [
"test/test_taskpilot_onbeforeopen.py"
] | pytest-junit-v1 | diff --git a/test/test_taskpilot_onbeforeopen.py b/test/test_taskpilot_onbeforeopen.py
new file mode 100644
index 00000000..258ee9ee
--- /dev/null
+++ b/test/test_taskpilot_onbeforeopen.py
@@ -0,0 +1,127 @@
+"""
+pygame-menu
+https://github.com/ppizarror/pygame-menu
+
+TEST ONBEFOREOPEN WIDGET SELECTION
+Tests that wid... |
round0 | t300-20261105-01-task-0340 | env-juju__python-libjuju-1054 | juju/python-libjuju | 18917b41a85bfadb190a4ee8396035dd2902c19e | swerebench/sweb.eval.x86_64.juju_1776_python-libjuju-1054:latest | /testbed | # `constraints.parse()` rejects strings the `juju` CLI accepts, and accepts strings it rejects
`juju.constraints.parse()` turns a constraints string like `"mem=10G cores=2"` into the dict `{'mem': 10240, 'cores': 2}` that the Juju API expects, but its handling of input diverges from the `juju` CLI in both directions. ... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/unit/test_taskpilot_constraints_parse.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/unit/test_constraints.py::TestConstraints::test_mem_regex tests/unit/test_constraints.py::TestConstraints::test_normalize_key tests/unit/test_constraints.py::TestConstraints::test_normalize_list_val tests/unit/test_constraints.py::TestConstraints::test_normalize_val tests/unit/test... | [
"tests/unit/test_taskpilot_constraints_parse.py::TestWhitespaceTokenization::test_multiple_spaces_between_tokens",
"tests/unit/test_taskpilot_constraints_parse.py::TestWhitespaceTokenization::test_leading_space",
"tests/unit/test_taskpilot_constraints_parse.py::TestWhitespaceTokenization::test_trailing_space",
... | [
"tests/unit/test_constraints.py::TestConstraints::test_mem_regex",
"tests/unit/test_constraints.py::TestConstraints::test_normalize_key",
"tests/unit/test_constraints.py::TestConstraints::test_normalize_list_val",
"tests/unit/test_constraints.py::TestConstraints::test_normalize_val",
"tests/unit/test_constr... | [
"tests/unit/test_taskpilot_constraints_parse.py::TestWhitespaceTokenization::test_multiple_spaces_between_tokens",
"tests/unit/test_taskpilot_constraints_parse.py::TestWhitespaceTokenization::test_leading_space",
"tests/unit/test_taskpilot_constraints_parse.py::TestWhitespaceTokenization::test_trailing_space",
... | [
"tests/unit/test_taskpilot_constraints_parse.py"
] | pytest-junit-v1 | diff --git a/tests/unit/test_taskpilot_constraints_parse.py b/tests/unit/test_taskpilot_constraints_parse.py
new file mode 100644
index 0000000..e345d07
--- /dev/null
+++ b/tests/unit/test_taskpilot_constraints_parse.py
@@ -0,0 +1,148 @@
+# Copyright 2025 Canonical Ltd.
+# Licensed under the Apache V2, see LICENCE file... |
round0 | t300-20261105-01-task-0353 | env-Nikoleta-v3__blackbook-36 | Nikoleta-v3/blackbook | 31468676b827657269a5730769111a759bb018c6 | swerebench/sweb.eval.x86_64.nikoleta-v3_1776_blackbook-36:latest | /testbed | # `blackbook` reformats notebooks inside hidden directories and miscounts them
When pointed at a directory, `blackbook` recurses into hidden directories (any path component starting with a dot) and reformats the notebooks found there. This hits Jupyter's checkpoint copies in `.ipynb_checkpoints/` as well as notebooks ... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 efdd21b67a27872838e400a083e7c9263e191a40905afd2ab06732d675e4c1a5
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_hidden_dirs.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_format_notebook_content.py::test_format_notebook_content tests/test_format_notebook_content.py::test_format_notebook_content_does_nothing_with_formatted_notebook tests/test_main.py::test_main_runs_without_failure --junitxml=/tmp/p2p.xml | [
"tests/test_taskpilot_hidden_dirs.py::test_gen_notebook_files_in_dir_excludes_hidden_directories",
"tests/test_taskpilot_hidden_dirs.py::test_main_skips_hidden_directories_and_reports_correct_counts"
] | [
"tests/test_format_notebook_content.py::test_format_notebook_content",
"tests/test_format_notebook_content.py::test_format_notebook_content_does_nothing_with_formatted_notebook",
"tests/test_main.py::test_main_runs_without_failure",
"tests/test_taskpilot_hidden_dirs.py::test_gen_notebook_files_in_dir_still_yi... | [
"tests/test_taskpilot_hidden_dirs.py::test_gen_notebook_files_in_dir_excludes_hidden_directories",
"tests/test_taskpilot_hidden_dirs.py::test_gen_notebook_files_in_dir_still_yields_ordinary_nested_notebooks",
"tests/test_taskpilot_hidden_dirs.py::test_gen_notebook_files_in_dir_keeps_dot_prefixed_filenames",
"... | [
"tests/test_taskpilot_hidden_dirs.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_hidden_dirs.py b/tests/test_taskpilot_hidden_dirs.py
new file mode 100644
index 0000000..bc0958f
--- /dev/null
+++ b/tests/test_taskpilot_hidden_dirs.py
@@ -0,0 +1,161 @@
+"""Tests that hidden directories are excluded from notebook discovery and CLI runs.
+
+Grounded in the public issu... |
round0 | t300-20261105-01-task-0368 | env-getsentry__sentry-python-4179 | getsentry/sentry-python | 5715734eac1c5fb4b6ec61ef459080c74fa777b5 | swerebench/sweb.eval.x86_64.getsentry_1776_sentry-python-4179:latest | /testbed | # `decimal.InvalidOperation` when generating or backfilling `sample_rand` under a modified decimal context
Setting the global decimal context precision below 6, e.g. `decimal.getcontext().prec = 2`, makes `sentry_sdk.start_transaction(...)` raise an uncaught `decimal.InvalidOperation` from `_generate_sample_rand`. Sin... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/tracing/test_taskpilot_sample_rand_decimal.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short 'tests/tracing/test_sample_rand.py::test_deterministic_sampled[0.0-0.0]' 'tests/tracing/test_sample_rand.py::test_deterministic_sampled[0.0-0.25]' 'tests/tracing/test_sample_rand.py::test_deterministic_sampled[0.0-0.5]' 'tests/tracing/test_sample_rand.py::test_deterministic_sampled[0.0-0... | [
"tests/tracing/test_taskpilot_sample_rand_decimal.py::test_start_transaction_low_precision",
"tests/tracing/test_taskpilot_sample_rand_decimal.py::test_generate_sample_rand_six_digits_round_down[1]",
"tests/tracing/test_taskpilot_sample_rand_decimal.py::test_generate_sample_rand_six_digits_round_down[2]",
"te... | [
"tests/tracing/test_sample_rand.py::test_deterministic_sampled[0.0-0.0]",
"tests/tracing/test_sample_rand.py::test_deterministic_sampled[0.0-0.25]",
"tests/tracing/test_sample_rand.py::test_deterministic_sampled[0.0-0.5]",
"tests/tracing/test_sample_rand.py::test_deterministic_sampled[0.0-0.75]",
"tests/tra... | [
"tests/tracing/test_taskpilot_sample_rand_decimal.py::test_start_transaction_low_precision",
"tests/tracing/test_taskpilot_sample_rand_decimal.py::test_generate_sample_rand_six_digits_round_down[1]",
"tests/tracing/test_taskpilot_sample_rand_decimal.py::test_generate_sample_rand_six_digits_round_down[2]",
"te... | [
"tests/tracing/test_taskpilot_sample_rand_decimal.py"
] | pytest-junit-v1 | diff --git a/tests/tracing/test_taskpilot_sample_rand_decimal.py b/tests/tracing/test_taskpilot_sample_rand_decimal.py
new file mode 100644
index 00000000..4c8c6a8e
--- /dev/null
+++ b/tests/tracing/test_taskpilot_sample_rand_decimal.py
@@ -0,0 +1,237 @@
+"""
+Regression tests for `decimal.InvalidOperation` when genera... |
round0 | t300-20261105-01-task-0382 | env-radiasoft__pykern-408 | radiasoft/pykern | 70a6a10a782b81878f3580bd18d8672c07406baa | swerebench/sweb.eval.x86_64.radiasoft_1776_pykern-408:latest | /testbed | # pkjson.load_any should apply a deliberate policy to large JSON integers
`pkjson.load_any` parses JSON integer literals into Python `int` values of unbounded size, which leads to two problems:
1. Integers beyond the JSON-safe range (±(2^53 − 1), the limit for IEEE 754 doubles) are returned as exact Python ints, so v... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_pkjson_large_int.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/pkjson_test.py::test_load_any tests/pkjson_test.py::test_dump_bytes tests/pkjson_test.py::test_dump_pretty --junitxml=/tmp/p2p.xml | [
"tests/test_taskpilot_pkjson_large_int.py::test_out_of_range_integer_becomes_float",
"tests/test_taskpilot_pkjson_large_int.py::test_out_of_range_integer_nested_in_containers",
"tests/test_taskpilot_pkjson_large_int.py::test_very_long_integer_literal_rejected[4000]",
"tests/test_taskpilot_pkjson_large_int.py:... | [
"tests/pkjson_test.py::test_load_any",
"tests/pkjson_test.py::test_dump_bytes",
"tests/pkjson_test.py::test_dump_pretty",
"tests/test_taskpilot_pkjson_large_int.py::test_safe_range_integer_is_int",
"tests/test_taskpilot_pkjson_large_int.py::test_very_long_integer_literal_rejected[5000]",
"tests/test_taskp... | [
"tests/test_taskpilot_pkjson_large_int.py::test_safe_range_integer_is_int",
"tests/test_taskpilot_pkjson_large_int.py::test_out_of_range_integer_becomes_float",
"tests/test_taskpilot_pkjson_large_int.py::test_out_of_range_integer_nested_in_containers",
"tests/test_taskpilot_pkjson_large_int.py::test_very_long... | [
"tests/test_taskpilot_pkjson_large_int.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_pkjson_large_int.py b/tests/test_taskpilot_pkjson_large_int.py
new file mode 100644
index 0000000..168541e
--- /dev/null
+++ b/tests/test_taskpilot_pkjson_large_int.py
@@ -0,0 +1,111 @@
+# -*- coding: utf-8 -*-
+"""taskpilot: pkjson.load_any policy for large JSON integers
+
+Derived fr... |
round0 | t300-20261105-01-task-0387 | env-icetemple__genrss-11 | icetemple/genrss | be86824ab086290cf85509625b204d59d839e4be | swerebench/sweb.eval.x86_64.icetemple_1776_genrss-11:latest | /testbed | # Channel and item `<image>` elements are never included in the generated feed XML
`genrss` documents image support in three places, but none of them ever produces an `<image>` element in the generated XML:
1. `GenRSS` accepts an `image_url` constructor argument ("Image absolute url for channel").
2. `GenRSS` accepts... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_image.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_rss.py::test_init_rss 'tests/test_rss.py::test_feed_description[short(10)]' 'tests/test_rss.py::test_feed_description[long(285)]' 'tests/test_rss.py::test_feed_description[+nl]' 'tests/test_rss.py::test_feed_copyright[copy]' tests/test_rss.py::test_feed_pub_date tests/test_rss... | [
"tests/test_taskpilot_image.py::test_channel_image_object_serialization",
"tests/test_taskpilot_image.py::test_channel_image_object[+/-/-]",
"tests/test_taskpilot_image.py::test_channel_image_replaces_image_url",
"tests/test_taskpilot_image.py::test_item_image_object[-/-/-]",
"tests/test_taskpilot_image.py:... | [
"tests/test_rss.py::test_init_rss",
"tests/test_rss.py::test_feed_description[short(10)]",
"tests/test_rss.py::test_feed_description[long(285)]",
"tests/test_rss.py::test_feed_description[+nl]",
"tests/test_rss.py::test_feed_copyright[copy]",
"tests/test_rss.py::test_feed_pub_date",
"tests/test_rss.py::... | [
"tests/test_taskpilot_image.py::test_channel_image_object_serialization",
"tests/test_taskpilot_image.py::test_channel_image_object[+/-/-]",
"tests/test_taskpilot_image.py::test_channel_image_replaces_image_url",
"tests/test_taskpilot_image.py::test_item_image_object[-/-/-]",
"tests/test_taskpilot_image.py:... | [
"tests/test_taskpilot_image.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_image.py b/tests/test_taskpilot_image.py
new file mode 100644
index 0000000..a174607
--- /dev/null
+++ b/tests/test_taskpilot_image.py
@@ -0,0 +1,202 @@
+from lxml import etree
+import pytest
+from genrss import Image
+from tests.support import create_rss, create_item
+
+
+@pytest.fixt... |
round0 | t300-20261105-01-task-0396 | env-googleapis__python-bigquery-1999 | googleapis/python-bigquery | edcb79ca69dba30d8102abebb9d53bc76e4882ee | swerebench/sweb.eval.x86_64.googleapis_1776_python-bigquery-1999:latest | /testbed | # Arrow field for a BigQuery `REPEATED` column is created as nullable
When converting a BigQuery schema to an Arrow schema (used by `to_arrow`, `dataframe_to_parquet`, `load_table_from_dataframe`), a `SchemaField` with `mode="REPEATED"` is mapped to a pyarrow field with `nullable=True`. A BigQuery array itself cannot ... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 c4a0562ac1af7dc0a6a4be111f086f2150bd84e8e454f3b2d72bfa176b89c961
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/unit/test_taskpilot_repeated_nullability.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/unit/test__pandas_helpers.py::test_is_datetime tests/unit/test__pandas_helpers.py::test_do_all tests/unit/test__pandas_helpers.py::test_all_ 'tests/unit/test__pandas_helpers.py::test_bq_to_arrow_data_type[STRING-NULLABLE-is_string]' 'tests/unit/test__pandas_helpers.py::test_bq_to_a... | [
"tests/unit/test_taskpilot_repeated_nullability.py::test_bq_to_arrow_field_repeated_is_not_nullable[REPEATED-STRING-expected_inner_type0]",
"tests/unit/test_taskpilot_repeated_nullability.py::test_bq_to_arrow_field_repeated_is_not_nullable[REPEATED-INTEGER-expected_inner_type1]",
"tests/unit/test_taskpilot_repe... | [
"tests/unit/test__pandas_helpers.py::test_is_datetime",
"tests/unit/test__pandas_helpers.py::test_do_all",
"tests/unit/test__pandas_helpers.py::test_all_",
"tests/unit/test__pandas_helpers.py::test_bq_to_arrow_data_type[STRING-NULLABLE-is_string]",
"tests/unit/test__pandas_helpers.py::test_bq_to_arrow_data_... | [
"tests/unit/test_taskpilot_repeated_nullability.py::test_bq_to_arrow_field_repeated_is_not_nullable[REPEATED-STRING-expected_inner_type0]",
"tests/unit/test_taskpilot_repeated_nullability.py::test_bq_to_arrow_field_repeated_is_not_nullable[REPEATED-INTEGER-expected_inner_type1]",
"tests/unit/test_taskpilot_repe... | [
"tests/unit/test_taskpilot_repeated_nullability.py"
] | pytest-junit-v1 | diff --git a/tests/unit/test_taskpilot_repeated_nullability.py b/tests/unit/test_taskpilot_repeated_nullability.py
new file mode 100644
index 00000000..d1d93c85
--- /dev/null
+++ b/tests/unit/test_taskpilot_repeated_nullability.py
@@ -0,0 +1,132 @@
+# Copyright (c) 2024 The BigQuery Authors
+#
+# Permission is hereby g... |
round0 | t300-20261105-01-task-0419 | env-microformats__mf2py-208 | microformats/mf2py | 70bbb6a215854b8657ab7d44209a7ab0c4e3b92e | swerebench/sweb.eval.x86_64.microformats_1776_mf2py-208:latest | /testbed | # Option to expose the DOM for embedded (`e-*`) properties
`mf2py` currently returns every `e-*` property value as a dict with a serialized HTML string under `"html"`:
```python
>>> mf2py.parse(
... doc='<div class="h-entry"><div class="e-content">'
... '<p>Hello <a href="/x">world</a></p></div></div>',
.... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 3b07f391d4df08ef94dc57fa31f82c2b19df4bc9a82c6c180b76bcd8686f4a96
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short test/test_taskpilot_expose_dom.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short test/test_parser.py::test_empty test/test_parser.py::test_open_file test/test_parser.py::test_doc_tag test/test_parser.py::test_user_agent test/test_parser.py::test_base test/test_parser.py::test_simple_parse test/test_parser.py::test_simple_person_reference_same_element test/test_parser... | [
"test/test_taskpilot_expose_dom.py::test_expose_dom_default_off_output_unchanged",
"test/test_taskpilot_expose_dom.py::test_expose_dom_true_via_parse_function",
"test/test_taskpilot_expose_dom.py::test_expose_dom_true_via_parser_class",
"test/test_taskpilot_expose_dom.py::test_expose_dom_dom_matches_default_s... | [
"test/test_parser.py::test_empty",
"test/test_parser.py::test_open_file",
"test/test_parser.py::test_doc_tag",
"test/test_parser.py::test_user_agent",
"test/test_parser.py::test_base",
"test/test_parser.py::test_simple_parse",
"test/test_parser.py::test_simple_person_reference_same_element",
"test/tes... | [
"test/test_taskpilot_expose_dom.py::test_expose_dom_default_off_output_unchanged",
"test/test_taskpilot_expose_dom.py::test_expose_dom_true_via_parse_function",
"test/test_taskpilot_expose_dom.py::test_expose_dom_true_via_parser_class",
"test/test_taskpilot_expose_dom.py::test_expose_dom_dom_matches_default_s... | [
"test/test_taskpilot_expose_dom.py"
] | pytest-junit-v1 | diff --git a/test/test_taskpilot_expose_dom.py b/test/test_taskpilot_expose_dom.py
new file mode 100644
index 0000000..9af8e97
--- /dev/null
+++ b/test/test_taskpilot_expose_dom.py
@@ -0,0 +1,162 @@
+"""Tests for the opt-in ``expose_dom`` option for embedded (``e-*``) properties.
+
+Upstream request: https://github.com... |
round0 | t300-20261105-01-task-0436 | env-disconnect3d__cint-10 | disconnect3d/cint | 4f74e4945bf7e3631098e472bef6026bc124d116 | swerebench/sweb.eval.x86_64.disconnect3d_1776_cint-10:latest | /testbed | # Signed `/` and `%` results don't match C when operands have different signs
The README says cint's arithmetic operators "work the same as in C", but for the signed types (`I8`, `I16`, `I32`, `I64`) division and remainder differ from C whenever the operands have different signs:
```python
from cint import I32
print... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 efdd21b67a27872838e400a083e7c9263e191a40905afd2ab06732d675e4c1a5
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_signed_divmod.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short 'tests/test_cint.py::test_abs[-1-I8]' 'tests/test_cint.py::test_abs[-1-I16]' 'tests/test_cint.py::test_abs[-1-I32]' 'tests/test_cint.py::test_abs[-1-I64]' 'tests/test_cint.py::test_abs[0-I8]' 'tests/test_cint.py::test_abs[0-I16]' 'tests/test_cint.py::test_abs[0-I32]' 'tests/test_cint.py:... | [
"tests/test_taskpilot_signed_divmod.py::test_signed_div_truncates_toward_zero[-7-2--3--1-I8]",
"tests/test_taskpilot_signed_divmod.py::test_signed_div_truncates_toward_zero[-7-2--3--1-I16]",
"tests/test_taskpilot_signed_divmod.py::test_signed_div_truncates_toward_zero[-7-2--3--1-I32]",
"tests/test_taskpilot_s... | [
"tests/test_cint.py::test_abs[-1-I8]",
"tests/test_cint.py::test_abs[-1-I16]",
"tests/test_cint.py::test_abs[-1-I32]",
"tests/test_cint.py::test_abs[-1-I64]",
"tests/test_cint.py::test_abs[0-I8]",
"tests/test_cint.py::test_abs[0-I16]",
"tests/test_cint.py::test_abs[0-I32]",
"tests/test_cint.py::test_a... | [
"tests/test_taskpilot_signed_divmod.py::test_signed_div_truncates_toward_zero[-7-2--3--1-I8]",
"tests/test_taskpilot_signed_divmod.py::test_signed_div_truncates_toward_zero[-7-2--3--1-I16]",
"tests/test_taskpilot_signed_divmod.py::test_signed_div_truncates_toward_zero[-7-2--3--1-I32]",
"tests/test_taskpilot_s... | [
"tests/test_taskpilot_signed_divmod.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_signed_divmod.py b/tests/test_taskpilot_signed_divmod.py
new file mode 100644
index 0000000..3a7a2a0
--- /dev/null
+++ b/tests/test_taskpilot_signed_divmod.py
@@ -0,0 +1,125 @@
+"""Tests for C-like signed division and remainder.
+
+The README states that cint's arithmetic operators "wo... |
round0 | t300-20261105-01-task-0444 | env-getsentry__responses-564 | getsentry/responses | b12933515a59e07652039b0481ec4cf278a58727 | swerebench/sweb.eval.x86_64.getsentry_1776_responses-564:latest | /testbed | # Custom registry passed to `@responses.activate(registry=...)` is only in effect on the first call
When a custom registry (e.g. `responses.registries.OrderedRegistry`) is passed to `@responses.activate(registry=...)`, it is only used during the first invocation of the decorated function. Every subsequent invocation s... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 52132c6290bfce94078795d97da469d4d97d42bcdbf0ccce280f299de94ea0e4
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short responses/tests/test_taskpilot_registry_decorator.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short responses/tests/test_registries.py::test_set_registry_not_empty responses/tests/test_registries.py::test_set_registry responses/tests/test_registries.py::test_set_registry_context_manager responses/tests/test_registries.py::test_registry_reset responses/tests/test_registries.py::TestOrde... | [
"responses/tests/test_taskpilot_registry_decorator.py::test_custom_registry_enforces_order_on_every_invocation",
"responses/tests/test_taskpilot_registry_decorator.py::test_custom_registry_fresh_instance_per_invocation",
"responses/tests/test_taskpilot_registry_decorator.py::test_custom_registry_in_effect_on_ev... | [
"responses/tests/test_registries.py::test_set_registry_not_empty",
"responses/tests/test_registries.py::test_set_registry",
"responses/tests/test_registries.py::test_set_registry_context_manager",
"responses/tests/test_registries.py::test_registry_reset",
"responses/tests/test_registries.py::TestOrderedRegi... | [
"responses/tests/test_taskpilot_registry_decorator.py::test_custom_registry_enforces_order_on_every_invocation",
"responses/tests/test_taskpilot_registry_decorator.py::test_custom_registry_fresh_instance_per_invocation",
"responses/tests/test_taskpilot_registry_decorator.py::test_no_registry_argument_behaviour_... | [
"responses/tests/test_taskpilot_registry_decorator.py"
] | pytest-junit-v1 | diff --git a/responses/tests/test_taskpilot_registry_decorator.py b/responses/tests/test_taskpilot_registry_decorator.py
new file mode 100644
index 0000000..bc6b64c
--- /dev/null
+++ b/responses/tests/test_taskpilot_registry_decorator.py
@@ -0,0 +1,131 @@
+"""Tests for the custom ``registry=`` argument of ``@responses.... |
round0 | t300-20261105-01-task-0469 | env-valohai__valohai-cli-321 | valohai/valohai-cli | cdc6cfbc3670bb1947ebd6185bd3f670b66afe66 | swerebench/sweb.eval.x86_64.valohai_1776_valohai-cli-321:latest | /testbed | # `vh exec run`: explicitly passed `0` values are silently ignored or dropped for Kubernetes resource options
When running `vh exec run`, an explicitly passed `0` is not treated as a real value for any of the Kubernetes resource override options (`--k8s-cpu-min`, `--k8s-cpu-max`, `--k8s-memory-min`, `--k8s-memory-max`... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 22b24f95d77b930b2f2dd0a3a5ba70d250cc8af20834bf28017345b8953b77b7
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/commands/execution/test_taskpilot_kube_zero_overrides.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/commands/execution/test_run.py::test_run_requires_step 'tests/commands/execution/test_run.py::test_run_env_var[regular-custom]' 'tests/commands/execution/test_run.py::test_run_env_var[regular-override-default]' 'tests/commands/execution/test_run.py::test_run_env_var[adhoc-custom]' ... | [
"tests/commands/execution/test_taskpilot_kube_zero_overrides.py::test_kube_zero_cpu_min_override_with_step_resources[regular]",
"tests/commands/execution/test_taskpilot_kube_zero_overrides.py::test_kube_zero_cpu_min_override_with_step_resources[adhoc]",
"tests/commands/execution/test_taskpilot_kube_zero_overrid... | [
"tests/commands/execution/test_run.py::test_run_requires_step",
"tests/commands/execution/test_run.py::test_run_env_var[regular-custom]",
"tests/commands/execution/test_run.py::test_run_env_var[regular-override-default]",
"tests/commands/execution/test_run.py::test_run_env_var[adhoc-custom]",
"tests/command... | [
"tests/commands/execution/test_taskpilot_kube_zero_overrides.py::test_kube_zero_cpu_min_override_with_step_resources[regular]",
"tests/commands/execution/test_taskpilot_kube_zero_overrides.py::test_kube_zero_cpu_min_override_with_step_resources[adhoc]",
"tests/commands/execution/test_taskpilot_kube_zero_overrid... | [
"tests/commands/execution/test_taskpilot_kube_zero_overrides.py"
] | pytest-junit-v1 | diff --git a/tests/commands/execution/test_taskpilot_kube_zero_overrides.py b/tests/commands/execution/test_taskpilot_kube_zero_overrides.py
new file mode 100644
index 0000000..0959644
--- /dev/null
+++ b/tests/commands/execution/test_taskpilot_kube_zero_overrides.py
@@ -0,0 +1,175 @@
+import pytest
+
+from tests.comma... |
round0 | t300-20261105-01-task-0470 | env-RadioAstronomySoftwareGroup__pyuvdata-724 | RadioAstronomySoftwareGroup/pyuvdata | fb15b4a3f1546da06ba2531e04455eb3e6d9a7ea | swerebench/sweb.eval.x86_64.radioastronomysoftwaregroup_1776_pyuvdata-724:latest | /testbed | # `utils.apply_uvflag` applies flags to the wrong polarization when UVFlag and UVData polarization orderings differ
When a `UVFlag` object's `polarization_array` contains the same polarizations as the `UVData` but in a different order (e.g., `[-6, -5]` vs. `[-5, -6]`), `apply_uvflag` applies the flags to the wrong pol... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 efdd21b67a27872838e400a083e7c9263e191a40905afd2ab06732d675e4c1a5
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short pyuvdata/tests/test_taskpilot_apply_uvflag_pol_order.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short pyuvdata/tests/test_uvcal.py::test_parameter_iter pyuvdata/tests/test_uvcal.py::test_required_parameter_iter pyuvdata/tests/test_uvcal.py::test_unexpected_parameters pyuvdata/tests/test_uvcal.py::test_unexpected_attributes pyuvdata/tests/test_uvcal.py::test_properties pyuvdata/tests/test... | [
"pyuvdata/tests/test_taskpilot_apply_uvflag_pol_order.py::test_apply_uvflag_pol_order_reversed",
"pyuvdata/tests/test_taskpilot_apply_uvflag_pol_order.py::test_apply_uvflag_pol_order_reversed_both_pols"
] | [
"pyuvdata/tests/test_uvcal.py::test_parameter_iter",
"pyuvdata/tests/test_uvcal.py::test_required_parameter_iter",
"pyuvdata/tests/test_uvcal.py::test_unexpected_parameters",
"pyuvdata/tests/test_uvcal.py::test_unexpected_attributes",
"pyuvdata/tests/test_uvcal.py::test_properties",
"pyuvdata/tests/test_u... | [
"pyuvdata/tests/test_taskpilot_apply_uvflag_pol_order.py::test_apply_uvflag_pol_order_reversed",
"pyuvdata/tests/test_taskpilot_apply_uvflag_pol_order.py::test_apply_uvflag_pol_order_reversed_both_pols",
"pyuvdata/tests/test_taskpilot_apply_uvflag_pol_order.py::test_apply_uvflag_pol_order_matching",
"pyuvdata... | [
"pyuvdata/tests/test_taskpilot_apply_uvflag_pol_order.py"
] | pytest-junit-v1 | diff --git a/pyuvdata/tests/test_taskpilot_apply_uvflag_pol_order.py b/pyuvdata/tests/test_taskpilot_apply_uvflag_pol_order.py
new file mode 100644
index 00000000..31cb56e5
--- /dev/null
+++ b/pyuvdata/tests/test_taskpilot_apply_uvflag_pol_order.py
@@ -0,0 +1,148 @@
+# -*- mode: python; coding: utf-8 -*-
+# Copyright (... |
round0 | t300-20261105-01-task-0491 | env-davebshow__goblin-65 | davebshow/goblin | 6328a004969d2cf02af9748045719020324bf8d5 | swerebench/sweb.eval.x86_64.davebshow_1776_goblin-65:latest | /testbed | # `Integer` validation downgrades Gremlin `long` values to plain `int`
Goblin's `Integer` data type does not preserve `aiogremlin.gremlin_python.statics.long`, the 64-bit integer type used by Gremlin Server / GraphSON. `long` is a subclass of `int`, but any value routed through `Integer` validation comes back as a pla... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 efdd21b67a27872838e400a083e7c9263e191a40905afd2ab06732d675e4c1a5
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_long_integer.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_properties.py::test_set_change_property tests/test_properties.py::test_property_default tests/test_properties.py::test_validation tests/test_properties.py::test_setattr_validation tests/test_properties.py::test_set_id_long tests/test_properties.py::test_id_class_attr_throws te... | [
"tests/test_taskpilot_long_integer.py::test_integer_validate_preserves_long",
"tests/test_taskpilot_long_integer.py::test_integer_initval_to_db_preserves_long",
"tests/test_taskpilot_long_integer.py::test_vertex_simple_property_assignment_preserves_long",
"tests/test_taskpilot_long_integer.py::test_edge_simpl... | [
"tests/test_properties.py::test_set_change_property",
"tests/test_properties.py::test_property_default",
"tests/test_properties.py::test_validation",
"tests/test_properties.py::test_setattr_validation",
"tests/test_properties.py::test_set_id_long",
"tests/test_properties.py::test_id_class_attr_throws",
... | [
"tests/test_taskpilot_long_integer.py::test_integer_validate_preserves_long",
"tests/test_taskpilot_long_integer.py::test_integer_validate_does_not_upgrade_plain_int",
"tests/test_taskpilot_long_integer.py::test_integer_validate_string_coercion_unchanged",
"tests/test_taskpilot_long_integer.py::test_integer_i... | [
"tests/test_taskpilot_long_integer.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_long_integer.py b/tests/test_taskpilot_long_integer.py
new file mode 100644
index 0000000..981f0f1
--- /dev/null
+++ b/tests/test_taskpilot_long_integer.py
@@ -0,0 +1,212 @@
+# Tests for preservation of Gremlin ``long`` values through ``Integer``
+# validation and for the application o... |
round0 | t300-20261105-01-task-0492 | env-stuartmaxwell__djpress-39 | stuartmaxwell/djpress | 60b00fe899461513dc4f8ed4b14b62bc71c6f157 | swerebench/sweb.eval.x86_64.stuartmaxwell_1776_djpress-39:latest | /testbed | # `page_link` renders `outer_class` as raw text instead of a `class` attribute
The `page_link` template tag does not turn its `outer_class` argument into a `class` attribute. The raw string is interpolated directly into the opening tag, producing malformed HTML. With a published page with slug `about`, the documented ... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_page_link_outer_class.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short 'tests/test_utils.py::test_get_author_display_name[test_user0]' 'tests/test_utils.py::test_get_author_display_name[test_user1]' 'tests/test_utils.py::test_get_author_display_name[test_user2]' 'tests/test_utils.py::test_get_author_display_name[test_user3]' tests/test_utils.py::test_render... | [
"tests/test_taskpilot_page_link_outer_class.py::test_page_link_outer_class_li",
"tests/test_taskpilot_page_link_outer_class.py::test_page_link_outer_class_div",
"tests/test_taskpilot_page_link_outer_class.py::test_page_link_outer_class_span_multiple_classes"
] | [
"tests/test_utils.py::test_get_author_display_name[test_user0]",
"tests/test_utils.py::test_get_author_display_name[test_user1]",
"tests/test_utils.py::test_get_author_display_name[test_user2]",
"tests/test_utils.py::test_get_author_display_name[test_user3]",
"tests/test_utils.py::test_render_markdown_basic... | [
"tests/test_taskpilot_page_link_outer_class.py::test_page_link_outer_class_li",
"tests/test_taskpilot_page_link_outer_class.py::test_page_link_outer_class_div",
"tests/test_taskpilot_page_link_outer_class.py::test_page_link_outer_class_span_multiple_classes",
"tests/test_taskpilot_page_link_outer_class.py::te... | [
"tests/test_taskpilot_page_link_outer_class.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_page_link_outer_class.py b/tests/test_taskpilot_page_link_outer_class.py
new file mode 100644
index 0000000..f4a857c
--- /dev/null
+++ b/tests/test_taskpilot_page_link_outer_class.py
@@ -0,0 +1,115 @@
+"""Tests for the `page_link` template tag's `outer_class` handling.
+
+`outer_class`... |
round0 | t300-20261105-01-task-0494 | env-mmaelicke__scikit-gstat-71 | mmaelicke/scikit-gstat | 590510f09227a0448f6eeeaa6ead0ea5a30f6021 | swerebench/sweb.eval.x86_64.mmaelicke_1776_scikit-gstat-71:latest | /testbed | # `DirectionalVariogram` crashes with `ValueError: array must not contain infs or NaNs` when `bandwidth` exceeds the maximum separating distance
Constructing a `DirectionalVariogram` with a `bandwidth` larger than the largest separating distance in the data fails during `__init__` with `ValueError: array must not cont... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 efdd21b67a27872838e400a083e7c9263e191a40905afd2ab06732d675e4c1a5
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short skgstat/tests/test_taskpilot_directional_bandwidth.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short skgstat/tests/test_directionalvariogram.py::TestDirectionalVariogramInstantiation::test_bandwidth skgstat/tests/test_directionalvariogram.py::TestDirectionalVariogramInstantiation::test_invalid_azimuth skgstat/tests/test_directionalvariogram.py::TestDirectionalVariogramInstantiation::tes... | [
"skgstat/tests/test_taskpilot_directional_bandwidth.py::TestOversizedBandwidth::test_bandwidth_larger_than_max_distance_constructs",
"skgstat/tests/test_taskpilot_directional_bandwidth.py::TestOversizedBandwidth::test_oversized_bandwidth_has_no_effect",
"skgstat/tests/test_taskpilot_directional_bandwidth.py::Te... | [
"skgstat/tests/test_directionalvariogram.py::TestDirectionalVariogramInstantiation::test_bandwidth",
"skgstat/tests/test_directionalvariogram.py::TestDirectionalVariogramInstantiation::test_invalid_azimuth",
"skgstat/tests/test_directionalvariogram.py::TestDirectionalVariogramInstantiation::test_invalid_model",... | [
"skgstat/tests/test_taskpilot_directional_bandwidth.py::TestOversizedBandwidth::test_bandwidth_larger_than_max_distance_constructs",
"skgstat/tests/test_taskpilot_directional_bandwidth.py::TestOversizedBandwidth::test_oversized_bandwidth_has_no_effect",
"skgstat/tests/test_taskpilot_directional_bandwidth.py::Te... | [
"skgstat/tests/test_taskpilot_directional_bandwidth.py"
] | pytest-junit-v1 | diff --git a/skgstat/tests/test_taskpilot_directional_bandwidth.py b/skgstat/tests/test_taskpilot_directional_bandwidth.py
new file mode 100644
index 0000000..d4d7d23
--- /dev/null
+++ b/skgstat/tests/test_taskpilot_directional_bandwidth.py
@@ -0,0 +1,151 @@
+"""Regression tests for DirectionalVariogram with an oversiz... |
round0 | t300-20261105-01-task-0511 | env-joke2k__django-environ-174 | joke2k/django-environ | 99d23c94769710009bf6630ac981e5ed0cdc461c | swerebench/sweb.eval.x86_64.joke2k_1776_django-environ-174:latest | /testbed | # `env.bytes()` raises `ImproperlyConfigured` instead of honoring the default when the variable is unset
When the environment variable is not set, `env.bytes()` ignores its `default` argument and raises `ImproperlyConfigured`:
```python
from environ import Env
env = Env()
env.bytes('MISSING_BYTES_VAR', default='fall... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 efdd21b67a27872838e400a083e7c9263e191a40905afd2ab06732d675e4c1a5
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short environ/test_taskpilot_bytes_default.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short environ/test.py::EnvTests::test_bool_false environ/test.py::EnvTests::test_bool_true environ/test.py::EnvTests::test_bytes environ/test.py::EnvTests::test_cache_url_value environ/test.py::EnvTests::test_contains environ/test.py::EnvTests::test_dict_parsing environ/test.py::EnvTests::test... | [
"environ/test_taskpilot_bytes_default.py::BytesDefaultTests::test_unset_with_empty_str_default",
"environ/test_taskpilot_bytes_default.py::BytesDefaultTests::test_unset_with_str_default_encoded_with_encoding",
"environ/test_taskpilot_bytes_default.py::BytesDefaultTests::test_unset_with_none_default_returns_none... | [
"environ/test.py::EnvTests::test_bool_false",
"environ/test.py::EnvTests::test_bool_true",
"environ/test.py::EnvTests::test_bytes",
"environ/test.py::EnvTests::test_cache_url_value",
"environ/test.py::EnvTests::test_contains",
"environ/test.py::EnvTests::test_dict_parsing",
"environ/test.py::EnvTests::t... | [
"environ/test_taskpilot_bytes_default.py::BytesDefaultTests::test_unset_without_default_raises",
"environ/test_taskpilot_bytes_default.py::BytesDefaultTests::test_unset_with_empty_str_default",
"environ/test_taskpilot_bytes_default.py::BytesDefaultTests::test_set_var_wins_over_str_default",
"environ/test_task... | [
"environ/test_taskpilot_bytes_default.py"
] | pytest-junit-v1 | diff --git a/environ/test_taskpilot_bytes_default.py b/environ/test_taskpilot_bytes_default.py
new file mode 100644
index 0000000..46d2946
--- /dev/null
+++ b/environ/test_taskpilot_bytes_default.py
@@ -0,0 +1,92 @@
+"""Tests for ``Env.bytes()`` honoring its ``default`` argument.
+
+Grounded in the frozen issue: when t... |
round0 | t300-20261105-01-task-0540 | env-GenericMappingTools__pygmt-1307 | GenericMappingTools/pygmt | ec73ea42428da74fca505cf6c14e71c5c667a6f3 | swerebench/sweb.eval.x86_64.genericmappingtools_1776_pygmt-1307:latest | /testbed | # Unhelpful error message when saving with a `.ps` extension
`Figure.savefig` raises `GMTInvalidInput: Unknown extension '.ps'` when the file name ends in `.ps`, with the same generic message as for genuinely invalid extensions like `.xyz`. Since `.ps` is a standard graphics format, the "unknown extension" wording mak... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short pygmt/tests/test_taskpilot_savefig_ps.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short pygmt/tests/test_figure.py::test_figure_region pygmt/tests/test_figure.py::test_figure_region_multiple pygmt/tests/test_figure.py::test_figure_region_country_codes pygmt/tests/test_figure.py::test_figure_savefig_exists pygmt/tests/test_figure.py::test_figure_savefig_transparent pygmt/tes... | [
"pygmt/tests/test_taskpilot_savefig_ps.py::test_taskpilot_savefig_ps_raises_dedicated_error"
] | [
"pygmt/tests/test_figure.py::test_figure_region",
"pygmt/tests/test_figure.py::test_figure_region_multiple",
"pygmt/tests/test_figure.py::test_figure_region_country_codes",
"pygmt/tests/test_figure.py::test_figure_savefig_exists",
"pygmt/tests/test_figure.py::test_figure_savefig_transparent",
"pygmt/tests... | [
"pygmt/tests/test_taskpilot_savefig_ps.py::test_taskpilot_savefig_ps_raises_dedicated_error",
"pygmt/tests/test_taskpilot_savefig_ps.py::test_taskpilot_savefig_ps_message_distinguishable_from_unknown",
"pygmt/tests/test_taskpilot_savefig_ps.py::test_taskpilot_savefig_unknown_extension_keeps_generic_message"
] | [
"pygmt/tests/test_taskpilot_savefig_ps.py"
] | pytest-junit-v1 | diff --git a/pygmt/tests/test_taskpilot_savefig_ps.py b/pygmt/tests/test_taskpilot_savefig_ps.py
new file mode 100644
index 00000000..700d03ae
--- /dev/null
+++ b/pygmt/tests/test_taskpilot_savefig_ps.py
@@ -0,0 +1,66 @@
+"""
+Tests for the error raised by ``Figure.savefig`` when given a ``.ps`` file name.
+
+``.ps`` i... |
round0 | t300-20261105-01-task-0541 | env-jpadilla__pyjwt-847 | jpadilla/pyjwt | 4e15dbd9aaef56b78ac8f885220d94f785d2b30c | swerebench/sweb.eval.x86_64.jpadilla_1776_pyjwt-847:latest | /testbed | # Malformed `iat`/`nbf`/`exp` claims raise `TypeError` out of `decode()` and are validated inconsistently
`jwt.decode()` validates the `iat`, `nbf`, and `exp` claims inconsistently, and some malformed values raise a bare built-in `TypeError` instead of a `jwt.exceptions.PyJWTError` subclass, so callers catching `PyJWT... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_time_claim_validation.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_api_jwt.py::TestJWT::test_decodes_valid_jwt tests/test_api_jwt.py::TestJWT::test_decodes_complete_valid_jwt tests/test_api_jwt.py::TestJWT::test_load_verify_valid_jwt tests/test_api_jwt.py::TestJWT::test_decode_invalid_payload_string tests/test_api_jwt.py::TestJWT::test_decode... | [
"tests/test_taskpilot_time_claim_validation.py::TestTimeClaimNumericStrings::test_numeric_string_iat_decodes_and_payload_not_rewritten",
"tests/test_taskpilot_time_claim_validation.py::TestTimeClaimNumericStrings::test_future_numeric_string_iat_raises_immature_signature",
"tests/test_taskpilot_time_claim_valida... | [
"tests/test_api_jwt.py::TestJWT::test_decodes_valid_jwt",
"tests/test_api_jwt.py::TestJWT::test_decodes_complete_valid_jwt",
"tests/test_api_jwt.py::TestJWT::test_load_verify_valid_jwt",
"tests/test_api_jwt.py::TestJWT::test_decode_invalid_payload_string",
"tests/test_api_jwt.py::TestJWT::test_decode_with_n... | [
"tests/test_taskpilot_time_claim_validation.py::TestTimeClaimNumericStrings::test_numeric_string_iat_decodes_and_payload_not_rewritten",
"tests/test_taskpilot_time_claim_validation.py::TestTimeClaimNumericStrings::test_future_numeric_string_iat_raises_immature_signature",
"tests/test_taskpilot_time_claim_valida... | [
"tests/test_taskpilot_time_claim_validation.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_time_claim_validation.py b/tests/test_taskpilot_time_claim_validation.py
new file mode 100644
index 0000000..b93a506
--- /dev/null
+++ b/tests/test_taskpilot_time_claim_validation.py
@@ -0,0 +1,185 @@
+"""Regression tests for validation of the ``iat``/``nbf``/``exp`` claims.
+
+Grounde... |
round0 | t300-20261105-01-task-0551 | env-radiasoft__pykern-107 | radiasoft/pykern | d05cce4a0ce8f51f5c07aa6121089ac3d9eb8150 | swerebench/sweb.eval.x86_64.radiasoft_1776_pykern-107:latest | /testbed | # `issues_as_csv` writes CSV files that don't round-trip and fails on non-ASCII under some locales
`pykern.pkcli.github.issues_as_csv` exports a repo's open issues to `<repo>.csv`, but the files it produces cannot be parsed back reliably with Python's `csv` module:
- A field containing `"` (but no comma or newline) i... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 efdd21b67a27872838e400a083e7c9263e191a40905afd2ab06732d675e4c1a5
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/pkcli/test_taskpilot_github_csv.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/pkunit_test.py::test_assert_object_with_json tests/pkunit_test.py::test_data_dir tests/pkunit_test.py::test_data_yaml tests/pkunit_test.py::test_empty_work_dir tests/pkunit_test.py::test_import_module_from_data_dir tests/pkunit_test.py::test_pkexcept tests/pkunit_test.py::test_pkok... | [
"tests/pkcli/test_taskpilot_github_csv.py::test_round_trip",
"tests/pkcli/test_taskpilot_github_csv.py::test_no_debug_output",
"tests/pkcli/test_taskpilot_github_csv.py::test_utf8_output_under_c_locale"
] | [
"tests/pkunit_test.py::test_assert_object_with_json",
"tests/pkunit_test.py::test_data_dir",
"tests/pkunit_test.py::test_data_yaml",
"tests/pkunit_test.py::test_empty_work_dir",
"tests/pkunit_test.py::test_import_module_from_data_dir",
"tests/pkunit_test.py::test_pkexcept",
"tests/pkunit_test.py::test_p... | [
"tests/pkcli/test_taskpilot_github_csv.py::test_round_trip",
"tests/pkcli/test_taskpilot_github_csv.py::test_format_preserved_for_simple_values",
"tests/pkcli/test_taskpilot_github_csv.py::test_no_debug_output",
"tests/pkcli/test_taskpilot_github_csv.py::test_utf8_output_under_c_locale"
] | [
"tests/pkcli/test_taskpilot_github_csv.py"
] | pytest-junit-v1 | diff --git a/tests/pkcli/test_taskpilot_github_csv.py b/tests/pkcli/test_taskpilot_github_csv.py
new file mode 100644
index 0000000..3821a3d
--- /dev/null
+++ b/tests/pkcli/test_taskpilot_github_csv.py
@@ -0,0 +1,250 @@
+# -*- coding: utf-8 -*-
+"""test pykern.pkcli.github issues_as_csv
+
+Exercises the export through ... |
round0 | t300-20261105-01-task-0562 | env-pypa__pip-11779 | pypa/pip | 6a416d281ee916209a450ab326d5398c9f63d317 | swerebench/sweb.eval.x86_64.pypa_1776_pip-11779:latest | /testbed | # `ArchiveInfo` drops the legacy `hash` when both `hash` and `hashes` are provided
`pip._internal.models.direct_url.ArchiveInfo` auto-populates the `hashes` mapping from the legacy `hash` string when only `hash` is given, but when **both** keys are provided, the legacy `hash` is never merged into `hashes` and is silen... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 efdd21b67a27872838e400a083e7c9263e191a40905afd2ab06732d675e4c1a5
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/unit/test_taskpilot_direct_url_hash_merge.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/unit/test_direct_url.py::test_from_json tests/unit/test_direct_url.py::test_to_json tests/unit/test_direct_url.py::test_archive_info tests/unit/test_direct_url.py::test_dir_info tests/unit/test_direct_url.py::test_vcs_info tests/unit/test_direct_url.py::test_redact_url --junitxml=/... | [
"tests/unit/test_taskpilot_direct_url_hash_merge.py::test_from_dict_merges_legacy_hash_into_hashes",
"tests/unit/test_taskpilot_direct_url_hash_merge.py::test_archive_info_direct_construction_merges_legacy_hash",
"tests/unit/test_taskpilot_direct_url_hash_merge.py::test_archive_info_merges_legacy_hash_into_empt... | [
"tests/unit/test_direct_url.py::test_from_json",
"tests/unit/test_direct_url.py::test_to_json",
"tests/unit/test_direct_url.py::test_archive_info",
"tests/unit/test_direct_url.py::test_dir_info",
"tests/unit/test_direct_url.py::test_vcs_info",
"tests/unit/test_direct_url.py::test_redact_url",
"tests/uni... | [
"tests/unit/test_taskpilot_direct_url_hash_merge.py::test_from_dict_merges_legacy_hash_into_hashes",
"tests/unit/test_taskpilot_direct_url_hash_merge.py::test_archive_info_direct_construction_merges_legacy_hash",
"tests/unit/test_taskpilot_direct_url_hash_merge.py::test_archive_info_merges_legacy_hash_into_empt... | [
"tests/unit/test_taskpilot_direct_url_hash_merge.py"
] | pytest-junit-v1 | diff --git a/tests/unit/test_taskpilot_direct_url_hash_merge.py b/tests/unit/test_taskpilot_direct_url_hash_merge.py
new file mode 100644
index 000000000..0d9f8c68c
--- /dev/null
+++ b/tests/unit/test_taskpilot_direct_url_hash_merge.py
@@ -0,0 +1,130 @@
+"""Tests for ArchiveInfo legacy ``hash`` / ``hashes`` merging (PE... |
round0 | t300-20261105-01-task-0567 | env-HewlettPackard__oneview-python-65 | HewlettPackard/oneview-python | 5449634aad2edee13ec7b66c4a1df298280b750f | swerebench/sweb.eval.x86_64.hewlettpackard_1776_oneview-python-65:latest | /testbed | # `Backups` upload/download can't complete the backup-archive workflow
The `Backups` client can't drive the documented backup → download → upload → restore lifecycle. Three problems:
1. `client.backups.upload("appliance_backup.bkp")` sends its multipart request to `POST /rest/backups` instead of `POST /rest/backups/a... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 efdd21b67a27872838e400a083e7c9263e191a40905afd2ab06732d675e4c1a5
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/unit/resources/settings/test_taskpilot_backups.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/unit/resources/settings/test_backups.py::BackupsTest::test_create_called_once tests/unit/resources/settings/test_backups.py::BackupsTest::test_download_called_once_by_id tests/unit/resources/settings/test_backups.py::BackupsTest::test_get_all_called_once tests/unit/resources/settin... | [
"tests/unit/resources/settings/test_taskpilot_backups.py::BackupsUploadDownloadTest::test_download_by_id_resolves_to_archive_uri",
"tests/unit/resources/settings/test_taskpilot_backups.py::BackupsUploadDownloadTest::test_upload_posts_multipart_to_archive_endpoint",
"tests/unit/resources/settings/test_taskpilot_... | [
"tests/unit/resources/settings/test_backups.py::BackupsTest::test_create_called_once",
"tests/unit/resources/settings/test_backups.py::BackupsTest::test_download_called_once_by_id",
"tests/unit/resources/settings/test_backups.py::BackupsTest::test_get_all_called_once",
"tests/unit/resources/settings/test_back... | [
"tests/unit/resources/settings/test_taskpilot_backups.py::BackupsUploadDownloadTest::test_download_by_id_resolves_to_archive_uri",
"tests/unit/resources/settings/test_taskpilot_backups.py::BackupsUploadDownloadTest::test_download_with_full_uri_uses_uri_as_is",
"tests/unit/resources/settings/test_taskpilot_backu... | [
"tests/unit/resources/settings/test_taskpilot_backups.py"
] | pytest-junit-v1 | diff --git a/tests/unit/resources/settings/test_taskpilot_backups.py b/tests/unit/resources/settings/test_taskpilot_backups.py
new file mode 100644
index 00000000..f9cacd0a
--- /dev/null
+++ b/tests/unit/resources/settings/test_taskpilot_backups.py
@@ -0,0 +1,208 @@
+# -*- coding: utf-8 -*-
+###
+# (C) Copyright [2020]... |
round0 | t300-20261105-01-task-0579 | env-googleapis__python-spanner-351 | googleapis/python-spanner | 7d5a6e1a10740ec754eddc93fa497d9f925c9051 | swerebench/sweb.eval.x86_64.googleapis_1776_python-spanner-351:latest | /testbed | # SQL statements with leading comments are classified as updating
`classify_stmt()` reports any statement beginning with a SQL comment as `STMT_UPDATING`, regardless of the actual statement:
```python
>>> classify_stmt("-- fetch all songs\nSELECT * FROM songs")
'UPDATING'
>>> classify_stmt("/* migration 42 */\nDROP T... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 31ca1125a2b032261743ad307d8ed0ba722b26166dda372bf3a25cc199f12612
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/unit/spanner_dbapi/test_taskpilot_classify_stmt_comments.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/unit/spanner_dbapi/test_parse_utils.py::TestParseUtils::test_ensure_where_clause tests/unit/spanner_dbapi/test_parse_utils.py::TestParseUtils::test_escape_name tests/unit/spanner_dbapi/test_parse_utils.py::TestParseUtils::test_get_param_types tests/unit/spanner_dbapi/test_parse_uti... | [
"tests/unit/spanner_dbapi/test_taskpilot_classify_stmt_comments.py::TestClassifyStmtComments::test_classify_stmt_leading_block_comment",
"tests/unit/spanner_dbapi/test_taskpilot_classify_stmt_comments.py::TestClassifyStmtComments::test_classify_stmt_leading_line_comment",
"tests/unit/spanner_dbapi/test_taskpilo... | [
"tests/unit/spanner_dbapi/test_parse_utils.py::TestParseUtils::test_ensure_where_clause",
"tests/unit/spanner_dbapi/test_parse_utils.py::TestParseUtils::test_escape_name",
"tests/unit/spanner_dbapi/test_parse_utils.py::TestParseUtils::test_get_param_types",
"tests/unit/spanner_dbapi/test_parse_utils.py::TestP... | [
"tests/unit/spanner_dbapi/test_taskpilot_classify_stmt_comments.py::TestClassifyStmtComments::test_classify_stmt_leading_block_comment",
"tests/unit/spanner_dbapi/test_taskpilot_classify_stmt_comments.py::TestClassifyStmtComments::test_classify_stmt_leading_line_comment",
"tests/unit/spanner_dbapi/test_taskpilo... | [
"tests/unit/spanner_dbapi/test_taskpilot_classify_stmt_comments.py"
] | pytest-junit-v1 | diff --git a/tests/unit/spanner_dbapi/test_taskpilot_classify_stmt_comments.py b/tests/unit/spanner_dbapi/test_taskpilot_classify_stmt_comments.py
new file mode 100644
index 0000000..ef6f3a1
--- /dev/null
+++ b/tests/unit/spanner_dbapi/test_taskpilot_classify_stmt_comments.py
@@ -0,0 +1,236 @@
+# Copyright 2020 Google ... |
round0 | t300-20261105-01-task-0597 | env-tkarabela__pysubs2-77 | tkarabela/pysubs2 | 0fe60c1600c3247db6bd7406e77c14e7c99d0681 | swerebench/sweb.eval.x86_64.tkarabela_1776_pysubs2-77:latest | /testbed | # Invalid SubStation timestamp when milliseconds round up to a full second
`SubstationFormat.ms_to_timestamp()` converts milliseconds to the SubStation format `H:MM:SS.cc`, which allows exactly two fractional digits. When the millisecond part rounds up to a whole second, it emits three fractional digits instead:
```p... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_substation_timestamp_carry.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_substation.py::test_simple_write tests/test_substation.py::test_simple_read tests/test_substation.py::test_color_parsing tests/test_substation.py::test_aegisub_project_garbage tests/test_substation.py::test_ascii_str_fields tests/test_substation.py::test_non_ascii_str_fields t... | [
"tests/test_taskpilot_substation_timestamp_carry.py::test_ms_to_timestamp_rounding_carries_into_seconds[995-0:00:01.00]",
"tests/test_taskpilot_substation_timestamp_carry.py::test_ms_to_timestamp_rounding_carries_into_seconds[999-0:00:01.00]",
"tests/test_taskpilot_substation_timestamp_carry.py::test_ms_to_time... | [
"tests/test_substation.py::test_simple_write",
"tests/test_substation.py::test_simple_read",
"tests/test_substation.py::test_color_parsing",
"tests/test_substation.py::test_aegisub_project_garbage",
"tests/test_substation.py::test_ascii_str_fields",
"tests/test_substation.py::test_non_ascii_str_fields",
... | [
"tests/test_taskpilot_substation_timestamp_carry.py::test_ms_to_timestamp_rounding_carries_into_seconds[0-0:00:00.00]",
"tests/test_taskpilot_substation_timestamp_carry.py::test_ms_to_timestamp_rounding_carries_into_seconds[4-0:00:00.00]",
"tests/test_taskpilot_substation_timestamp_carry.py::test_ms_to_timestam... | [
"tests/test_taskpilot_substation_timestamp_carry.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_substation_timestamp_carry.py b/tests/test_taskpilot_substation_timestamp_carry.py
new file mode 100644
index 0000000..99680d2
--- /dev/null
+++ b/tests/test_taskpilot_substation_timestamp_carry.py
@@ -0,0 +1,114 @@
+"""
+Regression tests for SubStation timestamps whose centisecond par... |
round0 | t300-20261105-01-task-0598 | env-google__cloud-forensics-utils-186 | google/cloud-forensics-utils | 935ef777447bed8f2ea07a5ed7c13e011095dab0 | swerebench/sweb.eval.x86_64.google_1776_cloud-forensics-utils-186:latest | /testbed | # `aws startvm --attach_volumes` rejects valid input and doesn't enforce the documented maximum
The `aws startvm` command accepts `--attach_volumes`, a comma-separated list of EC2 volume IDs to attach to the analysis VM. Its help text documents a maximum of 11 volumes, with device names in the `/dev/sd[f-p]` range.
A... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/providers/aws/test_taskpilot_startvm_attach_volumes.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/providers/aws/aws_test.py::AWSAccountTest::testCreateVolumeFromSnapshot tests/providers/aws/aws_test.py::AWSAccountTest::testGenerateVolumeName tests/providers/aws/aws_test.py::AWSAccountTest::testGetBootVolumeConfigByAmi tests/providers/aws/aws_test.py::AWSAccountTest::testGetInst... | [
"tests/providers/aws/test_taskpilot_startvm_attach_volumes.py::testSingleVolumeIdIsAccepted",
"tests/providers/aws/test_taskpilot_startvm_attach_volumes.py::testTwoVolumeIdsAreAccepted",
"tests/providers/aws/test_taskpilot_startvm_attach_volumes.py::testElevenVolumeIdsGetSequentialDeviceNames",
"tests/provide... | [
"tests/providers/aws/aws_test.py::AWSAccountTest::testCreateVolumeFromSnapshot",
"tests/providers/aws/aws_test.py::AWSAccountTest::testGenerateVolumeName",
"tests/providers/aws/aws_test.py::AWSAccountTest::testGetBootVolumeConfigByAmi",
"tests/providers/aws/aws_test.py::AWSAccountTest::testGetInstanceById",
... | [
"tests/providers/aws/test_taskpilot_startvm_attach_volumes.py::testSingleVolumeIdIsAccepted",
"tests/providers/aws/test_taskpilot_startvm_attach_volumes.py::testTwoVolumeIdsAreAccepted",
"tests/providers/aws/test_taskpilot_startvm_attach_volumes.py::testElevenVolumeIdsGetSequentialDeviceNames",
"tests/provide... | [
"tests/providers/aws/test_taskpilot_startvm_attach_volumes.py"
] | pytest-junit-v1 | diff --git a/tests/providers/aws/test_taskpilot_startvm_attach_volumes.py b/tests/providers/aws/test_taskpilot_startvm_attach_volumes.py
new file mode 100644
index 0000000..19e3211
--- /dev/null
+++ b/tests/providers/aws/test_taskpilot_startvm_attach_volumes.py
@@ -0,0 +1,180 @@
+# -*- coding: utf-8 -*-
+# Copyright 20... |
round0 | t300-20261105-01-task-0600 | env-pytest-dev__pytest-xdist-938 | pytest-dev/pytest-xdist | 6ae08a04d22c6e3dcd410cfc98accd2b27611332 | swerebench/sweb.eval.x86_64.pytest-dev_1776_pytest-xdist-938:latest | /testbed | # `--pdb` fails with `-n0` when a distribution mode is selected elsewhere
`-n0` is supposed to disable distribution (the `--pdb` error message itself suggests "try using -n0 or -nauto"), but if a distribution mode is selected by any other setting, `pytest -n0 --pdb` aborts with:
```
ERROR: --pdb is incompatible with ... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short testing/test_taskpilot_pdb_n0.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short testing/test_looponfail.py::TestStatRecorder::test_filechange testing/test_looponfail.py::TestStatRecorder::test_dirchange testing/test_looponfail.py::TestStatRecorder::test_filechange_deletion_race testing/test_looponfail.py::TestStatRecorder::test_pycremoval testing/test_looponfail.py:... | [
"testing/test_taskpilot_pdb_n0.py::test_pdb_n0_with_dist_load_option",
"testing/test_taskpilot_pdb_n0.py::test_pdb_n0_with_d_shortcut",
"testing/test_taskpilot_pdb_n0.py::test_pdb_n0_with_dist_in_addopts"
] | [
"testing/test_looponfail.py::TestStatRecorder::test_filechange",
"testing/test_looponfail.py::TestStatRecorder::test_dirchange",
"testing/test_looponfail.py::TestStatRecorder::test_filechange_deletion_race",
"testing/test_looponfail.py::TestStatRecorder::test_pycremoval",
"testing/test_looponfail.py::TestSt... | [
"testing/test_taskpilot_pdb_n0.py::test_pdb_n0_with_dist_load_option",
"testing/test_taskpilot_pdb_n0.py::test_pdb_n0_with_d_shortcut",
"testing/test_taskpilot_pdb_n0.py::test_pdb_n0_with_dist_in_addopts",
"testing/test_taskpilot_pdb_n0.py::test_pdb_n0_alone",
"testing/test_taskpilot_pdb_n0.py::test_pdb_nau... | [
"testing/test_taskpilot_pdb_n0.py"
] | pytest-junit-v1 | diff --git a/testing/test_taskpilot_pdb_n0.py b/testing/test_taskpilot_pdb_n0.py
new file mode 100644
index 0000000..ba0355e
--- /dev/null
+++ b/testing/test_taskpilot_pdb_n0.py
@@ -0,0 +1,102 @@
+"""Regression tests for ``--pdb`` combined with ``-n0`` when a distribution
+mode is selected by another setting (``--dist=... |
round0 | t300-20261105-01-task-0603 | env-frictionlessdata__frictionless-py-970 | frictionlessdata/frictionless-py | 384aa2e1a8d6d7f200c7a8e5dd60a80334e403de | swerebench/sweb.eval.x86_64.frictionlessdata_1776_frictionless-py-970:latest | /testbed | # `field_update` silently replaces every value with `None` when using `formula`
Using `steps.field_update` with a `formula` argument does not update the field — every value in the target column is silently replaced with `None`. No error or warning is raised; the transform completes successfully and only the cell value... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 8e6f94e77d2a9612300fbb2966f63d2f79c11f33d985874c0d1bfecad1cb97ef
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/steps/test_taskpilot_field_update_formula.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/steps/test_field.py::test_step_field_add tests/steps/test_field.py::test_step_field_add_with_position tests/steps/test_field.py::test_step_field_add_with_formula tests/steps/test_field.py::test_step_field_add_with_function tests/steps/test_field.py::test_step_field_add_with_increme... | [
"tests/steps/test_taskpilot_field_update_formula.py::test_step_field_update_with_formula",
"tests/steps/test_taskpilot_field_update_formula.py::test_step_field_update_with_formula_accessing_other_fields",
"tests/steps/test_taskpilot_field_update_formula.py::test_step_field_update_with_formula_and_new_name"
] | [
"tests/steps/test_field.py::test_step_field_add",
"tests/steps/test_field.py::test_step_field_add_with_position",
"tests/steps/test_field.py::test_step_field_add_with_formula",
"tests/steps/test_field.py::test_step_field_add_with_function",
"tests/steps/test_field.py::test_step_field_add_with_incremental",
... | [
"tests/steps/test_taskpilot_field_update_formula.py::test_step_field_update_with_formula",
"tests/steps/test_taskpilot_field_update_formula.py::test_step_field_update_with_formula_accessing_other_fields",
"tests/steps/test_taskpilot_field_update_formula.py::test_step_field_update_with_formula_and_new_name",
"... | [
"tests/steps/test_taskpilot_field_update_formula.py"
] | pytest-junit-v1 | diff --git a/tests/steps/test_taskpilot_field_update_formula.py b/tests/steps/test_taskpilot_field_update_formula.py
new file mode 100644
index 00000000..84e31964
--- /dev/null
+++ b/tests/steps/test_taskpilot_field_update_formula.py
@@ -0,0 +1,96 @@
+"""Regression tests for `field_update` with a `formula` argument.
+
... |
round0 | t300-20261105-01-task-0604 | env-caronc__apprise-324 | caronc/apprise | 2c2722f61f9f983827c8246943f0462098e5a0ed | swerebench/sweb.eval.x86_64.caronc_1776_apprise-324:latest | /testbed | # `is_hostname()` / `parse_url()` reject hostnames containing single-character labels
`apprise.utils.is_hostname()` returns `False` for any hostname that contains a single-character label, even though such labels are valid per RFC 1123 (section 2.1) and occur in the wild (e.g. `a.example.com`, `cloud.a.example.com`). ... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short test/test_taskpilot_hostname.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short test/test_utils.py::test_parse_qsd test/test_utils.py::test_parse_url test/test_utils.py::test_parse_bool test/test_utils.py::test_is_ipaddr test/test_utils.py::test_parse_emails test/test_utils.py::test_parse_urls test/test_utils.py::test_parse_list test/test_utils.py::test_exclusive_ma... | [
"test/test_taskpilot_hostname.py::test_is_hostname_single_character_labels[cloud.a.example.com]",
"test/test_taskpilot_hostname.py::test_is_hostname_single_character_labels[a.b.c]",
"test/test_taskpilot_hostname.py::test_is_hostname_single_character_labels[example.a]",
"test/test_taskpilot_hostname.py::test_p... | [
"test/test_utils.py::test_parse_qsd",
"test/test_utils.py::test_parse_url",
"test/test_utils.py::test_parse_bool",
"test/test_utils.py::test_is_ipaddr",
"test/test_utils.py::test_parse_emails",
"test/test_utils.py::test_parse_urls",
"test/test_utils.py::test_parse_list",
"test/test_utils.py::test_excl... | [
"test/test_taskpilot_hostname.py::test_is_hostname_single_character_labels[cloud.a.example.com]",
"test/test_taskpilot_hostname.py::test_is_hostname_single_character_labels[a.b.c]",
"test/test_taskpilot_hostname.py::test_is_hostname_single_character_labels_still_validated[a b.example.com]",
"test/test_taskpil... | [
"test/test_taskpilot_hostname.py"
] | pytest-junit-v1 | diff --git a/test/test_taskpilot_hostname.py b/test/test_taskpilot_hostname.py
new file mode 100644
index 0000000..2e51fce
--- /dev/null
+++ b/test/test_taskpilot_hostname.py
@@ -0,0 +1,179 @@
+# -*- coding: utf-8 -*-
+#
+# Copyright (C) 2020 Chris Caron <lead2gold@gmail.com>
+# All rights reserved.
+#
+# This code is ... |
round0 | t300-20261105-01-task-0607 | env-PyPSA__linopy-79 | PyPSA/linopy | 1ea0bab835f979063eea96287f12cb083c6d37e2 | swerebench/sweb.eval.x86_64.pypsa_1776_linopy-79:latest | /testbed | # linopy breaks with xarray 2024.7.0: `groupby()` raises `TypeError`, `Variables`/`Constraints` `repr()` crashes
With xarray 2024.7.0 (python 3.9, linopy current main), two things break that worked with older xarray versions such as 2022.12.0.
**Bug 1:** Calling `groupby()` on a `LinearExpression` or `Variable` raise... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short test/test_taskpilot_xarray_groupby_repr.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short test/test_linear_expression.py::test_repr test/test_linear_expression.py::test_linexpr_with_scalars test/test_linear_expression.py::test_linexpr_with_series test/test_linear_expression.py::test_linexpr_with_dataframe test/test_linear_expression.py::test_linexpr_duplicated_index test/test... | [
"test/test_taskpilot_xarray_groupby_repr.py::test_variables_repr_populated",
"test/test_taskpilot_xarray_groupby_repr.py::test_groupby_roll",
"test/test_taskpilot_xarray_groupby_repr.py::test_groupby_from_variable",
"test/test_taskpilot_xarray_groupby_repr.py::test_variables_repr_empty",
"test/test_taskpilo... | [
"test/test_linear_expression.py::test_repr",
"test/test_linear_expression.py::test_linexpr_with_scalars",
"test/test_linear_expression.py::test_linexpr_with_series",
"test/test_linear_expression.py::test_linexpr_with_dataframe",
"test/test_linear_expression.py::test_linexpr_duplicated_index",
"test/test_l... | [
"test/test_taskpilot_xarray_groupby_repr.py::test_variables_repr_populated",
"test/test_taskpilot_xarray_groupby_repr.py::test_groupby_roll",
"test/test_taskpilot_xarray_groupby_repr.py::test_groupby_from_variable",
"test/test_taskpilot_xarray_groupby_repr.py::test_variables_repr_empty",
"test/test_taskpilo... | [
"test/test_taskpilot_xarray_groupby_repr.py"
] | pytest-junit-v1 | diff --git a/test/test_taskpilot_xarray_groupby_repr.py b/test/test_taskpilot_xarray_groupby_repr.py
new file mode 100644
index 0000000..dbe65a2
--- /dev/null
+++ b/test/test_taskpilot_xarray_groupby_repr.py
@@ -0,0 +1,193 @@
+#!/usr/bin/env python3
+# -*- coding: utf-8 -*-
+"""
+Regression tests for linopy with xarray... |
round0 | t300-20261105-01-task-0610 | env-disconnect3d__cint-10 | disconnect3d/cint | 4f74e4945bf7e3631098e472bef6026bc124d116 | swerebench/sweb.eval.x86_64.disconnect3d_1776_cint-10:latest | /testbed | # Floor-division operator `//` (and `divmod()`) is unsupported even though `/` performs integer division
`cint` implements `/` for its wrapped ctypes integer types as C-style integer (floor) division, but `//` is not supported at all. Every form raises `TypeError`:
```python
from cint import I32, I8, U64
I32(7) / 2 ... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 efdd21b67a27872838e400a083e7c9263e191a40905afd2ab06732d675e4c1a5
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_floordiv.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short 'tests/test_cint.py::test_abs[-1-I8]' 'tests/test_cint.py::test_abs[-1-I16]' 'tests/test_cint.py::test_abs[-1-I32]' 'tests/test_cint.py::test_abs[-1-I64]' 'tests/test_cint.py::test_abs[0-I8]' 'tests/test_cint.py::test_abs[0-I16]' 'tests/test_cint.py::test_abs[0-I32]' 'tests/test_cint.py:... | [
"tests/test_taskpilot_floordiv.py::test_floordiv_matches_truediv[-7-2-I8]",
"tests/test_taskpilot_floordiv.py::test_floordiv_matches_truediv[-7-2-I16]",
"tests/test_taskpilot_floordiv.py::test_floordiv_matches_truediv[-7-2-I32]",
"tests/test_taskpilot_floordiv.py::test_floordiv_matches_truediv[-7-2-I64]",
"... | [
"tests/test_cint.py::test_abs[-1-I8]",
"tests/test_cint.py::test_abs[-1-I16]",
"tests/test_cint.py::test_abs[-1-I32]",
"tests/test_cint.py::test_abs[-1-I64]",
"tests/test_cint.py::test_abs[0-I8]",
"tests/test_cint.py::test_abs[0-I16]",
"tests/test_cint.py::test_abs[0-I32]",
"tests/test_cint.py::test_a... | [
"tests/test_taskpilot_floordiv.py::test_floordiv_matches_truediv[-7-2-I8]",
"tests/test_taskpilot_floordiv.py::test_floordiv_matches_truediv[-7-2-I16]",
"tests/test_taskpilot_floordiv.py::test_floordiv_matches_truediv[-7-2-I32]",
"tests/test_taskpilot_floordiv.py::test_floordiv_matches_truediv[-7-2-I64]",
"... | [
"tests/test_taskpilot_floordiv.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_floordiv.py b/tests/test_taskpilot_floordiv.py
new file mode 100644
index 0000000..e05ed43
--- /dev/null
+++ b/tests/test_taskpilot_floordiv.py
@@ -0,0 +1,184 @@
+"""
+Tests for the floor-division operator `//`, its reflected/in-place variants,
+and `divmod()` on cint types.
+
+Backgro... |
round0 | t300-20261105-01-task-0622 | env-geopandas__geopandas-2067 | geopandas/geopandas | be7d998001a7cedc47d80879ae00d62f4f25ca16 | swerebench/sweb.eval.x86_64.geopandas_1776_geopandas-2067:latest | /testbed | # `pandas.concat` silently overrides or drops CRS information when combining GeoSeries/GeoDataFrames
When concatenating GeoDataFrames or GeoSeries with `pd.concat(axis=0)`, the CRS of the result is taken from the first object, without checking that the inputs share the same CRS:
- If the inputs have different CRS, th... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 efdd21b67a27872838e400a083e7c9263e191a40905afd2ab06732d675e4c1a5
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short geopandas/tests/test_taskpilot_concat_crs.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short geopandas/tests/test_merge.py::TestMerging::test_merge geopandas/tests/test_merge.py::TestMerging::test_concat_axis0 geopandas/tests/test_merge.py::TestMerging::test_concat_axis1 geopandas/tests/test_merge.py::TestMerging::test_concat_axis1_multiple_geodataframes geopandas/tests/test_mer... | [
"geopandas/tests/test_taskpilot_concat_crs.py::test_concat_conflicting_crs_raises[gdf]",
"geopandas/tests/test_taskpilot_concat_crs.py::test_concat_conflicting_crs_raises[gs]",
"geopandas/tests/test_taskpilot_concat_crs.py::test_concat_missing_crs_warns_and_keeps_crs_gdf[False]",
"geopandas/tests/test_taskpil... | [
"geopandas/tests/test_merge.py::TestMerging::test_merge",
"geopandas/tests/test_merge.py::TestMerging::test_concat_axis0",
"geopandas/tests/test_merge.py::TestMerging::test_concat_axis1",
"geopandas/tests/test_merge.py::TestMerging::test_concat_axis1_multiple_geodataframes",
"geopandas/tests/test_merge.py::... | [
"geopandas/tests/test_taskpilot_concat_crs.py::test_concat_same_crs_kept_no_warning",
"geopandas/tests/test_taskpilot_concat_crs.py::test_concat_all_crs_unset_no_warning",
"geopandas/tests/test_taskpilot_concat_crs.py::test_concat_conflicting_crs_raises[gdf]",
"geopandas/tests/test_taskpilot_concat_crs.py::te... | [
"geopandas/tests/test_taskpilot_concat_crs.py"
] | pytest-junit-v1 | diff --git a/geopandas/tests/test_taskpilot_concat_crs.py b/geopandas/tests/test_taskpilot_concat_crs.py
new file mode 100644
index 00000000..d85c0505
--- /dev/null
+++ b/geopandas/tests/test_taskpilot_concat_crs.py
@@ -0,0 +1,139 @@
+"""
+Tests for CRS handling in ``pd.concat`` of GeoSeries/GeoDataFrames.
+
+Contract ... |
round0 | t300-20261105-01-task-0628 | env-frictionlessdata__frictionless-py-1137 | frictionlessdata/frictionless-py | 01f88f774f522e21484886c24b30ab2247957217 | swerebench/sweb.eval.x86_64.frictionlessdata_1776_frictionless-py-1137:latest | /testbed | # `describe(..., type="package")` fails with `TypeError: ... unexpected keyword argument 'dialect'`
The `dialect` option works when describing a file as a resource, but raises when the same source is described as a package:
```python
from frictionless import describe
# Works: resource-level describe honours the dial... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 8e6f94e77d2a9612300fbb2966f63d2f79c11f33d985874c0d1bfecad1cb97ef
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/actions/describe/test_taskpilot_describe_package_dialect.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/actions/describe/test_package.py::test_describe_package tests/actions/describe/test_package.py::test_describe_package_with_stats tests/actions/describe/test_package.py::test_describe_package_basepath tests/actions/describe/test_package.py::test_describe_package_hashing tests/action... | [
"tests/actions/describe/test_taskpilot_describe_package_dialect.py::test_describe_package_with_dialect",
"tests/actions/describe/test_taskpilot_describe_package_dialect.py::test_describe_package_with_dialect_reads_data",
"tests/actions/describe/test_taskpilot_describe_package_dialect.py::test_describe_package_a... | [
"tests/actions/describe/test_package.py::test_describe_package",
"tests/actions/describe/test_package.py::test_describe_package_with_stats",
"tests/actions/describe/test_package.py::test_describe_package_basepath",
"tests/actions/describe/test_package.py::test_describe_package_hashing",
"tests/actions/descr... | [
"tests/actions/describe/test_taskpilot_describe_package_dialect.py::test_describe_package_with_dialect",
"tests/actions/describe/test_taskpilot_describe_package_dialect.py::test_describe_package_with_dialect_reads_data",
"tests/actions/describe/test_taskpilot_describe_package_dialect.py::test_describe_package_a... | [
"tests/actions/describe/test_taskpilot_describe_package_dialect.py"
] | pytest-junit-v1 | diff --git a/tests/actions/describe/test_taskpilot_describe_package_dialect.py b/tests/actions/describe/test_taskpilot_describe_package_dialect.py
new file mode 100644
index 00000000..eb7216bd
--- /dev/null
+++ b/tests/actions/describe/test_taskpilot_describe_package_dialect.py
@@ -0,0 +1,68 @@
+from frictionless impor... |
round0 | t300-20261105-01-task-0645 | env-pysmt__pysmt-243 | pysmt/pysmt | 2abfb4538fa93379f9b2671bce30f27967dedbcf | swerebench/sweb.eval.x86_64.pysmt_1776_pysmt-243:latest | /testbed | # `simplify()` does not simplify `(x - y) <= 0` to `x <= y`
`simplify(LE(Int(0), Minus(x, y)))` correctly returns `(y <= x)`, but the mirrored case `simplify(LE(Minus(x, y), Int(0)))` returns `((x - y) <= 0)` unchanged, even though it is equivalent to `x <= y`. The simplification is asymmetric between the two directio... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short pysmt/test/test_taskpilot_simplify_minus_comparison.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short pysmt/test/test_formula.py::TestFormulaManager::test_0arity_function pysmt/test/test_formula.py::TestFormulaManager::test_all_different pysmt/test/test_formula.py::TestFormulaManager::test_and_node pysmt/test/test_formula.py::TestFormulaManager::test_at_most_one pysmt/test/test_formula.p... | [
"pysmt/test/test_taskpilot_simplify_minus_comparison.py::TestSimplifyMinusComparison::test_gt_minus_zero_int",
"pysmt/test/test_taskpilot_simplify_minus_comparison.py::TestSimplifyMinusComparison::test_le_minus_le_zero_int",
"pysmt/test/test_taskpilot_simplify_minus_comparison.py::TestSimplifyMinusComparison::t... | [
"pysmt/test/test_formula.py::TestFormulaManager::test_0arity_function",
"pysmt/test/test_formula.py::TestFormulaManager::test_all_different",
"pysmt/test/test_formula.py::TestFormulaManager::test_and_node",
"pysmt/test/test_formula.py::TestFormulaManager::test_at_most_one",
"pysmt/test/test_formula.py::Test... | [
"pysmt/test/test_taskpilot_simplify_minus_comparison.py::TestSimplifyMinusComparison::test_gt_minus_zero_int",
"pysmt/test/test_taskpilot_simplify_minus_comparison.py::TestSimplifyMinusComparison::test_le_minus_nonzero_rhs_unchanged",
"pysmt/test/test_taskpilot_simplify_minus_comparison.py::TestSimplifyMinusCom... | [
"pysmt/test/test_taskpilot_simplify_minus_comparison.py"
] | pytest-junit-v1 | diff --git a/pysmt/test/test_taskpilot_simplify_minus_comparison.py b/pysmt/test/test_taskpilot_simplify_minus_comparison.py
new file mode 100644
index 0000000..4c616a4
--- /dev/null
+++ b/pysmt/test/test_taskpilot_simplify_minus_comparison.py
@@ -0,0 +1,141 @@
+#
+# This file is part of pySMT.
+#
+# Copyright 2014 A... |
round0 | t300-20261105-01-task-0648 | env-ithaka__apiron-38 | ithaka/apiron | ebbc7abfeec309bc64fe1c6bed28fd0e5096ff5f | swerebench/sweb.eval.x86_64.ithaka_1776_apiron-38:latest | /testbed | # `StubEndpoint` cannot be called via `ServiceCaller.call()` or the `Service` call syntax
apiron 2.3.0 advertises two ways to invoke an endpoint — `ServiceCaller.call(service, endpoint, ...)` and calling an endpoint directly off its `Service` class — but `StubEndpoint` works with neither, for both static and callable ... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_stub_endpoint.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_endpoint.py::TestEndpoint::test_call tests/test_endpoint.py::TestEndpoint::test_call_without_service_raises_exception tests/test_endpoint.py::TestEndpoint::test_default_attributes_from_constructor tests/test_endpoint.py::TestEndpoint::test_constructor_stores_passed_attributes ... | [
"tests/test_taskpilot_stub_endpoint.py::TestStubEndpointViaServiceCallSyntax::test_static_stub_response",
"tests/test_taskpilot_stub_endpoint.py::TestStubEndpointViaServiceCallSyntax::test_callable_stub_response_receives_call_arguments",
"tests/test_taskpilot_stub_endpoint.py::TestStubEndpointViaServiceCaller::... | [
"tests/test_endpoint.py::TestEndpoint::test_call",
"tests/test_endpoint.py::TestEndpoint::test_call_without_service_raises_exception",
"tests/test_endpoint.py::TestEndpoint::test_default_attributes_from_constructor",
"tests/test_endpoint.py::TestEndpoint::test_constructor_stores_passed_attributes",
"tests/t... | [
"tests/test_taskpilot_stub_endpoint.py::TestStubEndpointWithoutService::test_call_without_service_raises_type_error",
"tests/test_taskpilot_stub_endpoint.py::TestRegularEndpointCompatibility::test_regular_endpoint_call_syntax_still_works",
"tests/test_taskpilot_stub_endpoint.py::TestRegularEndpointCompatibility... | [
"tests/test_taskpilot_stub_endpoint.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_stub_endpoint.py b/tests/test_taskpilot_stub_endpoint.py
new file mode 100644
index 0000000..212ade2
--- /dev/null
+++ b/tests/test_taskpilot_stub_endpoint.py
@@ -0,0 +1,142 @@
+"""
+Tests for calling ``StubEndpoint`` via the ``Service`` call syntax and via
+``ServiceCaller.call()``.
+... |
round0 | t300-20261105-01-task-0656 | env-zopefoundation__zope.site-18 | zopefoundation/zope.site | c3386aa3762152e0ca3f82dcc52c9b5d90ca1e85 | swerebench/sweb.eval.x86_64.zopefoundation_1776_zope.site-18:latest | /testbed | # Adapter lookups on the root folder resolve container registrations instead of `IRoot` registrations
On the root folder created by `zope.site.folder.rootFolder()` (or any object providing `IRootFolder`), adapter lookups return adapters registered for the `zope.container` interfaces (`IItemContainer`, `IContainer`) in... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 22b24f95d77b930b2f2dd0a3a5ba70d250cc8af20834bf28017345b8953b77b7
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short src/zope/site/tests/test_taskpilot_root_folder_ir.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short src/zope/site/tests/test_folder.py::TestSiteManagerContainer::test_IPossibleSite_verify src/zope/site/tests/test_folder.py::TestSiteManagerContainer::test_get_and_set src/zope/site/tests/test_folder.py::TestSiteManagerContainer::test_get_no_manager src/zope/site/tests/test_folder.py::Tes... | [
"src/zope/site/tests/test_taskpilot_root_folder_ir.py::RootFolderAdapterLookupTests::test_ir_root_is_more_specific_in_resolution_order",
"src/zope/site/tests/test_taskpilot_root_folder_ir.py::RootFolderAdapterLookupTests::test_plain_folder_unaffected_by_ir_root_registration",
"src/zope/site/tests/test_taskpilot... | [
"src/zope/site/tests/test_folder.py::TestSiteManagerContainer::test_IPossibleSite_verify",
"src/zope/site/tests/test_folder.py::TestSiteManagerContainer::test_get_and_set",
"src/zope/site/tests/test_folder.py::TestSiteManagerContainer::test_get_no_manager",
"src/zope/site/tests/test_folder.py::TestSiteManager... | [
"src/zope/site/tests/test_taskpilot_root_folder_ir.py::RootFolderAdapterLookupTests::test_ir_root_is_more_specific_in_resolution_order",
"src/zope/site/tests/test_taskpilot_root_folder_ir.py::RootFolderAdapterLookupTests::test_plain_folder_unaffected_by_ir_root_registration",
"src/zope/site/tests/test_taskpilot... | [
"src/zope/site/tests/test_taskpilot_root_folder_ir.py"
] | pytest-junit-v1 | diff --git a/src/zope/site/tests/test_taskpilot_root_folder_ir.py b/src/zope/site/tests/test_taskpilot_root_folder_ir.py
new file mode 100644
index 0000000..05bd310
--- /dev/null
+++ b/src/zope/site/tests/test_taskpilot_root_folder_ir.py
@@ -0,0 +1,193 @@
+###############################################################... |
round0 | t300-20261105-01-task-0657 | env-speedyturkey__porthole-44 | speedyturkey/porthole | 20bc80bc19641a1071563f8d59fd3ba135fd31bb | swerebench/sweb.eval.x86_64.speedyturkey_1776_porthole-44:latest | /testbed | # RowDict / QueryResult silently drop or ignore malformed input
`RowDict` and `QueryResult` accept several classes of malformed input without error and quietly return objects that have lost data or ignored arguments, so downstream consumers end up operating on truncated rows with no indication anything went wrong. Thi... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 efdd21b67a27872838e400a083e7c9263e191a40905afd2ab06732d675e4c1a5
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_RowDict_QueryResult_validation.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_Queries.py::TestQueries::test_queryresult tests/test_Queries.py::TestQueries::test_queryresult_map tests/test_Queries.py::TestRowDict::test_behavior tests/test_Queries.py::TestRowDict::test_init tests/test_Queries.py::TestRowDict::test_iteration --junitxml=/tmp/p2p.xml | [
"tests/test_taskpilot_RowDict_QueryResult_validation.py::TestRowDictDuplicateFields::test_duplicate_field_names_message_names_the_duplicate",
"tests/test_taskpilot_RowDict_QueryResult_validation.py::TestRowDictDuplicateFields::test_duplicate_field_names_raise",
"tests/test_taskpilot_RowDict_QueryResult_validati... | [
"tests/test_Queries.py::TestQueries::test_queryresult",
"tests/test_Queries.py::TestQueries::test_queryresult_map",
"tests/test_Queries.py::TestRowDict::test_behavior",
"tests/test_Queries.py::TestRowDict::test_init",
"tests/test_Queries.py::TestRowDict::test_iteration",
"tests/test_taskpilot_RowDict_Quer... | [
"tests/test_taskpilot_RowDict_QueryResult_validation.py::TestRowDictDuplicateFields::test_case_sensitive_comparison_allows_differing_case",
"tests/test_taskpilot_RowDict_QueryResult_validation.py::TestRowDictDuplicateFields::test_duplicate_field_names_message_names_the_duplicate",
"tests/test_taskpilot_RowDict_... | [
"tests/test_taskpilot_RowDict_QueryResult_validation.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_RowDict_QueryResult_validation.py b/tests/test_taskpilot_RowDict_QueryResult_validation.py
new file mode 100644
index 0000000..5f1a39b
--- /dev/null
+++ b/tests/test_taskpilot_RowDict_QueryResult_validation.py
@@ -0,0 +1,185 @@
+"""
+Tests for fail-fast validation of malformed input to... |
round0 | t300-20261105-01-task-0658 | env-tox-dev__tox-travis-93 | tox-dev/tox-travis | 53867873da9189cc04ed043147cbe1c915fb69d8 | swerebench/sweb.eval.x86_64.tox-dev_1776_tox-travis-93:latest | /testbed | # Wrong tox env selected when TRAVIS_PYTHON_VERSION is `pypy3.5`
On Travis CI, PyPy3 jobs set `TRAVIS_PYTHON_VERSION=pypy3.5` (not `pypy3`). When tox-travis derives the envlist from that variable, it doesn't recognize `pypy3.5` as a PyPy version and falls back to an env guessed from the interpreter running tox. The Py... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 efdd21b67a27872838e400a083e7c9263e191a40905afd2ab06732d675e4c1a5
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_envlist.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_after.py::TestAfter::test_pull_request tests/test_after.py::TestAfter::test_not_after_config_matches tests/test_after.py::TestAfter::test_no_github_token tests/test_after.py::TestAfter::test_travis_environment_build_id tests/test_after.py::TestAfter::test_travis_environment_jo... | [
"tests/test_taskpilot_envlist.py::TestPypy35VersionSelected::test_pypy35_selects_declared_pypy3_env",
"tests/test_taskpilot_envlist.py::TestPypy35VersionSelected::test_pypy35_used_verbatim_when_not_declared",
"tests/test_taskpilot_envlist.py::TestPypy35VersionSelected::test_get_default_envlist_pypy35"
] | [
"tests/test_after.py::TestAfter::test_pull_request",
"tests/test_after.py::TestAfter::test_not_after_config_matches",
"tests/test_after.py::TestAfter::test_no_github_token",
"tests/test_after.py::TestAfter::test_travis_environment_build_id",
"tests/test_after.py::TestAfter::test_travis_environment_job_numbe... | [
"tests/test_taskpilot_envlist.py::TestPypy35VersionSelected::test_pypy35_selects_declared_pypy3_env",
"tests/test_taskpilot_envlist.py::TestPypy35VersionSelected::test_pypy35_used_verbatim_when_not_declared",
"tests/test_taskpilot_envlist.py::TestPypy35VersionSelected::test_get_default_envlist_pypy35",
"tests... | [
"tests/test_taskpilot_envlist.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_envlist.py b/tests/test_taskpilot_envlist.py
new file mode 100644
index 0000000..92af962
--- /dev/null
+++ b/tests/test_taskpilot_envlist.py
@@ -0,0 +1,100 @@
+"""Regression tests: TRAVIS_PYTHON_VERSION=pypy3.5 must select the pypy3 env.
+
+On Travis CI, PyPy3 jobs set ``TRAVIS_PYTHON_... |
round0 | t300-20261105-01-task-0662 | env-GenericMappingTools__pygmt-1329 | GenericMappingTools/pygmt | 7f37e1ca5b14a4064447304a5bf3936489cf933f | swerebench/sweb.eval.x86_64.genericmappingtools_1776_pygmt-1329:latest | /testbed | # `pygmt.info` fails on a 1-D `pandas.Series` input
`pygmt.info` accepts a file name, `numpy.ndarray`, `pandas.DataFrame`, or `xarray.Dataset` as `table`, but passing a 1-D `pandas.Series` fails with a misleading error:
```python
import pandas as pd
from pygmt import info
info(table=pd.Series(data=[0, 4, 2, 8, 6]))
... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short pygmt/tests/test_taskpilot_info_pandas_series.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short pygmt/tests/test_info.py::test_info pygmt/tests/test_info.py::test_info_2d_list pygmt/tests/test_info.py::test_info_dataframe pygmt/tests/test_info.py::test_info_numpy_array_time_column pygmt/tests/test_info.py::test_info_pandas_dataframe_time_column pygmt/tests/test_info.py::test_info_x... | [
"pygmt/tests/test_taskpilot_info_pandas_series.py::test_taskpilot_info_pandas_series",
"pygmt/tests/test_taskpilot_info_pandas_series.py::test_taskpilot_info_pandas_series_per_column",
"pygmt/tests/test_taskpilot_info_pandas_series.py::test_taskpilot_info_pandas_series_spacing",
"pygmt/tests/test_taskpilot_in... | [
"pygmt/tests/test_info.py::test_info",
"pygmt/tests/test_info.py::test_info_2d_list",
"pygmt/tests/test_info.py::test_info_dataframe",
"pygmt/tests/test_info.py::test_info_numpy_array_time_column",
"pygmt/tests/test_info.py::test_info_pandas_dataframe_time_column",
"pygmt/tests/test_info.py::test_info_xar... | [
"pygmt/tests/test_taskpilot_info_pandas_series.py::test_taskpilot_info_pandas_series",
"pygmt/tests/test_taskpilot_info_pandas_series.py::test_taskpilot_info_pandas_series_per_column",
"pygmt/tests/test_taskpilot_info_pandas_series.py::test_taskpilot_info_pandas_series_spacing",
"pygmt/tests/test_taskpilot_in... | [
"pygmt/tests/test_taskpilot_info_pandas_series.py"
] | pytest-junit-v1 | diff --git a/pygmt/tests/test_taskpilot_info_pandas_series.py b/pygmt/tests/test_taskpilot_info_pandas_series.py
new file mode 100644
index 00000000..92f3e016
--- /dev/null
+++ b/pygmt/tests/test_taskpilot_info_pandas_series.py
@@ -0,0 +1,81 @@
+"""
+Tests that pygmt.info accepts 1-D pandas.Series inputs.
+
+A pandas.S... |
round0 | t300-20261105-01-task-0667 | env-scoutapp__scout_apm_python-298 | scoutapp/scout_apm_python | 6d62cf25e2d749359307b5b51df6236f5d387329 | swerebench/sweb.eval.x86_64.scoutapp_1776_scout_apm_python-298:latest | /testbed | # Pyramid integration does not report any data for requests that raise an exception
When a Pyramid view raises an exception, the scout-apm agent reports nothing for that request: no tracked request is captured, no error is tagged, and the request never appears in the Scout UI. Other web framework integrations (e.g. Dj... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/integration/test_taskpilot_pyramid.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/integration/test_pyramid.py::test_home 'tests/integration/test_pyramid.py::test_filtered_params[params0-/?foo=bar]' 'tests/integration/test_pyramid.py::test_filtered_params[params1-/?foo=bar&foo=bar2]' 'tests/integration/test_pyramid.py::test_filtered_params[params2-/?password=%5BF... | [
"tests/integration/test_taskpilot_pyramid.py::test_server_error_reported"
] | [
"tests/integration/test_pyramid.py::test_home",
"tests/integration/test_pyramid.py::test_filtered_params[params0-/?foo=bar]",
"tests/integration/test_pyramid.py::test_filtered_params[params1-/?foo=bar&foo=bar2]",
"tests/integration/test_pyramid.py::test_filtered_params[params2-/?password=%5BFILTERED%5D]",
"... | [
"tests/integration/test_taskpilot_pyramid.py::test_server_error_reported",
"tests/integration/test_taskpilot_pyramid.py::test_not_found_still_not_reported",
"tests/integration/test_taskpilot_pyramid.py::test_ignored_path_still_not_reported"
] | [
"tests/integration/test_taskpilot_pyramid.py"
] | pytest-junit-v1 | diff --git a/tests/integration/test_taskpilot_pyramid.py b/tests/integration/test_taskpilot_pyramid.py
new file mode 100644
index 0000000..5464500
--- /dev/null
+++ b/tests/integration/test_taskpilot_pyramid.py
@@ -0,0 +1,49 @@
+# coding=utf-8
+from __future__ import absolute_import, division, print_function, unicode_l... |
round0 | t300-20261105-01-task-0673 | env-seequent__pure_interface-54 | seequent/pure_interface | d3717fad8acb27d8f71a9fee7d9de798fdee8c16 | swerebench/sweb.eval.x86_64.seequent_1776_pure_interface-54:latest | /testbed | # Defining a `PureInterface` subclass with class keyword arguments raises `TypeError`
Python 3.6+ allows extra keyword arguments at class-definition time, which are forwarded to the parent class's `__init_subclass__` hook. This fails whenever `PureInterface` is part of the bases: any class keyword argument causes clas... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_class_kwargs.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_py3/test_impl3_checks.py::TestImplementationChecks::test_annotations tests/test_py3/test_impl3_checks.py::TestImplementationChecks::test_annotations2 --junitxml=/tmp/p2p.xml | [
"tests/test_taskpilot_class_kwargs.py::test_class_kwargs_forwarded_to_init_subclass",
"tests/test_taskpilot_class_kwargs.py::test_interface_machinery_intact_after_kwargs",
"tests/test_taskpilot_class_kwargs.py::test_class_kwargs_forwarded_on_further_subclassing",
"tests/test_taskpilot_class_kwargs.py::test_cl... | [
"tests/test_py3/test_impl3_checks.py::TestImplementationChecks::test_annotations",
"tests/test_py3/test_impl3_checks.py::TestImplementationChecks::test_annotations2",
"tests/test_taskpilot_class_kwargs.py::test_no_class_kwargs_unchanged",
"tests/test_taskpilot_class_kwargs.py::test_unaccepted_class_kwargs_sti... | [
"tests/test_taskpilot_class_kwargs.py::test_class_kwargs_forwarded_to_init_subclass",
"tests/test_taskpilot_class_kwargs.py::test_interface_machinery_intact_after_kwargs",
"tests/test_taskpilot_class_kwargs.py::test_class_kwargs_forwarded_on_further_subclassing",
"tests/test_taskpilot_class_kwargs.py::test_no... | [
"tests/test_taskpilot_class_kwargs.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_class_kwargs.py b/tests/test_taskpilot_class_kwargs.py
new file mode 100644
index 0000000..dfb37e8
--- /dev/null
+++ b/tests/test_taskpilot_class_kwargs.py
@@ -0,0 +1,139 @@
+# -*- coding: utf-8 -*-
+"""Class-definition keyword arguments must work when PureInterface is in the bases.
+
... |
round0 | t300-20261105-01-task-0681 | env-sympy__sympy-27741 | sympy/sympy | 8e48eb8dfb4dcaccc42c93e98dfd1ebcf5d8eb4a | swerebench/sweb.eval.x86_64.sympy_1776_sympy-27741:latest | /testbed | # `ask(Q.integer(...))` returns `True` for integer bases raised to negative integer exponents
`ask(Q.integer(expr))` answers `True` for an integer base raised to a negative integer exponent, e.g. reciprocals of integers, when the correct answer is `None` (unknown without further information). This also affects quotien... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short sympy/assumptions/tests/test_taskpilot_integer_pow.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short sympy/assumptions/tests/test_query.py::test_int_1 sympy/assumptions/tests/test_query.py::test_int_11 sympy/assumptions/tests/test_query.py::test_int_12 sympy/assumptions/tests/test_query.py::test_float_1 sympy/assumptions/tests/test_query.py::test_zero_0 sympy/assumptions/tests/test_quer... | [
"sympy/assumptions/tests/test_taskpilot_integer_pow.py::test_integer_reciprocal_unknown",
"sympy/assumptions/tests/test_taskpilot_integer_pow.py::test_integer_pow_unknown_sign_exponent",
"sympy/assumptions/tests/test_taskpilot_integer_pow.py::test_integer_quotient_of_integers_unknown",
"sympy/assumptions/test... | [
"sympy/assumptions/tests/test_query.py::test_int_1",
"sympy/assumptions/tests/test_query.py::test_int_11",
"sympy/assumptions/tests/test_query.py::test_int_12",
"sympy/assumptions/tests/test_query.py::test_float_1",
"sympy/assumptions/tests/test_query.py::test_zero_0",
"sympy/assumptions/tests/test_query.... | [
"sympy/assumptions/tests/test_taskpilot_integer_pow.py::test_integer_reciprocal_unknown",
"sympy/assumptions/tests/test_taskpilot_integer_pow.py::test_integer_pow_unknown_sign_exponent",
"sympy/assumptions/tests/test_taskpilot_integer_pow.py::test_integer_quotient_of_integers_unknown",
"sympy/assumptions/test... | [
"sympy/assumptions/tests/test_taskpilot_integer_pow.py"
] | pytest-junit-v1 | diff --git a/sympy/assumptions/tests/test_taskpilot_integer_pow.py b/sympy/assumptions/tests/test_taskpilot_integer_pow.py
new file mode 100644
index 0000000000..b91d4e962d
--- /dev/null
+++ b/sympy/assumptions/tests/test_taskpilot_integer_pow.py
@@ -0,0 +1,86 @@
+"""
+Tests for ask(Q.integer(...)) on integer bases rai... |
round0 | t300-20261105-01-task-0693 | env-amueller__word_cloud-529 | amueller/word_cloud | fe89bfd52096415d5b1333388f6d47e0e38fb3d7 | swerebench/sweb.eval.x86_64.amueller_1776_word_cloud-529:latest | /testbed | # `ImageColorGenerator` returns colors from the wrong image region for (almost) every word
When `ImageColorGenerator` is used as a `color_func` (directly, or via the CLI's `--colormask` option), the color returned for a word does not correspond to the region of the reference image under that word. The returned color i... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short test/test_taskpilot_image_color_generator.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short test/test_wordcloud.py::test_collocations test/test_wordcloud.py::test_plurals_numbers test/test_wordcloud.py::test_multiple_s test/test_wordcloud.py::test_empty_text test/test_wordcloud.py::test_default test/test_wordcloud.py::test_stopwords_lowercasing test/test_wordcloud.py::test_writ... | [
"test/test_taskpilot_image_color_generator.py::test_horizontal_word_straddling_color_boundary",
"test/test_taskpilot_image_color_generator.py::test_horizontal_word_gets_color_of_painted_region",
"test/test_taskpilot_image_color_generator.py::test_vertical_word_gets_color_of_painted_region",
"test/test_taskpil... | [
"test/test_wordcloud.py::test_collocations",
"test/test_wordcloud.py::test_plurals_numbers",
"test/test_wordcloud.py::test_multiple_s",
"test/test_wordcloud.py::test_empty_text",
"test/test_wordcloud.py::test_default",
"test/test_wordcloud.py::test_stopwords_lowercasing",
"test/test_wordcloud.py::test_w... | [
"test/test_taskpilot_image_color_generator.py::test_horizontal_word_straddling_color_boundary",
"test/test_taskpilot_image_color_generator.py::test_horizontal_word_gets_color_of_painted_region",
"test/test_taskpilot_image_color_generator.py::test_vertical_word_gets_color_of_painted_region",
"test/test_taskpil... | [
"test/test_taskpilot_image_color_generator.py"
] | pytest-junit-v1 | diff --git a/test/test_taskpilot_image_color_generator.py b/test/test_taskpilot_image_color_generator.py
new file mode 100644
index 0000000..2417d6a
--- /dev/null
+++ b/test/test_taskpilot_image_color_generator.py
@@ -0,0 +1,191 @@
+"""Tests for ImageColorGenerator region selection.
+
+`ImageColorGenerator` must return... |
round0 | t300-20261105-01-task-0695 | env-ofek__hatch-vcs-17 | ofek/hatch-vcs | 753f5091c4387b05230e2d2037652351c54f1c45 | swerebench/sweb.eval.x86_64.ofek_1776_hatch-vcs-17:latest | /testbed | # fallback-version is used instead of the tag when pyproject.toml is in a subdirectory of the git repository
I keep `pyproject.toml` in a subdirectory of my git repository and use `hatch-vcs` with a `fallback-version` so the project can still build from exported trees (sdists, GitHub tarballs) that have no `.git` meta... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 efdd21b67a27872838e400a083e7c9263e191a40905afd2ab06732d675e4c1a5
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_subdirectory_root.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_build.py::test_basic tests/test_build.py::test_fallback --junitxml=/tmp/p2p.xml | [
"tests/test_taskpilot_subdirectory_root.py::test_raw_options_root_tag_detected_in_subdirectory_no_fallback",
"tests/test_taskpilot_subdirectory_root.py::test_raw_options_root_tag_detected_in_subdirectory"
] | [
"tests/test_build.py::test_basic",
"tests/test_build.py::test_fallback",
"tests/test_taskpilot_subdirectory_root.py::test_default_layout_tag_beats_fallback",
"tests/test_taskpilot_subdirectory_root.py::test_fallback_used_when_no_vcs_metadata"
] | [
"tests/test_taskpilot_subdirectory_root.py::test_default_layout_tag_beats_fallback",
"tests/test_taskpilot_subdirectory_root.py::test_fallback_used_when_no_vcs_metadata",
"tests/test_taskpilot_subdirectory_root.py::test_raw_options_root_tag_detected_in_subdirectory_no_fallback",
"tests/test_taskpilot_subdirec... | [
"tests/test_taskpilot_subdirectory_root.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_subdirectory_root.py b/tests/test_taskpilot_subdirectory_root.py
new file mode 100644
index 0000000..3e85536
--- /dev/null
+++ b/tests/test_taskpilot_subdirectory_root.py
@@ -0,0 +1,178 @@
+# SPDX-FileCopyrightText: 2022-present Ofek Lev <oss@ofek.dev>
+#
+# SPDX-License-Identifier: MI... |
round0 | t300-20261105-01-task-0705 | env-reata__sqllineage-38 | reata/sqllineage | d79057f068fa8d2e3c8c121355eb9af2a026d899 | swerebench/sweb.eval.x86_64.reata_1776_sqllineage-38:latest | /testbed | # LineageParser crashes with AssertionError on comma-separated tables in FROM clause
Any SQL statement listing more than one source table in the FROM clause separated by commas makes `LineageParser` raise a raw `AssertionError`, both via the Python API and the `sqllineage` CLI:
```python
>>> LineageParser("SELECT * F... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 efdd21b67a27872838e400a083e7c9263e191a40905afd2ab06732d675e4c1a5
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_comma_from.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_select.py::test_select tests/test_select.py::test_select_multi_line tests/test_select.py::test_select_asterisk tests/test_select.py::test_select_value tests/test_select.py::test_select_function tests/test_select.py::test_select_with_where tests/test_select.py::test_select_with... | [
"tests/test_taskpilot_comma_from.py::test_select_from_comma_separated_two_tables",
"tests/test_taskpilot_comma_from.py::test_select_from_comma_separated_three_tables",
"tests/test_taskpilot_comma_from.py::test_select_from_comma_list_combined_with_join",
"tests/test_taskpilot_comma_from.py::test_select_from_co... | [
"tests/test_select.py::test_select",
"tests/test_select.py::test_select_multi_line",
"tests/test_select.py::test_select_asterisk",
"tests/test_select.py::test_select_value",
"tests/test_select.py::test_select_function",
"tests/test_select.py::test_select_with_where",
"tests/test_select.py::test_select_w... | [
"tests/test_taskpilot_comma_from.py::test_select_from_comma_separated_two_tables",
"tests/test_taskpilot_comma_from.py::test_select_from_comma_separated_three_tables",
"tests/test_taskpilot_comma_from.py::test_select_from_comma_list_combined_with_join",
"tests/test_taskpilot_comma_from.py::test_select_from_co... | [
"tests/test_taskpilot_comma_from.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_comma_from.py b/tests/test_taskpilot_comma_from.py
new file mode 100644
index 0000000..7514653
--- /dev/null
+++ b/tests/test_taskpilot_comma_from.py
@@ -0,0 +1,48 @@
+from .helpers import helper
+
+
+def test_select_from_comma_separated_two_tables():
+ helper("SELECT * FROM tab1, t... |
round0 | t300-20261105-01-task-0713 | env-matchms__matchms-539 | matchms/matchms | 4a75f129c1fa0a6ca1f7a72f5c9d39b92c3baf00 | swerebench/sweb.eval.x86_64.matchms_1776_matchms-539:latest | /testbed | # String `pepmass` metadata crashes spectrum creation or is parsed character-by-character
`matchms.filtering.interpret_pepmass` doesn't handle a `pepmass` metadata entry given as a string, even though string values are common in raw text formats (MGF/MSP lines, spreadsheet exports, user-supplied dicts). Since `Metadat... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/filtering/test_taskpilot_interpret_pepmass_str.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short 'tests/filtering/test_interpret_pepmass.py::test_interpret_pepmass[None-expected_results0]' 'tests/filtering/test_interpret_pepmass.py::test_interpret_pepmass[896.05-expected_results1]' 'tests/filtering/test_interpret_pepmass.py::test_interpret_pepmass[input_pepmass2-expected_results2]' ... | [
"tests/filtering/test_taskpilot_interpret_pepmass_str.py::test_string_pepmass_interpreted_by_content[896.05\\t1111.2\\t2+-expected6]",
"tests/filtering/test_taskpilot_interpret_pepmass_str.py::test_string_pepmass_overwrites_existing_charge",
"tests/filtering/test_taskpilot_interpret_pepmass_str.py::test_string_... | [
"tests/filtering/test_interpret_pepmass.py::test_interpret_pepmass[None-expected_results0]",
"tests/filtering/test_interpret_pepmass.py::test_interpret_pepmass[896.05-expected_results1]",
"tests/filtering/test_interpret_pepmass.py::test_interpret_pepmass[input_pepmass2-expected_results2]",
"tests/filtering/te... | [
"tests/filtering/test_taskpilot_interpret_pepmass_str.py::test_string_pepmass_interpreted_by_content[896.05\\t1111.2\\t2+-expected6]",
"tests/filtering/test_taskpilot_interpret_pepmass_str.py::test_non_string_pepmass_unchanged[None-expected0]",
"tests/filtering/test_taskpilot_interpret_pepmass_str.py::test_non_... | [
"tests/filtering/test_taskpilot_interpret_pepmass_str.py"
] | pytest-junit-v1 | diff --git a/tests/filtering/test_taskpilot_interpret_pepmass_str.py b/tests/filtering/test_taskpilot_interpret_pepmass_str.py
new file mode 100644
index 00000000..9d5b1545
--- /dev/null
+++ b/tests/filtering/test_taskpilot_interpret_pepmass_str.py
@@ -0,0 +1,126 @@
+"""Tests for string `pepmass` metadata handling in i... |
round0 | t300-20261105-01-task-0728 | env-sphinx-contrib__spelling-177 | sphinx-contrib/spelling | b2d6ed3b901a59006b04f70de2335184acb899ef | swerebench/sweb.eval.x86_64.sphinx-contrib_1776_spelling-177:latest | /testbed | # Misspelled words inside emphasis or strong text are not reported
The spelling builder reports misspelled words in plain paragraph text, but the same misspelling wrapped in inline emphasis (`*word*`) or strong (`**word**`) markup is silently skipped.
With `extensions = ['sphinxcontrib.spelling']` and this `contents.... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_inline_markup.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_builder.py::test_setup tests/test_builder.py::test_title tests/test_builder.py::test_body tests/test_builder.py::test_ignore_literals tests/test_builder.py::test_several_word_lists tests/test_builder.py::test_ignore_file tests/test_builder.py::test_get_suggestions_to_show_all ... | [
"tests/test_taskpilot_inline_markup.py::test_misspelling_in_emphasis_and_strong_reported",
"tests/test_taskpilot_inline_markup.py::test_inline_literal_still_ignored",
"tests/test_taskpilot_inline_markup.py::test_literal_block_still_ignored"
] | [
"tests/test_builder.py::test_setup",
"tests/test_builder.py::test_title",
"tests/test_builder.py::test_body",
"tests/test_builder.py::test_ignore_literals",
"tests/test_builder.py::test_several_word_lists",
"tests/test_builder.py::test_ignore_file",
"tests/test_builder.py::test_get_suggestions_to_show_a... | [
"tests/test_taskpilot_inline_markup.py::test_misspelling_in_emphasis_and_strong_reported",
"tests/test_taskpilot_inline_markup.py::test_inline_literal_still_ignored",
"tests/test_taskpilot_inline_markup.py::test_literal_block_still_ignored",
"tests/test_taskpilot_inline_markup.py::test_plain_text_output_uncha... | [
"tests/test_taskpilot_inline_markup.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_inline_markup.py b/tests/test_taskpilot_inline_markup.py
new file mode 100644
index 0000000..7e0577f
--- /dev/null
+++ b/tests/test_taskpilot_inline_markup.py
@@ -0,0 +1,142 @@
+#
+# Copyright (c) 2010 Doug Hellmann. All rights reserved.
+#
+"""Tests for spell checking text inside inl... |
round0 | t300-20261105-01-task-0738 | env-elastic__rally-627 | elastic/rally | 4497951696f75078fe05e2def4b95592e074d211 | swerebench/sweb.eval.x86_64.elastic_1776_rally-627:latest | /testbed | # Telemetry sampling devices collect samples at half the configured rate
The `node-stats` and `ccr-stats` telemetry devices take samples at roughly half the rate configured via their `node-stats-sample-interval` / `ccr-stats-sample-interval` parameters (both default to 1 second). For example, with `node-stats-sample-i... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 efdd21b67a27872838e400a083e7c9263e191a40905afd2ab06732d675e4c1a5
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/mechanic/test_taskpilot_telemetry_sampling_interval.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/mechanic/telemetry_test.py::TelemetryTests::test_merges_options_set_by_different_devices tests/mechanic/telemetry_test.py::StartupTimeTests::test_store_calculated_metrics tests/mechanic/telemetry_test.py::MergePartsDeviceTests::test_store_calculated_metrics tests/mechanic/telemetry... | [
"tests/mechanic/test_taskpilot_telemetry_sampling_interval.py::NodeStatsSamplingIntervalTests::test_samples_are_taken_approximately_every_sample_interval",
"tests/mechanic/test_taskpilot_telemetry_sampling_interval.py::NodeStatsSamplingIntervalTests::test_single_record_call_does_not_block_for_sample_interval",
... | [
"tests/mechanic/telemetry_test.py::TelemetryTests::test_merges_options_set_by_different_devices",
"tests/mechanic/telemetry_test.py::StartupTimeTests::test_store_calculated_metrics",
"tests/mechanic/telemetry_test.py::MergePartsDeviceTests::test_store_calculated_metrics",
"tests/mechanic/telemetry_test.py::Me... | [
"tests/mechanic/test_taskpilot_telemetry_sampling_interval.py::NodeStatsSamplingIntervalTests::test_samples_are_taken_approximately_every_sample_interval",
"tests/mechanic/test_taskpilot_telemetry_sampling_interval.py::NodeStatsSamplingIntervalTests::test_single_record_call_does_not_block_for_sample_interval",
... | [
"tests/mechanic/test_taskpilot_telemetry_sampling_interval.py"
] | pytest-junit-v1 | diff --git a/tests/mechanic/test_taskpilot_telemetry_sampling_interval.py b/tests/mechanic/test_taskpilot_telemetry_sampling_interval.py
new file mode 100644
index 00000000..56cd7cec
--- /dev/null
+++ b/tests/mechanic/test_taskpilot_telemetry_sampling_interval.py
@@ -0,0 +1,177 @@
+# Licensed to Elasticsearch B.V. unde... |
round0 | t300-20261105-01-task-0743 | env-piotrmaslanka__satella-11 | piotrmaslanka/satella | 5fa0a67e4d35431f2f54740ba8fcfbd7f6d8bc59 | swerebench/sweb.eval.x86_64.piotrmaslanka_1776_satella-11:latest | /testbed | # `@precondition` crashes with `AssertionError` for keyword arguments and defaults
`satella.coding.precondition` only works when every checked argument is passed positionally. Passing an argument as a keyword, or letting it be filled from its default, raises `AssertionError: More preconditions than positional argument... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_coding/test_taskpilot_precondition.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_coding/test_rethrow.py::TestStuff::test_rethrow tests/test_coding/test_rethrow.py::TestStuff::test_rethrow_2 tests/test_coding/test_rethrow.py::TestStuff::test_rethrow_3 tests/test_coding/test_rethrow.py::TestStuff::test_silencer tests/test_coding/test_rethrow.py::TestStuff::t... | [
"tests/test_coding/test_taskpilot_precondition.py::test_keyword_argument_failure_raises_precondition_error",
"tests/test_coding/test_taskpilot_precondition.py::test_missing_required_argument_raises_type_error",
"tests/test_coding/test_taskpilot_precondition.py::test_none_precondition_always_passes",
"tests/te... | [
"tests/test_coding/test_rethrow.py::TestStuff::test_rethrow",
"tests/test_coding/test_rethrow.py::TestStuff::test_rethrow_2",
"tests/test_coding/test_rethrow.py::TestStuff::test_rethrow_3",
"tests/test_coding/test_rethrow.py::TestStuff::test_silencer",
"tests/test_coding/test_rethrow.py::TestStuff::test_sil... | [
"tests/test_coding/test_taskpilot_precondition.py::test_keyword_argument_failure_raises_precondition_error",
"tests/test_coding/test_taskpilot_precondition.py::test_missing_required_argument_raises_type_error",
"tests/test_coding/test_taskpilot_precondition.py::test_none_precondition_always_passes",
"tests/te... | [
"tests/test_coding/test_taskpilot_precondition.py"
] | pytest-junit-v1 | diff --git a/tests/test_coding/test_taskpilot_precondition.py b/tests/test_coding/test_taskpilot_precondition.py
new file mode 100644
index 00000000..e12ad0ac
--- /dev/null
+++ b/tests/test_coding/test_taskpilot_precondition.py
@@ -0,0 +1,177 @@
+# coding=UTF-8
+from __future__ import print_function, absolute_import, d... |
round0 | t300-20261105-01-task-0750 | env-Sage-Bionetworks__challengeutils-171 | Sage-Bionetworks/challengeutils | 0b2129349fef07c072f9dc0d42c7de8485e3cc57 | swerebench/sweb.eval.x86_64.sage-bionetworks_1776_challengeutils-171:latest | /testbed | # `ChallengeApi.create_challenge` / `update_challenge` send an invalid request body
`ChallengeApi.create_challenge(teamid, projectid)` fails with an HTTP error from `POST /challenge` because the request body is not JSON. It sends the pretty-printed string representation of the `Challenge` object:
```
{'etag': None,
... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 efdd21b67a27872838e400a083e7c9263e191a40905afd2ab06732d675e4c1a5
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_challenge_json.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_challenge.py::test_challenge_obj tests/test_challenge.py::TestChallengeApi::test_get_registered_challenges tests/test_challenge.py::TestChallengeApi::test_get_challenge__with_id tests/test_challenge.py::TestChallengeApi::test_get_challenge__with_project tests/test_challenge.py... | [
"tests/test_taskpilot_challenge_json.py::test_create_challenge_sends_valid_json_body",
"tests/test_taskpilot_challenge_json.py::test_update_challenge_sends_valid_json_body",
"tests/test_taskpilot_challenge_json.py::test_update_challenge_optional_fields_body_is_json"
] | [
"tests/test_challenge.py::test_challenge_obj",
"tests/test_challenge.py::TestChallengeApi::test_get_registered_challenges",
"tests/test_challenge.py::TestChallengeApi::test_get_challenge__with_id",
"tests/test_challenge.py::TestChallengeApi::test_get_challenge__with_project",
"tests/test_challenge.py::TestC... | [
"tests/test_taskpilot_challenge_json.py::test_create_challenge_sends_valid_json_body",
"tests/test_taskpilot_challenge_json.py::test_update_challenge_sends_valid_json_body",
"tests/test_taskpilot_challenge_json.py::test_update_challenge_optional_fields_body_is_json"
] | [
"tests/test_taskpilot_challenge_json.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_challenge_json.py b/tests/test_taskpilot_challenge_json.py
new file mode 100644
index 0000000..b278266
--- /dev/null
+++ b/tests/test_taskpilot_challenge_json.py
@@ -0,0 +1,94 @@
+"""ChallengeApi.create_challenge/update_challenge must send valid JSON bodies.
+
+Regression tests for the... |
round0 | t300-20261105-01-task-0752 | env-pydicom__pydicom-2069 | pydicom/pydicom | 680f0df2aa7bc728b75c4942d4865d4a1b39f6f5 | swerebench/sweb.eval.x86_64.pydicom_1776_pydicom-2069:latest | /testbed | # `suppress_invalid_tags=True` drops an entire SQ element when one element inside a sequence item fails to serialize
With `Dataset.to_json_dict(suppress_invalid_tags=True)` (and `Dataset.to_json(...)`), an element that raises during serialization is dropped individually when it lives at the top level of the dataset — ... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_json_suppress_sq.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_json.py::TestPersonName::test_json_pn_from_file tests/test_json.py::TestPersonName::test_pn_components_to_json tests/test_json.py::TestPersonName::test_pn_components_from_json tests/test_json.py::TestPersonName::test_empty_value tests/test_json.py::TestPersonName::test_multi_v... | [
"tests/test_taskpilot_json_suppress_sq.py::TestSuppressInvalidTagsInSQItem::test_to_json_dict_drops_only_failing_element_in_sq_item",
"tests/test_taskpilot_json_suppress_sq.py::TestSuppressInvalidTagsInSQItem::test_to_json_drops_only_failing_element_in_sq_item",
"tests/test_taskpilot_json_suppress_sq.py::TestSu... | [
"tests/test_json.py::TestPersonName::test_json_pn_from_file",
"tests/test_json.py::TestPersonName::test_pn_components_to_json",
"tests/test_json.py::TestPersonName::test_pn_components_from_json",
"tests/test_json.py::TestPersonName::test_empty_value",
"tests/test_json.py::TestPersonName::test_multi_value_to... | [
"tests/test_taskpilot_json_suppress_sq.py::TestSuppressInvalidTagsInSQItem::test_to_json_dict_drops_only_failing_element_in_sq_item",
"tests/test_taskpilot_json_suppress_sq.py::TestSuppressInvalidTagsInSQItem::test_to_json_drops_only_failing_element_in_sq_item",
"tests/test_taskpilot_json_suppress_sq.py::TestSu... | [
"tests/test_taskpilot_json_suppress_sq.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_json_suppress_sq.py b/tests/test_taskpilot_json_suppress_sq.py
new file mode 100644
index 000000000..69c60179c
--- /dev/null
+++ b/tests/test_taskpilot_json_suppress_sq.py
@@ -0,0 +1,121 @@
+"""Tests for ``suppress_invalid_tags=True`` inside SQ sequence items.
+
+An element whose seria... |
round0 | t300-20261105-01-task-0757 | env-Colin-b__httpx_auth-105 | Colin-b/httpx_auth | 01f3646e8313dcf7ed29cb25dd6b6bf88e9976e1 | swerebench/sweb.eval.x86_64.colin-b_1776_httpx_auth-105:latest | /testbed | # Refresh token is silently discarded when the token endpoint does not return a new one
When an access token obtained via a refresh token expires, `httpx_auth` calls the token endpoint with `grant_type=refresh_token`. If the response does not include a new `refresh_token` field — which is allowed by [RFC 6749, section... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 278598042f54eda38b7c18d4649310e166d80560f8bfdd5413f4c04207eb516c
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/oauth2/resource_owner_password/test_taskpilot_refresh_token_kept.py tests/oauth2/authorization_code/test_taskpilot_refresh_token_kept.py tests/oauth2/authorization_code_pkce/test_taskpilot_refresh_token_kept.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/oauth2/client_credential/okta/test_oauth2_client_credential_okta_async.py::test_okta_client_credentials_flow_uses_provided_client tests/oauth2/client_credential/okta/test_oauth2_client_credential_okta_async.py::test_okta_client_credentials_flow_token_is_sent_in_authorization_header... | [
"tests/oauth2/resource_owner_password/test_taskpilot_refresh_token_kept.py::test_oauth2_password_credentials_flow_refresh_grant_without_new_refresh_token_keeps_previous_one",
"tests/oauth2/resource_owner_password/test_taskpilot_refresh_token_kept.py::test_oauth2_password_credentials_flow_refresh_grant_without_new... | [
"tests/oauth2/client_credential/okta/test_oauth2_client_credential_okta_async.py::test_okta_client_credentials_flow_uses_provided_client",
"tests/oauth2/client_credential/okta/test_oauth2_client_credential_okta_async.py::test_okta_client_credentials_flow_token_is_sent_in_authorization_header_by_default",
"tests... | [
"tests/oauth2/resource_owner_password/test_taskpilot_refresh_token_kept.py::test_oauth2_password_credentials_flow_refresh_grant_without_new_refresh_token_keeps_previous_one",
"tests/oauth2/resource_owner_password/test_taskpilot_refresh_token_kept.py::test_oauth2_password_credentials_flow_refresh_grant_with_new_re... | [
"tests/oauth2/resource_owner_password/test_taskpilot_refresh_token_kept.py",
"tests/oauth2/authorization_code/test_taskpilot_refresh_token_kept.py",
"tests/oauth2/authorization_code_pkce/test_taskpilot_refresh_token_kept.py"
] | pytest-junit-v1 | diff --git a/tests/oauth2/authorization_code/test_taskpilot_refresh_token_kept.py b/tests/oauth2/authorization_code/test_taskpilot_refresh_token_kept.py
new file mode 100644
index 0000000..9bdb8d7
--- /dev/null
+++ b/tests/oauth2/authorization_code/test_taskpilot_refresh_token_kept.py
@@ -0,0 +1,90 @@
+import httpx
+
+... |
round0 | t300-20261105-01-task-0763 | env-encode__starlette-1397 | encode/starlette | 165592fb89ad26383b4a8122b4829bdfe4c64d60 | swerebench/sweb.eval.x86_64.encode_1776_starlette-1397:latest | /testbed | # `Response` with status 204/304 (or 1xx) incorrectly sends a `Content-Length` header
Any `Response` (including subclasses like `JSONResponse`, `HTMLResponse`, `PlainTextResponse`, etc.) adds a `Content-Length` header even for status codes that must not carry a body: `1xx`, `204 No Content`, and `304 Not Modified`. A ... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 c7840b2f1689de1cc24bfa01085e58a0a48f4d78642f2175c67ba9b1360e23ab
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_no_content_length.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short 'tests/test_responses.py::test_text_response[asyncio]' 'tests/test_responses.py::test_text_response[trio]' 'tests/test_responses.py::test_bytes_response[asyncio]' 'tests/test_responses.py::test_bytes_response[trio]' 'tests/test_responses.py::test_json_none_response[asyncio]' 'tests/test_... | [
"tests/test_taskpilot_no_content_length.py::test_no_content_length_for_bodyless_status[asyncio-100]",
"tests/test_taskpilot_no_content_length.py::test_no_content_length_for_bodyless_status[asyncio-150]",
"tests/test_taskpilot_no_content_length.py::test_no_content_length_for_bodyless_status[asyncio-199]",
"tes... | [
"tests/test_responses.py::test_text_response[asyncio]",
"tests/test_responses.py::test_text_response[trio]",
"tests/test_responses.py::test_bytes_response[asyncio]",
"tests/test_responses.py::test_bytes_response[trio]",
"tests/test_responses.py::test_json_none_response[asyncio]",
"tests/test_responses.py:... | [
"tests/test_taskpilot_no_content_length.py::test_no_content_length_for_bodyless_status[asyncio-100]",
"tests/test_taskpilot_no_content_length.py::test_no_content_length_for_bodyless_status[asyncio-150]",
"tests/test_taskpilot_no_content_length.py::test_no_content_length_for_bodyless_status[asyncio-199]",
"tes... | [
"tests/test_taskpilot_no_content_length.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_no_content_length.py b/tests/test_taskpilot_no_content_length.py
new file mode 100644
index 0000000..883e577
--- /dev/null
+++ b/tests/test_taskpilot_no_content_length.py
@@ -0,0 +1,67 @@
+import pytest
+
+from starlette.responses import JSONResponse, PlainTextResponse, RedirectRespons... |
round0 | t300-20261105-01-task-0766 | env-marshmallow-code__marshmallow-1078 | marshmallow-code/marshmallow | ebf7564b1551cc93df3f6705ac77b2b3b67b5917 | swerebench/sweb.eval.x86_64.marshmallow-code_1776_marshmallow-1078:latest | /testbed | # `missing` is silently ignored on required fields
A field declared with both `required=True` and a `missing` value accepts the definition without any warning, but the `missing` value is never used:
```python
from marshmallow import Schema, fields, ValidationError
class UserSchema(Schema):
age = fields.Int(requi... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_missing_required.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short 'tests/test_fields.py::test_field_aliases[Integer-Integer]' 'tests/test_fields.py::test_field_aliases[String-String]' 'tests/test_fields.py::test_field_aliases[Boolean-Boolean]' 'tests/test_fields.py::test_field_aliases[Url-Url]' tests/test_fields.py::TestField::test_repr tests/test_fiel... | [
"tests/test_taskpilot_missing_required.py::TestRequiredAndMissingAreMutuallyExclusive::test_field_definition_raises_value_error",
"tests/test_taskpilot_missing_required.py::TestRequiredAndMissingAreMutuallyExclusive::test_schema_class_definition_raises_value_error",
"tests/test_taskpilot_missing_required.py::Te... | [
"tests/test_fields.py::test_field_aliases[Integer-Integer]",
"tests/test_fields.py::test_field_aliases[String-String]",
"tests/test_fields.py::test_field_aliases[Boolean-Boolean]",
"tests/test_fields.py::test_field_aliases[Url-Url]",
"tests/test_fields.py::TestField::test_repr",
"tests/test_fields.py::Tes... | [
"tests/test_taskpilot_missing_required.py::TestRequiredAndMissingAreMutuallyExclusive::test_field_definition_raises_value_error",
"tests/test_taskpilot_missing_required.py::TestRequiredAndMissingAreMutuallyExclusive::test_schema_class_definition_raises_value_error",
"tests/test_taskpilot_missing_required.py::Te... | [
"tests/test_taskpilot_missing_required.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_missing_required.py b/tests/test_taskpilot_missing_required.py
new file mode 100644
index 00000000..da6b8c82
--- /dev/null
+++ b/tests/test_taskpilot_missing_required.py
@@ -0,0 +1,66 @@
+# -*- coding: utf-8 -*-
+"""Tests for mutually exclusive ``required`` and ``missing`` field option... |
round0 | t300-20261105-01-task-0767 | env-craffel__mir_eval-249 | craffel/mir_eval | 6f8ee58f437dd9b8f54b3c9700e7b4dc3879853f | swerebench/sweb.eval.x86_64.craffel_1776_mir_eval-249:latest | /testbed | # `util.interpolate_intervals` assigns a label to time points that fall in gaps between intervals
`mir_eval.util.interpolate_intervals` is documented to map time points that do not fall inside any known interval to the `fill_value` (default `None`). When the input intervals are not contiguous, any time point lying in ... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 9699957569db8cbea33428b27e880ca337565d972f5dae5c601df93062b34bd8
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_interpolate_gaps.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_util.py::test_interpolate_intervals tests/test_util.py::test_intervals_to_samples tests/test_util.py::test_intersect_files tests/test_util.py::test_merge_labeled_intervals tests/test_util.py::test_boundaries_to_intervals tests/test_util.py::test_adjust_events tests/test_util.p... | [
"tests/test_taskpilot_interpolate_gaps.py::test_interpolate_intervals_gap_gets_default_fill_value",
"tests/test_taskpilot_interpolate_gaps.py::test_interpolate_intervals_explicit_fill_value_in_gap",
"tests/test_taskpilot_interpolate_gaps.py::test_intervals_to_samples_gap_gets_fill_value"
] | [
"tests/test_util.py::test_interpolate_intervals",
"tests/test_util.py::test_intervals_to_samples",
"tests/test_util.py::test_intersect_files",
"tests/test_util.py::test_merge_labeled_intervals",
"tests/test_util.py::test_boundaries_to_intervals",
"tests/test_util.py::test_adjust_events",
"tests/test_uti... | [
"tests/test_taskpilot_interpolate_gaps.py::test_interpolate_intervals_gap_gets_default_fill_value",
"tests/test_taskpilot_interpolate_gaps.py::test_interpolate_intervals_explicit_fill_value_in_gap",
"tests/test_taskpilot_interpolate_gaps.py::test_interpolate_intervals_interval_edges_stay_inclusive",
"tests/te... | [
"tests/test_taskpilot_interpolate_gaps.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_interpolate_gaps.py b/tests/test_taskpilot_interpolate_gaps.py
new file mode 100644
index 0000000..5cb8fc8
--- /dev/null
+++ b/tests/test_taskpilot_interpolate_gaps.py
@@ -0,0 +1,85 @@
+"""Regression tests for label assignment in gaps between intervals.
+
+`mir_eval.util.interpolate_in... |
round0 | t300-20261105-01-task-0776 | env-crate__crate-python-584 | crate/crate-python | 471f026fa5e764ac80c1a47c366600e3d5ca0ca0 | swerebench/sweb.eval.x86_64.crate_1776_crate-python-584:latest | /testbed | # `with_for_update()` compiles to `SELECT ... FOR UPDATE`, which CrateDB rejects
Using `Query.with_for_update()` / `Select.with_for_update()` produces a `SELECT ... FOR UPDATE` statement. CrateDB does not support row-level locking clauses, so the server rejects the statement and the query fails at runtime.
```python
... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 113e8b1ffc78fea128164bf8e9c975d79822cde8aa7aec164ac4e874ecb8b453
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short src/crate/client/sqlalchemy/tests/test_taskpilot_for_update.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short src/crate/client/sqlalchemy/tests/compiler_test.py::SqlAlchemyCompilerTest::test_bulk_update_on_builtin_type src/crate/client/sqlalchemy/tests/compiler_test.py::SqlAlchemyCompilerTest::test_crate_update_rewritten src/crate/client/sqlalchemy/tests/compiler_test.py::SqlAlchemyCompilerTest:... | [
"src/crate/client/sqlalchemy/tests/test_taskpilot_for_update.py::ForUpdateCompilerTest::test_orm_query_with_for_update_omits_locking_clause",
"src/crate/client/sqlalchemy/tests/test_taskpilot_for_update.py::ForUpdateCompilerTest::test_select_with_for_update_omits_locking_clause",
"src/crate/client/sqlalchemy/te... | [
"src/crate/client/sqlalchemy/tests/compiler_test.py::SqlAlchemyCompilerTest::test_bulk_update_on_builtin_type",
"src/crate/client/sqlalchemy/tests/compiler_test.py::SqlAlchemyCompilerTest::test_crate_update_rewritten",
"src/crate/client/sqlalchemy/tests/compiler_test.py::SqlAlchemyCompilerTest::test_insert_many... | [
"src/crate/client/sqlalchemy/tests/test_taskpilot_for_update.py::ForUpdateCompilerTest::test_orm_query_with_for_update_omits_locking_clause",
"src/crate/client/sqlalchemy/tests/test_taskpilot_for_update.py::ForUpdateCompilerTest::test_other_dialects_still_render_locking_clause",
"src/crate/client/sqlalchemy/tes... | [
"src/crate/client/sqlalchemy/tests/test_taskpilot_for_update.py"
] | pytest-junit-v1 | diff --git a/src/crate/client/sqlalchemy/tests/test_taskpilot_for_update.py b/src/crate/client/sqlalchemy/tests/test_taskpilot_for_update.py
new file mode 100644
index 0000000..5ec447c
--- /dev/null
+++ b/src/crate/client/sqlalchemy/tests/test_taskpilot_for_update.py
@@ -0,0 +1,197 @@
+# -*- coding: utf-8; -*-
+#
+# Li... |
round0 | t300-20261105-01-task-0784 | env-mapbox__mapbox-sdk-py-128 | mapbox/mapbox-sdk-py | 2c11fdee6eee83ea82398cc0756ac7f35aada801 | swerebench/sweb.eval.x86_64.mapbox_1776_mapbox-sdk-py-128:latest | /testbed | # `Static.image()` treats zero-valued lon/lat/z as missing and skips size, zoom, and format validation
`mapbox.services.static.Static.image()` mishandles several inputs, forcing callers to pre-validate arguments or silently get the wrong map.
When any of `lon`, `lat`, or `z` is `0`, `image()` behaves as if the argume... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 22b24f95d77b930b2f2dd0a3a5ba70d250cc8af20834bf28017345b8953b77b7
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_static.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_encoding.py::test_read_geojson_features tests/test_encoding.py::test_geo_interface tests/test_encoding.py::test_encode_waypoints tests/test_encoding.py::test_encode_limits tests/test_encoding.py::test_unsupported_geometry tests/test_encoding.py::test_unknown_object tests/test_... | [
"tests/test_taskpilot_static.py::test_staticmap_zero_lonlatz_features_centered_overlay",
"tests/test_taskpilot_static.py::test_staticmap_valid_formats_verbatim[jpeg]",
"tests/test_taskpilot_static.py::test_staticmap_empty_features_tuple_with_coords_centered",
"tests/test_taskpilot_static.py::test_staticmap_ze... | [
"tests/test_encoding.py::test_read_geojson_features",
"tests/test_encoding.py::test_geo_interface",
"tests/test_encoding.py::test_encode_waypoints",
"tests/test_encoding.py::test_encode_limits",
"tests/test_encoding.py::test_unsupported_geometry",
"tests/test_encoding.py::test_unknown_object",
"tests/te... | [
"tests/test_taskpilot_static.py::test_staticmap_empty_features_nofeatures_raises[empty1]",
"tests/test_taskpilot_static.py::test_staticmap_zoom_out_of_range[-3]",
"tests/test_taskpilot_static.py::test_staticmap_zero_lonlatz_features_centered_overlay",
"tests/test_taskpilot_static.py::test_staticmap_valid_form... | [
"tests/test_taskpilot_static.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_static.py b/tests/test_taskpilot_static.py
new file mode 100644
index 0000000..dd4aab5
--- /dev/null
+++ b/tests/test_taskpilot_static.py
@@ -0,0 +1,239 @@
+"""TaskPilot tests for Static.image() zero-value handling and validation.
+
+Grounded in the frozen issue: `0` is a valid longitu... |
round0 | t300-20261105-01-task-0795 | env-ModellingWebLab__cellmlmanip-167 | ModellingWebLab/cellmlmanip | fc8ab9ff9b9712aab0ffe98eb376e8cba5de61c9 | swerebench/sweb.eval.x86_64.modellingweblab_1776_cellmlmanip-167:latest | /testbed | # `load_model()` is not deterministic: repeated parses of the same file can return different `Model.equations` orderings
Loading the same, unchanged CellML file with `cellmlmanip.main.load_model()` does not always produce the same model: the order of the entries in the returned `Model.equations` list differs between p... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_deterministic_parsing.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_model_functions.py::TestModelFunctions::test_graph_property tests/test_model_functions.py::TestModelFunctions::test_graph_for_dae tests/test_model_functions.py::TestModelFunctions::test_get_state_symbols tests/test_model_functions.py::TestModelFunctions::test_get_state_symbols... | [
"tests/test_taskpilot_deterministic_parsing.py::TestDeterministicParsing::test_equations_order_deterministic_within_process",
"tests/test_taskpilot_deterministic_parsing.py::TestDeterministicParsing::test_equations_order_deterministic_across_processes_and_hash_seeds"
] | [
"tests/test_model_functions.py::TestModelFunctions::test_graph_property",
"tests/test_model_functions.py::TestModelFunctions::test_graph_for_dae",
"tests/test_model_functions.py::TestModelFunctions::test_get_state_symbols",
"tests/test_model_functions.py::TestModelFunctions::test_get_state_symbols2",
"tests... | [
"tests/test_taskpilot_deterministic_parsing.py::TestDeterministicParsing::test_equations_order_deterministic_within_process",
"tests/test_taskpilot_deterministic_parsing.py::TestDeterministicParsing::test_equations_order_deterministic_across_processes_and_hash_seeds",
"tests/test_taskpilot_deterministic_parsing... | [
"tests/test_taskpilot_deterministic_parsing.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_deterministic_parsing.py b/tests/test_taskpilot_deterministic_parsing.py
new file mode 100644
index 0000000..b2dd57f
--- /dev/null
+++ b/tests/test_taskpilot_deterministic_parsing.py
@@ -0,0 +1,125 @@
+"""Tests for deterministic parsing of CellML models.
+
+Loading the same, unchanged ... |
round0 | t300-20261105-01-task-0797 | env-tkarabela__pysubs2-77 | tkarabela/pysubs2 | 0fe60c1600c3247db6bd7406e77c14e7c99d0681 | swerebench/sweb.eval.x86_64.tkarabela_1776_pysubs2-77:latest | /testbed | # ASS/SSA timestamps ending in 995–999 ms are written without carrying into seconds
When saving to ASS/SSA, event times in the last 5–9 milliseconds of a second (i.e. `xxx995`–`xxx999` ms) are written with a malformed timestamp: the centisecond field is rounded up to `100` but the extra second/minute/hour is never car... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/test_taskpilot_ass_timestamp_carry.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_substation.py::test_simple_write tests/test_substation.py::test_simple_read tests/test_substation.py::test_color_parsing tests/test_substation.py::test_aegisub_project_garbage tests/test_substation.py::test_ascii_str_fields tests/test_substation.py::test_non_ascii_str_fields t... | [
"tests/test_taskpilot_ass_timestamp_carry.py::test_ms_to_timestamp_rounding_carries[995-0:00:01.00]",
"tests/test_taskpilot_ass_timestamp_carry.py::test_ms_to_timestamp_rounding_carries[1995-0:00:02.00]",
"tests/test_taskpilot_ass_timestamp_carry.py::test_ms_to_timestamp_rounding_carries[5995-0:00:06.00]",
"t... | [
"tests/test_substation.py::test_simple_write",
"tests/test_substation.py::test_simple_read",
"tests/test_substation.py::test_color_parsing",
"tests/test_substation.py::test_aegisub_project_garbage",
"tests/test_substation.py::test_ascii_str_fields",
"tests/test_substation.py::test_non_ascii_str_fields",
... | [
"tests/test_taskpilot_ass_timestamp_carry.py::test_ms_to_timestamp_rounding_carries[995-0:00:01.00]",
"tests/test_taskpilot_ass_timestamp_carry.py::test_ms_to_timestamp_rounding_carries[1995-0:00:02.00]",
"tests/test_taskpilot_ass_timestamp_carry.py::test_ms_to_timestamp_rounding_carries[5995-0:00:06.00]",
"t... | [
"tests/test_taskpilot_ass_timestamp_carry.py"
] | pytest-junit-v1 | diff --git a/tests/test_taskpilot_ass_timestamp_carry.py b/tests/test_taskpilot_ass_timestamp_carry.py
new file mode 100644
index 0000000..d26f53b
--- /dev/null
+++ b/tests/test_taskpilot_ass_timestamp_carry.py
@@ -0,0 +1,98 @@
+"""
+Regression tests for ASS/SSA timestamps ending in 995-999 ms.
+
+When saving to ASS/SS... |
round0 | t300-20261105-01-task-0805 | env-elastic__elasticsearch-dsl-py-1634 | elastic/elasticsearch-dsl-py | 0c0bdb786ba87753f632e279b0866b7fdd5b7837 | swerebench/sweb.eval.x86_64.elastic_1776_elasticsearch-dsl-py-1634:latest | /testbed | # `SerializationError` when a kNN search is given more than one filter
Passing a list of filters to `Search.knn()` fails at send time with
```
elasticsearch.SerializationError: Unable to serialize to JSON: Object of type Term is not JSON serializable
```
when the list contains more than one entry. With a single filt... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 308e6a4f0c83547e899e1242b7c4315e6f6175c138280dbcd1d18976c8f4154d
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short tests/_sync/test_taskpilot_knn_filter.py tests/_async/test_taskpilot_knn_filter.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short tests/test_query.py::test_empty_Q_is_match_all tests/test_query.py::test_combined_fields_to_dict tests/test_query.py::test_combined_fields_to_dict_extra tests/test_query.py::test_match_to_dict tests/test_query.py::test_match_to_dict_extra tests/test_query.py::test_fuzzy_to_dict tests/tes... | [
"tests/_sync/test_taskpilot_knn_filter.py::test_knn_filter_accepts_list_of_queries",
"tests/_sync/test_taskpilot_knn_filter.py::test_knn_filter_accepts_single_query_in_list",
"tests/_async/test_taskpilot_knn_filter.py::test_knn_filter_accepts_list_of_queries"
] | [
"tests/test_query.py::test_empty_Q_is_match_all",
"tests/test_query.py::test_combined_fields_to_dict",
"tests/test_query.py::test_combined_fields_to_dict_extra",
"tests/test_query.py::test_match_to_dict",
"tests/test_query.py::test_match_to_dict_extra",
"tests/test_query.py::test_fuzzy_to_dict",
"tests/... | [
"tests/_sync/test_taskpilot_knn_filter.py::test_knn_filter_accepts_list_of_queries",
"tests/_sync/test_taskpilot_knn_filter.py::test_knn_filter_accepts_single_query_in_list",
"tests/_sync/test_taskpilot_knn_filter.py::test_knn_filter_single_query_object_still_converted",
"tests/_sync/test_taskpilot_knn_filter... | [
"tests/_sync/test_taskpilot_knn_filter.py",
"tests/_async/test_taskpilot_knn_filter.py"
] | pytest-junit-v1 | diff --git a/tests/_async/test_taskpilot_knn_filter.py b/tests/_async/test_taskpilot_knn_filter.py
new file mode 100644
index 0000000..ca95e15
--- /dev/null
+++ b/tests/_async/test_taskpilot_knn_filter.py
@@ -0,0 +1,56 @@
+#
+# Regression tests for kNN `filter` serialization on AsyncSearch
+# (issue: SerializationError... |
round0 | t300-20261105-01-task-0810 | env-roboflow__supervision-555 | roboflow/supervision | 37951b3617a13a9efdc571ffc0b66789ded83655 | swerebench/sweb.eval.x86_64.roboflow_1776_supervision-555:latest | /testbed | # BlurAnnotator crashes when a detection box has negative coordinates or lies outside the image
`sv.BlurAnnotator.annotate()` raises an OpenCV error whenever a detection's bounding box is not fully contained within the frame:
```python
import numpy as np
import supervision as sv
scene = np.zeros((480, 640, 3), dtype... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short test/annotators/test_taskpilot_blur_annotator.py test/detection/test_taskpilot_quality_13178a5a0f8bc764839476ebcdc9f7dbc481693b3436d8820d553677990f6fe6.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short 'test/detection/test_utils.py::test_non_max_suppression[predictions0-0.5-expected_result0-exception0]' 'test/detection/test_utils.py::test_non_max_suppression[predictions1-0.5-expected_result1-exception1]' 'test/detection/test_utils.py::test_non_max_suppression[predictions2-0.5-expected_... | [
"test/annotators/test_taskpilot_blur_annotator.py::test_blur_annotator_negative_coordinates_box",
"test/annotators/test_taskpilot_blur_annotator.py::test_blur_annotator_slight_negative_overflow",
"test/annotators/test_taskpilot_blur_annotator.py::test_blur_annotator_box_fully_outside_frame_is_noop",
"test/ann... | [
"test/detection/test_utils.py::test_non_max_suppression[predictions0-0.5-expected_result0-exception0]",
"test/detection/test_utils.py::test_non_max_suppression[predictions1-0.5-expected_result1-exception1]",
"test/detection/test_utils.py::test_non_max_suppression[predictions2-0.5-expected_result2-exception2]",
... | [
"test/annotators/test_taskpilot_blur_annotator.py::test_blur_annotator_negative_coordinates_box",
"test/annotators/test_taskpilot_blur_annotator.py::test_blur_annotator_slight_negative_overflow",
"test/annotators/test_taskpilot_blur_annotator.py::test_blur_annotator_box_fully_outside_frame_is_noop",
"test/ann... | [
"test/annotators/test_taskpilot_blur_annotator.py",
"test/detection/test_taskpilot_quality_13178a5a0f8bc764839476ebcdc9f7dbc481693b3436d8820d553677990f6fe6.py"
] | pytest-junit-v1 | diff --git a/test/annotators/test_taskpilot_blur_annotator.py b/test/annotators/test_taskpilot_blur_annotator.py
new file mode 100644
index 00000000..fe5e2b98
--- /dev/null
+++ b/test/annotators/test_taskpilot_blur_annotator.py
@@ -0,0 +1,115 @@
+"""Tests for BlurAnnotator with detection boxes that are not fully
+conta... |
round0 | t300-20261105-01-task-0816 | env-bids-standard__pybids-611 | bids-standard/pybids | 5fab1dee770babffa7aef668b24cb59a90ba37ef | swerebench/sweb.eval.x86_64.bids-standard_1776_pybids-611:latest | /testbed | # `Entity(dtype=None)` raises `AttributeError` although `None` is documented as a valid dtype
The `Entity` docstring says that if `dtype` is `None`, "no type enforcement will be attempted", but constructing an entity with `dtype=None` crashes:
```python
from bids.layout.models import Entity
e = Entity('test', dtype=... | bash -lc 'set -e
cd -- /testbed
set -e
. /opt/conda/etc/profile.d/conda.sh && conda activate testbed
cd -- /testbed
# taskpilot-environment-preparation-v1 cc2733b646dc379352a78fd01651a20610357d4e44a7c163d09e56f45cf4cc73
python -c '"'"'import base64;exec(compile(base64.b64decode('"'"'"'"'"'"'"'"'CmltcG9ydCBoYXNobGliLCBq... | python -m pytest -rA --tb=short bids/layout/tests/test_taskpilot_dtype_none.py --junitxml=/tmp/f2p.xml | python -m pytest -rA --tb=short bids/layout/tests/test_models.py::test_entity_initialization bids/layout/tests/test_models.py::test_entity_init_all_args bids/layout/tests/test_models.py::test_entity_init_with_bad_dtype bids/layout/tests/test_models.py::test_entity_matches bids/layout/tests/test_models.py::test_entity_d... | [
"bids/layout/tests/test_taskpilot_dtype_none.py::test_entity_dtype_none_no_coercion",
"bids/layout/tests/test_taskpilot_dtype_none.py::test_entity_dtype_none_no_match_returns_none",
"bids/layout/tests/test_taskpilot_dtype_none.py::test_entity_dtype_none_constructs",
"bids/layout/tests/test_taskpilot_dtype_non... | [
"bids/layout/tests/test_models.py::test_entity_initialization",
"bids/layout/tests/test_models.py::test_entity_init_all_args",
"bids/layout/tests/test_models.py::test_entity_init_with_bad_dtype",
"bids/layout/tests/test_models.py::test_entity_matches",
"bids/layout/tests/test_models.py::test_entity_deepcopy... | [
"bids/layout/tests/test_taskpilot_dtype_none.py::test_entity_bad_dtype_still_raises",
"bids/layout/tests/test_taskpilot_dtype_none.py::test_entity_dtype_none_no_coercion",
"bids/layout/tests/test_taskpilot_dtype_none.py::test_entity_default_dtype_still_str",
"bids/layout/tests/test_taskpilot_dtype_none.py::te... | [
"bids/layout/tests/test_taskpilot_dtype_none.py"
] | pytest-junit-v1 | diff --git a/bids/layout/tests/test_taskpilot_dtype_none.py b/bids/layout/tests/test_taskpilot_dtype_none.py
new file mode 100644
index 00000000..79be7e93
--- /dev/null
+++ b/bids/layout/tests/test_taskpilot_dtype_none.py
@@ -0,0 +1,73 @@
+"""Tests for `Entity(dtype=None)` (see issue: None is documented as a valid
+dty... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.