Build latest book artifacts / build (push) Canceled after 0s
dependency resolution / resolve (3.11) (push) Canceled after 0s
dependency resolution / resolve (3.13) (push) Canceled after 0s
deploy-pages / build (push) Canceled after 0s
deploy-pages / deploy (push) Canceled after 0s
i18n consistency check / check (push) Canceled after 0s
provider adoption tests / test (chapter2/context-compression) (push) Canceled after 0s
provider adoption tests / test (chapter2/prompt-injection) (push) Canceled after 0s
provider adoption tests / test (chapter2/system-hint) (push) Canceled after 0s
provider adoption tests / test (chapter3/log-sanitization) (push) Canceled after 0s
web-search-agent tests / test (push) Canceled after 0s
web-search-agent tests / agentbook (push) Canceled after 0s
97 lines
4.3 KiB
JSON
97 lines
4.3 KiB
JSON
{
|
|
"description": "上下文感知检索 vs. 传统分块的检索召回评测集(对应实验 3-10)。gold_chunk_id 为人工标注的相关文本块,标注依据见 note 字段。语料为 document_store.json 中已建好索引的《宪法》与《检察官法》分块。",
|
|
"corpus": "document_store.json",
|
|
"queries": [
|
|
{
|
|
"id": "q01",
|
|
"query": "宪法是哪一年通过的?后来经过了几次修正?",
|
|
"gold_chunk_id": "宪法_chunk_0",
|
|
"note": "chunk_0 为宪法开篇,列举 1982 年通过日期及历次修正案日期。"
|
|
},
|
|
{
|
|
"id": "q02",
|
|
"query": "国家的根本任务是什么?",
|
|
"gold_chunk_id": "宪法_chunk_1",
|
|
"note": "chunk_1 序言明确写明“国家的根本任务是……”。"
|
|
},
|
|
{
|
|
"id": "q03",
|
|
"query": "我国处理民族关系的基本原则和对外政策中的五项原则是什么?",
|
|
"gold_chunk_id": "宪法_chunk_2",
|
|
"note": "chunk_2 阐述社会主义民族关系与和平共处五项原则。"
|
|
},
|
|
{
|
|
"id": "q04",
|
|
"query": "少数民族聚居的地方如何实行区域自治?",
|
|
"gold_chunk_id": "宪法_chunk_3",
|
|
"note": "chunk_3 第四条前后规定民族区域自治与依法治国。"
|
|
},
|
|
{
|
|
"id": "q05",
|
|
"query": "宪法如何保护个体经济、私营经济等非公有制经济?",
|
|
"gold_chunk_id": "宪法_chunk_4",
|
|
"note": "chunk_4 含第十一至十三条,规定非公有制经济与私有财产保护。"
|
|
},
|
|
{
|
|
"id": "q06",
|
|
"query": "宪法关于设立特别行政区以及在华外国人权利的规定是什么?",
|
|
"gold_chunk_id": "宪法_chunk_6",
|
|
"note": "chunk_6 含第三十一、三十二条,特别行政区与外国人条款。"
|
|
},
|
|
{
|
|
"id": "q07",
|
|
"query": "公民对国家机关工作人员的违法失职行为享有哪些监督权利?",
|
|
"gold_chunk_id": "宪法_chunk_7",
|
|
"note": "chunk_7 第四十一条规定批评、建议、申诉、控告、检举权。"
|
|
},
|
|
{
|
|
"id": "q08",
|
|
"query": "全国人民代表大会常务委员会有哪些职权?",
|
|
"gold_chunk_id": "宪法_chunk_10",
|
|
"note": "旗舰对照案例:chunk_10 原文以“(四)解释法律……”开头,正文既无“常务委员会”也无“职权”字样,纯靠上下文前缀(“第六十七条 全国人民代表大会常务委员会行使下列职权”)才能被锚定;无上下文时极易被 chunk_9/chunk_11 抢占。"
|
|
},
|
|
{
|
|
"id": "q09",
|
|
"query": "国家主席有哪些职权?",
|
|
"gold_chunk_id": "宪法_chunk_12",
|
|
"note": "chunk_12 含第八十至八十二条,国家主席公布法律、任免国务院总理等职权。"
|
|
},
|
|
{
|
|
"id": "q10",
|
|
"query": "地方各级人民代表大会的任期和代表选举方式是怎样规定的?",
|
|
"gold_chunk_id": "宪法_chunk_14",
|
|
"note": "chunk_14 第九十七至九十九条规定地方人大代表选举与五年任期。"
|
|
},
|
|
{
|
|
"id": "q11",
|
|
"query": "县级以上地方各级人民代表大会常务委员会组成人员有什么兼职限制?",
|
|
"gold_chunk_id": "宪法_chunk_15",
|
|
"note": "chunk_15 规定常委会组成人员不得担任行政、监察、审判、检察机关职务。"
|
|
},
|
|
{
|
|
"id": "q12",
|
|
"query": "监察委员会的性质、组成和任期是怎样规定的?",
|
|
"gold_chunk_id": "宪法_chunk_17",
|
|
"note": "chunk_17 第七节监察委员会,规定其性质、组成与任期。"
|
|
},
|
|
{
|
|
"id": "q13",
|
|
"query": "检察官法是什么时候修订的?",
|
|
"gold_chunk_id": "检察官法_2019_04_23_chunk_0",
|
|
"note": "chunk_0 列举检察官法 1995 年通过及历次修正、2019 年修订日期。"
|
|
},
|
|
{
|
|
"id": "q14",
|
|
"query": "检察官遴选委员会由哪些人员组成?律师参加公开选拔需要什么条件?",
|
|
"gold_chunk_id": "检察官法_2019_04_23_chunk_2",
|
|
"note": "chunk_2 第十六条规定省级检察官遴选委员会组成及律师公开选拔条件。"
|
|
},
|
|
{
|
|
"id": "q15",
|
|
"query": "检察官在哪些情形下应当予以免职?",
|
|
"gold_chunk_id": "检察官法_2019_04_23_chunk_3",
|
|
"note": "chunk_3 列举检察官免职情形及违反条件任命的撤销程序。"
|
|
}
|
|
]
|
|
}
|