dsh-livebench-panel 0.2.8 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.js +8 -1
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -197,7 +197,14 @@ window.__ModuleLoader__.load({
|
|
|
197
197
|
const toggleList = (key, value) => setSel((prev) => {
|
|
198
198
|
const list = prev[key];
|
|
199
199
|
const next = list.includes(value) ? list.filter((v) => v !== value) : [...list, value];
|
|
200
|
-
|
|
200
|
+
const out = { ...prev, [key]: next };
|
|
201
|
+
if (key === "cats") {
|
|
202
|
+
// 取消分类时同步清除该分类下已选的任务:否则这些任务标签
|
|
203
|
+
// 会从界面消失(分类不再选中)却仍在提交列表里 —— 用户只选了
|
|
204
|
+
// coding_completion 却连带跑了 cta 就是这个原因。
|
|
205
|
+
out.tasks = prev.tasks.filter((t) => next.includes(t.split("/")[0]));
|
|
206
|
+
}
|
|
207
|
+
return out;
|
|
201
208
|
});
|
|
202
209
|
|
|
203
210
|
// 已选模型解析(provider::model)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-livebench-panel",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.9",
|
|
4
4
|
"description": "DSH web plugin: a LiveBench tab in the Trajectory view (right of 对话/轨迹). Run LiveBench evaluations against every model configured in the DeepSeek Harness — pick provider/model, category, task, release and question range from dropdowns, watch progress, and read scores in place.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|