Download tasks/data/forward/accenture__cymple.f15a7b9/tests/tests.json from Lego-X/ProgramGen: direct link, hf CLI and curl.
- Browser
- Download file 18.4 kB
-
https://huggingface.co/datasets/Lego-X/ProgramGen/resolve/main/tasks/data/forward/accenture__cymple.f15a7b9/tests/tests.json
- Command line
-
hf download hf://datasets/Lego-X/ProgramGen/tasks/data/forward/accenture__cymple.f15a7b9/tests/tests.json
-
curl -L -o tests.json https://huggingface.co/datasets/Lego-X/ProgramGen/resolve/main/tasks/data/forward/accenture__cymple.f15a7b9/tests/tests.json
18.4 kB
| { | |
| "passed_ptp": [ | |
| "tests.unit.test_clauses::test_case", | |
| "tests.unit.test_generated::test_samples", | |
| "tests.unit.test_real_use_cases::test_cypher_get_all_findings", | |
| "tests.unit.test_real_use_cases::test_cypher_get_findings", | |
| "tests.unit.test_real_use_cases::test_cypher_get_services", | |
| "tests.unit.test_real_use_cases::test_cypher_get_business_applications", | |
| "tests.unit.test_real_use_cases::test_cypher_get_finding_detailed", | |
| "tests.unit.test_real_use_cases::test_cypher_get_business_application", | |
| "tests.unit.test_real_use_cases::test_cypher_get_references_for_finding", | |
| "tests.unit.test_real_use_cases::test_cypher_get_applications_for_finding", | |
| "tests.unit.test_real_use_cases::test_cypher_get_finding_type_details_for_service", | |
| "tests.unit.test_real_use_cases::test_cypher_match_set_id", | |
| "tests.unit.test_real_use_cases::test_cypher_merge_on_match", | |
| "tests.unit.test_real_use_cases::test_cypher_relationship_properties", | |
| "tests.unit.test_real_use_cases::test_cypher_query_add", | |
| "tests.unit.test_real_use_cases::test_cypher_set_unescaped_after_merge", | |
| "tests.unit.test_real_use_cases::test_multiple_where_1", | |
| "tests.unit.test_real_use_cases::test_multiple_where_2", | |
| "tests.unit.test_real_use_cases::test_with_list", | |
| "tests.unit.test_samples::test_samples" | |
| ], | |
| "test_files": [ | |
| "tests/__init__.py", | |
| "tests/conftest.py", | |
| "tests/data/onto_types/labels.py", | |
| "tests/data/onto_types/properties.py", | |
| "tests/data/onto_types/relations.py", | |
| "tests/e2e/test_e2e_samples.py", | |
| "tests/functional/__init__.py", | |
| "tests/functional/test_functionality.py", | |
| "tests/unit/__init__.py", | |
| "tests/unit/test_clauses.py", | |
| "tests/unit/test_generated.py", | |
| "tests/unit/test_real_use_cases.py", | |
| "tests/unit/test_samples.py" | |
| ], | |
| "test_command": [ | |
| "python3", | |
| "-m", | |
| "pytest", | |
| "-vv", | |
| "--continue-on-collection-errors", | |
| "-o", | |
| "addopts=", | |
| "tests/unit/test_clauses.py", | |
| "tests/unit/test_generated.py", | |
| "tests/unit/test_real_use_cases.py", | |
| "tests/unit/test_samples.py" | |
| ], | |
| "test_payload_contract": { | |
| "schema_version": "programgen.test-payload-contract.v1", | |
| "test_files": [ | |
| "tests/__init__.py", | |
| "tests/conftest.py", | |
| "tests/data/onto_types/labels.py", | |
| "tests/data/onto_types/properties.py", | |
| "tests/data/onto_types/relations.py", | |
| "tests/e2e/test_e2e_samples.py", | |
| "tests/functional/__init__.py", | |
| "tests/functional/test_functionality.py", | |
| "tests/unit/__init__.py", | |
| "tests/unit/test_clauses.py", | |
| "tests/unit/test_generated.py", | |
| "tests/unit/test_real_use_cases.py", | |
| "tests/unit/test_samples.py" | |
| ], | |
| "test_command": [ | |
| "python3", | |
| "-m", | |
| "pytest", | |
| "-vv", | |
| "--continue-on-collection-errors", | |
| "-o", | |
| "addopts=", | |
| "tests/unit/test_clauses.py", | |
| "tests/unit/test_generated.py", | |
| "tests/unit/test_real_use_cases.py", | |
| "tests/unit/test_samples.py" | |
| ], | |
| "text_fixtures": [ | |
| "tests/data/.gitkeep", | |
| "tests/e2e/.gitkeep", | |
| "tests/integration/.gitkeep" | |
| ], | |
| "binary_fixtures": [], | |
| "nonportable_absolute_paths": [], | |
| "required_external_commands": [], | |
| "declared_console_scripts": [], | |
| "unresolved_external_commands": [] | |
| }, | |
| "unit_test": [ | |
| "tests.unit.test_clauses::test_case", | |
| "tests.unit.test_generated::test_samples", | |
| "tests.unit.test_real_use_cases::test_cypher_get_all_findings", | |
| "tests.unit.test_real_use_cases::test_cypher_get_findings", | |
| "tests.unit.test_real_use_cases::test_cypher_get_services", | |
| "tests.unit.test_real_use_cases::test_cypher_get_business_applications", | |
| "tests.unit.test_real_use_cases::test_cypher_get_finding_detailed", | |
| "tests.unit.test_real_use_cases::test_cypher_get_business_application", | |
| "tests.unit.test_real_use_cases::test_cypher_get_references_for_finding", | |
| "tests.unit.test_real_use_cases::test_cypher_get_applications_for_finding", | |
| "tests.unit.test_real_use_cases::test_cypher_get_finding_type_details_for_service", | |
| "tests.unit.test_real_use_cases::test_cypher_match_set_id", | |
| "tests.unit.test_real_use_cases::test_cypher_merge_on_match", | |
| "tests.unit.test_real_use_cases::test_cypher_relationship_properties", | |
| "tests.unit.test_real_use_cases::test_cypher_query_add", | |
| "tests.unit.test_real_use_cases::test_cypher_set_unescaped_after_merge", | |
| "tests.unit.test_real_use_cases::test_multiple_where_1", | |
| "tests.unit.test_real_use_cases::test_multiple_where_2", | |
| "tests.unit.test_real_use_cases::test_with_list", | |
| "tests.unit.test_samples::test_samples" | |
| ], | |
| "expected_test_count": 92, | |
| "measured_test_count": 92, | |
| "enumerated_test_count": 20, | |
| "test_count_source": "measured-suite", | |
| "python_install_contract": { | |
| "strategy": "editable-install", | |
| "project_root": ".", | |
| "package_roots": [ | |
| "src" | |
| ], | |
| "build_backend": "setuptools.build_meta:__legacy__", | |
| "build_system_requires": [ | |
| "setuptools", | |
| "wheel" | |
| ], | |
| "editable": true, | |
| "project_dependencies": [], | |
| "editable_requires": [], | |
| "runtime_strategy": "editable-install", | |
| "runtime_build_inputs": [ | |
| "README.md" | |
| ], | |
| "build_context_inputs": [], | |
| "distribution_name": "cymple", | |
| "evidence": [ | |
| "./pyproject.toml", | |
| "./setup.cfg", | |
| "./setup.py" | |
| ], | |
| "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": "tests/conftest.py", | |
| "source_file": null, | |
| "import_root": "pytest", | |
| "definition_path": null, | |
| "required_import_path": "pytest.fixture", | |
| "import_statement": "from pytest import fixture", | |
| "symbol": "fixture", | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "tests/data/onto_types/labels.py", | |
| "source_file": null, | |
| "import_root": "dataclasses", | |
| "definition_path": null, | |
| "required_import_path": "dataclasses.dataclass", | |
| "import_statement": "from dataclasses import dataclass", | |
| "symbol": "dataclass", | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "tests/data/onto_types/properties.py", | |
| "source_file": null, | |
| "import_root": "dataclasses", | |
| "definition_path": null, | |
| "required_import_path": "dataclasses.dataclass", | |
| "import_statement": "from dataclasses import dataclass", | |
| "symbol": "dataclass", | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "tests/data/onto_types/relations.py", | |
| "source_file": null, | |
| "import_root": "dataclasses", | |
| "definition_path": null, | |
| "required_import_path": "dataclasses.dataclass", | |
| "import_statement": "from dataclasses import dataclass", | |
| "symbol": "dataclass", | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "tests/e2e/test_e2e_samples.py", | |
| "source_file": null, | |
| "import_root": "pytest", | |
| "definition_path": null, | |
| "required_import_path": "pytest", | |
| "import_statement": "import pytest", | |
| "symbol": null, | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "tests/e2e/test_e2e_samples.py", | |
| "source_file": "src/samples/neo4j_e2e.py", | |
| "import_root": "samples", | |
| "definition_path": "samples.neo4j_e2e", | |
| "required_import_path": "samples.neo4j_e2e", | |
| "import_statement": "from samples import neo4j_e2e", | |
| "symbol": null, | |
| "kind": "module", | |
| "classification": "local-module" | |
| }, | |
| { | |
| "test_file": "tests/e2e/test_e2e_samples.py", | |
| "source_file": "src/samples/neo4j_e2e.py", | |
| "import_root": "samples", | |
| "definition_path": "samples.neo4j_e2e.init", | |
| "required_import_path": "samples.neo4j_e2e.init", | |
| "import_statement": "from samples import neo4j_e2e", | |
| "symbol": "init", | |
| "kind": "function", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/e2e/test_e2e_samples.py", | |
| "source_file": "src/samples/neo4j_e2e.py", | |
| "import_root": "samples", | |
| "definition_path": "samples.neo4j_e2e.read_movie_node", | |
| "required_import_path": "samples.neo4j_e2e.read_movie_node", | |
| "import_statement": "from samples import neo4j_e2e", | |
| "symbol": "read_movie_node", | |
| "kind": "function", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/e2e/test_e2e_samples.py", | |
| "source_file": "src/samples/neo4j_e2e.py", | |
| "import_root": "samples", | |
| "definition_path": "samples.neo4j_e2e.write_movie_node", | |
| "required_import_path": "samples.neo4j_e2e.write_movie_node", | |
| "import_statement": "from samples import neo4j_e2e", | |
| "symbol": "write_movie_node", | |
| "kind": "function", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/functional/test_functionality.py", | |
| "source_file": "src/cymple/builder.py", | |
| "import_root": "cymple", | |
| "definition_path": "cymple.builder.QueryBuilder", | |
| "required_import_path": "cymple.QueryBuilder", | |
| "import_statement": "from cymple import QueryBuilder, builder", | |
| "symbol": "QueryBuilder", | |
| "kind": "class", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/functional/test_functionality.py", | |
| "source_file": "src/cymple/builder.py", | |
| "import_root": "cymple", | |
| "definition_path": "cymple.builder", | |
| "required_import_path": "cymple.builder", | |
| "import_statement": "from cymple import QueryBuilder, builder", | |
| "symbol": null, | |
| "kind": "module", | |
| "classification": "local-module" | |
| }, | |
| { | |
| "test_file": "tests/functional/test_functionality.py", | |
| "source_file": null, | |
| "import_root": "inspect", | |
| "definition_path": null, | |
| "required_import_path": "inspect", | |
| "import_statement": "import inspect", | |
| "symbol": null, | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "tests/functional/test_functionality.py", | |
| "source_file": null, | |
| "import_root": "pytest", | |
| "definition_path": null, | |
| "required_import_path": "pytest", | |
| "import_statement": "import pytest", | |
| "symbol": null, | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "tests/unit/test_clauses.py", | |
| "source_file": "src/cymple/builder.py", | |
| "import_root": "cymple", | |
| "definition_path": "cymple.builder.QueryBuilder", | |
| "required_import_path": "cymple.QueryBuilder", | |
| "import_statement": "from cymple import QueryBuilder", | |
| "symbol": "QueryBuilder", | |
| "kind": "class", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/unit/test_clauses.py", | |
| "source_file": null, | |
| "import_root": "pytest", | |
| "definition_path": null, | |
| "required_import_path": "pytest", | |
| "import_statement": "import pytest", | |
| "symbol": null, | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "tests/unit/test_generated.py", | |
| "source_file": "src/cymple/builder.py", | |
| "import_root": "cymple", | |
| "definition_path": "cymple.builder.QueryBuilder", | |
| "required_import_path": "cymple.QueryBuilder", | |
| "import_statement": "from cymple import QueryBuilder", | |
| "symbol": "QueryBuilder", | |
| "kind": "class", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/unit/test_generated.py", | |
| "source_file": null, | |
| "import_root": "pytest", | |
| "definition_path": null, | |
| "required_import_path": "pytest", | |
| "import_statement": "import pytest", | |
| "symbol": null, | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "tests/unit/test_real_use_cases.py", | |
| "source_file": "src/cymple/builder.py", | |
| "import_root": "cymple", | |
| "definition_path": "cymple.builder.QueryBuilder", | |
| "required_import_path": "cymple.QueryBuilder", | |
| "import_statement": "from cymple import QueryBuilder", | |
| "symbol": "QueryBuilder", | |
| "kind": "class", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/unit/test_real_use_cases.py", | |
| "source_file": "tests/data/onto_types/labels.py", | |
| "import_root": "tests", | |
| "definition_path": "tests.data.onto_types.labels.Labels", | |
| "required_import_path": "tests.data.onto_types.labels.Labels", | |
| "import_statement": "from ..data.onto_types.labels import Labels", | |
| "symbol": "Labels", | |
| "kind": "test-support", | |
| "classification": "test-support" | |
| }, | |
| { | |
| "test_file": "tests/unit/test_real_use_cases.py", | |
| "source_file": "tests/data/onto_types/properties.py", | |
| "import_root": "tests", | |
| "definition_path": "tests.data.onto_types.properties.Properties", | |
| "required_import_path": "tests.data.onto_types.properties.Properties", | |
| "import_statement": "from ..data.onto_types.properties import Properties", | |
| "symbol": "Properties", | |
| "kind": "test-support", | |
| "classification": "test-support" | |
| }, | |
| { | |
| "test_file": "tests/unit/test_real_use_cases.py", | |
| "source_file": "tests/data/onto_types/relations.py", | |
| "import_root": "tests", | |
| "definition_path": "tests.data.onto_types.relations.Relations", | |
| "required_import_path": "tests.data.onto_types.relations.Relations", | |
| "import_statement": "from ..data.onto_types.relations import Relations", | |
| "symbol": "Relations", | |
| "kind": "test-support", | |
| "classification": "test-support" | |
| }, | |
| { | |
| "test_file": "tests/unit/test_samples.py", | |
| "source_file": null, | |
| "import_root": "pytest", | |
| "definition_path": null, | |
| "required_import_path": "pytest", | |
| "import_statement": "import pytest", | |
| "symbol": null, | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "tests/unit/test_samples.py", | |
| "source_file": "src/samples/basic.py", | |
| "import_root": "src", | |
| "definition_path": "samples.basic", | |
| "required_import_path": "src.samples.basic", | |
| "import_statement": "from src.samples import basic", | |
| "symbol": null, | |
| "kind": "module", | |
| "classification": "local-module" | |
| }, | |
| { | |
| "test_file": "tests/unit/test_samples.py", | |
| "source_file": "src/samples/basic.py", | |
| "import_root": "src", | |
| "definition_path": "samples.basic.get_all_nodes_by_label", | |
| "required_import_path": "src.samples.basic.get_all_nodes_by_label", | |
| "import_statement": "from src.samples import basic", | |
| "symbol": "get_all_nodes_by_label", | |
| "kind": "function", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/unit/test_samples.py", | |
| "source_file": "src/samples/basic.py", | |
| "import_root": "src", | |
| "definition_path": "samples.basic.get_all_nodes_by_label_and_properties", | |
| "required_import_path": "src.samples.basic.get_all_nodes_by_label_and_properties", | |
| "import_statement": "from src.samples import basic", | |
| "symbol": "get_all_nodes_by_label_and_properties", | |
| "kind": "function", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/unit/test_samples.py", | |
| "source_file": "src/samples/basic.py", | |
| "import_root": "src", | |
| "definition_path": "samples.basic.get_all_nodes_related_by_fixed_num_of_hops", | |
| "required_import_path": "src.samples.basic.get_all_nodes_related_by_fixed_num_of_hops", | |
| "import_statement": "from src.samples import basic", | |
| "symbol": "get_all_nodes_related_by_fixed_num_of_hops", | |
| "kind": "function", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/unit/test_samples.py", | |
| "source_file": "src/samples/basic.py", | |
| "import_root": "src", | |
| "definition_path": "samples.basic.get_all_nodes_related_by_varying_num_of_hops", | |
| "required_import_path": "src.samples.basic.get_all_nodes_related_by_varying_num_of_hops", | |
| "import_statement": "from src.samples import basic", | |
| "symbol": "get_all_nodes_related_by_varying_num_of_hops", | |
| "kind": "function", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/unit/test_samples.py", | |
| "source_file": "src/samples/basic.py", | |
| "import_root": "src", | |
| "definition_path": "samples.basic.get_all_nodes_related_to_nodes", | |
| "required_import_path": "src.samples.basic.get_all_nodes_related_to_nodes", | |
| "import_statement": "from src.samples import basic", | |
| "symbol": "get_all_nodes_related_to_nodes", | |
| "kind": "function", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/unit/test_samples.py", | |
| "source_file": "src/samples/basic.py", | |
| "import_root": "src", | |
| "definition_path": "samples.basic.get_all_paths", | |
| "required_import_path": "src.samples.basic.get_all_paths", | |
| "import_statement": "from src.samples import basic", | |
| "symbol": "get_all_paths", | |
| "kind": "function", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/unit/test_samples.py", | |
| "source_file": "src/samples/basic.py", | |
| "import_root": "src", | |
| "definition_path": "samples.basic.merge_node", | |
| "required_import_path": "src.samples.basic.merge_node", | |
| "import_statement": "from src.samples import basic", | |
| "symbol": "merge_node", | |
| "kind": "function", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/unit/test_samples.py", | |
| "source_file": "src/samples/basic.py", | |
| "import_root": "src", | |
| "definition_path": "samples.basic.merge_relationship", | |
| "required_import_path": "src.samples.basic.merge_relationship", | |
| "import_statement": "from src.samples import basic", | |
| "symbol": "merge_relationship", | |
| "kind": "function", | |
| "classification": "local-resolved" | |
| } | |
| ], | |
| "test_import_contract_digest": "14e6f4d6535594a5514bbd3fcff19ea0aef087af1efaa5a9086aab2de5dd2b17" | |
| } |