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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
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
{
  "branches": {
    "generated_module_02": {
      "ignore_reason": "",
      "ignored": false,
      "ignored_tests": [
        {
          "name": "eval.tests.test_help_tree_and_env_edges.test_imported_child_command_runs_from_parent_with_marker",
          "reasons": [
            {
              "id": "short_substring",
              "message": "pytest test uses a too-short substring oracle",
              "path": "eval/tests/test_help_tree_and_env_edges.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_help_tree_and_env_edges.py",
              "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
              "severity": "error",
              "stage": "static_lint"
            }
          ]
        }
      ],
      "tests": [
        "eval.tests.test_additional_coverage.test_command_env_file_that_is_directory_skipped",
        "eval.tests.test_additional_coverage.test_config_defined_init_overrides_default",
        "eval.tests.test_additional_coverage.test_default_init_added_when_config_has_none",
        "eval.tests.test_additional_coverage.test_global_env_file_that_is_directory_skipped",
        "eval.tests.test_additional_coverage.test_import_absolute_path_runs",
        "eval.tests.test_additional_coverage.test_import_relative_path_from_config_dir",
        "eval.tests.test_additional_coverage.test_imported_subcommands_appear_sorted",
        "eval.tests.test_additional_coverage.test_init_aborts_on_eof",
        "eval.tests.test_additional_coverage.test_init_aborts_on_uppercase_n",
        "eval.tests.test_additional_coverage.test_init_aborts_without_overwrite_on_n",
        "eval.tests.test_additional_coverage.test_init_help_documents_force_flag",
        "eval.tests.test_additional_coverage.test_init_no_such_file_still_prompts",
        "eval.tests.test_additional_coverage.test_optional_command_with_present_import_is_listed",
        "eval.tests.test_additional_coverage.test_verbose_trace_lists_all_constructed_items",
        "eval.tests.test_cli_help.test_bash_completion_without_file_lists_default_command",
        "eval.tests.test_cli_help.test_file_flag_short_and_long_equivalent",
        "eval.tests.test_cli_help.test_file_flag_with_missing_value_reports_flag_error",
        "eval.tests.test_cli_help.test_flag_order_does_not_matter",
        "eval.tests.test_cli_help.test_generate_bash_completion_prints_source_file",
        "eval.tests.test_cli_help.test_generate_bash_completion_requires_file_flag_first",
        "eval.tests.test_cli_help.test_global_options_list_all_flags",
        "eval.tests.test_cli_help.test_help_flag_combinations_exit_zero_with_baseline",
        "eval.tests.test_cli_help.test_help_instead_of_running_command",
        "eval.tests.test_cli_help.test_help_long_and_short_agree",
        "eval.tests.test_cli_help.test_help_matches_golden_baseline",
        "eval.tests.test_cli_help.test_help_with_command_argument_shows_command_help",
        "eval.tests.test_cli_help.test_missing_argument_warning_is_on_stderr",
        "eval.tests.test_cli_help.test_no_arguments_prints_help_and_warns",
        "eval.tests.test_cli_help.test_unknown_flag_reported",
        "eval.tests.test_cli_help.test_verbose_env_var_enables_verbose",
        "eval.tests.test_cli_help.test_verbose_env_var_false_disables_trace",
        "eval.tests.test_cli_help.test_verbose_env_var_true_enables_trace",
        "eval.tests.test_cli_help.test_verbose_flag_environment_variable_documented",
        "eval.tests.test_cli_help.test_verbose_flag_exposes_constructed_command",
        "eval.tests.test_cli_help.test_verbose_off_by_default",
        "eval.tests.test_cli_help.test_verbose_short_and_long_equivalent",
        "eval.tests.test_cli_help.test_version_flag_exits_zero_without_help",
        "eval.tests.test_cli_help.test_version_short_and_long_agree",
        "eval.tests.test_command_construction.test_alias_and_name_are_equivalent",
        "eval.tests.test_command_construction.test_alias_colliding_with_command_name_earlier_name_wins",
        "eval.tests.test_command_construction.test_aliases_listed_in_help",
        "eval.tests.test_command_construction.test_command_accepts_multiple_args_exact",
        "eval.tests.test_command_construction.test_command_alias_runs_exact",
        "eval.tests.test_command_construction.test_command_arg_passthrough_exact",
        "eval.tests.test_command_construction.test_command_arg_with_spaces_quoted",
        "eval.tests.test_command_construction.test_command_execution_exit_code_propagates_failure",
        "eval.tests.test_command_construction.test_command_hide_removes_from_help",
        "eval.tests.test_command_construction.test_command_inherits_stdin_exact",
        "eval.tests.test_command_construction.test_command_named_help_is_shadowed_by_help_flag",
        "eval.tests.test_command_construction.test_command_named_version_runs_instead_of_exiting",
        "eval.tests.test_command_construction.test_command_not_found_with_multiple_args",
        "eval.tests.test_command_construction.test_command_order_is_sorted",
        "eval.tests.test_command_construction.test_command_override_wins_last_exact",
        "eval.tests.test_command_construction.test_command_single_line_stdin_no_trailing_newline",
        "eval.tests.test_command_construction.test_command_stderr_propagates",
        "eval.tests.test_command_construction.test_command_without_extra_args_exact",
        "eval.tests.test_command_construction.test_double_dash_args_stripped_by_ahoy",
        "eval.tests.test_command_construction.test_double_dash_separates_ahoy_flags",
        "eval.tests.test_command_construction.test_duplicate_alias_across_commands_first_wins",
        "eval.tests.test_command_construction.test_duplicate_command_name_last_wins",
        "eval.tests.test_command_construction.test_hidden_command_executes_help_flag_as_argument",
        "eval.tests.test_command_construction.test_import_chain_is_one_level_deep",
        "eval.tests.test_command_construction.test_imported_subcommand_executes",
        "eval.tests.test_command_construction.test_imported_subcommand_executes_and_runs",
        "eval.tests.test_command_construction.test_non_existent_import_skipped",
        "eval.tests.test_command_construction.test_optional_command_not_listed_when_import_missing",
        "eval.tests.test_command_construction.test_optional_command_not_runnable",
        "eval.tests.test_command_construction.test_regular_command_runs_with_optional_present",
        "eval.tests.test_command_construction.test_second_alias_runs_exact",
        "eval.tests.test_command_construction.test_simple_command_executes_exact",
        "eval.tests.test_command_construction.test_successful_command_returns_zero",
        "eval.tests.test_command_construction.test_usage_appears_in_command_list",
        "eval.tests.test_command_errors.test_command_imports_resolve_to_nothing_fatal",
        "eval.tests.test_command_errors.test_command_with_both_cmd_and_imports_fatal",
        "eval.tests.test_command_errors.test_command_with_empty_imports_fatal",
        "eval.tests.test_command_errors.test_command_without_cmd_or_imports_fatal",
        "eval.tests.test_command_errors.test_malformed_sibling_command_fatals_at_load",
        "eval.tests.test_config_parsing.test_ahoy_api_missing_rejected",
        "eval.tests.test_config_parsing.test_ahoy_api_v1_rejected",
        "eval.tests.test_config_parsing.test_ahoy_api_v2_accepted",
        "eval.tests.test_config_parsing.test_ahoy_api_v3_future_rejected",
        "eval.tests.test_config_parsing.test_command_not_found_fatal",
        "eval.tests.test_config_parsing.test_command_not_found_lists_unknown_one",
        "eval.tests.test_config_parsing.test_config_discovery_from_parent_directory",
        "eval.tests.test_config_parsing.test_config_discovery_prefers_nearest_dir",
        "eval.tests.test_config_parsing.test_config_path_error_mentions_specified_file",
        "eval.tests.test_config_parsing.test_config_path_not_found_error",
        "eval.tests.test_config_parsing.test_config_usage_not_set_keeps_default",
        "eval.tests.test_config_parsing.test_config_usage_overrides_app_usage",
        "eval.tests.test_config_parsing.test_default_bash_entrypoint_used",
        "eval.tests.test_config_parsing.test_file_flag_pointing_to_directory_fatal",
        "eval.tests.test_config_parsing.test_invalid_yaml_error",
        "eval.tests.test_config_parsing.test_no_config_found_anywhere",
        "eval.tests.test_config_parsing.test_run_command_from_subdirectory",
        "eval.tests.test_config_parsing.test_valid_config_commands_listed",
        "eval.tests.test_descriptions.test_command_help_shows_description",
        "eval.tests.test_descriptions.test_command_level_description_written_inline",
        "eval.tests.test_descriptions.test_command_usage_displayed_in_list",
        "eval.tests.test_descriptions.test_command_without_description_still_listed",
        "eval.tests.test_descriptions.test_commands_without_usage_still_listed",
        "eval.tests.test_descriptions.test_description_multiline_literal_in_help",
        "eval.tests.test_descriptions.test_descriptions_do_not_break_execution",
        "eval.tests.test_descriptions.test_empty_description_command_executes",
        "eval.tests.test_descriptions.test_multiline_command_execution",
        "eval.tests.test_descriptions.test_multiline_description_preserves_lines",
        "eval.tests.test_descriptions.test_simple_description_displayed",
        "eval.tests.test_descriptions.test_usage_only_no_description",
        "eval.tests.test_entrypoint.test_cmd_placeholder_substituted",
        "eval.tests.test_entrypoint.test_custom_bash_entrypoint_keeps_command_output",
        "eval.tests.test_entrypoint.test_custom_entrypoint_prefix_source_config",
        "eval.tests.test_entrypoint.test_default_bash_entrypoint_cmd_recipient",
        "eval.tests.test_entrypoint.test_default_bash_entrypoint_shifts_argv",
        "eval.tests.test_entrypoint.test_embedded_placeholder_left_literal",
        "eval.tests.test_entrypoint.test_entrypoint_argument_passthrough",
        "eval.tests.test_entrypoint.test_inline_entrypoint_array_syntax",
        "eval.tests.test_entrypoint.test_name_placeholder_as_command_arg",
        "eval.tests.test_entrypoint.test_name_placeholder_substituted",
        "eval.tests.test_entrypoint.test_non_bash_python_entrypoint",
        "eval.tests.test_environment_variables.test_command_env_list_order_precedence",
        "eval.tests.test_environment_variables.test_command_env_overrides_global",
        "eval.tests.test_environment_variables.test_command_env_value_containing_equals_sign",
        "eval.tests.test_environment_variables.test_env_file_skips_comments_and_blank_lines",
        "eval.tests.test_environment_variables.test_env_value_containing_equals_sign_preserved",
        "eval.tests.test_environment_variables.test_env_vars_available_in_subshell_command",
        "eval.tests.test_environment_variables.test_existing_shell_env_not_clobbered",
        "eval.tests.test_environment_variables.test_global_env_directory_relative_path",
        "eval.tests.test_environment_variables.test_global_env_variables_loaded",
        "eval.tests.test_environment_variables.test_imported_command_does_not_inherit_root_global_env",
        "eval.tests.test_environment_variables.test_imported_command_sees_its_own_global_env",
        "eval.tests.test_environment_variables.test_missing_command_env_file_tolerated",
        "eval.tests.test_environment_variables.test_missing_global_env_file_tolerated",
        "eval.tests.test_environment_variables.test_multiple_global_env_files_load",
        "eval.tests.test_help_tree_and_env_edges.test_empty_commands_map_lists_only_default_init",
        "eval.tests.test_help_tree_and_env_edges.test_entrypoint_scalar_string_form_is_yaml_fatal",
        "eval.tests.test_help_tree_and_env_edges.test_entrypoint_without_cmd_placeholder_drops_command",
        "eval.tests.test_help_tree_and_env_edges.test_env_comment_after_value_on_same_line_kept",
        "eval.tests.test_help_tree_and_env_edges.test_env_line_whitespace_is_trimmed",
        "eval.tests.test_help_tree_and_env_edges.test_env_value_containing_spaces_preserved",
        "eval.tests.test_help_tree_and_env_edges.test_imported_child_command_runs_from_parent_with_marker",
        "eval.tests.test_help_tree_and_env_edges.test_parent_alias_dispatches_to_subcommand",
        "eval.tests.test_help_tree_and_env_edges.test_parent_subcommand_help_lists_child_usage_not_desc",
        "eval.tests.test_help_tree_and_env_edges.test_subcommand_tree_marker_with_alias_and_usage",
        "eval.tests.test_import_edgecases.test_empty_string_import_entry_is_skipped",
        "eval.tests.test_import_edgecases.test_empty_string_only_import_with_optional_is_omitted",
        "eval.tests.test_import_edgecases.test_tilde_import_not_prefixed_with_config_dir",
        "eval.tests.test_import_edgecases.test_tilde_import_only_yields_empty_optional_omitted",
        "eval.tests.test_stringarray_yaml.test_command_env_array_form",
        "eval.tests.test_stringarray_yaml.test_command_env_single_string",
        "eval.tests.test_stringarray_yaml.test_env_array_later_file_wins",
        "eval.tests.test_stringarray_yaml.test_env_empty_array_no_env_loaded",
        "eval.tests.test_stringarray_yaml.test_env_invalid_type_fatal",
        "eval.tests.test_stringarray_yaml.test_env_null_accepts_no_env",
        "eval.tests.test_stringarray_yaml.test_env_single_string_form",
        "eval.tests.test_stringarray_yaml.test_env_string_array_form",
        "eval.tests.test_stringarray_yaml.test_mixed_single_and_array_in_one_config"
      ]
    }
  },
  "commit": "c093e62d25544ea2c016768e71e4c5300bc3a417",
  "data_source": "synthetic_programgym",
  "difficulty": "",
  "difficulty_score": null,
  "eval_clean_hashes": [
    "67d7b745b3e7af658507b885c43105ad6d28cb036ca775077b9d49fd5466e543"
  ],
  "input_record": {
    "commit": "c093e62d25544ea2c016768e71e4c5300bc3a417",
    "commits": 424,
    "contributors": 14,
    "difficulty": "easy",
    "difficulty_code_lines": 646,
    "difficulty_has_tests": false,
    "difficulty_product_code_lines": 646,
    "difficulty_runtime_deps": 0,
    "difficulty_score": 0.8102325179950842,
    "difficulty_test_code_lines": 1272,
    "full_name": "ahoy-cli/ahoy",
    "github_stars": 285,
    "input_joern_zip": "go_joern/ahoy-cli__ahoy.zip",
    "joern_status": true,
    "joern_time": 19.56339510018006,
    "language": "go",
    "pb_match": [
      {
        "pb_fullname": "segmentio/chamber",
        "rank": 186,
        "similarity": 0.5563212037086487
      },
      {
        "pb_fullname": "sclevine/yj",
        "rank": 8,
        "similarity": 0.6439571976661682
      },
      {
        "pb_fullname": "antonmedv/walk",
        "rank": 340,
        "similarity": 0.50675368309021
      },
      {
        "pb_fullname": "peco/peco",
        "rank": 150,
        "similarity": 0.5301750302314758
      },
      {
        "pb_fullname": "mikefarah/yq",
        "rank": 7,
        "similarity": 0.6843191385269165
      },
      {
        "pb_fullname": "rs/curlie",
        "rank": 72,
        "similarity": 0.5677696466445923
      },
      {
        "pb_fullname": "johnkerl/miller",
        "rank": 22,
        "similarity": 0.5741481781005859
      },
      {
        "pb_fullname": "guumaster/hostctl",
        "rank": 111,
        "similarity": 0.5006264448165894
      },
      {
        "pb_fullname": "mibk/dupl",
        "rank": 803,
        "similarity": 0.5141744613647461
      },
      {
        "pb_fullname": "direnv/direnv",
        "rank": 53,
        "similarity": 0.4921371042728424
      },
      {
        "pb_fullname": "JohannesKaufmann/html-to-markdown",
        "rank": 34,
        "similarity": 0.6097867488861084
      },
      {
        "pb_fullname": "mgechev/revive",
        "rank": 930,
        "similarity": 0.5053591728210449
      },
      {
        "pb_fullname": "alecthomas/chroma",
        "rank": 179,
        "similarity": 0.5278481245040894
      },
      {
        "pb_fullname": "mfridman/tparse",
        "rank": 522,
        "similarity": 0.5252446532249451
      },
      {
        "pb_fullname": "gabotechs/dep-tree",
        "rank": 51,
        "similarity": 0.5968608856201172
      },
      {
        "pb_fullname": "cweill/gotests",
        "rank": 552,
        "similarity": 0.533867359161377
      },
      {
        "pb_fullname": "jesseduffield/lazygit",
        "rank": 205,
        "similarity": 0.571323037147522
      },
      {
        "pb_fullname": "FiloSottile/age",
        "rank": 67,
        "similarity": 0.5587597489356995
      },
      {
        "pb_fullname": "boyter/scc",
        "rank": 43,
        "similarity": 0.6040575504302979
      },
      {
        "pb_fullname": "rs/jplot",
        "rank": 494,
        "similarity": 0.5049660205841064
      },
      {
        "pb_fullname": "multiprocessio/dsq",
        "rank": 163,
        "similarity": 0.5380797386169434
      },
      {
        "pb_fullname": "skeema/skeema",
        "rank": 65,
        "similarity": 0.6031325459480286
      },
      {
        "pb_fullname": "naggie/dstask",
        "rank": 118,
        "similarity": 0.5588704347610474
      },
      {
        "pb_fullname": "astaxie/bat",
        "rank": 252,
        "similarity": 0.5644432306289673
      },
      {
        "pb_fullname": "noborus/trdsql",
        "rank": 74,
        "similarity": 0.5953888297080994
      },
      {
        "pb_fullname": "incu6us/goimports-reviser",
        "rank": 352,
        "similarity": 0.5176437497138977
      },
      {
        "pb_fullname": "noborus/ov",
        "rank": 221,
        "similarity": 0.5501714944839478
      },
      {
        "pb_fullname": "sibprogrammer/xq",
        "rank": 25,
        "similarity": 0.5866628289222717
      },
      {
        "pb_fullname": "sheepla/pingu",
        "rank": 461,
        "similarity": 0.49937039613723755
      },
      {
        "pb_fullname": "kyoh86/richgo",
        "rank": 791,
        "similarity": 0.5002541542053223
      },
      {
        "pb_fullname": "raviqqe/muffet",
        "rank": 564,
        "similarity": 0.4782090485095978
      },
      {
        "pb_fullname": "eliukblau/pixterm",
        "rank": 52,
        "similarity": 0.597701907157898
      },
      {
        "pb_fullname": "TheZoraiz/ascii-image-converter",
        "rank": 29,
        "similarity": 0.5767539739608765
      },
      {
        "pb_fullname": "cheat/cheat",
        "rank": 9,
        "similarity": 0.6359113454818726
      },
      {
        "pb_fullname": "hooklift/gowsdl",
        "rank": 624,
        "similarity": 0.5232148766517639
      },
      {
        "pb_fullname": "ariga/atlas",
        "rank": 62,
        "similarity": 0.5945029258728027
      },
      {
        "pb_fullname": "psampaz/go-mod-outdated",
        "rank": 550,
        "similarity": 0.48012566566467285
      },
      {
        "pb_fullname": "antonmedv/fx",
        "rank": 53,
        "similarity": 0.5706678628921509
      },
      {
        "pb_fullname": "dundee/gdu",
        "rank": 218,
        "similarity": 0.537202000617981
      },
      {
        "pb_fullname": "tomnomnom/gron",
        "rank": 46,
        "similarity": 0.5717117786407471
      },
      {
        "pb_fullname": "hairyhenderson/gomplate",
        "rank": 236,
        "similarity": 0.5524234175682068
      },
      {
        "pb_fullname": "junegunn/fzf",
        "rank": 234,
        "similarity": 0.5073455572128296
      },
      {
        "pb_fullname": "zk-org/zk",
        "rank": 58,
        "similarity": 0.6259549260139465
      }
    ],
    "repo_age": 10.78,
    "repo_path": "go/ahoy-cli__ahoy",
    "source": "commit:c093e62d25544ea2c016768e71e4c5300bc3a417",
    "status": "done",
    "url": "https://github.com/ahoy-cli/ahoy"
  },
  "instance_id": "ahoy-cli__ahoy.c093e62",
  "language": "go",
  "module_iterations": [],
  "repository": "ahoy-cli/ahoy"
}