@zh-xx/antu 0.11.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/assets/viewer.html +48 -49
  2. package/bin/antu-mcp.mjs +62 -63
  3. package/bin/antu.mjs +54 -55
  4. package/embed/antu-embed.d.ts +11 -0
  5. package/embed/antu-embed.js +28227 -28093
  6. package/examples/agent/fact/1-minimal.en.json +8 -11
  7. package/examples/agent/fact/1-minimal.zh-CN.json +34 -9
  8. package/examples/agent/fact/2-single-actor.en.json +4 -30
  9. package/examples/agent/fact/2-single-actor.zh-CN.json +22 -10
  10. package/examples/agent/fact/{3-groups.en.json → 3-sides.en.json} +9 -9
  11. package/examples/agent/fact/{3-groups.zh-CN.json → 3-sides.zh-CN.json} +9 -9
  12. package/examples/agent/fact/4-one-side-several.en.json +44 -0
  13. package/examples/agent/fact/4-one-side-several.zh-CN.json +44 -0
  14. package/examples/agent/fact/5-duration.en.json +31 -8
  15. package/examples/agent/fact/5-duration.zh-CN.json +31 -8
  16. package/examples/agent/fact/6-sources.en.json +51 -12
  17. package/examples/agent/fact/6-sources.zh-CN.json +51 -12
  18. package/examples/agent/fact/7-undated.en.json +26 -9
  19. package/examples/agent/fact/7-undated.zh-CN.json +26 -9
  20. package/examples/fact/fang-yuan-loan-and-conflict.en.json +7 -66
  21. package/examples/fact/fang-yuan-loan-and-conflict.zh-CN.json +6 -29
  22. package/examples/fact/gym-membership-face-scan.en.json +1 -6
  23. package/examples/fact/gym-membership-face-scan.zh-CN.json +1 -6
  24. package/examples/fact/lin-fang-v-zhao-lei-private-lending.en.json +6 -19
  25. package/examples/fact/lin-fang-v-zhao-lei-private-lending.zh-CN.json +6 -19
  26. package/examples/fact/marketplace-platform-liability.en.json +5 -24
  27. package/examples/fact/marketplace-platform-liability.zh-CN.json +5 -24
  28. package/examples/fact/neighbour-corridor-charging.en.json +3 -25
  29. package/examples/fact/neighbour-corridor-charging.zh-CN.json +3 -25
  30. package/examples/fact/sample-construction-payment.en.json +8 -82
  31. package/examples/fact/sample-construction-payment.zh-CN.json +7 -25
  32. package/examples/fact/sample-four-parties-four-slots.en.json +8 -81
  33. package/examples/fact/sample-four-parties-four-slots.zh-CN.json +5 -22
  34. package/examples/fact/sample-no-groups.en.json +1 -1
  35. package/examples/fact/sample-no-groups.zh-CN.json +1 -1
  36. package/examples/fact/sample-three-slots.en.json +3 -15
  37. package/examples/fact/sample-three-slots.zh-CN.json +3 -15
  38. package/examples/fact/sample-two-actors-one-side.en.json +4 -23
  39. package/examples/fact/sample-two-actors-one-side.zh-CN.json +4 -23
  40. package/examples/fact/sample-two-parties-each-side.en.json +7 -34
  41. package/examples/fact/sample-two-parties-each-side.zh-CN.json +7 -34
  42. package/lib/chunks/report-BTsYMUG2.mjs +1461 -0
  43. package/lib/html.mjs +5 -5
  44. package/lib/validate.d.ts +9 -0
  45. package/lib/validate.mjs +5 -5
  46. package/package.json +1 -1
  47. package/server.json +2 -2
  48. package/spec/agent/fact/guide.md +39 -38
  49. package/spec/agent/relationship/guide.md +26 -7
  50. package/examples/agent/fact/4-views.en.json +0 -44
  51. package/examples/agent/fact/4-views.zh-CN.json +0 -44
  52. package/lib/chunks/report-BV3j2cS_.mjs +0 -1462
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "type": "fact",
3
- "specVersion": 1,
3
+ "specVersion": 2,
4
4
  "title": "An event with no date: leave date out, the card says the date is unknown",
5
5
  "actors": [
6
- { "id": "a-1", "name": "Huayuan Trading", "role": "lender" },
7
- { "id": "a-2", "name": "Xincheng Building Materials", "role": "borrower" }
6
+ { "id": "a-1", "name": "Huayuan Trading", "role": "lender", "groupId": "g-1" },
7
+ { "id": "a-2", "name": "Xincheng Building Materials", "role": "borrower", "groupId": "g-2" }
8
8
  ],
9
9
  "groups": [
10
10
  { "id": "g-1", "label": "Huayuan Trading" },
@@ -13,21 +13,38 @@
13
13
  "slots": [
14
14
  {
15
15
  "events": [
16
- { "id": "ev-1", "date": "2024-03-11", "label": "The repayment date passes, no repayment",
17
- "actorIds": ["a-2"], "groupId": "g-2" }
16
+ {
17
+ "id": "ev-1",
18
+ "date": "2024-03-11",
19
+ "label": "The repayment date passes, no repayment",
20
+ "actorIds": [
21
+ "a-2"
22
+ ]
23
+ }
18
24
  ]
19
25
  },
20
26
  {
21
27
  "events": [
22
- { "id": "ev-2", "date": "2024-04-02", "label": "A demand letter is sent",
23
- "actorIds": ["a-1"], "groupId": "g-1" }
28
+ {
29
+ "id": "ev-2",
30
+ "date": "2024-04-02",
31
+ "label": "A demand letter is sent",
32
+ "actorIds": [
33
+ "a-1"
34
+ ]
35
+ }
24
36
  ]
25
37
  },
26
38
  {
27
39
  "events": [
28
- { "id": "ev-3", "label": "No reply ever followed",
40
+ {
41
+ "id": "ev-3",
42
+ "label": "No reply ever followed",
29
43
  "summary": "The material gives no date",
30
- "actorIds": ["a-2"], "groupId": "g-2" }
44
+ "actorIds": [
45
+ "a-2"
46
+ ]
47
+ }
31
48
  ]
32
49
  }
33
50
  ]
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "type": "fact",
3
- "specVersion": 1,
3
+ "specVersion": 2,
4
4
  "title": "没有日期的事件:不写 date,卡片上显示“日期不详”",
5
5
  "actors": [
6
- { "id": "a-1", "name": "华远贸易", "role": "出借方" },
7
- { "id": "a-2", "name": "鑫城建材", "role": "借款方" }
6
+ { "id": "a-1", "name": "华远贸易", "role": "出借方", "groupId": "g-1" },
7
+ { "id": "a-2", "name": "鑫城建材", "role": "借款方", "groupId": "g-2" }
8
8
  ],
9
9
  "groups": [
10
10
  { "id": "g-1", "label": "华远贸易" },
@@ -13,21 +13,38 @@
13
13
  "slots": [
14
14
  {
15
15
  "events": [
16
- { "id": "ev-1", "date": "2024-03-11", "label": "还款期限届满,未还款",
17
- "actorIds": ["a-2"], "groupId": "g-2" }
16
+ {
17
+ "id": "ev-1",
18
+ "date": "2024-03-11",
19
+ "label": "还款期限届满,未还款",
20
+ "actorIds": [
21
+ "a-2"
22
+ ]
23
+ }
18
24
  ]
19
25
  },
20
26
  {
21
27
  "events": [
22
- { "id": "ev-2", "date": "2024-04-02", "label": "发出催款函",
23
- "actorIds": ["a-1"], "groupId": "g-1" }
28
+ {
29
+ "id": "ev-2",
30
+ "date": "2024-04-02",
31
+ "label": "发出催款函",
32
+ "actorIds": [
33
+ "a-1"
34
+ ]
35
+ }
24
36
  ]
25
37
  },
26
38
  {
27
39
  "events": [
28
- { "id": "ev-3", "label": "此后一直没有回复",
40
+ {
41
+ "id": "ev-3",
42
+ "label": "此后一直没有回复",
29
43
  "summary": "材料没有给出日期",
30
- "actorIds": ["a-2"], "groupId": "g-2" }
44
+ "actorIds": [
45
+ "a-2"
46
+ ]
47
+ }
31
48
  ]
32
49
  }
33
50
  ]
@@ -1,63 +1,16 @@
1
1
  {
2
- "specVersion": 1,
2
+ "specVersion": 2,
3
3
  "type": "fact",
4
4
  "title": "Yuhuan case · Lending, debt collection and the conflict",
5
5
  "actors": [
6
- {
7
- "id": "a-1",
8
- "name": "Fang Yuan",
9
- "role": "Defendant"
10
- },
11
- {
12
- "id": "a-2",
13
- "name": "Liang (Fang Yuan's mother)",
14
- "role": "operator of Yuanhua Company"
15
- },
16
- {
17
- "id": "a-3",
18
- "name": "Debt collectors",
19
- "role": "Zhong, Zheng and others"
20
- }
6
+ { "id": "a-1", "name": "Fang Yuan", "role": "Defendant", "groupId": "g-1" },
7
+ { "id": "a-2", "name": "Liang (Fang Yuan's mother)", "role": "operator of Yuanhua Company", "groupId": "g-1" },
8
+ { "id": "a-3", "name": "Debt collectors", "role": "Zhong, Zheng and others", "groupId": "g-2" }
21
9
  ],
22
10
  "groups": [
23
- {
24
- "id": "g-1",
25
- "label": "Lending and repayment"
26
- },
27
- {
28
- "id": "g-2",
29
- "label": "Debt collection and conflict"
30
- },
31
- {
32
- "id": "g-3",
33
- "label": "Negotiations and objective course"
34
- }
35
- ],
36
- "views": [
37
- {
38
- "label": "Fang Yuan and his mother vs debt collectors",
39
- "splitBy": "actor",
40
- "side1": {
41
- "label": "Fang Yuan and his mother",
42
- "actors": [
43
- "a-1",
44
- "a-2"
45
- ]
46
- },
47
- "side2": {
48
- "label": "Debt collectors",
49
- "actors": [
50
- "a-3"
51
- ]
52
- },
53
- "axis": {
54
- "label": "Negotiations and objective course"
55
- }
56
- },
57
- {
58
- "label": "Split by group",
59
- "splitBy": "group"
60
- }
11
+ { "id": "g-1", "label": "Fang Yuan and his mother" },
12
+ { "id": "g-2", "label": "Debt collectors" },
13
+ { "id": "g-3", "label": "Negotiations and objective course" }
61
14
  ],
62
15
  "sources": [
63
16
  {
@@ -119,7 +72,6 @@
119
72
  "a-2",
120
73
  "a-3"
121
74
  ],
122
- "groupId": "g-3",
123
75
  "detail": "The parties orally agreed on 6% monthly interest; this loan became the origin of the later debt dispute.",
124
76
  "sourceIds": [
125
77
  "s-2"
@@ -137,7 +89,6 @@
137
89
  "actorIds": [
138
90
  "a-2"
139
91
  ],
140
- "groupId": "g-1",
141
92
  "detail": "During the repayment period, because Liang was late, Zhong and Zheng directed others to press for repayment by camping in the Yuanhua Company bicycle shed and setting up a cooking stove in front of the office building.",
142
93
  "sourceIds": [
143
94
  "s-2"
@@ -156,7 +107,6 @@
156
107
  "a-2",
157
108
  "a-3"
158
109
  ],
159
- "groupId": "g-3",
160
110
  "detail": "RMB 80,000 at 6% monthly interest agreed orally; the other RMB 200,000 through a house sale contract using a flat in Fang 1's name as security, to be transferred to Zheng on default.",
161
111
  "sourceIds": [
162
112
  "s-3"
@@ -174,7 +124,6 @@
174
124
  "actorIds": [
175
125
  "a-2"
176
126
  ],
177
- "groupId": "g-1",
178
127
  "detail": "Zhong and Zheng considered the payment to be interest on the first RMB 800,000, while Liang and her husband considered it repayment of the second loan; after that they made no further repayment and did not transfer the flat.",
179
128
  "sourceIds": [
180
129
  "s-2",
@@ -193,7 +142,6 @@
193
142
  "actorIds": [
194
143
  "a-3"
195
144
  ],
196
- "groupId": "g-2",
197
145
  "detail": "Zheng produced the house sale contract, and the officers left after mediating.",
198
146
  "sourceIds": [
199
147
  "s-2"
@@ -211,7 +159,6 @@
211
159
  "actorIds": [
212
160
  "a-3"
213
161
  ],
214
- "groupId": "g-2",
215
162
  "detail": "When the officers responded, Zhong said it was a house sale dispute and was told to settle it by negotiation or litigation; after they left, Zhong berated Liang and pushed her to the ground and stood on her arm. That afternoon Zheng and others moved the contents of the flat to the gate of Yuanhua Company.",
216
163
  "sourceIds": [
217
164
  "s-2"
@@ -230,7 +177,6 @@
230
177
  "a-2",
231
178
  "a-3"
232
179
  ],
233
- "groupId": "g-3",
234
180
  "detail": "Through others' mediation Fang 1 reached an oral agreement with Zhong: the flat would be transferred to Zheng the next day, and after a further RMB 250,000 was paid the principal and interest would be settled in full.",
235
181
  "sourceIds": [
236
182
  "s-2"
@@ -248,7 +194,6 @@
248
194
  "actorIds": [
249
195
  "a-3"
250
196
  ],
251
- "groupId": "g-2",
252
197
  "detail": "Because Fang 1 and Liang did not complete the transfer, Zheng gathered Kong and others at Yuanhua Company to press for repayment, shouting in front of the office building, watching inside the finance office and outside the canteen, and barbecuing and drinking outside the lobby while urging Liang to repay.",
253
198
  "sourceIds": [
254
199
  "s-4"
@@ -266,7 +211,6 @@
266
211
  "actorIds": [
267
212
  "a-3"
268
213
  ],
269
- "groupId": "g-2",
270
214
  "detail": "Jiang abused Liang, Fang Yuan and their family in obscene language, flicked a cigarette butt onto the front of Liang's clothing, pulled down his trousers to expose himself and turned his body towards Liang and the others; he then took off Fang Yuan's shoe and made Liang smell it, slapped Fang Yuan's face, while other debt collectors pulled Fang Yuan's hair and pressed his shoulders down to stop him rising.",
271
215
  "sourceIds": [
272
216
  "s-4"
@@ -282,7 +226,6 @@
282
226
  "label": "officers reach the reception room then leave to find the caller",
283
227
  "summary": "both sides warned not to fight",
284
228
  "actorIds": [],
285
- "groupId": "g-3",
286
229
  "detail": "Officer Zhu and an auxiliary officer reached the reception room to establish the facts; Liang and Fang Yuan identified Jiang as having beaten Fang Yuan, while Jiang and the others denied it and said they were collecting a debt; after warning both sides not to fight, the officer took the auxiliary officer into the yard to look for the caller.",
287
230
  "sourceIds": [
288
231
  "s-4"
@@ -300,7 +243,6 @@
300
243
  "actorIds": [
301
244
  "a-1"
302
245
  ],
303
- "groupId": "g-2",
304
246
  "detail": "Fang Yuan and Liang tried to leave with the officers and were blocked; Jiang and the others seized Fang Yuan's neck and pushed and dragged him to the south-east corner; Fang Yuan warned them with a single-edged knife with a 15.3 cm blade, Jiang taunted him and closed in, and Fang Yuan stabbed Jiang once in the abdomen and stabbed Cheng, Yan and Guo once each.",
305
247
  "sourceIds": [
306
248
  "s-4"
@@ -318,7 +260,6 @@
318
260
  "actorIds": [
319
261
  "a-3"
320
262
  ],
321
- "groupId": "g-2",
322
263
  "detail": "Jiang was taken to Example County People's Hospital and died at 02:18 the next day despite resuscitation; Yan and Meng suffered second-degree serious injuries and Cheng a second-degree minor injury.",
323
264
  "sourceIds": [
324
265
  "s-5"
@@ -1,31 +1,20 @@
1
1
  {
2
- "specVersion": 1,
2
+ "specVersion": 2,
3
3
  "type": "fact",
4
4
  "title": "方远案(虚构) · 借贷、催债与冲突经过",
5
5
 
6
6
  "actors": [
7
- { "id": "a-1", "name": "方远", "role": "被告人" },
8
- { "id": "a-2", "name": "梁某(方远之母)", "role": "远华公司经营者" },
9
- { "id": "a-3", "name": "讨债方", "role": "钟某、郑某等" }
7
+ { "id": "a-1", "name": "方远", "role": "被告人", "groupId": "g-1" },
8
+ { "id": "a-2", "name": "梁某(方远之母)", "role": "远华公司经营者", "groupId": "g-1" },
9
+ { "id": "a-3", "name": "讨债方", "role": "钟某、郑某等", "groupId": "g-2" }
10
10
  ],
11
11
 
12
12
  "groups": [
13
- { "id": "g-1", "label": "借贷与还款" },
14
- { "id": "g-2", "label": "催债与冲突" },
13
+ { "id": "g-1", "label": "方远母子" },
14
+ { "id": "g-2", "label": "讨债方" },
15
15
  { "id": "g-3", "label": "双方交涉与客观经过" }
16
16
  ],
17
17
 
18
- "views": [
19
- {
20
- "label": "方远母子 vs 讨债方",
21
- "splitBy": "actor",
22
- "side1": { "label": "方远母子", "actors": ["a-1", "a-2"] },
23
- "side2": { "label": "讨债方", "actors": ["a-3"] },
24
- "axis": { "label": "双方交涉与客观经过" }
25
- },
26
- { "label": "按性质分侧", "splitBy": "group" }
27
- ],
28
-
29
18
  "sources": [
30
19
  {
31
20
  "id": "s-1",
@@ -73,7 +62,6 @@
73
62
  "label": "梁某夫妇向钟某、郑某借款 80 万元",
74
63
  "summary": "口头约定月息 6%",
75
64
  "actorIds": ["a-2", "a-3"],
76
- "groupId": "g-3",
77
65
  "detail": "双方口头约定月息 6%,该笔借款成为后续债务纠纷的起点。",
78
66
  "sourceIds": ["s-2"]
79
67
  }
@@ -87,7 +75,6 @@
87
75
  "label": "梁某累计还款 120 万元",
88
76
  "summary": "此前多次未按期偿还",
89
77
  "actorIds": ["a-2"],
90
- "groupId": "g-1",
91
78
  "detail": "还款期间,钟某、郑某因梁某还款不及时,曾指使他人采取在远华公司车棚内驻扎、在办公楼前支锅做饭等方式催债。",
92
79
  "sourceIds": ["s-2"]
93
80
  }
@@ -101,7 +88,6 @@
101
88
  "label": "梁某夫妇再借 28 万元",
102
89
  "summary": "其中 20 万元以住房抵押",
103
90
  "actorIds": ["a-2", "a-3"],
104
- "groupId": "g-3",
105
91
  "detail": "8 万元口头约定月息 6%;另 20 万元通过签订房屋买卖合同,以方某名下住房作抵押,约定逾期则过户给郑某。",
106
92
  "sourceIds": ["s-3"]
107
93
  }
@@ -115,7 +101,6 @@
115
101
  "label": "梁某再还款 24 万元",
116
102
  "summary": "双方对款项用途各执一词",
117
103
  "actorIds": ["a-2"],
118
- "groupId": "g-1",
119
104
  "detail": "钟某、郑某认为该款是偿还第一笔 80 万元的利息,梁某夫妇则认为是偿还第二笔借款;此后梁某夫妇未再还款,也未办理住房过户。",
120
105
  "sourceIds": ["s-2", "s-3"]
121
106
  }
@@ -129,7 +114,6 @@
129
114
  "label": "郑某等人换锁强行入住抵押房屋",
130
115
  "summary": "梁某报警后民警调解离去",
131
116
  "actorIds": ["a-3"],
132
- "groupId": "g-2",
133
117
  "detail": "郑某出示房屋买卖合同,民警调解后离去。",
134
118
  "sourceIds": ["s-2"]
135
119
  }
@@ -143,7 +127,6 @@
143
127
  "label": "郑某等搬物品,钟某推倒梁某在地",
144
128
  "summary": "梁某报警,物品被搬至公司门口",
145
129
  "actorIds": ["a-3"],
146
- "groupId": "g-2",
147
130
  "detail": "民警处警时钟某称系房屋买卖纠纷,告知双方协商或通过诉讼解决;民警离开后,钟某责骂梁某,并将梁某推倒在地、踩住其手臂。当日下午,郑某等人将房屋内物品搬至远华公司门口。",
148
131
  "sourceIds": ["s-2"]
149
132
  }
@@ -157,7 +140,6 @@
157
140
  "label": "双方达成口头协议",
158
141
  "summary": "约定次月过户后再付 30 万结清",
159
142
  "actorIds": ["a-2", "a-3"],
160
- "groupId": "g-3",
161
143
  "detail": "方某通过他人调解与钟某达成口头协议:次日将住房过户给郑某,此后再付 25 万元,借款本金及利息即全部结清。",
162
144
  "sourceIds": ["s-2"]
163
145
  }
@@ -171,7 +153,6 @@
171
153
  "label": "郑某纠集多人到远华公司讨债",
172
154
  "summary": "在门厅外烧烤饮酒、催促还款",
173
155
  "actorIds": ["a-3"],
174
- "groupId": "g-2",
175
156
  "detail": "因方某、梁某未去办理过户手续,郑某纠集孔某等人到远华公司讨债,先后在办公楼前呼喊、在财务室内及餐厅外盯守,并在办公楼门厅外烧烤、饮酒,催促梁某还款。",
176
157
  "sourceIds": ["s-4"]
177
158
  }
@@ -185,7 +166,6 @@
185
166
  "label": "姜某等人进入接待室辱骂并裸露下体",
186
167
  "summary": "方远被拍打面颊、揪抓头发",
187
168
  "actorIds": ["a-3"],
188
- "groupId": "g-2",
189
169
  "detail": "姜某用污秽言语辱骂梁某、方远及其家人,将烟头弹到梁某胸前衣服上,并褪下裤子裸露下体朝梁某等人转动身体;其后又脱下方远的鞋让梁某闻,并拍打方远面颊,其他讨债人员揪抓方远头发、按压其肩部不准起身。",
190
170
  "sourceIds": ["s-4"]
191
171
  }
@@ -199,7 +179,6 @@
199
179
  "label": "民警到达接待室后离开寻找报警人",
200
180
  "summary": "警告双方不得打架",
201
181
  "actorIds": [],
202
- "groupId": "g-3",
203
182
  "detail": "民警朱某带领辅警到达接待室了解情况,梁某和方远指认姜某殴打方远,姜某等人否认并称系讨债;民警警告双方不能打架后,带领辅警到院内寻找报警人。",
204
183
  "sourceIds": ["s-4"]
205
184
  }
@@ -213,7 +192,6 @@
213
192
  "label": "方远持刀捅刺四名讨债人员",
214
193
  "summary": "致一人死亡、二人重伤、一人轻伤",
215
194
  "actorIds": ["a-1"],
216
- "groupId": "g-2",
217
195
  "detail": "方远、梁某欲随民警离开被阻拦,姜某等人卡方远颈部并将其推拉至东南角;方远持刃长 12 厘米的水果刀警告,姜某出言挑衅并逼近,方远遂捅刺姜某腹部一刀,又捅刺程某、严某、孟某各一刀。",
218
196
  "sourceIds": ["s-4"]
219
197
  }
@@ -227,7 +205,6 @@
227
205
  "label": "姜某经抢救无效死亡",
228
206
  "summary": "死因为失血性休克",
229
207
  "actorIds": ["a-3"],
230
- "groupId": "g-2",
231
208
  "detail": "姜某被送至示例县人民医院救治,次日 2 时 18 分经抢救无效死亡;严某、孟某损伤构成重伤二级,程某构成轻伤二级。",
232
209
  "sourceIds": ["s-5"]
233
210
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "specVersion": 1,
2
+ "specVersion": 2,
3
3
  "type": "fact",
4
4
  "title": "Han Lei's side · How the way into the gym changed (fictional: face scan at a gym, one party)",
5
5
 
@@ -13,11 +13,6 @@
13
13
  { "id": "g-3", "label": "Objective course (no party involved)" }
14
14
  ],
15
15
 
16
- "views": [
17
- { "label": "By performance", "splitBy": "group" },
18
- { "label": "Time order only", "splitBy": "actor", "side1": { "actors": [] }, "side2": { "actors": [] } }
19
- ],
20
-
21
16
  "sources": [
22
17
  {
23
18
  "id": "s-1",
@@ -1,5 +1,5 @@
1
1
  {
2
- "specVersion": 1,
2
+ "specVersion": 2,
3
3
  "type": "fact",
4
4
  "title": "韩磊视角 · 会员入场方式变更经过(虚构:健身房刷脸入场,单主体)",
5
5
 
@@ -13,11 +13,6 @@
13
13
  { "id": "g-3", "label": "客观经过(不涉及当事人)" }
14
14
  ],
15
15
 
16
- "views": [
17
- { "label": "按履约情况", "splitBy": "group" },
18
- { "label": "只看时间先后", "splitBy": "actor", "side1": { "actors": [] }, "side2": { "actors": [] } }
19
- ],
20
-
21
16
  "sources": [
22
17
  {
23
18
  "id": "s-1",
@@ -1,26 +1,17 @@
1
1
  {
2
- "specVersion": 1,
2
+ "specVersion": 2,
3
3
  "type": "fact",
4
4
  "title": "Lin Fang v. Zhao Lei, private lending (fictional) · Loans and default",
5
5
 
6
6
  "actors": [
7
- { "id": "a-1", "name": "Lin Fang", "role": "Plaintiff (lender)" },
8
- { "id": "a-2", "name": "Zhao Lei", "role": "Defendant (borrower)" }
7
+ { "id": "a-1", "name": "Lin Fang", "role": "Plaintiff (lender)", "groupId": "g-1" },
8
+ { "id": "a-2", "name": "Zhao Lei", "role": "Defendant (borrower)", "groupId": "g-2" }
9
9
  ],
10
10
 
11
11
  "groups": [
12
- { "id": "g-1", "label": "Loan disbursement" },
13
- { "id": "g-2", "label": "Due but unpaid" }
14
- ],
15
-
16
- "views": [
17
- {
18
- "label": "Lender vs borrower",
19
- "splitBy": "actor",
20
- "side1": { "label": "Lin Fang (lender)", "actors": ["a-1"] },
21
- "side2": { "label": "Zhao Lei (borrower)", "actors": ["a-2"] }
22
- },
23
- { "label": "Split by group", "splitBy": "group" }
12
+ { "id": "g-1", "label": "Lin Fang (lender)" },
13
+ { "id": "g-2", "label": "Zhao Lei (borrower)" },
14
+ { "id": "g-3", "label": "Joint acts" }
24
15
  ],
25
16
 
26
17
  "sources": [
@@ -70,7 +61,6 @@
70
61
  "label": "Lin Fang transfers 40,000 yuan; Zhao Lei gives a note",
71
62
  "summary": "Repayment due by 4 Aprember",
72
63
  "actorIds": ["a-1", "a-2"],
73
- "groupId": "g-1",
74
64
  "detail": "Lin Fang delivered RMB 40,000 by bank transfer; Zhao Lei issued a promissory note stating the amount, the term and the repayment date.",
75
65
  "sourceIds": ["s-1", "s-3"]
76
66
  }
@@ -84,7 +74,6 @@
84
74
  "label": "Zhao Lei borrows another 40,000 yuan via a non-party",
85
75
  "summary": "Repayment due by 14 Aprember",
86
76
  "actorIds": ["a-1", "a-2"],
87
- "groupId": "g-1",
88
77
  "detail": "Because Zhao Lei said his bank card could not be used for the time being, Lin Fang, as instructed, transferred the money to Xu Ying (Lin Fang's daughter), a person not party to the case; Xu Ying then passed it to Zhao Lei by Alipay, WeChat and cash, and Zhao Lei issued a second promissory note.",
89
78
  "sourceIds": ["s-2", "s-4"]
90
79
  }
@@ -98,7 +87,6 @@
98
87
  "label": "First 40,000 yuan falls due, unpaid",
99
88
  "summary": "No principal repaid at maturity",
100
89
  "actorIds": ["a-2"],
101
- "groupId": "g-2",
102
90
  "detail": "When the loan fell due Zhao Lei did not repay as agreed; neither loan's principal has been repaid.",
103
91
  "sourceIds": ["s-1", "s-5"]
104
92
  }
@@ -112,7 +100,6 @@
112
100
  "label": "Second 40,000 yuan falls due, unpaid",
113
101
  "summary": "Unpaid principal totals 80,000 yuan",
114
102
  "actorIds": ["a-2"],
115
- "groupId": "g-2",
116
103
  "detail": "The second loan was likewise not repaid at maturity; the court ordered Zhao Lei to pay overdue interest on each principal from its own maturity date at the LPR.",
117
104
  "sourceIds": ["s-2", "s-5"]
118
105
  }
@@ -1,26 +1,17 @@
1
1
  {
2
- "specVersion": 1,
2
+ "specVersion": 2,
3
3
  "type": "fact",
4
4
  "title": "林芳诉赵磊民间借贷纠纷(虚构) · 借款与逾期经过",
5
5
 
6
6
  "actors": [
7
- { "id": "a-1", "name": "林芳", "role": "原告(出借人)" },
8
- { "id": "a-2", "name": "赵磊", "role": "被告(借款人)" }
7
+ { "id": "a-1", "name": "林芳", "role": "原告(出借人)", "groupId": "g-1" },
8
+ { "id": "a-2", "name": "赵磊", "role": "被告(借款人)", "groupId": "g-2" }
9
9
  ],
10
10
 
11
11
  "groups": [
12
- { "id": "g-1", "label": "借款交付" },
13
- { "id": "g-2", "label": "到期未还" }
14
- ],
15
-
16
- "views": [
17
- {
18
- "label": "出借人 vs 借款人",
19
- "splitBy": "actor",
20
- "side1": { "label": "林芳(出借)", "actors": ["a-1"] },
21
- "side2": { "label": "赵磊(借款)", "actors": ["a-2"] }
22
- },
23
- { "label": "按性质分侧", "splitBy": "group" }
12
+ { "id": "g-1", "label": "林芳(出借)" },
13
+ { "id": "g-2", "label": "赵磊(借款)" },
14
+ { "id": "g-3", "label": "双方共同经过" }
24
15
  ],
25
16
 
26
17
  "sources": [
@@ -70,7 +61,6 @@
70
61
  "label": "林芳转账 4 万元,赵磊出具借条",
71
62
  "summary": "约定 4 月 4 日前归还",
72
63
  "actorIds": ["a-1", "a-2"],
73
- "groupId": "g-1",
74
64
  "detail": "林芳通过银行转账交付 4 万元,赵磊出具借条载明借款金额、期限与还款日。",
75
65
  "sourceIds": ["s-1", "s-3"]
76
66
  }
@@ -84,7 +74,6 @@
84
74
  "label": "赵磊再借 4 万元,经案外人转付",
85
75
  "summary": "约定 4 月 14 日前归还",
86
76
  "actorIds": ["a-1", "a-2"],
87
- "groupId": "g-1",
88
77
  "detail": "因赵磊称自己的银行卡暂时不能使用,林芳按指示将款项转给案外人许颖(林芳之女),再由许颖以支付宝、微信及现金转交赵磊,赵磊出具第二张借条。",
89
78
  "sourceIds": ["s-2", "s-4"]
90
79
  }
@@ -98,7 +87,6 @@
98
87
  "label": "第一笔 4 万元到期未还",
99
88
  "summary": "借款到期后未偿还任何本金",
100
89
  "actorIds": ["a-2"],
101
- "groupId": "g-2",
102
90
  "detail": "借款到期后赵磊未按约偿还,两笔借款本金均未清偿。",
103
91
  "sourceIds": ["s-1", "s-5"]
104
92
  }
@@ -112,7 +100,6 @@
112
100
  "label": "第二笔 4 万元到期未还",
113
101
  "summary": "累计未还本金 8 万元",
114
102
  "actorIds": ["a-2"],
115
- "groupId": "g-2",
116
103
  "detail": "第二笔借款到期后同样未偿还;法院判决赵磊分别以两笔本金为基数,自各自到期日起按 LPR 计算逾期利息。",
117
104
  "sourceIds": ["s-2", "s-5"]
118
105
  }