File size: 19,752 Bytes
59e6862
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
{
  "branches": {
    "generated_module_01": {
      "ignore_reason": "",
      "ignored": false,
      "ignored_tests": [],
      "tests": [
        "eval.tests.test_architecture_start.test_architecture_minimum_population_scales_and_runs",
        "eval.tests.test_architecture_start.test_architecture_negative_population_is_fatal",
        "eval.tests.test_architecture_start.test_architecture_zero_population_aborts_before_creating_actors",
        "eval.tests.test_architecture_start.test_architecture_zero_population_is_fatal[lamp]",
        "eval.tests.test_architecture_start.test_architecture_zero_population_is_fatal[netflixoss]",
        "eval.tests.test_cli_arch.test_architecture_scales_with_population",
        "eval.tests.test_cli_arch.test_duplicate_architecture_file_reached_only_via_reload_state",
        "eval.tests.test_cli_arch.test_duplicate_service_name_is_fatal",
        "eval.tests.test_cli_arch.test_fsm_arch_runs_to_completion",
        "eval.tests.test_cli_arch.test_fsm_population_delivery_line",
        "eval.tests.test_cli_arch.test_fsm_population_log_line",
        "eval.tests.test_cli_arch.test_lamp_architecture_runs_to_completion",
        "eval.tests.test_cli_arch.test_malformed_architecture_json_is_fatal",
        "eval.tests.test_cli_arch.test_migration_large_stopstep_beats_small",
        "eval.tests.test_cli_arch.test_migration_minimum_population",
        "eval.tests.test_cli_arch.test_migration_stopstep6_removes_mysql_tier",
        "eval.tests.test_cli_arch.test_migration_stopstep_drives_regions[0-migration.json-1]",
        "eval.tests.test_cli_arch.test_migration_stopstep_drives_regions[7-migration7.json-10]",
        "eval.tests.test_cli_arch.test_migration_stopstep_drives_regions[9-migration9.json-20]",
        "eval.tests.test_cli_arch.test_migration_stopstep_package_profile[0]",
        "eval.tests.test_cli_arch.test_migration_stopstep_package_profile[1]",
        "eval.tests.test_cli_arch.test_migration_stopstep_package_profile[2]",
        "eval.tests.test_cli_arch.test_migration_stopstep_package_profile[3]",
        "eval.tests.test_cli_arch.test_migration_stopstep_package_profile[4]",
        "eval.tests.test_cli_arch.test_migration_stopstep_package_profile[5]",
        "eval.tests.test_cli_arch.test_migration_stopstep_package_profile[6]",
        "eval.tests.test_cli_arch.test_migration_stopstep_package_profile[7]",
        "eval.tests.test_cli_arch.test_migration_stopstep_package_profile[8]",
        "eval.tests.test_cli_arch.test_migration_stopstep_package_profile[9]",
        "eval.tests.test_cli_arch.test_msglog_flag_enables_message_logging",
        "eval.tests.test_cli_arch.test_reload_flag_missing_graph_is_fatal",
        "eval.tests.test_cli_arch.test_unknown_dependency_is_fatal",
        "eval.tests.test_cli_arch.test_unknown_package_name_is_fatal",
        "eval.tests.test_cli_arch.test_valid_architecture_runs_to_completion",
        "eval.tests.test_cli_config.test_config_flag_loads_conf_file",
        "eval.tests.test_cli_config.test_config_flag_missing_file_is_fatal",
        "eval.tests.test_cli_config.test_cpuprofile_writes_profile_file",
        "eval.tests.test_cli_config.test_kv_chat_default_when_unset",
        "eval.tests.test_cli_config.test_kv_chat_rate_reaches_asgard",
        "eval.tests.test_cli_config.test_kv_chat_value_passed_verbatim",
        "eval.tests.test_cli_config.test_kv_malformed_no_colon_falls_back",
        "eval.tests.test_cli_config.test_kv_unknown_key_falls_back_to_default",
        "eval.tests.test_cli_config.test_saveconfig_reflects_flag_overrides",
        "eval.tests.test_cli_config.test_saveconfig_writes_arch_conf_json",
        "eval.tests.test_cli_config_roundtrip.test_config_file_malformed_json_is_silently_ignored",
        "eval.tests.test_cli_config_roundtrip.test_config_file_overrides_roundtrip_via_saveconfig",
        "eval.tests.test_cli_config_roundtrip.test_eurekapoll_flag_roundtrips_in_saved_conf",
        "eval.tests.test_cli_config_roundtrip.test_regions_flag_roundtrips_in_saved_conf",
        "eval.tests.test_cli_help.test_flag_value_requires_argument",
        "eval.tests.test_cli_help.test_help_flag_exits_zero_and_lists_flags",
        "eval.tests.test_cli_help.test_help_long_flag_exits_zero",
        "eval.tests.test_cli_help.test_neo4j_filter_conflict_is_fatal",
        "eval.tests.test_cli_help.test_neo4j_requires_password_env",
        "eval.tests.test_cli_help.test_neo4j_url_defaults_when_only_password_set",
        "eval.tests.test_cli_help.test_neo4j_url_taken_from_env",
        "eval.tests.test_cli_help.test_population_flag_takes_effect_on_fsm",
        "eval.tests.test_cli_help.test_unknown_architecture_is_fatal",
        "eval.tests.test_cli_help.test_unknown_flag_errors_out",
        "eval.tests.test_graph_output.test_filter_flag_collapses_instance_names",
        "eval.tests.test_graph_output.test_graphjson_edges_are_logged",
        "eval.tests.test_graph_output.test_graphjson_nodes_have_packages",
        "eval.tests.test_graph_output.test_graphjson_output_is_written",
        "eval.tests.test_graph_output.test_graphml_output_is_written",
        "eval.tests.test_graph_output.test_regions_flag_replicates_architecture",
        "eval.tests.test_graph_output.test_stopstep_suffixes_graph_filename"
      ]
    },
    "generated_module_02": {
      "ignore_reason": "",
      "ignored": false,
      "ignored_tests": [],
      "tests": [
        "eval.tests.test_chaosmonkey.test_chaosmonkey_delete_line_logged[test-extra0]",
        "eval.tests.test_chaosmonkey.test_chaosmonkey_deletes_homepage_service_node",
        "eval.tests.test_cli_config_io.test_config_file_overrides_cmdline_msglog",
        "eval.tests.test_cli_config_io.test_graphml_output_written_to_gml_dir",
        "eval.tests.test_cli_config_io.test_help_displays_usage",
        "eval.tests.test_cli_config_io.test_missing_config_file_is_error",
        "eval.tests.test_cli_config_io.test_neo4j_requires_password_environment",
        "eval.tests.test_cli_config_io.test_saveconfig_writes_valid_arch_conf_json",
        "eval.tests.test_cli_config_io.test_sim_run_exit_zero_and_complete_marker",
        "eval.tests.test_cli_config_io.test_unknown_architecture_missing_json_is_error",
        "eval.tests.test_cli_config_io.test_unknown_flag_exits_with_flag_error",
        "eval.tests.test_dhcp_mapping.test_dhcp_first_node_starts_at_low_host",
        "eval.tests.test_dhcp_mapping.test_dhcp_ip_addresses_are_canonical_ipv4",
        "eval.tests.test_dhcp_mapping.test_dhcp_lookup_stable_across_runs",
        "eval.tests.test_dhcp_mapping.test_multi_region_dhcp_uses_distinct_ranges",
        "eval.tests.test_dhcp_mapping.test_multi_region_ranges_are_exclusive_by_region_flag",
        "eval.tests.test_dhcp_mapping.test_single_region_dhcp_uses_only_local_range",
        "eval.tests.test_gotocol_protocol.test_child_spans_extend_parent_context",
        "eval.tests.test_gotocol_protocol.test_full_simulation_completes_successfully",
        "eval.tests.test_gotocol_protocol.test_imposition_message_appears_in_stream[Chat]",
        "eval.tests.test_gotocol_protocol.test_imposition_message_appears_in_stream[Forget]",
        "eval.tests.test_gotocol_protocol.test_imposition_message_appears_in_stream[GetRequest]",
        "eval.tests.test_gotocol_protocol.test_imposition_message_appears_in_stream[GetResponse]",
        "eval.tests.test_gotocol_protocol.test_imposition_message_appears_in_stream[Goodbye]",
        "eval.tests.test_gotocol_protocol.test_imposition_message_appears_in_stream[Hello]",
        "eval.tests.test_gotocol_protocol.test_imposition_message_appears_in_stream[Inform]",
        "eval.tests.test_gotocol_protocol.test_imposition_message_appears_in_stream[NameDrop]",
        "eval.tests.test_gotocol_protocol.test_imposition_message_appears_in_stream[Put]",
        "eval.tests.test_gotocol_protocol.test_message_imposition_set_is_deterministic",
        "eval.tests.test_gotocol_protocol.test_message_stream_is_nonempty_and_well_formed",
        "eval.tests.test_gotocol_protocol.test_newtrace_root_spans_have_zero_parent"
      ]
    },
    "generated_module_03": {
      "ignore_reason": "",
      "ignored": false,
      "ignored_tests": [],
      "tests": [
        "eval.tests.test_actor_message_flow.test_actor_traffic_covers_registration",
        "eval.tests.test_actor_message_flow.test_actor_traffic_covers_request_response",
        "eval.tests.test_actor_message_flow.test_all_actor_packages_leave_traffic",
        "eval.tests.test_actor_message_flow.test_goodbye_shutdown_messages_emitted",
        "eval.tests.test_actor_message_flow.test_higher_scale_yields_more_message_traffic",
        "eval.tests.test_actor_message_flow.test_priamcassandra_chat_ring_setup",
        "eval.tests.test_actor_message_flow.test_store_actors_replicate_crosszone",
        "eval.tests.test_actor_message_flow.test_store_replication_message_flow",
        "eval.tests.test_actor_supplemental.test_aws_arch_instantiates_monolith",
        "eval.tests.test_actor_supplemental.test_cpuprofile_writes_profile_file",
        "eval.tests.test_actor_supplemental.test_denominator_activity_rate_in_migration",
        "eval.tests.test_actor_supplemental.test_denominator_announces_activity_rate",
        "eval.tests.test_actor_supplemental.test_elb_actor_has_no_instances_in_lamp",
        "eval.tests.test_actor_supplemental.test_migration_graph_output_full",
        "eval.tests.test_actor_supplemental.test_migration_scaling_log_line",
        "eval.tests.test_actor_supplemental.test_migration_starts_and_closes_eureka",
        "eval.tests.test_actor_supplemental.test_monolith_actor_nodes_in_lamp_graph",
        "eval.tests.test_actor_supplemental.test_monolith_depends_on_store_in_lamp",
        "eval.tests.test_actor_supplemental.test_monolith_emits_gotocol_traffic",
        "eval.tests.test_actor_supplemental.test_store_actor_nodes_in_lamp",
        "eval.tests.test_actor_supplemental.test_zero_duration_with_graph_flag_completes",
        "eval.tests.test_args_help.test_arch_flag_missing_value_is_rejected",
        "eval.tests.test_args_help.test_cpus_flag_is_accepted",
        "eval.tests.test_args_help.test_duration_flag_missing_value_is_rejected",
        "eval.tests.test_args_help.test_empty_arch_name_tries_default_file_path",
        "eval.tests.test_args_help.test_help_requests_usage_and_all_actor_flags",
        "eval.tests.test_args_help.test_large_population_is_accepted",
        "eval.tests.test_args_help.test_negative_population_is_rejected",
        "eval.tests.test_args_help.test_no_args_runs_default_netflixoss_to_completion",
        "eval.tests.test_args_help.test_non_numeric_population_is_rejected",
        "eval.tests.test_args_help.test_unknown_architecture_reports_missing_config",
        "eval.tests.test_args_help.test_unknown_flag_is_rejected",
        "eval.tests.test_args_help.test_zero_duration_completes_immediately",
        "eval.tests.test_args_help.test_zero_population_is_rejected",
        "eval.tests.test_config.test_config_file_overrides_arch_argument",
        "eval.tests.test_config.test_config_missing_file_is_fatal",
        "eval.tests.test_config.test_config_with_negative_duration_still_reads_conf",
        "eval.tests.test_config.test_saveconfig_default_duration_is_ten_seconds",
        "eval.tests.test_config.test_saveconfig_records_keyvals",
        "eval.tests.test_config.test_saveconfig_records_msglog_flag",
        "eval.tests.test_config.test_saveconfig_records_population_in_conf",
        "eval.tests.test_config.test_saveconfig_records_regions_in_conf",
        "eval.tests.test_config.test_saveconfig_writes_conf_json",
        "eval.tests.test_fsm_msglog.test_edda_logging_actor_started",
        "eval.tests.test_fsm_msglog.test_fsm_delivers_five_messages_per_pirate",
        "eval.tests.test_fsm_msglog.test_fsm_more_pirates_more_messages",
        "eval.tests.test_fsm_msglog.test_fsm_single_pirate_rejected",
        "eval.tests.test_fsm_msglog.test_fsm_then_shuts_down_cleanly",
        "eval.tests.test_fsm_msglog.test_msglog_emits_hello_inform_namedrop",
        "eval.tests.test_fsm_msglog.test_msglog_eureka_start_count_matches_zones",
        "eval.tests.test_fsm_msglog.test_msglog_off_by_default",
        "eval.tests.test_fsm_msglog.test_msglog_records_eureka_start_and_close",
        "eval.tests.test_fsm_msglog.test_msglog_reports_scaling_percent",
        "eval.tests.test_graph_output.test_arch_label_in_graph_json_matches",
        "eval.tests.test_graph_output.test_edges_reference_existing_nodes",
        "eval.tests.test_graph_output.test_filter_collapses_instances_to_services",
        "eval.tests.test_graph_output.test_graphjson_lists_all_actor_nodes",
        "eval.tests.test_graph_output.test_graphjson_no_graph_archive_flag_generates_file",
        "eval.tests.test_graph_output.test_graphjson_scale_factor_increases_karyon_nodes",
        "eval.tests.test_graph_output.test_graphjson_scale_factor_monotonic_counts",
        "eval.tests.test_graph_output.test_graphml_graphjson_both_enabled",
        "eval.tests.test_graph_output.test_graphml_write_node_edges",
        "eval.tests.test_graph_output.test_no_graph_json_flag_does_not_write_graph",
        "eval.tests.test_graph_output.test_regions_doubles_actor_node_count",
        "eval.tests.test_graph_output.test_stop_step_writes_step_numbered_graph_json",
        "eval.tests.test_neo4j_collect.test_collect_requires_only_collect_flag_artifact",
        "eval.tests.test_neo4j_collect.test_collect_starts_http_metrics_and_flushes_flows",
        "eval.tests.test_neo4j_collect.test_neo4j_conflicts_with_filter",
        "eval.tests.test_neo4j_collect.test_neo4j_without_password_is_fatal"
      ]
    },
    "generated_module_04": {
      "ignore_reason": "",
      "ignored": false,
      "ignored_tests": [],
      "tests": [
        "eval.tests.test_module04_graph_serialization.test_collect_writes_flow_csv_and_guesstimate_artifacts",
        "eval.tests.test_module04_graph_serialization.test_config_missing_file_is_fatal",
        "eval.tests.test_module04_graph_serialization.test_config_override_arch_selects_config_arch",
        "eval.tests.test_module04_graph_serialization.test_cpuprofile_writes_gzipped_pprof_file",
        "eval.tests.test_module04_graph_serialization.test_graphjson_creates_valid_document",
        "eval.tests.test_module04_graph_serialization.test_graphjson_default_arch_netflixoss",
        "eval.tests.test_module04_graph_serialization.test_graphjson_filter_collapses_instance_to_service",
        "eval.tests.test_module04_graph_serialization.test_graphjson_node_records_metadata_ip",
        "eval.tests.test_module04_graph_serialization.test_graphjson_records_done_element_on_shutdown",
        "eval.tests.test_module04_graph_serialization.test_graphjson_sequence_suffix_renames_output",
        "eval.tests.test_module04_graph_serialization.test_graphjson_writes_node_and_edge_elements",
        "eval.tests.test_module04_graph_serialization.test_graphml_creates_xml_document",
        "eval.tests.test_module04_graph_serialization.test_graphml_filter_collapses_instance_to_service",
        "eval.tests.test_module04_graph_serialization.test_graphml_sequence_suffix_renames_output",
        "eval.tests.test_module04_graph_serialization.test_graphml_writes_node_and_edge_xml",
        "eval.tests.test_module04_graph_serialization.test_help_lists_serialization_and_collection_flags",
        "eval.tests.test_module04_graph_serialization.test_invalid_duration_value_is_rejected",
        "eval.tests.test_module04_graph_serialization.test_invalid_population_value_is_rejected",
        "eval.tests.test_module04_graph_serialization.test_invalid_regions_value_is_rejected",
        "eval.tests.test_module04_graph_serialization.test_invalid_stopstep_value_is_rejected",
        "eval.tests.test_module04_graph_serialization.test_neo4j_connection_refused_when_password_set",
        "eval.tests.test_module04_graph_serialization.test_neo4j_custom_url_env_is_used_for_connection",
        "eval.tests.test_module04_graph_serialization.test_neo4j_msglog_delete_cypher_appends_stopstep_suffix",
        "eval.tests.test_module04_graph_serialization.test_neo4j_msglog_delete_cypher_uses_arch_label",
        "eval.tests.test_module04_graph_serialization.test_neo4j_rejects_filtered_name_option",
        "eval.tests.test_module04_graph_serialization.test_neo4j_requires_password_envvar",
        "eval.tests.test_module04_graph_serialization.test_readarch_accepts_spigo_03_version",
        "eval.tests.test_module04_graph_serialization.test_readarch_malformed_json_is_fatal",
        "eval.tests.test_module04_graph_serialization.test_readarch_unknown_version_is_fatal",
        "eval.tests.test_module04_graph_serialization.test_reload_missing_file_fails",
        "eval.tests.test_module04_graph_serialization.test_reload_reads_graphjson_version_and_arch",
        "eval.tests.test_module04_graph_serialization.test_reload_with_stopstep_suffix_reads_suffixed_file",
        "eval.tests.test_module04_graph_serialization.test_saveconfig_writes_arch_conf_file",
        "eval.tests.test_module04_graph_serialization.test_unknown_architecture_reports_missing_definition",
        "eval.tests.test_module04_graph_serialization.test_unknown_flag_is_rejected"
      ]
    }
  },
  "commit": "168b9637eef536ea16d1d8041910242f69c17d24",
  "data_source": "synthetic_programgym",
  "difficulty": "easy",
  "difficulty_score": 1.754654069255432,
  "eval_clean_hashes": [
    "a364828b9e4ff9441d820073f6e6f3f5bfc316839641366982d9c057b5ede3b2"
  ],
  "input_record": {
    "commit": "168b9637eef536ea16d1d8041910242f69c17d24",
    "commits": 353,
    "contributors": 8,
    "difficulty": "easy",
    "difficulty_code_lines": 5684,
    "difficulty_has_tests": false,
    "difficulty_product_code_lines": 5684,
    "difficulty_runtime_deps": 0,
    "difficulty_score": 1.754654069255432,
    "difficulty_test_code_lines": 781,
    "full_name": "adrianco/spigo",
    "github_stars": 1121,
    "input_joern_zip": "go_joern/adrianco__spigo.zip",
    "joern_status": true,
    "joern_time": 13.778717212146148,
    "language": "go",
    "pb_match": [
      {
        "pb_fullname": "cweill/gotests",
        "rank": 881,
        "similarity": 0.510765552520752
      },
      {
        "pb_fullname": "hooklift/gowsdl",
        "rank": 570,
        "similarity": 0.5262879133224487
      }
    ],
    "repo_age": 12.05,
    "repo_path": "go/adrianco__spigo",
    "source": "commit:168b9637eef536ea16d1d8041910242f69c17d24",
    "status": "done",
    "url": "https://github.com/adrianco/spigo"
  },
  "instance_id": "adrianco__spigo.168b963",
  "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": 3,
      "branch_name": "generated_module_02",
      "iteration_limit": 5,
      "module_index": 2,
      "module_kind": "source",
      "termination_reason": "module_coverage_threshold_reached"
    },
    {
      "actual_iterations": 4,
      "branch_name": "generated_module_03",
      "iteration_limit": 5,
      "module_index": 3,
      "module_kind": "source",
      "termination_reason": "module_coverage_threshold_reached"
    },
    {
      "actual_iterations": 5,
      "branch_name": "generated_module_04",
      "iteration_limit": 5,
      "module_index": 4,
      "module_kind": "source",
      "termination_reason": "module_coverage_threshold_reached"
    }
  ],
  "repository": "adrianco/spigo"
}