{ "branches": { "generated_module_01": { "ignore_reason": "", "ignored": false, "ignored_tests": [], "tests": [ "eval.tests.test_flag_parse_errors.test_invalid_bool_value_exit_two[d_maybe]", "eval.tests.test_flag_parse_errors.test_invalid_bool_value_exit_two[d_truex]", "eval.tests.test_flag_parse_errors.test_invalid_bool_value_exit_two[h_maybe]", "eval.tests.test_flag_parse_errors.test_invalid_float_value_exit_two", "eval.tests.test_flag_parse_errors.test_invalid_int_value_exit_two[c_bad]", "eval.tests.test_flag_parse_errors.test_invalid_int_value_exit_two[e_space]", "eval.tests.test_flag_parse_errors.test_invalid_int_value_exit_two[s_empty]", "eval.tests.test_flag_parse_errors.test_invalid_int_value_exit_two[s_eq]", "eval.tests.test_flag_parse_errors.test_invalid_int_value_exit_two[s_space]", "eval.tests.test_flag_parse_errors.test_missing_value_exit_two[-b]", "eval.tests.test_flag_parse_errors.test_missing_value_exit_two[-c]", "eval.tests.test_flag_parse_errors.test_missing_value_exit_two[-e]", "eval.tests.test_flag_parse_errors.test_missing_value_exit_two[-ev]", "eval.tests.test_flag_parse_errors.test_missing_value_exit_two[-o]", "eval.tests.test_flag_parse_errors.test_missing_value_exit_two[-s]", "eval.tests.test_flag_parse_errors.test_missing_value_exit_two[-u]", "eval.tests.test_flag_parse_errors.test_parse_error_precedes_help", "eval.tests.test_flag_parse_errors.test_parse_error_prints_usage", "eval.tests.test_flag_parse_errors.test_parse_error_writes_nothing_to_stdout", "eval.tests.test_flag_parse_errors.test_unknown_flag_exit_two[--unknownflag]", "eval.tests.test_flag_parse_errors.test_unknown_flag_exit_two[-bg]", "eval.tests.test_flag_parse_errors.test_unknown_flag_exit_two[-debug]", "eval.tests.test_flag_parse_errors.test_unknown_flag_exit_two[-xextra]", "eval.tests.test_flag_parse_errors.test_unknown_flag_exit_two[-zzz]", "eval.tests.test_help.test_h_false_continues_to_pipeline", "eval.tests.test_help.test_h_flag_help_exits_zero_with_banner[-h=true]", "eval.tests.test_help.test_h_flag_help_exits_zero_with_banner[-h=true_-d=false]", "eval.tests.test_help.test_h_flag_help_exits_zero_with_banner[-h]", "eval.tests.test_help.test_h_flag_help_exits_zero_with_banner[-h_-e_7_-c_3]", "eval.tests.test_help.test_h_flag_help_exits_zero_with_banner[-h_-h]", "eval.tests.test_help.test_h_flag_help_exits_zero_with_banner[-h_-s_-5]", "eval.tests.test_help.test_h_flag_help_exits_zero_with_banner[-h_-s_5]", "eval.tests.test_help.test_h_help_documents_flag[b]", "eval.tests.test_help.test_h_help_documents_flag[c]", "eval.tests.test_help.test_h_help_documents_flag[d]", "eval.tests.test_help.test_h_help_documents_flag[e]", "eval.tests.test_help.test_h_help_documents_flag[ev]", "eval.tests.test_help.test_h_help_documents_flag[h]", "eval.tests.test_help.test_h_help_documents_flag[o]", "eval.tests.test_help.test_h_help_documents_flag[p]", "eval.tests.test_help.test_h_help_documents_flag[s]", "eval.tests.test_help.test_h_help_documents_flag[u]", "eval.tests.test_help.test_h_help_exposes_default_value[balance]", "eval.tests.test_help.test_h_help_exposes_default_value[concurrency]", "eval.tests.test_help.test_h_help_exposes_default_value[end-block]", "eval.tests.test_help.test_h_help_exposes_default_value[evm-path]", "eval.tests.test_help.test_h_help_exposes_default_value[output-dir]", "eval.tests.test_help.test_h_help_exposes_default_value[rpc-endpoint]", "eval.tests.test_help.test_h_help_exposes_default_value[start-block]", "eval.tests.test_help.test_h_help_prints_to_stderr_not_stdout", "eval.tests.test_help.test_h_inline_true_short_circuits_later_flags", "eval.tests.test_help.test_help_precedence_over_runtime_flags", "eval.tests.test_help.test_undefined_help_exits_zero_without_banner[--help]", "eval.tests.test_help.test_undefined_help_exits_zero_without_banner[-h_-h_--help]", "eval.tests.test_help.test_undefined_help_exits_zero_without_banner[-help]", "eval.tests.test_runtime_io.test_banner_logged_before_pipeline_failure", "eval.tests.test_runtime_io.test_combined_dp_reaches_pipeline", "eval.tests.test_runtime_io.test_debug_flag_reaches_pipeline", "eval.tests.test_runtime_io.test_dial_failure_fatal_connect[bad-host]", "eval.tests.test_runtime_io.test_dial_failure_fatal_connect[bad-scheme]", "eval.tests.test_runtime_io.test_dial_failure_fatal_connect[empty]", "eval.tests.test_runtime_io.test_positional_args_are_ignored", "eval.tests.test_runtime_io.test_print_only_uses_download_path", "eval.tests.test_runtime_io.test_runtime_failure_silent_on_stdout", "eval.tests.test_runtime_io.test_unreachable_host_fatal_exit_one[-b_3.5_-u_http://127.0.0.1:1]", "eval.tests.test_runtime_io.test_unreachable_host_fatal_exit_one[-c_4_-u_http://127.0.0.1:1]", "eval.tests.test_runtime_io.test_unreachable_host_fatal_exit_one[-e_7_-s_1_-u_http://127.0.0.1:1]", "eval.tests.test_runtime_io.test_unreachable_host_fatal_exit_one[-o_build-out/_-u_http://127.0.0.1:1]", "eval.tests.test_runtime_io.test_unreachable_host_fatal_exit_one[-u_http://127.0.0.1:1]", "eval.tests.test_runtime_io.test_unreachable_host_fatal_exit_one[-u_http://127.0.0.1:9]", "eval.tests.test_runtime_io.test_zero_concurrency_does_not_false_pass" ] }, "generated_module_02": { "ignore_reason": "", "ignored": false, "ignored_tests": [], "tests": [ "eval.tests.test_connection_errors.test_bare_word_dialed_as_unix_socket", "eval.tests.test_connection_errors.test_dead_endpoint_without_print_flag", "eval.tests.test_connection_errors.test_dead_http_endpoint_current_block_fatal", "eval.tests.test_connection_errors.test_dead_http_with_custom_port_flags", "eval.tests.test_connection_errors.test_dead_websocket_endpoint_fails_at_dial", "eval.tests.test_connection_errors.test_malformed_ipc_windows_path", "eval.tests.test_connection_errors.test_malformed_scheme_fatal_connect", "eval.tests.test_disasm_coverage.test_disasm_failed_opcode_write_logged_not_fatal", "eval.tests.test_disasm_coverage.test_disasm_fatal_when_output_dir_missing_from_disk", "eval.tests.test_download_contracts.test_balance_above_threshold_emitted", "eval.tests.test_download_contracts.test_balance_below_threshold_not_emitted", "eval.tests.test_download_contracts.test_balance_equal_threshold_not_emitted", "eval.tests.test_download_contracts.test_balance_error_logged_but_contract_reported", "eval.tests.test_download_contracts.test_balance_high_threshold_keeps_nothing", "eval.tests.test_download_contracts.test_balance_negative_mean_zero_unfiltered", "eval.tests.test_download_contracts.test_balance_tiny_fraction_boundary_emitted", "eval.tests.test_download_contracts.test_block_fetch_error_per_block_logs_and_continues", "eval.tests.test_download_contracts.test_code_error_logged_but_still_processed", "eval.tests.test_download_contracts.test_current_block_fetch_error_is_fatal", "eval.tests.test_download_contracts.test_debug_flag_prints_bytecode_hex", "eval.tests.test_download_contracts.test_debug_prints_custom_bytecode", "eval.tests.test_download_contracts.test_disasm_called_only_when_not_print_only", "eval.tests.test_download_contracts.test_empty_block_no_balance_calls", "eval.tests.test_download_contracts.test_empty_block_no_contract_emitted", "eval.tests.test_download_contracts.test_high_concurrency_still_reports_all", "eval.tests.test_download_contracts.test_mixed_creation_and_transfer_only_creation_reported", "eval.tests.test_download_contracts.test_mock_served_balance_and_code_calls", "eval.tests.test_download_contracts.test_mock_served_blocknumber_and_loop_fetches", "eval.tests.test_download_contracts.test_only_regular_transaction_no_contract", "eval.tests.test_download_contracts.test_range_of_blocks_processed_concurrently", "eval.tests.test_download_contracts.test_receipt_contract_address_observed", "eval.tests.test_download_contracts.test_receipt_error_skips_contract", "eval.tests.test_download_contracts.test_single_block_range_single_emission", "eval.tests.test_download_contracts.test_success_emits_contract_for_zero_balance_default", "eval.tests.test_download_contracts.test_successful_download_reports_current_block_and_transactions", "eval.tests.test_download_contracts.test_two_creations_in_one_block_report_two", "eval.tests.test_download_contracts.test_without_debug_flag_bytecode_suppressed", "eval.tests.test_download_write.test_balance_above_threshold_non_print_writes_evm", "eval.tests.test_download_write.test_balance_above_threshold_print_only_writes_nothing", "eval.tests.test_download_write.test_balance_filtered_contract_not_written", "eval.tests.test_download_write.test_error_block_does_not_write_evm_file", "eval.tests.test_download_write.test_full_pipeline_creates_opcode_from_downloaded_contract", "eval.tests.test_download_write.test_non_print_evm_file_mode_is_executable", "eval.tests.test_download_write.test_non_print_writes_evm_bytecode_file", "eval.tests.test_download_write.test_print_only_does_not_write_evm_file", "eval.tests.test_help_args.test_bad_bool_value_exits_two", "eval.tests.test_help_args.test_bad_float_balance_exits_two", "eval.tests.test_help_args.test_bad_float_into_int_rejected", "eval.tests.test_help_args.test_bad_int_concurrency_exits_two", "eval.tests.test_help_args.test_bad_int_end_block_exits_two", "eval.tests.test_help_args.test_bad_int_start_block_exits_two", "eval.tests.test_help_args.test_bool_flag_consumes_no_next_arg", "eval.tests.test_help_args.test_combined_short_flags_invalid_exits_two", "eval.tests.test_help_args.test_double_dash_help_exits_zero", "eval.tests.test_help_args.test_help_does_not_require_output_directory", "eval.tests.test_help_args.test_help_flag_exits_zero_and_lists_flags", "eval.tests.test_help_args.test_help_flag_lists_all_expected_flags", "eval.tests.test_help_args.test_missing_value_for_flag_exits_two", "eval.tests.test_help_args.test_unknown_flag_exits_two", "eval.tests.test_help_args.test_unknown_long_flag_exits_two" ] }, "generated_module_03": { "ignore_reason": "", "ignored": false, "ignored_tests": [], "tests": [ "eval.tests.test_command_execution.test_empty_output_dir_calls_no_subprocess", "eval.tests.test_command_execution.test_missing_command_yields_empty_opcode", "eval.tests.test_command_execution.test_non_0x_contract_invoked_but_not_persisted", "eval.tests.test_command_execution.test_nonzero_exit_stdout_still_captured", "eval.tests.test_command_execution.test_nonzero_exit_without_stdout_yields_empty", "eval.tests.test_command_execution.test_stderr_only_output_not_captured", "eval.tests.test_command_execution.test_success_args_forwarded_to_subprocess", "eval.tests.test_command_execution.test_success_empty_stdout_writes_empty_opcode", "eval.tests.test_command_execution.test_success_multiline_stdout_preserved", "eval.tests.test_command_execution.test_success_multiple_contracts_each_invoked", "eval.tests.test_command_execution.test_success_stdout_forwarded_to_opcode", "eval.tests.test_command_execution.test_success_varied_stdout_body[bare_opcode]", "eval.tests.test_command_execution.test_success_varied_stdout_body[plain_opcode]", "eval.tests.test_command_execution.test_success_varied_stdout_body[two_words]" ] }, "generated_module_04": { "ignore_reason": "", "ignored": false, "ignored_tests": [], "tests": [ "eval.tests.test_writhextofile.TestCliReachability.test_contract_address_hex_shape", "eval.tests.test_writhextofile.TestCliReachability.test_help_flag", "eval.tests.test_writhextofile.TestNoWriteConditions.test_balance_threshold_met_writes", "eval.tests.test_writhextofile.TestNoWriteConditions.test_balance_threshold_not_met_skips_write", "eval.tests.test_writhextofile.TestNoWriteConditions.test_empty_block_writes_nothing", "eval.tests.test_writhextofile.TestNoWriteConditions.test_print_only_skips_write", "eval.tests.test_writhextofile.TestUtilsErrorPaths.test_missing_output_dir_returns_silently", "eval.tests.test_writhextofile.TestWriteContractBytecode.test_bytecode_content_round_trips[arith]", "eval.tests.test_writhextofile.TestWriteContractBytecode.test_bytecode_content_round_trips[ffbyte]", "eval.tests.test_writhextofile.TestWriteContractBytecode.test_bytecode_content_round_trips[onebyte]", "eval.tests.test_writhextofile.TestWriteContractBytecode.test_bytecode_content_round_trips[push32]", "eval.tests.test_writhextofile.TestWriteContractBytecode.test_bytecode_content_round_trips[runtime]", "eval.tests.test_writhextofile.TestWriteContractBytecode.test_empty_bytecode_writes_empty_evm", "eval.tests.test_writhextofile.TestWriteContractBytecode.test_filename_is_checksummed_address[checksummed-mixed]", "eval.tests.test_writhextofile.TestWriteContractBytecode.test_filename_is_checksummed_address[checksummed-uppercase]", "eval.tests.test_writhextofile.TestWriteContractBytecode.test_filename_is_checksummed_address[digitsonly]", "eval.tests.test_writhextofile.TestWriteContractBytecode.test_large_bytecode_written_as_lowercase_hex_text", "eval.tests.test_writhextofile.TestWriteContractBytecode.test_malformed_odd_length_code_writes_empty_evm", "eval.tests.test_writhextofile.TestWriteContractBytecode.test_multiple_blocks_each_written", "eval.tests.test_writhextofile.TestWriteContractBytecode.test_output_flag_does_not_relocate_evm", "eval.tests.test_writhextofile.TestWriteContractBytecode.test_two_contracts_in_one_block_written", "eval.tests.test_writhextofile.TestWriteContractBytecode.test_writes_bytecode_for_contract_creation" ] } }, "commit": "4f901358623969cc2d501c979e775aa21ad4605b", "data_source": "synthetic_programgym", "difficulty": "easy", "difficulty_score": 1.9527924430440917, "eval_clean_hashes": [ "e637a945802fae63b95172c74eb1ebb1afe188fe4311d336f69a7059f75e1f2d" ], "input_record": { "commit": "4f901358623969cc2d501c979e775aa21ad4605b", "commits": 65, "contributors": 2, "difficulty": "easy", "difficulty_code_lines": 299, "difficulty_has_tests": false, "difficulty_product_code_lines": 299, "difficulty_runtime_deps": 29, "difficulty_score": 1.9527924430440917, "difficulty_test_code_lines": 0, "full_name": "0xsha/ChainWalker", "github_stars": 204, "input_joern_zip": "go_joern/0xsha__ChainWalker.zip", "joern_status": true, "joern_time": 5.903228838928044, "language": "go", "pb_match": [ { "pb_fullname": "peco/peco", "rank": 687, "similarity": 0.4720557928085327 }, { "pb_fullname": "johnkerl/miller", "rank": 815, "similarity": 0.4626600444316864 }, { "pb_fullname": "alecthomas/chroma", "rank": 962, "similarity": 0.4513811469078064 }, { "pb_fullname": "sibprogrammer/xq", "rank": 317, "similarity": 0.5114116668701172 }, { "pb_fullname": "raviqqe/muffet", "rank": 83, "similarity": 0.5647580623626709 }, { "pb_fullname": "cheat/cheat", "rank": 851, "similarity": 0.4867996275424957 }, { "pb_fullname": "tomnomnom/gron", "rank": 411, "similarity": 0.500889241695404 }, { "pb_fullname": "junegunn/fzf", "rank": 981, "similarity": 0.4468839168548584 } ], "repo_age": 4.16, "repo_path": "go/0xsha__ChainWalker", "source": "commit:4f901358623969cc2d501c979e775aa21ad4605b", "status": "done", "url": "https://github.com/0xsha/ChainWalker" }, "instance_id": "0xsha__ChainWalker.4f90135", "language": "go", "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": 5, "branch_name": "generated_module_02", "iteration_limit": 5, "module_index": 2, "module_kind": "source", "termination_reason": "max_iterations" }, { "actual_iterations": 5, "branch_name": "generated_module_03", "iteration_limit": 5, "module_index": 3, "module_kind": "source", "termination_reason": "max_iterations" }, { "actual_iterations": 5, "branch_name": "generated_module_04", "iteration_limit": 5, "module_index": 4, "module_kind": "source", "termination_reason": "max_iterations" } ], "repository": "0xsha/ChainWalker" }