MCPcopy Create free account

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

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

Functiontest_report_grader_prompt_wraps_report_in_nonce_block
()
tests/test_untrusted.py:161
Functiontest_report_prompt_wraps_asan_in_nonce_block
()
tests/test_untrusted.py:88
Functiontest_representative_prefers_higher_score
(tmp_path)
tests/test_report.py:160
Functiontest_representative_prefers_passed
(tmp_path)
tests/test_report.py:152
Functiontest_representative_prefers_smaller_poc
(tmp_path)
tests/test_report.py:168
Functiontest_require_checks_runtime_is_registered
(monkeypatch)
tests/test_sandbox.py:28
Functiontest_require_passes_with_override
(monkeypatch)
tests/test_sandbox.py:23
Functiontest_require_refuses_without_runtime_or_override
(monkeypatch)
tests/test_sandbox.py:17
Functiontest_reset
(tmp_path)
tests/test_skill_checkpoint.py:88
Functiontest_reset_requires_state_suffix
(tmp_path)
tests/test_skill_checkpoint.py:129
Functiontest_resume_layout_guard
(tmp_path, n_subdirs, top_result, runs, want_err)
tests/test_checkpoint.py:103
Functiontest_run_checkpoint_corrupt_json
(tmp_path)
tests/test_checkpoint.py:52
Functiontest_run_checkpoint_ignores_slimmed_transcripts
(tmp_path)
tests/test_checkpoint.py:41
Functiontest_run_checkpoint_missing
(tmp_path)
tests/test_checkpoint.py:21
Functiontest_run_checkpoint_retries_agent_failed
(tmp_path)
tests/test_checkpoint.py:34
Functiontest_run_checkpoint_terminal_statuses
(tmp_path)
tests/test_checkpoint.py:25
Functiontest_run_patch_caps_iterations
(tmp_path)
tests/test_patch.py:153
Functiontest_run_patch_happy_path
(tmp_path)
tests/test_patch.py:63
Functiontest_run_patch_no_tag_retries
(tmp_path)
tests/test_patch.py:126
Functiontest_run_patch_retries_on_failed_grade
(tmp_path)
tests/test_patch.py:95
Functiontest_run_result_json_roundtrip
()
tests/test_artifacts.py:47
Functiontest_run_result_no_crash
()
tests/test_artifacts.py:76
Functiontest_runtime_mismatch_is_fatal
Check 8: typo in runtime name fails loudly.
tests/test_agent_sandbox.py:98
Functiontest_safe_token_rejects_traversal
(tmp_path)
tests/test_skill_checkpoint.py:137
Functiontest_sanitize_neutralizes_closing_tags
()
tests/test_untrusted.py:37
Functiontest_save_rejects_bad_json
(tmp_path)
tests/test_skill_checkpoint.py:98
Functiontest_save_stage_key
(tmp_path)
tests/test_skill_checkpoint.py:48
Functiontest_save_then_load
(tmp_path, capsys)
tests/test_skill_checkpoint.py:35
Functiontest_seed_then_append_mixed_formats
(tmp_path)
tests/test_found_bugs.py:195
Functiontest_segv_write_op
()
tests/test_asan.py:60
Functiontest_shard_then_save_clears_shards
(tmp_path)
tests/test_skill_checkpoint.py:56
Functiontest_signature_assertion
()
tests/test_dedup.py:44
Functiontest_signature_basic
()
tests/test_dedup.py:34
Functiontest_signature_missing_fields
()
tests/test_dedup.py:55
Functiontest_signature_no_frame_fallback
()
tests/test_dedup.py:50
Functiontest_signature_skips_interceptor
()
tests/test_dedup.py:39
Functiontest_skips_interceptor_frame
()
tests/test_found_bugs.py:51
Functiontest_stops_at_second_stack_section
()
tests/test_found_bugs.py:69
Functiontest_stops_before_alloc_section_even_when_crash_stack_has_no_source
()
tests/test_found_bugs.py:78
Functiontest_strips_column_keeps_line
()
tests/test_found_bugs.py:56
Functiontest_style_judge_prompt_wraps_diff_in_nonce_block
()
tests/test_untrusted.py:185
Functiontest_summary_line_parsed
()
tests/test_asan.py:49
Functiontest_t0_fail_short_circuits
(mock_docker)
tests/test_patch_grade.py:170
Functiontest_t1_fail_short_circuits
(mock_docker)
tests/test_patch_grade.py:234
Functiontest_t1_fails_on_asan_in_stderr
()
tests/test_patch_grade.py:137
Functiontest_t1_fails_on_asan_in_stdout
()
tests/test_patch_grade.py:141
Functiontest_t1_fails_on_nonzero_exit
()
tests/test_patch_grade.py:145
Functiontest_t1_passes_clean_exit
()
tests/test_patch_grade.py:133
Functiontest_t2_none_when_no_suite
(mock_docker)
tests/test_patch_grade.py:266
Functiontest_t2_runs_when_configured
(mock_docker)
tests/test_patch_grade.py:250
Functiontest_unparseable_output
()
tests/test_asan.py:91
Functiontest_untrusted_block_nonce_on_both_tags
()
tests/test_untrusted.py:43
Functiontest_verdict_failed_on_reattack
()
tests/test_patch_grade.py:91
Functiontest_verdict_failed_on_t2_false
()
tests/test_patch_grade.py:78
Functiontest_verdict_passed_all_true
()
tests/test_patch_grade.py:52
Functiontest_verdict_passed_t2_none_is_ok
()
tests/test_patch_grade.py:65
Functiontest_verdict_roundtrip
()
tests/test_patch_grade.py:117
Functiontest_verdict_t3_never_gates
()
tests/test_patch_grade.py:104
Functiontest_write_overflow
()
tests/test_asan.py:55
Functiontest_write_result_includes_reason
(tmp_path)
tests/test_asan.py:146
Functiontest_write_result_no_crash_no_reason
(tmp_path)
tests/test_asan.py:158
Methodto_dict
(self)
harness/artifacts.py:111
Methodto_dict
(self)
harness/artifacts.py:134
Functionwrite_file
Write bytes to a path inside a container. Uses ``docker exec`` (not ``docker cp``) so the write happens from the container's own view of the
harness/docker_ops.py:97
← previous301–364 of 364, ranked by callers