Make the first RAG slice executable without risking production data
Some checks failed
verify / verify (push) Has been cancelled
Some checks failed
verify / verify (push) Has been cancelled
The Stage 1 foundation now proves provider contracts with mocks and validates PostgreSQL/pgvector ingestion, approval binding, retrieval, reranking, and idempotency using only synthetic data. Live Bailian validation remains gated on rotating the exposed key. Constraint: The key shown in chat is compromised and cannot be used or committed Rejected: Mark Stage 1 complete from mock and offline results | real three-model smoke is still required Confidence: high Scope-risk: moderate Reversibility: clean Directive: Do not enable real-data ingestion until Stage 3 cloud approval and outbound manifest controls are enforced end to end Tested: make verify; 41 pytest tests; strict mypy; Ruff; Compose config; pinned image build; empty-volume migration; role denial; two idempotent 20-vector seeds; database restart persistence Not-tested: Live Bailian calls require a newly rotated key; React product UI is not implemented
This commit is contained in:
10
data/samples/public/demo_queries.jsonl
Normal file
10
data/samples/public/demo_queries.jsonl
Normal file
@@ -0,0 +1,10 @@
|
||||
{"qid":"demo_q_001","query":"青岚示范区斑岩铜矿从中心向外有哪些蚀变带?","expected_doc_ids":["demo_geo_001"],"reference_answer":"中心钾化带向外过渡为绢英岩化带和青磐岩化带。","answerable":true}
|
||||
{"qid":"demo_q_002","query":"白石沟矽卡岩铁矿优先验证需要哪些综合标志?","expected_doc_ids":["demo_geo_002"],"reference_answer":"含铁石榴子石—辉石矽卡岩、磁铁矿化和接触带磁异常。","answerable":true}
|
||||
{"qid":"demo_q_003","query":"星谷伟晶岩中哪个分带是含锂辉石的主要采样对象?","expected_doc_ids":["demo_geo_005"],"reference_answer":"中间带。","answerable":true}
|
||||
{"qid":"demo_q_004","query":"为什么不能把激电高极化直接解释为矿体?","expected_doc_ids":["demo_geo_012"],"reference_answer":"高极化也可能由石墨或含水黏土等非矿因素引起,必须联合其他证据。","answerable":true}
|
||||
{"qid":"demo_q_005","query":"演示钻孔岩芯编录至少记录哪些字段?","expected_doc_ids":["demo_geo_014"],"reference_answer":"回次、深度区间、岩性、蚀变、矿化、构造、岩芯采取率和照片编号。","answerable":true}
|
||||
{"qid":"demo_q_006","query":"化验标准样超出控制限后应该怎么处理?","expected_doc_ids":["demo_geo_015"],"reference_answer":"暂停发布该批结果并开展调查。","answerable":true}
|
||||
{"qid":"demo_q_007","query":"断裂交汇部位成为优先靶区还需要什么条件?","expected_doc_ids":["demo_geo_017"],"reference_answer":"还需至少两类蚀变、地球化学或地球物理证据。","answerable":true}
|
||||
{"qid":"demo_q_008","query":"未经验证的历史钻孔能直接进入资源量估算数据库吗?","expected_doc_ids":["demo_geo_019"],"reference_answer":"不能,只能先作为找矿线索。","answerable":true}
|
||||
{"qid":"demo_q_009","query":"资料没有提供品位数值时系统应该如何回答?","expected_doc_ids":["demo_geo_020"],"reference_answer":"明确说明证据不足,不得补造数值。","answerable":true}
|
||||
{"qid":"demo_q_010","query":"青岚示范区某钻孔在200米处的金品位是多少?","expected_doc_ids":[],"reference_answer":"现有演示语料没有该信息,应拒绝推测。","answerable":false}
|
||||
Reference in New Issue
Block a user