Download tasks/data/forward/acemod__docker-reforger.cd226c0/tests/tests.json from Lego-X/ProgramGen: direct link, hf CLI and curl.
- Browser
- Download file 20.9 kB
-
https://huggingface.co/datasets/Lego-X/ProgramGen/resolve/main/tasks/data/forward/acemod__docker-reforger.cd226c0/tests/tests.json
- Command line
-
hf download hf://datasets/Lego-X/ProgramGen/tasks/data/forward/acemod__docker-reforger.cd226c0/tests/tests.json
-
curl -L -o tests.json https://huggingface.co/datasets/Lego-X/ProgramGen/resolve/main/tasks/data/forward/acemod__docker-reforger.cd226c0/tests/tests.json
20.9 kB
| { | |
| "passed_ptp": [ | |
| "tests.test_launch_config::test_env_defined", | |
| "tests.test_launch_config::test_bool_str", | |
| "tests.test_launch_config::test_defaults_preserved", | |
| "tests.test_launch_config::test_server_overrides", | |
| "tests.test_launch_config::test_a2s_config", | |
| "tests.test_launch_config::test_a2s_removed_when_partial", | |
| "tests.test_launch_config::test_rcon_config", | |
| "tests.test_launch_config::test_rcon_permission_defaults_to_admin", | |
| "tests.test_launch_config::test_rcon_blacklist", | |
| "tests.test_launch_config::test_rcon_whitelist", | |
| "tests.test_launch_config::test_rcon_blacklist_and_whitelist_fails", | |
| "tests.test_launch_config::test_game_overrides", | |
| "tests.test_launch_config::test_game_admins", | |
| "tests.test_launch_config::test_game_supported_platforms", | |
| "tests.test_launch_config::test_mods_required_by_default", | |
| "tests.test_launch_config::test_mods_ids_list", | |
| "tests.test_launch_config::test_mods_ids_list_with_required", | |
| "tests.test_launch_config::test_mods_ids_list_invalid_chars", | |
| "tests.test_launch_config::test_mods_ids_list_invalid_id", | |
| "tests.test_launch_config::test_mods_ids_list_invalid_version", | |
| "tests.test_launch_config::test_mods_json_file", | |
| "tests.test_launch_config::test_mods_json_missing_modid", | |
| "tests.test_launch_config::test_mods_json_invalid_mod_id", | |
| "tests.test_launch_config::test_mods_json_must_be_array", | |
| "tests.test_launch_config::test_mods_deduplication", | |
| "tests.test_launch_config::test_persistence_config", | |
| "tests.test_launch_config::test_persistence_json_merge", | |
| "tests.test_launch_config::test_persistence_not_set_when_empty", | |
| "tests.test_launch_config::test_persistence_removed_when_env_cleared", | |
| "tests.test_launch_config::test_operating_config", | |
| "tests.test_launch_config::test_operating_navmesh_all", | |
| "tests.test_launch_config::test_operating_navmesh_list", | |
| "tests.test_launch_config::test_operating_not_set_when_empty", | |
| "tests.test_launch_config::test_operating_removed_when_env_cleared", | |
| "tests.test_launch_config::test_mission_header_json", | |
| "tests.test_launch_config::test_mission_header_reset_when_env_cleared", | |
| "tests.test_launch_config::test_game_properties_booleans", | |
| "tests.test_launch_config::test_game_properties_integers", | |
| "tests.test_launch_config::test_env_override_reaches_the_config", | |
| "tests.test_mod_pruning::test_prunes_only_unreferenced_mods", | |
| "tests.test_mod_pruning::test_preserves_transitive_dependencies", | |
| "tests.test_mod_pruning::test_skips_directories_without_valid_server_data", | |
| "tests.test_mod_pruning::test_skips_mod_with_non_string_metadata_id", | |
| "tests.test_mod_pruning::test_skips_symlinked_server_data", | |
| "tests.test_mod_pruning::test_skips_oversized_server_data", | |
| "tests.test_mod_pruning::test_invalid_required_mod_aborts_before_pruning", | |
| "tests.test_mod_pruning::test_invalid_dependency_aborts_before_pruning", | |
| "tests.test_mod_pruning::test_invalid_config_aborts_before_pruning", | |
| "tests.test_mod_pruning::test_custom_config_without_mods_prunes_all", | |
| "tests.test_mod_pruning::test_refuses_mod_directories_containing_mounts", | |
| "tests.test_mod_pruning::test_workshop_symlink_retarget_does_not_change_prune_root", | |
| "tests.test_mod_pruning::test_does_not_follow_symlinked_mod_directories", | |
| "tests.test_mod_pruning::test_configured_symlinked_mod_aborts_before_pruning", | |
| "tests.test_mod_pruning::test_candidate_replacement_is_not_recursively_deleted", | |
| "tests.test_mod_pruning::test_staging_failure_rolls_back_all_candidates", | |
| "tests.test_mod_pruning::test_deletion_failure_is_retried_from_quarantine", | |
| "tests.test_mod_pruning::test_interrupted_quarantine_is_recovered", | |
| "tests.test_mod_pruning::test_workshop_descriptor_closes_when_fd_path_fails", | |
| "tests.test_mod_pruning::test_concurrent_pruner_is_rejected", | |
| "tests.test_mod_pruning::test_prunes_tree_deeper_than_recursion_limit", | |
| "tests.test_mod_pruning::test_reads_server_data_with_utf8_bom", | |
| "tests.test_mod_pruning::test_missing_workshop_directory_is_a_no_op", | |
| "tests.test_mod_pruning::test_preserves_dependencies_declared_with_mod_id_key", | |
| "tests.test_mod_pruning::test_dependency_cycle_terminates", | |
| "tests.test_mod_pruning::test_diamond_dependencies_are_all_retained", | |
| "tests.test_mod_pruning::test_configured_mod_that_is_not_installed_is_ignored", | |
| "tests.test_mod_pruning::test_skips_mod_that_is_not_fully_downloaded", | |
| "tests.test_mod_pruning::test_skips_mod_with_non_list_dependencies", | |
| "tests.test_mod_pruning::test_ignores_directories_that_are_not_mod_ids", | |
| "tests.test_mod_pruning::test_prunes_every_stale_mod_in_sorted_order", | |
| "tests.test_mod_pruning::test_leaves_no_quarantine_behind_when_nothing_to_prune" | |
| ], | |
| "test_files": [ | |
| "tests/conftest.py", | |
| "tests/test_launch_config.py", | |
| "tests/test_mod_pruning.py" | |
| ], | |
| "test_command": [ | |
| "python3", | |
| "-m", | |
| "pytest", | |
| "-vv", | |
| "--continue-on-collection-errors", | |
| "-o", | |
| "addopts=", | |
| "tests/test_launch_config.py", | |
| "tests/test_mod_pruning.py" | |
| ], | |
| "test_payload_contract": { | |
| "schema_version": "programgen.test-payload-contract.v1", | |
| "test_files": [ | |
| "tests/conftest.py", | |
| "tests/test_launch_config.py", | |
| "tests/test_mod_pruning.py" | |
| ], | |
| "test_command": [ | |
| "python3", | |
| "-m", | |
| "pytest", | |
| "-vv", | |
| "--continue-on-collection-errors", | |
| "-o", | |
| "addopts=", | |
| "tests/test_launch_config.py", | |
| "tests/test_mod_pruning.py" | |
| ], | |
| "text_fixtures": [], | |
| "binary_fixtures": [], | |
| "nonportable_absolute_paths": [], | |
| "required_external_commands": [], | |
| "declared_console_scripts": [], | |
| "unresolved_external_commands": [] | |
| }, | |
| "unit_test": [ | |
| "tests.test_launch_config::test_env_defined", | |
| "tests.test_launch_config::test_bool_str", | |
| "tests.test_launch_config::test_defaults_preserved", | |
| "tests.test_launch_config::test_server_overrides", | |
| "tests.test_launch_config::test_a2s_config", | |
| "tests.test_launch_config::test_a2s_removed_when_partial", | |
| "tests.test_launch_config::test_rcon_config", | |
| "tests.test_launch_config::test_rcon_permission_defaults_to_admin", | |
| "tests.test_launch_config::test_rcon_blacklist", | |
| "tests.test_launch_config::test_rcon_whitelist", | |
| "tests.test_launch_config::test_rcon_blacklist_and_whitelist_fails", | |
| "tests.test_launch_config::test_game_overrides", | |
| "tests.test_launch_config::test_game_admins", | |
| "tests.test_launch_config::test_game_supported_platforms", | |
| "tests.test_launch_config::test_mods_required_by_default", | |
| "tests.test_launch_config::test_mods_ids_list", | |
| "tests.test_launch_config::test_mods_ids_list_with_required", | |
| "tests.test_launch_config::test_mods_ids_list_invalid_chars", | |
| "tests.test_launch_config::test_mods_ids_list_invalid_id", | |
| "tests.test_launch_config::test_mods_ids_list_invalid_version", | |
| "tests.test_launch_config::test_mods_json_file", | |
| "tests.test_launch_config::test_mods_json_missing_modid", | |
| "tests.test_launch_config::test_mods_json_invalid_mod_id", | |
| "tests.test_launch_config::test_mods_json_must_be_array", | |
| "tests.test_launch_config::test_mods_deduplication", | |
| "tests.test_launch_config::test_persistence_config", | |
| "tests.test_launch_config::test_persistence_json_merge", | |
| "tests.test_launch_config::test_persistence_not_set_when_empty", | |
| "tests.test_launch_config::test_persistence_removed_when_env_cleared", | |
| "tests.test_launch_config::test_operating_config", | |
| "tests.test_launch_config::test_operating_navmesh_all", | |
| "tests.test_launch_config::test_operating_navmesh_list", | |
| "tests.test_launch_config::test_operating_not_set_when_empty", | |
| "tests.test_launch_config::test_operating_removed_when_env_cleared", | |
| "tests.test_launch_config::test_mission_header_json", | |
| "tests.test_launch_config::test_mission_header_reset_when_env_cleared", | |
| "tests.test_launch_config::test_game_properties_booleans", | |
| "tests.test_launch_config::test_game_properties_integers", | |
| "tests.test_launch_config::test_env_override_reaches_the_config", | |
| "tests.test_mod_pruning::test_prunes_only_unreferenced_mods", | |
| "tests.test_mod_pruning::test_preserves_transitive_dependencies", | |
| "tests.test_mod_pruning::test_skips_directories_without_valid_server_data", | |
| "tests.test_mod_pruning::test_skips_mod_with_non_string_metadata_id", | |
| "tests.test_mod_pruning::test_skips_symlinked_server_data", | |
| "tests.test_mod_pruning::test_skips_oversized_server_data", | |
| "tests.test_mod_pruning::test_invalid_required_mod_aborts_before_pruning", | |
| "tests.test_mod_pruning::test_invalid_dependency_aborts_before_pruning", | |
| "tests.test_mod_pruning::test_invalid_config_aborts_before_pruning", | |
| "tests.test_mod_pruning::test_custom_config_without_mods_prunes_all", | |
| "tests.test_mod_pruning::test_refuses_mod_directories_containing_mounts", | |
| "tests.test_mod_pruning::test_workshop_symlink_retarget_does_not_change_prune_root", | |
| "tests.test_mod_pruning::test_does_not_follow_symlinked_mod_directories", | |
| "tests.test_mod_pruning::test_configured_symlinked_mod_aborts_before_pruning", | |
| "tests.test_mod_pruning::test_candidate_replacement_is_not_recursively_deleted", | |
| "tests.test_mod_pruning::test_staging_failure_rolls_back_all_candidates", | |
| "tests.test_mod_pruning::test_deletion_failure_is_retried_from_quarantine", | |
| "tests.test_mod_pruning::test_interrupted_quarantine_is_recovered", | |
| "tests.test_mod_pruning::test_workshop_descriptor_closes_when_fd_path_fails", | |
| "tests.test_mod_pruning::test_concurrent_pruner_is_rejected", | |
| "tests.test_mod_pruning::test_prunes_tree_deeper_than_recursion_limit", | |
| "tests.test_mod_pruning::test_reads_server_data_with_utf8_bom", | |
| "tests.test_mod_pruning::test_missing_workshop_directory_is_a_no_op", | |
| "tests.test_mod_pruning::test_preserves_dependencies_declared_with_mod_id_key", | |
| "tests.test_mod_pruning::test_dependency_cycle_terminates", | |
| "tests.test_mod_pruning::test_diamond_dependencies_are_all_retained", | |
| "tests.test_mod_pruning::test_configured_mod_that_is_not_installed_is_ignored", | |
| "tests.test_mod_pruning::test_skips_mod_that_is_not_fully_downloaded", | |
| "tests.test_mod_pruning::test_skips_mod_with_non_list_dependencies", | |
| "tests.test_mod_pruning::test_ignores_directories_that_are_not_mod_ids", | |
| "tests.test_mod_pruning::test_prunes_every_stale_mod_in_sorted_order", | |
| "tests.test_mod_pruning::test_leaves_no_quarantine_behind_when_nothing_to_prune" | |
| ], | |
| "expected_test_count": 117, | |
| "measured_test_count": 117, | |
| "enumerated_test_count": 71, | |
| "test_count_source": "measured-suite", | |
| "python_install_contract": { | |
| "strategy": "source-roots", | |
| "project_root": ".", | |
| "package_roots": [ | |
| "src" | |
| ], | |
| "build_backend": null, | |
| "build_system_requires": [], | |
| "editable": false, | |
| "project_dependencies": [], | |
| "editable_requires": [], | |
| "runtime_strategy": "source-roots", | |
| "runtime_build_inputs": [], | |
| "build_context_inputs": [], | |
| "distribution_name": null, | |
| "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": "tests/conftest.py", | |
| "source_file": "src/launch_config.py", | |
| "import_root": "launch_config", | |
| "definition_path": "launch_config.load_json_file", | |
| "required_import_path": "launch_config.load_json_file", | |
| "import_statement": "from launch_config import load_json_file", | |
| "symbol": "load_json_file", | |
| "kind": "function", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/conftest.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": "tests/conftest.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/test_launch_config.py", | |
| "source_file": null, | |
| "import_root": "json", | |
| "definition_path": null, | |
| "required_import_path": "json", | |
| "import_statement": "import json", | |
| "symbol": null, | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "tests/test_launch_config.py", | |
| "source_file": "src/launch_config.py", | |
| "import_root": "launch_config", | |
| "definition_path": "launch_config.bool_str", | |
| "required_import_path": "launch_config.bool_str", | |
| "import_statement": "from launch_config import bool_str, build_config, env_defined", | |
| "symbol": "bool_str", | |
| "kind": "function", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/test_launch_config.py", | |
| "source_file": "src/launch_config.py", | |
| "import_root": "launch_config", | |
| "definition_path": "launch_config.build_config", | |
| "required_import_path": "launch_config.build_config", | |
| "import_statement": "from launch_config import bool_str, build_config, env_defined", | |
| "symbol": "build_config", | |
| "kind": "function", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/test_launch_config.py", | |
| "source_file": "src/launch_config.py", | |
| "import_root": "launch_config", | |
| "definition_path": "launch_config.env_defined", | |
| "required_import_path": "launch_config.env_defined", | |
| "import_statement": "from launch_config import bool_str, build_config, env_defined", | |
| "symbol": "env_defined", | |
| "kind": "function", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/test_launch_config.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/test_mod_pruning.py", | |
| "source_file": null, | |
| "import_root": "json", | |
| "definition_path": null, | |
| "required_import_path": "json", | |
| "import_statement": "import json", | |
| "symbol": null, | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "tests/test_mod_pruning.py", | |
| "source_file": "src/launch_config.py", | |
| "import_root": "launch_config", | |
| "definition_path": "launch_config", | |
| "required_import_path": "launch_config", | |
| "import_statement": "import launch_config", | |
| "symbol": null, | |
| "kind": "module", | |
| "classification": "local-module" | |
| }, | |
| { | |
| "test_file": "tests/test_mod_pruning.py", | |
| "source_file": "src/launch_config.py", | |
| "import_root": "launch_config", | |
| "definition_path": "launch_config.DIRECTORY_OPEN_FLAGS", | |
| "required_import_path": "launch_config.DIRECTORY_OPEN_FLAGS", | |
| "import_statement": "import launch_config", | |
| "symbol": "DIRECTORY_OPEN_FLAGS", | |
| "kind": "constant", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/test_mod_pruning.py", | |
| "source_file": "src/launch_config.py", | |
| "import_root": "launch_config", | |
| "definition_path": "launch_config.MAX_SERVER_DATA_SIZE", | |
| "required_import_path": "launch_config.MAX_SERVER_DATA_SIZE", | |
| "import_statement": "import launch_config", | |
| "symbol": "MAX_SERVER_DATA_SIZE", | |
| "kind": "constant", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/test_mod_pruning.py", | |
| "source_file": "src/launch_config.py", | |
| "import_root": "launch_config", | |
| "definition_path": "launch_config.PRUNE_QUARANTINE_PREFIX", | |
| "required_import_path": "launch_config.PRUNE_QUARANTINE_PREFIX", | |
| "import_statement": "import launch_config", | |
| "symbol": "PRUNE_QUARANTINE_PREFIX", | |
| "kind": "constant", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/test_mod_pruning.py", | |
| "source_file": "src/launch_config.py", | |
| "import_root": "launch_config", | |
| "definition_path": "launch_config.SERVER_DATA_FILE", | |
| "required_import_path": "launch_config.SERVER_DATA_FILE", | |
| "import_statement": "import launch_config", | |
| "symbol": "SERVER_DATA_FILE", | |
| "kind": "constant", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/test_mod_pruning.py", | |
| "source_file": "src/launch_config.py", | |
| "import_root": "launch_config", | |
| "definition_path": "launch_config.WORKSHOP_OPEN_FLAGS", | |
| "required_import_path": "launch_config.WORKSHOP_OPEN_FLAGS", | |
| "import_statement": "import launch_config", | |
| "symbol": "WORKSHOP_OPEN_FLAGS", | |
| "kind": "constant", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/test_mod_pruning.py", | |
| "source_file": "src/launch_config.py", | |
| "import_root": "launch_config", | |
| "definition_path": "launch_config.fd_mount_id", | |
| "required_import_path": "launch_config.fd_mount_id", | |
| "import_statement": "import launch_config", | |
| "symbol": "fd_mount_id", | |
| "kind": "function", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/test_mod_pruning.py", | |
| "source_file": "src/launch_config.py", | |
| "import_root": "launch_config", | |
| "definition_path": "launch_config.load_installed_mod", | |
| "required_import_path": "launch_config.load_installed_mod", | |
| "import_statement": "import launch_config", | |
| "symbol": "load_installed_mod", | |
| "kind": "function", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/test_mod_pruning.py", | |
| "source_file": "src/launch_config.py", | |
| "import_root": "launch_config", | |
| "definition_path": "launch_config.mounted_paths", | |
| "required_import_path": "launch_config.mounted_paths", | |
| "import_statement": "import launch_config", | |
| "symbol": "mounted_paths", | |
| "kind": "function", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/test_mod_pruning.py", | |
| "source_file": "src/launch_config.py", | |
| "import_root": "launch_config", | |
| "definition_path": "launch_config.prune_mods", | |
| "required_import_path": "launch_config.prune_mods", | |
| "import_statement": "from launch_config import prune_mods", | |
| "symbol": "prune_mods", | |
| "kind": "function", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/test_mod_pruning.py", | |
| "source_file": "src/launch_config.py", | |
| "import_root": "launch_config", | |
| "definition_path": "launch_config.remove_directory_tree", | |
| "required_import_path": "launch_config.remove_directory_tree", | |
| "import_statement": "import launch_config", | |
| "symbol": "remove_directory_tree", | |
| "kind": "function", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/test_mod_pruning.py", | |
| "source_file": "src/launch_config.py", | |
| "import_root": "launch_config", | |
| "definition_path": "launch_config.stage_prune_candidates", | |
| "required_import_path": "launch_config.stage_prune_candidates", | |
| "import_statement": "import launch_config", | |
| "symbol": "stage_prune_candidates", | |
| "kind": "function", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/test_mod_pruning.py", | |
| "source_file": null, | |
| "import_root": "os", | |
| "definition_path": null, | |
| "required_import_path": "os", | |
| "import_statement": "import os", | |
| "symbol": null, | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "tests/test_mod_pruning.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/test_mod_pruning.py", | |
| "source_file": null, | |
| "import_root": "sys", | |
| "definition_path": null, | |
| "required_import_path": "sys", | |
| "import_statement": "import sys", | |
| "symbol": null, | |
| "kind": "external", | |
| "classification": "external" | |
| } | |
| ], | |
| "test_import_contract_digest": "47cdaf30b8319f0b3d16ea66ca4f4ffae07e32029a12fadbbc53f370544b5a22" | |
| } |