MCPcopy Create free account

hub / github.com/anthropics/defending-code-reference-harness / functions

Functions364 in github.com/anthropics/defending-code-reference-harness

Functiontest_dedup_parses_operation
(tmp_path)
tests/test_dedup.py:126
Functiontest_dedup_signature_prefers_parsed_type
(tmp_path)
tests/test_dedup.py:139
Functiontest_dedup_skips_malformed_json
(tmp_path)
tests/test_dedup.py:172
Functiontest_dedup_skips_null_crash
(tmp_path)
tests/test_dedup.py:149
Functiontest_dedup_walks_nested_batches
(tmp_path)
tests/test_dedup.py:158
Functiontest_default_has_preamble_and_engagement
()
tests/test_system_prompt.py:11
Functiontest_direct_hit_at_frame_0
()
tests/test_found_bugs.py:46
Functiontest_done
(tmp_path)
tests/test_skill_checkpoint.py:69
Functiontest_egress_allowlist_enforced
Check 3: API reachable; example.com + direct egress blocked.
tests/test_agent_sandbox.py:67
Functiontest_empty_file_falls_back_to_default
(tmp_path)
tests/test_system_prompt.py:26
Functiontest_empty_known_bugs_list_omits_section
()
tests/test_focus.py:66
Functiontest_empty_output
()
tests/test_asan.py:96
Functiontest_error_message_names_all_modes
()
tests/test_cli_auth.py:41
Functiontest_excerpt_caps_frames
()
tests/test_asan.py:112
Functiontest_excerpt_empty
()
tests/test_asan.py:128
Functiontest_excerpt_non_asan_fallback
()
tests/test_asan.py:122
Functiontest_excerpt_summary_plus_frames
()
tests/test_asan.py:103
Functiontest_failed_tier_picks_first_failure
()
tests/test_patch.py:49
Functiontest_fallback_to_frame_0_when_no_source_info
()
tests/test_found_bugs.py:93
Functiontest_find_prompt_without_known_bugs_has_no_blocks
()
tests/test_untrusted.py:138
Functiontest_find_prompt_wraps_known_bugs_in_nonce_block
()
tests/test_untrusted.py:126
Functiontest_find_tagged_message_fallback_to_last
()
tests/test_xml_parse.py:121
Functiontest_find_tagged_message_most_recent_wins
()
tests/test_xml_parse.py:143
Functiontest_find_tagged_message_skips_non_assistant
()
tests/test_xml_parse.py:133
Functiontest_find_tagged_message_tags_in_last
()
tests/test_xml_parse.py:81
Functiontest_find_tagged_message_tags_not_in_last
()
tests/test_xml_parse.py:92
Functiontest_focus_area_section_renders
()
tests/test_focus.py:19
Functiontest_format_report_empty
()
tests/test_dedup.py:227
Functiontest_format_report_shows_operation
(tmp_path)
tests/test_dedup.py:205
Functiontest_format_report_shows_relative_paths
(tmp_path)
tests/test_dedup.py:212
Functiontest_format_report_shows_status
(tmp_path)
tests/test_dedup.py:220
Functiontest_format_report_sorted_by_count
(tmp_path)
tests/test_dedup.py:190
Functiontest_golden_diff_passes_all
Root-cause fix passes T0+T1.
tests/test_patch_grade_e2e.py:89
Functiontest_grade_prompt_wraps_find_claims_in_nonce_block
()
tests/test_untrusted.py:143
Functiontest_grader_verdict_roundtrip
()
tests/test_artifacts.py:32
Functiontest_gvisor_kernel_differs_from_host
Check 1: agent syscalls hit gVisor's userspace kernel.
tests/test_agent_sandbox.py:50
Functiontest_host_filesystem_unreachable
Check 2: agent Read/Bash can't reach host paths.
tests/test_agent_sandbox.py:57
Functiontest_judge_prompt_empty_manifest
()
tests/test_judge.py:59
Functiontest_judge_prompt_nonce_differs_per_call
()
tests/test_untrusted.py:194
Functiontest_judge_prompt_with_manifest
()
tests/test_judge.py:73
Functiontest_judge_prompt_wraps_asan_in_nonce_blocks
()
tests/test_untrusted.py:105
Functiontest_judged_runs_missing_log
(tmp_path)
tests/test_checkpoint.py:61
Functiontest_judged_runs_reads_run_idx
(tmp_path)
tests/test_checkpoint.py:65
Functiontest_judged_runs_tolerates_corrupt_lines
(tmp_path)
tests/test_checkpoint.py:76
Functiontest_keeps_line_when_no_column
()
tests/test_found_bugs.py:63
Functiontest_known_bugs_section_renders
()
tests/test_focus.py:47
Functiontest_load_no_state
(tmp_path, capsys)
tests/test_skill_checkpoint.py:76
Functiontest_malformed_diff_fails_t0
Garbage diff bytes must fail at T0 (apply step).
tests/test_patch_grade_e2e.py:97
Functiontest_manifest_append_and_read
(tmp_path)
tests/test_judge.py:113
Functiontest_manifest_empty
(tmp_path)
tests/test_judge.py:107
Functiontest_manifest_picks_up_landed_report
(tmp_path)
tests/test_judge.py:127
Functiontest_missing_file_falls_back_to_default
(tmp_path)
tests/test_system_prompt.py:33
Functiontest_missing_frames_returns_none
()
tests/test_found_bugs.py:98
Functiontest_multi_diff_none_apply_is_t0_fail
(mock_docker)
tests/test_patch_grade.py:220
Functiontest_multi_diff_reland_collapses
(mock_docker)
tests/test_patch_grade.py:202
Functiontest_no_build_command_raises
()
tests/test_patch_grade.py:347
Functiontest_no_focus_no_bugs_omits_sections
()
tests/test_focus.py:10
Functiontest_none
()
tests/test_cli_auth.py:37
Functiontest_noop_diff_passes_t0_fails_t1
A patch that changes nothing meaningful must fail at T1.
tests/test_patch_grade_e2e.py:70
Functiontest_oauth_token
(monkeypatch)
tests/test_cli_auth.py:26
Functiontest_override_replaces_engagement_only
(tmp_path)
tests/test_system_prompt.py:17
Functiontest_parse_grader_empty
()
tests/test_report.py:68
Functiontest_parse_grader_full
()
tests/test_report.py:49
Functiontest_parse_grader_novelty_off
()
tests/test_report.py:63
Functiontest_parse_judge_case_insensitive
()
tests/test_judge.py:45
Functiontest_parse_judge_dup_better
()
tests/test_judge.py:26
Functiontest_parse_judge_dup_skip
()
tests/test_judge.py:20
Functiontest_parse_judge_dup_without_bug_id_falls_open
()
tests/test_judge.py:32
Functiontest_parse_judge_new
()
tests/test_judge.py:13
Functiontest_parse_judge_unparseable_falls_open
()
tests/test_judge.py:39
Functiontest_parse_missing_tag
()
tests/test_xml_parse.py:18
Functiontest_parse_multiline_content
()
tests/test_xml_parse.py:22
Functiontest_parse_score_tag_invalid_falls_back_to_zero
()
tests/test_report.py:21
Functiontest_parse_score_tag_valid
()
tests/test_report.py:16
Functiontest_parse_simple_tag
()
tests/test_xml_parse.py:13
Functiontest_parse_strips_whitespace
()
tests/test_xml_parse.py:39
Functiontest_parse_tag_with_special_regex_chars
()
tests/test_xml_parse.py:44
Functiontest_parse_token
()
tests/test_report.py:27
Functiontest_patch_prompt_no_breakout
()
tests/test_untrusted.py:64
Functiontest_patch_prompt_single_nonce_balanced_tags
()
tests/test_untrusted.py:75
Functiontest_payload_requires_from
(tmp_path)
tests/test_skill_checkpoint.py:106
Functiontest_permission_mode_tracks_runtime
(monkeypatch)
tests/test_sandbox.py:48
Functiontest_precedence_api_key_over_oauth
(monkeypatch)
tests/test_cli_auth.py:31
Functiontest_project_frames_empty_input
()
tests/test_found_bugs.py:151
Functiontest_project_frames_fallback_no_source
()
tests/test_found_bugs.py:146
Functiontest_project_frames_respects_n
()
tests/test_found_bugs.py:133
Functiontest_project_frames_returns_top_n
()
tests/test_found_bugs.py:114
Functiontest_project_frames_skips_interceptor
()
tests/test_found_bugs.py:123
Functiontest_project_frames_stops_at_second_section
()
tests/test_found_bugs.py:139
Functiontest_read_empty_file
(tmp_path)
tests/test_found_bugs.py:212
Functiontest_read_missing_file
(tmp_path)
tests/test_found_bugs.py:208
Functiontest_read_skips_malformed_lines
(tmp_path)
tests/test_found_bugs.py:218
Functiontest_reattack_any_crash_fails
(mock_docker)
tests/test_patch_grade.py:322
Functiontest_reattack_clean_when_no_crash
(mock_docker)
tests/test_patch_grade.py:280
Functiontest_reattack_dirty_when_same_signature
(mock_docker)
tests/test_patch_grade.py:296
Functiontest_reattack_harness_switches_template
()
tests/test_focus.py:27
Functiontest_reattack_harness_with_known_bugs
()
tests/test_focus.py:39
Functiontest_report_checkpoint_retries_failed_and_missing
(tmp_path)
tests/test_checkpoint.py:137
Functiontest_report_checkpoint_signature_mismatch
(tmp_path)
tests/test_checkpoint.py:129
Functiontest_report_checkpoint_submitted
(tmp_path)
tests/test_checkpoint.py:120
← previousnext →201–300 of 364, ranked by callers