Conghao97's picture tcftrees's picture
ProgramGen release
d086025
Raw History Blame Contribute Delete
11.4 kB
{
"passed_ptp": [
"src.tests.test_commands::test_runner",
"src.tests.test_commands::test_command_init",
"src.tests.test_commands::test_command_init_overwrite",
"src.tests.test_commands::test_command_version",
"src.tests.test_commands::test_command_engine_start",
"src.tests.test_commands::test_command_upload",
"src.tests.test_commands::test_command_terminate",
"src.tests.test_commands::test_command_package",
"src.tests.test_commands::test_command_deploy",
"src.tests.test_engine_client::test_client_initialization",
"src.tests.test_engine_client::test_client_healthcheck",
"src.tests.test_engine_client::test_client_deploy",
"src.tests.test_engine_client::test_client_package",
"src.tests.test_errors::test_docker_not_found_error",
"src.tests.test_errors::test_local_only_error",
"src.tests.test_errors::test_path_exists_error",
"src.tests.test_errors::test_engine_initialization_error"
],
"test_files": [
"src/tests/__init__.py",
"src/tests/test_commands.py",
"src/tests/test_core.py",
"src/tests/test_engine_client.py",
"src/tests/test_errors.py"
],
"test_command": [
"python3",
"-m",
"pytest",
"-vv",
"--continue-on-collection-errors",
"-o",
"addopts=",
"src/tests/test_commands.py",
"src/tests/test_core.py",
"src/tests/test_engine_client.py",
"src/tests/test_errors.py"
],
"test_payload_contract": {
"schema_version": "programgen.test-payload-contract.v1",
"test_files": [
"src/tests/__init__.py",
"src/tests/test_commands.py",
"src/tests/test_core.py",
"src/tests/test_engine_client.py",
"src/tests/test_errors.py"
],
"test_command": [
"python3",
"-m",
"pytest",
"-vv",
"--continue-on-collection-errors",
"-o",
"addopts=",
"src/tests/test_commands.py",
"src/tests/test_core.py",
"src/tests/test_engine_client.py",
"src/tests/test_errors.py"
],
"text_fixtures": [
"src/tests/README.md"
],
"binary_fixtures": [],
"nonportable_absolute_paths": [],
"required_external_commands": [],
"declared_console_scripts": [
"starpack"
],
"unresolved_external_commands": []
},
"unit_test": [
"src.tests.test_commands::test_runner",
"src.tests.test_commands::test_command_init",
"src.tests.test_commands::test_command_init_overwrite",
"src.tests.test_commands::test_command_version",
"src.tests.test_commands::test_command_engine_start",
"src.tests.test_commands::test_command_upload",
"src.tests.test_commands::test_command_terminate",
"src.tests.test_commands::test_command_package",
"src.tests.test_commands::test_command_deploy",
"src.tests.test_engine_client::test_client_initialization",
"src.tests.test_engine_client::test_client_healthcheck",
"src.tests.test_engine_client::test_client_deploy",
"src.tests.test_engine_client::test_client_package",
"src.tests.test_errors::test_docker_not_found_error",
"src.tests.test_errors::test_local_only_error",
"src.tests.test_errors::test_path_exists_error",
"src.tests.test_errors::test_engine_initialization_error"
],
"expected_test_count": 22,
"measured_test_count": 22,
"enumerated_test_count": 17,
"test_count_source": "measured-suite",
"python_install_contract": {
"strategy": "editable-install",
"project_root": ".",
"package_roots": [
"src"
],
"build_backend": "setuptools.build_meta",
"build_system_requires": [
"setuptools>=65"
],
"editable": true,
"project_dependencies": [],
"editable_requires": [],
"runtime_strategy": "editable-install",
"runtime_build_inputs": [
"README.md"
],
"build_context_inputs": [],
"distribution_name": "starpack",
"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": "src/tests/test_commands.py",
"source_file": null,
"import_root": "docker",
"definition_path": null,
"required_import_path": "docker",
"import_statement": "import docker",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "src/tests/test_commands.py",
"source_file": null,
"import_root": "pathlib",
"definition_path": null,
"required_import_path": "pathlib.Path",
"import_statement": "from pathlib import Path",
"symbol": "Path",
"kind": "external",
"classification": "external"
},
{
"test_file": "src/tests/test_commands.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": "src/tests/test_commands.py",
"source_file": "src/starpack/__main__.py",
"import_root": "starpack",
"definition_path": "starpack.__main__.app",
"required_import_path": "starpack.__main__.app",
"import_statement": "from starpack.__main__ import app",
"symbol": "app",
"kind": "constant",
"classification": "local-resolved"
},
{
"test_file": "src/tests/test_commands.py",
"source_file": "src/starpack/client.py",
"import_root": "starpack",
"definition_path": "starpack.client.StarpackClient",
"required_import_path": "starpack.client.StarpackClient",
"import_statement": "from starpack.client import StarpackClient",
"symbol": "StarpackClient",
"kind": "class",
"classification": "local-resolved"
},
{
"test_file": "src/tests/test_commands.py",
"source_file": null,
"import_root": "typer",
"definition_path": null,
"required_import_path": "typer.testing.CliRunner",
"import_statement": "from typer.testing import CliRunner",
"symbol": "CliRunner",
"kind": "external",
"classification": "external"
},
{
"test_file": "src/tests/test_core.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": "src/tests/test_core.py",
"source_file": "src/starpack/core.py",
"import_root": "starpack",
"definition_path": "starpack.core",
"required_import_path": "starpack.core",
"import_statement": "from starpack import core",
"symbol": null,
"kind": "module",
"classification": "local-module"
},
{
"test_file": "src/tests/test_engine_client.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": "src/tests/test_engine_client.py",
"source_file": null,
"import_root": "requests",
"definition_path": null,
"required_import_path": "requests",
"import_statement": "import requests",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "src/tests/test_engine_client.py",
"source_file": "src/starpack/client.py",
"import_root": "starpack",
"definition_path": "starpack.client.StarpackClient",
"required_import_path": "starpack.client.StarpackClient",
"import_statement": "from starpack.client import StarpackClient",
"symbol": "StarpackClient",
"kind": "class",
"classification": "local-resolved"
},
{
"test_file": "src/tests/test_engine_client.py",
"source_file": null,
"import_root": "typing",
"definition_path": null,
"required_import_path": "typing.Optional",
"import_statement": "from typing import Optional",
"symbol": "Optional",
"kind": "external",
"classification": "external"
},
{
"test_file": "src/tests/test_errors.py",
"source_file": null,
"import_root": "pathlib",
"definition_path": null,
"required_import_path": "pathlib.Path",
"import_statement": "from pathlib import Path",
"symbol": "Path",
"kind": "external",
"classification": "external"
},
{
"test_file": "src/tests/test_errors.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": "src/tests/test_errors.py",
"source_file": "src/starpack/errors.py",
"import_root": "starpack",
"definition_path": "starpack.errors",
"required_import_path": "starpack.errors",
"import_statement": "from starpack import errors",
"symbol": null,
"kind": "module",
"classification": "local-module"
},
{
"test_file": "src/tests/test_errors.py",
"source_file": "src/starpack/errors.py",
"import_root": "starpack",
"definition_path": "starpack.errors.DockerNotFoundError",
"required_import_path": "starpack.errors.DockerNotFoundError",
"import_statement": "from starpack import errors",
"symbol": "DockerNotFoundError",
"kind": "exception",
"classification": "local-resolved"
},
{
"test_file": "src/tests/test_errors.py",
"source_file": "src/starpack/errors.py",
"import_root": "starpack",
"definition_path": "starpack.errors.EngineInitializationError",
"required_import_path": "starpack.errors.EngineInitializationError",
"import_statement": "from starpack import errors",
"symbol": "EngineInitializationError",
"kind": "exception",
"classification": "local-resolved"
},
{
"test_file": "src/tests/test_errors.py",
"source_file": "src/starpack/errors.py",
"import_root": "starpack",
"definition_path": "starpack.errors.LocalOnlyError",
"required_import_path": "starpack.errors.LocalOnlyError",
"import_statement": "from starpack import errors",
"symbol": "LocalOnlyError",
"kind": "exception",
"classification": "local-resolved"
},
{
"test_file": "src/tests/test_errors.py",
"source_file": "src/starpack/errors.py",
"import_root": "starpack",
"definition_path": "starpack.errors.PathExistsError",
"required_import_path": "starpack.errors.PathExistsError",
"import_statement": "from starpack import errors",
"symbol": "PathExistsError",
"kind": "exception",
"classification": "local-resolved"
}
],
"test_import_contract_digest": "35444e45d065456c09587663f87a259f14fbc3b82dc0200120f7f6bf14e3320a"
}