Published package / CLIR
cn.corpus.civil_code.transitions
v0.1.0中华人民共和国民法典
A package can be printed as a standalone module in a general-purpose language that answers without the rules engine: an answer and its status, with no proof, hashes or canonical document. Everything on this page comes from the generation plan built with the index; the gallery computes nothing of its own.
Generation plan
The plan builds: the package can be printed as a module.
- plan format
- law-backend-plan/0.7
- capabilities
- base layer only
Checked against package scenarios
Not checked: the package scenarios have not been run against generated modules. A plan that builds does not yet show that the answers coincide.
Target languages
bslcsdarterlexgojavaktluaphppyrbrsscalaswiftts
./law dev backend corpus/clir/cn-civil-code-transitions.lawir.json --target ts --target py --target go --out DIR
Module interface
Questions are public relations with a producing rule; inputs are the facts a question reads. Function names follow the language: ask_… in Python, ask.… in TypeScript, Ask… in Go.
Questions · 4
| Name | Parameters | Meaning | Reads | Sources |
|---|---|---|---|---|
| baokuo_benshu | dec, dec | 包括本数ZH | shu_yishang | article/1259 |
| bubaokuo_benshu | dec, dec | 不包括本数ZH | shu_buman | article/1259 |
| fadian_shiyong | date | 本法已施行ZH | pingjia_ri | article/1260 |
| jiu_fa_tongshi_feizhi | date | 婚姻法、继承法、民法通则、收养法、担保法、合同法、物权法、侵权责任法、民法总则同时废止ZH | pingjia_ri | article/1260 |
Inputs · 3
| Name | Parameters | Meaning |
|---|---|---|
| pingjia_ri | date | 评价日ZH |
| shu_buman | dec, dec | 比较所称不满、超过、以外ZH |
| shu_yishang | dec, dec | 比较所称以上、以下、以内、届满ZH |