From 5dec38f14a4c8c1befc358e99f6dbc29e4b56df1 Mon Sep 17 00:00:00 2001 From: zizi Date: Fri, 18 Sep 2026 23:15:55 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E4=BD=9C=E8=80=85=E7=BB=8F=E9=AA=8C):=20?= =?UTF-8?q?=E5=A4=8D=E5=88=A9=E6=9C=BA=E5=88=B6=E6=89=B9=E6=AC=A11?= =?UTF-8?q?=E2=80=94=E2=80=94=E5=8F=82=E8=80=83=E6=8C=91=E9=80=89=E5=8F=8D?= =?UTF-8?q?=E9=A6=88=E7=A7=8D=E7=B1=BB=E8=90=BD=E8=B4=A6=E3=80=81=E6=8C=91?= =?UTF-8?q?=E9=80=89=E4=BF=A1=E5=8F=B7=E8=81=9A=E5=90=88=E4=B8=8E=E6=8E=A5?= =?UTF-8?q?=E5=85=A5=E4=B8=89=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/接口契约/生成/openapi.generated.json | 1726 ++++++++++++--------- src/muse/作者经验/反馈对.py | 25 +- src/muse/作者经验/存储.py | 48 + src/muse/作者经验/接口.py | 18 +- src/muse/作者经验/模型.py | 57 + src/muse/接入/cli/入口.py | 2 + src/muse/接入/cli/经验命令.py | 7 + src/muse/接入/http/路由/作者经验.py | 19 + src/muse/接入/经验操作.py | 15 + tests/契约/test_参考挑选反馈合同.py | 114 ++ tests/用例清单.json | 191 +++ tests/集成/test_参考挑选反馈.py | 114 ++ web/src/接口/生成/类型.ts | 1127 ++++++++------ 13 files changed, 2219 insertions(+), 1244 deletions(-) create mode 100644 tests/契约/test_参考挑选反馈合同.py create mode 100644 tests/集成/test_参考挑选反馈.py diff --git a/docs/接口契约/生成/openapi.generated.json b/docs/接口契约/生成/openapi.generated.json index cf8dbeb..30a76ff 100644 --- a/docs/接口契约/生成/openapi.generated.json +++ b/docs/接口契约/生成/openapi.generated.json @@ -1364,7 +1364,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________69" + "$ref": "#/components/schemas/muse____________________70" } } } @@ -1423,7 +1423,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________70" + "$ref": "#/components/schemas/muse____________________71" } } } @@ -1473,7 +1473,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________71" + "$ref": "#/components/schemas/muse____________________72" } } } @@ -1515,7 +1515,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________75" + "$ref": "#/components/schemas/muse____________________76" } } } @@ -1547,7 +1547,7 @@ "application/json": { "schema": { "items": { - "$ref": "#/components/schemas/muse__________________36" + "$ref": "#/components/schemas/muse__________________37" }, "type": "array", "title": "Response List Works" @@ -1615,7 +1615,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________76" + "$ref": "#/components/schemas/muse____________________77" } } } @@ -1667,7 +1667,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________71" + "$ref": "#/components/schemas/muse____________________72" } } } @@ -1709,7 +1709,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse__________________38" + "$ref": "#/components/schemas/muse__________________39" } } } @@ -1759,7 +1759,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________71" + "$ref": "#/components/schemas/muse____________________72" } } } @@ -1811,7 +1811,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________71" + "$ref": "#/components/schemas/muse____________________72" } } } @@ -1980,7 +1980,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________78" + "$ref": "#/components/schemas/muse____________________79" } } } @@ -2022,7 +2022,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________79" + "$ref": "#/components/schemas/muse____________________80" } } } @@ -2072,7 +2072,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________71" + "$ref": "#/components/schemas/muse____________________72" } } } @@ -2177,7 +2177,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/muse__________________39" + "$ref": "#/components/schemas/muse__________________40" }, "title": "Response List Plans" } @@ -2231,7 +2231,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________71" + "$ref": "#/components/schemas/muse____________________72" } } } @@ -2273,7 +2273,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/muse____________________80" + "$ref": "#/components/schemas/muse____________________81" }, "title": "Response List Plan Candidates" } @@ -2334,7 +2334,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________80" + "$ref": "#/components/schemas/muse____________________81" } } } @@ -2386,7 +2386,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________71" + "$ref": "#/components/schemas/muse____________________72" } } } @@ -2428,7 +2428,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse__________________39" + "$ref": "#/components/schemas/muse__________________40" } } } @@ -2480,7 +2480,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________81" + "$ref": "#/components/schemas/muse____________________82" } } } @@ -2532,7 +2532,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________71" + "$ref": "#/components/schemas/muse____________________72" } } } @@ -2583,7 +2583,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse__________________39" + "$ref": "#/components/schemas/muse__________________40" } } } @@ -2676,7 +2676,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________82" + "$ref": "#/components/schemas/muse____________________83" } } } @@ -2945,7 +2945,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/muse____________________83" + "$ref": "#/components/schemas/muse____________________84" }, "title": "Response List Document History" } @@ -3016,7 +3016,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________84" + "$ref": "#/components/schemas/muse____________________85" } } } @@ -3066,7 +3066,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________71" + "$ref": "#/components/schemas/muse____________________72" } } } @@ -3118,7 +3118,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________71" + "$ref": "#/components/schemas/muse____________________72" } } } @@ -5551,7 +5551,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________71" + "$ref": "#/components/schemas/muse____________________72" } } } @@ -5683,7 +5683,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________71" + "$ref": "#/components/schemas/muse____________________72" } } } @@ -5836,7 +5836,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________71" + "$ref": "#/components/schemas/muse____________________72" } } } @@ -6124,7 +6124,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________71" + "$ref": "#/components/schemas/muse____________________72" } } } @@ -6280,7 +6280,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________71" + "$ref": "#/components/schemas/muse____________________72" } } } @@ -6360,7 +6360,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________71" + "$ref": "#/components/schemas/muse____________________72" } } } @@ -6401,7 +6401,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________71" + "$ref": "#/components/schemas/muse____________________72" } } } @@ -6499,6 +6499,98 @@ } } }, + "/api/v1/reference-selections": { + "post": { + "tags": [ + "作者经验" + ], + "summary": "记录参考挑选", + "operationId": "capture_reference_selection", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/muse____________________42" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "additionalProperties": true, + "type": "object", + "title": "Response Capture Reference Selection" + } + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + } + } + }, + "/api/v1/reference-selection-signals": { + "get": { + "tags": [ + "作者经验" + ], + "summary": "读挑选信号", + "operationId": "read_reference_selection_signals", + "parameters": [ + { + "name": "domain", + "in": "query", + "required": false, + "schema": { + "type": "string", + "maxLength": 100, + "default": "", + "title": "Domain" + } + } + ], + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + }, + "title": "Response Read Reference Selection Signals" + } + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + } + } + }, "/api/v1/improvements": { "post": { "tags": [ @@ -6753,7 +6845,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________42" + "$ref": "#/components/schemas/muse____________________43" } } }, @@ -6797,7 +6889,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse______________________9" + "$ref": "#/components/schemas/muse______________________10" } } } @@ -7009,7 +7101,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________46" + "$ref": "#/components/schemas/muse____________________47" } } }, @@ -7065,7 +7157,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse______________________10" + "$ref": "#/components/schemas/muse______________________11" } } } @@ -7119,7 +7211,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________71" + "$ref": "#/components/schemas/muse____________________72" } } } @@ -7289,7 +7381,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________71" + "$ref": "#/components/schemas/muse____________________72" } } } @@ -7656,7 +7748,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________71" + "$ref": "#/components/schemas/muse____________________72" } } } @@ -7737,7 +7829,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________71" + "$ref": "#/components/schemas/muse____________________72" } } } @@ -7778,7 +7870,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________71" + "$ref": "#/components/schemas/muse____________________72" } } } @@ -8065,7 +8157,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/muse____________________87" + "$ref": "#/components/schemas/muse____________________88" }, "title": "Response List Writing Candidates" } @@ -8117,7 +8209,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________71" + "$ref": "#/components/schemas/muse____________________72" } } } @@ -8257,7 +8349,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________87" + "$ref": "#/components/schemas/muse____________________88" } } } @@ -8298,7 +8390,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________50" + "$ref": "#/components/schemas/muse____________________51" } } } @@ -8309,7 +8401,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________71" + "$ref": "#/components/schemas/muse____________________72" } } } @@ -8338,7 +8430,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________51" + "$ref": "#/components/schemas/muse____________________52" } } }, @@ -8350,7 +8442,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________89" + "$ref": "#/components/schemas/muse____________________90" } } } @@ -8391,7 +8483,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________52" + "$ref": "#/components/schemas/muse____________________53" } } } @@ -8402,7 +8494,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________71" + "$ref": "#/components/schemas/muse____________________72" } } } @@ -8504,7 +8596,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse__________________28" + "$ref": "#/components/schemas/muse__________________29" } } } @@ -8610,7 +8702,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________93" + "$ref": "#/components/schemas/muse____________________94" } } } @@ -8651,7 +8743,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________54" + "$ref": "#/components/schemas/muse____________________55" } } } @@ -8662,7 +8754,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________71" + "$ref": "#/components/schemas/muse____________________72" } } } @@ -8704,7 +8796,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________94" + "$ref": "#/components/schemas/muse____________________95" } } } @@ -8745,7 +8837,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________55" + "$ref": "#/components/schemas/muse____________________56" } } } @@ -8756,7 +8848,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________95" + "$ref": "#/components/schemas/muse____________________96" } } } @@ -8797,7 +8889,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________56" + "$ref": "#/components/schemas/muse____________________57" } } } @@ -8808,7 +8900,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________71" + "$ref": "#/components/schemas/muse____________________72" } } } @@ -8920,7 +9012,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________57" + "$ref": "#/components/schemas/muse____________________58" } } } @@ -8931,7 +9023,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________71" + "$ref": "#/components/schemas/muse____________________72" } } } @@ -9032,7 +9124,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________96" + "$ref": "#/components/schemas/muse____________________97" } } } @@ -9278,7 +9370,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse__________________44" + "$ref": "#/components/schemas/muse__________________45" } } } @@ -9331,7 +9423,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse__________________44" + "$ref": "#/components/schemas/muse__________________45" } } } @@ -9417,7 +9509,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse__________________49" + "$ref": "#/components/schemas/muse__________________50" } } } @@ -9470,7 +9562,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse__________________49" + "$ref": "#/components/schemas/muse__________________50" } } } @@ -9499,7 +9591,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________58" + "$ref": "#/components/schemas/muse____________________59" } } }, @@ -9542,7 +9634,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________59" + "$ref": "#/components/schemas/muse____________________60" } } }, @@ -9585,7 +9677,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse______________________13" + "$ref": "#/components/schemas/muse______________________14" } } }, @@ -9628,7 +9720,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse______________________14" + "$ref": "#/components/schemas/muse______________________15" } } }, @@ -9716,7 +9808,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________66" + "$ref": "#/components/schemas/muse____________________67" } } }, @@ -9759,7 +9851,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse______________________16" + "$ref": "#/components/schemas/muse______________________17" } } }, @@ -9861,7 +9953,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse__________________69" + "$ref": "#/components/schemas/muse__________________70" } } } @@ -9957,7 +10049,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse______________________17" + "$ref": "#/components/schemas/muse______________________18" } } } @@ -10110,7 +10202,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________67" + "$ref": "#/components/schemas/muse____________________68" } } } @@ -10152,7 +10244,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________68" + "$ref": "#/components/schemas/muse____________________69" } } }, @@ -10253,7 +10345,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/muse____________________67" + "$ref": "#/components/schemas/muse____________________68" } } } @@ -11451,6 +11543,33 @@ "title": "反馈请求" }, "muse__________________18": { + "properties": { + "method_version_id": { + "type": "string", + "title": "Method Version Id" + }, + "rank": { + "type": "integer", + "minimum": 1.0, + "title": "Rank" + }, + "score": { + "type": "number", + "minimum": 0.0, + "title": "Score" + } + }, + "additionalProperties": false, + "type": "object", + "required": [ + "method_version_id", + "rank", + "score" + ], + "title": "挑选候选", + "description": "参考挑选中的单个候选:方法版本、检索回执位次与融合得分。" + }, + "muse__________________19": { "properties": { "improvement_id": { "type": "string", @@ -11492,7 +11611,18 @@ ], "title": "改进请求" }, - "muse__________________19": { + "muse__________________2": { + "type": "string", + "enum": [ + "planning", + "generation", + "detection", + "extraction" + ], + "title": "内容用途", + "description": "内容消费用途。" + }, + "muse__________________20": { "properties": { "improvement_id": { "type": "string", @@ -11516,18 +11646,7 @@ ], "title": "改进定位" }, - "muse__________________2": { - "type": "string", - "enum": [ - "planning", - "generation", - "detection", - "extraction" - ], - "title": "内容用途", - "description": "内容消费用途。" - }, - "muse__________________20": { + "muse__________________21": { "properties": { "feedback_ids": { "items": { @@ -11543,7 +11662,7 @@ "improvement": { "anyOf": [ { - "$ref": "#/components/schemas/muse__________________19" + "$ref": "#/components/schemas/muse__________________20" }, { "type": "null" @@ -11605,7 +11724,7 @@ ], "title": "观察请求" }, - "muse__________________21": { + "muse__________________22": { "properties": { "chapter_id": { "type": "string", @@ -11642,7 +11761,7 @@ ], "title": "章节修订" }, - "muse__________________22": { + "muse__________________23": { "properties": { "batch_id": { "type": "string", @@ -11654,7 +11773,7 @@ }, "chapters": { "items": { - "$ref": "#/components/schemas/muse__________________21" + "$ref": "#/components/schemas/muse__________________22" }, "type": "array", "title": "Chapters" @@ -11668,7 +11787,7 @@ ], "title": "全书修订" }, - "muse__________________23": { + "muse__________________24": { "properties": { "chapter_id": { "type": "string", @@ -11709,7 +11828,7 @@ ], "title": "章节版本" }, - "muse__________________24": { + "muse__________________25": { "properties": { "title": { "type": "string", @@ -11742,7 +11861,7 @@ ], "title": "交付材料" }, - "muse__________________25": { + "muse__________________26": { "properties": { "delivery_id": { "type": "string", @@ -11759,13 +11878,13 @@ }, "chapters": { "items": { - "$ref": "#/components/schemas/muse__________________23" + "$ref": "#/components/schemas/muse__________________24" }, "type": "array", "title": "Chapters" }, "materials": { - "$ref": "#/components/schemas/muse__________________24" + "$ref": "#/components/schemas/muse__________________25" } }, "type": "object", @@ -11778,7 +11897,7 @@ ], "title": "定稿请求" }, - "muse__________________26": { + "muse__________________27": { "properties": { "plan_id": { "type": "string", @@ -11810,7 +11929,7 @@ ], "title": "连载请求" }, - "muse__________________27": { + "muse__________________28": { "properties": { "release_id": { "type": "string", @@ -11885,7 +12004,7 @@ ], "title": "发布请求" }, - "muse__________________28": { + "muse__________________29": { "properties": { "schema_id": { "type": "string", @@ -11925,35 +12044,6 @@ ], "title": "事实结构" }, - "muse__________________29": { - "properties": { - "paragraph_id": { - "type": "string", - "title": "Paragraph Id" - }, - "start": { - "type": "integer", - "title": "Start" - }, - "end": { - "type": "integer", - "title": "End" - }, - "quote": { - "type": "string", - "title": "Quote" - } - }, - "additionalProperties": false, - "type": "object", - "required": [ - "paragraph_id", - "start", - "end", - "quote" - ], - "title": "引文锚点" - }, "muse__________________3": { "properties": { "schema_id": { @@ -11995,6 +12085,35 @@ "title": "档案结构" }, "muse__________________30": { + "properties": { + "paragraph_id": { + "type": "string", + "title": "Paragraph Id" + }, + "start": { + "type": "integer", + "title": "Start" + }, + "end": { + "type": "integer", + "title": "End" + }, + "quote": { + "type": "string", + "title": "Quote" + } + }, + "additionalProperties": false, + "type": "object", + "required": [ + "paragraph_id", + "start", + "end", + "quote" + ], + "title": "引文锚点" + }, + "muse__________________31": { "properties": { "chapter_id": { "type": "string", @@ -12014,7 +12133,7 @@ }, "evidence": { "items": { - "$ref": "#/components/schemas/muse__________________29" + "$ref": "#/components/schemas/muse__________________30" }, "type": "array", "title": "Evidence" @@ -12031,7 +12150,7 @@ ], "title": "正文依据" }, - "muse__________________31": { + "muse__________________32": { "properties": { "actor_id": { "type": "string", @@ -12050,7 +12169,7 @@ ], "title": "知情记录" }, - "muse__________________32": { + "muse__________________33": { "properties": { "from_chapter_id": { "type": "string", @@ -12069,7 +12188,7 @@ ], "title": "叙事窗口" }, - "muse__________________33": { + "muse__________________34": { "properties": { "unit_id": { "type": "string", @@ -12122,7 +12241,7 @@ ], "title": "候选金标" }, - "muse__________________34": { + "muse__________________35": { "properties": { "version": { "type": "string", @@ -12170,7 +12289,7 @@ ], "title": "标定策略" }, - "muse__________________35": { + "muse__________________36": { "properties": { "node_id": { "type": "string", @@ -12215,7 +12334,7 @@ ], "title": "节点条目" }, - "muse__________________36": { + "muse__________________37": { "properties": { "work_id": { "type": "string", @@ -12239,7 +12358,7 @@ ], "title": "作品概要" }, - "muse__________________37": { + "muse__________________38": { "properties": { "chapter_id": { "type": "string", @@ -12262,7 +12381,7 @@ ], "title": "章节条目" }, - "muse__________________38": { + "muse__________________39": { "properties": { "work_id": { "type": "string", @@ -12274,7 +12393,7 @@ }, "chapters": { "items": { - "$ref": "#/components/schemas/muse__________________37" + "$ref": "#/components/schemas/muse__________________38" }, "type": "array", "title": "Chapters" @@ -12288,80 +12407,6 @@ ], "title": "目录结果" }, - "muse__________________39": { - "properties": { - "plan_id": { - "type": "string", - "title": "Plan Id" - }, - "work_id": { - "type": "string", - "title": "Work Id" - }, - "chapter_id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "title": "Chapter Id" - }, - "node_id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "title": "Node Id" - }, - "type_id": { - "type": "string", - "title": "Type Id" - }, - "revision": { - "type": "integer", - "title": "Revision" - }, - "content": { - "additionalProperties": true, - "type": "object", - "title": "Content" - }, - "schema_binding": { - "additionalProperties": true, - "type": "object", - "title": "Schema Binding" - }, - "source_dependencies": { - "items": { - "additionalProperties": { - "type": "string" - }, - "type": "object" - }, - "type": "array", - "title": "Source Dependencies" - } - }, - "type": "object", - "required": [ - "plan_id", - "work_id", - "chapter_id", - "type_id", - "revision", - "content", - "schema_binding", - "source_dependencies" - ], - "title": "规划结果" - }, "muse__________________4": { "properties": { "work_id": { @@ -12433,6 +12478,80 @@ "title": "规划保存" }, "muse__________________40": { + "properties": { + "plan_id": { + "type": "string", + "title": "Plan Id" + }, + "work_id": { + "type": "string", + "title": "Work Id" + }, + "chapter_id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Chapter Id" + }, + "node_id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Node Id" + }, + "type_id": { + "type": "string", + "title": "Type Id" + }, + "revision": { + "type": "integer", + "title": "Revision" + }, + "content": { + "additionalProperties": true, + "type": "object", + "title": "Content" + }, + "schema_binding": { + "additionalProperties": true, + "type": "object", + "title": "Schema Binding" + }, + "source_dependencies": { + "items": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "type": "array", + "title": "Source Dependencies" + } + }, + "type": "object", + "required": [ + "plan_id", + "work_id", + "chapter_id", + "type_id", + "revision", + "content", + "schema_binding", + "source_dependencies" + ], + "title": "规划结果" + }, + "muse__________________41": { "properties": { "status": { "type": "string", @@ -12461,7 +12580,7 @@ ], "title": "判据阶段" }, - "muse__________________41": { + "muse__________________42": { "properties": { "sample_count": { "type": "integer", @@ -12495,7 +12614,7 @@ ], "title": "效果分组" }, - "muse__________________42": { + "muse__________________43": { "properties": { "sample_count": { "type": "integer", @@ -12579,14 +12698,14 @@ }, "scenarios": { "additionalProperties": { - "$ref": "#/components/schemas/muse__________________41" + "$ref": "#/components/schemas/muse__________________42" }, "type": "object", "title": "Scenarios" }, "strata": { "additionalProperties": { - "$ref": "#/components/schemas/muse__________________41" + "$ref": "#/components/schemas/muse__________________42" }, "type": "object", "title": "Strata" @@ -12610,7 +12729,7 @@ ], "title": "效果统计" }, - "muse__________________43": { + "muse__________________44": { "properties": { "version": { "type": "string", @@ -12652,18 +12771,18 @@ "title": "Evidence Hash" }, "gate_a": { - "$ref": "#/components/schemas/muse__________________40" + "$ref": "#/components/schemas/muse__________________41" }, "gate_b": { - "$ref": "#/components/schemas/muse__________________40" + "$ref": "#/components/schemas/muse__________________41" }, "metrics": { "anyOf": [ { - "$ref": "#/components/schemas/muse__________________42" + "$ref": "#/components/schemas/muse__________________43" }, { - "$ref": "#/components/schemas/muse____________________97" + "$ref": "#/components/schemas/muse____________________98" } ], "title": "Metrics" @@ -12708,10 +12827,10 @@ ], "title": "效果判据" }, - "muse__________________44": { + "muse__________________45": { "properties": { "assessment": { - "$ref": "#/components/schemas/muse__________________43" + "$ref": "#/components/schemas/muse__________________44" }, "receipt_id": { "anyOf": [ @@ -12763,7 +12882,7 @@ ], "title": "效果读回" }, - "muse__________________45": { + "muse__________________46": { "properties": { "n": { "type": "integer", @@ -12849,7 +12968,7 @@ ], "title": "标定指标" }, - "muse__________________46": { + "muse__________________47": { "properties": { "n": { "type": "integer", @@ -12905,7 +13024,7 @@ ], "title": "标定统计" }, - "muse__________________47": { + "muse__________________48": { "properties": { "judge_unit_id": { "type": "string", @@ -12944,7 +13063,7 @@ ], "title": "标定观察" }, - "muse__________________48": { + "muse__________________49": { "properties": { "version": { "type": "string", @@ -12964,7 +13083,7 @@ "title": "Plan Hash" }, "policy": { - "$ref": "#/components/schemas/muse__________________34" + "$ref": "#/components/schemas/muse__________________35" }, "status": { "type": "string", @@ -12989,7 +13108,7 @@ "metrics": { "anyOf": [ { - "$ref": "#/components/schemas/muse__________________45" + "$ref": "#/components/schemas/muse__________________46" }, { "type": "null" @@ -12998,14 +13117,14 @@ }, "dimensions": { "additionalProperties": { - "$ref": "#/components/schemas/muse__________________46" + "$ref": "#/components/schemas/muse__________________47" }, "type": "object", "title": "Dimensions" }, "observations": { "items": { - "$ref": "#/components/schemas/muse__________________47" + "$ref": "#/components/schemas/muse__________________48" }, "type": "array", "title": "Observations" @@ -13049,48 +13168,6 @@ ], "title": "标定报告" }, - "muse__________________49": { - "properties": { - "result": { - "$ref": "#/components/schemas/muse__________________48" - }, - "receipt_id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "title": "Receipt Id" - }, - "receipt_hash": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "title": "Receipt Hash" - }, - "stopped": { - "type": "boolean", - "title": "Stopped" - } - }, - "additionalProperties": false, - "type": "object", - "required": [ - "result", - "receipt_id", - "receipt_hash", - "stopped" - ], - "title": "标定读回" - }, "muse__________________5": { "properties": { "node_id": { @@ -13132,6 +13209,48 @@ "title": "目录节点" }, "muse__________________50": { + "properties": { + "result": { + "$ref": "#/components/schemas/muse__________________49" + }, + "receipt_id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Receipt Id" + }, + "receipt_hash": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Receipt Hash" + }, + "stopped": { + "type": "boolean", + "title": "Stopped" + } + }, + "additionalProperties": false, + "type": "object", + "required": [ + "result", + "receipt_id", + "receipt_hash", + "stopped" + ], + "title": "标定读回" + }, + "muse__________________51": { "properties": { "arm": { "type": "string", @@ -13160,7 +13279,7 @@ ], "title": "混淆发现" }, - "muse__________________51": { + "muse__________________52": { "properties": { "status": { "type": "string", @@ -13195,7 +13314,7 @@ }, "findings": { "items": { - "$ref": "#/components/schemas/muse__________________50" + "$ref": "#/components/schemas/muse__________________51" }, "type": "array", "title": "Findings" @@ -13219,7 +13338,7 @@ ], "title": "混淆观察" }, - "muse__________________52": { + "muse__________________53": { "properties": { "evidence_id": { "type": "string", @@ -13260,7 +13379,7 @@ ], "title": "文学证据" }, - "muse__________________53": { + "muse__________________54": { "properties": { "claim": { "type": "string", @@ -13282,7 +13401,7 @@ ], "title": "文学推断" }, - "muse__________________54": { + "muse__________________55": { "properties": { "samples": { "type": "integer", @@ -13309,7 +13428,7 @@ ], "title": "报告覆盖" }, - "muse__________________55": { + "muse__________________56": { "properties": { "samples": { "type": "integer", @@ -13332,7 +13451,7 @@ ], "title": "报告分组" }, - "muse__________________56": { + "muse__________________57": { "properties": { "units": { "type": "integer", @@ -13355,7 +13474,7 @@ ], "title": "报告运行" }, - "muse__________________57": { + "muse__________________58": { "properties": { "known_total_usd": { "type": "string", @@ -13408,7 +13527,7 @@ ], "title": "报告费用" }, - "muse__________________58": { + "muse__________________59": { "properties": { "calibration": { "type": "string", @@ -13437,7 +13556,36 @@ ], "title": "文学指标" }, - "muse__________________59": { + "muse__________________6": { + "properties": { + "work_id": { + "type": "string", + "title": "Work Id" + }, + "draft_id": { + "type": "string", + "title": "Draft Id" + }, + "expected_hash": { + "type": "string", + "title": "Expected Hash" + }, + "expected_revision": { + "type": "integer", + "title": "Expected Revision" + } + }, + "additionalProperties": false, + "type": "object", + "required": [ + "work_id", + "draft_id", + "expected_hash", + "expected_revision" + ], + "title": "探索选择" + }, + "muse__________________60": { "properties": { "side": { "type": "string", @@ -13472,36 +13620,7 @@ ], "title": "判断引文" }, - "muse__________________6": { - "properties": { - "work_id": { - "type": "string", - "title": "Work Id" - }, - "draft_id": { - "type": "string", - "title": "Draft Id" - }, - "expected_hash": { - "type": "string", - "title": "Expected Hash" - }, - "expected_revision": { - "type": "integer", - "title": "Expected Revision" - } - }, - "additionalProperties": false, - "type": "object", - "required": [ - "work_id", - "draft_id", - "expected_hash", - "expected_revision" - ], - "title": "探索选择" - }, - "muse__________________60": { + "muse__________________61": { "properties": { "dimension": { "type": "string", @@ -13524,7 +13643,7 @@ }, "evidence": { "items": { - "$ref": "#/components/schemas/muse__________________59" + "$ref": "#/components/schemas/muse__________________60" }, "type": "array", "title": "Evidence" @@ -13540,7 +13659,7 @@ ], "title": "判断维度" }, - "muse__________________61": { + "muse__________________62": { "properties": { "unit_id": { "type": "string", @@ -13594,7 +13713,7 @@ "judgment": { "anyOf": [ { - "$ref": "#/components/schemas/muse____________________102" + "$ref": "#/components/schemas/muse____________________103" }, { "type": "null" @@ -13611,7 +13730,7 @@ "literary": { "anyOf": [ { - "$ref": "#/components/schemas/muse____________________105" + "$ref": "#/components/schemas/muse____________________106" }, { "type": "null" @@ -13656,7 +13775,7 @@ ], "title": "报告判断" }, - "muse__________________62": { + "muse__________________63": { "properties": { "call_id": { "type": "string", @@ -13707,7 +13826,7 @@ ], "title": "调用费用" }, - "muse__________________63": { + "muse__________________64": { "properties": { "unit_id": { "type": "string", @@ -13741,14 +13860,14 @@ }, "calls": { "items": { - "$ref": "#/components/schemas/muse__________________62" + "$ref": "#/components/schemas/muse__________________63" }, "type": "array", "title": "Calls" }, "rejections": { "items": { - "$ref": "#/components/schemas/muse____________________106" + "$ref": "#/components/schemas/muse____________________107" }, "type": "array", "title": "Rejections" @@ -13798,7 +13917,7 @@ ], "title": "报告单元" }, - "muse__________________64": { + "muse__________________65": { "properties": { "candidate_id": { "type": "string", @@ -13822,7 +13941,7 @@ ], "title": "仲裁分数" }, - "muse__________________65": { + "muse__________________66": { "properties": { "kind": { "type": "string", @@ -13855,7 +13974,7 @@ ], "title": "仲裁判定" }, - "muse__________________66": { + "muse__________________67": { "properties": { "status": { "type": "string", @@ -13894,14 +14013,14 @@ }, "scores": { "items": { - "$ref": "#/components/schemas/muse__________________64" + "$ref": "#/components/schemas/muse__________________65" }, "type": "array", "title": "Scores" }, "verdicts": { "items": { - "$ref": "#/components/schemas/muse__________________65" + "$ref": "#/components/schemas/muse__________________66" }, "type": "array", "title": "Verdicts" @@ -13929,7 +14048,7 @@ ], "title": "仲裁报告" }, - "muse__________________67": { + "muse__________________68": { "properties": { "unit_id": { "type": "string", @@ -13977,7 +14096,7 @@ ], "title": "报告检测" }, - "muse__________________68": { + "muse__________________69": { "properties": { "sample_id": { "type": "string", @@ -14018,7 +14137,7 @@ }, "decisions": { "items": { - "$ref": "#/components/schemas/muse__________________61" + "$ref": "#/components/schemas/muse__________________62" }, "type": "array", "title": "Decisions" @@ -14027,10 +14146,10 @@ "items": { "anyOf": [ { - "$ref": "#/components/schemas/muse__________________63" + "$ref": "#/components/schemas/muse__________________64" }, { - "$ref": "#/components/schemas/muse____________________107" + "$ref": "#/components/schemas/muse____________________108" } ] }, @@ -14046,7 +14165,7 @@ }, "literary": { "additionalProperties": { - "$ref": "#/components/schemas/muse__________________66" + "$ref": "#/components/schemas/muse__________________67" }, "type": "object", "title": "Literary" @@ -14064,7 +14183,7 @@ }, "detections": { "additionalProperties": { - "$ref": "#/components/schemas/muse__________________67" + "$ref": "#/components/schemas/muse__________________68" }, "type": "object", "title": "Detections" @@ -14086,7 +14205,41 @@ ], "title": "报告样本" }, - "muse__________________69": { + "muse__________________7": { + "properties": { + "candidate_id": { + "type": "string", + "title": "Candidate Id" + }, + "candidate_revision": { + "type": "integer", + "title": "Candidate Revision" + }, + "candidate_hash": { + "type": "string", + "title": "Candidate Hash" + }, + "plan_id": { + "type": "string", + "title": "Plan Id" + }, + "expected_revision": { + "type": "integer", + "title": "Expected Revision" + } + }, + "additionalProperties": false, + "type": "object", + "required": [ + "candidate_id", + "candidate_revision", + "candidate_hash", + "plan_id", + "expected_revision" + ], + "title": "规划定位" + }, + "muse__________________70": { "properties": { "schema_version": { "type": "string", @@ -14143,7 +14296,7 @@ "title": "Validation Modes" }, "coverage": { - "$ref": "#/components/schemas/muse__________________54" + "$ref": "#/components/schemas/muse__________________55" }, "outcomes": { "additionalProperties": { @@ -14164,24 +14317,24 @@ }, "source_groups": { "additionalProperties": { - "$ref": "#/components/schemas/muse__________________55" + "$ref": "#/components/schemas/muse__________________56" }, "type": "object", "title": "Source Groups" }, "runtime": { - "$ref": "#/components/schemas/muse__________________56" - }, - "cost": { "$ref": "#/components/schemas/muse__________________57" }, - "literary_quality": { + "cost": { "$ref": "#/components/schemas/muse__________________58" }, + "literary_quality": { + "$ref": "#/components/schemas/muse__________________59" + }, "calibration": { "anyOf": [ { - "$ref": "#/components/schemas/muse__________________49" + "$ref": "#/components/schemas/muse__________________50" }, { "type": "null" @@ -14200,7 +14353,7 @@ "calibration_use": { "anyOf": [ { - "$ref": "#/components/schemas/muse____________________101" + "$ref": "#/components/schemas/muse____________________102" }, { "type": "null" @@ -14210,7 +14363,7 @@ "effect": { "anyOf": [ { - "$ref": "#/components/schemas/muse__________________44" + "$ref": "#/components/schemas/muse__________________45" }, { "type": "null" @@ -14229,7 +14382,7 @@ }, "samples": { "items": { - "$ref": "#/components/schemas/muse__________________68" + "$ref": "#/components/schemas/muse__________________69" }, "type": "array", "title": "Samples" @@ -14265,40 +14418,6 @@ ], "title": "实验报告" }, - "muse__________________7": { - "properties": { - "candidate_id": { - "type": "string", - "title": "Candidate Id" - }, - "candidate_revision": { - "type": "integer", - "title": "Candidate Revision" - }, - "candidate_hash": { - "type": "string", - "title": "Candidate Hash" - }, - "plan_id": { - "type": "string", - "title": "Plan Id" - }, - "expected_revision": { - "type": "integer", - "title": "Expected Revision" - } - }, - "additionalProperties": false, - "type": "object", - "required": [ - "candidate_id", - "candidate_revision", - "candidate_hash", - "plan_id", - "expected_revision" - ], - "title": "规划定位" - }, "muse__________________8": { "properties": { "text": { @@ -14552,19 +14671,19 @@ "muse___________________15": { "properties": { "false_negative": { - "$ref": "#/components/schemas/muse__________________51" + "$ref": "#/components/schemas/muse__________________52" }, "false_positive": { - "$ref": "#/components/schemas/muse__________________51" + "$ref": "#/components/schemas/muse__________________52" }, "leakage": { - "$ref": "#/components/schemas/muse__________________51" + "$ref": "#/components/schemas/muse__________________52" }, "reviewer_instability": { - "$ref": "#/components/schemas/muse__________________51" + "$ref": "#/components/schemas/muse__________________52" }, "new_characters_without_cards": { - "$ref": "#/components/schemas/muse__________________51" + "$ref": "#/components/schemas/muse__________________52" } }, "additionalProperties": false, @@ -14825,7 +14944,7 @@ }, "annotations": { "items": { - "$ref": "#/components/schemas/muse__________________33" + "$ref": "#/components/schemas/muse__________________34" }, "type": "array", "minItems": 1, @@ -15035,6 +15154,48 @@ "title": "探索保存请求" }, "muse____________________100": { + "properties": { + "experiment_id": { + "type": "string", + "title": "Experiment Id" + }, + "actual_model": { + "type": "string", + "title": "Actual Model" + }, + "sample_count": { + "type": "integer", + "title": "Sample Count" + }, + "source_group_count": { + "type": "integer", + "title": "Source Group Count" + }, + "rubric_hashes": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Rubric Hashes" + }, + "observation_hash": { + "type": "string", + "title": "Observation Hash" + } + }, + "additionalProperties": false, + "type": "object", + "required": [ + "experiment_id", + "actual_model", + "sample_count", + "source_group_count", + "rubric_hashes", + "observation_hash" + ], + "title": "评委标定覆盖" + }, + "muse____________________101": { "properties": { "version": { "type": "string", @@ -15054,7 +15215,7 @@ }, "reviewers": { "additionalProperties": { - "$ref": "#/components/schemas/muse____________________99" + "$ref": "#/components/schemas/muse____________________100" }, "type": "object", "title": "Reviewers" @@ -15070,10 +15231,10 @@ ], "title": "标定使用依据" }, - "muse____________________101": { + "muse____________________102": { "properties": { "binding": { - "$ref": "#/components/schemas/muse____________________100" + "$ref": "#/components/schemas/muse____________________101" }, "stopped_references": { "items": { @@ -15098,7 +15259,7 @@ ], "title": "标定使用读回" }, - "muse____________________102": { + "muse____________________103": { "properties": { "choice": { "type": "string", @@ -15117,7 +15278,7 @@ }, "dimensions": { "items": { - "$ref": "#/components/schemas/muse__________________60" + "$ref": "#/components/schemas/muse__________________61" }, "type": "array", "title": "Dimensions" @@ -15132,7 +15293,7 @@ ], "title": "定位判断报告" }, - "muse____________________103": { + "muse____________________104": { "properties": { "dimension": { "type": "string", @@ -15148,14 +15309,14 @@ }, "evidence": { "items": { - "$ref": "#/components/schemas/muse__________________52" + "$ref": "#/components/schemas/muse__________________53" }, "type": "array", "title": "Evidence" }, "inferences": { "items": { - "$ref": "#/components/schemas/muse__________________53" + "$ref": "#/components/schemas/muse__________________54" }, "type": "array", "title": "Inferences" @@ -15172,7 +15333,7 @@ ], "title": "文学维度评分" }, - "muse____________________104": { + "muse____________________105": { "properties": { "side": { "type": "string", @@ -15184,7 +15345,7 @@ }, "scores": { "items": { - "$ref": "#/components/schemas/muse____________________103" + "$ref": "#/components/schemas/muse____________________104" }, "type": "array", "title": "Scores" @@ -15198,25 +15359,25 @@ ], "title": "文学候选评分" }, - "muse____________________105": { + "muse____________________106": { "properties": { "candidate_scores": { "items": { - "$ref": "#/components/schemas/muse____________________104" + "$ref": "#/components/schemas/muse____________________105" }, "type": "array", "title": "Candidate Scores" }, "assertion_verdicts": { "items": { - "$ref": "#/components/schemas/muse____________________98" + "$ref": "#/components/schemas/muse____________________99" }, "type": "array", "title": "Assertion Verdicts" }, "constraint_verdicts": { "items": { - "$ref": "#/components/schemas/muse____________________98" + "$ref": "#/components/schemas/muse____________________99" }, "type": "array", "title": "Constraint Verdicts" @@ -15241,7 +15402,7 @@ ], "title": "文学判断明细" }, - "muse____________________106": { + "muse____________________107": { "properties": { "sequence": { "type": "integer", @@ -15293,7 +15454,7 @@ ], "title": "引文拒绝摘要" }, - "muse____________________107": { + "muse____________________108": { "properties": { "unit_id": { "type": "string", @@ -15327,14 +15488,14 @@ }, "calls": { "items": { - "$ref": "#/components/schemas/muse__________________62" + "$ref": "#/components/schemas/muse__________________63" }, "type": "array", "title": "Calls" }, "rejections": { "items": { - "$ref": "#/components/schemas/muse____________________106" + "$ref": "#/components/schemas/muse____________________107" }, "type": "array", "title": "Rejections" @@ -16512,6 +16673,25 @@ "title": "规则决定请求" }, "muse____________________42": { + "properties": { + "command_id": { + "type": "string", + "minLength": 1, + "title": "Command Id" + }, + "selection": { + "$ref": "#/components/schemas/muse______________________9" + } + }, + "additionalProperties": false, + "type": "object", + "required": [ + "command_id", + "selection" + ], + "title": "参考挑选输入" + }, + "muse____________________43": { "properties": { "task_id": { "type": "string", @@ -16555,7 +16735,7 @@ ], "title": "运行来源请求" }, - "muse____________________43": { + "muse____________________44": { "properties": { "task_id": { "type": "string", @@ -16601,11 +16781,11 @@ ], "title": "运行观察来源" }, - "muse____________________44": { + "muse____________________45": { "properties": { "sources": { "items": { - "$ref": "#/components/schemas/muse____________________43" + "$ref": "#/components/schemas/muse____________________44" }, "type": "array", "title": "Sources" @@ -16638,7 +16818,7 @@ ], "title": "运行观察请求" }, - "muse____________________45": { + "muse____________________46": { "properties": { "improvement_id": { "type": "string", @@ -16691,10 +16871,10 @@ ], "title": "规则改进请求" }, - "muse____________________46": { + "muse____________________47": { "properties": { "proposal": { - "$ref": "#/components/schemas/muse____________________45" + "$ref": "#/components/schemas/muse____________________46" } }, "additionalProperties": false, @@ -16704,7 +16884,7 @@ ], "title": "规则改进输入" }, - "muse____________________47": { + "muse____________________48": { "properties": { "action": { "type": "string", @@ -16754,7 +16934,7 @@ ], "title": "规则启停请求" }, - "muse____________________48": { + "muse____________________49": { "properties": { "feedback_id": { "type": "string", @@ -16826,29 +17006,6 @@ ], "title": "读者反馈请求" }, - "muse____________________49": { - "properties": { - "名称": { - "type": "string", - "title": "名称" - }, - "来源": { - "type": "string", - "title": "来源" - }, - "位置": { - "type": "string", - "title": "位置" - } - }, - "type": "object", - "required": [ - "名称", - "来源", - "位置" - ], - "title": "凭据引用" - }, "muse____________________5": { "properties": { "work_id": { @@ -16877,6 +17034,29 @@ "title": "节点目录保存" }, "muse____________________50": { + "properties": { + "名称": { + "type": "string", + "title": "名称" + }, + "来源": { + "type": "string", + "title": "来源" + }, + "位置": { + "type": "string", + "title": "位置" + } + }, + "type": "object", + "required": [ + "名称", + "来源", + "位置" + ], + "title": "凭据引用" + }, + "muse____________________51": { "properties": { "command_id": { "type": "string", @@ -16926,7 +17106,7 @@ ], "title": "候选修改请求" }, - "muse____________________51": { + "muse____________________52": { "properties": { "candidate_id": { "type": "string", @@ -16965,7 +17145,7 @@ ], "title": "候选审阅请求" }, - "muse____________________52": { + "muse____________________53": { "properties": { "command_id": { "type": "string", @@ -17039,7 +17219,7 @@ ], "title": "候选决定请求" }, - "muse____________________53": { + "muse____________________54": { "properties": { "work_id": { "type": "string", @@ -17054,7 +17234,7 @@ "title": "Expected Revision" }, "schema": { - "$ref": "#/components/schemas/muse__________________28" + "$ref": "#/components/schemas/muse__________________29" }, "content": { "additionalProperties": true, @@ -17063,7 +17243,7 @@ }, "sources": { "items": { - "$ref": "#/components/schemas/muse__________________30" + "$ref": "#/components/schemas/muse__________________31" }, "type": "array", "title": "Sources" @@ -17106,7 +17286,7 @@ }, "known_to": { "items": { - "$ref": "#/components/schemas/muse__________________31" + "$ref": "#/components/schemas/muse__________________32" }, "type": "array", "title": "Known To", @@ -17120,7 +17300,7 @@ "planned_window": { "anyOf": [ { - "$ref": "#/components/schemas/muse__________________32" + "$ref": "#/components/schemas/muse__________________33" }, { "type": "null" @@ -17141,7 +17321,7 @@ ], "title": "事实提案请求" }, - "muse____________________54": { + "muse____________________55": { "properties": { "command_id": { "type": "string", @@ -17151,10 +17331,10 @@ "proposal": { "anyOf": [ { - "$ref": "#/components/schemas/muse____________________53" + "$ref": "#/components/schemas/muse____________________54" }, { - "$ref": "#/components/schemas/muse______________________12" + "$ref": "#/components/schemas/muse______________________13" } ], "title": "Proposal" @@ -17168,7 +17348,7 @@ ], "title": "事实创建请求" }, - "muse____________________55": { + "muse____________________56": { "properties": { "proposal_id": { "type": "string", @@ -17204,7 +17384,7 @@ ], "title": "事实审阅请求" }, - "muse____________________56": { + "muse____________________57": { "properties": { "command_id": { "type": "string", @@ -17273,7 +17453,7 @@ ], "title": "事实决定请求" }, - "muse____________________57": { + "muse____________________58": { "properties": { "command_id": { "type": "string", @@ -17384,7 +17564,7 @@ ], "title": "实体保存请求" }, - "muse____________________58": { + "muse____________________59": { "properties": { "unit_id": { "type": "string", @@ -17411,7 +17591,26 @@ ], "title": "交付补登请求" }, - "muse____________________59": { + "muse____________________6": { + "properties": { + "command_id": { + "type": "string", + "minLength": 1, + "title": "Command Id" + }, + "directory": { + "$ref": "#/components/schemas/muse____________________5" + } + }, + "additionalProperties": false, + "type": "object", + "required": [ + "command_id", + "directory" + ], + "title": "节点目录请求" + }, + "muse____________________60": { "properties": { "dataset_id": { "type": "string", @@ -17443,26 +17642,7 @@ ], "title": "数据集发布" }, - "muse____________________6": { - "properties": { - "command_id": { - "type": "string", - "minLength": 1, - "title": "Command Id" - }, - "directory": { - "$ref": "#/components/schemas/muse____________________5" - } - }, - "additionalProperties": false, - "type": "object", - "required": [ - "command_id", - "directory" - ], - "title": "节点目录请求" - }, - "muse____________________60": { + "muse____________________61": { "properties": { "statement_id": { "type": "string", @@ -17484,7 +17664,7 @@ ], "title": "评判命题" }, - "muse____________________61": { + "muse____________________62": { "properties": { "kind": { "type": "string", @@ -17523,7 +17703,7 @@ ], "title": "目标版本" }, - "muse____________________62": { + "muse____________________63": { "properties": { "config_id": { "type": "string", @@ -17544,7 +17724,7 @@ ], "title": "配置选择" }, - "muse____________________63": { + "muse____________________64": { "properties": { "experiment_id": { "type": "string", @@ -17565,14 +17745,14 @@ ], "title": "标定引用" }, - "muse____________________64": { + "muse____________________65": { "properties": { "policy": { - "$ref": "#/components/schemas/muse__________________34" + "$ref": "#/components/schemas/muse__________________35" }, "references": { "items": { - "$ref": "#/components/schemas/muse____________________63" + "$ref": "#/components/schemas/muse____________________64" }, "type": "array", "maxItems": 8, @@ -17588,7 +17768,7 @@ ], "title": "标定使用" }, - "muse____________________65": { + "muse____________________66": { "properties": { "dataset_version_id": { "type": "string", @@ -17610,7 +17790,7 @@ "title": "Split" }, "target": { - "$ref": "#/components/schemas/muse____________________61" + "$ref": "#/components/schemas/muse____________________62" }, "generator_role": { "type": "string", @@ -17621,11 +17801,11 @@ "title": "Generator Role" }, "generator": { - "$ref": "#/components/schemas/muse____________________62" + "$ref": "#/components/schemas/muse____________________63" }, "judges": { "items": { - "$ref": "#/components/schemas/muse____________________62" + "$ref": "#/components/schemas/muse____________________63" }, "type": "array", "maxItems": 8, @@ -17644,7 +17824,7 @@ "arbitrator": { "anyOf": [ { - "$ref": "#/components/schemas/muse____________________62" + "$ref": "#/components/schemas/muse____________________63" }, { "type": "null" @@ -17654,7 +17834,7 @@ "detector": { "anyOf": [ { - "$ref": "#/components/schemas/muse____________________62" + "$ref": "#/components/schemas/muse____________________63" }, { "type": "null" @@ -17708,7 +17888,7 @@ "calibration_policy": { "anyOf": [ { - "$ref": "#/components/schemas/muse__________________34" + "$ref": "#/components/schemas/muse__________________35" }, { "type": "null" @@ -17727,7 +17907,7 @@ "calibration_use": { "anyOf": [ { - "$ref": "#/components/schemas/muse____________________64" + "$ref": "#/components/schemas/muse____________________65" }, { "type": "null" @@ -17757,7 +17937,7 @@ "application_scope": { "anyOf": [ { - "$ref": "#/components/schemas/muse______________________15" + "$ref": "#/components/schemas/muse______________________16" }, { "type": "null" @@ -17804,7 +17984,7 @@ ], "title": "实验请求" }, - "muse____________________66": { + "muse____________________67": { "properties": { "command_id": { "type": "string", @@ -17813,7 +17993,7 @@ "title": "Command Id" }, "request": { - "$ref": "#/components/schemas/muse____________________65" + "$ref": "#/components/schemas/muse____________________66" } }, "additionalProperties": false, @@ -17824,7 +18004,7 @@ ], "title": "实验创建请求" }, - "muse____________________67": { + "muse____________________68": { "properties": { "command_id": { "type": "string", @@ -17839,7 +18019,7 @@ ], "title": "实验停止请求" }, - "muse____________________68": { + "muse____________________69": { "properties": { "dataset_version_id": { "type": "string", @@ -17854,19 +18034,6 @@ ], "title": "规则验证请求" }, - "muse____________________69": { - "properties": { - "task_id": { - "type": "string", - "title": "Task Id" - } - }, - "type": "object", - "required": [ - "task_id" - ], - "title": "规划任务结果" - }, "muse____________________7": { "properties": { "command_id": { @@ -17911,6 +18078,19 @@ "title": "档案保存请求" }, "muse____________________70": { + "properties": { + "task_id": { + "type": "string", + "title": "Task Id" + } + }, + "type": "object", + "required": [ + "task_id" + ], + "title": "规划任务结果" + }, + "muse____________________71": { "properties": { "work_id": { "type": "string", @@ -17922,7 +18102,7 @@ }, "nodes": { "items": { - "$ref": "#/components/schemas/muse__________________35" + "$ref": "#/components/schemas/muse__________________36" }, "type": "array", "title": "Nodes" @@ -17936,7 +18116,7 @@ ], "title": "节点目录结果" }, - "muse____________________71": { + "muse____________________72": { "properties": { "receipt_id": { "type": "string", @@ -18009,7 +18189,7 @@ ], "title": "正式回执结果" }, - "muse____________________72": { + "muse____________________73": { "properties": { "candidate_id": { "type": "string", @@ -18037,7 +18217,7 @@ ], "title": "候选进度结果" }, - "muse____________________73": { + "muse____________________74": { "properties": { "chapter_id": { "type": "string", @@ -18065,7 +18245,7 @@ }, "candidates": { "items": { - "$ref": "#/components/schemas/muse____________________72" + "$ref": "#/components/schemas/muse____________________73" }, "type": "array", "title": "Candidates" @@ -18083,7 +18263,7 @@ ], "title": "章节进度结果" }, - "muse____________________74": { + "muse____________________75": { "properties": { "task_id": { "type": "string", @@ -18106,7 +18286,7 @@ ], "title": "任务进度结果" }, - "muse____________________75": { + "muse____________________76": { "properties": { "work_id": { "type": "string", @@ -18130,14 +18310,14 @@ }, "chapters": { "items": { - "$ref": "#/components/schemas/muse____________________73" + "$ref": "#/components/schemas/muse____________________74" }, "type": "array", "title": "Chapters" }, "tasks": { "items": { - "$ref": "#/components/schemas/muse____________________74" + "$ref": "#/components/schemas/muse____________________75" }, "type": "array", "title": "Tasks" @@ -18155,7 +18335,7 @@ ], "title": "作品进度结果" }, - "muse____________________76": { + "muse____________________77": { "properties": { "work_id": { "type": "string", @@ -18200,7 +18380,7 @@ ], "title": "作品表单结果" }, - "muse____________________77": { + "muse____________________78": { "properties": { "code": { "type": "string", @@ -18218,7 +18398,7 @@ ], "title": "交付格式问题" }, - "muse____________________78": { + "muse____________________79": { "properties": { "draft_id": { "type": "string", @@ -18234,7 +18414,7 @@ }, "problems": { "items": { - "$ref": "#/components/schemas/muse____________________77" + "$ref": "#/components/schemas/muse____________________78" }, "type": "array", "title": "Problems" @@ -18259,35 +18439,6 @@ ], "title": "探索检查结果" }, - "muse____________________79": { - "properties": { - "work_id": { - "type": "string", - "title": "Work Id" - }, - "revision": { - "type": "integer", - "title": "Revision" - }, - "selection": { - "anyOf": [ - { - "$ref": "#/components/schemas/muse___________________14" - }, - { - "type": "null" - } - ] - } - }, - "type": "object", - "required": [ - "work_id", - "revision", - "selection" - ], - "title": "探索选定状态" - }, "muse____________________8": { "properties": { "command_id": { @@ -18327,6 +18478,35 @@ "title": "新增章节请求" }, "muse____________________80": { + "properties": { + "work_id": { + "type": "string", + "title": "Work Id" + }, + "revision": { + "type": "integer", + "title": "Revision" + }, + "selection": { + "anyOf": [ + { + "$ref": "#/components/schemas/muse___________________14" + }, + { + "type": "null" + } + ] + } + }, + "type": "object", + "required": [ + "work_id", + "revision", + "selection" + ], + "title": "探索选定状态" + }, + "muse____________________81": { "properties": { "candidate_id": { "type": "string", @@ -18437,7 +18617,7 @@ ], "title": "规划候选结果" }, - "muse____________________81": { + "muse____________________82": { "properties": { "review_id": { "type": "string", @@ -18453,12 +18633,12 @@ "title": "Snapshot" }, "candidate": { - "$ref": "#/components/schemas/muse____________________80" + "$ref": "#/components/schemas/muse____________________81" }, "before": { "anyOf": [ { - "$ref": "#/components/schemas/muse__________________39" + "$ref": "#/components/schemas/muse__________________40" }, { "type": "null" @@ -18476,7 +18656,7 @@ ], "title": "规划审阅结果" }, - "muse____________________82": { + "muse____________________83": { "properties": { "work_id": { "type": "string", @@ -18544,7 +18724,7 @@ ], "title": "规划表单结果" }, - "muse____________________83": { + "muse____________________84": { "properties": { "revision": { "type": "integer", @@ -18585,7 +18765,7 @@ ], "title": "正文历史结果" }, - "muse____________________84": { + "muse____________________85": { "properties": { "work_id": { "type": "string", @@ -18646,7 +18826,7 @@ ], "title": "正文读取结果" }, - "muse____________________85": { + "muse____________________86": { "properties": { "format": { "type": "string", @@ -18669,7 +18849,7 @@ ], "title": "候选检查结果" }, - "muse____________________86": { + "muse____________________87": { "properties": { "change_id": { "type": "string", @@ -18718,7 +18898,7 @@ ], "title": "候选差异结果" }, - "muse____________________87": { + "muse____________________88": { "properties": { "document_hash": { "anyOf": [ @@ -18775,7 +18955,7 @@ "title": "Visible Text" }, "checks": { - "$ref": "#/components/schemas/muse____________________85" + "$ref": "#/components/schemas/muse____________________86" }, "decision": { "type": "string", @@ -18793,7 +18973,7 @@ }, "changes": { "items": { - "$ref": "#/components/schemas/muse____________________86" + "$ref": "#/components/schemas/muse____________________87" }, "type": "array", "title": "Changes" @@ -18819,7 +18999,7 @@ ], "title": "正文候选结果" }, - "muse____________________88": { + "muse____________________89": { "properties": { "candidate_id": { "type": "string", @@ -18888,38 +19068,6 @@ ], "title": "正文候选摘要" }, - "muse____________________89": { - "properties": { - "review_id": { - "type": "string", - "title": "Review Id" - }, - "review_hash": { - "type": "string", - "title": "Review Hash" - }, - "snapshot": { - "additionalProperties": true, - "type": "object", - "title": "Snapshot" - }, - "candidate": { - "$ref": "#/components/schemas/muse____________________87" - }, - "before": { - "$ref": "#/components/schemas/muse____________________84" - } - }, - "type": "object", - "required": [ - "review_id", - "review_hash", - "snapshot", - "candidate", - "before" - ], - "title": "候选审阅结果" - }, "muse____________________9": { "properties": { "command_id": { @@ -18956,6 +19104,38 @@ "title": "重排章节请求" }, "muse____________________90": { + "properties": { + "review_id": { + "type": "string", + "title": "Review Id" + }, + "review_hash": { + "type": "string", + "title": "Review Hash" + }, + "snapshot": { + "additionalProperties": true, + "type": "object", + "title": "Snapshot" + }, + "candidate": { + "$ref": "#/components/schemas/muse____________________88" + }, + "before": { + "$ref": "#/components/schemas/muse____________________85" + } + }, + "type": "object", + "required": [ + "review_id", + "review_hash", + "snapshot", + "candidate", + "before" + ], + "title": "候选审阅结果" + }, + "muse____________________91": { "properties": { "chapter_id": { "type": "string", @@ -18983,7 +19163,7 @@ ], "title": "事实来源版本" }, - "muse____________________91": { + "muse____________________92": { "properties": { "object_id": { "type": "string", @@ -19040,7 +19220,7 @@ }, "sources": { "items": { - "$ref": "#/components/schemas/muse____________________90" + "$ref": "#/components/schemas/muse____________________91" }, "type": "array", "title": "Sources" @@ -19077,7 +19257,7 @@ ], "title": "世界事实结果" }, - "muse____________________92": { + "muse____________________93": { "properties": { "object_id": { "type": "string", @@ -19095,7 +19275,7 @@ ], "title": "事实省略原因" }, - "muse____________________93": { + "muse____________________94": { "properties": { "work_id": { "type": "string", @@ -19111,28 +19291,28 @@ }, "facts": { "items": { - "$ref": "#/components/schemas/muse____________________91" + "$ref": "#/components/schemas/muse____________________92" }, "type": "array", "title": "Facts" }, "beliefs": { "items": { - "$ref": "#/components/schemas/muse____________________91" + "$ref": "#/components/schemas/muse____________________92" }, "type": "array", "title": "Beliefs" }, "plans": { "items": { - "$ref": "#/components/schemas/muse____________________91" + "$ref": "#/components/schemas/muse____________________92" }, "type": "array", "title": "Plans" }, "omitted": { "items": { - "$ref": "#/components/schemas/muse____________________92" + "$ref": "#/components/schemas/muse____________________93" }, "type": "array", "title": "Omitted" @@ -19150,7 +19330,7 @@ ], "title": "世界查询结果" }, - "muse____________________94": { + "muse____________________95": { "properties": { "proposal_id": { "type": "string", @@ -19177,7 +19357,7 @@ "title": "Expected Revision" }, "schema": { - "$ref": "#/components/schemas/muse__________________28" + "$ref": "#/components/schemas/muse__________________29" }, "content": { "additionalProperties": true, @@ -19213,7 +19393,7 @@ }, "known_to": { "items": { - "$ref": "#/components/schemas/muse__________________31" + "$ref": "#/components/schemas/muse__________________32" }, "type": "array", "title": "Known To" @@ -19257,7 +19437,7 @@ ], "title": "事实提案结果" }, - "muse____________________95": { + "muse____________________96": { "properties": { "review_id": { "type": "string", @@ -19273,7 +19453,7 @@ "title": "Snapshot" }, "proposal": { - "$ref": "#/components/schemas/muse____________________94" + "$ref": "#/components/schemas/muse____________________95" } }, "type": "object", @@ -19285,7 +19465,7 @@ ], "title": "事实审阅结果" }, - "muse____________________96": { + "muse____________________97": { "properties": { "work_id": { "type": "string", @@ -19304,7 +19484,7 @@ "title": "Revision" }, "schema_binding": { - "$ref": "#/components/schemas/muse__________________28" + "$ref": "#/components/schemas/muse__________________29" }, "content": { "additionalProperties": true, @@ -19349,7 +19529,7 @@ ], "title": "实体表单结果" }, - "muse____________________97": { + "muse____________________98": { "properties": { "sample_count": { "type": "integer", @@ -19433,14 +19613,14 @@ }, "scenarios": { "additionalProperties": { - "$ref": "#/components/schemas/muse__________________41" + "$ref": "#/components/schemas/muse__________________42" }, "type": "object", "title": "Scenarios" }, "strata": { "additionalProperties": { - "$ref": "#/components/schemas/muse__________________41" + "$ref": "#/components/schemas/muse__________________42" }, "type": "object", "title": "Strata" @@ -19476,7 +19656,7 @@ ], "title": "效果目标统计" }, - "muse____________________98": { + "muse____________________99": { "properties": { "side": { "type": "string", @@ -19504,14 +19684,14 @@ }, "evidence": { "items": { - "$ref": "#/components/schemas/muse__________________52" + "$ref": "#/components/schemas/muse__________________53" }, "type": "array", "title": "Evidence" }, "inferences": { "items": { - "$ref": "#/components/schemas/muse__________________53" + "$ref": "#/components/schemas/muse__________________54" }, "type": "array", "title": "Inferences" @@ -19529,48 +19709,6 @@ ], "title": "文学命题判定" }, - "muse____________________99": { - "properties": { - "experiment_id": { - "type": "string", - "title": "Experiment Id" - }, - "actual_model": { - "type": "string", - "title": "Actual Model" - }, - "sample_count": { - "type": "integer", - "title": "Sample Count" - }, - "source_group_count": { - "type": "integer", - "title": "Source Group Count" - }, - "rubric_hashes": { - "items": { - "type": "string" - }, - "type": "array", - "title": "Rubric Hashes" - }, - "observation_hash": { - "type": "string", - "title": "Observation Hash" - } - }, - "additionalProperties": false, - "type": "object", - "required": [ - "experiment_id", - "actual_model", - "sample_count", - "source_group_count", - "rubric_hashes", - "observation_hash" - ], - "title": "评委标定覆盖" - }, "muse_____________________1": { "properties": { "command_id": { @@ -19596,7 +19734,7 @@ "properties": { "sources": { "items": { - "$ref": "#/components/schemas/muse__________________30" + "$ref": "#/components/schemas/muse__________________31" }, "type": "array", "title": "Sources" @@ -19628,7 +19766,7 @@ }, "known_to": { "items": { - "$ref": "#/components/schemas/muse__________________31" + "$ref": "#/components/schemas/muse__________________32" }, "type": "array", "title": "Known To" @@ -19640,7 +19778,7 @@ "planned_window": { "anyOf": [ { - "$ref": "#/components/schemas/muse__________________32" + "$ref": "#/components/schemas/muse__________________33" }, { "type": "null" @@ -19850,7 +19988,7 @@ }, "assertions": { "items": { - "$ref": "#/components/schemas/muse____________________60" + "$ref": "#/components/schemas/muse____________________61" }, "type": "array", "maxItems": 100, @@ -19858,7 +19996,7 @@ }, "constraints": { "items": { - "$ref": "#/components/schemas/muse____________________60" + "$ref": "#/components/schemas/muse____________________61" }, "type": "array", "maxItems": 100, @@ -20019,7 +20157,7 @@ "properties": { "items": { "items": { - "$ref": "#/components/schemas/muse____________________88" + "$ref": "#/components/schemas/muse____________________89" }, "type": "array", "title": "Items" @@ -20058,10 +20196,10 @@ "judges": { "prefixItems": [ { - "$ref": "#/components/schemas/muse____________________62" + "$ref": "#/components/schemas/muse____________________63" }, { - "$ref": "#/components/schemas/muse____________________62" + "$ref": "#/components/schemas/muse____________________63" } ], "type": "array", @@ -20158,6 +20296,25 @@ "title": "模型修订授权" }, "muse______________________10": { + "properties": { + "command_id": { + "type": "string", + "minLength": 1, + "title": "Command Id" + }, + "observation": { + "$ref": "#/components/schemas/muse____________________45" + } + }, + "additionalProperties": false, + "type": "object", + "required": [ + "command_id", + "observation" + ], + "title": "运行观察保存请求" + }, + "muse______________________11": { "properties": { "command_id": { "type": "string", @@ -20165,10 +20322,10 @@ "title": "Command Id" }, "selection": { - "$ref": "#/components/schemas/muse__________________19" + "$ref": "#/components/schemas/muse__________________20" }, "request": { - "$ref": "#/components/schemas/muse____________________47" + "$ref": "#/components/schemas/muse____________________48" } }, "additionalProperties": false, @@ -20180,7 +20337,7 @@ ], "title": "规则改进启停输入" }, - "muse______________________11": { + "muse______________________12": { "properties": { "宿主": { "type": "string", @@ -20212,7 +20369,7 @@ }, "凭据": { "items": { - "$ref": "#/components/schemas/muse____________________49" + "$ref": "#/components/schemas/muse____________________50" }, "type": "array", "title": "凭据" @@ -20265,7 +20422,7 @@ ], "title": "运行配置内容" }, - "muse______________________12": { + "muse______________________13": { "properties": { "work_id": { "type": "string", @@ -20280,7 +20437,7 @@ "title": "Expected Revision" }, "schema": { - "$ref": "#/components/schemas/muse__________________28" + "$ref": "#/components/schemas/muse__________________29" }, "content": { "additionalProperties": true, @@ -20289,7 +20446,7 @@ }, "sources": { "items": { - "$ref": "#/components/schemas/muse__________________30" + "$ref": "#/components/schemas/muse__________________31" }, "type": "array", "title": "Sources" @@ -20332,7 +20489,7 @@ }, "known_to": { "items": { - "$ref": "#/components/schemas/muse__________________31" + "$ref": "#/components/schemas/muse__________________32" }, "type": "array", "title": "Known To", @@ -20346,7 +20503,7 @@ "planned_window": { "anyOf": [ { - "$ref": "#/components/schemas/muse__________________32" + "$ref": "#/components/schemas/muse__________________33" }, { "type": "null" @@ -20376,7 +20533,7 @@ "title": "事实字段提案请求", "description": "作者表单提交逐字段变化;原content请求的字节形状保持不变。" }, - "muse______________________13": { + "muse______________________14": { "properties": { "dataset_id": { "type": "string", @@ -20426,7 +20583,7 @@ ], "title": "方法数据集发布" }, - "muse______________________14": { + "muse______________________15": { "properties": { "dataset_id": { "type": "string", @@ -20470,7 +20627,7 @@ ], "title": "回放数据集发布" }, - "muse______________________15": { + "muse______________________16": { "properties": { "consumer": { "type": "string", @@ -20508,7 +20665,7 @@ ], "title": "方法适用范围" }, - "muse______________________16": { + "muse______________________17": { "properties": { "command_id": { "type": "string", @@ -20528,7 +20685,7 @@ ], "title": "返修比较创建请求" }, - "muse______________________17": { + "muse______________________18": { "properties": { "approval_ref": { "type": "string", @@ -20549,7 +20706,7 @@ ], "title": "实验执行请求" }, - "muse______________________18": { + "muse______________________19": { "properties": { "statement_id": { "type": "string", @@ -20607,70 +20764,6 @@ ], "title": "_定位判定" }, - "muse______________________19": { - "properties": { - "claim_id": { - "type": "string", - "minLength": 1, - "title": "Claim Id" - }, - "text": { - "type": "string", - "minLength": 1, - "title": "Text" - }, - "candidate_quote": { - "type": "string", - "minLength": 1, - "title": "Candidate Quote" - }, - "state": { - "type": "string", - "enum": [ - "supported", - "declared_new", - "unknown", - "conflict" - ], - "title": "State" - }, - "evidence_refs": { - "items": { - "type": "string" - }, - "type": "array", - "title": "Evidence Refs" - }, - "reason": { - "type": "string", - "minLength": 1, - "title": "Reason" - }, - "start": { - "type": "integer", - "minimum": 0.0, - "title": "Start" - }, - "end": { - "type": "integer", - "exclusiveMinimum": 0.0, - "title": "End" - } - }, - "additionalProperties": false, - "type": "object", - "required": [ - "claim_id", - "text", - "candidate_quote", - "state", - "evidence_refs", - "reason", - "start", - "end" - ], - "title": "_定位陈述" - }, "muse______________________2": { "properties": { "work_id": { @@ -20738,6 +20831,70 @@ "title": "选段写作授权" }, "muse______________________20": { + "properties": { + "claim_id": { + "type": "string", + "minLength": 1, + "title": "Claim Id" + }, + "text": { + "type": "string", + "minLength": 1, + "title": "Text" + }, + "candidate_quote": { + "type": "string", + "minLength": 1, + "title": "Candidate Quote" + }, + "state": { + "type": "string", + "enum": [ + "supported", + "declared_new", + "unknown", + "conflict" + ], + "title": "State" + }, + "evidence_refs": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Evidence Refs" + }, + "reason": { + "type": "string", + "minLength": 1, + "title": "Reason" + }, + "start": { + "type": "integer", + "minimum": 0.0, + "title": "Start" + }, + "end": { + "type": "integer", + "exclusiveMinimum": 0.0, + "title": "End" + } + }, + "additionalProperties": false, + "type": "object", + "required": [ + "claim_id", + "text", + "candidate_quote", + "state", + "evidence_refs", + "reason", + "start", + "end" + ], + "title": "_定位陈述" + }, + "muse______________________21": { "properties": { "finding_id": { "type": "string", @@ -21096,22 +21253,67 @@ }, "muse______________________9": { "properties": { - "command_id": { + "query": { "type": "string", - "minLength": 1, - "title": "Command Id" + "title": "Query" }, - "observation": { - "$ref": "#/components/schemas/muse____________________44" + "domain": { + "type": "string", + "title": "Domain" + }, + "candidates": { + "items": { + "$ref": "#/components/schemas/muse__________________18" + }, + "type": "array", + "title": "Candidates" + }, + "selected": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Selected", + "default": [] + }, + "rejected": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Rejected", + "default": [] + }, + "work_id": { + "type": "string", + "title": "Work Id", + "default": "" + }, + "quote": { + "type": "string", + "title": "Quote", + "default": "" + }, + "index_generation": { + "type": "integer", + "title": "Index Generation", + "default": 0 + }, + "种类": { + "type": "string", + "title": "种类", + "default": "参考挑选" } }, "additionalProperties": false, "type": "object", "required": [ - "command_id", - "observation" + "query", + "domain", + "candidates" ], - "title": "运行观察保存请求" + "title": "参考挑选反馈请求", + "description": "作者对方法检索结果的挑选与点踩。\n\n只进入数值信号轨:不引用正文版本、不构成 before/after 对照,\n也不直接生成文本偏好。位次取自检索回执,供位置偏置标记;\n伪造的版本身份无需在写入时跨模块核验:重排只作用于当次检索\n实际候选集,不在集内的身份自然无效。" }, "muse_______________________1": { "properties": { @@ -21147,28 +21349,28 @@ }, "claims": { "items": { - "$ref": "#/components/schemas/muse______________________19" + "$ref": "#/components/schemas/muse______________________20" }, "type": "array", "title": "Claims" }, "findings": { "items": { - "$ref": "#/components/schemas/muse______________________20" + "$ref": "#/components/schemas/muse______________________21" }, "type": "array", "title": "Findings" }, "assertion_verdicts": { "items": { - "$ref": "#/components/schemas/muse______________________18" + "$ref": "#/components/schemas/muse______________________19" }, "type": "array", "title": "Assertion Verdicts" }, "constraint_verdicts": { "items": { - "$ref": "#/components/schemas/muse______________________18" + "$ref": "#/components/schemas/muse______________________19" }, "type": "array", "title": "Constraint Verdicts" @@ -21402,7 +21604,7 @@ "title": "Command Id" }, "release": { - "$ref": "#/components/schemas/muse__________________27" + "$ref": "#/components/schemas/muse__________________28" } }, "additionalProperties": false, @@ -21421,7 +21623,7 @@ "title": "Command Id" }, "feedback": { - "$ref": "#/components/schemas/muse____________________48" + "$ref": "#/components/schemas/muse____________________49" } }, "additionalProperties": false, @@ -21613,7 +21815,7 @@ "muse______http__________________3": { "properties": { "proposal": { - "$ref": "#/components/schemas/muse__________________18" + "$ref": "#/components/schemas/muse__________________19" } }, "additionalProperties": false, @@ -21631,7 +21833,7 @@ "title": "Command Id" }, "observation": { - "$ref": "#/components/schemas/muse__________________20" + "$ref": "#/components/schemas/muse__________________21" } }, "additionalProperties": false, @@ -21650,7 +21852,7 @@ "title": "Command Id" }, "revision": { - "$ref": "#/components/schemas/muse__________________22" + "$ref": "#/components/schemas/muse__________________23" } }, "additionalProperties": false, @@ -21692,7 +21894,7 @@ "title": "Command Id" }, "delivery": { - "$ref": "#/components/schemas/muse__________________25" + "$ref": "#/components/schemas/muse__________________26" } }, "additionalProperties": false, @@ -21740,7 +21942,7 @@ "title": "Command Id" }, "plan": { - "$ref": "#/components/schemas/muse__________________26" + "$ref": "#/components/schemas/muse__________________27" } }, "additionalProperties": false, @@ -22470,7 +22672,7 @@ "title": "Command Id" }, "selection": { - "$ref": "#/components/schemas/muse__________________19" + "$ref": "#/components/schemas/muse__________________20" }, "proof_id": { "type": "string", @@ -22511,7 +22713,7 @@ "title": "Version" }, "content": { - "$ref": "#/components/schemas/muse______________________11" + "$ref": "#/components/schemas/muse______________________12" } }, "additionalProperties": false, diff --git a/src/muse/作者经验/反馈对.py b/src/muse/作者经验/反馈对.py index b30f3db..ac1973b 100644 --- a/src/muse/作者经验/反馈对.py +++ b/src/muse/作者经验/反馈对.py @@ -3,7 +3,13 @@ from dataclasses import asdict from muse.作者经验.存储 import 经验存储 -from muse.作者经验.模型 import 反馈版本, 反馈请求, 经验错误 +from muse.作者经验.模型 import ( + 参考挑选反馈请求, + 反馈版本, + 反馈请求, + 挑选候选, + 经验错误, +) from muse.正文写作.接口 import 可见文本, 读取候选依据, 读取正文依据 @@ -38,9 +44,26 @@ def 保存反馈(连, 作者, command_id, 请求): return 经验存储(连).写反馈(作者, command_id, asdict(请求)) +def 保存参考挑选(连, 作者, command_id, 请求: 参考挑选反馈请求): + """参考挑选只进数值信号轨;结构约束在请求模型,不跨模块核验版本存在性。""" + if not command_id.strip(): + raise 经验错误("EXPERIENCE_INVALID", "反馈命令身份不能为空") + return 经验存储(连).写反馈(作者, command_id, asdict(请求)) + + +def 读取挑选信号(连, 作者, *, 领域=""): + """供 B09 偏好重排消费的聚合信号;只读,不生成效果判断。""" + return 经验存储(连).读挑选信号(作者, 领域=领域) + + def 呈现反馈(连, 作者, fid): row = 经验存储(连).读反馈(作者, fid) data = row["payload"] + if data.get("种类") == "参考挑选": + 请求 = 参考挑选反馈请求( + **{**data, "candidates": tuple(挑选候选(**c) for c in data["candidates"])} + ) + return {**row, "请求": asdict(请求)} request = 反馈请求( **{**data, "before": 反馈版本(**data["before"]), "after": 反馈版本(**data["after"])} ) diff --git a/src/muse/作者经验/存储.py b/src/muse/作者经验/存储.py index 904d2c6..25d7df4 100644 --- a/src/muse/作者经验/存储.py +++ b/src/muse/作者经验/存储.py @@ -84,6 +84,54 @@ class 经验存储: raise 经验错误("IDEMPOTENCY_CONFLICT", "同一反馈命令已保存不同内容") return row + def 读挑选信号(self, author, *, 领域=""): + """聚合参考挑选反馈的数值信号;只读,不改台账。 + + 选用/拒绝分列计数不混算;选中位次保留原始样本, + 位置偏置的修正策略由消费方(B09 重排)承担。 + """ + 行 = self.游标.execute( + """ + WITH ref AS ( + SELECT feedback_id, payload FROM muse_author_feedback + WHERE author_id=%s AND payload->>'种类'='参考挑选' + AND (%s='' OR payload->>'domain'=%s) + ), cand AS ( + SELECT feedback_id, c->>'method_version_id' AS mvid, (c->>'rank')::int AS rank + FROM ref CROSS JOIN LATERAL jsonb_array_elements(payload->'candidates') AS c + ), sel AS ( + SELECT feedback_id, s AS mvid + FROM ref CROSS JOIN LATERAL jsonb_array_elements_text(payload->'selected') AS s + ), rej AS ( + SELECT feedback_id, r AS mvid + FROM ref CROSS JOIN LATERAL jsonb_array_elements_text(payload->'rejected') AS r + ) + SELECT cand.mvid AS method_version_id, + count(DISTINCT sel.feedback_id) AS 选用次数, + count(DISTINCT rej.feedback_id) AS 拒绝次数, + coalesce( + array_agg(DISTINCT cand.rank) FILTER (WHERE sel.feedback_id IS NOT NULL), + '{}' + ) AS 选中位次 + FROM cand + LEFT JOIN sel ON sel.feedback_id=cand.feedback_id AND sel.mvid=cand.mvid + LEFT JOIN rej ON rej.feedback_id=cand.feedback_id AND rej.mvid=cand.mvid + GROUP BY cand.mvid + HAVING count(DISTINCT sel.feedback_id) > 0 OR count(DISTINCT rej.feedback_id) > 0 + ORDER BY cand.mvid + """, + (author, 领域, 领域), + ).fetchall() + return [ + { + "method_version_id": r["method_version_id"], + "选用次数": int(r["选用次数"]), + "拒绝次数": int(r["拒绝次数"]), + "选中位次": sorted(int(x) for x in r["选中位次"]), + } + for r in 行 + ] + def 数据库标识(self): return self.连.execute( "SELECT current_database(),pg_postmaster_start_time()," diff --git a/src/muse/作者经验/接口.py b/src/muse/作者经验/接口.py index 2f98f4e..83a8eeb 100644 --- a/src/muse/作者经验/接口.py +++ b/src/muse/作者经验/接口.py @@ -8,14 +8,16 @@ from muse.作者经验.作者偏好 import ( 冲突列表, 读取偏好材料, ) -from muse.作者经验.反馈对 import 保存反馈, 呈现反馈 +from muse.作者经验.反馈对 import 保存参考挑选, 保存反馈, 呈现反馈, 读取挑选信号 from muse.作者经验.存储 import 经验存储 from muse.作者经验.模型 import ( 偏好决定, 偏好范围, 偏好请求, + 参考挑选反馈请求, 反馈版本, 反馈请求, + 挑选候选, 改进定位, 改进请求, 经验错误, @@ -199,6 +201,16 @@ class 作者经验服务: with self.数据库.连接(只读=True) as 连: return 呈现反馈(连, 身份.作者, feedback_id) + def 记录参考挑选反馈(self, 身份, 命令ID, 请求: 参考挑选反馈请求): + self._身份(身份) + with self.数据库.连接() as 连, 连.transaction(): + return 保存参考挑选(连, 身份.作者, 命令ID, 请求) + + def 读取参考挑选信号(self, 身份, *, 领域=""): + self._身份(身份) + with self.数据库.连接(只读=True) as 连: + return 读取挑选信号(连, 身份.作者, 领域=领域) + def 保存偏好(self, 身份, 命令ID, 请求: 偏好请求): self._身份(身份) return self.正式.提交变更( @@ -296,6 +308,10 @@ __all__ = [ "偏好决定", "反馈版本", "反馈请求", + "参考挑选反馈请求", + "挑选候选", + "保存参考挑选", + "读取挑选信号", "经验错误", "读取偏好材料", ] diff --git a/src/muse/作者经验/模型.py b/src/muse/作者经验/模型.py index 17efd42..a5a735f 100644 --- a/src/muse/作者经验/模型.py +++ b/src/muse/作者经验/模型.py @@ -127,6 +127,63 @@ class 反馈请求: _需要(self.decision in {"accept", "reject", "revise", "tie"}, "反馈决定无效") +@合同(frozen=True, config=ConfigDict(extra="forbid")) +class 挑选候选: + """参考挑选中的单个候选:方法版本、检索回执位次与融合得分。""" + + method_version_id: str + rank: Annotated[int, Field(strict=True, ge=1)] + score: Annotated[float, Field(ge=0.0)] + + def __post_init__(self): + _需要(bool(self.method_version_id.strip()), "候选需要方法版本身份") + _需要(type(self.rank) is int and self.rank > 0, "候选位次必须为正整数") + _需要(type(self.score) in (int, float) and self.score >= 0, "候选得分必须为非负数") + + +@合同(frozen=True, config=ConfigDict(extra="forbid")) +class 参考挑选反馈请求: + """作者对方法检索结果的挑选与点踩。 + + 只进入数值信号轨:不引用正文版本、不构成 before/after 对照, + 也不直接生成文本偏好。位次取自检索回执,供位置偏置标记; + 伪造的版本身份无需在写入时跨模块核验:重排只作用于当次检索 + 实际候选集,不在集内的身份自然无效。 + """ + + query: str + domain: str + candidates: tuple[挑选候选, ...] + selected: tuple[str, ...] = () + rejected: tuple[str, ...] = () + work_id: str = "" + quote: str = "" + index_generation: int = 0 + 种类: str = "参考挑选" + + def __post_init__(self): + _需要(self.种类 == "参考挑选", "参考挑选反馈种类固定") + _需要(bool(self.query.strip()) and len(self.query) <= 500, "检索查询须非空且不超500字") + _需要(bool(self.domain.strip()) and len(self.domain) <= 100, "领域标签须非空且不超100字") + _需要(1 <= len(self.candidates) <= 50, "候选清单须在1至50条之间") + 身份 = [c.method_version_id for c in self.candidates] + _需要(len(set(身份)) == len(身份), "候选方法版本不能重复") + 位次 = [c.rank for c in self.candidates] + _需要(len(set(位次)) == len(位次), "候选位次不能重复") + 集合 = set(身份) + _需要(len(set(self.selected)) == len(self.selected), "选中项不能重复") + _需要(len(set(self.rejected)) == len(self.rejected), "拒绝项不能重复") + _需要(all(m in 集合 for m in self.selected), "选中项必须来自候选清单") + _需要(all(m in 集合 for m in self.rejected), "拒绝项必须来自候选清单") + _需要(not (set(self.selected) & set(self.rejected)), "同一候选不能既选中又拒绝") + _需要(bool(self.selected or self.rejected), "未选中也未拒绝时不落账,跳过不留痕") + _需要( + type(self.index_generation) is int and self.index_generation >= 0, + "索引代次须为非负整数", + ) + _需要(len(self.quote) <= 2000, "作者原话不超2000字") + + @dataclass(frozen=True) class 改进请求: improvement_id: str diff --git a/src/muse/接入/cli/入口.py b/src/muse/接入/cli/入口.py index 934ab34..e8d4930 100644 --- a/src/muse/接入/cli/入口.py +++ b/src/muse/接入/cli/入口.py @@ -115,6 +115,8 @@ def _解析参数(argv: list[str] | None) -> argparse.Namespace: "运行观察", "运行观察清单", "重复问题", + "记录参考挑选", + "挑选信号", ], ) 经验解析.add_argument("目标", nargs="?", help="改进身份或完整请求JSON") diff --git a/src/muse/接入/cli/经验命令.py b/src/muse/接入/cli/经验命令.py index a5a1716..7fad3b8 100644 --- a/src/muse/接入/cli/经验命令.py +++ b/src/muse/接入/cli/经验命令.py @@ -9,7 +9,9 @@ from muse.共享.错误 import 配置错误 from muse.接入.主会话 import 参数合同错误 from muse.接入.创作操作 import 创作身份 from muse.接入.经验操作 import ( + 保存参考挑选反馈, 保存运行观察, + 参考挑选输入, 规则改进启停输入, 规则改进输入, 规则改进验证输入, @@ -49,6 +51,8 @@ def 运行经验命令(app, 动作, 目标, *, 评测配置=None): return service.列出运行观察(identity, 任务ID=目标) if 动作 == "重复问题": return service.检索重复问题(identity, 问题键=目标) + if 动作 == "挑选信号": + return service.读取参考挑选信号(identity, 领域=目标 or "") if not 目标: raise 配置错误("此动作需要确切对象或请求JSON文件") if 动作 == "运行观察": @@ -61,6 +65,7 @@ def 运行经验命令(app, 动作, 目标, *, 评测配置=None): "规则启停": 规则改进启停输入, "运行来源": 运行来源请求, "记录运行观察": 运行观察保存请求, + "记录参考挑选": 参考挑选输入, "提出改进": 提出输入, "申请验证": 验证输入, "启用": 启停输入, @@ -82,6 +87,8 @@ def 运行经验命令(app, 动作, 目标, *, 评测配置=None): return 读取运行来源(app, identity, request) if isinstance(request, 运行观察保存请求): return 保存运行观察(app, identity, request) + if isinstance(request, 参考挑选输入): + return 保存参考挑选反馈(app, identity, request) if isinstance(request, 提出输入): return service.提出改进(identity, request.proposal) if isinstance(request, 启停输入): diff --git a/src/muse/接入/http/路由/作者经验.py b/src/muse/接入/http/路由/作者经验.py index 2d30832..7f34e06 100644 --- a/src/muse/接入/http/路由/作者经验.py +++ b/src/muse/接入/http/路由/作者经验.py @@ -9,9 +9,12 @@ from muse.作者经验.接口 import 偏好决定, 偏好请求, 反馈请求, from muse.接入.http.作者会话 import 作者依赖 from muse.接入.创作操作 import 创作命令, 创作身份, 正式回执结果 from muse.接入.经验操作 import ( + 保存参考挑选反馈, 保存运行观察, + 参考挑选输入, 规则改进启停输入, 规则改进输入, + 读取挑选信号视图, 读取运行来源, 运行来源请求, 运行观察保存请求, @@ -106,6 +109,22 @@ def 读取反馈(feedback_id: UUID, request: Request, 作者: 作者依赖): return svc.读取反馈(identity, str(feedback_id)) +@路由.post("/reference-selections", operation_id="capture_reference_selection", status_code=201) +def 记录参考挑选(body: 参考挑选输入, request: Request, 作者: 作者依赖) -> dict: + app = request.app.state.装配 + return 保存参考挑选反馈(app, 创作身份(作者, app.配置), body) + + +@路由.get("/reference-selection-signals", operation_id="read_reference_selection_signals") +def 读挑选信号( + request: Request, + 作者: 作者依赖, + domain: str = Query(default="", max_length=100), +) -> list[dict]: + app = request.app.state.装配 + return 读取挑选信号视图(app, 创作身份(作者, app.配置), 领域=domain) + + @路由.post("/improvements", operation_id="propose_improvement") def 提出改进(body: 改进输入, request: Request, 作者: 作者依赖): svc, identity = _服务(request, 作者) diff --git a/src/muse/接入/经验操作.py b/src/muse/接入/经验操作.py index 8463e16..1684cb7 100644 --- a/src/muse/接入/经验操作.py +++ b/src/muse/接入/经验操作.py @@ -7,6 +7,7 @@ from uuid import UUID from pydantic import BaseModel, ConfigDict, Field, StrictInt from muse.作者经验.接口 import ( + 参考挑选反馈请求, 改进定位, 经验错误, 规则启停请求, @@ -77,3 +78,17 @@ class 规则改进启停输入(BaseModel): command_id: str = Field(min_length=1) selection: 改进定位 request: 规则启停请求 + + +class 参考挑选输入(BaseModel): + model_config = ConfigDict(extra="forbid") + command_id: str = Field(min_length=1) + selection: 参考挑选反馈请求 + + +def 保存参考挑选反馈(app, identity, request: 参考挑选输入): + return app.要求作者经验().记录参考挑选反馈(identity, request.command_id, request.selection) + + +def 读取挑选信号视图(app, identity, *, 领域=""): + return app.要求作者经验().读取参考挑选信号(identity, 领域=领域) diff --git a/tests/契约/test_参考挑选反馈合同.py b/tests/契约/test_参考挑选反馈合同.py new file mode 100644 index 0000000..e6526f4 --- /dev/null +++ b/tests/契约/test_参考挑选反馈合同.py @@ -0,0 +1,114 @@ +"""参考挑选反馈的公开请求合同:只进数值信号轨,结构约束在写入前拒绝。""" + +import pytest +from pydantic import TypeAdapter, ValidationError + +from muse.作者经验.接口 import 参考挑选反馈请求, 挑选候选 +from muse.共享.错误 import Muse错误 + + +def _请求(**changes): + base = { + "query": "机甲近距格斗", + "domain": "combat", + "candidates": ( + 挑选候选("mv-a", 1, 0.031), + 挑选候选("mv-b", 2, 0.028), + 挑选候选("mv-c", 3, 0.024), + ), + "selected": ("mv-a",), + "rejected": ("mv-c",), + } + return 参考挑选反馈请求(**{**base, **changes}) + + +@pytest.mark.case_id( + "NC-w32-a10001", + environment="离线", + given="固定检索查询、领域与三候选清单", + when="构造参考挑选反馈请求并核对结构约束", + then=["选中与拒绝必须来自候选清单且互斥"], + contract="docs/系统架构/新版设计/模块设计/B07-作者经验.md#偏好双轨关系", +) +def test_选中与拒绝必须来自候选清单且互斥__a10001(): + assert _请求().种类 == "参考挑选" + with pytest.raises(Muse错误): + _请求(selected=("mv-x",)) + with pytest.raises(Muse错误): + _请求(rejected=("mv-x",)) + with pytest.raises(Muse错误): + _请求(selected=("mv-a", "mv-a")) + with pytest.raises(Muse错误): + _请求(selected=("mv-b",), rejected=("mv-b",)) + + +@pytest.mark.case_id( + "NC-w32-a10002", + environment="离线", + given="固定检索查询、领域与候选清单", + when="构造空决定、空候选、超界候选或重复身份/位次的请求", + then=["跳过不落账;候选清单有界且不重复"], + contract="docs/系统架构/新版设计/模块设计/B07-作者经验.md#偏好双轨关系", +) +def test_跳过不落账且候选清单有界不重复__a10002(): + with pytest.raises(Muse错误): + _请求(selected=(), rejected=()) + with pytest.raises(Muse错误): + _请求(candidates=()) + with pytest.raises(Muse错误): + _请求(candidates=tuple(挑选候选(f"mv-{i}", i + 1, 0.01) for i in range(51))) + with pytest.raises(Muse错误): + _请求( + candidates=(挑选候选("mv-a", 1, 0.03), 挑选候选("mv-a", 2, 0.02)), + ) + with pytest.raises(Muse错误): + _请求( + candidates=(挑选候选("mv-a", 1, 0.03), 挑选候选("mv-b", 1, 0.02)), + ) + + +@pytest.mark.case_id( + "NC-w32-a10003", + environment="离线", + given="固定候选清单", + when="篡改种类、置空查询或领域、给出非法代次", + then=["种类固定为参考挑选;查询与领域必填;索引代次非负"], + contract="docs/系统架构/新版设计/模块设计/B07-作者经验.md#偏好双轨关系", +) +def test_种类查询领域与代次的边界__a10003(): + with pytest.raises(Muse错误): + _请求(种类="改写对照") + with pytest.raises(Muse错误): + _请求(query=" ") + with pytest.raises(Muse错误): + _请求(domain="") + with pytest.raises(Muse错误): + _请求(index_generation=-1) + + +@pytest.mark.case_id( + "NC-w32-a10004", + environment="离线", + given="经由公开请求边界的JSON载荷", + when="注入额外字段或篡改位次类型", + then=["边界校验拒绝未知字段与非法类型"], + contract="docs/系统架构/新版设计/模块设计/B07-作者经验.md#偏好双轨关系", +) +def test_公开边界拒绝未知字段与非法类型__a10004(): + adapter = TypeAdapter(参考挑选反馈请求) + good = { + "query": "机甲近距格斗", + "domain": "combat", + "candidates": [{"method_version_id": "mv-a", "rank": 1, "score": 0.03}], + "selected": ["mv-a"], + } + assert adapter.validate_python(good).种类 == "参考挑选" + with pytest.raises(ValidationError): + adapter.validate_python({**good, "effective": True}) + with pytest.raises(ValidationError): + adapter.validate_python( + { + **good, + "candidates": [{"method_version_id": "mv-a", "rank": "1", "score": 0.03}], + } + ) diff --git a/tests/用例清单.json b/tests/用例清单.json index d7db7f3..38ec7e9 100644 --- a/tests/用例清单.json +++ b/tests/用例清单.json @@ -26905,6 +26905,197 @@ ], "markers": [] }, + { + "case_id": "NC-w32-a10001", + "environment": "离线", + "given": "固定检索查询、领域与三候选清单", + "when": "构造参考挑选反馈请求并核对结构约束", + "then": [ + "选中与拒绝必须来自候选清单且互斥" + ], + "contract": "docs/系统架构/新版设计/模块设计/B07-作者经验.md#偏好双轨关系", + "file": "tests/契约/test_参考挑选反馈合同.py", + "symbol": "test_选中与拒绝必须来自候选清单且互斥__a10001", + "parameter_ids": [], + "node_ids": [ + "tests/契约/test_参考挑选反馈合同.py::test_选中与拒绝必须来自候选清单且互斥__a10001" + ], + "fixtures": [ + "request", + "测试资源接缝", + "源码资源", + "离线防护" + ], + "markers": [] + }, + { + "case_id": "NC-w32-a10002", + "environment": "离线", + "given": "固定检索查询、领域与候选清单", + "when": "构造空决定、空候选、超界候选或重复身份/位次的请求", + "then": [ + "跳过不落账;候选清单有界且不重复" + ], + "contract": "docs/系统架构/新版设计/模块设计/B07-作者经验.md#偏好双轨关系", + "file": "tests/契约/test_参考挑选反馈合同.py", + "symbol": "test_跳过不落账且候选清单有界不重复__a10002", + "parameter_ids": [], + "node_ids": [ + "tests/契约/test_参考挑选反馈合同.py::test_跳过不落账且候选清单有界不重复__a10002" + ], + "fixtures": [ + "request", + "测试资源接缝", + "源码资源", + "离线防护" + ], + "markers": [] + }, + { + "case_id": "NC-w32-a10003", + "environment": "离线", + "given": "固定候选清单", + "when": "篡改种类、置空查询或领域、给出非法代次", + "then": [ + "种类固定为参考挑选;查询与领域必填;索引代次非负" + ], + "contract": "docs/系统架构/新版设计/模块设计/B07-作者经验.md#偏好双轨关系", + "file": "tests/契约/test_参考挑选反馈合同.py", + "symbol": "test_种类查询领域与代次的边界__a10003", + "parameter_ids": [], + "node_ids": [ + "tests/契约/test_参考挑选反馈合同.py::test_种类查询领域与代次的边界__a10003" + ], + "fixtures": [ + "request", + "测试资源接缝", + "源码资源", + "离线防护" + ], + "markers": [] + }, + { + "case_id": "NC-w32-a10004", + "environment": "离线", + "given": "经由公开请求边界的JSON载荷", + "when": "注入额外字段或篡改位次类型", + "then": [ + "边界校验拒绝未知字段与非法类型" + ], + "contract": "docs/系统架构/新版设计/模块设计/B07-作者经验.md#偏好双轨关系", + "file": "tests/契约/test_参考挑选反馈合同.py", + "symbol": "test_公开边界拒绝未知字段与非法类型__a10004", + "parameter_ids": [], + "node_ids": [ + "tests/契约/test_参考挑选反馈合同.py::test_公开边界拒绝未知字段与非法类型__a10004" + ], + "fixtures": [ + "request", + "测试资源接缝", + "源码资源", + "离线防护" + ], + "markers": [] + }, + { + "case_id": "NC-w32-a10005", + "environment": "隔离PG;实际S01/B05/B09/S02与合成HTTP,不证明文学效果", + "given": "真实作者身份与固定参考挑选请求", + "when": "经服务保存参考挑选反馈并重放同一命令", + "then": [ + "反馈只追加落账且幂等;同命令不同内容拒绝" + ], + "contract": "docs/系统架构/新版设计/模块设计/B07-作者经验.md#偏好双轨关系", + "file": "tests/集成/test_参考挑选反馈.py", + "symbol": "test_参考挑选落账幂等且同命令改内容拒绝__a10005", + "parameter_ids": [], + "node_ids": [ + "tests/集成/test_参考挑选反馈.py::test_参考挑选落账幂等且同命令改内容拒绝__a10005" + ], + "fixtures": [ + "request", + "tmp_path", + "tmp_path_factory", + "候选环境", + "内置种子方案", + "内置结构测试库", + "数据库底座", + "测试资源接缝", + "源码资源", + "环境", + "离线防护", + "隔离数据库URL" + ], + "markers": [ + "数据库" + ] + }, + { + "case_id": "NC-w32-a10006", + "environment": "隔离PG;实际S01/B05/B09/S02与合成HTTP,不证明文学效果", + "given": "跨领域的多条真实参考挑选反馈", + "when": "按全部领域与指定领域读取挑选信号", + "then": [ + "选用与拒绝分列计数;位次保留样本;领域过滤生效" + ], + "contract": "docs/系统架构/新版设计/模块设计/B07-作者经验.md#偏好双轨关系", + "file": "tests/集成/test_参考挑选反馈.py", + "symbol": "test_挑选信号分列计数与领域过滤__a10006", + "parameter_ids": [], + "node_ids": [ + "tests/集成/test_参考挑选反馈.py::test_挑选信号分列计数与领域过滤__a10006" + ], + "fixtures": [ + "request", + "tmp_path", + "tmp_path_factory", + "候选环境", + "内置种子方案", + "内置结构测试库", + "数据库底座", + "测试资源接缝", + "源码资源", + "环境", + "离线防护", + "隔离数据库URL" + ], + "markers": [ + "数据库" + ] + }, + { + "case_id": "NC-w32-a10007", + "environment": "隔离PG;实际S01/B05/B09/S02与合成HTTP,不证明文学效果", + "given": "同一作者的改写对照反馈与参考挑选反馈", + "when": "经统一呈现入口读取两类反馈", + "then": [ + "按payload种类分派;存量改写对照合同不变" + ], + "contract": "docs/系统架构/新版设计/模块设计/B07-作者经验.md#偏好双轨关系", + "file": "tests/集成/test_参考挑选反馈.py", + "symbol": "test_呈现反馈按种类分派且改写对照兼容__a10007", + "parameter_ids": [], + "node_ids": [ + "tests/集成/test_参考挑选反馈.py::test_呈现反馈按种类分派且改写对照兼容__a10007" + ], + "fixtures": [ + "request", + "tmp_path", + "tmp_path_factory", + "候选环境", + "内置种子方案", + "内置结构测试库", + "数据库底座", + "测试资源接缝", + "源码资源", + "环境", + "离线防护", + "隔离数据库URL" + ], + "markers": [ + "数据库" + ] + }, { "case_id": "NC-work-current-binding", "environment": "隔离 PostgreSQL;结构升级为明确的已完成状态夹具,不代替作者升级旅程", diff --git a/tests/集成/test_参考挑选反馈.py b/tests/集成/test_参考挑选反馈.py new file mode 100644 index 0000000..2cd6c10 --- /dev/null +++ b/tests/集成/test_参考挑选反馈.py @@ -0,0 +1,114 @@ +"""参考挑选反馈的真实落账、幂等、信号聚合与呈现分派兼容;无模型调用。""" + +import pytest +import test_作者偏好与反馈 as 偏好测试 + +from muse.作者经验.接口 import 参考挑选反馈请求, 挑选候选 +from muse.共享.错误 import Muse错误 + +pytestmark = pytest.mark.数据库 +候选环境 = 偏好测试.候选环境 +环境 = 偏好测试.环境 + + +def _请求(domain, selected, rejected, *, query="机甲近距格斗"): + return 参考挑选反馈请求( + query=query, + domain=domain, + candidates=( + 挑选候选("mv-a", 1, 0.031), + 挑选候选("mv-b", 2, 0.028), + 挑选候选("mv-c", 3, 0.024), + ), + selected=selected, + rejected=rejected, + index_generation=7, + ) + + +@pytest.mark.case_id( + "NC-w32-a10005", + environment="隔离PG;实际S01/B05/B09/S02与合成HTTP,不证明文学效果", + given="真实作者身份与固定参考挑选请求", + when="经服务保存参考挑选反馈并重放同一命令", + then=["反馈只追加落账且幂等;同命令不同内容拒绝"], + contract="docs/系统架构/新版设计/模块设计/B07-作者经验.md#偏好双轨关系", +) +def test_参考挑选落账幂等且同命令改内容拒绝__a10005(环境): + service, author, _, _ = 环境 + saved = service.记录参考挑选反馈(author, "ref-sel-1", _请求("combat", ("mv-a",), ("mv-c",))) + assert saved["payload"]["种类"] == "参考挑选" + assert saved["payload"]["selected"] == ["mv-a"] + replay = service.记录参考挑选反馈(author, "ref-sel-1", _请求("combat", ("mv-a",), ("mv-c",))) + assert replay["feedback_id"] == saved["feedback_id"] + with pytest.raises(Muse错误) as 冲突: + service.记录参考挑选反馈(author, "ref-sel-1", _请求("combat", ("mv-b",), ("mv-c",))) + assert "IDEMPOTENCY_CONFLICT" in str(冲突.value) or "已保存不同内容" in str(冲突.value) + + +@pytest.mark.case_id( + "NC-w32-a10006", + environment="隔离PG;实际S01/B05/B09/S02与合成HTTP,不证明文学效果", + given="跨领域的多条真实参考挑选反馈", + when="按全部领域与指定领域读取挑选信号", + then=["选用与拒绝分列计数;位次保留样本;领域过滤生效"], + contract="docs/系统架构/新版设计/模块设计/B07-作者经验.md#偏好双轨关系", +) +def test_挑选信号分列计数与领域过滤__a10006(环境): + service, author, _, _ = 环境 + service.记录参考挑选反馈(author, "sig-1", _请求("combat", ("mv-a", "mv-b"), ("mv-c",))) + service.记录参考挑选反馈( + author, + "sig-2", + 参考挑选反馈请求( + query="机甲近距格斗", + domain="combat", + candidates=(挑选候选("mv-b", 1, 0.03), 挑选候选("mv-a", 2, 0.02)), + selected=("mv-b",), + index_generation=7, + ), + ) + service.记录参考挑选反馈(author, "sig-3", _请求("emotion", (), ("mv-a",), query="情感克制")) + + 信号 = {条["method_version_id"]: 条 for 条 in service.读取参考挑选信号(author)} + assert 信号["mv-a"]["选用次数"] == 1 + assert 信号["mv-a"]["拒绝次数"] == 1 + assert 信号["mv-a"]["选中位次"] == [1] + assert 信号["mv-b"]["选用次数"] == 2 + assert 信号["mv-b"]["拒绝次数"] == 0 + assert 信号["mv-b"]["选中位次"] == [1, 2] + assert 信号["mv-c"]["选用次数"] == 0 + assert 信号["mv-c"]["拒绝次数"] == 1 + assert 信号["mv-c"]["选中位次"] == [] + + combat = {条["method_version_id"]: 条 for 条 in service.读取参考挑选信号(author, 领域="combat")} + assert combat["mv-a"]["拒绝次数"] == 0 # 拒绝发生在 emotion 领域,不串算 + assert combat["mv-a"]["选用次数"] == 1 + assert combat["mv-c"]["拒绝次数"] == 1 + 信号情感 = service.读取参考挑选信号(author, 领域="emotion") + emotion = {条["method_version_id"]: 条 for 条 in 信号情感} + assert emotion["mv-a"]["选用次数"] == 0 + assert emotion["mv-a"]["拒绝次数"] == 1 + assert "mv-b" not in emotion + + +@pytest.mark.case_id( + "NC-w32-a10007", + environment="隔离PG;实际S01/B05/B09/S02与合成HTTP,不证明文学效果", + given="同一作者的改写对照反馈与参考挑选反馈", + when="经统一呈现入口读取两类反馈", + then=["按payload种类分派;存量改写对照合同不变"], + contract="docs/系统架构/新版设计/模块设计/B07-作者经验.md#偏好双轨关系", +) +def test_呈现反馈按种类分派且改写对照兼容__a10007(环境): + service, author, _, 改写请求 = 环境 + 对照 = service.记录反馈(author, "cmp-compat", 改写请求) + assert "种类" not in 对照["payload"] + 呈现对照 = service.读取反馈(author, str(对照["feedback_id"])) + assert 呈现对照["before_text"] and 呈现对照["after_text"] + + 挑选 = service.记录参考挑选反馈(author, "sel-compat", _请求("combat", ("mv-a",), ())) + 呈现挑选 = service.读取反馈(author, str(挑选["feedback_id"])) + assert 呈现挑选["请求"]["种类"] == "参考挑选" + assert 呈现挑选["请求"]["selected"] == ("mv-a",) + assert "before_text" not in 呈现挑选 diff --git a/web/src/接口/生成/类型.ts b/web/src/接口/生成/类型.ts index 7eaa39d..1bcced6 100644 --- a/web/src/接口/生成/类型.ts +++ b/web/src/接口/生成/类型.ts @@ -2017,6 +2017,40 @@ export interface paths { patch?: never; trace?: never; }; + "/api/v1/reference-selections": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** 记录参考挑选 */ + post: operations["capture_reference_selection"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/reference-selection-signals": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** 读挑选信号 */ + get: operations["read_reference_selection_signals"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; "/api/v1/improvements": { parameters: { query?: never; @@ -3725,8 +3759,20 @@ export interface components { /** Decision */ decision: string; }; - /** 改进请求 */ + /** + * 挑选候选 + * @description 参考挑选中的单个候选:方法版本、检索回执位次与融合得分。 + */ muse__________________18: { + /** Method Version Id */ + method_version_id: string; + /** Rank */ + rank: number; + /** Score */ + score: number; + }; + /** 改进请求 */ + muse__________________19: { /** Improvement Id */ improvement_id: string; /** Expected Revision */ @@ -3740,8 +3786,14 @@ export interface components { /** Feedback Ids */ feedback_ids: string[]; }; + /** + * 内容用途 + * @description 内容消费用途。 + * @enum {string} + */ + muse__________________2: "planning" | "generation" | "detection" | "extraction"; /** 改进定位 */ - muse__________________19: { + muse__________________20: { /** Improvement Id */ improvement_id: string; /** Revision */ @@ -3749,19 +3801,13 @@ export interface components { /** Content Hash */ content_hash: string; }; - /** - * 内容用途 - * @description 内容消费用途。 - * @enum {string} - */ - muse__________________2: "planning" | "generation" | "detection" | "extraction"; /** 观察请求 */ - muse__________________20: { + muse__________________21: { /** Feedback Ids */ feedback_ids: string[]; /** Quote */ quote: string; - improvement?: components["schemas"]["muse__________________19"] | null; + improvement?: components["schemas"]["muse__________________20"] | null; /** Review Seconds */ review_seconds?: number | null; /** Rework Count */ @@ -3772,7 +3818,7 @@ export interface components { cost_usd?: string | null; }; /** 章节修订 */ - muse__________________21: { + muse__________________22: { /** Chapter Id */ chapter_id: string; /** Revision */ @@ -3788,16 +3834,16 @@ export interface components { branch_id: string; }; /** 全书修订 */ - muse__________________22: { + muse__________________23: { /** Batch Id */ batch_id: string; /** Work Id */ work_id: string; /** Chapters */ - chapters: components["schemas"]["muse__________________21"][]; + chapters: components["schemas"]["muse__________________22"][]; }; /** 章节版本 */ - muse__________________23: { + muse__________________24: { /** Chapter Id */ chapter_id: string; /** Revision */ @@ -3813,7 +3859,7 @@ export interface components { expected_current_revision?: number | null; }; /** 交付材料 */ - muse__________________24: { + muse__________________25: { /** Title */ title: string; /** Author Name */ @@ -3835,7 +3881,7 @@ export interface components { characters: string; }; /** 定稿请求 */ - muse__________________25: { + muse__________________26: { /** Delivery Id */ delivery_id: string; /** Work Id */ @@ -3843,11 +3889,11 @@ export interface components { /** Directory Revision */ directory_revision: number; /** Chapters */ - chapters: components["schemas"]["muse__________________23"][]; - materials: components["schemas"]["muse__________________24"]; + chapters: components["schemas"]["muse__________________24"][]; + materials: components["schemas"]["muse__________________25"]; }; /** 连载请求 */ - muse__________________26: { + muse__________________27: { /** Plan Id */ plan_id: string; /** Delivery Id */ @@ -3858,7 +3904,7 @@ export interface components { chapters: components["schemas"]["muse_________________8"][]; }; /** 发布请求 */ - muse__________________27: { + muse__________________28: { /** Release Id */ release_id: string; /** Delivery Id */ @@ -3879,7 +3925,7 @@ export interface components { corrects_release_id?: string | null; }; /** 事实结构 */ - muse__________________28: { + muse__________________29: { /** Schema Id */ schema_id: string; /** Base Version */ @@ -3891,17 +3937,6 @@ export interface components { /** Extension Version */ extension_version?: number | null; }; - /** 引文锚点 */ - muse__________________29: { - /** Paragraph Id */ - paragraph_id: string; - /** Start */ - start: number; - /** End */ - end: number; - /** Quote */ - quote: string; - }; /** 档案结构 */ muse__________________3: { /** Schema Id */ @@ -3915,8 +3950,19 @@ export interface components { /** Extension Version */ extension_version?: number | null; }; - /** 正文依据 */ + /** 引文锚点 */ muse__________________30: { + /** Paragraph Id */ + paragraph_id: string; + /** Start */ + start: number; + /** End */ + end: number; + /** Quote */ + quote: string; + }; + /** 正文依据 */ + muse__________________31: { /** Chapter Id */ chapter_id: string; /** Branch Id */ @@ -3926,24 +3972,24 @@ export interface components { /** Document Hash */ document_hash: string; /** Evidence */ - evidence: components["schemas"]["muse__________________29"][]; + evidence: components["schemas"]["muse__________________30"][]; }; /** 知情记录 */ - muse__________________31: { + muse__________________32: { /** Actor Id */ actor_id: string; /** From Chapter Id */ from_chapter_id: string; }; /** 叙事窗口 */ - muse__________________32: { + muse__________________33: { /** From Chapter Id */ from_chapter_id: string; /** To Chapter Id */ to_chapter_id: string; }; /** 候选金标 */ - muse__________________33: { + muse__________________34: { /** Unit Id */ unit_id: string; /** Output Hash */ @@ -3962,7 +4008,7 @@ export interface components { }; }; /** 标定策略 */ - muse__________________34: { + muse__________________35: { /** * Version * @default calibration-policy-v1 @@ -3981,7 +4027,7 @@ export interface components { minimum_verdict_agreement: number; }; /** 节点条目 */ - muse__________________35: { + muse__________________36: { /** Node Id */ node_id: string; /** @@ -3997,7 +4043,7 @@ export interface components { position: number; }; /** 作品概要 */ - muse__________________36: { + muse__________________37: { /** Work Id */ work_id: string; /** Revision */ @@ -4008,7 +4054,7 @@ export interface components { }; }; /** 章节条目 */ - muse__________________37: { + muse__________________38: { /** Chapter Id */ chapter_id: string; /** Title */ @@ -4017,16 +4063,39 @@ export interface components { position: number; }; /** 目录结果 */ - muse__________________38: { + muse__________________39: { /** Work Id */ work_id: string; /** Revision */ revision: number; /** Chapters */ - chapters: components["schemas"]["muse__________________37"][]; + chapters: components["schemas"]["muse__________________38"][]; + }; + /** 规划保存 */ + muse__________________4: { + /** Work Id */ + work_id: string; + /** Expected Revision */ + expected_revision: number; + schema: components["schemas"]["muse__________________3"]; + /** Content */ + content: { + [key: string]: unknown; + }; + /** Chapter Id */ + chapter_id?: string | null; + /** Selection Revision */ + selection_revision?: number | null; + /** + * Changes + * @default [] + */ + changes: components["schemas"]["muse_________________7"][]; + /** Node Id */ + node_id?: string | null; }; /** 规划结果 */ - muse__________________39: { + muse__________________40: { /** Plan Id */ plan_id: string; /** Work Id */ @@ -4052,31 +4121,8 @@ export interface components { [key: string]: string; }[]; }; - /** 规划保存 */ - muse__________________4: { - /** Work Id */ - work_id: string; - /** Expected Revision */ - expected_revision: number; - schema: components["schemas"]["muse__________________3"]; - /** Content */ - content: { - [key: string]: unknown; - }; - /** Chapter Id */ - chapter_id?: string | null; - /** Selection Revision */ - selection_revision?: number | null; - /** - * Changes - * @default [] - */ - changes: components["schemas"]["muse_________________7"][]; - /** Node Id */ - node_id?: string | null; - }; /** 判据阶段 */ - muse__________________40: { + muse__________________41: { /** * Status * @enum {string} @@ -4086,7 +4132,7 @@ export interface components { reasons: string[]; }; /** 效果分组 */ - muse__________________41: { + muse__________________42: { /** Sample Count */ sample_count: number; /** Stable Count */ @@ -4097,7 +4143,7 @@ export interface components { }; }; /** 效果统计 */ - muse__________________42: { + muse__________________43: { /** Sample Count */ sample_count: number; /** Stable Count */ @@ -4128,15 +4174,15 @@ export interface components { }; /** Scenarios */ scenarios: { - [key: string]: components["schemas"]["muse__________________41"]; + [key: string]: components["schemas"]["muse__________________42"]; }; /** Strata */ strata: { - [key: string]: components["schemas"]["muse__________________41"]; + [key: string]: components["schemas"]["muse__________________42"]; }; }; /** 效果判据 */ - muse__________________43: { + muse__________________44: { /** * Version * @enum {string} @@ -4158,10 +4204,10 @@ export interface components { policy_hash: string; /** Evidence Hash */ evidence_hash: string; - gate_a: components["schemas"]["muse__________________40"]; - gate_b: components["schemas"]["muse__________________40"]; + gate_a: components["schemas"]["muse__________________41"]; + gate_b: components["schemas"]["muse__________________41"]; /** Metrics */ - metrics: components["schemas"]["muse__________________42"] | components["schemas"]["muse____________________97"]; + metrics: components["schemas"]["muse__________________43"] | components["schemas"]["muse____________________98"]; /** Confounders */ confounders: string[]; /** Validation Modes */ @@ -4173,8 +4219,8 @@ export interface components { activation_status: "not_evaluated"; }; /** 效果读回 */ - muse__________________44: { - assessment: components["schemas"]["muse__________________43"]; + muse__________________45: { + assessment: components["schemas"]["muse__________________44"]; /** Receipt Id */ receipt_id: string | null; /** Receipt Hash */ @@ -4187,7 +4233,7 @@ export interface components { current_policy: boolean; }; /** 标定指标 */ - muse__________________45: { + muse__________________46: { /** N */ n: number; /** Mae */ @@ -4208,7 +4254,7 @@ export interface components { source_group_count: number; }; /** 标定统计 */ - muse__________________46: { + muse__________________47: { /** N */ n: number; /** Mae */ @@ -4221,7 +4267,7 @@ export interface components { passed: boolean; }; /** 标定观察 */ - muse__________________47: { + muse__________________48: { /** Judge Unit Id */ judge_unit_id: string; /** Candidate Id */ @@ -4236,7 +4282,7 @@ export interface components { difference: number; }; /** 标定报告 */ - muse__________________48: { + muse__________________49: { /** * Version * @constant @@ -4248,7 +4294,7 @@ export interface components { conditions_hash: string; /** Plan Hash */ plan_hash: string; - policy: components["schemas"]["muse__________________34"]; + policy: components["schemas"]["muse__________________35"]; /** * Status * @enum {string} @@ -4256,13 +4302,13 @@ export interface components { status: "incomplete" | "passed" | "failed"; /** Gold Hash */ gold_hash: string | null; - metrics: components["schemas"]["muse__________________45"] | null; + metrics: components["schemas"]["muse__________________46"] | null; /** Dimensions */ dimensions: { - [key: string]: components["schemas"]["muse__________________46"]; + [key: string]: components["schemas"]["muse__________________47"]; }; /** Observations */ - observations: components["schemas"]["muse__________________47"][]; + observations: components["schemas"]["muse__________________48"][]; /** Validation Modes */ validation_modes: string[]; /** Reasons */ @@ -4273,16 +4319,6 @@ export interface components { */ activation_status: "not_evaluated"; }; - /** 标定读回 */ - muse__________________49: { - result: components["schemas"]["muse__________________48"]; - /** Receipt Id */ - receipt_id: string | null; - /** Receipt Hash */ - receipt_hash: string | null; - /** Stopped */ - stopped: boolean; - }; /** 目录节点 */ muse__________________5: { /** Node Id */ @@ -4297,8 +4333,18 @@ export interface components { /** Parent Id */ parent_id?: string | null; }; - /** 混淆发现 */ + /** 标定读回 */ muse__________________50: { + result: components["schemas"]["muse__________________49"]; + /** Receipt Id */ + receipt_id: string | null; + /** Receipt Hash */ + receipt_hash: string | null; + /** Stopped */ + stopped: boolean; + }; + /** 混淆发现 */ + muse__________________51: { /** Arm */ arm: string; /** Kind */ @@ -4309,7 +4355,7 @@ export interface components { reason: string; }; /** 混淆观察 */ - muse__________________51: { + muse__________________52: { /** * Status * @enum {string} @@ -4320,12 +4366,12 @@ export interface components { /** Denominator */ denominator: number | null; /** Findings */ - findings: components["schemas"]["muse__________________50"][]; + findings: components["schemas"]["muse__________________51"][]; /** Reasons */ reasons: string[]; }; /** 文学证据 */ - muse__________________52: { + muse__________________53: { /** Evidence Id */ evidence_id: string; /** Source Type */ @@ -4340,14 +4386,14 @@ export interface components { end: number; }; /** 文学推断 */ - muse__________________53: { + muse__________________54: { /** Claim */ claim: string; /** Refs */ refs: string[]; }; /** 报告覆盖 */ - muse__________________54: { + muse__________________55: { /** Samples */ samples: number; /** Generated */ @@ -4356,7 +4402,7 @@ export interface components { compared: number; }; /** 报告分组 */ - muse__________________55: { + muse__________________56: { /** Samples */ samples: number; /** Outcomes */ @@ -4365,7 +4411,7 @@ export interface components { }; }; /** 报告运行 */ - muse__________________56: { + muse__________________57: { /** Units */ units: number; /** States */ @@ -4374,7 +4420,7 @@ export interface components { }; }; /** 报告费用 */ - muse__________________57: { + muse__________________58: { /** Known Total Usd */ known_total_usd: string; /** Total Usd */ @@ -4391,7 +4437,7 @@ export interface components { released_reservations: number; }; /** 文学指标 */ - muse__________________58: { + muse__________________59: { /** Calibration */ calibration: string; /** Metrics */ @@ -4399,20 +4445,6 @@ export interface components { [key: string]: number; } | null; }; - /** 判断引文 */ - muse__________________59: { - /** - * Side - * @enum {string} - */ - side: "left" | "right"; - /** Quote */ - quote: string; - /** Start */ - start: number; - /** End */ - end: number; - }; /** 探索选择 */ muse__________________6: { /** Work Id */ @@ -4424,8 +4456,22 @@ export interface components { /** Expected Revision */ expected_revision: number; }; - /** 判断维度 */ + /** 判断引文 */ muse__________________60: { + /** + * Side + * @enum {string} + */ + side: "left" | "right"; + /** Quote */ + quote: string; + /** Start */ + start: number; + /** End */ + end: number; + }; + /** 判断维度 */ + muse__________________61: { /** Dimension */ dimension: string; /** @@ -4436,10 +4482,10 @@ export interface components { /** Rationale */ rationale: string; /** Evidence */ - evidence: components["schemas"]["muse__________________59"][]; + evidence: components["schemas"]["muse__________________60"][]; }; /** 报告判断 */ - muse__________________61: { + muse__________________62: { /** Unit Id */ unit_id: string; /** Task Id */ @@ -4460,19 +4506,19 @@ export interface components { }; /** Judgment Hash */ judgment_hash?: string | null; - judgment?: components["schemas"]["muse____________________102"] | null; + judgment?: components["schemas"]["muse____________________103"] | null; /** Sides */ sides: { [key: string]: string; }; - literary?: components["schemas"]["muse____________________105"] | null; + literary?: components["schemas"]["muse____________________106"] | null; /** Literary Hash */ literary_hash?: string | null; /** Scope Hash */ scope_hash?: string | null; }; /** 调用费用 */ - muse__________________62: { + muse__________________63: { /** Call Id */ call_id: string; /** Attempt Id */ @@ -4489,7 +4535,7 @@ export interface components { over_budget: boolean; }; /** 报告单元 */ - muse__________________63: { + muse__________________64: { /** Unit Id */ unit_id: string; /** Task Id */ @@ -4499,9 +4545,9 @@ export interface components { /** Output Hash */ output_hash: string | null; /** Calls */ - calls: components["schemas"]["muse__________________62"][]; + calls: components["schemas"]["muse__________________63"][]; /** Rejections */ - rejections?: components["schemas"]["muse____________________106"][]; + rejections?: components["schemas"]["muse____________________107"][]; /** Correction Limit */ correction_limit?: number | null; /** Unregistered Deliveries */ @@ -4511,7 +4557,7 @@ export interface components { condition?: components["schemas"]["muse___________________17"] | null; }; /** 仲裁分数 */ - muse__________________64: { + muse__________________65: { /** Candidate Id */ candidate_id: string; /** Dimension */ @@ -4520,7 +4566,7 @@ export interface components { score: number; }; /** 仲裁判定 */ - muse__________________65: { + muse__________________66: { /** Kind */ kind: string; /** Candidate Id */ @@ -4534,7 +4580,7 @@ export interface components { verdict: "pass" | "fail"; }; /** 仲裁报告 */ - muse__________________66: { + muse__________________67: { /** Status */ status: string; /** Execution Verified */ @@ -4546,9 +4592,9 @@ export interface components { /** Choice Gaps */ choice_gaps?: string[]; /** Scores */ - scores?: components["schemas"]["muse__________________64"][]; + scores?: components["schemas"]["muse__________________65"][]; /** Verdicts */ - verdicts?: components["schemas"]["muse__________________65"][]; + verdicts?: components["schemas"]["muse__________________66"][]; /** Preferences */ preferences?: { [key: string]: string; @@ -4559,7 +4605,7 @@ export interface components { }; }; /** 报告检测 */ - muse__________________67: { + muse__________________68: { /** Unit Id */ unit_id: string; /** Task Id */ @@ -4577,7 +4623,7 @@ export interface components { report: components["schemas"]["muse_______________________2"]; }; /** 报告样本 */ - muse__________________68: { + muse__________________69: { /** Sample Id */ sample_id: string; /** Source Groups */ @@ -4597,24 +4643,37 @@ export interface components { [key: string]: string; }; /** Decisions */ - decisions: components["schemas"]["muse__________________61"][]; + decisions: components["schemas"]["muse__________________62"][]; /** Units */ - units: (components["schemas"]["muse__________________63"] | components["schemas"]["muse____________________107"])[]; + units: (components["schemas"]["muse__________________64"] | components["schemas"]["muse____________________108"])[]; /** Incomplete Units */ incomplete_units: string[]; /** Literary */ literary?: { - [key: string]: components["schemas"]["muse__________________66"]; + [key: string]: components["schemas"]["muse__________________67"]; }; /** Detection Complete */ detection_complete?: boolean | null; /** Detections */ detections?: { - [key: string]: components["schemas"]["muse__________________67"]; + [key: string]: components["schemas"]["muse__________________68"]; }; }; + /** 规划定位 */ + muse__________________7: { + /** Candidate Id */ + candidate_id: string; + /** Candidate Revision */ + candidate_revision: number; + /** Candidate Hash */ + candidate_hash: string; + /** Plan Id */ + plan_id: string; + /** Expected Revision */ + expected_revision: number; + }; /** 实验报告 */ - muse__________________69: { + muse__________________70: { /** * Schema Version * @constant @@ -4642,7 +4701,7 @@ export interface components { activation_status: string; /** Validation Modes */ validation_modes: string[]; - coverage: components["schemas"]["muse__________________54"]; + coverage: components["schemas"]["muse__________________55"]; /** Outcomes */ outcomes: { [key: string]: number; @@ -4655,39 +4714,26 @@ export interface components { }; /** Source Groups */ source_groups: { - [key: string]: components["schemas"]["muse__________________55"]; + [key: string]: components["schemas"]["muse__________________56"]; }; - runtime: components["schemas"]["muse__________________56"]; - cost: components["schemas"]["muse__________________57"]; - literary_quality: components["schemas"]["muse__________________58"]; - calibration?: components["schemas"]["muse__________________49"] | null; + runtime: components["schemas"]["muse__________________57"]; + cost: components["schemas"]["muse__________________58"]; + literary_quality: components["schemas"]["muse__________________59"]; + calibration?: components["schemas"]["muse__________________50"] | null; /** * Evaluation Goal * @default diagnostic * @enum {string} */ evaluation_goal: "diagnostic" | "qualification"; - calibration_use?: components["schemas"]["muse____________________101"] | null; - effect?: components["schemas"]["muse__________________44"] | null; + calibration_use?: components["schemas"]["muse____________________102"] | null; + effect?: components["schemas"]["muse__________________45"] | null; confounders?: components["schemas"]["muse___________________16"] | null; /** Samples */ - samples: components["schemas"]["muse__________________68"][]; + samples: components["schemas"]["muse__________________69"][]; /** Report Hash */ report_hash: string; }; - /** 规划定位 */ - muse__________________7: { - /** Candidate Id */ - candidate_id: string; - /** Candidate Revision */ - candidate_revision: number; - /** Candidate Hash */ - candidate_hash: string; - /** Plan Id */ - plan_id: string; - /** Expected Revision */ - expected_revision: number; - }; /** 文本节点 */ muse__________________8: { /** Text */ @@ -4794,11 +4840,11 @@ export interface components { }; /** 样本混淆项 */ muse___________________15: { - false_negative: components["schemas"]["muse__________________51"]; - false_positive: components["schemas"]["muse__________________51"]; - leakage: components["schemas"]["muse__________________51"]; - reviewer_instability: components["schemas"]["muse__________________51"]; - new_characters_without_cards: components["schemas"]["muse__________________51"]; + false_negative: components["schemas"]["muse__________________52"]; + false_positive: components["schemas"]["muse__________________52"]; + leakage: components["schemas"]["muse__________________52"]; + reviewer_instability: components["schemas"]["muse__________________52"]; + new_characters_without_cards: components["schemas"]["muse__________________52"]; }; /** 混淆项报告 */ muse___________________16: { @@ -4897,7 +4943,7 @@ export interface components { /** Approval Ref */ approval_ref: string; /** Annotations */ - annotations: components["schemas"]["muse__________________33"][]; + annotations: components["schemas"]["muse__________________34"][]; }; /** * 样本分层 @@ -4963,8 +5009,23 @@ export interface components { /** Expected Hash */ expected_hash: string | null; }; - /** 标定使用依据 */ + /** 评委标定覆盖 */ muse____________________100: { + /** Experiment Id */ + experiment_id: string; + /** Actual Model */ + actual_model: string; + /** Sample Count */ + sample_count: number; + /** Source Group Count */ + source_group_count: number; + /** Rubric Hashes */ + rubric_hashes: string[]; + /** Observation Hash */ + observation_hash: string; + }; + /** 标定使用依据 */ + muse____________________101: { /** * Version * @constant @@ -4976,19 +5037,19 @@ export interface components { references: components["schemas"]["muse_____________________11"][]; /** Reviewers */ reviewers: { - [key: string]: components["schemas"]["muse____________________99"]; + [key: string]: components["schemas"]["muse____________________100"]; }; }; /** 标定使用读回 */ - muse____________________101: { - binding: components["schemas"]["muse____________________100"]; + muse____________________102: { + binding: components["schemas"]["muse____________________101"]; /** Stopped References */ stopped_references: string[]; /** Validation Modes */ validation_modes?: string[]; }; /** 定位判断报告 */ - muse____________________102: { + muse____________________103: { /** * Choice * @enum {string} @@ -4997,10 +5058,10 @@ export interface components { /** Rationale */ rationale: string; /** Dimensions */ - dimensions: components["schemas"]["muse__________________60"][]; + dimensions: components["schemas"]["muse__________________61"][]; }; /** 文学维度评分 */ - muse____________________103: { + muse____________________104: { /** Dimension */ dimension: string; /** Score */ @@ -5008,35 +5069,35 @@ export interface components { /** Rationale */ rationale: string; /** Evidence */ - evidence: components["schemas"]["muse__________________52"][]; + evidence: components["schemas"]["muse__________________53"][]; /** Inferences */ - inferences: components["schemas"]["muse__________________53"][]; + inferences: components["schemas"]["muse__________________54"][]; }; /** 文学候选评分 */ - muse____________________104: { + muse____________________105: { /** * Side * @enum {string} */ side: "left" | "right"; /** Scores */ - scores: components["schemas"]["muse____________________103"][]; + scores: components["schemas"]["muse____________________104"][]; }; /** 文学判断明细 */ - muse____________________105: { + muse____________________106: { /** Candidate Scores */ - candidate_scores: components["schemas"]["muse____________________104"][]; + candidate_scores: components["schemas"]["muse____________________105"][]; /** Assertion Verdicts */ - assertion_verdicts: components["schemas"]["muse____________________98"][]; + assertion_verdicts: components["schemas"]["muse____________________99"][]; /** Constraint Verdicts */ - constraint_verdicts: components["schemas"]["muse____________________98"][]; + constraint_verdicts: components["schemas"]["muse____________________99"][]; /** Basis Hash */ basis_hash: string; /** Rubric Hash */ rubric_hash: string; }; /** 引文拒绝摘要 */ - muse____________________106: { + muse____________________107: { /** Sequence */ sequence: number; /** Attempt Id */ @@ -5059,7 +5120,7 @@ export interface components { dimension_count: number; }; /** 报告复用单元 */ - muse____________________107: { + muse____________________108: { /** Unit Id */ unit_id: string; /** Task Id */ @@ -5069,9 +5130,9 @@ export interface components { /** Output Hash */ output_hash: string | null; /** Calls */ - calls: components["schemas"]["muse__________________62"][]; + calls: components["schemas"]["muse__________________63"][]; /** Rejections */ - rejections?: components["schemas"]["muse____________________106"][]; + rejections?: components["schemas"]["muse____________________107"][]; /** Correction Limit */ correction_limit?: number | null; /** Unregistered Deliveries */ @@ -5492,8 +5553,14 @@ export interface components { */ action: "adopt" | "reject" | "defer"; }; - /** 运行来源请求 */ + /** 参考挑选输入 */ muse____________________42: { + /** Command Id */ + command_id: string; + selection: components["schemas"]["muse______________________9"]; + }; + /** 运行来源请求 */ + muse____________________43: { /** * Task Id * Format: uuid @@ -5522,7 +5589,7 @@ export interface components { business_revision: number; }; /** 运行观察来源 */ - muse____________________43: { + muse____________________44: { /** Task Id */ task_id: string; /** Attempt Id */ @@ -5548,9 +5615,9 @@ export interface components { business_revision: number; }; /** 运行观察请求 */ - muse____________________44: { + muse____________________45: { /** Sources */ - sources: components["schemas"]["muse____________________43"][]; + sources: components["schemas"]["muse____________________44"][]; /** Phenomenon */ phenomenon: string; /** Quote */ @@ -5564,7 +5631,7 @@ export interface components { issue_key: string; }; /** 规则改进请求 */ - muse____________________45: { + muse____________________46: { /** Improvement Id */ improvement_id: string; /** Expected Revision */ @@ -5583,11 +5650,11 @@ export interface components { feedback_ids: string[]; }; /** 规则改进输入 */ - muse____________________46: { - proposal: components["schemas"]["muse____________________45"]; + muse____________________47: { + proposal: components["schemas"]["muse____________________46"]; }; /** 规则启停请求 */ - muse____________________47: { + muse____________________48: { /** Action */ action: string; /** Rule Id */ @@ -5609,7 +5676,7 @@ export interface components { credential_id: string; }; /** 读者反馈请求 */ - muse____________________48: { + muse____________________49: { /** Feedback Id */ feedback_id: string; /** Work Id */ @@ -5636,15 +5703,6 @@ export interface components { */ adjustment: string; }; - /** 凭据引用 */ - muse____________________49: { - /** 名称 */ - "\u540D\u79F0": string; - /** 来源 */ - "\u6765\u6E90": string; - /** 位置 */ - "\u4F4D\u7F6E": string; - }; /** 节点目录保存 */ muse____________________5: { /** Work Id */ @@ -5654,8 +5712,17 @@ export interface components { /** Nodes */ nodes: components["schemas"]["muse__________________5"][]; }; - /** 候选修改请求 */ + /** 凭据引用 */ muse____________________50: { + /** 名称 */ + "\u540D\u79F0": string; + /** 来源 */ + "\u6765\u6E90": string; + /** 位置 */ + "\u4F4D\u7F6E": string; + }; + /** 候选修改请求 */ + muse____________________51: { /** Command Id */ command_id: string; /** Candidate Id */ @@ -5669,7 +5736,7 @@ export interface components { selected_changes?: string[]; }; /** 候选审阅请求 */ - muse____________________51: { + muse____________________52: { /** Candidate Id */ candidate_id: string; /** Candidate Revision */ @@ -5682,7 +5749,7 @@ export interface components { expected_revision: number; }; /** 候选决定请求 */ - muse____________________52: { + muse____________________53: { /** Command Id */ command_id: string; /** Candidate Id */ @@ -5708,20 +5775,20 @@ export interface components { approved_changes?: string[]; }; /** 事实提案请求 */ - muse____________________53: { + muse____________________54: { /** Work Id */ work_id: string; /** Object Id */ object_id: string; /** Expected Revision */ expected_revision: number; - schema: components["schemas"]["muse__________________28"]; + schema: components["schemas"]["muse__________________29"]; /** Content */ content: { [key: string]: unknown; }; /** Sources */ - sources: components["schemas"]["muse__________________30"][]; + sources: components["schemas"]["muse__________________31"][]; /** Effective From */ effective_from: string | null; /** @@ -5745,23 +5812,23 @@ export interface components { * Known To * @default [] */ - known_to: components["schemas"]["muse__________________31"][]; + known_to: components["schemas"]["muse__________________32"][]; /** * Reader Visible * @default true */ reader_visible: boolean; - planned_window?: components["schemas"]["muse__________________32"] | null; + planned_window?: components["schemas"]["muse__________________33"] | null; }; /** 事实创建请求 */ - muse____________________54: { + muse____________________55: { /** Command Id */ command_id: string; /** Proposal */ - proposal: components["schemas"]["muse____________________53"] | components["schemas"]["muse______________________12"]; + proposal: components["schemas"]["muse____________________54"] | components["schemas"]["muse______________________13"]; }; /** 事实审阅请求 */ - muse____________________55: { + muse____________________56: { /** Proposal Id */ proposal_id: string; /** Proposal Revision */ @@ -5774,7 +5841,7 @@ export interface components { expected_revision: number; }; /** 事实决定请求 */ - muse____________________56: { + muse____________________57: { /** Command Id */ command_id: string; /** Proposal Id */ @@ -5800,7 +5867,7 @@ export interface components { approved_changes?: string[]; }; /** 实体保存请求 */ - muse____________________57: { + muse____________________58: { /** Command Id */ command_id: string; /** Object Id */ @@ -5854,7 +5921,7 @@ export interface components { instance_family: "entity" | "relation"; }; /** 交付补登请求 */ - muse____________________58: { + muse____________________59: { /** * Unit Id * Format: uuid @@ -5867,8 +5934,14 @@ export interface components { [key: string]: unknown; }; }; + /** 节点目录请求 */ + muse____________________6: { + /** Command Id */ + command_id: string; + directory: components["schemas"]["muse____________________5"]; + }; /** 数据集发布 */ - muse____________________59: { + muse____________________60: { /** Dataset Id */ dataset_id: string; /** Revision */ @@ -5876,21 +5949,15 @@ export interface components { /** Samples */ samples: components["schemas"]["muse___________________8"][]; }; - /** 节点目录请求 */ - muse____________________6: { - /** Command Id */ - command_id: string; - directory: components["schemas"]["muse____________________5"]; - }; /** 评判命题 */ - muse____________________60: { + muse____________________61: { /** Statement Id */ statement_id: string; /** Text */ text: string; }; /** 目标版本 */ - muse____________________61: { + muse____________________62: { /** * Kind * @enum {string} @@ -5904,14 +5971,14 @@ export interface components { content_hash: string; }; /** 配置选择 */ - muse____________________62: { + muse____________________63: { /** Config Id */ config_id: string; /** Version */ version: string; }; /** 标定引用 */ - muse____________________63: { + muse____________________64: { /** * Experiment Id * Format: uuid @@ -5921,13 +5988,13 @@ export interface components { receipt_hash: string; }; /** 标定使用 */ - muse____________________64: { - policy: components["schemas"]["muse__________________34"]; + muse____________________65: { + policy: components["schemas"]["muse__________________35"]; /** References */ - references: components["schemas"]["muse____________________63"][]; + references: components["schemas"]["muse____________________64"][]; }; /** 实验请求 */ - muse____________________65: { + muse____________________66: { /** * Dataset Version Id * Format: uuid @@ -5940,23 +6007,23 @@ export interface components { * @enum {string} */ split: "discovery" | "calibration" | "holdout"; - target: components["schemas"]["muse____________________61"]; + target: components["schemas"]["muse____________________62"]; /** * Generator Role * @enum {string} */ generator_role: "writer" | "planner"; - generator: components["schemas"]["muse____________________62"]; + generator: components["schemas"]["muse____________________63"]; /** Judges */ - judges: components["schemas"]["muse____________________62"][]; + judges: components["schemas"]["muse____________________63"][]; /** * Comparison Profile * @default preference * @enum {string} */ comparison_profile: "preference" | "writer_rubric"; - arbitrator?: components["schemas"]["muse____________________62"] | null; - detector?: components["schemas"]["muse____________________62"] | null; + arbitrator?: components["schemas"]["muse____________________63"] | null; + detector?: components["schemas"]["muse____________________63"] | null; /** Arms */ arms: string[]; /** Dimensions */ @@ -5970,17 +6037,17 @@ export interface components { * @default 1 */ max_judge_corrections: number; - calibration_policy?: components["schemas"]["muse__________________34"] | null; + calibration_policy?: components["schemas"]["muse__________________35"] | null; /** * Evaluation Goal * @default diagnostic * @enum {string} */ evaluation_goal: "diagnostic" | "qualification"; - calibration_use?: components["schemas"]["muse____________________64"] | null; + calibration_use?: components["schemas"]["muse____________________65"] | null; /** Effect Policy */ effect_policy?: "writer-effect-v1" | ("writer-goal-fidelity-v2" | "writer-goal-tension-v2" | "writer-goal-style-v2") | null; - application_scope?: components["schemas"]["muse______________________15"] | null; + application_scope?: components["schemas"]["muse______________________16"] | null; /** Effect Dependency Version */ effect_dependency_version?: "effect-dependency-v2" | null; /** @@ -5990,29 +6057,24 @@ export interface components { reuse_experiments: string[]; }; /** 实验创建请求 */ - muse____________________66: { + muse____________________67: { /** Command Id */ command_id: string; - request: components["schemas"]["muse____________________65"]; + request: components["schemas"]["muse____________________66"]; }; /** 实验停止请求 */ - muse____________________67: { + muse____________________68: { /** Command Id */ command_id: string; }; /** 规则验证请求 */ - muse____________________68: { + muse____________________69: { /** * Dataset Version Id * Format: uuid */ dataset_version_id: string; }; - /** 规划任务结果 */ - muse____________________69: { - /** Task Id */ - task_id: string; - }; /** 档案保存请求 */ muse____________________7: { /** Command Id */ @@ -6029,17 +6091,22 @@ export interface components { /** Changes */ changes?: components["schemas"]["muse_________________7"][]; }; - /** 节点目录结果 */ + /** 规划任务结果 */ muse____________________70: { + /** Task Id */ + task_id: string; + }; + /** 节点目录结果 */ + muse____________________71: { /** Work Id */ work_id: string; /** Revision */ revision: number; /** Nodes */ - nodes: components["schemas"]["muse__________________35"][]; + nodes: components["schemas"]["muse__________________36"][]; }; /** 正式回执结果 */ - muse____________________71: { + muse____________________72: { /** Receipt Id */ receipt_id: string; /** Command Id */ @@ -6072,7 +6139,7 @@ export interface components { no_change: boolean; }; /** 候选进度结果 */ - muse____________________72: { + muse____________________73: { /** Candidate Id */ candidate_id: string; /** Revision */ @@ -6083,7 +6150,7 @@ export interface components { stale: boolean; }; /** 章节进度结果 */ - muse____________________73: { + muse____________________74: { /** Chapter Id */ chapter_id: string; /** Title */ @@ -6097,10 +6164,10 @@ export interface components { /** Visible Characters */ visible_characters: number; /** Candidates */ - candidates: components["schemas"]["muse____________________72"][]; + candidates: components["schemas"]["muse____________________73"][]; }; /** 任务进度结果 */ - muse____________________74: { + muse____________________75: { /** Task Id */ task_id: string; /** State */ @@ -6109,7 +6176,7 @@ export interface components { event_cursor: number; }; /** 作品进度结果 */ - muse____________________75: { + muse____________________76: { /** Work Id */ work_id: string; /** Directory Revision */ @@ -6121,12 +6188,12 @@ export interface components { /** Undecided Candidates */ undecided_candidates: number; /** Chapters */ - chapters: components["schemas"]["muse____________________73"][]; + chapters: components["schemas"]["muse____________________74"][]; /** Tasks */ - tasks: components["schemas"]["muse____________________74"][]; + tasks: components["schemas"]["muse____________________75"][]; }; /** 作品表单结果 */ - muse____________________76: { + muse____________________77: { /** Work Id */ work_id: string; /** Revision */ @@ -6148,14 +6215,14 @@ export interface components { visible_projection_version: string; }; /** 交付格式问题 */ - muse____________________77: { + muse____________________78: { /** Code */ code: string; /** Message */ message: string; }; /** 探索检查结果 */ - muse____________________78: { + muse____________________79: { /** Draft Id */ draft_id: string; /** Draft Hash */ @@ -6163,20 +6230,12 @@ export interface components { /** Valid */ valid: boolean; /** Problems */ - problems: components["schemas"]["muse____________________77"][]; + problems: components["schemas"]["muse____________________78"][]; /** Setting Count */ setting_count: number; /** Contract Version */ contract_version: string; }; - /** 探索选定状态 */ - muse____________________79: { - /** Work Id */ - work_id: string; - /** Revision */ - revision: number; - selection: components["schemas"]["muse___________________14"] | null; - }; /** 新增章节请求 */ muse____________________8: { /** Command Id */ @@ -6190,8 +6249,16 @@ export interface components { /** Expected Directory Revision */ expected_directory_revision: number; }; - /** 规划候选结果 */ + /** 探索选定状态 */ muse____________________80: { + /** Work Id */ + work_id: string; + /** Revision */ + revision: number; + selection: components["schemas"]["muse___________________14"] | null; + }; + /** 规划候选结果 */ + muse____________________81: { /** Candidate Id */ candidate_id: string; /** @@ -6235,7 +6302,7 @@ export interface components { }; }; /** 规划审阅结果 */ - muse____________________81: { + muse____________________82: { /** Review Id */ review_id: string; /** Review Hash */ @@ -6244,11 +6311,11 @@ export interface components { snapshot: { [key: string]: unknown; }; - candidate: components["schemas"]["muse____________________80"]; - before: components["schemas"]["muse__________________39"] | null; + candidate: components["schemas"]["muse____________________81"]; + before: components["schemas"]["muse__________________40"] | null; }; /** 规划表单结果 */ - muse____________________82: { + muse____________________83: { /** Work Id */ work_id: string; /** Chapter Id */ @@ -6274,7 +6341,7 @@ export interface components { }; }; /** 正文历史结果 */ - muse____________________83: { + muse____________________84: { /** Revision */ revision: number; /** Document Hash */ @@ -6290,7 +6357,7 @@ export interface components { created_at: string; }; /** 正文读取结果 */ - muse____________________84: { + muse____________________85: { /** Work Id */ work_id: string; /** Document Id */ @@ -6315,7 +6382,7 @@ export interface components { visible_text_hash: string; }; /** 候选检查结果 */ - muse____________________85: { + muse____________________86: { /** Format */ format: string; /** Format Version */ @@ -6324,7 +6391,7 @@ export interface components { quality: string; }; /** 候选差异结果 */ - muse____________________86: { + muse____________________87: { /** Change Id */ change_id: string; /** Start */ @@ -6341,7 +6408,7 @@ export interface components { after_text: string; }; /** 正文候选结果 */ - muse____________________87: { + muse____________________88: { /** Document Hash */ document_hash?: string | null; /** Candidate Id */ @@ -6365,7 +6432,7 @@ export interface components { document: components["schemas"]["muse__________________10"]; /** Visible Text */ visible_text: string; - checks: components["schemas"]["muse____________________85"]; + checks: components["schemas"]["muse____________________86"]; /** * Decision * @enum {string} @@ -6374,10 +6441,10 @@ export interface components { /** Stale */ stale: boolean; /** Changes */ - changes: components["schemas"]["muse____________________86"][]; + changes: components["schemas"]["muse____________________87"][]; }; /** 正文候选摘要 */ - muse____________________88: { + muse____________________89: { /** Candidate Id */ candidate_id: string; /** Revision */ @@ -6404,19 +6471,6 @@ export interface components { /** Stale */ stale: boolean; }; - /** 候选审阅结果 */ - muse____________________89: { - /** Review Id */ - review_id: string; - /** Review Hash */ - review_hash: string; - /** Snapshot */ - snapshot: { - [key: string]: unknown; - }; - candidate: components["schemas"]["muse____________________87"]; - before: components["schemas"]["muse____________________84"]; - }; /** 重排章节请求 */ muse____________________9: { /** Command Id */ @@ -6428,8 +6482,21 @@ export interface components { /** Expected Directory Revision */ expected_directory_revision: number; }; - /** 事实来源版本 */ + /** 候选审阅结果 */ muse____________________90: { + /** Review Id */ + review_id: string; + /** Review Hash */ + review_hash: string; + /** Snapshot */ + snapshot: { + [key: string]: unknown; + }; + candidate: components["schemas"]["muse____________________88"]; + before: components["schemas"]["muse____________________85"]; + }; + /** 事实来源版本 */ + muse____________________91: { /** Chapter Id */ chapter_id: string; /** Branch Id */ @@ -6440,7 +6507,7 @@ export interface components { document_hash: string; }; /** 世界事实结果 */ - muse____________________91: { + muse____________________92: { /** Object Id */ object_id: string; /** Type Id */ @@ -6468,21 +6535,21 @@ export interface components { [key: string]: unknown; }; /** Sources */ - sources: components["schemas"]["muse____________________90"][]; + sources: components["schemas"]["muse____________________91"][]; /** Planned Window */ planned_window?: { [key: string]: string; } | null; }; /** 事实省略原因 */ - muse____________________92: { + muse____________________93: { /** Object Id */ object_id: string; /** Reason */ reason: string; }; /** 世界查询结果 */ - muse____________________93: { + muse____________________94: { /** Work Id */ work_id: string; /** Directory Revision */ @@ -6490,16 +6557,16 @@ export interface components { /** System Revision */ system_revision: number; /** Facts */ - facts: components["schemas"]["muse____________________91"][]; + facts: components["schemas"]["muse____________________92"][]; /** Beliefs */ - beliefs: components["schemas"]["muse____________________91"][]; + beliefs: components["schemas"]["muse____________________92"][]; /** Plans */ - plans: components["schemas"]["muse____________________91"][]; + plans: components["schemas"]["muse____________________92"][]; /** Omitted */ - omitted: components["schemas"]["muse____________________92"][]; + omitted: components["schemas"]["muse____________________93"][]; }; /** 事实提案结果 */ - muse____________________94: { + muse____________________95: { /** Proposal Id */ proposal_id: string; /** Revision */ @@ -6512,7 +6579,7 @@ export interface components { object_id: string; /** Expected Revision */ expected_revision: number; - schema: components["schemas"]["muse__________________28"]; + schema: components["schemas"]["muse__________________29"]; /** Content */ content: { [key: string]: unknown; @@ -6528,7 +6595,7 @@ export interface components { /** Knowledge Mode */ knowledge_mode: string; /** Known To */ - known_to: components["schemas"]["muse__________________31"][]; + known_to: components["schemas"]["muse__________________32"][]; /** Planned Window */ planned_window: { [key: string]: string; @@ -6537,7 +6604,7 @@ export interface components { decision: string; }; /** 事实审阅结果 */ - muse____________________95: { + muse____________________96: { /** Review Id */ review_id: string; /** Review Hash */ @@ -6546,10 +6613,10 @@ export interface components { snapshot: { [key: string]: unknown; }; - proposal: components["schemas"]["muse____________________94"]; + proposal: components["schemas"]["muse____________________95"]; }; /** 实体表单结果 */ - muse____________________96: { + muse____________________97: { /** Work Id */ work_id: string; /** Object Id */ @@ -6558,7 +6625,7 @@ export interface components { type_id: string; /** Revision */ revision: number; - schema_binding: components["schemas"]["muse__________________28"]; + schema_binding: components["schemas"]["muse__________________29"]; /** Content */ content: { [key: string]: unknown; @@ -6578,7 +6645,7 @@ export interface components { context: components["schemas"]["muse_____________________10"]; }; /** 效果目标统计 */ - muse____________________97: { + muse____________________98: { /** Sample Count */ sample_count: number; /** Stable Count */ @@ -6609,17 +6676,17 @@ export interface components { }; /** Scenarios */ scenarios: { - [key: string]: components["schemas"]["muse__________________41"]; + [key: string]: components["schemas"]["muse__________________42"]; }; /** Strata */ strata: { - [key: string]: components["schemas"]["muse__________________41"]; + [key: string]: components["schemas"]["muse__________________42"]; }; /** Goal Positive Ratio */ goal_positive_ratio: number | null; }; /** 文学命题判定 */ - muse____________________98: { + muse____________________99: { /** * Side * @enum {string} @@ -6635,24 +6702,9 @@ export interface components { /** Rationale */ rationale: string; /** Evidence */ - evidence: components["schemas"]["muse__________________52"][]; + evidence: components["schemas"]["muse__________________53"][]; /** Inferences */ - inferences: components["schemas"]["muse__________________53"][]; - }; - /** 评委标定覆盖 */ - muse____________________99: { - /** Experiment Id */ - experiment_id: string; - /** Actual Model */ - actual_model: string; - /** Sample Count */ - sample_count: number; - /** Source Group Count */ - source_group_count: number; - /** Rubric Hashes */ - rubric_hashes: string[]; - /** Observation Hash */ - observation_hash: string; + inferences: components["schemas"]["muse__________________54"][]; }; /** 调用响应核对请求 */ muse_____________________1: { @@ -6664,7 +6716,7 @@ export interface components { /** 实体编辑上下文 */ muse_____________________10: { /** Sources */ - sources: components["schemas"]["muse__________________30"][]; + sources: components["schemas"]["muse__________________31"][]; /** Independent */ independent: boolean; /** @@ -6675,10 +6727,10 @@ export interface components { /** Effective From */ effective_from: string | null; /** Known To */ - known_to: components["schemas"]["muse__________________31"][]; + known_to: components["schemas"]["muse__________________32"][]; /** Reader Visible */ reader_visible: boolean; - planned_window: components["schemas"]["muse__________________32"] | null; + planned_window: components["schemas"]["muse__________________33"] | null; }; /** 已核验标定引用 */ muse_____________________11: { @@ -6764,9 +6816,9 @@ export interface components { */ scenario: "battle" | "character_dialogue" | "turning_point" | "information_reveal" | "returning_character"; /** Assertions */ - assertions: components["schemas"]["muse____________________60"][]; + assertions: components["schemas"]["muse____________________61"][]; /** Constraints */ - constraints: components["schemas"]["muse____________________60"][]; + constraints: components["schemas"]["muse____________________61"][]; }; /** 写手审计声明 */ muse_____________________7: { @@ -6807,7 +6859,7 @@ export interface components { /** 正文候选摘要页 */ muse_____________________9: { /** Items */ - items: components["schemas"]["muse____________________88"][]; + items: components["schemas"]["muse____________________89"][]; /** Next Cursor */ next_cursor: string | null; }; @@ -6822,8 +6874,8 @@ export interface components { dataset_hash: string; /** Judges */ judges: [ - components["schemas"]["muse____________________62"], - components["schemas"]["muse____________________62"] + components["schemas"]["muse____________________63"], + components["schemas"]["muse____________________63"] ]; /** Dimensions */ dimensions: string[]; @@ -6850,15 +6902,21 @@ export interface components { /** Purpose */ purpose: string; }; - /** 规则改进启停输入 */ + /** 运行观察保存请求 */ muse______________________10: { /** Command Id */ command_id: string; - selection: components["schemas"]["muse__________________19"]; - request: components["schemas"]["muse____________________47"]; + observation: components["schemas"]["muse____________________45"]; + }; + /** 规则改进启停输入 */ + muse______________________11: { + /** Command Id */ + command_id: string; + selection: components["schemas"]["muse__________________20"]; + request: components["schemas"]["muse____________________48"]; }; /** 运行配置内容 */ - muse______________________11: { + muse______________________12: { /** 宿主 */ "\u5BBF\u4E3B": string; /** 宿主版本 */ @@ -6876,7 +6934,7 @@ export interface components { }; }; /** 凭据 */ - "\u51ED\u636E": components["schemas"]["muse____________________49"][]; + "\u51ED\u636E": components["schemas"]["muse____________________50"][]; /** 提供方 */ "\u63D0\u4F9B\u65B9": components["schemas"]["muse_____________________2"][]; /** 计价版本 */ @@ -6890,20 +6948,20 @@ export interface components { * 事实字段提案请求 * @description 作者表单提交逐字段变化;原content请求的字节形状保持不变。 */ - muse______________________12: { + muse______________________13: { /** Work Id */ work_id: string; /** Object Id */ object_id: string; /** Expected Revision */ expected_revision: number; - schema: components["schemas"]["muse__________________28"]; + schema: components["schemas"]["muse__________________29"]; /** Content */ content: { [key: string]: unknown; }; /** Sources */ - sources: components["schemas"]["muse__________________30"][]; + sources: components["schemas"]["muse__________________31"][]; /** Effective From */ effective_from: string | null; /** @@ -6927,13 +6985,13 @@ export interface components { * Known To * @default [] */ - known_to: components["schemas"]["muse__________________31"][]; + known_to: components["schemas"]["muse__________________32"][]; /** * Reader Visible * @default true */ reader_visible: boolean; - planned_window?: components["schemas"]["muse__________________32"] | null; + planned_window?: components["schemas"]["muse__________________33"] | null; /** * Changes * @default [] @@ -6941,7 +6999,7 @@ export interface components { changes: components["schemas"]["muse_________________7"][]; }; /** 方法数据集发布 */ - muse______________________13: { + muse______________________14: { /** Dataset Id */ dataset_id: string; /** Revision */ @@ -6962,7 +7020,7 @@ export interface components { expires_at: string; }; /** 回放数据集发布 */ - muse______________________14: { + muse______________________15: { /** Dataset Id */ dataset_id: string; /** Revision */ @@ -6978,7 +7036,7 @@ export interface components { samples: components["schemas"]["muse_____________________8"][]; }; /** 方法适用范围 */ - muse______________________15: { + muse______________________16: { /** * Consumer * @default B04.writer_method_v2 @@ -6995,13 +7053,13 @@ export interface components { scenarios: ("battle" | "character_dialogue" | "turning_point" | "information_reveal" | "returning_character")[]; }; /** 返修比较创建请求 */ - muse______________________16: { + muse______________________17: { /** Command Id */ command_id: string; request: components["schemas"]["muse______________________"]; }; /** 实验执行请求 */ - muse______________________17: { + muse______________________18: { /** Approval Ref */ approval_ref: string; /** @@ -7011,7 +7069,7 @@ export interface components { deadline: string; }; /** _定位判定 */ - muse______________________18: { + muse______________________19: { /** Statement Id */ statement_id: string; /** @@ -7030,28 +7088,6 @@ export interface components { /** End */ end: number; }; - /** _定位陈述 */ - muse______________________19: { - /** Claim Id */ - claim_id: string; - /** Text */ - text: string; - /** Candidate Quote */ - candidate_quote: string; - /** - * State - * @enum {string} - */ - state: "supported" | "declared_new" | "unknown" | "conflict"; - /** Evidence Refs */ - evidence_refs: string[]; - /** Reason */ - reason: string; - /** Start */ - start: number; - /** End */ - end: number; - }; /** 选段写作授权 */ muse______________________2: { /** Work Id */ @@ -7079,8 +7115,30 @@ export interface components { */ protected_ranges: components["schemas"]["muse____________________22"][]; }; - /** _定位发现 */ + /** _定位陈述 */ muse______________________20: { + /** Claim Id */ + claim_id: string; + /** Text */ + text: string; + /** Candidate Quote */ + candidate_quote: string; + /** + * State + * @enum {string} + */ + state: "supported" | "declared_new" | "unknown" | "conflict"; + /** Evidence Refs */ + evidence_refs: string[]; + /** Reason */ + reason: string; + /** Start */ + start: number; + /** End */ + end: number; + }; + /** _定位发现 */ + muse______________________21: { /** Finding Id */ finding_id: string; /** @@ -7226,11 +7284,52 @@ export interface components { */ credential_id: string; }; - /** 运行观察保存请求 */ + /** + * 参考挑选反馈请求 + * @description 作者对方法检索结果的挑选与点踩。 + * + * 只进入数值信号轨:不引用正文版本、不构成 before/after 对照, + * 也不直接生成文本偏好。位次取自检索回执,供位置偏置标记; + * 伪造的版本身份无需在写入时跨模块核验:重排只作用于当次检索 + * 实际候选集,不在集内的身份自然无效。 + */ muse______________________9: { - /** Command Id */ - command_id: string; - observation: components["schemas"]["muse____________________44"]; + /** Query */ + query: string; + /** Domain */ + domain: string; + /** Candidates */ + candidates: components["schemas"]["muse__________________18"][]; + /** + * Selected + * @default [] + */ + selected: string[]; + /** + * Rejected + * @default [] + */ + rejected: string[]; + /** + * Work Id + * @default + */ + work_id: string; + /** + * Quote + * @default + */ + quote: string; + /** + * Index Generation + * @default 0 + */ + index_generation: number; + /** + * 种类 + * @default 参考挑选 + */ + "\u79CD\u7C7B": string; }; /** _新设定建议 */ muse_______________________1: { @@ -7247,13 +7346,13 @@ export interface components { */ status: "passed" | "failed" | "inconclusive"; /** Claims */ - claims: components["schemas"]["muse______________________19"][]; + claims: components["schemas"]["muse______________________20"][]; /** Findings */ - findings: components["schemas"]["muse______________________20"][]; + findings: components["schemas"]["muse______________________21"][]; /** Assertion Verdicts */ - assertion_verdicts: components["schemas"]["muse______________________18"][]; + assertion_verdicts: components["schemas"]["muse______________________19"][]; /** Constraint Verdicts */ - constraint_verdicts: components["schemas"]["muse______________________18"][]; + constraint_verdicts: components["schemas"]["muse______________________19"][]; /** New Setting Candidates */ new_setting_candidates: components["schemas"]["muse_______________________1"][]; /** High Severity Count */ @@ -7358,13 +7457,13 @@ export interface components { muse______http__________________10: { /** Command Id */ command_id: string; - release: components["schemas"]["muse__________________27"]; + release: components["schemas"]["muse__________________28"]; }; /** 反馈输入 */ muse______http__________________11: { /** Command Id */ command_id: string; - feedback: components["schemas"]["muse____________________48"]; + feedback: components["schemas"]["muse____________________49"]; }; /** 步骤响应 */ muse______http__________________12: { @@ -7436,19 +7535,19 @@ export interface components { }; /** 改进输入 */ muse______http__________________3: { - proposal: components["schemas"]["muse__________________18"]; + proposal: components["schemas"]["muse__________________19"]; }; /** 观察输入 */ muse______http__________________4: { /** Command Id */ command_id: string; - observation: components["schemas"]["muse__________________20"]; + observation: components["schemas"]["muse__________________21"]; }; /** 跨章输入 */ muse______http__________________5: { /** Command Id */ command_id: string; - revision: components["schemas"]["muse__________________22"]; + revision: components["schemas"]["muse__________________23"]; }; /** 校对输入 */ muse______http__________________6: { @@ -7469,7 +7568,7 @@ export interface components { muse______http__________________7: { /** Command Id */ command_id: string; - delivery: components["schemas"]["muse__________________25"]; + delivery: components["schemas"]["muse__________________26"]; }; /** 导出输入 */ muse______http__________________8: { @@ -7482,7 +7581,7 @@ export interface components { muse______http__________________9: { /** Command Id */ command_id: string; - plan: components["schemas"]["muse__________________26"]; + plan: components["schemas"]["muse__________________27"]; }; /** 已执行步骤响应 */ muse______http___________________: { @@ -7764,7 +7863,7 @@ export interface components { muse______http____________________21: { /** Command Id */ command_id: string; - selection: components["schemas"]["muse__________________19"]; + selection: components["schemas"]["muse__________________20"]; /** * Proof Id * @default @@ -7785,7 +7884,7 @@ export interface components { config_id: string; /** Version */ version: string; - content: components["schemas"]["muse______________________11"]; + content: components["schemas"]["muse______________________12"]; }; /** 任务结果引用 */ muse______http____________________24: { @@ -8880,7 +8979,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________69"]; + "application/json": components["schemas"]["muse____________________70"]; }; }; /** @description Validation Error */ @@ -8913,7 +9012,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________70"]; + "application/json": components["schemas"]["muse____________________71"]; }; }; /** @description Validation Error */ @@ -8948,7 +9047,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________71"]; + "application/json": components["schemas"]["muse____________________72"]; }; }; /** @description Validation Error */ @@ -8979,7 +9078,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________75"]; + "application/json": components["schemas"]["muse____________________76"]; }; }; /** @description Validation Error */ @@ -9008,7 +9107,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse__________________36"][]; + "application/json": components["schemas"]["muse__________________37"][]; }; }; }; @@ -9033,7 +9132,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________76"]; + "application/json": components["schemas"]["muse____________________77"]; }; }; /** @description Validation Error */ @@ -9068,7 +9167,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________71"]; + "application/json": components["schemas"]["muse____________________72"]; }; }; /** @description Validation Error */ @@ -9099,7 +9198,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse__________________38"]; + "application/json": components["schemas"]["muse__________________39"]; }; }; /** @description Validation Error */ @@ -9134,7 +9233,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________71"]; + "application/json": components["schemas"]["muse____________________72"]; }; }; /** @description Validation Error */ @@ -9169,7 +9268,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________71"]; + "application/json": components["schemas"]["muse____________________72"]; }; }; /** @description Validation Error */ @@ -9290,7 +9389,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________78"]; + "application/json": components["schemas"]["muse____________________79"]; }; }; /** @description Validation Error */ @@ -9321,7 +9420,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________79"]; + "application/json": components["schemas"]["muse____________________80"]; }; }; /** @description Validation Error */ @@ -9356,7 +9455,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________71"]; + "application/json": components["schemas"]["muse____________________72"]; }; }; /** @description Validation Error */ @@ -9421,7 +9520,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse__________________39"][]; + "application/json": components["schemas"]["muse__________________40"][]; }; }; /** @description Validation Error */ @@ -9452,7 +9551,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________80"][]; + "application/json": components["schemas"]["muse____________________81"][]; }; }; /** @description Validation Error */ @@ -9487,7 +9586,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________71"]; + "application/json": components["schemas"]["muse____________________72"]; }; }; /** @description Validation Error */ @@ -9520,7 +9619,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________80"]; + "application/json": components["schemas"]["muse____________________81"]; }; }; /** @description Validation Error */ @@ -9555,7 +9654,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________71"]; + "application/json": components["schemas"]["muse____________________72"]; }; }; /** @description Validation Error */ @@ -9586,7 +9685,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse__________________39"]; + "application/json": components["schemas"]["muse__________________40"]; }; }; /** @description Validation Error */ @@ -9621,7 +9720,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________81"]; + "application/json": components["schemas"]["muse____________________82"]; }; }; /** @description Validation Error */ @@ -9656,7 +9755,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________71"]; + "application/json": components["schemas"]["muse____________________72"]; }; }; /** @description Validation Error */ @@ -9688,7 +9787,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse__________________39"]; + "application/json": components["schemas"]["muse__________________40"]; }; }; /** @description Validation Error */ @@ -9724,7 +9823,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________82"]; + "application/json": components["schemas"]["muse____________________83"]; }; }; /** @description Validation Error */ @@ -9899,7 +9998,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________83"][]; + "application/json": components["schemas"]["muse____________________84"][]; }; }; /** @description Validation Error */ @@ -9933,7 +10032,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________84"]; + "application/json": components["schemas"]["muse____________________85"]; }; }; /** @description Validation Error */ @@ -9968,7 +10067,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________71"]; + "application/json": components["schemas"]["muse____________________72"]; }; }; /** @description Validation Error */ @@ -10003,7 +10102,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________71"]; + "application/json": components["schemas"]["muse____________________72"]; }; }; /** @description Validation Error */ @@ -11758,7 +11857,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________71"]; + "application/json": components["schemas"]["muse____________________72"]; }; }; /** @description Validation Error */ @@ -11855,7 +11954,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________71"]; + "application/json": components["schemas"]["muse____________________72"]; }; }; /** @description Validation Error */ @@ -11963,7 +12062,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________71"]; + "application/json": components["schemas"]["muse____________________72"]; }; }; /** @description Validation Error */ @@ -12188,7 +12287,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________71"]; + "application/json": components["schemas"]["muse____________________72"]; }; }; /** @description Validation Error */ @@ -12275,7 +12374,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________71"]; + "application/json": components["schemas"]["muse____________________72"]; }; }; /** @description Validation Error */ @@ -12341,7 +12440,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________71"]; + "application/json": components["schemas"]["muse____________________72"]; }; }; /** @description Validation Error */ @@ -12374,7 +12473,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________71"]; + "application/json": components["schemas"]["muse____________________72"]; }; }; /** @description Validation Error */ @@ -12452,6 +12551,74 @@ export interface operations { }; }; }; + capture_reference_selection: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["muse____________________42"]; + }; + }; + responses: { + /** @description Successful Response */ + 201: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + [key: string]: unknown; + }; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["HTTPValidationError"]; + }; + }; + }; + }; + read_reference_selection_signals: { + parameters: { + query?: { + domain?: string; + }; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + [key: string]: unknown; + }[]; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["HTTPValidationError"]; + }; + }; + }; + }; propose_improvement: { parameters: { query?: never; @@ -12655,7 +12822,7 @@ export interface operations { }; requestBody: { content: { - "application/json": components["schemas"]["muse____________________42"]; + "application/json": components["schemas"]["muse____________________43"]; }; }; responses: { @@ -12724,7 +12891,7 @@ export interface operations { }; requestBody: { content: { - "application/json": components["schemas"]["muse______________________9"]; + "application/json": components["schemas"]["muse______________________10"]; }; }; responses: { @@ -12825,7 +12992,7 @@ export interface operations { }; requestBody: { content: { - "application/json": components["schemas"]["muse____________________46"]; + "application/json": components["schemas"]["muse____________________47"]; }; }; responses: { @@ -12862,7 +13029,7 @@ export interface operations { }; requestBody: { content: { - "application/json": components["schemas"]["muse______________________10"]; + "application/json": components["schemas"]["muse______________________11"]; }; }; responses: { @@ -12907,7 +13074,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________71"]; + "application/json": components["schemas"]["muse____________________72"]; }; }; /** @description Validation Error */ @@ -13039,7 +13206,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________71"]; + "application/json": components["schemas"]["muse____________________72"]; }; }; /** @description Validation Error */ @@ -13272,7 +13439,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________71"]; + "application/json": components["schemas"]["muse____________________72"]; }; }; /** @description Validation Error */ @@ -13336,7 +13503,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________71"]; + "application/json": components["schemas"]["muse____________________72"]; }; }; /** @description Validation Error */ @@ -13369,7 +13536,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________71"]; + "application/json": components["schemas"]["muse____________________72"]; }; }; /** @description Validation Error */ @@ -13601,7 +13768,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________87"][]; + "application/json": components["schemas"]["muse____________________88"][]; }; }; /** @description Validation Error */ @@ -13636,7 +13803,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________71"]; + "application/json": components["schemas"]["muse____________________72"]; }; }; /** @description Validation Error */ @@ -13704,7 +13871,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________87"]; + "application/json": components["schemas"]["muse____________________88"]; }; }; /** @description Validation Error */ @@ -13729,7 +13896,7 @@ export interface operations { }; requestBody: { content: { - "application/json": components["schemas"]["muse____________________50"]; + "application/json": components["schemas"]["muse____________________51"]; }; }; responses: { @@ -13739,7 +13906,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________71"]; + "application/json": components["schemas"]["muse____________________72"]; }; }; /** @description Validation Error */ @@ -13762,7 +13929,7 @@ export interface operations { }; requestBody: { content: { - "application/json": components["schemas"]["muse____________________51"]; + "application/json": components["schemas"]["muse____________________52"]; }; }; responses: { @@ -13772,7 +13939,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________89"]; + "application/json": components["schemas"]["muse____________________90"]; }; }; /** @description Validation Error */ @@ -13797,7 +13964,7 @@ export interface operations { }; requestBody: { content: { - "application/json": components["schemas"]["muse____________________52"]; + "application/json": components["schemas"]["muse____________________53"]; }; }; responses: { @@ -13807,7 +13974,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________71"]; + "application/json": components["schemas"]["muse____________________72"]; }; }; /** @description Validation Error */ @@ -13844,7 +14011,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse__________________28"]; + "application/json": components["schemas"]["muse__________________29"]; }; }; /** @description Validation Error */ @@ -13880,7 +14047,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________93"]; + "application/json": components["schemas"]["muse____________________94"]; }; }; /** @description Validation Error */ @@ -13905,7 +14072,7 @@ export interface operations { }; requestBody: { content: { - "application/json": components["schemas"]["muse____________________54"]; + "application/json": components["schemas"]["muse____________________55"]; }; }; responses: { @@ -13915,7 +14082,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________71"]; + "application/json": components["schemas"]["muse____________________72"]; }; }; /** @description Validation Error */ @@ -13946,7 +14113,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________94"]; + "application/json": components["schemas"]["muse____________________95"]; }; }; /** @description Validation Error */ @@ -13971,7 +14138,7 @@ export interface operations { }; requestBody: { content: { - "application/json": components["schemas"]["muse____________________55"]; + "application/json": components["schemas"]["muse____________________56"]; }; }; responses: { @@ -13981,7 +14148,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________95"]; + "application/json": components["schemas"]["muse____________________96"]; }; }; /** @description Validation Error */ @@ -14006,7 +14173,7 @@ export interface operations { }; requestBody: { content: { - "application/json": components["schemas"]["muse____________________56"]; + "application/json": components["schemas"]["muse____________________57"]; }; }; responses: { @@ -14016,7 +14183,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________71"]; + "application/json": components["schemas"]["muse____________________72"]; }; }; /** @description Validation Error */ @@ -14096,7 +14263,7 @@ export interface operations { }; requestBody: { content: { - "application/json": components["schemas"]["muse____________________57"]; + "application/json": components["schemas"]["muse____________________58"]; }; }; responses: { @@ -14106,7 +14273,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________71"]; + "application/json": components["schemas"]["muse____________________72"]; }; }; /** @description Validation Error */ @@ -14142,7 +14309,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse____________________96"]; + "application/json": components["schemas"]["muse____________________97"]; }; }; /** @description Validation Error */ @@ -14308,7 +14475,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse__________________44"]; + "application/json": components["schemas"]["muse__________________45"]; }; }; /** @description Validation Error */ @@ -14343,7 +14510,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse__________________44"]; + "application/json": components["schemas"]["muse__________________45"]; }; }; /** @description Validation Error */ @@ -14409,7 +14576,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse__________________49"]; + "application/json": components["schemas"]["muse__________________50"]; }; }; /** @description Validation Error */ @@ -14444,7 +14611,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse__________________49"]; + "application/json": components["schemas"]["muse__________________50"]; }; }; /** @description Validation Error */ @@ -14467,7 +14634,7 @@ export interface operations { }; requestBody: { content: { - "application/json": components["schemas"]["muse____________________58"]; + "application/json": components["schemas"]["muse____________________59"]; }; }; responses: { @@ -14502,7 +14669,7 @@ export interface operations { }; requestBody: { content: { - "application/json": components["schemas"]["muse____________________59"]; + "application/json": components["schemas"]["muse____________________60"]; }; }; responses: { @@ -14537,7 +14704,7 @@ export interface operations { }; requestBody: { content: { - "application/json": components["schemas"]["muse______________________13"]; + "application/json": components["schemas"]["muse______________________14"]; }; }; responses: { @@ -14572,7 +14739,7 @@ export interface operations { }; requestBody: { content: { - "application/json": components["schemas"]["muse______________________14"]; + "application/json": components["schemas"]["muse______________________15"]; }; }; responses: { @@ -14640,7 +14807,7 @@ export interface operations { }; requestBody: { content: { - "application/json": components["schemas"]["muse____________________66"]; + "application/json": components["schemas"]["muse____________________67"]; }; }; responses: { @@ -14675,7 +14842,7 @@ export interface operations { }; requestBody: { content: { - "application/json": components["schemas"]["muse______________________16"]; + "application/json": components["schemas"]["muse______________________17"]; }; }; responses: { @@ -14751,7 +14918,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["muse__________________69"]; + "application/json": components["schemas"]["muse__________________70"]; }; }; /** @description Validation Error */ @@ -14843,7 +15010,7 @@ export interface operations { }; requestBody: { content: { - "application/json": components["schemas"]["muse______________________17"]; + "application/json": components["schemas"]["muse______________________18"]; }; }; responses: { @@ -14917,7 +15084,7 @@ export interface operations { }; requestBody: { content: { - "application/json": components["schemas"]["muse____________________67"]; + "application/json": components["schemas"]["muse____________________68"]; }; }; responses: { @@ -14952,7 +15119,7 @@ export interface operations { }; requestBody: { content: { - "application/json": components["schemas"]["muse____________________68"]; + "application/json": components["schemas"]["muse____________________69"]; }; }; responses: { @@ -15022,7 +15189,7 @@ export interface operations { }; requestBody: { content: { - "application/json": components["schemas"]["muse____________________67"]; + "application/json": components["schemas"]["muse____________________68"]; }; }; responses: {