Dataset Viewer
Auto-converted to Parquet Duplicate
base_commit
string
created_at
timestamp[ns]
environment_setup_commit
string
hints_text
string
instance_id
string
meta
dict
patch
string
problem_statement
string
repo
string
test_patch
string
version
string
install_config
dict
FAIL_TO_PASS
sequence
PASS_TO_PASS
sequence
__index_level_0__
int64
04d769ab7da44a7ae80eec49661c0b03fdcd0bac
2025-05-08T11:03:53
04d769ab7da44a7ae80eec49661c0b03fdcd0bac
Aunsiels__pyformlang-32
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "num_modified_files": 1 }
diff --git a/pyformlang/cfg/cfg.py b/pyformlang/cfg/cfg.py index 4a07efd..867e4f0 100644 --- a/pyformlang/cfg/cfg.py +++ b/pyformlang/cfg/cfg.py @@ -1081,16 +1081,18 @@ class CFG: body_component = body_component[5:-1] else: type_component = "" - ...
TER:X notation is not respected for uppercase terminals in CFGs **Describe the bug** Consider the difference between the following two CFGs. According to the `from_text` documentation, they should be equivalent. ``` from pyformlang.cfg import CFG, Production, Terminal, Variable cfg = CFG.from_text('S -> "TER:A"') pri...
Aunsiels/pyformlang
diff --git a/pyformlang/cfg/tests/test_cfg.py b/pyformlang/cfg/tests/test_cfg.py index cb6afde..6bbb2dd 100644 --- a/pyformlang/cfg/tests/test_cfg.py +++ b/pyformlang/cfg/tests/test_cfg.py @@ -769,6 +769,16 @@ class TestCFG: assert cfg.contains(["a", "b"]) assert ["a", "b"] in cfg + def test_from...
Aunsiels__pyformlang-32
{ "install": "pip install -e .", "log_parser": "parse_log_pytest", "packages": "requirements.txt", "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_path": [ "requirements.txt" ], "test_cmd": "pytest --no-header -rA --tb=line --color=no -p no:cacheprovid...
[ "pyformlang/cfg/tests/test_cfg.py::TestCFG::test_from_text3" ]
[ "pyformlang/cfg/tests/test_cfg.py::TestCFG::test_creation", "pyformlang/cfg/tests/test_cfg.py::TestCFG::test_generating_object", "pyformlang/cfg/tests/test_cfg.py::TestCFG::test_reachable_object", "pyformlang/cfg/tests/test_cfg.py::TestCFG::test_useless_removal", "pyformlang/cfg/tests/test_cfg.py::TestCFG::...
0
README.md exists but content is empty.
Downloads last month
4