Published package / CLIR

calc.dual_interval_due

v0.1.0

The package has no official source title — in CLIR its package carries neither description nor labels, and the showcase will not invent one.

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

print this planbslcsdarterlexgojavaktluaphppyrbrsscalaswiftts

Print the module from a repository checkout

./law dev backend corpus/clir/calc-dual-interval-due.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 · 3

NameParametersMeaningReadsSources
due_by_distancetextинтервал наступил по пробегуRUdistance_elapseddistance_interval
due_by_eithertextинтервал наступил хотя бы по одному счётчикуRUdistance_elapseddistance_intervalmonths_elapsedmonths_interval
due_by_monthstextинтервал наступил по времениRUmonths_elapsedmonths_interval

Inputs · 4

NameParametersMeaning
distance_elapsedtext, decпробег с точки отсчёта, километрыRU
distance_intervaltext, decинтервал по пробегу, километрыRU
months_elapsedtext, decмесяцы с точки отсчёта по политике потребителяRU
months_intervaltext, decинтервал по времени, месяцыRU