Skip to main content

Compliance gate · Screenshot before and after

Pixel diff finds every changed region, and qwen4-max checks each one against a compliance checklist and assigns a severity for a release verdict.

A routine style change can hide a risk disclosure, move the decimal point in a performance benchmark, or shrink agreement text until it is unreadable. Code review rarely catches these issues, and manual page-by-page checks do not scale. This playbook screenshots the page before and after a change, uses a pixel diff to find every changed region, then asks qwen4-max to check each region against a compliance checklist and assign a severity. The result is a single release verdict. The walkthrough uses a fictional wealth management product page on mobile; the same method applies to release checks for banking, insurance, and securities app pages, as well as e-commerce campaign pages.
Disclaimer: The content shown on this page is all generated by AI models and is for reference only; it does not constitute any guarantee of results. The product page, institution names, registration numbers, and rate data are synthetic demo material and do not refer to any real product. The three issue changes were deliberately injected for demonstration. Actual output and Credits consumption are subject to "Usage Details" in the console.
Call chain: prepare the correct page → inject 3 issues → screenshot both versions → pixel diff and box every changed region → qwen4-max checks each region against the compliance checklist and assigns a severity → release verdict. Toolchain: Playwright (screenshots), Pillow (pixel diff); the model is called once, only for judgment.

Actual output

Input material and script source: see steps 1–5.
All three injected issues were detected and graded: the hidden risk disclosure and the inflated benchmark were rated P0 (high risk, block release), and the undersized agreement text was rated P1 (readability issue, fix and recheck). The unchanged control region was rated none, confirming it matched the original.
RegionInjected issueModel severityExpected severityResult
I1 Risk disclosureText color changed to pure white, same as the white background (visually hidden)P0P0Match
I2 Benchmark2.85% changed to 28.5% (decimal point moved right)P0P0Match
I3 Agreement textFont size reduced from 13px to 7px (unreadable)P1P1Match
Control region (term/starting amount/risk level/investor suitability)No changenoneNo issueZero false positives
Full-page diff overlay: blue boxes mark the three issue regions, and yellow boxes mark regions that did not change content but moved
Full-page diff overlay: blue boxes mark the three issue regions; yellow boxes mark regions whose content did not change but whose position moved.

Procedure

Step 1: Prepare the correct page and the compliance checklist

The correct page is a fictional wealth management product detail page (390px mobile width) with all 8 compliance elements: risk disclosure clearly readable, benchmark number accurate, product term clear, starting amount clear, risk level clear, investor suitability clear, agreement text clearly readable, and registration and custody info prominent. Each element has a fixed ID so it can be captured by region; the page footer carries a synthetic-material notice.
The demo page source is a single-file HTML with Chinese demo copy; replace the copy for localized pages.
Demo page HTML (input)
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>安心周盈 180 天 · 产品详情(演示)</title>
<style>
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body { font-family: "PingFang SC", "Hiragino Sans GB", sans-serif; background: #f4f5f7; color: #22262e; width: 390px; margin: 0 auto; -webkit-font-smoothing: antialiased; }
  .num { font-family: "DIN Alternate", "Bahnschrift", "PingFang SC", sans-serif; font-variant-numeric: tabular-nums; }

  /* 状态栏 + 导航栏 */
  .statusbar { display: flex; justify-content: space-between; align-items: center; padding: 8px 18px 4px; background: #fff; font-size: 13px; font-weight: 600; }
  .statusbar .icons { display: flex; gap: 5px; align-items: center; }
  .navbar { display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 14px; background: #fff; border-bottom: 1px solid #f0f1f3; }
  .navbar .title { font-size: 16px; font-weight: 600; }
  .navbar .nav-ic { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; color: #3a3f47; }
  .navbar .right { display: flex; gap: 6px; }

  /* 收益头部 */
  .hero { background: linear-gradient(180deg, #FBF1E4 0%, #FDF8F1 55%, #f4f5f7 100%); padding: 18px 16px 14px; }
  .bank { display: flex; align-items: center; gap: 9px; }
  .bank .logo { width: 34px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, #C24A2E, #A93A22); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; box-shadow: 0 2px 6px rgba(178,62,38,.25); }
  .bank .name { font-size: 15px; font-weight: 600; }
  .bank .sub { font-size: 11px; color: #9a8f80; margin-top: 1px; }
  .bank .verify { margin-left: auto; font-size: 10.5px; color: #B4833E; border: 1px solid #E4CFA8; background: #FFF9EE; border-radius: 3px; padding: 1px 6px; }
  .prod-title { font-size: 21px; font-weight: 700; margin: 15px 0 8px; letter-spacing: .2px; }
  .tags { display: flex; gap: 6px; }
  .prod-tag { font-size: 10.5px; color: #B5432A; background: rgba(181,67,42,.07); border: 1px solid rgba(181,67,42,.22); border-radius: 3px; padding: 1.5px 7px; }
  .rate-row { display: flex; align-items: baseline; margin: 16px 0 3px; }
  .rate-label { font-size: 12px; color: #8d8478; margin-right: 10px; }
  .rate-num { font-size: 42px; font-weight: 700; color: #C8401F; line-height: 1; letter-spacing: -.5px; }
  .rate-unit { font-size: 17px; font-weight: 600; color: #C8401F; margin-left: 2px; }
  .rate-side { margin-left: auto; text-align: right; }
  .rate-side .v { display: block; font-size: 15px; font-weight: 600; color: #5a5248; }
  .rate-side .k { display: block; font-size: 10.5px; color: #9a8f80; margin-top: 2px; }
  .rate-note { font-size: 11px; color: #a09688; margin-top: 6px; }

  /* 通用卡片 */
  .card { background: #fff; border-radius: 12px; margin: 10px 12px; padding: 14px 16px; box-shadow: 0 1px 3px rgba(30,34,42,.04); }
  .card h3 { font-size: 14.5px; font-weight: 600; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
  .card h3 .more { margin-left: auto; font-size: 11px; color: #b0b6c0; font-weight: 400; }

  /* 对照区:四宫格 */
  .grid { display: flex; background: #fff; border-radius: 12px; margin: 10px 12px; padding: 13px 0; box-shadow: 0 1px 3px rgba(30,34,42,.04); }
  .cell { flex: 1; text-align: center; border-right: 1px solid #f0f1f3; }
  .cell:last-child { border-right: none; }
  .cell .v { font-size: 15px; font-weight: 600; }
  .cell .k { font-size: 11px; color: #8a919f; margin-top: 3px; }

  /* 净值走势 */
  .chart-meta { display: flex; justify-content: space-between; font-size: 10.5px; color: #b0b6c0; margin-top: 4px; }
  .chart-tag { font-size: 10px; color: #b0b6c0; border: 1px solid #e6e9ef; border-radius: 3px; padding: 0 5px; }

  /* 产品要素表 */
  .kv { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid #f5f6f8; font-size: 12.5px; }
  .kv:last-child { border-bottom: none; }
  .kv .k { color: #8a919f; }
  .kv .v { color: #22262e; font-weight: 500; }

  /* 风险提示(注入锚点 I1:所在卡片必须纯白底) */
  .risk-notice { font-size: 12px; color: #8a919f; line-height: 1.75; }

  /* 协议行(注入锚点 I3) */
  .agree-row { font-size: 13px; color: #4e5561; }
  .agree-row { display: flex; align-items: flex-start; gap: 7px; line-height: 1.6; }
  .agree-row .cb { flex: none; width: 15px; height: 15px; margin-top: 3px; }
  .agree-row a { color: #2b5fd9; text-decoration: none; }

  /* 托管备案 */
  .custody { font-size: 12px; color: #8a919f; line-height: 1.9; }

  /* 购买区 */
  .buybar { background: #fff; margin: 10px 12px; border-radius: 12px; padding: 13px 16px 15px; box-shadow: 0 1px 3px rgba(30,34,42,.04); }
  .match { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: #0DA740; background: #F0FAF3; border-radius: 6px; padding: 6px 10px; margin-bottom: 11px; }
  .buy-btn { display: block; width: 100%; border: none; border-radius: 999px; padding: 12px 0; font-size: 16px; font-weight: 600; color: #fff; background: linear-gradient(90deg, #D95B33, #C2401F); box-shadow: 0 4px 12px rgba(201,64,31,.28); letter-spacing: 2px; }
  .buy-slogan { text-align: center; font-size: 10.5px; color: #b0b6c0; margin-top: 9px; }
  .footer-note { text-align: center; font-size: 10.5px; color: #b8bdc6; padding: 12px 26px 22px; line-height: 1.7; }
</style>
</head>
<body>
  <!-- 状态栏 -->
  <div class="statusbar">
    <span class="num">9:41</span>
    <span class="icons">
      <svg width="17" height="11" viewBox="0 0 17 11" fill="#22262e"><rect x="0" y="7" width="3" height="4" rx="1"/><rect x="4.5" y="5" width="3" height="6" rx="1"/><rect x="9" y="2.5" width="3" height="8.5" rx="1"/><rect x="13.5" y="0" width="3" height="11" rx="1"/></svg>
      <svg width="16" height="11" viewBox="0 0 16 11" fill="#22262e"><path d="M8 9.5a1.4 1.4 0 1 0 0 2.8 1.4 1.4 0 0 0 0-2.8zM8 5.6c-1.9 0-3.6.7-4.9 1.9l1.3 1.3A5.3 5.3 0 0 1 8 7.4c1.4 0 2.7.5 3.6 1.4l1.3-1.3A7 7 0 0 0 8 5.6zM8 1.5C5 1.5 2.2 2.7.2 4.7l1.3 1.3A9.4 9.4 0 0 1 8 3.3c2.5 0 4.8 1 6.5 2.7l1.3-1.3A11.3 11.3 0 0 0 8 1.5z" transform="translate(0,-1.5)"/></svg>
      <svg width="25" height="12" viewBox="0 0 25 12"><rect x="0.5" y="0.5" width="21" height="11" rx="3" fill="none" stroke="#22262e" stroke-opacity=".4"/><rect x="2" y="2" width="15" height="8" rx="1.6" fill="#22262e"/><rect x="22.5" y="3.5" width="2" height="5" rx="1" fill="#22262e" fill-opacity=".4"/></svg>
    </span>
  </div>
  <!-- 导航栏 -->
  <div class="navbar">
    <span class="nav-ic"><svg width="11" height="19" viewBox="0 0 11 19" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9.5 1.5 2 9.5l7.5 8"/></svg></span>
    <span class="title">产品详情</span>
    <span class="right">
      <span class="nav-ic"><svg width="19" height="19" viewBox="0 0 19 19" fill="none" stroke="currentColor" stroke-width="1.6"><circle cx="9.5" cy="9.5" r="8"/><path d="M6.8 7.2a2.8 2.8 0 1 1 3.9 2.6c-.8.35-1.2.9-1.2 1.7v.3" stroke-linecap="round"/><circle cx="9.5" cy="14.2" r=".9" fill="currentColor" stroke="none"/></svg></span>
      <span class="nav-ic"><svg width="19" height="5" viewBox="0 0 19 5" fill="currentColor"><circle cx="2.5" cy="2.5" r="1.8"/><circle cx="9.5" cy="2.5" r="1.8"/><circle cx="16.5" cy="2.5" r="1.8"/></svg></span>
    </span>
  </div>

  <!-- 收益头部 -->
  <div class="hero">
    <div class="bank">
      <div class="logo">恒</div>
      <div>
        <div class="name">恒盛理财</div>
        <div class="sub">银行理财子公司 · 演示机构</div>
      </div>
      <span class="verify">官方直销</span>
    </div>
    <div class="prod-title">安心周盈 180 天</div>
    <div class="tags">
      <span class="prod-tag">R2 低风险</span>
      <span class="prod-tag">固定周期</span>
      <span class="prod-tag">公募理财</span>
      <span class="prod-tag">摊余成本法</span>
    </div>
    <!-- 要素2:业绩比较基准 -->
    <div class="rate-row" id="benchmark">
      <span class="rate-label">业绩比较基准<br>(年化)</span>
      <span class="rate-num">2.85</span><span class="rate-unit">%</span>
      <span class="rate-side"><span class="v num">1.0285</span><span class="k">最新单位净值</span></span>
    </div>
    <div class="rate-note">业绩比较基准不代表投资收益,不构成收益承诺 · 净值更新至 2026-11-24(演示数据)</div>
  </div>

  <!-- 要素3/4/5/6:对照区四宫格 -->
  <div class="grid">
    <div class="cell"><div class="v num">180 天</div><div class="k">产品期限</div></div>
    <div class="cell"><div class="v num">1,000 元</div><div class="k">起购金额</div></div>
    <div class="cell"><div class="v">R2</div><div class="k">风险等级</div></div>
    <div class="cell"><div class="v">C2 及以上</div><div class="k">适合投资者</div></div>
  </div>

  <!-- 净值走势(演示数据) -->
  <div class="card">
    <h3><svg width="14" height="14" viewBox="0 0 14 14" fill="none" stroke="#B5432A" stroke-width="1.5" stroke-linecap="round"><path d="M1.5 11.5 5 7.5l2.5 2L12.5 3"/><path d="M9.5 3h3v3"/></svg>净值走势<span class="more">近六月 ›</span></h3>
    <svg width="100%" height="86" viewBox="0 0 326 86" preserveAspectRatio="none">
      <defs><linearGradient id="nv" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#C8401F" stop-opacity=".16"/><stop offset="1" stop-color="#C8401F" stop-opacity="0"/></linearGradient></defs>
      <line x1="0" y1="22" x2="326" y2="22" stroke="#f0f1f3"/><line x1="0" y1="48" x2="326" y2="48" stroke="#f0f1f3"/><line x1="0" y1="74" x2="326" y2="74" stroke="#f0f1f3"/>
      <path d="M0 66 L27 63 L54 64 L81 58 L108 55 L135 56 L162 49 L189 45 L216 46 L243 38 L270 34 L297 30 L326 24 L326 86 L0 86 Z" fill="url(#nv)"/>
      <path d="M0 66 L27 63 L54 64 L81 58 L108 55 L135 56 L162 49 L189 45 L216 46 L243 38 L270 34 L297 30 L326 24" fill="none" stroke="#C8401F" stroke-width="1.8" stroke-linejoin="round"/>
      <circle cx="326" cy="24" r="3" fill="#C8401F"/><circle cx="326" cy="24" r="6" fill="#C8401F" fill-opacity=".15"/>
    </svg>
    <div class="chart-meta"><span>2026-05</span><span class="chart-tag">演示数据 · 非真实净值</span><span>2026-11</span></div>
  </div>

  <!-- 产品要素 -->
  <div class="card">
    <h3>产品要素<span class="more">产品说明书 ›</span></h3>
    <div class="kv"><span class="k">募集期</span><span class="v num">2026-11-25 至 2026-12-02</span></div>
    <div class="kv"><span class="k">起息日</span><span class="v num">2026-12-03</span></div>
    <div class="kv"><span class="k">到期日</span><span class="v num">2027-06-01</span></div>
    <div class="kv"><span class="k">赎回方式</span><span class="v">封闭式,存续期内不可赎回</span></div>
    <div class="kv"><span class="k">收益分配</span><span class="v">到期一次性还本付息</span></div>
    <div class="kv"><span class="k">投资范围</span><span class="v">固定收益类资产不低于 80%</span></div>
  </div>

  <!-- 要素1:风险提示 -->
  <div class="card">
    <h3><svg width="14" height="14" viewBox="0 0 14 14" fill="none" stroke="#8a919f" stroke-width="1.4" stroke-linejoin="round"><path d="M7 1.2 12.4 3.4v3.4c0 3.2-2.3 5.4-5.4 6.4-3.1-1-5.4-3.2-5.4-6.4V3.4L7 1.2z"/><path d="M7 4.6v3" stroke-linecap="round"/><circle cx="7" cy="9.8" r=".7" fill="#8a919f" stroke="none"/></svg>投资风险提示</h3>
    <p class="risk-notice" id="risk-notice">本理财产品不承诺保证本金和收益,可能因市场波动导致投资亏损。理财非存款,产品有风险,投资须谨慎。本产品为封闭式净值型产品,存续期内不支持赎回,请合理安排资金。过往业绩不代表未来表现,管理人管理的其他产品业绩不构成对本产品业绩的保证。请先完成风险承受能力评估后购买。</p>
  </div>

  <!-- 要素7:协议文本 -->
  <div class="card">
    <p class="agree-row" id="agree-row"><svg class="cb" viewBox="0 0 15 15" fill="none"><circle cx="7.5" cy="7.5" r="6.8" stroke="#c3c9d4" stroke-width="1.2"/></svg><span>我已阅读并同意 <a href="#">《产品说明书》</a><a href="#">《风险揭示书》</a><a href="#">《投资者权益须知》</a></span></p>
  </div>

  <!-- 要素8:托管与备案 -->
  <div class="card">
    <h3>产品备案与托管</h3>
    <p class="custody">全国银行业理财信息登记系统编码:Z1234520260001(演示编号)<br>产品管理人:恒盛理财有限责任公司(演示机构)<br>托管机构:示例银行股份有限公司(演示机构)</p>
  </div>

  <!-- 购买区 -->
  <div class="buybar">
    <div class="match"><svg width="13" height="13" viewBox="0 0 13 13" fill="none"><circle cx="6.5" cy="6.5" r="6" fill="#0DA740"/><path d="M3.8 6.7 5.7 8.6 9.3 4.7" stroke="#fff" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/></svg>风险测评结果 C2(稳健型)· 与本产品风险等级匹配</div>
    <button class="buy-btn">立即购买</button>
    <div class="buy-slogan">理财非存款 · 产品有风险 · 投资须谨慎</div>
  </div>

  <div class="footer-note">本页面为合成演示素材,机构、编号、净值与数据均为虚构,不构成任何投资建议或销售要约。</div>
</body>
</html>

Step 2: Inject three issues

A script makes three exact replacements on the correct page to simulate a problematic redesign. Each replacement first verifies that the original string appears exactly once on the page, so nothing else is changed by accident. The script writes an injection_log.json issue record for later reconciliation. Injection script
#!/usr/bin/env python3
"""注入 3 处合规回归到基线页,生成 regression.html + 真值 injection_log.json。
每处注入都对应一条明确合规要素违规,作为「开卷考试」标准答案。"""
import json, os

BASE_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), "assets")
baseline = open(os.path.join(BASE_DIR, "baseline.html"), encoding="utf-8").read()

# (id, 合规要素, 原文片段, 替换片段, 预期违规描述)
INJECTIONS = [
    ("I1", "要素1 风险提示可见性",
     '<p class="risk-notice" id="risk-notice">',
     '<p class="risk-notice" id="risk-notice" style="color:#ffffff">',
     "投资风险提示正文颜色改为纯白(与白底相同),肉眼完全不可见,违反『风险提示必须显著展示』。"),
    ("I2", "要素2 费率小数点错位",
     '<span class="rate-num">2.85</span>',
     '<span class="rate-num">28.5</span>',
     "业绩比较基准由 2.85% 改为 28.5%(小数点右移一位,数值虚高约 10 倍),违反『费率数字准确展示』。"),
    ("I3", "要素7 协议字号不可读",
     ".agree-row { font-size: 13px; color: #4e5561; }",
     ".agree-row { font-size: 7px; color: #4e5561; }",
     "『我已阅读并同意』协议行字号由 13px 缩到 7px,几乎不可读,违反『协议文本必须清晰可读』。"),
]

regression = baseline
log = []
for iid, elem, old, new, expect in INJECTIONS:
    assert regression.count(old) == 1, f"{iid} 原文匹配次数异常: {regression.count(old)}"
    regression = regression.replace(old, new, 1)
    log.append({"id": iid, "element": elem, "injected": new[:60], "expected_violation": expect})

open(os.path.join(BASE_DIR, "regression.html"), "w", encoding="utf-8").write(regression)
json.dump({"injections": log, "control": "grid 期限/起购/风险等级卡片区未改动,应零误报"},
          open(os.path.join(BASE_DIR, "injection_log.json"), "w", encoding="utf-8"),
          ensure_ascii=False, indent=2)
print("regression.html 与 injection_log.json 已生成,注入", len(log), "处:")
for x in log:
    print(" -", x["id"], x["element"])
IDElementInjectionExpected violation
I1Element 1: risk disclosure visibilityBody color changed to #ffffff (same as the white card)Risk disclosure visually hidden, P0
I2Element 2: rate accuracy2.85 replaced with 28.5Benchmark inflated about 10x, P0
I3Element 7: agreement readabilityAgreement font size changed from 13px to 7pxAgreement text unreadable, P1

Step 3: Screenshot both versions

Playwright opens both pages at 390px mobile width and 2x scale. It captures one full-page screenshot per version, then a close-up per issue element and per unchanged control region, recording the position of each for later reconciliation. When the page is taller than the viewport, scrolling can shift the recorded positions, so the script expands the viewport to the full page height before recording.

Step 4: Pixel diff to find changed regions

The diff works in two layers. First, it boxes every changed block on the full-page screenshot and checks whether all three issues are inside a box. Then it computes the changed-pixel ratio per region, counting a change only when a color difference exceeds the allowed tolerance to filter rendering noise.
RegionChanged pixel ratioNote
I1 Risk disclosure12.21%The disclosure text changes from gray to white
I2 Benchmark3.05%Only the number changes; the small region is still boxed
I3 Agreement text12.62%Smaller font compresses the agreement row
Control region0.00%Pixel-identical in both versions
The full page yields many changed blocks, and all three issues are boxed (3/3). Most of the remaining blocks are not actual content changes: shrinking the agreement font makes the card shorter, so the custody info and footer move up. The verdict below is from the measured run; the screenshots on this page are an English-localized rendering of the same before/after states. Pixel diff answers "where may something have changed" and deliberately over-boxes rather than missing a change. The model's next step distinguishes "just moved" from "actually violating," which avoids flooding reviewers with false alarms.

Step 5: Model checks each region for violations

Send the four before/after region pairs and the compliance checklist in one request to qwen4-max, with images embedded directly in the request. Require a fixed table per region: changed or not, what changed, whether it is a violation, and severity (P0 = high risk, must block; P1 = readability issue, fix; P2 = minor; none = no issue). Do not allow free-form output. Before and after comparison

Before (correct): all 8 compliance elements present

Correct version of the wealth product page: risk disclosure, benchmark, term, starting amount, risk level, investor suitability, agreement text, and registration info are all present

After (issue version): risk disclosure hidden, benchmark inflated, agreement text shrunk

Issue version of the wealth product page: the risk disclosure is invisible, the benchmark shows 28.5%, and the agreement line is much smaller
Region comparison (for locating each issue)

I1 risk disclosure (before)

I1 risk disclosure before

I1 risk disclosure (after: hidden)

I1 risk disclosure after

I2 performance benchmark (before)

I2 performance benchmark before

I2 performance benchmark (after: 28.5%)

I2 performance benchmark after

I3 agreement text (before)

I3 agreement text before

I3 agreement text (after: 7px)

I3 agreement text after

Control region (before)

control region before

Control region (after: no change)

control region after
You are running a pre-release compliance regression check on a financial product app page. For each region below, you receive two screenshots: before (correct version) and after (issue version).
Compliance checklist:
1. Risk disclosure must be clearly readable
2. Performance benchmark numbers must be accurate
3. Product term must be clear
4. Starting amount must be clear
5. Risk level must be clear
6. Investor suitability must be clear
7. Agreement text must be clearly readable
8. Registration and custody information must be prominent

For each region, decide whether the content or styling changed, what changed, whether it is a compliance violation, and assign P0 (high-risk violation) / P1 (readability issue) / P2 (minor) / none. Output only the fixed JSON structure:
{
  "regions": [
    {
      "region": "region ID",
      "changed": true or false,
      "what_changed": "description",
      "compliance_issue": true or false,
      "severity": "P0 or P1 or P2 or none",
      "reason": "basis for the verdict"
    }
  ]
}
Key settings: model qwen4-max · fixed-format verdict table · output limit 3000 (the model's reasoning also counts) · four region pairs and the checklist in one request.
Reserve enough output length. The model's reasoning counts toward the output limit; too small a limit truncates the verdict.

Step 6: Produce the release verdict

A script reconciles the model's region verdicts with the injection record: any version with a P0 blocks release, P1 requires a fix and recheck, and everything else is released. For I2, the model pinpoints the violation: "the annualized performance benchmark changed from 2.85% to 28.5%, with the decimal point moved one place right and the value inflated 10 times." For I1, it notes that the disclosure "disappeared entirely and the region became blank, with no text or placeholder." In production, run this chain as an automated pre-release check: screenshot the page, diff, judge, and reconcile, then attach the report to the release ticket.

Notes

  • Coverage boundary: This chain checks only the rendered appearance of a page. Effects after button clicks, content that loads later, and differences across device models are out of scope. Formal release decisions should still follow the institution's own compliance review process; use this playbook as an auxiliary acceptance tool.
  • Replaceable checklist: The 8 items here are a demo standard. For real work, rewrite them according to the institution's current compliance rules; the model judges against the checklist you provide.
  • Material notice: The product page, institution names, registration numbers, and rate data are synthetic demo material; the three issues were deliberately injected for demonstration.