docs: add rtl smoke artifact coverage evidence
CacheSage-UC 面向 UCAgent NutShell Cache 验证任务,目标是把 cache 验证从“随机跑一批读写”推进到可复盘的工程流程:场景先写清楚,事务能复现,scoreboard 有明确不变量,报告把 Python harness 数据、RTL smoke artifact 和 RTL code coverage 状态分开记录。
当前仓库包含可运行的 Python 验证核心、23 个功能覆盖点、5 类确定性故障注入、NutShell 上游示例工程锁定脚本、Picker/Toffee 适配边界,以及人工复核记录。项目不声称已经发现真实 NutShell RTL bug;现有 fault artifact 用于证明 injected fault 能被 harness 和 scoreboard 检出。
python -m cachesage_uc.cli run --seed 11 --count 96 --output reports/sample-run-seed11.json
drop_dirty_writeback
ignore_write_mask
stuck_replacement
refill_shift
unstable_under_stall
upstream.lock.json
scripts/fetch_upstream_example.py
src/cachesage_uc/adapters/
scripts/run_nutshell_smoke.py
not_exported
review_journal.jsonl
docs/review-catalog.md
python -m pip install -e . python -m unittest discover -s tests -v python -m compileall -q src tests scripts python -m cachesage_uc.cli plan python -m cachesage_uc.cli run --seed 11 --count 96 --output reports/sample-run-seed11.json python scripts/generate_report.py --output reports/initial-verification-report.md
基础验证层只使用 Python 标准库。Picker、Toffee、Toffee-Test 和 make 只用于 RTL smoke 路径。
python scripts/fetch_upstream_example.py --lock upstream.lock.json --dest third_party/Example-NutShellCache --dry-run python scripts/fetch_upstream_example.py --lock upstream.lock.json --dest third_party/Example-NutShellCache python scripts/run_nutshell_smoke.py --upstream third_party/Example-NutShellCache
如果本机没有上游目录或缺少 Picker/Toffee 相关依赖,run_nutshell_smoke.py 会写出 machine-readable 状态文件,并保持 Python harness 回归可独立复现。
run_nutshell_smoke.py
src/cachesage_uc/ 验证核心、证据模型、CLI 和适配层 tests/ 标准库 unittest 回归 docs/ 验证计划、上游调研、Toffee 流程、复核记录 examples/ 机器可读样例证据 reports/ 生成记录和样例验证结果 scripts/ 报告生成、上游拉取和 smoke helper review_journal.jsonl prompt / draft / review correction 记录 upstream.lock.json Example-NutShellCache 固定来源信息
Apache License 2.0,见 LICENSE。
CacheSage-UC 是一个基于 UCAgent、Picker 与 Toffee 构建的 NutShell Cache 自动化验证项目,通过覆盖率驱动的 AI-HIL 协同流程,完成 Cache 读写、miss/refill、替换、dirty eviction、随机压力与故障注入验证,并系统记录 AI 生成、人工修正和覆盖率闭环过程。
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802047560号
CacheSage-UC
CacheSage-UC 面向 UCAgent NutShell Cache 验证任务,目标是把 cache 验证从“随机跑一批读写”推进到可复盘的工程流程:场景先写清楚,事务能复现,scoreboard 有明确不变量,报告把 Python harness 数据、RTL smoke artifact 和 RTL code coverage 状态分开记录。
当前仓库包含可运行的 Python 验证核心、23 个功能覆盖点、5 类确定性故障注入、NutShell 上游示例工程锁定脚本、Picker/Toffee 适配边界,以及人工复核记录。项目不声称已经发现真实 NutShell RTL bug;现有 fault artifact 用于证明 injected fault 能被 harness 和 scoreboard 检出。
当前交付状态
python -m cachesage_uc.cli run --seed 11 --count 96 --output reports/sample-run-seed11.jsondrop_dirty_writeback、ignore_write_mask、stuck_replacement、refill_shift、unstable_under_stallupstream.lock.json、scripts/fetch_upstream_example.pysrc/cachesage_uc/adapters/、scripts/run_nutshell_smoke.pynot_exported原因,不与 Python harness 覆盖率混写验证能力
review_journal.jsonl和docs/review-catalog.md记录草案问题、复核发现和修正方式复现命令
基础验证层只使用 Python 标准库。Picker、Toffee、Toffee-Test 和 make 只用于 RTL smoke 路径。
NutShell / Toffee 环境说明
如果本机没有上游目录或缺少 Picker/Toffee 相关依赖,
run_nutshell_smoke.py会写出 machine-readable 状态文件,并保持 Python harness 回归可独立复现。仓库结构
许可证
Apache License 2.0,见 LICENSE。