sw_export_eval_template
Generate an evaluation script skeleton so custom wireless algorithms can register standardized per-sample results and be compared via the built-in benchmark.
Instructions
给自研算法导出一份评测脚本骨架,让它能进门 2 / 门 3。
内置的 sw_compare_arms 只认六种预编码,自研的 CSI 压缩、信道估计、
波束管理、调度算法进不来。这个工具补那一层:
拿到
code,写进 .py 文件;把
my_algorithm的函数体换成你的算法(不改也能跑, 预填的示例是估计 CSI 下的 SVD vs Type I,先确认管道通再换);运行它,会注册两个臂并打印
result_id;把两个 id 交给
sw_compare_results判决。
MCP 不执行用户代码,脚本在用户自己的进程里跑,只把标准化的逐样本 结果注册回来。逐样本数值落 .npz,不进 MCP JSON。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metric | No | spectral_efficiency | |
| dataset_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||