Datasets:
Download advanced-security--gh-sbom.c4956d0/tests/programgym_task.json from ProgramGym/programgym-1648: direct link, hf CLI and curl.
- Browser
- Download file 18.3 kB
-
https://huggingface.co/datasets/ProgramGym/programgym-1648/resolve/main/advanced-security--gh-sbom.c4956d0/tests/programgym_task.json
- Command line
-
hf download hf://datasets/ProgramGym/programgym-1648/advanced-security--gh-sbom.c4956d0/tests/programgym_task.json
-
curl -L -o programgym_task.json https://huggingface.co/datasets/ProgramGym/programgym-1648/resolve/main/advanced-security--gh-sbom.c4956d0/tests/programgym_task.json
18.3 kB
| { | |
| "branches": { | |
| "generated_module_01": { | |
| "ignore_reason": "", | |
| "ignored": false, | |
| "ignored_tests": [], | |
| "tests": [ | |
| "eval.tests.test_module_01.test_cyclonedx_flag_toggle_false_uses_spdx_client", | |
| "eval.tests.test_module_01.test_cyclonedx_path_reaches_dependency_graph_module", | |
| "eval.tests.test_module_01.test_cyclonedx_with_license_flag_same_client_gate", | |
| "eval.tests.test_module_01.test_dedup_identical_triple_single_component", | |
| "eval.tests.test_module_01.test_dedup_same_name_different_managers_kept", | |
| "eval.tests.test_module_01.test_dedup_same_name_different_versions_kept", | |
| "eval.tests.test_module_01.test_empty_graph_aborts_no_dependencies", | |
| "eval.tests.test_module_01.test_empty_package_fields_do_not_crash", | |
| "eval.tests.test_module_01.test_empty_repo_flag_git_layout_with_remote", | |
| "eval.tests.test_module_01.test_empty_repo_flag_git_no_remote", | |
| "eval.tests.test_module_01.test_equals_syntax_for_repository_and_cyclonedx", | |
| "eval.tests.test_module_01.test_flag_order_is_independent", | |
| "eval.tests.test_module_01.test_golang_pseudo_version_survives_aggregation", | |
| "eval.tests.test_module_01.test_graphql_query_error_aborts", | |
| "eval.tests.test_module_01.test_help_long_lists_all_flags", | |
| "eval.tests.test_module_01.test_help_reports_cyclonedx_flag_semantics", | |
| "eval.tests.test_module_01.test_help_short_flag_same_usage", | |
| "eval.tests.test_module_01.test_leading_v_removed[v-]", | |
| "eval.tests.test_module_01.test_leading_v_removed[v1-]", | |
| "eval.tests.test_module_01.test_leading_v_removed[v1.0-.0]", | |
| "eval.tests.test_module_01.test_leading_v_removed[v1.3.0-.3.0]", | |
| "eval.tests.test_module_01.test_leading_v_removed[vv1.0-1.0]", | |
| "eval.tests.test_module_01.test_long_repository_flag_equivalent", | |
| "eval.tests.test_module_01.test_lowercases_package_manager_and_name[Go-CLI/urfave-pkg:golang/]", | |
| "eval.tests.test_module_01.test_lowercases_package_manager_and_name[NPM-lodash-pkg:npm/]", | |
| "eval.tests.test_module_01.test_lowercases_package_manager_and_name[NuGet-Newtonsoft.Json-newtonsoft.json]", | |
| "eval.tests.test_module_01.test_lowercases_package_manager_and_name[PIP-requests-pkg:pypi/]", | |
| "eval.tests.test_module_01.test_lowercases_package_manager_and_name[Rubygems-rails-pkg:gem/]", | |
| "eval.tests.test_module_01.test_lowercases_package_manager_and_name[npm-Lodash-lodash]", | |
| "eval.tests.test_module_01.test_manifest_pagination_merges_across_pages", | |
| "eval.tests.test_module_01.test_missing_cyclonedx_value_no_hang", | |
| "eval.tests.test_module_01.test_multiple_manifests_aggregate", | |
| "eval.tests.test_module_01.test_nested_dependency_pagination_recurses", | |
| "eval.tests.test_module_01.test_no_args_non_git_cwd_fails", | |
| "eval.tests.test_module_01.test_repository_parse_accepts_valid_forms[gh/owner/repo]", | |
| "eval.tests.test_module_01.test_repository_parse_accepts_valid_forms[owner/repo]", | |
| "eval.tests.test_module_01.test_repository_parse_accepts_valid_forms[same-namespace/repo-name]", | |
| "eval.tests.test_module_01.test_repository_parse_rejects_malformed[/owner/repo-expected the \"[HOST/]OWNER/REPO\" format]", | |
| "eval.tests.test_module_01.test_repository_parse_rejects_malformed[owner-expected the \"[HOST/]OWNER/REPO\" format]", | |
| "eval.tests.test_module_01.test_repository_parse_rejects_malformed[owner/-expected the \"[HOST/]OWNER/REPO\" format]", | |
| "eval.tests.test_module_01.test_repository_parse_rejects_malformed[owner//repo-expected the \"[HOST/]OWNER/REPO\" format]", | |
| "eval.tests.test_module_01.test_short_requirements_empty_version[12]", | |
| "eval.tests.test_module_01.test_short_requirements_empty_version[1]", | |
| "eval.tests.test_module_01.test_short_requirements_empty_version[]", | |
| "eval.tests.test_module_01.test_single_page_aggregates_dependencies", | |
| "eval.tests.test_module_01.test_spdx_default_path_aborts_without_token", | |
| "eval.tests.test_module_01.test_two_page_pagination_terminal_page_false", | |
| "eval.tests.test_module_01.test_unknown_long_flag_rejected", | |
| "eval.tests.test_module_01.test_unknown_short_flag_rejected", | |
| "eval.tests.test_module_01.test_version_prefix_stripped[0.1.0-1.0]", | |
| "eval.tests.test_module_01.test_version_prefix_stripped[1.2.3-2.3]", | |
| "eval.tests.test_module_01.test_version_prefix_stripped[=2.0.0-.0.0]", | |
| "eval.tests.test_module_01.test_version_prefix_stripped[^4.17.21-.17.21]", | |
| "eval.tests.test_module_01.test_version_prefix_stripped[abc123-c123]", | |
| "eval.tests.test_module_01.test_version_prefix_stripped[~1.2.3-.2.3]" | |
| ] | |
| }, | |
| "generated_module_02": { | |
| "ignore_reason": "", | |
| "ignored": false, | |
| "ignored_tests": [], | |
| "tests": [ | |
| "eval.tests.test_cyclonedx_cli.test_bare_equals_value_rejected", | |
| "eval.tests.test_cyclonedx_cli.test_combined_shorthand_cl_parses_bundle_and_reaches_auth", | |
| "eval.tests.test_cyclonedx_cli.test_cyclonedx_explicit_false_falls_back_to_spdx", | |
| "eval.tests.test_cyclonedx_cli.test_cyclonedx_explicit_true_long_reaches_auth", | |
| "eval.tests.test_cyclonedx_cli.test_cyclonedx_license_flag_reaches_auth", | |
| "eval.tests.test_cyclonedx_cli.test_cyclonedx_no_repo_no_git_tree", | |
| "eval.tests.test_cyclonedx_cli.test_cyclonedx_non_github_remote_current_dir", | |
| "eval.tests.test_cyclonedx_cli.test_cyclonedx_requires_credentials_for_valid_slug", | |
| "eval.tests.test_cyclonedx_cli.test_cyclonedx_valid_repo_requires_auth", | |
| "eval.tests.test_cyclonedx_cli.test_duplicate_cyclonedx_flag_accepted", | |
| "eval.tests.test_cyclonedx_cli.test_empty_repository_value_falls_back_to_cwd", | |
| "eval.tests.test_cyclonedx_cli.test_equals_form_long_repository_reaches_auth", | |
| "eval.tests.test_cyclonedx_cli.test_git_tree_without_remote_current_dir", | |
| "eval.tests.test_cyclonedx_cli.test_github_remote_in_tree_resolution_blocks_at_host_guard", | |
| "eval.tests.test_cyclonedx_cli.test_help_does_not_touch_network", | |
| "eval.tests.test_cyclonedx_cli.test_help_long_flag_shows_usage", | |
| "eval.tests.test_cyclonedx_cli.test_help_reports_spdx_default", | |
| "eval.tests.test_cyclonedx_cli.test_help_short_flag_shows_usage", | |
| "eval.tests.test_cyclonedx_cli.test_license_flag_without_cyclonedx_reaches_auth", | |
| "eval.tests.test_cyclonedx_cli.test_long_flags_reach_auth", | |
| "eval.tests.test_cyclonedx_cli.test_long_repository_flag_missing_argument", | |
| "eval.tests.test_cyclonedx_cli.test_multi_segment_slug_rejected", | |
| "eval.tests.test_cyclonedx_cli.test_no_repo_no_git_tree_current_dir", | |
| "eval.tests.test_cyclonedx_cli.test_non_github_remote_reports_no_known_host", | |
| "eval.tests.test_cyclonedx_cli.test_orphan_short_flag_bundle_repo_value", | |
| "eval.tests.test_cyclonedx_cli.test_positional_repo_argument_is_ignored", | |
| "eval.tests.test_cyclonedx_cli.test_repository_embedded_space_rejected", | |
| "eval.tests.test_cyclonedx_cli.test_repository_flag_missing_argument", | |
| "eval.tests.test_cyclonedx_cli.test_repository_leading_slash_rejected", | |
| "eval.tests.test_cyclonedx_cli.test_repository_trailing_slash_rejected", | |
| "eval.tests.test_cyclonedx_cli.test_single_segment_repo_rejected", | |
| "eval.tests.test_cyclonedx_cli.test_spdx_default_requires_github_auth", | |
| "eval.tests.test_cyclonedx_cli.test_unknown_flag_does_not_touch_network", | |
| "eval.tests.test_cyclonedx_cli.test_unknown_flag_rejected", | |
| "eval.tests.test_cyclonedx_cli.test_unknown_short_flag_rejected" | |
| ] | |
| }, | |
| "generated_module_03": { | |
| "ignore_reason": "", | |
| "ignored": false, | |
| "ignored_tests": [], | |
| "tests": [ | |
| "eval.tests.test_api_and_current_repo.test_cyclonedx_license_long_flag_auth_required", | |
| "eval.tests.test_api_and_current_repo.test_cyclonedx_output_repository_auth_required", | |
| "eval.tests.test_api_and_current_repo.test_cyclonedx_with_license_flag_auth_required", | |
| "eval.tests.test_api_and_current_repo.test_explicit_host_repository_auth_required", | |
| "eval.tests.test_api_and_current_repo.test_repository_current_unresolved_origin_fails", | |
| "eval.tests.test_api_and_current_repo.test_spdx_default_output_repository_auth_required", | |
| "eval.tests.test_api_and_current_repo.test_ssh_style_host_repository_auth_required", | |
| "eval.tests.test_combined_shorthand_flags.test_bool_then_string_combined_group_takes_following_arg[-clr]", | |
| "eval.tests.test_combined_shorthand_flags.test_bool_then_string_combined_group_takes_following_arg[-cr]", | |
| "eval.tests.test_combined_shorthand_flags.test_bool_then_string_combined_group_takes_following_arg[-lr]", | |
| "eval.tests.test_combined_shorthand_flags.test_combined_equals_join_empty_repository_is_literal_equals", | |
| "eval.tests.test_combined_shorthand_flags.test_combined_equals_join_repository_reaches_gate", | |
| "eval.tests.test_combined_shorthand_flags.test_combined_group_string_flag_without_arg_is_missing_argument[-clr]", | |
| "eval.tests.test_combined_shorthand_flags.test_combined_group_string_flag_without_arg_is_missing_argument[-cr]", | |
| "eval.tests.test_combined_shorthand_flags.test_string_flag_leading_combined_group_consumes_rune[-r2-2]", | |
| "eval.tests.test_combined_shorthand_flags.test_string_flag_leading_combined_group_consumes_rune[-rc-c]", | |
| "eval.tests.test_combined_shorthand_flags.test_string_flag_leading_combined_group_consumes_rune[-rk-k]", | |
| "eval.tests.test_combined_shorthand_flags.test_string_flag_leading_combined_group_consumes_rune[-rl-l]", | |
| "eval.tests.test_current_repo_and_binding_edges.test_combined_group_equals_false_cdx_license", | |
| "eval.tests.test_current_repo_and_binding_edges.test_combined_group_r_binds_equals_tail_false", | |
| "eval.tests.test_current_repo_and_binding_edges.test_current_repo_no_remotes_found_from_subdirectory", | |
| "eval.tests.test_current_repo_and_binding_edges.test_current_repo_ssh_unknown_host_origins_rejected", | |
| "eval.tests.test_current_repo_and_binding_edges.test_current_repo_with_git_init_but_no_remotes_fails", | |
| "eval.tests.test_current_repo_and_binding_edges.test_long_equals_cyclonedx_false_selects_spdx_branch", | |
| "eval.tests.test_current_repo_and_binding_edges.test_repository_value_with_embedded_spaces_echoed", | |
| "eval.tests.test_current_repo_and_binding_edges.test_repository_value_with_tab_echoed", | |
| "eval.tests.test_current_repo_and_binding_edges.test_short_equals_cyclonedx_false_selects_spdx_branch", | |
| "eval.tests.test_current_repo_and_binding_edges.test_short_equals_cyclonedx_true_selects_cdx_branch", | |
| "eval.tests.test_current_repo_and_binding_edges.test_short_equals_license_false_binding", | |
| "eval.tests.test_current_repo_and_binding_edges.test_short_r_consumes_dash_prefixed_value", | |
| "eval.tests.test_current_repo_and_binding_edges.test_short_r_consumes_double_dash_token", | |
| "eval.tests.test_current_repo_and_binding_edges.test_single_dash_long_flag_consumed_by_leading_short_r", | |
| "eval.tests.test_flag_binding_forms.test_long_flag_space_separated_repository_value_reaches_gate", | |
| "eval.tests.test_flag_binding_forms.test_short_form_equals_empty_repository_is_literal_equals", | |
| "eval.tests.test_flag_binding_forms.test_short_form_equals_invalid_cyclonedx_bool_rejected[args0-notabool]", | |
| "eval.tests.test_flag_binding_forms.test_short_form_equals_invalid_cyclonedx_bool_rejected[args1-maybe]", | |
| "eval.tests.test_flag_binding_forms.test_short_form_equals_invalid_cyclonedx_bool_rejected[args2-0x]", | |
| "eval.tests.test_flag_binding_forms.test_short_form_equals_invalid_license_bool_rejected[args0-zzz]", | |
| "eval.tests.test_flag_binding_forms.test_short_form_equals_invalid_license_bool_rejected[args1-truthy]", | |
| "eval.tests.test_flag_binding_forms.test_short_form_equals_invalid_license_bool_rejected[args2-on]", | |
| "eval.tests.test_flag_binding_forms.test_short_form_equals_invalid_repository_malformed", | |
| "eval.tests.test_flag_binding_forms.test_short_form_equals_valid_repository_reaches_gate", | |
| "eval.tests.test_flag_variations.test_combined_short_boolean_flags_parse", | |
| "eval.tests.test_flag_variations.test_end_of_flags_terminator_feeds_repository_value", | |
| "eval.tests.test_flag_variations.test_explicit_empty_repository_override_uses_current[empty_flag_args0]", | |
| "eval.tests.test_flag_variations.test_explicit_empty_repository_override_uses_current[empty_flag_args1]", | |
| "eval.tests.test_flag_variations.test_repeated_repository_flag_last_value_wins", | |
| "eval.tests.test_flag_variations.test_repeated_repository_invalid_first_value_discarded", | |
| "eval.tests.test_flag_variations.test_repository_equals_form_reaches_token_gate", | |
| "eval.tests.test_flag_variations.test_stray_positional_argument_is_ignored", | |
| "eval.tests.test_flag_variations.test_unknown_shorthand_after_valid_flag_still_errors", | |
| "eval.tests.test_help_flags.test_help_long_shows_usage_and_flag_docs", | |
| "eval.tests.test_help_flags.test_help_short_h_prints_same_usage", | |
| "eval.tests.test_help_flags.test_invalid_boolean_value_for_cyclonedx_rejected[0x1]", | |
| "eval.tests.test_help_flags.test_invalid_boolean_value_for_cyclonedx_rejected[1x]", | |
| "eval.tests.test_help_flags.test_invalid_boolean_value_for_cyclonedx_rejected[nope]", | |
| "eval.tests.test_help_flags.test_invalid_boolean_value_for_cyclonedx_rejected[tru]", | |
| "eval.tests.test_help_flags.test_invalid_boolean_value_for_cyclonedx_rejected[yes]", | |
| "eval.tests.test_help_flags.test_invalid_boolean_value_for_license_rejected[ja]", | |
| "eval.tests.test_help_flags.test_invalid_boolean_value_for_license_rejected[maybe]", | |
| "eval.tests.test_help_flags.test_invalid_boolean_value_for_license_rejected[on]", | |
| "eval.tests.test_help_flags.test_invalid_boolean_value_for_license_rejected[truthy]", | |
| "eval.tests.test_help_flags.test_missing_long_flag_argument_rejected", | |
| "eval.tests.test_help_flags.test_missing_short_flag_argument_rejected", | |
| "eval.tests.test_help_flags.test_unknown_long_flag_rejected", | |
| "eval.tests.test_help_flags.test_unknown_short_flag_rejected", | |
| "eval.tests.test_help_flags.test_valid_boolean_value_parses_past_pflag", | |
| "eval.tests.test_help_flags.test_valid_license_boolean_value_parses_past_pflag", | |
| "eval.tests.test_repository_resolution.test_default_invocation_without_git_repo_fails", | |
| "eval.tests.test_repository_resolution.test_malformed_repository_argument_reported_with_literal[-]", | |
| "eval.tests.test_repository_resolution.test_malformed_repository_argument_reported_with_literal[/]", | |
| "eval.tests.test_repository_resolution.test_malformed_repository_argument_reported_with_literal[/owner/repo]", | |
| "eval.tests.test_repository_resolution.test_malformed_repository_argument_reported_with_literal[a/b/c/d]", | |
| "eval.tests.test_repository_resolution.test_malformed_repository_argument_reported_with_literal[owner//repo]", | |
| "eval.tests.test_repository_resolution.test_malformed_repository_argument_reported_with_literal[owner/repo/]", | |
| "eval.tests.test_repository_resolution.test_malformed_repository_argument_reported_with_literal[owner]", | |
| "eval.tests.test_repository_resolution.test_whitespace_only_repository_value_is_present" | |
| ] | |
| } | |
| }, | |
| "commit": "c4956d00756680fd0fe133bb4f3483ce65fa6a1d", | |
| "data_source": "synthetic_programgym", | |
| "difficulty": "easy", | |
| "difficulty_score": 1.9043909200123617, | |
| "eval_clean_hashes": [ | |
| "ccd7b6e7463786e4f279f77eac4045de9115188051dcfc6c17014905ba14be17" | |
| ], | |
| "input_record": { | |
| "commit": "c4956d00756680fd0fe133bb4f3483ce65fa6a1d", | |
| "commits": 37, | |
| "contributors": 5, | |
| "difficulty": "easy", | |
| "difficulty_code_lines": 472, | |
| "difficulty_has_tests": false, | |
| "difficulty_product_code_lines": 472, | |
| "difficulty_runtime_deps": 16, | |
| "difficulty_score": 1.9043909200123617, | |
| "difficulty_test_code_lines": 0, | |
| "full_name": "advanced-security/gh-sbom", | |
| "github_stars": 206, | |
| "input_joern_zip": "go_joern/advanced-security__gh-sbom.zip", | |
| "joern_status": true, | |
| "joern_time": 7.288820354966447, | |
| "language": "go", | |
| "pb_match": [ | |
| { | |
| "pb_fullname": "mfridman/tparse", | |
| "rank": 709, | |
| "similarity": 0.5098954439163208 | |
| }, | |
| { | |
| "pb_fullname": "cweill/gotests", | |
| "rank": 848, | |
| "similarity": 0.512531042098999 | |
| }, | |
| { | |
| "pb_fullname": "boyter/scc", | |
| "rank": 869, | |
| "similarity": 0.4842698872089386 | |
| }, | |
| { | |
| "pb_fullname": "incu6us/goimports-reviser", | |
| "rank": 873, | |
| "similarity": 0.48190680146217346 | |
| }, | |
| { | |
| "pb_fullname": "sibprogrammer/xq", | |
| "rank": 785, | |
| "similarity": 0.47583091259002686 | |
| } | |
| ], | |
| "repo_age": 3.46, | |
| "repo_path": "go/advanced-security__gh-sbom", | |
| "source": "commit:c4956d00756680fd0fe133bb4f3483ce65fa6a1d", | |
| "status": "done", | |
| "url": "https://github.com/advanced-security/gh-sbom" | |
| }, | |
| "instance_id": "advanced-security__gh-sbom.c4956d0", | |
| "language": "go", | |
| "module_iterations": [ | |
| { | |
| "actual_iterations": 4, | |
| "branch_name": "generated_module_01", | |
| "iteration_limit": 5, | |
| "module_index": 1, | |
| "module_kind": "source", | |
| "termination_reason": "module_coverage_threshold_reached" | |
| }, | |
| { | |
| "actual_iterations": 5, | |
| "branch_name": "generated_module_02", | |
| "iteration_limit": 5, | |
| "module_index": 2, | |
| "module_kind": "source", | |
| "termination_reason": "early_stopping" | |
| }, | |
| { | |
| "actual_iterations": 5, | |
| "branch_name": "generated_module_03", | |
| "iteration_limit": 5, | |
| "module_index": 3, | |
| "module_kind": "source", | |
| "termination_reason": "early_stopping" | |
| } | |
| ], | |
| "repository": "advanced-security/gh-sbom" | |
| } | |