feat(report): Add battery report generation and update course documentation
- Introduced `battery_report.json` for local data analysis, excluding it from the database. - Enhanced `AGENTS.md` to reflect updated test baseline with 795 passed tests. - Added new metrics for trade flow in `dict_service.py`, improving transaction data analysis. - Updated regex patterns in `guardrail.py` to better handle numeric extraction and prevent misinterpretation of tokens. - Expanded course modules with new content on FR-8/9/10 capabilities and L3 role management. - Improved concurrency handling in transaction processing to ensure accurate alert generation. This update enhances data analysis capabilities and improves the overall structure and clarity of course materials.
This commit is contained in:
@@ -31,6 +31,24 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="screen animate-in">
|
||||
<h2>R-02 阻断 vs R-01 大额待审(同网关、不同结果)</h2>
|
||||
<p>模拟写 Core 网关(<code>trade_gateway.py</code>)里<strong>先</strong>跑适当性:不过 → 交易写不进去(R-02);过了 → 写入 <code>core_trade</code> → 规则引擎再扫 R-01 大额等 → 出 <code>pending_review</code> 预警。</p>
|
||||
<div class="pattern-cards">
|
||||
<div class="pattern-card">
|
||||
<h3>A-1 · R-02 阻断</h3>
|
||||
<p>CUST-1001 + PROD-161725 · 风评与产品 R 档不匹配 → 网关拒绝 · 可有 suitability 类预警 · <strong>无成交</strong></p>
|
||||
</div>
|
||||
<div class="pattern-card">
|
||||
<h3>A-3 · R-01 大额待审</h3>
|
||||
<p>CUST-3001 · 50 万申购 → 成交写入 Core → 引擎出大额类 <code>pending_review</code> · 台账可见</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="callout callout-warning">
|
||||
<strong>指挥 AI 时:</strong> 别把「阻断交易」和「出预警待审」混成一个状态——前者在网关,后者在引擎聚合。
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="screen animate-in">
|
||||
<h2>代码地图</h2>
|
||||
<div class="file-tree animate-in">
|
||||
|
||||
Reference in New Issue
Block a user