
{"id":13445,"date":"2026-10-16T14:56:46","date_gmt":"2026-10-16T06:56:46","guid":{"rendered":"https:\/\/infernews.com\/blog\/doc2harness\/"},"modified":"2026-10-16T14:56:46","modified_gmt":"2026-10-16T06:56:46","slug":"doc2harness","status":"publish","type":"post","link":"https:\/\/infernews.com\/blog\/doc2harness\/","title":{"rendered":"Doc2Harness\uff1a\u6e2c\u8a66\u6a21\u578b\u80fd\u5426\u9020\u51fa\u771f\u6b63\u53ef\u7528\u7684 Coding Agent"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/infernews.com\/blog\/wp-content\/uploads\/2026\/10\/Doc2Harness-Coding-Agent.jpg\" alt=\"Doc2Harness\"><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u7576 Coding Agent \u8981\u8655\u7406\u9577\u6642\u9593\u3001\u591a\u6b65\u9a5f\u5de5\u4f5c\uff0c\u6210\u6557\u4e0d\u53ea\u53d6\u6c7a\u65bc\u6a21\u578b\u672c\u8eab\uff0c\u9084\u53d6\u6c7a\u65bc\u5de5\u5177\u547c\u53eb\u3001\u6b0a\u9650\u3001\u5de5\u4f5c\u968e\u6bb5\u3001\u5fa9\u539f\u6d41\u7a0b\u548c\u6574\u500b\u57f7\u884c\u8ff4\u5708\u3002Doc2Harness \u662f\u4e00\u500b\u8a55\u6e2c\u57fa\u6e96\uff0c\u5c08\u9580\u8655\u7406\u6a21\u578b\u80fd\u5426\u6309\u7167\u958b\u767c\u6587\u4ef6\u548c\u4ecb\u9762\u9aa8\u67b6\uff0c\u5efa\u9020\u5b8c\u6574 Coding Agent harness \u7684\u554f\u984c\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u9805\u76ee\u5206\u6210\u5169\u500b\u968e\u6bb5\uff1a\u7b2c\u4e00\u968e\u6bb5\u7531 build model \u5728\u9694\u96e2\u5bb9\u5668\u5167\u900f\u904e OpenCode \u5be6\u4f5c harness\uff1b\u7b2c\u4e8c\u968e\u6bb5\u6703\u51cd\u7d50\u6210\u679c\uff0c\u518d\u653e\u5230\u53e6\u4e00\u500b\u5bb9\u5668\uff0c\u7531 scripted mock model \u7aef\u5230\u7aef\u9a45\u52d5\u3002\u8a55\u5206\u4e0d\u63a5\u53d7 harness \u81ea\u5df1\u8072\u7a31\u5b8c\u6210\u4efb\u52d9\uff0c\u800c\u662f\u8b80\u53d6\u56db\u500b\u53ef\u89c0\u5bdf\u6e20\u9053\uff1a\u50b3\u7d66\u6a21\u578b\u7684\u8acb\u6c42\u3001\u78c1\u789f\u6a94\u6848\u3001\u7a0b\u5e8f exit code\uff0c\u4ee5\u53ca command output\uff1bpositive controls \u4ea6\u6703\u963b\u6b62\u7a7a\u6bbc\u5be6\u4f5c\u53d6\u5f97\u901a\u904e\u7d50\u679c\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u6e2c\u8a66\u7bc4\u570d<\/strong>\uff1a\u5b8c\u6574\u57fa\u6e96\u5305\u542b 328 \u500b test cases\uff0c\u516c\u958b\u5132\u5b58\u5eab\u53ea\u63d0\u4f9b 94 \u500b scenarios\uff0c\u5305\u62ec 53 \u500b\u8a55\u5206\u6848\u4f8b\u548c 41 \u500b positive controls\u3002<\/li>\n<li><strong>\u6a21\u578b\u5dee\u8ddd<\/strong>\uff1a\u5b8c\u6574\u5957\u4ef6\u6db5\u84cb 19 \u500b frontier models\uff0c\u6700\u4f73\u6a21\u578b\u901a\u904e\u7387\u70ba 53.05%\uff0c\u6700\u4f4e\u7d04 27.4%\u3002<\/li>\n<li><strong>\u53ef\u91cd\u73fe\u9650\u5236<\/strong>\uff1a\u6392\u884c\u699c\u6578\u5b57\u4f86\u81ea\u5b8c\u6574\u5957\u4ef6\uff0c\u4e0d\u80fd\u53ea\u7528\u516c\u958b\u5b50\u96c6\u91cd\u73fe\u3002<\/li>\n<li><strong>\u57f7\u884c\u689d\u4ef6<\/strong>\uff1a\u9700\u8981 Python 3.11+\u3001Docker\uff0c\u4f9d\u8cf4\u63a1\u7528 Python standard library\uff1b\u5b8c\u6574 catalog \u5728 concurrency 12 \u4e0b\u7d04\u9700 25 \u81f3 90 \u79d2\u3002<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u9019\u9805\u76ee\u76f4\u63a5\u628a harness engineering \u672c\u8eab\u7d0d\u5165\u8a55\u6e2c\u3002\u7d50\u679c\u4ea6\u53cd\u6620\u6a21\u7d44\u62c6\u5206\u4e26\u975e\u5fc5\u7136\u5e36\u4f86\u597d\u8655\uff1a\u5728\u63a7\u5236\u7a0b\u5f0f\u78bc\u5927\u5c0f\u5f8c\uff0cmodule count \u8207\u901a\u904e\u7387\u5448\u8ca0\u76f8\u95dc\uff0c\u76f8\u95dc\u4fc2\u6578\u70ba -0.423\uff1b\u540c\u4e00\u6a21\u578b\u5728 direct drive \u548c permissions \u7b49\u5834\u666f\u7684\u6392\u540d\u4e5f\u53ef\u80fd\u5927\u5e45\u8b8a\u52d5\uff0c\u986f\u793a\u6b0a\u9650\u53ca\u5de5\u5177\u7de8\u6392\u662f\u7368\u7acb\u800c\u95dc\u9375\u7684\u80fd\u529b\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Doc2Harness \u9069\u5408\u7814\u7a76 Coding Agent\u3001\u6a21\u578b\u8a55\u6e2c\u548c agent infrastructure \u7684\u5718\u968a\uff0c\u7528\u4f86\u6bd4\u8f03\u6a21\u578b\u5efa\u9020\u9577\u6d41\u7a0b\u5de5\u5177\u7cfb\u7d71\u7684\u80fd\u529b\uff0c\u4ea6\u53ef\u5354\u52a9\u5b9a\u4f4d harness \u5728\u8acb\u6c42\u6d41\u7a0b\u3001\u6a94\u6848\u64cd\u4f5c\u3001\u7a0b\u5e8f\u63a7\u5236\u6216\u5fa9\u539f\u6a5f\u5236\u4e0a\u7684\u5931\u6557\u4f4d\u7f6e\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/geyuyao.com\/doc2harness\/\" rel=\"noopener noreferrer\"><strong>\u9805\u76ee\u4e3b\u9801<\/strong><\/a> \u00b7 <a href=\"https:\/\/github.com\/YuyaoGe\/doc2harness\" rel=\"noopener noreferrer\"><strong>GitHub<\/strong><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Doc2Harness \u4e0d\u53ea\u6e2c\u6a21\u578b\u8b58\u5514\u8b58\u5beb\u7a0b\u5f0f\uff0c\u9084\u628a\u6574\u5957 Coding Agent harness \u4ea4\u7531\u6a21\u578b\u5efa\u9020\uff0c\u518d\u4ee5\u9ed1\u76d2\u65b9\u5f0f\u9a57\u8b49\u662f\u5426\u771f\u7684\u904b\u4f5c\u3002<\/p>\n","protected":false},"author":8,"featured_media":13444,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"wpai_generated_summary":"","wpai_meta_description":"","footnotes":""},"categories":[133,195,196,116,76,159,38,152,150,146,191,199],"tags":[],"class_list":["post-13445","post","type-post","status-publish","format-standard","hentry","category-133","category-195","category-196","category-agentic","category-76","category-vibe-coding","category-38","category-python","category-150","category-146","category-anthropic","category-dataset-"],"_links":{"self":[{"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/posts\/13445","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/comments?post=13445"}],"version-history":[{"count":0,"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/posts\/13445\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/media\/13444"}],"wp:attachment":[{"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/media?parent=13445"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/categories?post=13445"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/tags?post=13445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}