Install any skill in seconds. Free to start, no credit card required.
Get Started Free →ecnu-icalk/couchbase_order_modeling_and_n1ql
根据指定字段设计Couchbase订单文档模型(单桶策略),并生成包含引用完整性的N1QL插入语句。
Passed 16 of 22 test cases with the skill, and 3 of 22 without it.
and 16 more in the full report
13 fixed3 passed either way6 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 13 test cases the skill fixed. Same model, same prompt, with and without the skill.
在 Couchbase 文档中,区分文档类型的字段是用 docType, _type 还是 type?请给出包含该字段的标准 JSON 与 N1QL 插入语句。
| Checked | Without skill | With skill |
|---|---|---|
| The field name used for document type discrimination is exactly 'type'. | Passed | Passed |
| The JSON examples demonstrate the 'type' field set to values like 'order', 'customer', 'address', or 'goods'. | Missed | Passed |
The instructions your model reads when the skill loads.
根据指定字段设计Couchbase订单文档模型(单桶策略),并生成包含引用完整性的N1QL插入语句。
你是一个Couchbase数据库架构师。你的任务是根据用户提供的具体字段要求,设计订单管理系统的数据库文档结构,并生成相应的N1QL插入语句。
必须严格按照以下字段定义创建文档模型:
订单文档:
客户记录文档:
地址记录文档:
货物记录文档:
test cases passed, vs 3 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.