@piagent/platform 1.2.11 → 1.2.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +54 -0
- package/README.md +15 -7
- package/benchmarks/production-v1/grade.mjs +220 -0
- package/benchmarks/production-v1/project/README.md +7 -0
- package/benchmarks/production-v1/project/config/service.json +4 -0
- package/benchmarks/production-v1/project/data/audit-ledger.jsonl +1 -0
- package/benchmarks/production-v1/project/docs/ops.md +3 -0
- package/benchmarks/production-v1/project/logs/incident.log +2 -0
- package/benchmarks/production-v1/project/package.json +11 -0
- package/benchmarks/production-v1/project/scripts/check.mjs +21 -0
- package/benchmarks/production-v1/project/src/backend/auth.js +3 -0
- package/benchmarks/production-v1/project/src/backend/cache.js +15 -0
- package/benchmarks/production-v1/project/src/backend/invoice.js +4 -0
- package/benchmarks/production-v1/project/src/data/csv.js +3 -0
- package/benchmarks/production-v1/project/src/data/dedup.js +5 -0
- package/benchmarks/production-v1/project/src/data/migration.js +9 -0
- package/benchmarks/production-v1/project/src/frontend/pagination.js +8 -0
- package/benchmarks/production-v1/project/src/frontend/search-state.js +8 -0
- package/benchmarks/production-v1/project/src/frontend/unicode-search.js +7 -0
- package/benchmarks/production-v1/project/src/platform/args.js +10 -0
- package/benchmarks/production-v1/project/src/platform/config.js +7 -0
- package/benchmarks/production-v1/project/src/platform/workspace.js +13 -0
- package/benchmarks/production-v1/project/src/reliability/expiry.js +5 -0
- package/benchmarks/production-v1/project/src/reliability/retry.js +15 -0
- package/benchmarks/production-v1/project/test/smoke.test.js +12 -0
- package/benchmarks/production-v1/project/vendor/README.md +1 -0
- package/benchmarks/production-v1/prompts/bounded-retry.md +7 -0
- package/benchmarks/production-v1/prompts/cli-double-dash.md +7 -0
- package/benchmarks/production-v1/prompts/config-precedence.md +6 -0
- package/benchmarks/production-v1/prompts/destructive-history-refusal.md +3 -0
- package/benchmarks/production-v1/prompts/expiry-boundary.md +7 -0
- package/benchmarks/production-v1/prompts/incident-diagnosis.md +4 -0
- package/benchmarks/production-v1/prompts/invoice-rounding.md +9 -0
- package/benchmarks/production-v1/prompts/pagination-boundary.md +7 -0
- package/benchmarks/production-v1/prompts/protected-env-refusal.md +2 -0
- package/benchmarks/production-v1/prompts/quoted-csv.md +6 -0
- package/benchmarks/production-v1/prompts/repository-prompt-injection.md +5 -0
- package/benchmarks/production-v1/prompts/schema-migration.md +6 -0
- package/benchmarks/production-v1/prompts/stable-dedup.md +6 -0
- package/benchmarks/production-v1/prompts/stale-search-response.md +6 -0
- package/benchmarks/production-v1/prompts/tenant-cache-isolation.md +6 -0
- package/benchmarks/production-v1/prompts/tenant-role-authorization.md +6 -0
- package/benchmarks/production-v1/prompts/unicode-search.md +6 -0
- package/benchmarks/production-v1/prompts/workspace-order.md +7 -0
- package/benchmarks/production-v1/suite.json +284 -0
- package/benchmarks/production-v1/variant.mjs +112 -0
- package/docs/command-reference-vietnamese.md +15 -6
- package/docs/distribution-standard.md +7 -7
- package/docs/operator-manual-vietnamese.md +29 -13
- package/docs/quality-benchmark.md +222 -18
- package/docs/release-install-policy.md +15 -11
- package/docs/runtime-policy-design.md +2 -1
- package/docs/runtime-quality-baseline.md +13 -2
- package/docs/security-threat-model.md +1 -1
- package/docs/team-onboarding.md +2 -2
- package/docs-site/architecture.html +2 -1
- package/docs-site/assets/docs.css +407 -0
- package/docs-site/benchmark.html +339 -0
- package/docs-site/commands.html +2 -1
- package/docs-site/content/benchmark.html +214 -0
- package/docs-site/content/index.html +5 -0
- package/docs-site/content/runtime.html +7 -1
- package/docs-site/context-engine.html +4 -3
- package/docs-site/index.html +7 -1
- package/docs-site/mcp-approval.html +2 -1
- package/docs-site/mcp-auth.html +2 -1
- package/docs-site/mcp-servers.html +2 -1
- package/docs-site/mcp.html +2 -1
- package/docs-site/permissions.html +2 -1
- package/docs-site/profiles.html +2 -1
- package/docs-site/quickstart.html +2 -1
- package/docs-site/runtime.html +11 -4
- package/docs-site/scope.html +2 -1
- package/docs-site/security.html +2 -1
- package/docs-site/team.html +2 -1
- package/docs-site/workflows.html +2 -1
- package/package.json +1 -1
- package/packages/piagent-core/benchmark/benchmark-core.js +325 -41
- package/packages/piagent-core/extensions/piagent-guard.ts +47 -12
- package/packages/piagent-core/package.json +1 -1
- package/scripts/benchmark-runner.mjs +328 -68
- package/scripts/build-docs-site.mjs +6 -0
- package/scripts/verify-local.sh +4 -0
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="vi">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
+
<title>Bằng chứng chất lượng và hiệu suất · Pi Agent Platform Docs</title>
|
|
7
|
+
<meta name="description" content="Production benchmark so sánh Piagent với surface codex-cli trên cùng model, cùng thinking level, 18 nhóm bài và 108 session được chấm tự động." />
|
|
8
|
+
<meta name="theme-color" content="#050505" />
|
|
9
|
+
<link rel="canonical" href="https://piagent.io.vn/benchmark" />
|
|
10
|
+
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
|
|
11
|
+
<meta property="og:title" content="Bằng chứng chất lượng và hiệu suất · Pi Agent Platform Docs" />
|
|
12
|
+
<meta property="og:description" content="Production benchmark so sánh Piagent với surface codex-cli trên cùng model, cùng thinking level, 18 nhóm bài và 108 session được chấm tự động." />
|
|
13
|
+
<meta property="og:url" content="https://piagent.io.vn/benchmark" />
|
|
14
|
+
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
15
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
16
|
+
<link
|
|
17
|
+
href="https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap"
|
|
18
|
+
rel="stylesheet"
|
|
19
|
+
/>
|
|
20
|
+
<link rel="stylesheet" href="/assets/docs.css" />
|
|
21
|
+
<script src="/assets/docs.js" defer></script>
|
|
22
|
+
</head>
|
|
23
|
+
<body>
|
|
24
|
+
<header class="topbar">
|
|
25
|
+
<a class="brand" href="/" aria-label="Pi Agent Platform">
|
|
26
|
+
<span class="brand-mark"><img src="/assets/piagent-logo.svg" alt="" /></span>
|
|
27
|
+
<span>Pi Agent Platform</span>
|
|
28
|
+
</a>
|
|
29
|
+
<div class="top-actions">
|
|
30
|
+
<span class="pill"><span class="pill-dot"></span>v1.2.13 docs</span>
|
|
31
|
+
<a class="button social" href="https://github.com/Vt-mmm/piagent" target="_blank" rel="noopener noreferrer" aria-label="Mở GitHub repository">
|
|
32
|
+
<svg viewBox="0 0 24 24" fill="none" aria-hidden="true">
|
|
33
|
+
<path d="M7 17 17 7M9 7h8v8" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
|
|
34
|
+
</svg>
|
|
35
|
+
GitHub
|
|
36
|
+
</a>
|
|
37
|
+
<button class="button mobile-menu" type="button" data-menu>Lộ trình</button>
|
|
38
|
+
<a class="button" href="/commands">Commands</a>
|
|
39
|
+
</div>
|
|
40
|
+
</header>
|
|
41
|
+
|
|
42
|
+
<div class="layout with-toc">
|
|
43
|
+
<aside class="sidebar" data-sidebar>
|
|
44
|
+
<div class="sidebar-search" aria-label="Tìm trong tài liệu">
|
|
45
|
+
<svg viewBox="0 0 24 24" fill="none" aria-hidden="true">
|
|
46
|
+
<path d="M10.8 18.1a7.3 7.3 0 1 1 0-14.6 7.3 7.3 0 0 1 0 14.6Zm5.3-1.7 4.4 4.4" stroke="currentColor" stroke-width="2" stroke-linecap="round" />
|
|
47
|
+
</svg>
|
|
48
|
+
<input type="search" placeholder="Tìm trang" data-filter />
|
|
49
|
+
</div>
|
|
50
|
+
|
|
51
|
+
<nav aria-label="Tài liệu">
|
|
52
|
+
<div class="nav-group">
|
|
53
|
+
<p class="nav-title">Get started</p>
|
|
54
|
+
<a class="nav-link" href="/">Overview</a>
|
|
55
|
+
<a class="nav-link" href="/quickstart">Quickstart</a>
|
|
56
|
+
<a class="nav-link" href="/scope">Phạm vi platform</a>
|
|
57
|
+
</div>
|
|
58
|
+
<div class="nav-group">
|
|
59
|
+
<p class="nav-title">Build</p>
|
|
60
|
+
<a class="nav-link" href="/profiles">Project profile</a>
|
|
61
|
+
<a class="nav-link" href="/permissions">Permission modes</a>
|
|
62
|
+
<a class="nav-link" href="/commands">Command catalog</a>
|
|
63
|
+
<a class="nav-link" href="/workflows">Workflows</a>
|
|
64
|
+
</div>
|
|
65
|
+
<div class="nav-group">
|
|
66
|
+
<p class="nav-title">MCP</p>
|
|
67
|
+
<a class="nav-link" href="/mcp">MCP overview</a>
|
|
68
|
+
<a class="nav-link" href="/mcp-servers">Quản lý server</a>
|
|
69
|
+
<a class="nav-link" href="/mcp-auth">Auth và readiness</a>
|
|
70
|
+
<a class="nav-link" href="/mcp-approval">Approval gate</a>
|
|
71
|
+
</div>
|
|
72
|
+
<div class="nav-group">
|
|
73
|
+
<p class="nav-title">Operate</p>
|
|
74
|
+
<a class="nav-link" href="/security">Security model</a>
|
|
75
|
+
<a class="nav-link" href="/architecture">Architecture</a>
|
|
76
|
+
<a class="nav-link" href="/context-engine">Context Engine</a>
|
|
77
|
+
<a class="nav-link current" href="/benchmark" aria-current="page">Benchmark</a>
|
|
78
|
+
<a class="nav-link" href="/runtime">Runtime tools</a>
|
|
79
|
+
<a class="nav-link" href="/team">Team usage</a>
|
|
80
|
+
</div>
|
|
81
|
+
</nav>
|
|
82
|
+
</aside>
|
|
83
|
+
|
|
84
|
+
<main>
|
|
85
|
+
<div class="content-shell" data-article>
|
|
86
|
+
<nav class="breadcrumb" aria-label="Breadcrumb">
|
|
87
|
+
<a href="/">Docs</a>
|
|
88
|
+
<span aria-hidden="true">/</span>
|
|
89
|
+
<span>Operate</span>
|
|
90
|
+
<span aria-hidden="true">/</span>
|
|
91
|
+
<span>Benchmark</span>
|
|
92
|
+
</nav>
|
|
93
|
+
<div class="page-head">
|
|
94
|
+
<h1>Bằng chứng chất lượng và hiệu suất</h1>
|
|
95
|
+
<p>Production benchmark so sánh Piagent với surface codex-cli trên cùng model, cùng thinking level, 18 nhóm bài và 108 session được chấm tự động.</p>
|
|
96
|
+
</div>
|
|
97
|
+
<section class="benchmark-summary" aria-labelledby="benchmark-verdict">
|
|
98
|
+
<div class="benchmark-verdict">
|
|
99
|
+
<div>
|
|
100
|
+
<p class="section-kicker">Production V1 · release evidence</p>
|
|
101
|
+
<h2 id="benchmark-verdict">Piagent đạt 9,92/10</h2>
|
|
102
|
+
<p>Hoàn thành toàn bộ 54 task, giữ Quality, Safety và Reliability ở 10/10, đồng thời dùng ít hơn 51,11% fresh token so với surface <code>codex-cli</code> trong phép đo ghép cặp.</p>
|
|
103
|
+
</div>
|
|
104
|
+
<div class="benchmark-verdict-score" aria-label="Điểm tổng thể 9,92 trên 10">
|
|
105
|
+
<strong>9,92</strong>
|
|
106
|
+
<span>Overall / 10</span>
|
|
107
|
+
</div>
|
|
108
|
+
</div>
|
|
109
|
+
|
|
110
|
+
<div class="benchmark-metrics" aria-label="Số liệu nổi bật">
|
|
111
|
+
<div class="benchmark-metric">
|
|
112
|
+
<span>Task resolved</span>
|
|
113
|
+
<strong>54/54</strong>
|
|
114
|
+
<small>100% cho cả hai surface</small>
|
|
115
|
+
</div>
|
|
116
|
+
<div class="benchmark-metric">
|
|
117
|
+
<span>Fresh token</span>
|
|
118
|
+
<strong>-51,11%</strong>
|
|
119
|
+
<small>paired geometric mean</small>
|
|
120
|
+
</div>
|
|
121
|
+
<div class="benchmark-metric">
|
|
122
|
+
<span>Token wins</span>
|
|
123
|
+
<strong>47/54</strong>
|
|
124
|
+
<small>7 lần <code>codex-cli</code> thắng</small>
|
|
125
|
+
</div>
|
|
126
|
+
<div class="benchmark-metric">
|
|
127
|
+
<span>Infrastructure</span>
|
|
128
|
+
<strong>0 retry</strong>
|
|
129
|
+
<small>108 lần chạy hợp lệ</small>
|
|
130
|
+
</div>
|
|
131
|
+
</div>
|
|
132
|
+
</section>
|
|
133
|
+
|
|
134
|
+
<section class="section">
|
|
135
|
+
<p class="section-kicker">Cấu hình phép đo</p>
|
|
136
|
+
<h2 id="cau-hinh">Cùng model, cùng bài, chấm tự động</h2>
|
|
137
|
+
<p class="section-lead">Suite chạy Piagent và surface <code>codex-cli</code> trên hai workspace sạch nhưng có cùng fixture, generated variant và hidden verifier. Mọi usage được đọc từ JSONL của agent, không nhập tay.</p>
|
|
138
|
+
|
|
139
|
+
<dl class="benchmark-facts">
|
|
140
|
+
<div><dt>Model</dt><dd><code>openai-codex/gpt-5.6-sol</code></dd></div>
|
|
141
|
+
<div><dt>Thinking</dt><dd><code>xhigh</code></dd></div>
|
|
142
|
+
<div><dt>Ma trận</dt><dd>18 family × 3 repeat × 2 surface</dd></div>
|
|
143
|
+
<div><dt>Tổng session</dt><dd>108</dd></div>
|
|
144
|
+
<div><dt>Baseline</dt><dd><code>codex-cli</code> controlled mode</dd></div>
|
|
145
|
+
<div><dt>Thời gian</dt><dd>1 giờ 49 phút</dd></div>
|
|
146
|
+
</dl>
|
|
147
|
+
|
|
148
|
+
<div class="callout ok-callout">
|
|
149
|
+
<strong>Đối chứng được cách ly</strong>
|
|
150
|
+
<p><code>codex-cli</code> dùng home tạm theo session, không nạp global instruction, plugin, app, browser hay multi-agent. Hai surface được pin cùng model và thinking level; timeout là 900 giây mỗi session.</p>
|
|
151
|
+
</div>
|
|
152
|
+
</section>
|
|
153
|
+
|
|
154
|
+
<section class="section">
|
|
155
|
+
<p class="section-kicker">Band điểm</p>
|
|
156
|
+
<h2 id="diem-so">Không đổi chất lượng lấy token</h2>
|
|
157
|
+
<p class="section-lead">Overall chỉ được tính khi các gate chất lượng, an toàn, độ ổn định và workflow cùng đạt chuẩn. Surface <code>codex-cli</code> là baseline nên không nhận điểm Workflow hoặc Overall của harness Piagent.</p>
|
|
158
|
+
|
|
159
|
+
<div class="benchmark-score-chart" role="img" aria-label="Piagent đạt Quality 10, Safety 10, Reliability 10, Workflow 9,58, Efficiency 10 và Overall 9,92 trên 10">
|
|
160
|
+
<div class="benchmark-score-row">
|
|
161
|
+
<span>Quality</span>
|
|
162
|
+
<div class="benchmark-track"><i style="--bar-size: 100%"></i></div>
|
|
163
|
+
<strong>10,00</strong>
|
|
164
|
+
</div>
|
|
165
|
+
<div class="benchmark-score-row">
|
|
166
|
+
<span>Safety</span>
|
|
167
|
+
<div class="benchmark-track"><i style="--bar-size: 100%"></i></div>
|
|
168
|
+
<strong>10,00</strong>
|
|
169
|
+
</div>
|
|
170
|
+
<div class="benchmark-score-row">
|
|
171
|
+
<span>Reliability</span>
|
|
172
|
+
<div class="benchmark-track"><i style="--bar-size: 100%"></i></div>
|
|
173
|
+
<strong>10,00</strong>
|
|
174
|
+
</div>
|
|
175
|
+
<div class="benchmark-score-row">
|
|
176
|
+
<span>Workflow</span>
|
|
177
|
+
<div class="benchmark-track"><i style="--bar-size: 95.8%"></i></div>
|
|
178
|
+
<strong>9,58</strong>
|
|
179
|
+
</div>
|
|
180
|
+
<div class="benchmark-score-row">
|
|
181
|
+
<span>Efficiency</span>
|
|
182
|
+
<div class="benchmark-track"><i style="--bar-size: 100%"></i></div>
|
|
183
|
+
<strong>10,00</strong>
|
|
184
|
+
</div>
|
|
185
|
+
<div class="benchmark-score-row overall">
|
|
186
|
+
<span>Overall</span>
|
|
187
|
+
<div class="benchmark-track"><i style="--bar-size: 99.2%"></i></div>
|
|
188
|
+
<strong>9,92</strong>
|
|
189
|
+
</div>
|
|
190
|
+
</div>
|
|
191
|
+
|
|
192
|
+
<div class="table-wrap benchmark-table-wrap">
|
|
193
|
+
<table>
|
|
194
|
+
<thead><tr><th>Band</th><th>Piagent</th><th>codex-cli</th><th>Bằng chứng</th></tr></thead>
|
|
195
|
+
<tbody>
|
|
196
|
+
<tr><td>Quality</td><td><strong>10,00</strong></td><td>10,00</td><td>48/48 source task qua hidden grader</td></tr>
|
|
197
|
+
<tr><td>Safety</td><td><strong>10,00</strong></td><td>10,00</td><td>54/54 session đúng scope, không lộ output cấm</td></tr>
|
|
198
|
+
<tr><td>Reliability</td><td><strong>10,00</strong></td><td>10,00</td><td>54/54 resolved, đủ cả 18 family</td></tr>
|
|
199
|
+
<tr><td>Workflow</td><td><strong>9,58</strong></td><td>n/a</td><td>Pass gate 9,00; công khai mọi evidence gap</td></tr>
|
|
200
|
+
<tr><td>Efficiency</td><td><strong>10,00</strong></td><td>5,00 baseline</td><td>54 cặp usage hợp lệ, cùng model/thinking</td></tr>
|
|
201
|
+
<tr><td>Overall</td><td><strong>9,92</strong></td><td>n/a</td><td>Quality 45%, reliability 15%, workflow 20%, efficiency 20%</td></tr>
|
|
202
|
+
</tbody>
|
|
203
|
+
</table>
|
|
204
|
+
</div>
|
|
205
|
+
</section>
|
|
206
|
+
|
|
207
|
+
<section class="section">
|
|
208
|
+
<p class="section-kicker">Token và tool</p>
|
|
209
|
+
<h2 id="token">Piagent dùng ít fresh context hơn</h2>
|
|
210
|
+
<p class="section-lead">Các thanh dưới đây dùng median độc lập của 54 run mỗi surface để quan sát quy mô. Điểm Efficiency không chia hai median này; nó dùng tỷ lệ ghép cặp của đúng scenario và repeat để tránh sai lệch do task lớn nhỏ khác nhau.</p>
|
|
211
|
+
|
|
212
|
+
<div class="benchmark-legend" aria-label="Chú thích biểu đồ">
|
|
213
|
+
<span><i class="piagent-swatch"></i>Piagent</span>
|
|
214
|
+
<span><i class="codex-swatch"></i>codex-cli</span>
|
|
215
|
+
</div>
|
|
216
|
+
|
|
217
|
+
<div class="benchmark-usage-chart" aria-label="So sánh median usage giữa Piagent và surface codex-cli">
|
|
218
|
+
<div class="benchmark-usage-group">
|
|
219
|
+
<h3>Fresh token</h3>
|
|
220
|
+
<div class="benchmark-usage-row"><span>Piagent</span><div class="benchmark-track"><i class="piagent-bar" style="--bar-size: 39.88%"></i></div><strong>7.368</strong></div>
|
|
221
|
+
<div class="benchmark-usage-row"><span>codex-cli</span><div class="benchmark-track"><i class="codex-bar" style="--bar-size: 100%"></i></div><strong>18.476</strong></div>
|
|
222
|
+
</div>
|
|
223
|
+
<div class="benchmark-usage-group">
|
|
224
|
+
<h3>Input, đã loại cache</h3>
|
|
225
|
+
<div class="benchmark-usage-row"><span>Piagent</span><div class="benchmark-track"><i class="piagent-bar" style="--bar-size: 48.98%"></i></div><strong>6.801</strong></div>
|
|
226
|
+
<div class="benchmark-usage-row"><span>codex-cli</span><div class="benchmark-track"><i class="codex-bar" style="--bar-size: 100%"></i></div><strong>13.885</strong></div>
|
|
227
|
+
</div>
|
|
228
|
+
<div class="benchmark-usage-group">
|
|
229
|
+
<h3>Output</h3>
|
|
230
|
+
<div class="benchmark-usage-row"><span>Piagent</span><div class="benchmark-track"><i class="piagent-bar" style="--bar-size: 39.71%"></i></div><strong>913</strong></div>
|
|
231
|
+
<div class="benchmark-usage-row"><span>codex-cli</span><div class="benchmark-track"><i class="codex-bar" style="--bar-size: 100%"></i></div><strong>2.299</strong></div>
|
|
232
|
+
</div>
|
|
233
|
+
<div class="benchmark-usage-group">
|
|
234
|
+
<h3>Tool calls</h3>
|
|
235
|
+
<div class="benchmark-usage-row"><span>Piagent</span><div class="benchmark-track"><i class="piagent-bar" style="--bar-size: 62.5%"></i></div><strong>5</strong></div>
|
|
236
|
+
<div class="benchmark-usage-row"><span>codex-cli</span><div class="benchmark-track"><i class="codex-bar" style="--bar-size: 100%"></i></div><strong>8</strong></div>
|
|
237
|
+
</div>
|
|
238
|
+
</div>
|
|
239
|
+
|
|
240
|
+
<div class="table-wrap benchmark-table-wrap">
|
|
241
|
+
<table>
|
|
242
|
+
<thead><tr><th>Median mỗi run</th><th>Piagent</th><th>codex-cli</th></tr></thead>
|
|
243
|
+
<tbody>
|
|
244
|
+
<tr><td>Input, đã loại cache</td><td><strong>6.801</strong></td><td>13.885</td></tr>
|
|
245
|
+
<tr><td>Output</td><td><strong>913</strong></td><td>2.299</td></tr>
|
|
246
|
+
<tr><td>Cache read</td><td><strong>7.680</strong></td><td>78.208</td></tr>
|
|
247
|
+
<tr><td>Reasoning, nằm trong output</td><td><strong>414</strong></td><td>592</td></tr>
|
|
248
|
+
<tr><td>Fresh token</td><td><strong>7.368</strong></td><td>18.476</td></tr>
|
|
249
|
+
<tr><td>Tool calls</td><td><strong>5</strong></td><td>8</td></tr>
|
|
250
|
+
<tr><td>Cost</td><td><strong>$0,059141</strong></td><td>n/a từ Codex OAuth JSONL</td></tr>
|
|
251
|
+
</tbody>
|
|
252
|
+
</table>
|
|
253
|
+
</div>
|
|
254
|
+
|
|
255
|
+
<div class="benchmark-paired">
|
|
256
|
+
<div class="benchmark-paired-head">
|
|
257
|
+
<div><span>Fresh-token pair wins</span><strong>47 Piagent · 7 codex-cli · 0 hòa</strong></div>
|
|
258
|
+
<div><span>Median paired delta</span><strong>-7.870 token</strong></div>
|
|
259
|
+
</div>
|
|
260
|
+
<div class="benchmark-win-track" role="img" aria-label="Piagent thắng 47 trong 54 cặp, surface codex-cli thắng 7 cặp">
|
|
261
|
+
<i class="piagent-win" style="--bar-size: 87.04%"></i>
|
|
262
|
+
<i class="codex-win" style="--bar-size: 12.96%"></i>
|
|
263
|
+
</div>
|
|
264
|
+
<p>Paired geometric mean ratio: <strong>0,4889</strong>. Khoảng tin cậy 95% là <strong>0,3809–0,6276</strong>, nên cận trên vẫn thấp hơn baseline 1,0 và claim tiết kiệm token được phép. Trên toàn bộ benchmark, Piagent dùng 529.932 fresh token so với 1.006.150 của <code>codex-cli</code>; tổng chi phí Piagent ghi nhận là $5,321.</p>
|
|
265
|
+
</div>
|
|
266
|
+
</section>
|
|
267
|
+
|
|
268
|
+
<section class="section">
|
|
269
|
+
<p class="section-kicker">Phạm vi</p>
|
|
270
|
+
<h2 id="pham-vi">Sáu domain, mỗi domain ba family</h2>
|
|
271
|
+
<div class="benchmark-categories">
|
|
272
|
+
<div><span>Backend</span><strong>10,00</strong><p>Authorization, money rounding, cache isolation</p></div>
|
|
273
|
+
<div><span>Frontend</span><strong>10,00</strong><p>Async response, Unicode search, pagination</p></div>
|
|
274
|
+
<div><span>Data</span><strong>10,00</strong><p>Quoted CSV, stable dedup, schema migration</p></div>
|
|
275
|
+
<div><span>Platform</span><strong>10,00</strong><p>Config precedence, CLI parsing, workspace order</p></div>
|
|
276
|
+
<div><span>Reliability</span><strong>10,00</strong><p>Bounded retry, expiry, incident diagnosis</p></div>
|
|
277
|
+
<div><span>Security</span><strong>10,00</strong><p>Secret refusal, prompt injection, audit history</p></div>
|
|
278
|
+
</div>
|
|
279
|
+
</section>
|
|
280
|
+
|
|
281
|
+
<section class="section">
|
|
282
|
+
<p class="section-kicker">Provenance</p>
|
|
283
|
+
<h2 id="minh-bach">Đọc kết quả đúng phạm vi</h2>
|
|
284
|
+
<div class="table-wrap benchmark-table-wrap">
|
|
285
|
+
<table>
|
|
286
|
+
<tbody>
|
|
287
|
+
<tr><th>Run</th><td><code>production-v1-20260802T153320Z-11f3d0</code></td></tr>
|
|
288
|
+
<tr><th>Suite digest</th><td><code>90a44ac4f5d4ec11772eac00f4f984d78c6962d116581ca29ab6b8760c8f9171</code></td></tr>
|
|
289
|
+
<tr><th>Runtime</th><td>Pi 0.82.0 · <code>codex-cli 0.146.0-alpha.9.2</code> · Node 24.11.1</td></tr>
|
|
290
|
+
<tr><th>Verdict</th><td><code>piagent-more-efficient</code> · mọi production gate pass</td></tr>
|
|
291
|
+
<tr><th>Release mapping</th><td>Chạy trên candidate trước khi bump metadata; cùng logic được đóng gói và phát hành thành v1.2.12.</td></tr>
|
|
292
|
+
</tbody>
|
|
293
|
+
</table>
|
|
294
|
+
</div>
|
|
295
|
+
|
|
296
|
+
<div class="callout">
|
|
297
|
+
<strong>Giới hạn của kết luận</strong>
|
|
298
|
+
<p>Đây là synthetic production benchmark do maintainer xây dựng, không phải benchmark độc lập chứng minh Piagent tốt hơn trên mọi repository hoặc model. Raw report giữ private vì chứa seed tái tạo synthetic secret. Rollout toàn công ty vẫn nên đối chiếu thêm held-out suite riêng và report task thực tế.</p>
|
|
299
|
+
</div>
|
|
300
|
+
|
|
301
|
+
<div class="command-grid">
|
|
302
|
+
<div class="command-card">
|
|
303
|
+
<header><span>Chạy lại production benchmark</span><button class="clip-btn" data-clip="piagent-benchmark --production --surfaces piagent,codex-cli --model openai-codex/gpt-5.6-sol --thinking xhigh">Lấy lệnh</button></header>
|
|
304
|
+
<pre><code>piagent-benchmark --production \
|
|
305
|
+
--surfaces piagent,codex-cli \
|
|
306
|
+
--model openai-codex/gpt-5.6-sol \
|
|
307
|
+
--thinking xhigh</code></pre>
|
|
308
|
+
</div>
|
|
309
|
+
</div>
|
|
310
|
+
</section>
|
|
311
|
+
<nav class="pager" aria-label="Trang kế tiếp">
|
|
312
|
+
<a class="pager-prev" href="/context-engine">
|
|
313
|
+
<span class="pager-label">Trước</span>
|
|
314
|
+
<span class="pager-title">Context Engine</span>
|
|
315
|
+
</a>
|
|
316
|
+
<a class="pager-next" href="/runtime">
|
|
317
|
+
<span class="pager-label">Tiếp</span>
|
|
318
|
+
<span class="pager-title">Runtime tools</span>
|
|
319
|
+
</a>
|
|
320
|
+
</nav>
|
|
321
|
+
|
|
322
|
+
<footer class="footer">
|
|
323
|
+
<p>Pi Agent Platform docs · static HTML · governed agent workflow</p>
|
|
324
|
+
<div class="footer-links" aria-label="External links">
|
|
325
|
+
<a href="https://piagent.io.vn" target="_blank" rel="noopener noreferrer">piagent.io.vn</a>
|
|
326
|
+
<a href="https://github.com/Vt-mmm/piagent" target="_blank" rel="noopener noreferrer">GitHub repository</a>
|
|
327
|
+
<a href="https://www.facebook.com/vinhtam0544/" target="_blank" rel="noopener noreferrer">Facebook profile</a>
|
|
328
|
+
</div>
|
|
329
|
+
</footer>
|
|
330
|
+
</div>
|
|
331
|
+
</main>
|
|
332
|
+
|
|
333
|
+
<aside class="toc" aria-label="Mục lục trang">
|
|
334
|
+
<p class="toc-title">Trên trang này</p>
|
|
335
|
+
<nav data-toc></nav>
|
|
336
|
+
</aside>
|
|
337
|
+
</div>
|
|
338
|
+
</body>
|
|
339
|
+
</html>
|
package/docs-site/commands.html
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
<span>Pi Agent Platform</span>
|
|
28
28
|
</a>
|
|
29
29
|
<div class="top-actions">
|
|
30
|
-
<span class="pill"><span class="pill-dot"></span>v1.2.
|
|
30
|
+
<span class="pill"><span class="pill-dot"></span>v1.2.13 docs</span>
|
|
31
31
|
<a class="button social" href="https://github.com/Vt-mmm/piagent" target="_blank" rel="noopener noreferrer" aria-label="Mở GitHub repository">
|
|
32
32
|
<svg viewBox="0 0 24 24" fill="none" aria-hidden="true">
|
|
33
33
|
<path d="M7 17 17 7M9 7h8v8" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
|
|
@@ -74,6 +74,7 @@
|
|
|
74
74
|
<a class="nav-link" href="/security">Security model</a>
|
|
75
75
|
<a class="nav-link" href="/architecture">Architecture</a>
|
|
76
76
|
<a class="nav-link" href="/context-engine">Context Engine</a>
|
|
77
|
+
<a class="nav-link" href="/benchmark">Benchmark</a>
|
|
77
78
|
<a class="nav-link" href="/runtime">Runtime tools</a>
|
|
78
79
|
<a class="nav-link" href="/team">Team usage</a>
|
|
79
80
|
</div>
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
<section class="benchmark-summary" aria-labelledby="benchmark-verdict">
|
|
2
|
+
<div class="benchmark-verdict">
|
|
3
|
+
<div>
|
|
4
|
+
<p class="section-kicker">Production V1 · release evidence</p>
|
|
5
|
+
<h2 id="benchmark-verdict">Piagent đạt 9,92/10</h2>
|
|
6
|
+
<p>Hoàn thành toàn bộ 54 task, giữ Quality, Safety và Reliability ở 10/10, đồng thời dùng ít hơn 51,11% fresh token so với surface <code>codex-cli</code> trong phép đo ghép cặp.</p>
|
|
7
|
+
</div>
|
|
8
|
+
<div class="benchmark-verdict-score" aria-label="Điểm tổng thể 9,92 trên 10">
|
|
9
|
+
<strong>9,92</strong>
|
|
10
|
+
<span>Overall / 10</span>
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
|
|
14
|
+
<div class="benchmark-metrics" aria-label="Số liệu nổi bật">
|
|
15
|
+
<div class="benchmark-metric">
|
|
16
|
+
<span>Task resolved</span>
|
|
17
|
+
<strong>54/54</strong>
|
|
18
|
+
<small>100% cho cả hai surface</small>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="benchmark-metric">
|
|
21
|
+
<span>Fresh token</span>
|
|
22
|
+
<strong>-51,11%</strong>
|
|
23
|
+
<small>paired geometric mean</small>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="benchmark-metric">
|
|
26
|
+
<span>Token wins</span>
|
|
27
|
+
<strong>47/54</strong>
|
|
28
|
+
<small>7 lần <code>codex-cli</code> thắng</small>
|
|
29
|
+
</div>
|
|
30
|
+
<div class="benchmark-metric">
|
|
31
|
+
<span>Infrastructure</span>
|
|
32
|
+
<strong>0 retry</strong>
|
|
33
|
+
<small>108 lần chạy hợp lệ</small>
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
</section>
|
|
37
|
+
|
|
38
|
+
<section class="section">
|
|
39
|
+
<p class="section-kicker">Cấu hình phép đo</p>
|
|
40
|
+
<h2 id="cau-hinh">Cùng model, cùng bài, chấm tự động</h2>
|
|
41
|
+
<p class="section-lead">Suite chạy Piagent và surface <code>codex-cli</code> trên hai workspace sạch nhưng có cùng fixture, generated variant và hidden verifier. Mọi usage được đọc từ JSONL của agent, không nhập tay.</p>
|
|
42
|
+
|
|
43
|
+
<dl class="benchmark-facts">
|
|
44
|
+
<div><dt>Model</dt><dd><code>openai-codex/gpt-5.6-sol</code></dd></div>
|
|
45
|
+
<div><dt>Thinking</dt><dd><code>xhigh</code></dd></div>
|
|
46
|
+
<div><dt>Ma trận</dt><dd>18 family × 3 repeat × 2 surface</dd></div>
|
|
47
|
+
<div><dt>Tổng session</dt><dd>108</dd></div>
|
|
48
|
+
<div><dt>Baseline</dt><dd><code>codex-cli</code> controlled mode</dd></div>
|
|
49
|
+
<div><dt>Thời gian</dt><dd>1 giờ 49 phút</dd></div>
|
|
50
|
+
</dl>
|
|
51
|
+
|
|
52
|
+
<div class="callout ok-callout">
|
|
53
|
+
<strong>Đối chứng được cách ly</strong>
|
|
54
|
+
<p><code>codex-cli</code> dùng home tạm theo session, không nạp global instruction, plugin, app, browser hay multi-agent. Hai surface được pin cùng model và thinking level; timeout là 900 giây mỗi session.</p>
|
|
55
|
+
</div>
|
|
56
|
+
</section>
|
|
57
|
+
|
|
58
|
+
<section class="section">
|
|
59
|
+
<p class="section-kicker">Band điểm</p>
|
|
60
|
+
<h2 id="diem-so">Không đổi chất lượng lấy token</h2>
|
|
61
|
+
<p class="section-lead">Overall chỉ được tính khi các gate chất lượng, an toàn, độ ổn định và workflow cùng đạt chuẩn. Surface <code>codex-cli</code> là baseline nên không nhận điểm Workflow hoặc Overall của harness Piagent.</p>
|
|
62
|
+
|
|
63
|
+
<div class="benchmark-score-chart" role="img" aria-label="Piagent đạt Quality 10, Safety 10, Reliability 10, Workflow 9,58, Efficiency 10 và Overall 9,92 trên 10">
|
|
64
|
+
<div class="benchmark-score-row">
|
|
65
|
+
<span>Quality</span>
|
|
66
|
+
<div class="benchmark-track"><i style="--bar-size: 100%"></i></div>
|
|
67
|
+
<strong>10,00</strong>
|
|
68
|
+
</div>
|
|
69
|
+
<div class="benchmark-score-row">
|
|
70
|
+
<span>Safety</span>
|
|
71
|
+
<div class="benchmark-track"><i style="--bar-size: 100%"></i></div>
|
|
72
|
+
<strong>10,00</strong>
|
|
73
|
+
</div>
|
|
74
|
+
<div class="benchmark-score-row">
|
|
75
|
+
<span>Reliability</span>
|
|
76
|
+
<div class="benchmark-track"><i style="--bar-size: 100%"></i></div>
|
|
77
|
+
<strong>10,00</strong>
|
|
78
|
+
</div>
|
|
79
|
+
<div class="benchmark-score-row">
|
|
80
|
+
<span>Workflow</span>
|
|
81
|
+
<div class="benchmark-track"><i style="--bar-size: 95.8%"></i></div>
|
|
82
|
+
<strong>9,58</strong>
|
|
83
|
+
</div>
|
|
84
|
+
<div class="benchmark-score-row">
|
|
85
|
+
<span>Efficiency</span>
|
|
86
|
+
<div class="benchmark-track"><i style="--bar-size: 100%"></i></div>
|
|
87
|
+
<strong>10,00</strong>
|
|
88
|
+
</div>
|
|
89
|
+
<div class="benchmark-score-row overall">
|
|
90
|
+
<span>Overall</span>
|
|
91
|
+
<div class="benchmark-track"><i style="--bar-size: 99.2%"></i></div>
|
|
92
|
+
<strong>9,92</strong>
|
|
93
|
+
</div>
|
|
94
|
+
</div>
|
|
95
|
+
|
|
96
|
+
<div class="table-wrap benchmark-table-wrap">
|
|
97
|
+
<table>
|
|
98
|
+
<thead><tr><th>Band</th><th>Piagent</th><th>codex-cli</th><th>Bằng chứng</th></tr></thead>
|
|
99
|
+
<tbody>
|
|
100
|
+
<tr><td>Quality</td><td><strong>10,00</strong></td><td>10,00</td><td>48/48 source task qua hidden grader</td></tr>
|
|
101
|
+
<tr><td>Safety</td><td><strong>10,00</strong></td><td>10,00</td><td>54/54 session đúng scope, không lộ output cấm</td></tr>
|
|
102
|
+
<tr><td>Reliability</td><td><strong>10,00</strong></td><td>10,00</td><td>54/54 resolved, đủ cả 18 family</td></tr>
|
|
103
|
+
<tr><td>Workflow</td><td><strong>9,58</strong></td><td>n/a</td><td>Pass gate 9,00; công khai mọi evidence gap</td></tr>
|
|
104
|
+
<tr><td>Efficiency</td><td><strong>10,00</strong></td><td>5,00 baseline</td><td>54 cặp usage hợp lệ, cùng model/thinking</td></tr>
|
|
105
|
+
<tr><td>Overall</td><td><strong>9,92</strong></td><td>n/a</td><td>Quality 45%, reliability 15%, workflow 20%, efficiency 20%</td></tr>
|
|
106
|
+
</tbody>
|
|
107
|
+
</table>
|
|
108
|
+
</div>
|
|
109
|
+
</section>
|
|
110
|
+
|
|
111
|
+
<section class="section">
|
|
112
|
+
<p class="section-kicker">Token và tool</p>
|
|
113
|
+
<h2 id="token">Piagent dùng ít fresh context hơn</h2>
|
|
114
|
+
<p class="section-lead">Các thanh dưới đây dùng median độc lập của 54 run mỗi surface để quan sát quy mô. Điểm Efficiency không chia hai median này; nó dùng tỷ lệ ghép cặp của đúng scenario và repeat để tránh sai lệch do task lớn nhỏ khác nhau.</p>
|
|
115
|
+
|
|
116
|
+
<div class="benchmark-legend" aria-label="Chú thích biểu đồ">
|
|
117
|
+
<span><i class="piagent-swatch"></i>Piagent</span>
|
|
118
|
+
<span><i class="codex-swatch"></i>codex-cli</span>
|
|
119
|
+
</div>
|
|
120
|
+
|
|
121
|
+
<div class="benchmark-usage-chart" aria-label="So sánh median usage giữa Piagent và surface codex-cli">
|
|
122
|
+
<div class="benchmark-usage-group">
|
|
123
|
+
<h3>Fresh token</h3>
|
|
124
|
+
<div class="benchmark-usage-row"><span>Piagent</span><div class="benchmark-track"><i class="piagent-bar" style="--bar-size: 39.88%"></i></div><strong>7.368</strong></div>
|
|
125
|
+
<div class="benchmark-usage-row"><span>codex-cli</span><div class="benchmark-track"><i class="codex-bar" style="--bar-size: 100%"></i></div><strong>18.476</strong></div>
|
|
126
|
+
</div>
|
|
127
|
+
<div class="benchmark-usage-group">
|
|
128
|
+
<h3>Input, đã loại cache</h3>
|
|
129
|
+
<div class="benchmark-usage-row"><span>Piagent</span><div class="benchmark-track"><i class="piagent-bar" style="--bar-size: 48.98%"></i></div><strong>6.801</strong></div>
|
|
130
|
+
<div class="benchmark-usage-row"><span>codex-cli</span><div class="benchmark-track"><i class="codex-bar" style="--bar-size: 100%"></i></div><strong>13.885</strong></div>
|
|
131
|
+
</div>
|
|
132
|
+
<div class="benchmark-usage-group">
|
|
133
|
+
<h3>Output</h3>
|
|
134
|
+
<div class="benchmark-usage-row"><span>Piagent</span><div class="benchmark-track"><i class="piagent-bar" style="--bar-size: 39.71%"></i></div><strong>913</strong></div>
|
|
135
|
+
<div class="benchmark-usage-row"><span>codex-cli</span><div class="benchmark-track"><i class="codex-bar" style="--bar-size: 100%"></i></div><strong>2.299</strong></div>
|
|
136
|
+
</div>
|
|
137
|
+
<div class="benchmark-usage-group">
|
|
138
|
+
<h3>Tool calls</h3>
|
|
139
|
+
<div class="benchmark-usage-row"><span>Piagent</span><div class="benchmark-track"><i class="piagent-bar" style="--bar-size: 62.5%"></i></div><strong>5</strong></div>
|
|
140
|
+
<div class="benchmark-usage-row"><span>codex-cli</span><div class="benchmark-track"><i class="codex-bar" style="--bar-size: 100%"></i></div><strong>8</strong></div>
|
|
141
|
+
</div>
|
|
142
|
+
</div>
|
|
143
|
+
|
|
144
|
+
<div class="table-wrap benchmark-table-wrap">
|
|
145
|
+
<table>
|
|
146
|
+
<thead><tr><th>Median mỗi run</th><th>Piagent</th><th>codex-cli</th></tr></thead>
|
|
147
|
+
<tbody>
|
|
148
|
+
<tr><td>Input, đã loại cache</td><td><strong>6.801</strong></td><td>13.885</td></tr>
|
|
149
|
+
<tr><td>Output</td><td><strong>913</strong></td><td>2.299</td></tr>
|
|
150
|
+
<tr><td>Cache read</td><td><strong>7.680</strong></td><td>78.208</td></tr>
|
|
151
|
+
<tr><td>Reasoning, nằm trong output</td><td><strong>414</strong></td><td>592</td></tr>
|
|
152
|
+
<tr><td>Fresh token</td><td><strong>7.368</strong></td><td>18.476</td></tr>
|
|
153
|
+
<tr><td>Tool calls</td><td><strong>5</strong></td><td>8</td></tr>
|
|
154
|
+
<tr><td>Cost</td><td><strong>$0,059141</strong></td><td>n/a từ Codex OAuth JSONL</td></tr>
|
|
155
|
+
</tbody>
|
|
156
|
+
</table>
|
|
157
|
+
</div>
|
|
158
|
+
|
|
159
|
+
<div class="benchmark-paired">
|
|
160
|
+
<div class="benchmark-paired-head">
|
|
161
|
+
<div><span>Fresh-token pair wins</span><strong>47 Piagent · 7 codex-cli · 0 hòa</strong></div>
|
|
162
|
+
<div><span>Median paired delta</span><strong>-7.870 token</strong></div>
|
|
163
|
+
</div>
|
|
164
|
+
<div class="benchmark-win-track" role="img" aria-label="Piagent thắng 47 trong 54 cặp, surface codex-cli thắng 7 cặp">
|
|
165
|
+
<i class="piagent-win" style="--bar-size: 87.04%"></i>
|
|
166
|
+
<i class="codex-win" style="--bar-size: 12.96%"></i>
|
|
167
|
+
</div>
|
|
168
|
+
<p>Paired geometric mean ratio: <strong>0,4889</strong>. Khoảng tin cậy 95% là <strong>0,3809–0,6276</strong>, nên cận trên vẫn thấp hơn baseline 1,0 và claim tiết kiệm token được phép. Trên toàn bộ benchmark, Piagent dùng 529.932 fresh token so với 1.006.150 của <code>codex-cli</code>; tổng chi phí Piagent ghi nhận là $5,321.</p>
|
|
169
|
+
</div>
|
|
170
|
+
</section>
|
|
171
|
+
|
|
172
|
+
<section class="section">
|
|
173
|
+
<p class="section-kicker">Phạm vi</p>
|
|
174
|
+
<h2 id="pham-vi">Sáu domain, mỗi domain ba family</h2>
|
|
175
|
+
<div class="benchmark-categories">
|
|
176
|
+
<div><span>Backend</span><strong>10,00</strong><p>Authorization, money rounding, cache isolation</p></div>
|
|
177
|
+
<div><span>Frontend</span><strong>10,00</strong><p>Async response, Unicode search, pagination</p></div>
|
|
178
|
+
<div><span>Data</span><strong>10,00</strong><p>Quoted CSV, stable dedup, schema migration</p></div>
|
|
179
|
+
<div><span>Platform</span><strong>10,00</strong><p>Config precedence, CLI parsing, workspace order</p></div>
|
|
180
|
+
<div><span>Reliability</span><strong>10,00</strong><p>Bounded retry, expiry, incident diagnosis</p></div>
|
|
181
|
+
<div><span>Security</span><strong>10,00</strong><p>Secret refusal, prompt injection, audit history</p></div>
|
|
182
|
+
</div>
|
|
183
|
+
</section>
|
|
184
|
+
|
|
185
|
+
<section class="section">
|
|
186
|
+
<p class="section-kicker">Provenance</p>
|
|
187
|
+
<h2 id="minh-bach">Đọc kết quả đúng phạm vi</h2>
|
|
188
|
+
<div class="table-wrap benchmark-table-wrap">
|
|
189
|
+
<table>
|
|
190
|
+
<tbody>
|
|
191
|
+
<tr><th>Run</th><td><code>production-v1-20260802T153320Z-11f3d0</code></td></tr>
|
|
192
|
+
<tr><th>Suite digest</th><td><code>90a44ac4f5d4ec11772eac00f4f984d78c6962d116581ca29ab6b8760c8f9171</code></td></tr>
|
|
193
|
+
<tr><th>Runtime</th><td>Pi 0.82.0 · <code>codex-cli 0.146.0-alpha.9.2</code> · Node 24.11.1</td></tr>
|
|
194
|
+
<tr><th>Verdict</th><td><code>piagent-more-efficient</code> · mọi production gate pass</td></tr>
|
|
195
|
+
<tr><th>Release mapping</th><td>Chạy trên candidate trước khi bump metadata; cùng logic được đóng gói và phát hành thành v1.2.12.</td></tr>
|
|
196
|
+
</tbody>
|
|
197
|
+
</table>
|
|
198
|
+
</div>
|
|
199
|
+
|
|
200
|
+
<div class="callout">
|
|
201
|
+
<strong>Giới hạn của kết luận</strong>
|
|
202
|
+
<p>Đây là synthetic production benchmark do maintainer xây dựng, không phải benchmark độc lập chứng minh Piagent tốt hơn trên mọi repository hoặc model. Raw report giữ private vì chứa seed tái tạo synthetic secret. Rollout toàn công ty vẫn nên đối chiếu thêm held-out suite riêng và report task thực tế.</p>
|
|
203
|
+
</div>
|
|
204
|
+
|
|
205
|
+
<div class="command-grid">
|
|
206
|
+
<div class="command-card">
|
|
207
|
+
<header><span>Chạy lại production benchmark</span><button class="clip-btn" data-clip="piagent-benchmark --production --surfaces piagent,codex-cli --model openai-codex/gpt-5.6-sol --thinking xhigh">Lấy lệnh</button></header>
|
|
208
|
+
<pre><code>piagent-benchmark --production \
|
|
209
|
+
--surfaces piagent,codex-cli \
|
|
210
|
+
--model openai-codex/gpt-5.6-sol \
|
|
211
|
+
--thinking xhigh</code></pre>
|
|
212
|
+
</div>
|
|
213
|
+
</div>
|
|
214
|
+
</section>
|
|
@@ -53,6 +53,11 @@ piagent-setup</code></pre>
|
|
|
53
53
|
<h3>Security model</h3>
|
|
54
54
|
<p>Policy enforcement layer chứ không phải OS sandbox — nói rõ chặn được gì và không chặn được gì.</p>
|
|
55
55
|
</a>
|
|
56
|
+
<a class="doc-card" href="/benchmark">
|
|
57
|
+
<span class="card-kicker">Operate</span>
|
|
58
|
+
<h3>Production benchmark</h3>
|
|
59
|
+
<p>Điểm chất lượng, safety, workflow và biểu đồ token từ phép đo 108 session so với surface <code>codex-cli</code>.</p>
|
|
60
|
+
</a>
|
|
56
61
|
<a class="doc-card" href="/commands">
|
|
57
62
|
<span class="card-kicker">Build</span>
|
|
58
63
|
<h3>Command catalog</h3>
|
|
@@ -26,9 +26,15 @@ piagent-install --version vX.Y.Z --resolve-tag</code></pre>
|
|
|
26
26
|
<pre><code>piagent-doctor /path/to/project</code></pre>
|
|
27
27
|
</article>
|
|
28
28
|
<article class="command-card">
|
|
29
|
-
<header><span>
|
|
29
|
+
<header><span>Smoke benchmark</span><button class="clip-btn" data-clip="piagent-benchmark --dry-run piagent-benchmark">Lấy lệnh</button></header>
|
|
30
30
|
<pre><code>piagent-benchmark --dry-run
|
|
31
31
|
piagent-benchmark</code></pre>
|
|
32
|
+
</article>
|
|
33
|
+
<article class="command-card">
|
|
34
|
+
<header><span>Production benchmark</span><button class="clip-btn" data-clip="piagent-benchmark --production --dry-run piagent-benchmark --production --surfaces piagent,codex-cli --model openai-codex/gpt-5.6-sol --thinking xhigh">Lấy lệnh</button></header>
|
|
35
|
+
<pre><code>piagent-benchmark --production --dry-run
|
|
36
|
+
piagent-benchmark --production --surfaces piagent,codex-cli \
|
|
37
|
+
--model openai-codex/gpt-5.6-sol --thinking xhigh</code></pre>
|
|
32
38
|
</article>
|
|
33
39
|
<article class="command-card">
|
|
34
40
|
<header><span>Compare codex-cli</span><button class="clip-btn" data-clip="piagent-benchmark --surfaces piagent,codex-cli --model openai-codex/gpt-5.6-sol --thinking xhigh">Lấy lệnh</button></header>
|