Download tasks/data/forward/abletonag__abl.util.748f1cc/tests/tests.json from Lego-X/ProgramGen: direct link, hf CLI and curl.
- Browser
- Download file 18.5 kB
-
https://huggingface.co/datasets/Lego-X/ProgramGen/resolve/main/tasks/data/forward/abletonag__abl.util.748f1cc/tests/tests.json
- Command line
-
hf download hf://datasets/Lego-X/ProgramGen/tasks/data/forward/abletonag__abl.util.748f1cc/tests/tests.json
-
curl -L -o tests.json https://huggingface.co/datasets/Lego-X/ProgramGen/resolve/main/tasks/data/forward/abletonag__abl.util.748f1cc/tests/tests.json
18.5 kB
| { | |
| "passed_ptp": [ | |
| "test.test_bunch::TestBunch::test_as_dict", | |
| "test.test_bunch::TestBunch::test_as_obj", | |
| "test.test_bunch::TestBunch::test_failing_attribute", | |
| "test.test_bunch::TestBunch::test_failing_key", | |
| "test.test_bunch::TestBunch::test_pickling", | |
| "test.test_bunch::TestBunch::test_pickling_derived_class", | |
| "test.test_dispatch::Test_events::test_first", | |
| "test.test_dispatch::Test_events::test_register", | |
| "test.test_dispatch::Test_events::test_detach", | |
| "test.test_dispatch::Test_events::test_detach_all", | |
| "test.test_dispatch::Test_events::test_register_classmethod", | |
| "test.test_dispatch::Test_events::test_propagate", | |
| "test.test_dispatch::Test_events::test_eventnames", | |
| "test.test_misc::TestMisc::test_classproperty", | |
| "test.test_misc::TestMisc::test_partition", | |
| "test.test_misc::TestUnicodify::test_unicode_unity", | |
| "test.test_misc::TestUnicodify::test_utf8_to_unicode", | |
| "test.test_misc::TestUnicodify::test_latin1_to_unicode", | |
| "test.test_misc::TestUnicodify::test_ignore_errors", | |
| "test.test_misc::TestWorkingDirectory::test_working_directory", | |
| "test.test_streams::TestStreams::test_simple_stream", | |
| "test.test_streams::TestStreams::test_buffered_stream" | |
| ], | |
| "test_files": [ | |
| "test/__init__.py", | |
| "test/test_bunch.py", | |
| "test/test_checks.py", | |
| "test/test_dispatch.py", | |
| "test/test_lockfile.py", | |
| "test/test_memoization.py", | |
| "test/test_misc.py", | |
| "test/test_streams.py" | |
| ], | |
| "test_command": [ | |
| "python3", | |
| "-m", | |
| "pytest", | |
| "-vv", | |
| "--continue-on-collection-errors", | |
| "-o", | |
| "addopts=", | |
| "test/test_bunch.py", | |
| "test/test_checks.py", | |
| "test/test_dispatch.py", | |
| "test/test_lockfile.py", | |
| "test/test_memoization.py", | |
| "test/test_misc.py", | |
| "test/test_streams.py" | |
| ], | |
| "test_payload_contract": { | |
| "schema_version": "programgen.test-payload-contract.v1", | |
| "test_files": [ | |
| "test/__init__.py", | |
| "test/test_bunch.py", | |
| "test/test_checks.py", | |
| "test/test_dispatch.py", | |
| "test/test_lockfile.py", | |
| "test/test_memoization.py", | |
| "test/test_misc.py", | |
| "test/test_streams.py" | |
| ], | |
| "test_command": [ | |
| "python3", | |
| "-m", | |
| "pytest", | |
| "-vv", | |
| "--continue-on-collection-errors", | |
| "-o", | |
| "addopts=", | |
| "test/test_bunch.py", | |
| "test/test_checks.py", | |
| "test/test_dispatch.py", | |
| "test/test_lockfile.py", | |
| "test/test_memoization.py", | |
| "test/test_misc.py", | |
| "test/test_streams.py" | |
| ], | |
| "text_fixtures": [], | |
| "binary_fixtures": [], | |
| "nonportable_absolute_paths": [], | |
| "required_external_commands": [], | |
| "declared_console_scripts": [], | |
| "unresolved_external_commands": [] | |
| }, | |
| "unit_test": [ | |
| "test.test_bunch::TestBunch::test_as_dict", | |
| "test.test_bunch::TestBunch::test_as_obj", | |
| "test.test_bunch::TestBunch::test_failing_attribute", | |
| "test.test_bunch::TestBunch::test_failing_key", | |
| "test.test_bunch::TestBunch::test_pickling", | |
| "test.test_bunch::TestBunch::test_pickling_derived_class", | |
| "test.test_dispatch::Test_events::test_first", | |
| "test.test_dispatch::Test_events::test_register", | |
| "test.test_dispatch::Test_events::test_detach", | |
| "test.test_dispatch::Test_events::test_detach_all", | |
| "test.test_dispatch::Test_events::test_register_classmethod", | |
| "test.test_dispatch::Test_events::test_propagate", | |
| "test.test_dispatch::Test_events::test_eventnames", | |
| "test.test_misc::TestMisc::test_classproperty", | |
| "test.test_misc::TestMisc::test_partition", | |
| "test.test_misc::TestUnicodify::test_unicode_unity", | |
| "test.test_misc::TestUnicodify::test_utf8_to_unicode", | |
| "test.test_misc::TestUnicodify::test_latin1_to_unicode", | |
| "test.test_misc::TestUnicodify::test_ignore_errors", | |
| "test.test_misc::TestWorkingDirectory::test_working_directory", | |
| "test.test_streams::TestStreams::test_simple_stream", | |
| "test.test_streams::TestStreams::test_buffered_stream" | |
| ], | |
| "expected_test_count": 45, | |
| "measured_test_count": 45, | |
| "enumerated_test_count": 22, | |
| "test_count_source": "measured-suite", | |
| "python_install_contract": { | |
| "strategy": "editable-install", | |
| "project_root": ".", | |
| "package_roots": [ | |
| "." | |
| ], | |
| "build_backend": "setuptools.build_meta", | |
| "build_system_requires": [ | |
| "setuptools>=64", | |
| "setuptools-scm>=8", | |
| "wheel" | |
| ], | |
| "editable": true, | |
| "project_dependencies": [], | |
| "editable_requires": [], | |
| "runtime_strategy": "editable-install", | |
| "runtime_build_inputs": [], | |
| "build_context_inputs": [], | |
| "distribution_name": "abl.util", | |
| "evidence": [ | |
| "./pyproject.toml" | |
| ], | |
| "errors": [], | |
| "isolate_build_backend": false, | |
| "schema_version": "programgen.python-install-contract.v7" | |
| }, | |
| "test_binary_files": [], | |
| "artifact_contract_version": "programgen.forward-harbor.v6", | |
| "renderer_schema_version": "programgen.forward-renderer.v4", | |
| "test_import_contract": [ | |
| { | |
| "test_file": "test/test_bunch.py", | |
| "source_file": "abl/util/misc.py", | |
| "import_root": "abl", | |
| "definition_path": "abl.util.misc.Bunch", | |
| "required_import_path": "abl.util.Bunch", | |
| "import_statement": "from abl.util import ( Bunch, )", | |
| "symbol": "Bunch", | |
| "kind": "class", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "test/test_bunch.py", | |
| "source_file": null, | |
| "import_root": "pickle", | |
| "definition_path": null, | |
| "required_import_path": "pickle", | |
| "import_statement": "import pickle", | |
| "symbol": null, | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "test/test_bunch.py", | |
| "source_file": null, | |
| "import_root": "unittest", | |
| "definition_path": null, | |
| "required_import_path": "unittest.TestCase", | |
| "import_statement": "from unittest import TestCase", | |
| "symbol": "TestCase", | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "test/test_checks.py", | |
| "source_file": "abl/util/checks.py", | |
| "import_root": "abl", | |
| "definition_path": "abl.util.checks.attribute", | |
| "required_import_path": "abl.util.checks.attribute", | |
| "import_statement": "from abl.util.checks import (equals, attribute, key, compose, )", | |
| "symbol": "attribute", | |
| "kind": "function", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "test/test_checks.py", | |
| "source_file": "abl/util/checks.py", | |
| "import_root": "abl", | |
| "definition_path": "abl.util.checks.compose", | |
| "required_import_path": "abl.util.checks.compose", | |
| "import_statement": "from abl.util.checks import (equals, attribute, key, compose, )", | |
| "symbol": "compose", | |
| "kind": "function", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "test/test_checks.py", | |
| "source_file": "abl/util/checks.py", | |
| "import_root": "abl", | |
| "definition_path": "abl.util.checks.equals", | |
| "required_import_path": "abl.util.checks.equals", | |
| "import_statement": "from abl.util.checks import (equals, attribute, key, compose, )", | |
| "symbol": "equals", | |
| "kind": "constant", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "test/test_checks.py", | |
| "source_file": "abl/util/checks.py", | |
| "import_root": "abl", | |
| "definition_path": "abl.util.checks.key", | |
| "required_import_path": "abl.util.checks.key", | |
| "import_statement": "from abl.util.checks import (equals, attribute, key, compose, )", | |
| "symbol": "key", | |
| "kind": "function", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "test/test_checks.py", | |
| "source_file": null, | |
| "import_root": "unittest", | |
| "definition_path": null, | |
| "required_import_path": "unittest.TestCase", | |
| "import_statement": "from unittest import TestCase", | |
| "symbol": "TestCase", | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "test/test_dispatch.py", | |
| "source_file": "abl/util/dispatch.py", | |
| "import_root": "abl", | |
| "definition_path": "abl.util.dispatch.DONT_PROPAGATE", | |
| "required_import_path": "abl.util.DONT_PROPAGATE", | |
| "import_statement": "from abl.util import Event, DispatcherObject, DONT_PROPAGATE", | |
| "symbol": "DONT_PROPAGATE", | |
| "kind": "constant", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "test/test_dispatch.py", | |
| "source_file": "abl/util/dispatch.py", | |
| "import_root": "abl", | |
| "definition_path": "abl.util.dispatch.DispatcherObject", | |
| "required_import_path": "abl.util.DispatcherObject", | |
| "import_statement": "from abl.util import Event, DispatcherObject, DONT_PROPAGATE", | |
| "symbol": "DispatcherObject", | |
| "kind": "class", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "test/test_dispatch.py", | |
| "source_file": "abl/util/dispatch.py", | |
| "import_root": "abl", | |
| "definition_path": "abl.util.dispatch.Event", | |
| "required_import_path": "abl.util.Event", | |
| "import_statement": "from abl.util import Event, DispatcherObject, DONT_PROPAGATE", | |
| "symbol": "Event", | |
| "kind": "class", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "test/test_dispatch.py", | |
| "source_file": null, | |
| "import_root": "unittest", | |
| "definition_path": null, | |
| "required_import_path": "unittest.TestCase", | |
| "import_statement": "from unittest import TestCase", | |
| "symbol": "TestCase", | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "test/test_lockfile.py", | |
| "source_file": "abl/util/lockfile.py", | |
| "import_root": "abl", | |
| "definition_path": "abl.util.lockfile.LockFile", | |
| "required_import_path": "abl.util.LockFile", | |
| "import_statement": "from abl.util import LockFile, LockFileObtainException", | |
| "symbol": "LockFile", | |
| "kind": "class", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "test/test_lockfile.py", | |
| "source_file": "abl/util/lockfile.py", | |
| "import_root": "abl", | |
| "definition_path": "abl.util.lockfile.LockFileObtainException", | |
| "required_import_path": "abl.util.LockFileObtainException", | |
| "import_statement": "from abl.util import LockFile, LockFileObtainException", | |
| "symbol": "LockFileObtainException", | |
| "kind": "exception", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "test/test_lockfile.py", | |
| "source_file": null, | |
| "import_root": "multiprocessing", | |
| "definition_path": null, | |
| "required_import_path": "multiprocessing.Process", | |
| "import_statement": "from multiprocessing import Process, Queue", | |
| "symbol": "Process", | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "test/test_lockfile.py", | |
| "source_file": null, | |
| "import_root": "multiprocessing", | |
| "definition_path": null, | |
| "required_import_path": "multiprocessing.Queue", | |
| "import_statement": "from multiprocessing import Process, Queue", | |
| "symbol": "Queue", | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "test/test_lockfile.py", | |
| "source_file": null, | |
| "import_root": "tempfile", | |
| "definition_path": null, | |
| "required_import_path": "tempfile", | |
| "import_statement": "import tempfile", | |
| "symbol": null, | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "test/test_lockfile.py", | |
| "source_file": null, | |
| "import_root": "unittest", | |
| "definition_path": null, | |
| "required_import_path": "unittest.TestCase", | |
| "import_statement": "from unittest import TestCase", | |
| "symbol": "TestCase", | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "test/test_memoization.py", | |
| "source_file": "abl/util/memoization.py", | |
| "import_root": "abl", | |
| "definition_path": "abl.util.memoization.memoized", | |
| "required_import_path": "abl.util.memoized", | |
| "import_statement": "from abl.util import memoized", | |
| "symbol": "memoized", | |
| "kind": "function", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "test/test_memoization.py", | |
| "source_file": null, | |
| "import_root": "unittest", | |
| "definition_path": null, | |
| "required_import_path": "unittest.TestCase", | |
| "import_statement": "from unittest import TestCase", | |
| "symbol": "TestCase", | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "test/test_misc.py", | |
| "source_file": "abl/util/misc.py", | |
| "import_root": "abl", | |
| "definition_path": "abl.util.misc.SafeModifier", | |
| "required_import_path": "abl.util.SafeModifier", | |
| "import_statement": "from abl.util import ( SafeModifier, classproperty, WorkingDirectory, fixpoint, partition, unicodify, with_, )", | |
| "symbol": "SafeModifier", | |
| "kind": "class", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "test/test_misc.py", | |
| "source_file": "abl/util/misc.py", | |
| "import_root": "abl", | |
| "definition_path": "abl.util.misc.WorkingDirectory", | |
| "required_import_path": "abl.util.WorkingDirectory", | |
| "import_statement": "from abl.util import ( SafeModifier, classproperty, WorkingDirectory, fixpoint, partition, unicodify, with_, )", | |
| "symbol": "WorkingDirectory", | |
| "kind": "class", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "test/test_misc.py", | |
| "source_file": "abl/util/misc.py", | |
| "import_root": "abl", | |
| "definition_path": "abl.util.misc.classproperty", | |
| "required_import_path": "abl.util.classproperty", | |
| "import_statement": "from abl.util import ( SafeModifier, classproperty, WorkingDirectory, fixpoint, partition, unicodify, with_, )", | |
| "symbol": "classproperty", | |
| "kind": "function", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "test/test_misc.py", | |
| "source_file": "abl/util/misc.py", | |
| "import_root": "abl", | |
| "definition_path": "abl.util.misc.fixpoint", | |
| "required_import_path": "abl.util.fixpoint", | |
| "import_statement": "from abl.util import ( SafeModifier, classproperty, WorkingDirectory, fixpoint, partition, unicodify, with_, )", | |
| "symbol": "fixpoint", | |
| "kind": "function", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "test/test_misc.py", | |
| "source_file": "abl/util/misc.py", | |
| "import_root": "abl", | |
| "definition_path": "abl.util.misc.partition", | |
| "required_import_path": "abl.util.partition", | |
| "import_statement": "from abl.util import ( SafeModifier, classproperty, WorkingDirectory, fixpoint, partition, unicodify, with_, )", | |
| "symbol": "partition", | |
| "kind": "function", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "test/test_misc.py", | |
| "source_file": "abl/util/misc.py", | |
| "import_root": "abl", | |
| "definition_path": "abl.util.misc.unicodify", | |
| "required_import_path": "abl.util.unicodify", | |
| "import_statement": "from abl.util import ( SafeModifier, classproperty, WorkingDirectory, fixpoint, partition, unicodify, with_, )", | |
| "symbol": "unicodify", | |
| "kind": "function", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "test/test_misc.py", | |
| "source_file": "abl/util/misc.py", | |
| "import_root": "abl", | |
| "definition_path": "abl.util.misc.with_", | |
| "required_import_path": "abl.util.with_", | |
| "import_statement": "from abl.util import ( SafeModifier, classproperty, WorkingDirectory, fixpoint, partition, unicodify, with_, )", | |
| "symbol": "with_", | |
| "kind": "function", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "test/test_misc.py", | |
| "source_file": null, | |
| "import_root": "os", | |
| "definition_path": null, | |
| "required_import_path": "os", | |
| "import_statement": "import tempfile, os", | |
| "symbol": null, | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "test/test_misc.py", | |
| "source_file": null, | |
| "import_root": "tempfile", | |
| "definition_path": null, | |
| "required_import_path": "tempfile", | |
| "import_statement": "import tempfile, os", | |
| "symbol": null, | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "test/test_misc.py", | |
| "source_file": null, | |
| "import_root": "unittest", | |
| "definition_path": null, | |
| "required_import_path": "unittest.TestCase", | |
| "import_statement": "from unittest import TestCase", | |
| "symbol": "TestCase", | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "test/test_streams.py", | |
| "source_file": "abl/util/stream.py", | |
| "import_root": "abl", | |
| "definition_path": "abl.util.stream.BufferedStream", | |
| "required_import_path": "abl.util.BufferedStream", | |
| "import_statement": "from abl.util import ( Stream, BufferedStream, )", | |
| "symbol": "BufferedStream", | |
| "kind": "class", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "test/test_streams.py", | |
| "source_file": "abl/util/stream.py", | |
| "import_root": "abl", | |
| "definition_path": "abl.util.stream.Stream", | |
| "required_import_path": "abl.util.Stream", | |
| "import_statement": "from abl.util import ( Stream, BufferedStream, )", | |
| "symbol": "Stream", | |
| "kind": "class", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "test/test_streams.py", | |
| "source_file": null, | |
| "import_root": "tempfile", | |
| "definition_path": null, | |
| "required_import_path": "tempfile", | |
| "import_statement": "import tempfile", | |
| "symbol": null, | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "test/test_streams.py", | |
| "source_file": null, | |
| "import_root": "unittest", | |
| "definition_path": null, | |
| "required_import_path": "unittest.TestCase", | |
| "import_statement": "from unittest import TestCase", | |
| "symbol": "TestCase", | |
| "kind": "external", | |
| "classification": "external" | |
| } | |
| ], | |
| "test_import_contract_digest": "bec4e60ef41b38415ddd8634aa2c03af96c47f9ffb9c4886de71b46b547f9e67" | |
| } |