Datasets:
Download abutaha--aws-es-proxy.5a40bd8/tests/programgym_task.json from ProgramGym/programgym-1648: direct link, hf CLI and curl.
- Browser
- Download file 17 kB
-
https://huggingface.co/datasets/ProgramGym/programgym-1648/resolve/main/abutaha--aws-es-proxy.5a40bd8/tests/programgym_task.json
- Command line
-
hf download hf://datasets/ProgramGym/programgym-1648/abutaha--aws-es-proxy.5a40bd8/tests/programgym_task.json
-
curl -L -o programgym_task.json https://huggingface.co/datasets/ProgramGym/programgym-1648/resolve/main/abutaha--aws-es-proxy.5a40bd8/tests/programgym_task.json
17 kB
| { | |
| "branches": { | |
| "generated_module_01": { | |
| "ignore_reason": "", | |
| "ignored": false, | |
| "ignored_tests": [ | |
| { | |
| "name": "eval.tests.test_auth.test_auth_gate_rejects_wrong_username_only", | |
| "reasons": [ | |
| { | |
| "id": "test_network_dependency", | |
| "message": "test appears to depend on networking", | |
| "path": "eval/tests/test_auth.py", | |
| "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.", | |
| "severity": "error", | |
| "stage": "static_lint" | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "eval.tests.test_auth.test_realm_flag_appears_in_challenge", | |
| "reasons": [ | |
| { | |
| "id": "test_network_dependency", | |
| "message": "test appears to depend on networking", | |
| "path": "eval/tests/test_auth.py", | |
| "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.", | |
| "severity": "error", | |
| "stage": "static_lint" | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "eval.tests.test_auth.test_unauthenticated_request_gets_401", | |
| "reasons": [ | |
| { | |
| "id": "test_network_dependency", | |
| "message": "test appears to depend on networking", | |
| "path": "eval/tests/test_auth.py", | |
| "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.", | |
| "severity": "error", | |
| "stage": "static_lint" | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "eval.tests.test_auth.test_wrong_credentials_get_401", | |
| "reasons": [ | |
| { | |
| "id": "test_network_dependency", | |
| "message": "test appears to depend on networking", | |
| "path": "eval/tests/test_auth.py", | |
| "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.", | |
| "severity": "error", | |
| "stage": "static_lint" | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "eval.tests.test_extra.test_cookie_jar_replays_set_cookie_to_backend", | |
| "reasons": [ | |
| { | |
| "id": "test_network_dependency", | |
| "message": "test appears to depend on networking", | |
| "path": "eval/tests/test_extra.py", | |
| "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.", | |
| "severity": "error", | |
| "stage": "static_lint" | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "eval.tests.test_extra.test_signing_on_headers_still_forwarded_via_addheaders", | |
| "reasons": [ | |
| { | |
| "id": "assertion_disjunction", | |
| "message": "pytest assertion accepts alternatives with or", | |
| "path": "eval/tests/test_extra.py", | |
| "repair_hint": "Assert one exact expected outcome instead of accepting alternative outcomes with or.", | |
| "severity": "error", | |
| "stage": "static_lint" | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "eval.tests.test_logging.test_log_to_file_appends_multiple_requests", | |
| "reasons": [ | |
| { | |
| "id": "test_network_dependency", | |
| "message": "test appears to depend on networking", | |
| "path": "eval/tests/test_logging.py", | |
| "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.", | |
| "severity": "error", | |
| "stage": "static_lint" | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "eval.tests.test_proxy.test_307_redirect_not_followed", | |
| "reasons": [ | |
| { | |
| "id": "test_network_dependency", | |
| "message": "test appears to depend on networking", | |
| "path": "eval/tests/test_proxy.py", | |
| "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.", | |
| "severity": "error", | |
| "stage": "static_lint" | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "eval.tests.test_proxy.test_disabled_redirect_prevents_following_backend_redirect", | |
| "reasons": [ | |
| { | |
| "id": "test_network_dependency", | |
| "message": "test appears to depend on networking", | |
| "path": "eval/tests/test_proxy.py", | |
| "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.", | |
| "severity": "error", | |
| "stage": "static_lint" | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "eval.tests.test_proxy.test_head_request_relays_status_without_body", | |
| "reasons": [ | |
| { | |
| "id": "test_network_dependency", | |
| "message": "test appears to depend on networking", | |
| "path": "eval/tests/test_proxy.py", | |
| "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.", | |
| "severity": "error", | |
| "stage": "static_lint" | |
| } | |
| ] | |
| } | |
| ], | |
| "tests": [ | |
| "eval.tests.test_auth.test_auth_gate_rejects_wrong_username_only", | |
| "eval.tests.test_auth.test_correct_credentials_proxied", | |
| "eval.tests.test_auth.test_default_empty_realm", | |
| "eval.tests.test_auth.test_realm_flag_appears_in_challenge", | |
| "eval.tests.test_auth.test_remote_terminate_bypasses_auth", | |
| "eval.tests.test_auth.test_unauthenticated_request_gets_401", | |
| "eval.tests.test_auth.test_wrong_credentials_get_401", | |
| "eval.tests.test_cli_args.test_auth_requires_both_username_and_password[flag_args0]", | |
| "eval.tests.test_cli_args.test_auth_requires_both_username_and_password[flag_args1]", | |
| "eval.tests.test_cli_args.test_auth_requires_both_username_and_password[flag_args2]", | |
| "eval.tests.test_cli_args.test_auth_with_both_credentials_passes_gate", | |
| "eval.tests.test_cli_args.test_aws_endpoint_signing_requires_partition_match", | |
| "eval.tests.test_cli_args.test_bad_listen_address_is_fatal", | |
| "eval.tests.test_cli_args.test_combined_feature_flags_boot_and_serve", | |
| "eval.tests.test_cli_args.test_debug_flag_emits_debug_log_line", | |
| "eval.tests.test_cli_args.test_default_listen_address_is_localhost_9200", | |
| "eval.tests.test_cli_args.test_endpoint_flag_allows_proxy_to_listen", | |
| "eval.tests.test_cli_args.test_endpoint_flag_takes_precedence_over_environment", | |
| "eval.tests.test_cli_args.test_endpoint_from_environment_variable", | |
| "eval.tests.test_cli_args.test_help_alias_prints_usage_and_exits_zero[--help]", | |
| "eval.tests.test_cli_args.test_help_alias_prints_usage_and_exits_zero[-h]", | |
| "eval.tests.test_cli_args.test_help_alias_prints_usage_and_exits_zero[-help]", | |
| "eval.tests.test_cli_args.test_help_flag_prints_usage", | |
| "eval.tests.test_cli_args.test_invalid_flag_aborts_with_usage[bad_flag0-flag provided but not defined: -bogus]", | |
| "eval.tests.test_cli_args.test_invalid_flag_aborts_with_usage[bad_flag1-invalid value \"notanint\" for flag -timeout: parse error]", | |
| "eval.tests.test_cli_args.test_invalid_flag_aborts_with_usage[bad_flag2-flag needs an argument: -endpoint]", | |
| "eval.tests.test_cli_args.test_missing_endpoint_emits_nothing_on_stderr", | |
| "eval.tests.test_cli_args.test_missing_endpoint_fails_with_usage_text", | |
| "eval.tests.test_cli_args.test_no_dot_host_with_signing_panics", | |
| "eval.tests.test_cli_args.test_no_dot_host_without_signing_starts_ok", | |
| "eval.tests.test_cli_args.test_no_sign_reqs_help_surfaces_flag", | |
| "eval.tests.test_cli_args.test_timeout_flag_accepted_and_boots", | |
| "eval.tests.test_cli_args.test_timeout_flag_help_documents_default_15", | |
| "eval.tests.test_cli_args.test_two_dot_host_with_signing_starts_ok", | |
| "eval.tests.test_cli_args.test_unknown_flag_reports_name", | |
| "eval.tests.test_cli_args.test_version_flag_alone_fails_endpoint_check", | |
| "eval.tests.test_cli_args.test_version_flag_prints_version_and_exits_zero", | |
| "eval.tests.test_cli_args.test_without_debug_does_not_log_aws_detection", | |
| "eval.tests.test_cli_args.test_without_debug_emits_no_debug_log_line", | |
| "eval.tests.test_endpoint_parsing.test_dot_segment_path_cleaned", | |
| "eval.tests.test_endpoint_parsing.test_double_slash_path_cleaned", | |
| "eval.tests.test_endpoint_parsing.test_empty_host_endpoint_fatal", | |
| "eval.tests.test_endpoint_parsing.test_encoded_slash_path_preserved", | |
| "eval.tests.test_endpoint_parsing.test_endpoint_with_query_string_proxied", | |
| "eval.tests.test_endpoint_parsing.test_explicit_empty_endpoint_env_bypasses_guard", | |
| "eval.tests.test_endpoint_parsing.test_gopher_scheme_proxies_over_http", | |
| "eval.tests.test_endpoint_parsing.test_malformed_http_endpoint_fatal", | |
| "eval.tests.test_endpoint_parsing.test_missing_endpoint_env_defaults_to_error", | |
| "eval.tests.test_endpoint_parsing.test_path_is_cleaned_before_forwarding", | |
| "eval.tests.test_endpoint_parsing.test_port_only_endpoint_has_nonempty_host_and_boots", | |
| "eval.tests.test_endpoint_parsing.test_proxied_host_header_is_proxy_target", | |
| "eval.tests.test_endpoint_parsing.test_root_path_proxy", | |
| "eval.tests.test_endpoint_parsing.test_scheme_only_without_host_fatal", | |
| "eval.tests.test_endpoint_parsing.test_supported_schemes_boot[http]", | |
| "eval.tests.test_endpoint_parsing.test_supported_schemes_boot[https]", | |
| "eval.tests.test_endpoint_parsing.test_unsupported_scheme_falls_back_to_http", | |
| "eval.tests.test_extra.test_cookie_jar_replays_set_cookie_to_backend", | |
| "eval.tests.test_extra.test_endpoint_base_path_is_not_prepended", | |
| "eval.tests.test_extra.test_endpoint_query_in_url_is_not_forwarded_by_default", | |
| "eval.tests.test_extra.test_head_relay_does_not_prepend_endpoint_host", | |
| "eval.tests.test_extra.test_log_to_file_bulk_body_field_is_empty", | |
| "eval.tests.test_extra.test_log_to_file_request_body_field_equals_json_query", | |
| "eval.tests.test_extra.test_pretty_nested_search_query_indented", | |
| "eval.tests.test_extra.test_pretty_query_suppressed_for_bulk", | |
| "eval.tests.test_extra.test_put_with_body_reached_and_relayed", | |
| "eval.tests.test_extra.test_signing_on_headers_still_forwarded_via_addheaders", | |
| "eval.tests.test_logging.test_log_to_file_appends_multiple_requests", | |
| "eval.tests.test_logging.test_log_to_file_contents_reflect_proxied_traffic", | |
| "eval.tests.test_logging.test_log_to_file_creates_request_and_response_logs", | |
| "eval.tests.test_logging.test_log_to_file_not_created_without_flag", | |
| "eval.tests.test_logging.test_log_to_file_record_method_diversity", | |
| "eval.tests.test_logging.test_no_verbose_emits_no_request_lines", | |
| "eval.tests.test_logging.test_pretty_log_to_file_writes_plain_json_records", | |
| "eval.tests.test_logging.test_pretty_plain_body_does_not_crash", | |
| "eval.tests.test_logging.test_pretty_renders_json_body_indented", | |
| "eval.tests.test_logging.test_pretty_without_verbose_produces_no_pretty_block", | |
| "eval.tests.test_logging.test_verbose_and_log_to_file_coexist", | |
| "eval.tests.test_logging.test_verbose_logs_request_line", | |
| "eval.tests.test_logging.test_verbose_pretty_and_log_to_file_together", | |
| "eval.tests.test_logging.test_verbose_query_empty_when_body_has_no_braces", | |
| "eval.tests.test_logging.test_verbose_query_extraction_from_json_body", | |
| "eval.tests.test_logging.test_verbose_suppresses_query_for_bulk", | |
| "eval.tests.test_logging.test_verbose_suppresses_query_for_msearch", | |
| "eval.tests.test_proxy.test_307_redirect_not_followed", | |
| "eval.tests.test_proxy.test_authorization_request_header_forwarded", | |
| "eval.tests.test_proxy.test_backend_403_relayed_in_default_mode", | |
| "eval.tests.test_proxy.test_content_type_forwarded", | |
| "eval.tests.test_proxy.test_custom_backend_content_type_relayed", | |
| "eval.tests.test_proxy.test_disabled_redirect_prevents_following_backend_redirect", | |
| "eval.tests.test_proxy.test_empty_backend_response_body_relayed", | |
| "eval.tests.test_proxy.test_head_request_relays_status_without_body", | |
| "eval.tests.test_proxy.test_kibana_headers_forwarded[Kbn-Version]", | |
| "eval.tests.test_proxy.test_kibana_headers_forwarded[Kbn-Xsrf]", | |
| "eval.tests.test_proxy.test_kibana_headers_forwarded[Osd-Version]", | |
| "eval.tests.test_proxy.test_kibana_headers_forwarded[Osd-Xsrf]", | |
| "eval.tests.test_proxy.test_methods_forwarded[DELETE]", | |
| "eval.tests.test_proxy.test_methods_forwarded[GET]", | |
| "eval.tests.test_proxy.test_methods_forwarded[PATCH]", | |
| "eval.tests.test_proxy.test_methods_forwarded[POST]", | |
| "eval.tests.test_proxy.test_methods_forwarded[PUT]", | |
| "eval.tests.test_proxy.test_multivalue_response_header_forwarded", | |
| "eval.tests.test_proxy.test_non_kibana_custom_headers_not_forwarded", | |
| "eval.tests.test_proxy.test_query_string_preserved_on_post", | |
| "eval.tests.test_proxy.test_redirect_location_relayed_for_301", | |
| "eval.tests.test_proxy.test_request_body_not_forwarded_after_dump", | |
| "eval.tests.test_proxy.test_request_line_and_path_cleaning_combined", | |
| "eval.tests.test_proxy.test_response_body_relayed", | |
| "eval.tests.test_proxy.test_response_headers_relayed_except_authorization", | |
| "eval.tests.test_proxy.test_response_matches_backend_requestid_and_health", | |
| "eval.tests.test_proxy.test_response_status_relayed", | |
| "eval.tests.test_proxy.test_status_text_and_body_preserved", | |
| "eval.tests.test_proxy.test_unreachable_backend_returns_400", | |
| "eval.tests.test_signing.test_assume_role_branch_selected_and_sign_fails_with_403", | |
| "eval.tests.test_signing.test_aws_aoss_endpoint_extracts_region", | |
| "eval.tests.test_signing.test_aws_endpoint_detection_extracts_region", | |
| "eval.tests.test_signing.test_aws_endpoint_extracts_service_from_host", | |
| "eval.tests.test_signing.test_default_chain_signing_enabled_request_reaches_backend", | |
| "eval.tests.test_signing.test_no_sign_reqs_skips_signer_log_lines", | |
| "eval.tests.test_signing.test_signing_backend_403_invalidates_credentials", | |
| "eval.tests.test_signing.test_signing_default_chain_emits_credential_log_lines", | |
| "eval.tests.test_signing.test_signing_enabled_backend_403_relayed", | |
| "eval.tests.test_signing.test_signing_enabled_default_chain_hits_backend_per_request", | |
| "eval.tests.test_signing.test_signing_enabled_delete_reaches_backend", | |
| "eval.tests.test_signing.test_signing_enabled_post_reaches_backend", | |
| "eval.tests.test_signing.test_web_identity_branch_selected_and_sign_fails_with_403", | |
| "eval.tests.test_terminate.test_bad_method_on_terminate_not_terminated", | |
| "eval.tests.test_terminate.test_get_terminate_proxy_is_proxied_not_terminated", | |
| "eval.tests.test_terminate.test_post_terminate_proxy_exits_zero", | |
| "eval.tests.test_terminate.test_terminate_disabled_by_default", | |
| "eval.tests.test_terminate.test_terminate_endpoint_on_wrong_path_not_triggered" | |
| ] | |
| } | |
| }, | |
| "commit": "5a40bd821e26ce7b6827327f25b22854a07b8880", | |
| "data_source": "synthetic_programgym", | |
| "difficulty": "", | |
| "difficulty_score": null, | |
| "eval_clean_hashes": [ | |
| "96783f2465231297f2e99bd0b86965deb70963f7f17ce3ebf9d0323d0700ca63" | |
| ], | |
| "input_record": { | |
| "commit": "5a40bd821e26ce7b6827327f25b22854a07b8880", | |
| "commits": 104, | |
| "contributors": 19, | |
| "difficulty": "easy", | |
| "difficulty_code_lines": 580, | |
| "difficulty_has_tests": false, | |
| "difficulty_product_code_lines": 580, | |
| "difficulty_runtime_deps": 6, | |
| "difficulty_score": 1.6085260335771943, | |
| "difficulty_test_code_lines": 0, | |
| "full_name": "abutaha/aws-es-proxy", | |
| "github_stars": 603, | |
| "input_joern_zip": "go_joern/abutaha__aws-es-proxy.zip", | |
| "joern_status": true, | |
| "joern_time": 10.596440135035664, | |
| "language": "go", | |
| "pb_match": [ | |
| { | |
| "pb_fullname": "segmentio/chamber", | |
| "rank": 512, | |
| "similarity": 0.5166969895362854 | |
| } | |
| ], | |
| "repo_age": 9.76, | |
| "repo_path": "go/abutaha__aws-es-proxy", | |
| "source": "commit:5a40bd821e26ce7b6827327f25b22854a07b8880", | |
| "status": "done", | |
| "url": "https://github.com/abutaha/aws-es-proxy" | |
| }, | |
| "instance_id": "abutaha__aws-es-proxy.5a40bd8", | |
| "language": "go", | |
| "module_iterations": [], | |
| "repository": "abutaha/aws-es-proxy" | |
| } | |