programgym-1648 / 0xsky--xredis.39c20a5 /tests /programgym_task.json
Marquis03's picture
Upload folder using huggingface_hub
86c44f7 verified
Raw History Blame Contribute Delete
43 kB
{
"branches": {
"generated_module_01": {
"ignore_reason": "",
"ignored": false,
"ignored_tests": [
{
"name": "eval.tests.test_golden_oracles.test_golden_connect_error_other_host_keeps_its_own_template",
"reasons": [
{
"id": "short_substring",
"message": "pytest test uses a too-short substring oracle",
"path": "eval/tests/test_golden_oracles.py",
"repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
"severity": "error",
"stage": "static_lint"
},
{
"id": "generic_keyword_oracle",
"message": "pytest test uses a generic keyword oracle",
"path": "eval/tests/test_golden_oracles.py",
"repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
"severity": "error",
"stage": "static_lint"
}
]
},
{
"name": "eval.tests.test_golden_oracles.test_golden_connect_error_path_independent",
"reasons": [
{
"id": "short_substring",
"message": "pytest test uses a too-short substring oracle",
"path": "eval/tests/test_golden_oracles.py",
"repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
"severity": "error",
"stage": "static_lint"
},
{
"id": "generic_keyword_oracle",
"message": "pytest test uses a generic keyword oracle",
"path": "eval/tests/test_golden_oracles.py",
"repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
"severity": "error",
"stage": "static_lint"
}
]
},
{
"name": "eval.tests.test_golden_oracles.test_golden_usage_path_independent",
"reasons": [
{
"id": "short_substring",
"message": "pytest test uses a too-short substring oracle",
"path": "eval/tests/test_golden_oracles.py",
"repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
"severity": "error",
"stage": "static_lint"
}
]
},
{
"name": "eval.tests.test_mock_cluster.test_cluster_keepalive_topology_change_rebuilds_pool",
"reasons": [
{
"id": "try_except_swallow",
"message": "pytest test swallows exceptions in an except handler",
"path": "eval/tests/test_mock_cluster.py",
"repair_hint": "Do not swallow exceptions; let pytest fail or assert the exact expected exception.",
"severity": "error",
"stage": "static_lint"
},
{
"id": "short_substring",
"message": "pytest test uses a too-short substring oracle",
"path": "eval/tests/test_mock_cluster.py",
"repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
"severity": "error",
"stage": "static_lint"
},
{
"id": "generic_keyword_oracle",
"message": "pytest test uses a generic keyword oracle",
"path": "eval/tests/test_mock_cluster.py",
"repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
"severity": "error",
"stage": "static_lint"
}
]
},
{
"name": "eval.tests.test_mock_cluster.test_cluster_single_node_password_auth",
"reasons": [
{
"id": "try_except_swallow",
"message": "pytest test swallows exceptions in an except handler",
"path": "eval/tests/test_mock_cluster.py",
"repair_hint": "Do not swallow exceptions; let pytest fail or assert the exact expected exception.",
"severity": "error",
"stage": "static_lint"
}
]
},
{
"name": "eval.tests.test_mock_cluster.test_cluster_two_node_routes_keys_to_distinct_nodes",
"reasons": [
{
"id": "generic_keyword_oracle",
"message": "pytest test uses a generic keyword oracle",
"path": "eval/tests/test_mock_cluster.py",
"repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
"severity": "error",
"stage": "static_lint"
}
]
},
{
"name": "eval.tests.test_mock_cluster.test_cluster_two_node_routing_repeat_same_key",
"reasons": [
{
"id": "generic_keyword_oracle",
"message": "pytest test uses a generic keyword oracle",
"path": "eval/tests/test_mock_cluster.py",
"repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
"severity": "error",
"stage": "static_lint"
}
]
},
{
"name": "eval.tests.test_mock_single.test_single_node_keepalive_ping_fail_reconnect",
"reasons": [
{
"id": "short_substring",
"message": "pytest test uses a too-short substring oracle",
"path": "eval/tests/test_mock_single.py",
"repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
"severity": "error",
"stage": "static_lint"
},
{
"id": "generic_keyword_oracle",
"message": "pytest test uses a generic keyword oracle",
"path": "eval/tests/test_mock_single.py",
"repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
"severity": "error",
"stage": "static_lint"
},
{
"id": "test_network_dependency",
"message": "test appears to depend on networking",
"path": "eval/tests/test_mock_single.py",
"repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
"severity": "error",
"stage": "static_lint"
}
]
}
],
"tests": [
"eval.tests.test_connect_failure.test_connect_error_goes_to_stderr_not_stdout",
"eval.tests.test_connect_failure.test_connect_failure_does_not_print_usage",
"eval.tests.test_connect_failure.test_connect_failure_empty_host",
"eval.tests.test_connect_failure.test_connect_failure_empty_password_argument",
"eval.tests.test_connect_failure.test_connect_failure_exit_code",
"eval.tests.test_connect_failure.test_connect_failure_extra_args_still_fail",
"eval.tests.test_connect_failure.test_connect_failure_host_containing_colon",
"eval.tests.test_connect_failure.test_connect_failure_host_variants[0.0.0.0]",
"eval.tests.test_connect_failure.test_connect_failure_host_variants[0x7f000001]",
"eval.tests.test_connect_failure.test_connect_failure_host_variants[127.0.0.1]",
"eval.tests.test_connect_failure.test_connect_failure_host_variants[127.0.0.2]",
"eval.tests.test_connect_failure.test_connect_failure_host_variants[127.0.0.3]",
"eval.tests.test_connect_failure.test_connect_failure_host_variants[localhost]",
"eval.tests.test_connect_failure.test_connect_failure_host_with_space_reproduced",
"eval.tests.test_connect_failure.test_connect_failure_ipv6_loopback_host",
"eval.tests.test_connect_failure.test_connect_failure_negative_port_rejected",
"eval.tests.test_connect_failure.test_connect_failure_non_numeric_port",
"eval.tests.test_connect_failure.test_connect_failure_other_loopback_host",
"eval.tests.test_connect_failure.test_connect_failure_port_forms[-7]",
"eval.tests.test_connect_failure.test_connect_failure_port_forms[00007]",
"eval.tests.test_connect_failure.test_connect_failure_port_forms[0]",
"eval.tests.test_connect_failure.test_connect_failure_port_forms[1]",
"eval.tests.test_connect_failure.test_connect_failure_port_forms[99999]",
"eval.tests.test_connect_failure.test_connect_failure_port_forms[abc]",
"eval.tests.test_connect_failure.test_connect_failure_stderr_exact",
"eval.tests.test_connect_failure.test_connect_failure_stdout_parameterized_by_host",
"eval.tests.test_connect_failure.test_connect_failure_stdout_parameterized_by_password",
"eval.tests.test_connect_failure.test_connect_failure_stdout_shows_connecterror_log",
"eval.tests.test_connect_failure.test_connect_failure_stdout_shows_connectredis_entry",
"eval.tests.test_connect_failure.test_connect_failure_three_args_password_branch",
"eval.tests.test_connect_failure.test_connect_failure_two_args_keeps_empty_pass",
"eval.tests.test_connect_failure.test_connect_failure_zero_port_rejected",
"eval.tests.test_golden_oracles.test_golden_connect_error_other_host_keeps_its_own_template",
"eval.tests.test_golden_oracles.test_golden_connect_error_path_independent",
"eval.tests.test_golden_oracles.test_golden_connect_error_stderr",
"eval.tests.test_golden_oracles.test_golden_usage_line_exact_trailing_space",
"eval.tests.test_golden_oracles.test_golden_usage_never_matches_connect_error_template",
"eval.tests.test_golden_oracles.test_golden_usage_path_independent",
"eval.tests.test_golden_oracles.test_golden_usage_stdout",
"eval.tests.test_mock_cluster.test_cluster_array_type_db_replies",
"eval.tests.test_mock_cluster.test_cluster_hashtag_edge_case_keys_route",
"eval.tests.test_mock_cluster.test_cluster_keepalive_topology_change_rebuilds_pool",
"eval.tests.test_mock_cluster.test_cluster_multi_select_reply_shaping",
"eval.tests.test_mock_cluster.test_cluster_nil_and_status_reply_shaping",
"eval.tests.test_mock_cluster.test_cluster_single_node_hashtag_same_node",
"eval.tests.test_mock_cluster.test_cluster_single_node_incr_del_exists",
"eval.tests.test_mock_cluster.test_cluster_single_node_password_auth",
"eval.tests.test_mock_cluster.test_cluster_single_node_set_get_ping",
"eval.tests.test_mock_cluster.test_cluster_two_node_routes_keys_to_distinct_nodes",
"eval.tests.test_mock_cluster.test_cluster_two_node_routing_repeat_same_key",
"eval.tests.test_mock_single.test_single_node_empty_command_echo",
"eval.tests.test_mock_single.test_single_node_incr_and_del_routing",
"eval.tests.test_mock_single.test_single_node_incremental_store",
"eval.tests.test_mock_single.test_single_node_keepalive_ping_fail_reconnect",
"eval.tests.test_mock_single.test_single_node_password_auth_path",
"eval.tests.test_mock_single.test_single_node_rejects_bad_password",
"eval.tests.test_mock_single.test_single_node_set_get_repl",
"eval.tests.test_usage.test_usage_argument_of_just_the_program",
"eval.tests.test_usage.test_usage_exit_255_wraps_minus_one",
"eval.tests.test_usage.test_usage_line_embeds_program_path",
"eval.tests.test_usage.test_usage_never_touches_stderr",
"eval.tests.test_usage.test_usage_not_affected_by_more_than_two_present_but_rejected",
"eval.tests.test_usage.test_usage_one_arg_host_only",
"eval.tests.test_usage.test_usage_one_arg_various_host_strings",
"eval.tests.test_usage.test_usage_stdout_contains_only_usage_line",
"eval.tests.test_usage.test_usage_usage_line_trailing_crlf"
]
},
"generated_module_02": {
"ignore_reason": "",
"ignored": false,
"ignored_tests": [],
"tests": [
"eval.tests.test_01_cli_args.test_host_only_no_port_prints_usage",
"eval.tests.test_01_cli_args.test_missing_usage_never_connects",
"eval.tests.test_01_cli_args.test_no_args_prints_usage",
"eval.tests.test_01_cli_args.test_single_host_arg_prints_usage",
"eval.tests.test_01_cli_args.test_usage_prints_once_on_stdout_only",
"eval.tests.test_01_cli_args.test_usage_text_contains_all_placeholders",
"eval.tests.test_02_connect.test_bad_password_connect_fails_per_arg3",
"eval.tests.test_02_connect.test_clean_exit_tears_down_pool_with_release_log",
"eval.tests.test_02_connect.test_connect_starts_pool_prompt_only_once",
"eval.tests.test_02_connect.test_connection_refused_fails_with_error",
"eval.tests.test_02_connect.test_connection_refused_stdout_has_error_level_log",
"eval.tests.test_02_connect.test_empty_stdin_connect_exits_cleanly",
"eval.tests.test_02_connect.test_extra_arg_after_password_means_password_is_ignored",
"eval.tests.test_02_connect.test_malformed_port_is_treated_as_connect_error[-1]",
"eval.tests.test_02_connect.test_malformed_port_is_treated_as_connect_error[0]",
"eval.tests.test_02_connect.test_malformed_port_is_treated_as_connect_error[65536]",
"eval.tests.test_02_connect.test_malformed_port_is_treated_as_connect_error[99999]",
"eval.tests.test_02_connect.test_malformed_port_is_treated_as_connect_error[abc]",
"eval.tests.test_02_connect.test_single_node_connect_logs_disable_cluster_flag",
"eval.tests.test_02_connect.test_unknown_host_connect_failure",
"eval.tests.test_02_connect.test_wrong_password_auth_fails",
"eval.tests.test_03_reply_rendering.test_array_reply_mixed_types_matches_expected",
"eval.tests.test_03_reply_rendering.test_array_reply_string_elements_exact_dict_vectors",
"eval.tests.test_03_reply_rendering.test_array_reply_string_elements_matches_expected",
"eval.tests.test_03_reply_rendering.test_binary_payload_preserved",
"eval.tests.test_03_reply_rendering.test_empty_array_reply_yields_no_lines",
"eval.tests.test_03_reply_rendering.test_empty_string_reply_renders_whitespace_only",
"eval.tests.test_03_reply_rendering.test_error_reply_rendered",
"eval.tests.test_03_reply_rendering.test_error_reply_wrongtype_preserved",
"eval.tests.test_03_reply_rendering.test_large_integer_reply_rendered",
"eval.tests.test_03_reply_rendering.test_long_string_reply_rendered",
"eval.tests.test_03_reply_rendering.test_negative_integer_reply_rendered",
"eval.tests.test_03_reply_rendering.test_nil_reply_rendered_as_null",
"eval.tests.test_03_reply_rendering.test_positive_integer_reply_rendered",
"eval.tests.test_03_reply_rendering.test_status_non_ok_verbatim",
"eval.tests.test_03_reply_rendering.test_status_reply_rendered",
"eval.tests.test_03_reply_rendering.test_string_reply_rendered",
"eval.tests.test_03_reply_rendering.test_string_with_embedded_whitespace_passthrough",
"eval.tests.test_03_reply_rendering.test_zero_integer_reply_rendered",
"eval.tests.test_04_repl_scenarios.test_argument_tokens_preserve_word_boundaries",
"eval.tests.test_04_repl_scenarios.test_blank_line_does_not_send_command_to_server",
"eval.tests.test_04_repl_scenarios.test_commands_are_delivered_as_resp_arrays",
"eval.tests.test_04_repl_scenarios.test_del_then_get_is_nil",
"eval.tests.test_04_repl_scenarios.test_empty_line_asks_input_again",
"eval.tests.test_04_repl_scenarios.test_error_in_sequence_does_not_kill_session",
"eval.tests.test_04_repl_scenarios.test_incr_sequence_is_ordered",
"eval.tests.test_04_repl_scenarios.test_multiple_prompts_one_per_command",
"eval.tests.test_04_repl_scenarios.test_set_overwrite_then_get_latest",
"eval.tests.test_04_repl_scenarios.test_set_then_get_roundtrip",
"eval.tests.test_05_connect_variants.test_case_insensitive_command_verb_via_server",
"eval.tests.test_05_connect_variants.test_info_cluster_disabled_flag_selects_single_node",
"eval.tests.test_05_connect_variants.test_info_empty_string_selects_single_node",
"eval.tests.test_05_connect_variants.test_info_lacking_flag_is_single_node",
"eval.tests.test_05_connect_variants.test_info_status_reply_selects_single_node",
"eval.tests.test_05_connect_variants.test_leading_whitespace_is_stripped_before_dispatch",
"eval.tests.test_05_connect_variants.test_repeated_spaces_collapse_into_single_tokens[GET k q\\n-expected2]",
"eval.tests.test_05_connect_variants.test_repeated_spaces_collapse_into_single_tokens[LRANGE x 0 -1\\n-expected1]",
"eval.tests.test_05_connect_variants.test_repeated_spaces_collapse_into_single_tokens[SET a b\\n-expected0]",
"eval.tests.test_05_connect_variants.test_single_token_command_dispatched",
"eval.tests.test_05_connect_variants.test_tab_character_is_not_a_word_delimiter",
"eval.tests.test_05_connect_variants.test_trailing_whitespace_on_command_is_ignored",
"eval.tests.test_06_session_state.test_commands_share_one_pool_connection_over_many_lines",
"eval.tests.test_06_session_state.test_exactly_three_argv_sends_password_to_server",
"eval.tests.test_06_session_state.test_five_or_more_args_still_bypass_password",
"eval.tests.test_06_session_state.test_many_args_ignore_password_and_connect_without_auth",
"eval.tests.test_06_session_state.test_two_argv_branch_connects_without_password",
"eval.tests.test_06_session_state.test_zero_or_one_argv_print_usage_not_connect",
"eval.tests.test_07_reply_vectors.test_array_contains_large_64bit_integer_element",
"eval.tests.test_07_reply_vectors.test_array_of_only_integers_renders_integer_column",
"eval.tests.test_07_reply_vectors.test_empty_status_reply_dangling_space",
"eval.tests.test_07_reply_vectors.test_fifty_command_batch_preserves_count_and_order",
"eval.tests.test_07_reply_vectors.test_int32_max_renders_positive",
"eval.tests.test_07_reply_vectors.test_int64_max_renders_full_positive",
"eval.tests.test_07_reply_vectors.test_int64_min_renders_negative_full",
"eval.tests.test_07_reply_vectors.test_long_2000_char_argument_roundtrips",
"eval.tests.test_07_reply_vectors.test_many_token_command_delivered_intact",
"eval.tests.test_07_reply_vectors.test_mixed_reply_types_keep_command_order",
"eval.tests.test_07_reply_vectors.test_negative_integer_with_large_magnitude",
"eval.tests.test_07_reply_vectors.test_nil_reply_disambiguated_from_literal_minus_one",
"eval.tests.test_07_reply_vectors.test_password_with_special_chars_forwarded_verbatim[12345]",
"eval.tests.test_07_reply_vectors.test_password_with_special_chars_forwarded_verbatim[a_b-c.d/e]",
"eval.tests.test_07_reply_vectors.test_password_with_special_chars_forwarded_verbatim[p@ss!#w0rd]",
"eval.tests.test_07_reply_vectors.test_status_reply_with_embedded_spaces_verbatim",
"eval.tests.test_07_reply_vectors.test_string_payload_with_embedded_crlf_verbatim"
]
},
"generated_module_03": {
"ignore_reason": "",
"ignored": false,
"ignored_tests": [],
"tests": [
"eval.tests.test_cli_args.test_banner_goes_to_stdout_not_stderr",
"eval.tests.test_cli_args.test_banner_line_uses_carriage_return_newline_ending",
"eval.tests.test_cli_args.test_empty_stdin_with_no_args_returns_usage",
"eval.tests.test_cli_args.test_exit_code_255_matches_negative_one_and_has_exact_banner",
"eval.tests.test_cli_args.test_missing_port_hits_usage_gate[empty-host]",
"eval.tests.test_cli_args.test_missing_port_hits_usage_gate[host-ipv6]",
"eval.tests.test_cli_args.test_missing_port_hits_usage_gate[host-localhost]",
"eval.tests.test_cli_args.test_missing_port_hits_usage_gate[host-loopback]",
"eval.tests.test_cli_args.test_no_args_variants_never_dial_and_exit_255[empty-string]",
"eval.tests.test_cli_args.test_no_args_variants_never_dial_and_exit_255[empty]",
"eval.tests.test_cli_args.test_no_args_variants_never_dial_and_exit_255[localhost]",
"eval.tests.test_cli_args.test_no_args_variants_never_dial_and_exit_255[loopback]",
"eval.tests.test_cli_args.test_usage_banner_ends_with_positional_vocabulary",
"eval.tests.test_cli_args.test_usage_does_not_enter_interactive_shell",
"eval.tests.test_cli_args.test_usage_is_single_line_single_occurrence",
"eval.tests.test_cli_args.test_usage_when_host_or_port_missing[host-only]",
"eval.tests.test_cli_args.test_usage_when_host_or_port_missing[no-args]",
"eval.tests.test_connect_errors.test_connect_attempt_fast_and_bounded",
"eval.tests.test_connect_errors.test_connect_error_banner_on_stderr_not_stdout",
"eval.tests.test_connect_errors.test_connect_error_names_host",
"eval.tests.test_connect_errors.test_connect_failure_never_prints_usage",
"eval.tests.test_connect_errors.test_connect_log_exactly_names_host_port_and_pass",
"eval.tests.test_connect_errors.test_connect_needs_no_stdin_and_returns_promptly",
"eval.tests.test_connect_errors.test_connect_refused_exits_255[host-port-pass-extra-more]",
"eval.tests.test_connect_errors.test_connect_refused_exits_255[host-port-pass-extra]",
"eval.tests.test_connect_errors.test_connect_refused_exits_255[host-port-pass-var2]",
"eval.tests.test_connect_errors.test_connect_refused_exits_255[host-port-pass]",
"eval.tests.test_connect_errors.test_connect_refused_no_pass_arg",
"eval.tests.test_connect_errors.test_connect_success_log_reports_single_node_cluster_disabled",
"eval.tests.test_connect_errors.test_port_parsing_variants_reach_connect[embedded-letters]",
"eval.tests.test_connect_errors.test_port_parsing_variants_reach_connect[many-zeroes]",
"eval.tests.test_connect_errors.test_port_parsing_variants_reach_connect[negative]",
"eval.tests.test_connect_errors.test_port_parsing_variants_reach_connect[non-numeric]",
"eval.tests.test_connect_errors.test_port_parsing_variants_reach_connect[over-int32]",
"eval.tests.test_connect_errors.test_port_parsing_variants_reach_connect[zero]",
"eval.tests.test_connect_errors.test_refused_dial_exact_error_log_line",
"eval.tests.test_session_exact.test_connect_log_block_exact_lines_nopass",
"eval.tests.test_session_exact.test_connect_sends_auth_for_each_pool_connection",
"eval.tests.test_session_exact.test_connect_sends_auth_with_special_char_password",
"eval.tests.test_session_exact.test_connect_success_full_stdout_with_mixed_replies",
"eval.tests.test_session_exact.test_connect_success_full_stdout_with_password",
"eval.tests.test_session_exact.test_three_command_mixed_reply_transcript_exact",
"eval.tests.test_session_exact.test_transcript_ends_with_exact_release_line",
"eval.tests.test_session_exact.test_unknown_command_defaults_to_ok[anything]",
"eval.tests.test_session_exact.test_unknown_command_defaults_to_ok[nosuchkey]",
"eval.tests.test_session_exact.test_unknown_command_defaults_to_ok[spawn]",
"eval.tests.test_shell_interactive.test_array_first_element_shares_prompt_line",
"eval.tests.test_shell_interactive.test_array_of_ten_elements_matches_inline_exact",
"eval.tests.test_shell_interactive.test_array_reply_renders_each_element_with_type",
"eval.tests.test_shell_interactive.test_batch_dispatches_all_commands_to_mock",
"eval.tests.test_shell_interactive.test_blank_stdin_line_echoes_input_again",
"eval.tests.test_shell_interactive.test_bulk_string_reply_renders_value",
"eval.tests.test_shell_interactive.test_bulk_string_with_spaces_preserved",
"eval.tests.test_shell_interactive.test_closed_stdin_connect_and_exit",
"eval.tests.test_shell_interactive.test_command_arguments_forwarded_verbatim",
"eval.tests.test_shell_interactive.test_command_with_many_arguments_forwarded_verbatim",
"eval.tests.test_shell_interactive.test_connect_log_marks_success",
"eval.tests.test_shell_interactive.test_connect_sends_info_probe_and_ping",
"eval.tests.test_shell_interactive.test_connected_shell_replies_pong_exactly",
"eval.tests.test_shell_interactive.test_dispatch_forwarded_lines_in_order",
"eval.tests.test_shell_interactive.test_empty_array_render_prints_no_elements",
"eval.tests.test_shell_interactive.test_empty_bulk_string_renders_blank",
"eval.tests.test_shell_interactive.test_eof_after_commands_exits_zero_with_replies",
"eval.tests.test_shell_interactive.test_error_array_element_renders_type6",
"eval.tests.test_shell_interactive.test_error_reply_renders_full_message",
"eval.tests.test_shell_interactive.test_extra_positional_args_beyond_pass_still_connect",
"eval.tests.test_shell_interactive.test_five_element_array_render_order_preserved",
"eval.tests.test_shell_interactive.test_integer_array_elements_render_type3",
"eval.tests.test_shell_interactive.test_integer_reply_renders_value",
"eval.tests.test_shell_interactive.test_integer_zero_renders_single_digit",
"eval.tests.test_shell_interactive.test_large_bulk_inside_array_renders_losslessly",
"eval.tests.test_shell_interactive.test_large_bulk_string_renders_losslessly",
"eval.tests.test_shell_interactive.test_large_integer_replies_are_rendered_losslessly[int32max]",
"eval.tests.test_shell_interactive.test_large_integer_replies_are_rendered_losslessly[int64large]",
"eval.tests.test_shell_interactive.test_large_string_element_renders_losslessly",
"eval.tests.test_shell_interactive.test_mixed_nil_integer_string_array_elements",
"eval.tests.test_shell_interactive.test_mixed_type_array_renders_each_kind",
"eval.tests.test_shell_interactive.test_multiple_reply_types_route_correctly_in_order",
"eval.tests.test_shell_interactive.test_multiple_scalar_and_array_bodies_in_session",
"eval.tests.test_shell_interactive.test_negative_integer_reply_renders_sign",
"eval.tests.test_shell_interactive.test_nil_array_element_renders_type4",
"eval.tests.test_shell_interactive.test_nil_reply_renders_zero_and_null",
"eval.tests.test_shell_interactive.test_no_replies_for_no_commands",
"eval.tests.test_shell_interactive.test_password_arg_still_connects_and_replies",
"eval.tests.test_shell_interactive.test_single_element_array",
"eval.tests.test_shell_interactive.test_status_and_integer_repeat_dispatches_each_line",
"eval.tests.test_shell_interactive.test_status_ok_reply_renders_ok",
"eval.tests.test_shell_interactive.test_status_reply_renders_plain_word",
"eval.tests.test_shell_interactive.test_ten_command_batch_renders_each_body_in_order"
]
},
"generated_module_04": {
"ignore_reason": "",
"ignored": false,
"ignored_tests": [],
"tests": [
"eval.tests.test_combined_fields.test_both_overlong_combined_collapses_to_fixed_form",
"eval.tests.test_combined_fields.test_combined_fields_full_message[localhost_default_port_empty_pass]",
"eval.tests.test_combined_fields.test_combined_fields_full_message[loopback_big_port_space_pass]",
"eval.tests.test_combined_fields.test_combined_fields_full_message[loopback_max_port_pass]",
"eval.tests.test_combined_fields.test_combined_fields_full_message[short_host_port_pass]",
"eval.tests.test_combined_fields.test_combined_full_under_boundary_still_has_all_fields",
"eval.tests.test_combined_fields.test_dots_follow_the_saturating_field[host_bytes_saturate_tail]",
"eval.tests.test_combined_fields.test_dots_follow_the_saturating_field[pass_bytes_saturate_tail]",
"eval.tests.test_combined_fields.test_error_format_embedded_newline_collapses_to_one",
"eval.tests.test_combined_fields.test_host_driven_truncation_drops_pass_tail",
"eval.tests.test_combined_fields.test_info_and_error_lines_single_space_separator",
"eval.tests.test_combined_fields.test_pass_driven_truncation_retains_host",
"eval.tests.test_determinism.test_repeated_host_truncation_identical",
"eval.tests.test_determinism.test_repeated_pass_truncation_identical",
"eval.tests.test_determinism.test_repeated_run_identical_log_records[pair_default]",
"eval.tests.test_determinism.test_repeated_run_identical_log_records[pair_space_pass]",
"eval.tests.test_determinism.test_repeated_run_identical_log_records[pair_with_pass]",
"eval.tests.test_determinism.test_repeated_run_identical_log_records[pair_wrapped_port]",
"eval.tests.test_determinism.test_repeated_usage_path_identical",
"eval.tests.test_host_port_boundaries.test_combined_boundary_fields[big_port_with_pass]",
"eval.tests.test_host_port_boundaries.test_combined_boundary_fields[mebibyte_port_space_pass]",
"eval.tests.test_host_port_boundaries.test_port_uint32_boundary_exact[int_max_echoed]",
"eval.tests.test_host_port_boundaries.test_port_uint32_boundary_exact[int_max_plus_one_as_uint32]",
"eval.tests.test_host_port_boundaries.test_port_uint32_boundary_exact[int_min_wraps_to_uint32]",
"eval.tests.test_host_port_boundaries.test_port_uint32_boundary_exact[large_power_of_two]",
"eval.tests.test_host_port_boundaries.test_port_uint32_boundary_exact[one_mebibyte_port]",
"eval.tests.test_host_port_boundaries.test_port_uint32_boundary_exact[two_to_32_wraps_to_zero]",
"eval.tests.test_host_port_boundaries.test_stderr_banner_and_pair_exact[default_loopback]",
"eval.tests.test_host_port_boundaries.test_stderr_banner_and_pair_exact[hostname_localhost]",
"eval.tests.test_host_port_boundaries.test_stderr_banner_and_pair_exact[loopback_alt]",
"eval.tests.test_host_port_boundaries.test_stderr_banner_and_pair_exact[loopback_high]",
"eval.tests.test_host_port_boundaries.test_stderr_banner_and_pair_exact[loopback_num]",
"eval.tests.test_host_port_variants.test_every_representative_port_fast_and_pair",
"eval.tests.test_host_port_variants.test_host_port_pass_combined_exact[pass_and_default_port]",
"eval.tests.test_host_port_variants.test_host_port_pass_combined_exact[space_pass_alt_host]",
"eval.tests.test_host_port_variants.test_host_port_pass_combined_exact[zero_port_empty_pass]",
"eval.tests.test_host_port_variants.test_loopback_alt_host_high_port_exact",
"eval.tests.test_host_port_variants.test_loopback_hosts_full_pair[hostname_localhost]",
"eval.tests.test_host_port_variants.test_loopback_hosts_full_pair[ipv4_loopback]",
"eval.tests.test_host_port_variants.test_loopback_hosts_full_pair[ipv4_loopback_alt]",
"eval.tests.test_host_port_variants.test_loopback_hosts_full_pair[ipv4_loopback_high]",
"eval.tests.test_host_port_variants.test_port_atoi_parsing_exact[empty_port_is_zero]",
"eval.tests.test_host_port_variants.test_port_atoi_parsing_exact[leading_space_atoi_skipped]",
"eval.tests.test_host_port_variants.test_port_atoi_parsing_exact[leading_zeros_atoi]",
"eval.tests.test_host_port_variants.test_port_atoi_parsing_exact[non_numeric_port_is_zero]",
"eval.tests.test_host_port_variants.test_port_atoi_parsing_exact[plus_sign_atoi]",
"eval.tests.test_host_port_variants.test_port_unsigned_wrap_exact[max_u32]",
"eval.tests.test_host_port_variants.test_port_unsigned_wrap_exact[negative_five]",
"eval.tests.test_host_port_variants.test_port_unsigned_wrap_exact[negative_one]",
"eval.tests.test_host_port_variants.test_valid_ports_echoed_exactly[0]",
"eval.tests.test_host_port_variants.test_valid_ports_echoed_exactly[1]",
"eval.tests.test_host_port_variants.test_valid_ports_echoed_exactly[6379]",
"eval.tests.test_host_port_variants.test_valid_ports_echoed_exactly[65535]",
"eval.tests.test_host_port_variants.test_valid_ports_echoed_exactly[99]",
"eval.tests.test_level_filter.test_debug_token_never_emitted",
"eval.tests.test_level_filter.test_exact_connect_level_pair",
"eval.tests.test_level_filter.test_exact_normalized_connect_output",
"eval.tests.test_level_filter.test_info_and_error_field_identity",
"eval.tests.test_level_filter.test_no_level_above_info_threshold",
"eval.tests.test_log_format.test_ansi_wraps_error_level_tag",
"eval.tests.test_log_format.test_ansi_wraps_info_level_tag",
"eval.tests.test_log_format.test_each_line_has_timestamp_shape",
"eval.tests.test_log_format.test_error_line_matches_expected",
"eval.tests.test_log_format.test_error_message_text",
"eval.tests.test_log_format.test_function_and_line_fields",
"eval.tests.test_log_format.test_info_line_matches_expected",
"eval.tests.test_log_format.test_info_message_field_shapes",
"eval.tests.test_log_format.test_log_lines_are_lf_only",
"eval.tests.test_log_format.test_log_to_stdout_only",
"eval.tests.test_log_format.test_no_log_lines_on_usage_path",
"eval.tests.test_log_format.test_single_trailing_newline_no_blank_lines",
"eval.tests.test_pass_truncation.test_overlong_pass_truncates_message[20000]",
"eval.tests.test_pass_truncation.test_overlong_pass_truncates_message[4096]",
"eval.tests.test_pass_truncation.test_overlong_pass_truncates_message[5000]",
"eval.tests.test_pass_truncation.test_overlong_pass_truncates_message[65536]",
"eval.tests.test_pass_truncation.test_pass_and_host_both_overlong_truncate",
"eval.tests.test_pass_truncation.test_pass_boundary_full_4057",
"eval.tests.test_pass_truncation.test_pass_boundary_trunc_4058",
"eval.tests.test_pass_truncation.test_pass_truncation_error_line_untouched",
"eval.tests.test_pass_truncation.test_pass_truncation_keeps_pair_and_exit",
"eval.tests.test_pass_truncation.test_pass_truncation_retains_host_prefix",
"eval.tests.test_pass_truncation.test_pass_truncation_three_dot_suffix",
"eval.tests.test_pass_truncation.test_short_pass_no_truncation",
"eval.tests.test_total_length_boundary.test_port_width_shifts_pass_cutoff[five_digit_port_cuts_at_4054]",
"eval.tests.test_total_length_boundary.test_port_width_shifts_pass_cutoff[one_digit_port_cuts_at_4058]",
"eval.tests.test_total_length_boundary.test_port_width_shifts_pass_cutoff[three_digit_port_cuts_at_4056]",
"eval.tests.test_total_length_boundary.test_port_width_shifts_pass_cutoff[two_digit_port_cuts_at_4057]",
"eval.tests.test_total_length_boundary.test_total_length_fit_exactly_4095_multi_field[five_digit_port_boundary_4053]",
"eval.tests.test_total_length_boundary.test_total_length_fit_exactly_4095_multi_field[longer_host_boundary_4053]",
"eval.tests.test_total_length_boundary.test_total_length_fit_exactly_4095_multi_field[ten_digit_port_boundary_4048]",
"eval.tests.test_total_length_boundary.test_total_length_fit_exactly_4095_multi_field[three_digit_port_boundary_4055]",
"eval.tests.test_total_length_boundary.test_total_length_fit_exactly_4095_multi_field[two_digit_port_boundary_4056]",
"eval.tests.test_total_length_boundary.test_total_length_truncates_at_4096_multi_field[five_digit_port_boundary_4053]",
"eval.tests.test_total_length_boundary.test_total_length_truncates_at_4096_multi_field[longer_host_boundary_4053]",
"eval.tests.test_total_length_boundary.test_total_length_truncates_at_4096_multi_field[ten_digit_port_boundary_4048]",
"eval.tests.test_total_length_boundary.test_total_length_truncates_at_4096_multi_field[three_digit_port_boundary_4055]",
"eval.tests.test_total_length_boundary.test_total_length_truncates_at_4096_multi_field[two_digit_port_boundary_4056]",
"eval.tests.test_total_length_boundary.test_truncation_drops_poolsize_tail_total_length[five_digit_port_boundary_4053]",
"eval.tests.test_total_length_boundary.test_truncation_drops_poolsize_tail_total_length[longer_host_boundary_4053]",
"eval.tests.test_total_length_boundary.test_truncation_drops_poolsize_tail_total_length[ten_digit_port_boundary_4048]",
"eval.tests.test_total_length_boundary.test_truncation_drops_poolsize_tail_total_length[three_digit_port_boundary_4055]",
"eval.tests.test_total_length_boundary.test_truncation_drops_poolsize_tail_total_length[two_digit_port_boundary_4056]",
"eval.tests.test_total_length_boundary.test_truncation_is_independent_of_which_field_saturates",
"eval.tests.test_truncation.test_overlong_host_truncates_message[4067]",
"eval.tests.test_truncation.test_overlong_host_truncates_message[4068]",
"eval.tests.test_truncation.test_overlong_host_truncates_message[4096]",
"eval.tests.test_truncation.test_overlong_host_truncates_message[5000]",
"eval.tests.test_truncation.test_overlong_host_truncates_message[8000]",
"eval.tests.test_truncation.test_partial_host_other_field",
"eval.tests.test_truncation.test_short_host_no_truncation",
"eval.tests.test_truncation.test_truncated_host_suffix_is_three_dots",
"eval.tests.test_truncation.test_truncated_info_does_not_corrupt_error_line",
"eval.tests.test_truncation.test_truncated_info_keeps_info_error_pair",
"eval.tests.test_truncation.test_truncated_message_starts_with_host_field",
"eval.tests.test_usage_args.test_connect_failure_exit_and_banner",
"eval.tests.test_usage_args.test_empty_pass_when_only_host_port",
"eval.tests.test_usage_args.test_host_port_skips_usage_and_connects",
"eval.tests.test_usage_args.test_long_host_reflected_exactly",
"eval.tests.test_usage_args.test_no_args_prints_exact_usage",
"eval.tests.test_usage_args.test_pass_argument_propagated_to_log",
"eval.tests.test_usage_args.test_pass_not_read_beyond_four_args",
"eval.tests.test_usage_args.test_pass_with_spaces_preserved",
"eval.tests.test_usage_args.test_single_arg_prints_usage_and_exits",
"eval.tests.test_usage_args.test_usage_never_emits_log_lines",
"eval.tests.test_verbatim_echo.test_host_and_pass_special_chars_combine",
"eval.tests.test_verbatim_echo.test_host_echoed_verbatim[host_leading_space]",
"eval.tests.test_verbatim_echo.test_host_echoed_verbatim[host_loopback_distinct]",
"eval.tests.test_verbatim_echo.test_host_echoed_verbatim[host_trailing_space]",
"eval.tests.test_verbatim_echo.test_host_echoed_verbatim[host_with_percent]",
"eval.tests.test_verbatim_echo.test_host_echoed_verbatim[host_with_spaces]",
"eval.tests.test_verbatim_echo.test_host_echoed_verbatim[host_with_tab]",
"eval.tests.test_verbatim_echo.test_host_verbatim_does_not_affect_error_line",
"eval.tests.test_verbatim_echo.test_pass_echoed_verbatim[double_percent_pass]",
"eval.tests.test_verbatim_echo.test_pass_echoed_verbatim[empty_pass_explicit_4th_arg]",
"eval.tests.test_verbatim_echo.test_pass_echoed_verbatim[pass_ends_percent]",
"eval.tests.test_verbatim_echo.test_pass_echoed_verbatim[pass_looks_like_string_specifier]",
"eval.tests.test_verbatim_echo.test_pass_echoed_verbatim[pass_with_d_format]",
"eval.tests.test_verbatim_echo.test_pass_echoed_verbatim[pass_with_multiple_spaces]",
"eval.tests.test_verbatim_echo.test_pass_echoed_verbatim[pass_with_tab]",
"eval.tests.test_verbatim_echo.test_pass_echoed_verbatim[pass_with_three_specifiers]",
"eval.tests.test_verbatim_echo.test_pass_echoed_verbatim[pass_with_unicode]",
"eval.tests.test_verbatim_echo.test_pass_echoed_verbatim[percent_in_pass]",
"eval.tests.test_verbatim_echo.test_pass_echoed_verbatim[plain_pass]"
]
}
},
"commit": "39c20a584c62cfa24895fd444f63d1e22ddff8e7",
"data_source": "synthetic_programgym",
"difficulty": "easy",
"difficulty_score": 1.6655809910179533,
"eval_clean_hashes": [
"6a26e9b099edfa34b4bc55a5028ce34834d48d8c18273f8737bf915b27615a2d"
],
"input_record": {
"commit": "39c20a584c62cfa24895fd444f63d1e22ddff8e7",
"difficulty": "easy",
"difficulty_code_lines": 4630,
"difficulty_has_tests": true,
"difficulty_product_code_lines": 4630,
"difficulty_runtime_deps": 0,
"difficulty_score": 1.6655809910179533,
"difficulty_test_code_lines": 1953,
"full_name": "0xsky/xredis",
"input_joern_zip": "cpp_joern/0xsky__xredis.zip",
"joern_status": true,
"joern_time": 11.648315277183428,
"language": "cpp",
"pb_match": [
{
"pb_fullname": "duckdb/duckdb",
"rank": 575,
"similarity": 0.4434957206249237
}
],
"repo_path": "cpp/0xsky__xredis",
"source": "commit:39c20a584c62cfa24895fd444f63d1e22ddff8e7",
"status": "done",
"url": "https://github.com/0xsky/xredis"
},
"instance_id": "0xsky__xredis.39c20a5",
"language": "cpp",
"module_iterations": [
{
"actual_iterations": 5,
"branch_name": "generated_module_01",
"iteration_limit": 5,
"module_index": 1,
"module_kind": "source",
"termination_reason": "max_iterations"
},
{
"actual_iterations": 3,
"branch_name": "generated_module_02",
"iteration_limit": 5,
"module_index": 2,
"module_kind": "source",
"termination_reason": "module_coverage_threshold_reached"
},
{
"actual_iterations": 5,
"branch_name": "generated_module_03",
"iteration_limit": 5,
"module_index": 3,
"module_kind": "source",
"termination_reason": "early_stopping"
},
{
"actual_iterations": 5,
"branch_name": "generated_module_04",
"iteration_limit": 5,
"module_index": 4,
"module_kind": "source",
"termination_reason": "early_stopping"
}
],
"repository": "0xsky/xredis"
}