repo stringclasses 8
values | instance_id stringclasses 10
values | base_commit stringclasses 10
values | patch stringclasses 1
value | test_patch stringclasses 10
values | problem_statement stringclasses 10
values | hint_text null | created_at timestamp[s]date 2025-01-13 16:47:19 2025-06-13 09:27:11 | closed_at timestamp[s]date 2025-01-13 16:47:19 2025-06-13 09:27:11 | version stringclasses 2
values | FAIL_TO_PASS listlengths 0 6 | PASS_TO_PASS listlengths 14 248 | environment_setup_commit null | command_build stringclasses 1
value | command_test stringclasses 1
value | image_name stringclasses 1
value | meta null | command_test_small stringclasses 10
values | timeout_build int64 3k 3k | timeout_test int64 600 600 | gold_patch stringclasses 10
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
reframe-hpc/reframe | reframe-0 | b7d86b1d777bc3bed7a3d71d95130376ab5d2820 | diff --git a/unittests/test_sanity_functions.py b/unittests/test_sanity_functions.py
index 7e6368938..0e9367027 100644
--- a/unittests/test_sanity_functions.py
+++ b/unittests/test_sanity_functions.py
@@ -473,6 +473,18 @@ def test_assert_reference():
r'\(l=-1\.2, u=-0\.9\)'):
sn.e... | Performance threshold goes to -inf when it should be zero.
In attempting to create a performance test where zero is the correct value, I created the following reference (since a value of zero results in no reference check being performed; see https://github.com/reframe-hpc/reframe/issues/2857):
```
self.refer... | null | 2025-03-18T08:54:38 | 2025-03-18T08:54:38 | 0.3.88 | [] | [
"unittests/test_sanity_functions.py::test_assert_ge_with_deferrables",
"unittests/test_sanity_functions.py::test_assert_in",
"unittests/test_sanity_functions.py::test_count_uniq",
"unittests/test_sanity_functions.py::test_assert_false_with_deferrables",
"unittests/test_sanity_functions.py::test_assert_not_i... | null | pip install -e .;
pip install pytest pytest-json-report; | pytest --json-report --json-report-file=report_pytest.json | python:3.11 | null | pytest --json-report --json-report-file=report_pytest.json unittests/test_sanity_functions.py | 3,000 | 600 | diff --git a/reframe/utility/sanity.py b/reframe/utility/sanity.py
index a4f57a301..1228586ff 100644
--- a/reframe/utility/sanity.py
+++ b/reframe/utility/sanity.py
@@ -8,6 +8,7 @@
import contextlib
import glob as pyglob
import itertools
+import math
import os
import re
import sys
@@ -576,8 +577,14 @@ def calc_bo... | |
PyCQA/pyflakes | pyflakes-1 | 433dfd001746a69d12597f7c97af78c13e1f662e | diff --git a/pyflakes/test/test_other.py b/pyflakes/test/test_other.py
index 68c38e95..23990820 100644
--- a/pyflakes/test/test_other.py
+++ b/pyflakes/test/test_other.py
@@ -1744,6 +1744,13 @@ def test_assign_expr(self):
print(x)
''')
+ def test_assign_expr_after_annotation(self):
+ self.... | Walrus operator + annotation can cause F821 in version 3.3.0
In order to type hint a variable used in a walrus expression, I put the type hint outside of the expression like in the following example (test.py):
```
a: int
if a := 3:
print(a)
print(a)
```
Variable "a" is defined in both places
```
$ python3 test... | null | 2025-03-30T21:54:34 | 2025-03-30T21:54:34 | 0.3.88 | [
"pyflakes/test/test_other.py::TestUnusedAssignment::test_unusedReassignedVariable",
"pyflakes/test/test_other.py::Test::test_doubleAssignment"
] | [
"pyflakes/test/test_other.py::TestStringFormatting::test_invalid_percent_format_calls",
"pyflakes/test/test_other.py::TestUnusedAssignment::test_unusedVariable",
"pyflakes/test/test_other.py::TestUnusedAssignment::test_exceptionUnusedInExceptInFunction",
"pyflakes/test/test_other.py::TestAsyncStatements::test... | null | pip install -e .;
pip install pytest pytest-json-report; | pytest --json-report --json-report-file=report_pytest.json | python:3.11 | null | pytest --json-report --json-report-file=report_pytest.json pyflakes/test/test_other.py | 3,000 | 600 | diff --git a/pyflakes/checker.py b/pyflakes/checker.py
index c7d3e882..9888d7ac 100644
--- a/pyflakes/checker.py
+++ b/pyflakes/checker.py
@@ -1008,8 +1008,12 @@ def addBinding(self, node, value):
for scope in reversed(self.scopeStack)
if not isinstance(scope, GeneratorScope)
... | |
tobymao/sqlglot | sqlglot-2 | 08eb7f2032957c2fe3119963f344538b90d8f631 | diff --git a/tests/dialects/test_mysql.py b/tests/dialects/test_mysql.py
index 06638f16c5..4a28176ccf 100644
--- a/tests/dialects/test_mysql.py
+++ b/tests/dialects/test_mysql.py
@@ -83,6 +83,12 @@ def test_ddl(self):
self.validate_identity(
"CREATE OR REPLACE VIEW my_view AS SELECT column1 AS `bo... | MySQL dialect fails to parse PRIMARY KEY USING BTREE syntax
**Before you file an issue**
- Make sure you specify the "read" dialect eg. `parse_one(sql, read="spark")`
- Make sure you specify the "write" dialect eg. `ast.sql(dialect="duckdb")`
- Check if the issue still exists on main
yes, the issue still exists. I'v t... | null | 2025-03-05T15:49:35 | 2025-03-05T15:49:35 | 0.3.88 | [] | [
"tests/dialects/test_mysql.py::TestMySQL::test_show_like_or_where",
"tests/dialects/test_mysql.py::TestMySQL::test_identity",
"tests/dialects/test_mysql.py::TestMySQL::test_string_literals",
"tests/dialects/test_mysql.py::TestMySQL::test_show_columns",
"tests/dialects/test_mysql.py::TestMySQL::test_types",
... | null | pip install -e .;
pip install pytest pytest-json-report; | pytest --json-report --json-report-file=report_pytest.json | python:3.11 | null | pytest --json-report --json-report-file=report_pytest.json tests/dialects/test_mysql.py | 3,000 | 600 | diff --git a/sqlglot/parser.py b/sqlglot/parser.py
index 24bf1492f7..f5ed3a8923 100644
--- a/sqlglot/parser.py
+++ b/sqlglot/parser.py
@@ -1291,6 +1291,10 @@ class Parser(metaclass=_Parser):
"SIMPLE",
),
"INITIALLY": ("DEFERRED", "IMMEDIATE"),
+ "USING": (
+ "BTREE",
+ ... | |
matchms/matchms | matchms-3 | 0b1707bd866f56404e4056df678af12a4bc20141 | diff --git a/tests/importing/test_load_from_msp.py b/tests/importing/test_load_from_msp.py
index 891ac002..839b604c 100644
--- a/tests/importing/test_load_from_msp.py
+++ b/tests/importing/test_load_from_msp.py
@@ -2,7 +2,7 @@ import os
import numpy as np
import pytest
from matchms import Spectrum
-from matchms.impo... | matchms fails when reading spectra where abundance is in scientific notation
Example spectrum - spotted in the MSDial EI RI library.
Funny thing is our regex only handles lower case `e` notation while this uses upper case.
Makes me think if we shouldn't just leave the parsing of stuff to python and try to just identi... | null | 2025-06-13T09:27:11 | 2025-06-13T09:27:11 | 0.4.3 | [] | [
"tests/importing/test_load_from_msp.py::test_load_from_msp_diverse_spectrum_collection",
"tests/importing/test_load_from_msp.py::test_load_from_msp_spaces_massbank_1",
"tests/importing/test_load_from_msp.py::test_parse_metadata[comments: SMILES=\"CC(O)C(O)=O\"-expected_output1]",
"tests/importing/test_load_fr... | null | pip install -e .;
pip install pytest pytest-json-report; | pytest --json-report --json-report-file=report_pytest.json | python:3.11 | null | pytest --json-report --json-report-file=report_pytest.json tests/importing/test_load_from_msp.py | 3,000 | 600 | diff --git a/matchms/importing/load_from_msp.py b/matchms/importing/load_from_msp.py
index cf7726a4..47dbedcc 100644
--- a/matchms/importing/load_from_msp.py
+++ b/matchms/importing/load_from_msp.py
@@ -109,7 +109,7 @@ def _parse_line_with_peaks(rline: str) -> Tuple[List[float], List[float], str]:
def get_peak_value... | |
DataDog/guarddog | guarddog-4 | 4d8b7972885ce111991af01610b24b326dcc1de8 | diff --git a/tests/analyzer/metadata/test_bundled_binary.py b/tests/analyzer/metadata/test_bundled_binary.py
index 07f1845..7a01283 100644
--- a/tests/analyzer/metadata/test_bundled_binary.py
+++ b/tests/analyzer/metadata/test_bundled_binary.py
@@ -19,6 +19,8 @@ class TestBundleBinary:
binary_sample_elf = (
... | Add Mach-O magic bytes to the bundled binary detector
The [bundled binary detector](https://github.com/DataDog/guarddog/blob/v2.1.0/guarddog/analyzer/metadata/bundled_binary.py#L17) currently detects **ELF** (Unix) and **exe** (Windows) files, but it does not account for the magic bytes for **Mach-O** (Mac) files. This... | null | 2025-01-22T12:07:10 | 2025-01-22T12:07:10 | 0.4.3 | [] | [
"tests/analyzer/metadata/test_bundled_binary.py::TestBundleBinary::test_plain[detector1]",
"tests/analyzer/metadata/test_bundled_binary.py::TestBundleBinary::test_empty[detector1]",
"tests/analyzer/metadata/test_bundled_binary.py::TestBundleBinary::test_macho64[detector0]",
"tests/analyzer/metadata/test_bundl... | null | pip install -e .;
pip install pytest pytest-json-report; | pytest --json-report --json-report-file=report_pytest.json | python:3.11 | null | pytest --json-report --json-report-file=report_pytest.json tests/analyzer/metadata/test_bundled_binary.py | 3,000 | 600 | diff --git a/guarddog/analyzer/metadata/bundled_binary.py b/guarddog/analyzer/metadata/bundled_binary.py
index 5b6e875..81ed040 100644
--- a/guarddog/analyzer/metadata/bundled_binary.py
+++ b/guarddog/analyzer/metadata/bundled_binary.py
@@ -14,7 +14,12 @@ class BundledBinary(Detector):
# magic bytes are the firs... | |
mitmproxy/pdoc | pdoc-5 | ea2b69a4162226b07f68cd25d92d4d92dbbafaf8 | diff --git a/test/test_render_helpers.py b/test/test_render_helpers.py
index c17740f..4279725 100644
--- a/test/test_render_helpers.py
+++ b/test/test_render_helpers.py
@@ -110,6 +110,22 @@ def test_markdown_toc():
assert to_html("#foo\n#bar").toc_html # type: ignore
+def test_mixed_toc():
+ """
+ markd... | Include HTML headers in ToC
#### Problem Description
When a docstring includes HTML headers (`<h1>`, etc.) for example when I used an `.. include:: some_file.html` (or some markdown file which mixes markdown and HTML headers for some reason) directive, those headers are not included in the table of contents.
#### Pro... | null | 2025-05-04T12:43:09 | 2025-05-04T12:43:09 | 0.4.3 | [] | [
"test/test_render_helpers.py::test_markdown_autolink[See https://www.python.org.-<p>See <a href=\"https://www.python.org\">https://www.python.org</a>.</p>\\n]",
"test/test_render_helpers.py::test_qualname_candidates[foo-candidates1]",
"test/test_render_helpers.py::test_relative_link[foo.bar-foo.bar.baz-bar/baz.... | null | pip install -e .;
pip install pytest pytest-json-report; | pytest --json-report --json-report-file=report_pytest.json | python:3.11 | null | pytest --json-report --json-report-file=report_pytest.json test/test_render_helpers.py | 3,000 | 600 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 747d22f..3337d33 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,8 @@
## Unreleased: pdoc next
+- Include included HTML headers in the ToC by default by enabling markdown2's `mixed=True` option of the `header-ids` extra
+ (#806, @mrossinek)
## 2025-04-21: ... | |
MolSSI/QCElemental | QCElemental-6 | cddc5313ad7a251501b633f119c2cb566885bcc1 | diff --git a/qcelemental/tests/test_molecule.py b/qcelemental/tests/test_molecule.py
index 46d7ced..b2154c0 100644
--- a/qcelemental/tests/test_molecule.py
+++ b/qcelemental/tests/test_molecule.py
@@ -2,6 +2,7 @@
Tests the imports and exports of the Molecule object.
"""
+
import numpy as np
import pytest
@@ -79... | Floating point number allowed for molecular charge but not molecular multiplicity
**Describe the bug**
<!-- A clear and concise description of what the bug is. -->
QCElemental allows floating point numbers for molecular charges, however when computing the spin with the fractional electron there is no way to represent... | null | 2025-01-13T16:47:19 | 2025-01-13T16:47:19 | 0.4.3 | [
"qcelemental/tests/test_molparse_validate_and_fill_chgmult.py::test_validate_and_fill_chgmult_mol_model[inp50-expected50-]",
"qcelemental/tests/test_molecule.py::test_show",
"qcelemental/tests/test_molecule.py::test_molecule_serialization[msgpack]",
"qcelemental/tests/test_molecule.py::test_to_from_file_charg... | [
"qcelemental/tests/test_molparse_validate_and_fill_chgmult.py::test_validate_and_fill_chgmult_mol_model[inp3-expected3-bfdcbd63]",
"qcelemental/tests/test_molecule.py::test_fragment_charge_configurations[0-4-0-2-0.0-5]",
"qcelemental/tests/test_molecule.py::test_pretty_print",
"qcelemental/tests/test_molparse... | null | pip install -e .;
pip install pytest pytest-json-report; | pytest --json-report --json-report-file=report_pytest.json | python:3.11 | null | pytest --json-report --json-report-file=report_pytest.json qcelemental/tests/test_molecule.py qcelemental/tests/test_molparse_validate_and_fill_chgmult.py | 3,000 | 600 | diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml
index aa949f3..8aca4c9 100644
--- a/.github/workflows/CI.yaml
+++ b/.github/workflows/CI.yaml
@@ -17,7 +17,8 @@ jobs:
matrix:
python-version: ["3.7", "3.9", "3.11", "3.12"]
pydantic-version: ["1", "2"]
- runs-on: [ubuntu-... | |
tobymao/sqlglot | sqlglot-7 | cfa25bb59b4537427aebe93f92c7176e045e7b0c | diff --git a/tests/dialects/test_tsql.py b/tests/dialects/test_tsql.py
index 738120a2ee..fe1aa9c5dd 100644
--- a/tests/dialects/test_tsql.py
+++ b/tests/dialects/test_tsql.py
@@ -436,6 +436,13 @@ def test_tsql(self):
"'a' + 'b'",
)
+ self.validate_identity(
+ "CREATE TABLE db.t... | TSQL: PRIMARY KEY constraint fails to parse if sort option is given
The following CREATE TABLE statement parses just fine:
```
import sqlglot
test = """CREATE TABLE dbo.test (
id INT,
name VARCHAR(50),
CONSTRAINT pk_testTable PRIMARY KEY (id)
) ;"""
parsed_script = sqlgl... | null | 2025-01-15T15:34:32 | 2025-01-15T15:34:32 | 0.3.88 | [] | [
"tests/dialects/test_tsql.py::TestTSQL::test_rollback",
"tests/dialects/test_tsql.py::TestTSQL::test_declare",
"tests/dialects/test_tsql.py::TestTSQL::test_datetrunc",
"tests/dialects/test_tsql.py::TestTSQL::test_transaction",
"tests/dialects/test_tsql.py::TestTSQL::test_eomonth",
"tests/dialects/test_tsq... | null | pip install -e .;
pip install pytest pytest-json-report; | pytest --json-report --json-report-file=report_pytest.json | python:3.11 | null | pytest --json-report --json-report-file=report_pytest.json tests/dialects/test_tsql.py | 3,000 | 600 | diff --git a/sqlglot/parser.py b/sqlglot/parser.py
index 7f310b3b58..ae3f6cde66 100644
--- a/sqlglot/parser.py
+++ b/sqlglot/parser.py
@@ -5902,7 +5902,7 @@ def _parse_foreign_key(self) -> exp.ForeignKey:
)
def _parse_primary_key_part(self) -> t.Optional[exp.Expression]:
- return self._parse_fiel... | |
tobymao/sqlglot | sqlglot-8 | 06db2350a1c625cc30212912a73267127fc4f3ea | diff --git a/tests/dialects/test_postgres.py b/tests/dialects/test_postgres.py
index 957eb9d5b9..c732688e55 100644
--- a/tests/dialects/test_postgres.py
+++ b/tests/dialects/test_postgres.py
@@ -372,6 +372,14 @@ def test_postgres(self):
pretty=True,
)
+ self.validate_all(
+ "SE... | [BUG] Conversion from SQL Server's DATEADD(quarter...) to PostgreSQL not working properly
## Type of issue: Bug Report
Conversion from SQL Server's DATEADD(quarter...) to PostgreSQL not working properly
## Description
When trying to convert SQL on read dialect 'tsql' for SQL Server's DATEADD(quarter...) the conversio... | null | 2025-04-25T21:40:11 | 2025-04-25T21:40:11 | 0.3.88 | [] | [
"tests/dialects/test_postgres.py::TestPostgres::test_array_length",
"tests/dialects/test_postgres.py::TestPostgres::test_bool_or",
"tests/dialects/test_postgres.py::TestPostgres::test_json_extract",
"tests/dialects/test_postgres.py::TestPostgres::test_xmlelement",
"tests/dialects/test_postgres.py::TestPostg... | null | pip install -e .;
pip install pytest pytest-json-report; | pytest --json-report --json-report-file=report_pytest.json | python:3.11 | null | pytest --json-report --json-report-file=report_pytest.json tests/dialects/test_postgres.py | 3,000 | 600 | diff --git a/sqlglot/dialects/postgres.py b/sqlglot/dialects/postgres.py
index 97589d5fbd..61a6dba438 100644
--- a/sqlglot/dialects/postgres.py
+++ b/sqlglot/dialects/postgres.py
@@ -742,3 +742,12 @@ def isascii_sql(self, expression: exp.IsAscii) -> str:
@unsupported_args("this")
def currentschema_sql... | |
matthewwithanm/python-markdownify | python-markdownify-9 | e29de4e75314daf9267f30f47fd7a091ef5f1deb | diff --git a/tests/test_conversions.py b/tests/test_conversions.py
index 27951ee..6145411 100644
--- a/tests/test_conversions.py
+++ b/tests/test_conversions.py
@@ -305,6 +305,11 @@ def test_pre():
assert md("<p>foo</p>\n<pre>bar</pre>\n</p>baz</p>", sub_symbol="^") == "\n\nfoo\n\n```\nbar\n```\n\nbaz"
+def te... | Inline Quotation element ignored
Html that looks like this:
```html
Here is <q>A Quote</q> from someone.
```
should be rendered as:
```
Here is “A Quote“ from someone.
```
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/q
Solution:
```python
def convert_q(self, el, text, parent_tags):
re... | null | 2025-04-28T10:37:33 | 2025-04-28T10:37:33 | 0.3.88 | [] | [
"tests/test_conversions.py::test_kbd",
"tests/test_conversions.py::test_hn_atx_headings",
"tests/test_conversions.py::test_b",
"tests/test_conversions.py::test_code",
"tests/test_conversions.py::test_hn_atx_closed_headings",
"tests/test_conversions.py::test_a_spaces",
"tests/test_conversions.py::test_bl... | null | pip install -e .;
pip install pytest pytest-json-report; | pytest --json-report --json-report-file=report_pytest.json | python:3.11 | null | pytest --json-report --json-report-file=report_pytest.json tests/test_conversions.py | 3,000 | 600 | diff --git a/markdownify/__init__.py b/markdownify/__init__.py
index 780761c..a43f3a7 100644
--- a/markdownify/__init__.py
+++ b/markdownify/__init__.py
@@ -650,6 +650,9 @@ def convert_pre(self, el, text, parent_tags):
return '\n\n```%s\n%s\n```\n\n' % (code_language, text)
+ def convert_q(self, el, tex... |
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Here’s your Markdown text, organized for clear readability:
Task Description
Instances
| Instance ID | Short Title |
|---|---|
| reframe-0 | Performance threshold goes to -inf when it should be zero. |
| pyflakes-1 | Walrus operator + annotation can cause F821 |
| sqlglot-2 | MySQL dialect fails to parse PRIMARY KEY USING BTREE syntax |
| matchms-3 | matchms fails when reading spectra where abundance is in scientific notation #809 |
| guarddog-4 | Add Mach-O magic bytes to bundled binary detector #523 |
| pdoc-5 | Include HTML headers in ToC |
| QCElemental-6 | QCElemental allows floating point numbers for molecular charges, however when computing the spin with the fractional electron there is no way to represent the molecular multiplicity with just an integer. |
| sqlglot-7 | TSQL: PRIMARY KEY constraint fails to parse if |
| sqlglot-8 | [BUG] Conversion from SQL Server's DATEADD(quarter...) to PostgreSQL not working properly |
| python-markdownify-9 | Inline Quotation element ignored |
ToDo
Load dataset
- Write code to load the dataset from
huggingface padamenko/swemera-10tasks-pyconfand save it todata.jsonl
- Write code to load the dataset from
Run agent and update patch column
- Execute your agent, obtain git diff, and update the patch column accordingly.
Run evaluation
swemera --fn_input=data.jsonl --fn_output=submission.jsonl --column_patch=patch --mode=docker- If you encounter issues with Docker, use:
swemera --fn_input=data.jsonl --fn_output=submission.jsonl --column_patch=patch --mode=local
- Downloads last month
- 21