Files
pricing_review/test/core_intent_coverage/intents.json

59 lines
2.5 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[
{
"id": "INT-01",
"name": "价格导入:一个块=一个批次",
"desc": "HTML 一个顶层块=一批次;期次优先级 块名→文件名→弹框;批次名 多块用块名/单块用弹框名。",
"source_markers": ["x_imported_at", "批次", "块名", "一个块"],
"test_markers": ["批次", "块", "import"]
},
{
"id": "INT-02",
"name": "工料机/价格分表存储 + 判批次用 kind",
"desc": "x_rows_lme 只存工料机数,x_rows_price 只存价格数;判断批次有没有工料机一律用 kind='project',永远别用行数。",
"source_markers": ["x_rows_lme", "x_rows_price", "kind='project'", "kind=\"project\""],
"test_markers": ["x_rows_lme", "x_rows_price", "kind"]
},
{
"id": "INT-03",
"name": "会话↔后台批次同源绑定",
"desc": "靠 batches.x_src_hash == sessions.src_name(都是 sha256_原名)只认同源文件;工作台只读,绑定/改绑只在后台。",
"source_markers": ["x_src_hash", "src_name"],
"test_markers": ["x_src_hash", "src_name"]
},
{
"id": "INT-04",
"name": "列表排序口径",
"desc": "排序 x_period_end_m DESC, x_imported_at DESC, id DESC(期次最新最前)。",
"source_markers": ["x_period_end_m", "x_imported_at"],
"test_markers": ["x_period_end_m", "x_imported_at", "排序"]
},
{
"id": "INT-05",
"name": "序号递减口径",
"desc": "序号 seq = total - ((page-1)*size + i)(首行=总数递减)。",
"source_markers": ["seq", "page", "size"],
"test_markers": ["seq", "page", "size"]
},
{
"id": "INT-06",
"name": "询价附件项目专属",
"desc": "询价附件=项目专属,lmes 与 prices 零交叉,附件挂 lmes 天然只落项目;代码显式断言 kind='project'。",
"source_markers": ["kind='project'", "lmes", "询价附件"],
"test_markers": ["询价", "附件", "lmes"]
},
{
"id": "INT-07",
"name": "数据源字典口径",
"desc": "dict_region + dict_org(cat: publisher|builder);录入类下拉只取字典,过滤类下拉取 字典∪库里实际值。",
"source_markers": ["dict_region", "dict_org", "publisher", "builder"],
"test_markers": ["dict_region", "dict_org"]
},
{
"id": "INT-08",
"name": "信息价期次优先级",
"desc": "价格导入期次优先级 块名→文件名→弹框;一个块=一个批次。",
"source_markers": ["期次", "弹框", "块名"],
"test_markers": ["期次", "弹框"]
}
]