{ "branches": { "generated_module_01": { "ignore_reason": "", "ignored": false, "ignored_tests": [], "tests": [ "eval.tests.test_spaghetti_cli.test_empty_string_argument_message_not_confused_with_help", "eval.tests.test_spaghetti_cli.test_help_flag_exits_zero_with_usage[--help]", "eval.tests.test_spaghetti_cli.test_help_flag_exits_zero_with_usage[-h]", "eval.tests.test_spaghetti_cli.test_help_flag_exits_zero_with_usage[-help]", "eval.tests.test_spaghetti_cli.test_help_flag_with_value_still_shows_usage[--help=x]", "eval.tests.test_spaghetti_cli.test_help_flag_with_value_still_shows_usage[-h=x]", "eval.tests.test_spaghetti_cli.test_loader_error_prefix_matches_program", "eval.tests.test_spaghetti_cli.test_multiple_unloadable_packages_fail_fast", "eval.tests.test_spaghetti_cli.test_no_arguments_fails_with_usage_message", "eval.tests.test_spaghetti_cli.test_unknown_flag_names_the_flag", "eval.tests.test_spaghetti_cli.test_unknown_flag_rejected[--bogus]", "eval.tests.test_spaghetti_cli.test_unknown_flag_rejected[--not-a-real-flag]", "eval.tests.test_spaghetti_cli.test_unknown_flag_rejected[-bogus=5]", "eval.tests.test_spaghetti_cli.test_unknown_flag_rejected[-bogus]", "eval.tests.test_spaghetti_cli.test_unknown_flag_rejected[-x=1]", "eval.tests.test_spaghetti_cli.test_unknown_flag_rejected[-x]", "eval.tests.test_spaghetti_cli.test_unloadable_package_fails_fast[__not_a_package__]", "eval.tests.test_spaghetti_cli.test_unloadable_package_fails_fast[definitely_no_such_go_package_abc123]", "eval.tests.test_spaghetti_cli.test_unloadable_package_never_starts_server" ] }, "generated_module_02": { "ignore_reason": "", "ignored": false, "ignored_tests": [ { "name": "eval.tests.test_dom_blackbox.test_break_all_edges_into_node_orphans_it", "reasons": [ { "detail": "urllib.error.URLError: ", "id": "gold_fail", "message": "test failed against the reference executable", "repair_hint": "Fix the expected observable behavior so the test passes against the reference executable.", "severity": "error", "stage": "gold_execution" } ] }, { "name": "eval.tests.test_dom_blackbox.test_break_and_unbreak_toggle_broken_list", "reasons": [ { "detail": "urllib.error.URLError: ", "id": "gold_fail", "message": "test failed against the reference executable", "repair_hint": "Fix the expected observable behavior so the test passes against the reference executable.", "severity": "error", "stage": "gold_execution" } ] }, { "name": "eval.tests.test_dom_blackbox.test_breaking_only_incoming_edge_orphans_node", "reasons": [ { "detail": "urllib.error.URLError: ", "id": "gold_fail", "message": "test failed against the reference executable", "repair_hint": "Fix the expected observable behavior so the test passes against the reference executable.", "severity": "error", "stage": "gold_execution" } ] }, { "name": "eval.tests.test_dom_blackbox.test_c_is_not_dominated_by_either_single_arm", "reasons": [ { "detail": "failed on setup with \"RuntimeError: server exited early rc=1: spaghetti: listening on http://localhost:18080 spaghetti: listen tcp 127.0.0.1:18080: listen: address already in use\"", "id": "gold_fail", "message": "test failed against the reference executable", "repair_hint": "Fix the expected observable behavior so the test passes against the reference executable.", "severity": "error", "stage": "gold_execution" }, { "id": "golden_no_equality", "message": "pytest test references golden data without equality comparison", "path": "eval/tests/test_dom_blackbox.py", "repair_hint": "Compare observed output to golden data with equality after any explicit normalization.", "severity": "error", "stage": "static_lint" } ] }, { "name": "eval.tests.test_dom_blackbox.test_d_idom_chain_is_c_then_root", "reasons": [ { "detail": "ConnectionResetError: [Errno 104] Connection reset by peer", "id": "gold_fail", "message": "test failed against the reference executable", "repair_hint": "Fix the expected observable behavior so the test passes against the reference executable.", "severity": "error", "stage": "gold_execution" } ] }, { "name": "eval.tests.test_dom_blackbox.test_d_is_dominated_by_c_and_root", "reasons": [ { "id": "golden_no_equality", "message": "pytest test references golden data without equality comparison", "path": "eval/tests/test_dom_blackbox.py", "repair_hint": "Compare observed output to golden data with equality after any explicit normalization.", "severity": "error", "stage": "static_lint" } ] }, { "name": "eval.tests.test_dom_blackbox.test_diamond_siblings_a_and_b_immediately_dominated_by_root", "reasons": [ { "detail": "failed on setup with \"RuntimeError: server exited early rc=1: spaghetti: listening on http://localhost:18080 spaghetti: listen tcp 127.0.0.1:18080: bind: address already in use\"", "id": "gold_fail", "message": "test failed against the reference executable", "repair_hint": "Fix the expected observable behavior so the test passes against the reference executable.", "severity": "error", "stage": "gold_execution" } ] }, { "name": "eval.tests.test_dom_blackbox.test_domination_depth_counts", "reasons": [ { "detail": "failed on setup with \"RuntimeError: server exited early rc=1: spaghetti: listening on http://localhost:18080 spaghetti: listen tcp 127.0.0.1:18080: bind: address already in use\"", "id": "gold_fail", "message": "test failed against the reference executable", "repair_hint": "Fix the expected observable behavior so the test passes against the reference executable.", "severity": "error", "stage": "gold_execution" } ] }, { "name": "eval.tests.test_dom_blackbox.test_every_dominator_chain_terminates_at_root", "reasons": [ { "detail": "failed on setup with \"RuntimeError: server exited early rc=1: spaghetti: listening on http://localhost:18080 spaghetti: listen tcp 127.0.0.1:18080: bind: address already in use\"", "id": "gold_fail", "message": "test failed against the reference executable", "repair_hint": "Fix the expected observable behavior so the test passes against the reference executable.", "severity": "error", "stage": "gold_execution" }, { "id": "if_no_else", "message": "pytest test has a conditional assertion with no else branch", "path": "eval/tests/test_dom_blackbox.py", "repair_hint": "Add an else branch that fails, or assert the condition before making conditional checks.", "severity": "error", "stage": "static_lint" } ] }, { "name": "eval.tests.test_dom_blackbox.test_help_flags_print_usage[--help]", "reasons": [ { "detail": "AssertionError: assert 'Usage of' in ''", "id": "gold_fail", "message": "test failed against the reference executable", "repair_hint": "Fix the expected observable behavior so the test passes against the reference executable.", "severity": "error", "stage": "gold_execution" } ] }, { "name": "eval.tests.test_dom_blackbox.test_help_flags_print_usage[-h]", "reasons": [ { "detail": "AssertionError: assert 'Usage of' in ''", "id": "gold_fail", "message": "test failed against the reference executable", "repair_hint": "Fix the expected observable behavior so the test passes against the reference executable.", "severity": "error", "stage": "gold_execution" } ] }, { "name": "eval.tests.test_dom_blackbox.test_multiroot_creates_synthetic_root", "reasons": [ { "detail": "AssertionError: assert '(root)' in {'example.com/graph2/root': 0, 'example.com/graph2/a': 1, 'example.com/graph2/c': 2, 'example.com/graph2/d': 3, ...}", "id": "gold_fail", "message": "test failed against the reference executable", "repair_hint": "Fix the expected observable behavior so the test passes against the reference executable.", "severity": "error", "stage": "gold_execution" } ] }, { "name": "eval.tests.test_dom_blackbox.test_multiroot_paths_exclude_synthetic_root", "reasons": [ { "detail": "assert [1, 0] == [1] Left contains one more item: 0 Full diff: [ 1, + 0, ]", "id": "gold_fail", "message": "test failed against the reference executable", "repair_hint": "Fix the expected observable behavior so the test passes against the reference executable.", "severity": "error", "stage": "gold_execution" } ] }, { "name": "eval.tests.test_dom_blackbox.test_node_text_embeds_weight", "reasons": [ { "detail": "failed on setup with \"RuntimeError: server exited early rc=1: spaghetti: listening on http://localhost:18080 spaghetti: listen tcp 127.0.0.1:18080: bind: address already in use\"", "id": "gold_fail", "message": "test failed against the reference executable", "repair_hint": "Fix the expected observable behavior so the test passes against the reference executable.", "severity": "error", "stage": "gold_execution" } ] } ], "tests": [ "eval.tests.test_dom_blackbox.test_break_all_edges_into_node_orphans_it", "eval.tests.test_dom_blackbox.test_break_and_unbreak_toggle_broken_list", "eval.tests.test_dom_blackbox.test_breaking_one_edge_restructures_dom", "eval.tests.test_dom_blackbox.test_breaking_only_incoming_edge_orphans_node", "eval.tests.test_dom_blackbox.test_broken_edges_empty_initially", "eval.tests.test_dom_blackbox.test_c_is_not_dominated_by_either_single_arm", "eval.tests.test_dom_blackbox.test_d_idom_chain_is_c_then_root", "eval.tests.test_dom_blackbox.test_d_is_dominated_by_c_and_root", "eval.tests.test_dom_blackbox.test_diamond_convergence_c_immediately_dominated_by_root", "eval.tests.test_dom_blackbox.test_diamond_siblings_a_and_b_immediately_dominated_by_root", "eval.tests.test_dom_blackbox.test_dom_tree_children_inverse_relation", "eval.tests.test_dom_blackbox.test_domination_depth_counts", "eval.tests.test_dom_blackbox.test_every_dominator_chain_terminates_at_root", "eval.tests.test_dom_blackbox.test_help_flags_print_usage[--help]", "eval.tests.test_dom_blackbox.test_help_flags_print_usage[-h]", "eval.tests.test_dom_blackbox.test_initial_roots_reported", "eval.tests.test_dom_blackbox.test_multiroot_creates_synthetic_root", "eval.tests.test_dom_blackbox.test_multiroot_descendant_under_synthetic_root", "eval.tests.test_dom_blackbox.test_multiroot_paths_exclude_synthetic_root", "eval.tests.test_dom_blackbox.test_no_arguments_is_error", "eval.tests.test_dom_blackbox.test_node_text_embeds_weight", "eval.tests.test_dom_blackbox.test_nonexistent_package_pattern_fails", "eval.tests.test_dom_blackbox.test_paths_define_simple_graph_walk", "eval.tests.test_dom_blackbox.test_root_has_no_immediate_dominator", "eval.tests.test_dom_blackbox.test_sibling_paths_start_at_self", "eval.tests.test_dom_blackbox.test_unknown_flag_is_rejected" ] } }, "commit": "ba438b8fd619693ac78051a46dc13b721be7e888", "data_source": "synthetic_programgym", "difficulty": "easy", "difficulty_score": 1.2143138974243999, "eval_clean_hashes": [ "5cf798f53a7ba4b433a528b766715a73cf3488478796d0ec1d6e512f4633f92c" ], "input_record": { "commit": "ba438b8fd619693ac78051a46dc13b721be7e888", "commits": 20, "contributors": 1, "difficulty": "easy", "difficulty_code_lines": 819, "difficulty_has_tests": false, "difficulty_product_code_lines": 819, "difficulty_runtime_deps": 1, "difficulty_score": 1.2143138974243999, "difficulty_test_code_lines": 0, "full_name": "adonovan/spaghetti", "github_stars": 764, "input_joern_zip": "go_joern/adonovan__spaghetti.zip", "joern_status": true, "joern_time": 3.0264130050782114, "language": "go", "pb_match": [ { "pb_fullname": "go-critic/go-critic", "rank": 27, "similarity": 0.6645582914352417 }, { "pb_fullname": "mibk/dupl", "rank": 16, "similarity": 0.6607941389083862 }, { "pb_fullname": "mgechev/revive", "rank": 88, "similarity": 0.6265186071395874 }, { "pb_fullname": "alecthomas/chroma", "rank": 955, "similarity": 0.4516146183013916 }, { "pb_fullname": "mfridman/tparse", "rank": 42, "similarity": 0.6197787523269653 }, { "pb_fullname": "gabotechs/dep-tree", "rank": 15, "similarity": 0.6362979412078857 }, { "pb_fullname": "cweill/gotests", "rank": 81, "similarity": 0.613231897354126 }, { "pb_fullname": "boyter/scc", "rank": 382, "similarity": 0.5232202410697937 }, { "pb_fullname": "incu6us/goimports-reviser", "rank": 32, "similarity": 0.5864777565002441 }, { "pb_fullname": "kyoh86/richgo", "rank": 121, "similarity": 0.5881062746047974 }, { "pb_fullname": "raviqqe/muffet", "rank": 432, "similarity": 0.4916042685508728 }, { "pb_fullname": "psampaz/go-mod-outdated", "rank": 17, "similarity": 0.6160847544670105 }, { "pb_fullname": "kisielk/errcheck", "rank": 32, "similarity": 0.6592890024185181 }, { "pb_fullname": "tomnomnom/gron", "rank": 516, "similarity": 0.492527037858963 }, { "pb_fullname": "hairyhenderson/gomplate", "rank": 828, "similarity": 0.5095539093017578 }, { "pb_fullname": "tomarrell/wrapcheck", "rank": 65, "similarity": 0.5844975709915161 } ], "repo_age": 5.35, "repo_path": "go/adonovan__spaghetti", "source": "commit:ba438b8fd619693ac78051a46dc13b721be7e888", "status": "done", "url": "https://github.com/adonovan/spaghetti" }, "instance_id": "adonovan__spaghetti.ba438b8", "language": "go", "module_iterations": [ { "actual_iterations": 5, "branch_name": "generated_module_01", "iteration_limit": 5, "module_index": 1, "module_kind": "source", "termination_reason": "early_stopping" }, { "actual_iterations": 5, "branch_name": "generated_module_02", "iteration_limit": 5, "module_index": 2, "module_kind": "source", "termination_reason": "max_iterations" } ], "repository": "adonovan/spaghetti" }