Download tasks/data/forward/abehmiel__pyedgeon.6090025/tests/tests.json from Lego-X/ProgramGen: direct link, hf CLI and curl.
- Browser
- Download file 33.3 kB
-
https://huggingface.co/datasets/Lego-X/ProgramGen/resolve/main/tasks/data/forward/abehmiel__pyedgeon.6090025/tests/tests.json
- Command line
-
hf download hf://datasets/Lego-X/ProgramGen/tasks/data/forward/abehmiel__pyedgeon.6090025/tests/tests.json
-
curl -L -o tests.json https://huggingface.co/datasets/Lego-X/ProgramGen/resolve/main/tasks/data/forward/abehmiel__pyedgeon.6090025/tests/tests.json
33.3 kB
| { | |
| "passed_ptp": [ | |
| "tests.test_image_generation::TestImageGeneration::test_create_basic_image", | |
| "tests.test_image_generation::TestImageGeneration::test_create_with_custom_text", | |
| "tests.test_image_generation::TestImageGeneration::test_create_with_colors", | |
| "tests.test_image_generation::TestImageGeneration::test_create_different_sizes", | |
| "tests.test_image_generation::TestImageGeneration::test_create_with_different_rotations", | |
| "tests.test_image_generation::TestImageGeneration::test_create_with_long_text_truncation", | |
| "tests.test_image_generation::TestCheckLength::test_check_length_within_limit", | |
| "tests.test_image_generation::TestCheckLength::test_check_length_at_limit", | |
| "tests.test_image_generation::TestCheckLength::test_check_length_over_limit", | |
| "tests.test_image_generation::TestCheckLength::test_check_length_empty_string", | |
| "tests.test_image_generation::TestEstimateFontSize::test_estimate_font_size_basic", | |
| "tests.test_image_generation::TestEstimateFontSize::test_estimate_font_size_narrow_chars", | |
| "tests.test_image_generation::TestEstimateFontSize::test_estimate_font_size_wide_chars", | |
| "tests.test_image_generation::TestEstimateFontSize::test_estimate_font_size_mixed_chars", | |
| "tests.test_image_generation::TestEstimateFontSize::test_estimate_font_size_digits", | |
| "tests.test_image_generation::TestEstimateFontSize::test_estimate_font_size_special_chars", | |
| "tests.test_image_generation::TestEstimateFontSize::test_estimate_font_size_bounds", | |
| "tests.test_image_generation::TestDrawClear::test_draw_clear_creates_images", | |
| "tests.test_image_generation::TestDrawClear::test_draw_clear_correct_sizes", | |
| "tests.test_image_generation::TestDrawClear::test_draw_clear_correct_modes", | |
| "tests.test_image_generation::TestDrawClear::test_draw_clear_background_colors", | |
| "tests.test_image_generation::TestGetFontsize::test_get_fontsize_basic", | |
| "tests.test_image_generation::TestGetFontsize::test_get_fontsize_creates_font", | |
| "tests.test_image_generation::TestGetFontsize::test_get_fontsize_different_texts", | |
| "tests.test_image_generation::TestGetFontsize::test_get_fontsize_bounding_box", | |
| "tests.test_image_generation::TestDrawFrame::test_draw_frame_basic", | |
| "tests.test_image_generation::TestDrawFrame::test_draw_frame_creates_scaled_image", | |
| "tests.test_image_generation::TestDrawFrame::test_draw_frame_alpha_channel", | |
| "tests.test_image_generation::TestStamp::test_stamp_basic", | |
| "tests.test_image_generation::TestStamp::test_stamp_rotation_count", | |
| "tests.test_image_generation::TestAlphaToWhite::test_alpha_to_white_syntax_error", | |
| "tests.test_image_generation::TestSaveImg::test_save_img_creates_file", | |
| "tests.test_image_generation::TestSaveImg::test_save_img_custom_extension", | |
| "tests.test_image_generation::TestGetFilePath::test_get_file_path_with_custom_path", | |
| "tests.test_image_generation::TestGetFilePath::test_get_file_path_empty_path_uses_cwd", | |
| "tests.test_image_generation::TestGetFilePath::test_get_file_path_includes_extension", | |
| "tests.test_image_generation::TestGetFilePath::test_get_file_path_uses_pathlib", | |
| "tests.test_image_generation::TestFullPipeline::test_demo_function_exists", | |
| "tests.test_image_generation::TestFullPipeline::test_individual_steps_in_sequence", | |
| "tests.test_image_generation::TestEdgeCases::test_single_character_text", | |
| "tests.test_image_generation::TestEdgeCases::test_maximum_charmax_text", | |
| "tests.test_image_generation::TestEdgeCases::test_whitespace_only_text", | |
| "tests.test_initialization::TestConstructorDefaults::test_default_illusion_text", | |
| "tests.test_initialization::TestConstructorDefaults::test_default_num_rotations", | |
| "tests.test_initialization::TestConstructorDefaults::test_default_file_ext", | |
| "tests.test_initialization::TestConstructorDefaults::test_default_text_color", | |
| "tests.test_initialization::TestConstructorDefaults::test_default_background_color", | |
| "tests.test_initialization::TestConstructorDefaults::test_default_img_side", | |
| "tests.test_initialization::TestConstructorDefaults::test_default_charmax", | |
| "tests.test_initialization::TestConstructorDefaults::test_default_crop_widths", | |
| "tests.test_initialization::TestConstructorDefaults::test_default_darkness_threshold", | |
| "tests.test_initialization::TestConstructorDefaults::test_default_upper_case", | |
| "tests.test_initialization::TestTextHandling::test_uppercase_conversion", | |
| "tests.test_initialization::TestTextHandling::test_uppercase_disabled", | |
| "tests.test_initialization::TestTextHandling::test_empty_string", | |
| "tests.test_initialization::TestTextHandling::test_special_characters", | |
| "tests.test_initialization::TestTextHandling::test_unicode_characters", | |
| "tests.test_initialization::TestTextHandling::test_numeric_text", | |
| "tests.test_initialization::TestColorParameters::test_custom_text_color", | |
| "tests.test_initialization::TestColorParameters::test_custom_background_color", | |
| "tests.test_initialization::TestColorParameters::test_grayscale_colors", | |
| "tests.test_initialization::TestColorParameters::test_color_boundaries", | |
| "tests.test_initialization::TestFileParameters::test_custom_file_name", | |
| "tests.test_initialization::TestFileParameters::test_file_name_defaults_to_text", | |
| "tests.test_initialization::TestFileParameters::test_custom_file_extension", | |
| "tests.test_initialization::TestFileParameters::test_empty_file_path", | |
| "tests.test_initialization::TestFileParameters::test_custom_file_path", | |
| "tests.test_initialization::TestImageSizeParameters::test_custom_img_side", | |
| "tests.test_initialization::TestImageSizeParameters::test_small_image_size", | |
| "tests.test_initialization::TestImageSizeParameters::test_large_image_size", | |
| "tests.test_initialization::TestImageSizeParameters::test_img_size_tuple_creation", | |
| "tests.test_initialization::TestRotationParameters::test_custom_num_rotations", | |
| "tests.test_initialization::TestRotationParameters::test_minimum_rotations", | |
| "tests.test_initialization::TestRotationParameters::test_many_rotations", | |
| "tests.test_initialization::TestCropParameters::test_custom_crop_width_x", | |
| "tests.test_initialization::TestCropParameters::test_custom_crop_width_y", | |
| "tests.test_initialization::TestCropParameters::test_zero_crop_widths", | |
| "tests.test_initialization::TestDarknessThreshold::test_custom_darkness_threshold", | |
| "tests.test_initialization::TestDarknessThreshold::test_threshold_boundaries", | |
| "tests.test_initialization::TestInitialState::test_font_size_initially_none", | |
| "tests.test_initialization::TestInitialState::test_font_size_guess_initially_none", | |
| "tests.test_initialization::TestInitialState::test_all_required_attributes_exist", | |
| "tests.test_performance::TestPerformanceBenchmarks::test_initialization_performance", | |
| "tests.test_performance::TestPerformanceBenchmarks::test_estimate_font_size_performance", | |
| "tests.test_performance::TestPerformanceBenchmarks::test_check_length_performance", | |
| "tests.test_performance::TestPerformanceBenchmarks::test_draw_clear_performance", | |
| "tests.test_performance::TestPerformanceBenchmarks::test_get_fontsize_performance", | |
| "tests.test_performance::TestPerformanceBenchmarks::test_full_create_performance_small", | |
| "tests.test_performance::TestPerformanceBenchmarks::test_full_create_performance_medium", | |
| "tests.test_performance::TestScalability::test_scaling_with_text_length", | |
| "tests.test_performance::TestScalability::test_scaling_with_image_size", | |
| "tests.test_performance::TestScalability::test_scaling_with_num_rotations", | |
| "tests.test_performance::TestNestedLoopPerformance::test_draw_frame_nested_loops", | |
| "tests.test_performance::TestNestedLoopPerformance::test_alpha_to_white_nested_loops", | |
| "tests.test_performance::TestFontSizeDiscoveryPerformance::test_get_fontsize_temporary_images", | |
| "tests.test_performance::TestFontSizeDiscoveryPerformance::test_get_fontsize_recursion_count", | |
| "tests.test_performance::TestMemoryUsage::test_multiple_image_objects", | |
| "tests.test_performance::TestMemoryUsage::test_memory_with_large_image", | |
| "tests.test_performance::TestResourceLimits::test_unrestricted_image_size", | |
| "tests.test_performance::TestResourceLimits::test_unrestricted_text_length", | |
| "tests.test_performance::TestResourceLimits::test_unrestricted_num_rotations", | |
| "tests.test_performance::TestRegression::test_baseline_small_image", | |
| "tests.test_security::TestPathTraversalPrevention::test_file_path_traversal_parent_directory", | |
| "tests.test_security::TestPathTraversalPrevention::test_file_path_absolute_system_path", | |
| "tests.test_security::TestPathTraversalPrevention::test_file_name_with_path_traversal", | |
| "tests.test_security::TestPathTraversalPrevention::test_font_path_traversal", | |
| "tests.test_security::TestPathTraversalPrevention::test_null_byte_injection_file_name", | |
| "tests.test_security::TestPathTraversalPrevention::test_symlink_in_file_path", | |
| "tests.test_security::TestInputValidation::test_color_validation_out_of_range_high", | |
| "tests.test_security::TestInputValidation::test_color_validation_negative", | |
| "tests.test_security::TestInputValidation::test_color_validation_wrong_type", | |
| "tests.test_security::TestInputValidation::test_color_validation_wrong_tuple_length", | |
| "tests.test_security::TestInputValidation::test_num_rotations_negative", | |
| "tests.test_security::TestInputValidation::test_num_rotations_zero", | |
| "tests.test_security::TestInputValidation::test_img_side_negative", | |
| "tests.test_security::TestInputValidation::test_img_side_zero", | |
| "tests.test_security::TestInputValidation::test_charmax_negative", | |
| "tests.test_security::TestInputValidation::test_darkness_threshold_out_of_range", | |
| "tests.test_security::TestResourceExhaustion::test_extremely_large_image_size", | |
| "tests.test_security::TestResourceExhaustion::test_extremely_long_text", | |
| "tests.test_security::TestResourceExhaustion::test_check_length_truncation_silent", | |
| "tests.test_security::TestResourceExhaustion::test_check_length_hardcoded_truncation", | |
| "tests.test_security::TestResourceExhaustion::test_many_rotations_performance", | |
| "tests.test_security::TestFileSystemSecurity::test_file_overwrite_without_warning", | |
| "tests.test_security::TestFileSystemSecurity::test_file_extension_validation", | |
| "tests.test_security::TestFileSystemSecurity::test_font_file_existence_check", | |
| "tests.test_security::TestFileSystemSecurity::test_font_file_type_validation", | |
| "tests.test_security::TestErrorHandling::test_bare_except_in_get_fontsize", | |
| "tests.test_security::TestErrorHandling::test_unbounded_recursion_in_get_fontsize", | |
| "tests.test_security::TestSyntaxErrorDocumentation::test_line_215_syntax_error_exists", | |
| "tests.test_security::TestInjectionVectors::test_command_injection_in_file_path", | |
| "tests.test_security::TestInjectionVectors::test_format_string_in_text" | |
| ], | |
| "test_files": [ | |
| "tests/__init__.py", | |
| "tests/conftest.py", | |
| "tests/test_image_generation.py", | |
| "tests/test_initialization.py", | |
| "tests/test_performance.py", | |
| "tests/test_security.py" | |
| ], | |
| "test_command": [ | |
| "bash", | |
| "-lc", | |
| "export PYTHONPATH=.:${PYTHONPATH:-}\nexec python3 -m pytest -vv --continue-on-collection-errors -o 'addopts=--strict-markers -v' tests/test_image_generation.py tests/test_initialization.py tests/test_performance.py tests/test_security.py" | |
| ], | |
| "test_payload_contract": { | |
| "schema_version": "programgen.test-payload-contract.v1", | |
| "test_files": [ | |
| "tests/__init__.py", | |
| "tests/conftest.py", | |
| "tests/test_image_generation.py", | |
| "tests/test_initialization.py", | |
| "tests/test_performance.py", | |
| "tests/test_security.py" | |
| ], | |
| "test_command": [ | |
| "bash", | |
| "-lc", | |
| "export PYTHONPATH=.:${PYTHONPATH:-}\nexec python3 -m pytest -vv --continue-on-collection-errors -o 'addopts=--strict-markers -v' tests/test_image_generation.py tests/test_initialization.py tests/test_performance.py tests/test_security.py" | |
| ], | |
| "text_fixtures": [ | |
| "tests/requirements-test.txt" | |
| ], | |
| "binary_fixtures": [], | |
| "nonportable_absolute_paths": [], | |
| "required_external_commands": [], | |
| "declared_console_scripts": [], | |
| "unresolved_external_commands": [] | |
| }, | |
| "unit_test": [ | |
| "tests.test_image_generation::TestImageGeneration::test_create_basic_image", | |
| "tests.test_image_generation::TestImageGeneration::test_create_with_custom_text", | |
| "tests.test_image_generation::TestImageGeneration::test_create_with_colors", | |
| "tests.test_image_generation::TestImageGeneration::test_create_different_sizes", | |
| "tests.test_image_generation::TestImageGeneration::test_create_with_different_rotations", | |
| "tests.test_image_generation::TestImageGeneration::test_create_with_long_text_truncation", | |
| "tests.test_image_generation::TestCheckLength::test_check_length_within_limit", | |
| "tests.test_image_generation::TestCheckLength::test_check_length_at_limit", | |
| "tests.test_image_generation::TestCheckLength::test_check_length_over_limit", | |
| "tests.test_image_generation::TestCheckLength::test_check_length_empty_string", | |
| "tests.test_image_generation::TestEstimateFontSize::test_estimate_font_size_basic", | |
| "tests.test_image_generation::TestEstimateFontSize::test_estimate_font_size_narrow_chars", | |
| "tests.test_image_generation::TestEstimateFontSize::test_estimate_font_size_wide_chars", | |
| "tests.test_image_generation::TestEstimateFontSize::test_estimate_font_size_mixed_chars", | |
| "tests.test_image_generation::TestEstimateFontSize::test_estimate_font_size_digits", | |
| "tests.test_image_generation::TestEstimateFontSize::test_estimate_font_size_special_chars", | |
| "tests.test_image_generation::TestEstimateFontSize::test_estimate_font_size_bounds", | |
| "tests.test_image_generation::TestDrawClear::test_draw_clear_creates_images", | |
| "tests.test_image_generation::TestDrawClear::test_draw_clear_correct_sizes", | |
| "tests.test_image_generation::TestDrawClear::test_draw_clear_correct_modes", | |
| "tests.test_image_generation::TestDrawClear::test_draw_clear_background_colors", | |
| "tests.test_image_generation::TestGetFontsize::test_get_fontsize_basic", | |
| "tests.test_image_generation::TestGetFontsize::test_get_fontsize_creates_font", | |
| "tests.test_image_generation::TestGetFontsize::test_get_fontsize_different_texts", | |
| "tests.test_image_generation::TestGetFontsize::test_get_fontsize_bounding_box", | |
| "tests.test_image_generation::TestDrawFrame::test_draw_frame_basic", | |
| "tests.test_image_generation::TestDrawFrame::test_draw_frame_creates_scaled_image", | |
| "tests.test_image_generation::TestDrawFrame::test_draw_frame_alpha_channel", | |
| "tests.test_image_generation::TestStamp::test_stamp_basic", | |
| "tests.test_image_generation::TestStamp::test_stamp_rotation_count", | |
| "tests.test_image_generation::TestAlphaToWhite::test_alpha_to_white_syntax_error", | |
| "tests.test_image_generation::TestSaveImg::test_save_img_creates_file", | |
| "tests.test_image_generation::TestSaveImg::test_save_img_custom_extension", | |
| "tests.test_image_generation::TestGetFilePath::test_get_file_path_with_custom_path", | |
| "tests.test_image_generation::TestGetFilePath::test_get_file_path_empty_path_uses_cwd", | |
| "tests.test_image_generation::TestGetFilePath::test_get_file_path_includes_extension", | |
| "tests.test_image_generation::TestGetFilePath::test_get_file_path_uses_pathlib", | |
| "tests.test_image_generation::TestFullPipeline::test_demo_function_exists", | |
| "tests.test_image_generation::TestFullPipeline::test_individual_steps_in_sequence", | |
| "tests.test_image_generation::TestEdgeCases::test_single_character_text", | |
| "tests.test_image_generation::TestEdgeCases::test_maximum_charmax_text", | |
| "tests.test_image_generation::TestEdgeCases::test_whitespace_only_text", | |
| "tests.test_initialization::TestConstructorDefaults::test_default_illusion_text", | |
| "tests.test_initialization::TestConstructorDefaults::test_default_num_rotations", | |
| "tests.test_initialization::TestConstructorDefaults::test_default_file_ext", | |
| "tests.test_initialization::TestConstructorDefaults::test_default_text_color", | |
| "tests.test_initialization::TestConstructorDefaults::test_default_background_color", | |
| "tests.test_initialization::TestConstructorDefaults::test_default_img_side", | |
| "tests.test_initialization::TestConstructorDefaults::test_default_charmax", | |
| "tests.test_initialization::TestConstructorDefaults::test_default_crop_widths", | |
| "tests.test_initialization::TestConstructorDefaults::test_default_darkness_threshold", | |
| "tests.test_initialization::TestConstructorDefaults::test_default_upper_case", | |
| "tests.test_initialization::TestTextHandling::test_uppercase_conversion", | |
| "tests.test_initialization::TestTextHandling::test_uppercase_disabled", | |
| "tests.test_initialization::TestTextHandling::test_empty_string", | |
| "tests.test_initialization::TestTextHandling::test_special_characters", | |
| "tests.test_initialization::TestTextHandling::test_unicode_characters", | |
| "tests.test_initialization::TestTextHandling::test_numeric_text", | |
| "tests.test_initialization::TestColorParameters::test_custom_text_color", | |
| "tests.test_initialization::TestColorParameters::test_custom_background_color", | |
| "tests.test_initialization::TestColorParameters::test_grayscale_colors", | |
| "tests.test_initialization::TestColorParameters::test_color_boundaries", | |
| "tests.test_initialization::TestFileParameters::test_custom_file_name", | |
| "tests.test_initialization::TestFileParameters::test_file_name_defaults_to_text", | |
| "tests.test_initialization::TestFileParameters::test_custom_file_extension", | |
| "tests.test_initialization::TestFileParameters::test_empty_file_path", | |
| "tests.test_initialization::TestFileParameters::test_custom_file_path", | |
| "tests.test_initialization::TestImageSizeParameters::test_custom_img_side", | |
| "tests.test_initialization::TestImageSizeParameters::test_small_image_size", | |
| "tests.test_initialization::TestImageSizeParameters::test_large_image_size", | |
| "tests.test_initialization::TestImageSizeParameters::test_img_size_tuple_creation", | |
| "tests.test_initialization::TestRotationParameters::test_custom_num_rotations", | |
| "tests.test_initialization::TestRotationParameters::test_minimum_rotations", | |
| "tests.test_initialization::TestRotationParameters::test_many_rotations", | |
| "tests.test_initialization::TestCropParameters::test_custom_crop_width_x", | |
| "tests.test_initialization::TestCropParameters::test_custom_crop_width_y", | |
| "tests.test_initialization::TestCropParameters::test_zero_crop_widths", | |
| "tests.test_initialization::TestDarknessThreshold::test_custom_darkness_threshold", | |
| "tests.test_initialization::TestDarknessThreshold::test_threshold_boundaries", | |
| "tests.test_initialization::TestInitialState::test_font_size_initially_none", | |
| "tests.test_initialization::TestInitialState::test_font_size_guess_initially_none", | |
| "tests.test_initialization::TestInitialState::test_all_required_attributes_exist", | |
| "tests.test_performance::TestPerformanceBenchmarks::test_initialization_performance", | |
| "tests.test_performance::TestPerformanceBenchmarks::test_estimate_font_size_performance", | |
| "tests.test_performance::TestPerformanceBenchmarks::test_check_length_performance", | |
| "tests.test_performance::TestPerformanceBenchmarks::test_draw_clear_performance", | |
| "tests.test_performance::TestPerformanceBenchmarks::test_get_fontsize_performance", | |
| "tests.test_performance::TestPerformanceBenchmarks::test_full_create_performance_small", | |
| "tests.test_performance::TestPerformanceBenchmarks::test_full_create_performance_medium", | |
| "tests.test_performance::TestScalability::test_scaling_with_text_length", | |
| "tests.test_performance::TestScalability::test_scaling_with_image_size", | |
| "tests.test_performance::TestScalability::test_scaling_with_num_rotations", | |
| "tests.test_performance::TestNestedLoopPerformance::test_draw_frame_nested_loops", | |
| "tests.test_performance::TestNestedLoopPerformance::test_alpha_to_white_nested_loops", | |
| "tests.test_performance::TestFontSizeDiscoveryPerformance::test_get_fontsize_temporary_images", | |
| "tests.test_performance::TestFontSizeDiscoveryPerformance::test_get_fontsize_recursion_count", | |
| "tests.test_performance::TestMemoryUsage::test_multiple_image_objects", | |
| "tests.test_performance::TestMemoryUsage::test_memory_with_large_image", | |
| "tests.test_performance::TestResourceLimits::test_unrestricted_image_size", | |
| "tests.test_performance::TestResourceLimits::test_unrestricted_text_length", | |
| "tests.test_performance::TestResourceLimits::test_unrestricted_num_rotations", | |
| "tests.test_performance::TestRegression::test_baseline_small_image", | |
| "tests.test_security::TestPathTraversalPrevention::test_file_path_traversal_parent_directory", | |
| "tests.test_security::TestPathTraversalPrevention::test_file_path_absolute_system_path", | |
| "tests.test_security::TestPathTraversalPrevention::test_file_name_with_path_traversal", | |
| "tests.test_security::TestPathTraversalPrevention::test_font_path_traversal", | |
| "tests.test_security::TestPathTraversalPrevention::test_null_byte_injection_file_name", | |
| "tests.test_security::TestPathTraversalPrevention::test_symlink_in_file_path", | |
| "tests.test_security::TestInputValidation::test_color_validation_out_of_range_high", | |
| "tests.test_security::TestInputValidation::test_color_validation_negative", | |
| "tests.test_security::TestInputValidation::test_color_validation_wrong_type", | |
| "tests.test_security::TestInputValidation::test_color_validation_wrong_tuple_length", | |
| "tests.test_security::TestInputValidation::test_num_rotations_negative", | |
| "tests.test_security::TestInputValidation::test_num_rotations_zero", | |
| "tests.test_security::TestInputValidation::test_img_side_negative", | |
| "tests.test_security::TestInputValidation::test_img_side_zero", | |
| "tests.test_security::TestInputValidation::test_charmax_negative", | |
| "tests.test_security::TestInputValidation::test_darkness_threshold_out_of_range", | |
| "tests.test_security::TestResourceExhaustion::test_extremely_large_image_size", | |
| "tests.test_security::TestResourceExhaustion::test_extremely_long_text", | |
| "tests.test_security::TestResourceExhaustion::test_check_length_truncation_silent", | |
| "tests.test_security::TestResourceExhaustion::test_check_length_hardcoded_truncation", | |
| "tests.test_security::TestResourceExhaustion::test_many_rotations_performance", | |
| "tests.test_security::TestFileSystemSecurity::test_file_overwrite_without_warning", | |
| "tests.test_security::TestFileSystemSecurity::test_file_extension_validation", | |
| "tests.test_security::TestFileSystemSecurity::test_font_file_existence_check", | |
| "tests.test_security::TestFileSystemSecurity::test_font_file_type_validation", | |
| "tests.test_security::TestErrorHandling::test_bare_except_in_get_fontsize", | |
| "tests.test_security::TestErrorHandling::test_unbounded_recursion_in_get_fontsize", | |
| "tests.test_security::TestSyntaxErrorDocumentation::test_line_215_syntax_error_exists", | |
| "tests.test_security::TestInjectionVectors::test_command_injection_in_file_path", | |
| "tests.test_security::TestInjectionVectors::test_format_string_in_text" | |
| ], | |
| "expected_test_count": 132, | |
| "measured_test_count": 132, | |
| "enumerated_test_count": 132, | |
| "test_count_source": "measured-suite", | |
| "python_install_contract": { | |
| "strategy": "editable-install", | |
| "project_root": ".", | |
| "package_roots": [ | |
| "." | |
| ], | |
| "build_backend": "poetry.core.masonry.api", | |
| "build_system_requires": [ | |
| "poetry-core>=1.0.0" | |
| ], | |
| "editable": true, | |
| "project_dependencies": [], | |
| "editable_requires": [], | |
| "runtime_strategy": "editable-install", | |
| "runtime_build_inputs": [ | |
| "README.md" | |
| ], | |
| "build_context_inputs": [], | |
| "distribution_name": "pyedgeon", | |
| "evidence": [ | |
| "./pyproject.toml", | |
| "./setup.cfg" | |
| ], | |
| "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": "PIL", | |
| "definition_path": null, | |
| "required_import_path": "PIL.Image", | |
| "import_statement": "from PIL import Image", | |
| "symbol": "Image", | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "tests/conftest.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/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": "pyedgeon/pyedgeon.py", | |
| "import_root": "pyedgeon", | |
| "definition_path": "pyedgeon.pyedgeon.Pyedgeon", | |
| "required_import_path": "pyedgeon.Pyedgeon", | |
| "import_statement": "from pyedgeon import Pyedgeon", | |
| "symbol": "Pyedgeon", | |
| "kind": "class", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "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/conftest.py", | |
| "source_file": null, | |
| "import_root": "shutil", | |
| "definition_path": null, | |
| "required_import_path": "shutil", | |
| "import_statement": "import shutil", | |
| "symbol": null, | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "tests/conftest.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_file": "tests/conftest.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": "tests/test_image_generation.py", | |
| "source_file": null, | |
| "import_root": "PIL", | |
| "definition_path": null, | |
| "required_import_path": "PIL.Image", | |
| "import_statement": "from PIL import Image", | |
| "symbol": "Image", | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "tests/test_image_generation.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_image_generation.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/test_image_generation.py", | |
| "source_file": "pyedgeon/pyedgeon.py", | |
| "import_root": "pyedgeon", | |
| "definition_path": "pyedgeon.pyedgeon.Pyedgeon", | |
| "required_import_path": "pyedgeon.Pyedgeon", | |
| "import_statement": "from pyedgeon import Pyedgeon", | |
| "symbol": "Pyedgeon", | |
| "kind": "class", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/test_image_generation.py", | |
| "source_file": "pyedgeon/pyedgeon.py", | |
| "import_root": "pyedgeon", | |
| "definition_path": "pyedgeon.pyedgeon.demo", | |
| "required_import_path": "pyedgeon.pyedgeon.demo", | |
| "import_statement": "from pyedgeon.pyedgeon import demo", | |
| "symbol": "demo", | |
| "kind": "function", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/test_image_generation.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_image_generation.py", | |
| "source_file": "tests/conftest.py", | |
| "import_root": "tests", | |
| "definition_path": "tests.conftest.assert_valid_image", | |
| "required_import_path": "tests.conftest.assert_valid_image", | |
| "import_statement": "from .conftest import assert_valid_image", | |
| "symbol": "assert_valid_image", | |
| "kind": "test-support", | |
| "classification": "test-support" | |
| }, | |
| { | |
| "test_file": "tests/test_initialization.py", | |
| "source_file": "pyedgeon/pyedgeon.py", | |
| "import_root": "pyedgeon", | |
| "definition_path": "pyedgeon.pyedgeon.Pyedgeon", | |
| "required_import_path": "pyedgeon.Pyedgeon", | |
| "import_statement": "from pyedgeon import Pyedgeon", | |
| "symbol": "Pyedgeon", | |
| "kind": "class", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/test_initialization.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_performance.py", | |
| "source_file": "pyedgeon/pyedgeon.py", | |
| "import_root": "pyedgeon", | |
| "definition_path": "pyedgeon.pyedgeon.Pyedgeon", | |
| "required_import_path": "pyedgeon.Pyedgeon", | |
| "import_statement": "from pyedgeon import Pyedgeon", | |
| "symbol": "Pyedgeon", | |
| "kind": "class", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/test_performance.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_performance.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_file": "tests/test_performance.py", | |
| "source_file": null, | |
| "import_root": "time", | |
| "definition_path": null, | |
| "required_import_path": "time", | |
| "import_statement": "import time", | |
| "symbol": null, | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "tests/test_security.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/test_security.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_security.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/test_security.py", | |
| "source_file": "pyedgeon/pyedgeon.py", | |
| "import_root": "pyedgeon", | |
| "definition_path": "pyedgeon.pyedgeon.Pyedgeon", | |
| "required_import_path": "pyedgeon.Pyedgeon", | |
| "import_statement": "from pyedgeon import Pyedgeon", | |
| "symbol": "Pyedgeon", | |
| "kind": "class", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/test_security.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_import_contract_digest": "55f448f185425e451a881b84eedc14cfd5f427ead6fa76626c14888ba477606c" | |
| } |