Strengthen AI defect manual fix evidence in PDF report
这是 GitLink UCAgent 赛题的 NutShell Cache 验证提交包。作品包含两条证据链:
重要边界:runner.py 是 Python harness;真实 RTL 入口是 rtl_scoreboard_runner.py 或 scripts/run_packaged_rtl_scoreboard.py。真实 RTL run 已完成 2500 generated / 2492 executed / 0 failures。该 D-cache RTL 配置对 io_flush[1] 触发设计断言,所以本提交不声明 RTL flush 覆盖;flush 语义由 Python harness 覆盖,并在 RTL 统计中作为 waiver。
runner.py
rtl_scoreboard_runner.py
scripts/run_packaged_rtl_scoreboard.py
io_flush[1]
Linux 解压后应可直接运行:
unzip ucagent-nutshell-cache-verification.zip cd ucagent-nutshell-cache-verification python -m pytest -q
Python harness:
python -m ucagent_cache_verifier.runner --seed 20260706 --transactions 2500 python -m ucagent_cache_verifier.runner --seed 20260706 --transactions 2500 --inject-bugs --artifact-dir artifacts_buggy
真实 RTL scoreboard:
python scripts/run_packaged_rtl_scoreboard.py
该脚本会自动设置 PYTHONPATH,使用 zip 中随包保存的 external/Example-NutShellCache/Cache/UT_Cache 运行时包装目录。若评委环境 ABI 与随包 wrapper 不兼容,请按 docs/rtl_evidence/reproduce_rtl.md 重新生成 UT_Cache 后再运行同一脚本。
PYTHONPATH
external/Example-NutShellCache/Cache/UT_Cache
docs/rtl_evidence/reproduce_rtl.md
UT_Cache
RTL_TRANSACTION_SMOKE_RC:0
tools/toffee_compat/sitecustomize.py
1 passed
ReadTextFile
SetCurrentStageJournal
Complete
Exit
Evidence is under docs/rtl_evidence/:
docs/rtl_evidence/
nutshell_commit.txt
picker_command.txt
toffee_port_map.md
reproduce_rtl.md
rtl_compile.log
rtl_transaction_smoke.log
rtl_scoreboard.console.log
rtl_scoreboard.fst
rtl_scoreboard_coverage.dat
rtl_pytest_official_fixed.log
rtl_coverage_waiver.md
UCAgent evidence is under docs/ucagent_raw_sessions/:
docs/ucagent_raw_sessions/
session_01_prompt.md
session_01_output.md
session_01_manual_fix.diff
coverage_before_after.md
official_ucagent_cli_run.md
official_ucagent_codex_backend_run.md
platform_export/manual_mcp_server.sanitized.log
platform_export/ucagent_mcp_direct_codex.sanitized.log
The sanitized logs are the reviewer-facing UTF-8 evidence. Raw console logs are preserved in the same directory.
src/ucagent_cache_verifier/cache_model.py
src/ucagent_cache_verifier/generator.py
src/ucagent_cache_verifier/scoreboard.py
src/ucagent_cache_verifier/coverage.py
src/ucagent_cache_verifier/rtl_scoreboard_runner.py
docs/verification_report.md
docs/rtl_integration.md
UCAgent NutShell Cache industrial verification submission
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802047560号
UCAgent NutShell Cache Verification
这是 GitLink UCAgent 赛题的 NutShell Cache 验证提交包。作品包含两条证据链:
重要边界:
runner.py是 Python harness;真实 RTL 入口是rtl_scoreboard_runner.py或scripts/run_packaged_rtl_scoreboard.py。真实 RTL run 已完成 2500 generated / 2492 executed / 0 failures。该 D-cache RTL 配置对io_flush[1]触发设计断言,所以本提交不声明 RTL flush 覆盖;flush 语义由 Python harness 覆盖,并在 RTL 统计中作为 waiver。Quick Start
Linux 解压后应可直接运行:
Python harness:
真实 RTL scoreboard:
该脚本会自动设置
PYTHONPATH,使用 zip 中随包保存的external/Example-NutShellCache/Cache/UT_Cache运行时包装目录。若评委环境 ABI 与随包 wrapper 不兼容,请按docs/rtl_evidence/reproduce_rtl.md重新生成UT_Cache后再运行同一脚本。Results
RTL_TRANSACTION_SMOKE_RC:0tools/toffee_compat/sitecustomize.py,1 passedReadTextFile/SetCurrentStageJournal/Complete/ExitRTL Evidence
Evidence is under
docs/rtl_evidence/:nutshell_commit.txt: Example-NutShellCache and Picker commitspicker_command.txt: Picker generation commandtoffee_port_map.md: wrapper port mapreproduce_rtl.md: bundled wrapper and regeneration notesrtl_compile.log: Verilator/CMake/Ninja compile logrtl_transaction_smoke.log: port-level transaction smoke logrtl_scoreboard.console.log: RTL scoreboard summaryrtl_scoreboard.fst: RTL scoreboard FST waveformrtl_scoreboard_coverage.dat: RTL scoreboard Verilator coverage databasertl_pytest_official_fixed.log: fixed official pytest smoke flow logrtl_coverage_waiver.md: unsupported RTL flush/post-flush waiverUCAgent Evidence
UCAgent evidence is under
docs/ucagent_raw_sessions/:session_01_prompt.mdsession_01_output.mdsession_01_manual_fix.diffcoverage_before_after.mdofficial_ucagent_cli_run.mdofficial_ucagent_codex_backend_run.mdplatform_export/manual_mcp_server.sanitized.logplatform_export/ucagent_mcp_direct_codex.sanitized.logThe sanitized logs are the reviewer-facing UTF-8 evidence. Raw console logs are preserved in the same directory.
Key Files
src/ucagent_cache_verifier/cache_model.py: Python reference model and bug-injected DUTsrc/ucagent_cache_verifier/generator.py: directed plus constrained-random stimulussrc/ucagent_cache_verifier/scoreboard.py: sync/async scoreboardsrc/ucagent_cache_verifier/coverage.py: threshold-based functional coveragesrc/ucagent_cache_verifier/rtl_scoreboard_runner.py: real RTL semantic scoreboard runnerscripts/run_packaged_rtl_scoreboard.py: packaged RTL scoreboard entry pointdocs/verification_report.md: verification reportdocs/rtl_integration.md: RTL integration notes