Опубликованный пакет / CLIR

intl.tyre_labelling

v0.1.0

Regulation (EU) 2020/740 on the labelling of tyres with respect to fuel efficiency and other parameters

Пакет можно напечатать самостоятельным модулем на языке общего назначения, который отвечает без движка правил: ответ и статус, без доказательства, хэшей и канонического документа. Всё на этой странице взято из плана кодогенерации, построенного вместе с индексом; витрина ничего не вычисляет сама.

План кодогенерации

План строится: пакет печатается модулем.

формат плана
law-backend-plan/0.7
возможности
только базовый слой

Сверка сценариями пакета

Не сверено: сценарии пакета на порождённых модулях не исполнялись. Построенный план ещё не показывает, что ответы совпадают.

Целевые языки

печатают этот планbslcsdarterlexgojavaktluaphppyrbrsscalaswiftts

Напечатать модуль из рабочей копии репозитория

./law dev backend corpus/clir/intl-tyre-labelling.lawir.json --target ts --target py --target go --out DIR

Интерфейс модуля

Вопросы — публичные отношения с производящим правилом; входы — факты, которые вопрос читает. Имена функций следуют языку: ask_… в Python, ask.… в TypeScript, Ask… в Go.

Вопросы · 11

ИмяПараметрыСмыслЧитаетИсточники
fuel_efficiency_rrc_upperenum, enum, decAnnex I, Part A. Upper bound of the rolling resistance coefficient in N/kN for that fuel efficiency classENбез входов
label_class_says_nothing_about_fittext, textThe letter classes on the tyre label concern fuel efficiency and wet grip; they say nothing about whether the tyre fits the vehicleENtyre_considered_fortyre_fuel_efficiency_classannex/1/Aannex/1/Bpara/2.28
load_capacity_index_kgdec, decAnnex IV. The mass in kilograms corresponding to that load-capacity indexENбез входов
load_short_by_kgtext, text, decThe tyre carries LESS than the vehicle requires, and by how many kilograms per wheelENtyre_considered_fortyre_load_indexvehicle_required_load_indexannex/4
load_sufficienttext, textThe tyre carries at least the mass the vehicle requiresENtyre_considered_fortyre_load_indexvehicle_required_load_indexannex/4
speed_category_max_kmhtext, decParagraph 2.29.1. The maximum speed in km/h the tyre can sustain, by speed-category symbolENбез входов
speed_short_by_kmhtext, text, decThe tyre sustains LESS than the vehicle requires, and by how many km/hENtyre_considered_fortyre_speed_symbolvehicle_required_speed_symbolpara/2.29
speed_sufficienttext, textThe tyre sustains at least the speed the vehicle requiresENtyre_considered_fortyre_speed_symbolvehicle_required_speed_symbolpara/2.29
tyre_max_load_kgtext, decAnnex IV. The mass the tyre is rated to carry, read from its load-capacity indexENtyre_load_indexannex/4
tyre_max_speed_kmhtext, decParagraph 2.29.1. The maximum speed the tyre can sustain, read from its speed-category symbolENtyre_speed_symbolpara/2.29
wet_grip_lowerenum, enum, decAnnex I, Part B. Lower bound of the wet grip index for that wet grip classENбез входов

Входы · 6

ИмяПараметрыСмысл
tyre_considered_fortext, textThe tyre is being considered for that vehicleEN
tyre_fuel_efficiency_classtext, enumAnnex I, Part A. The fuel efficiency class shown on the tyre labelEN
tyre_load_indextext, decParagraph 2.28. The load-capacity index marked on the sidewallEN
tyre_speed_symboltext, textParagraph 2.29. The speed-category symbol marked on the sidewallEN
vehicle_required_load_indextext, decThe minimum load-capacity index the vehicle manufacturer requires, as stated in the vehicle documentsEN
vehicle_required_speed_symboltext, textThe minimum speed-category symbol the vehicle manufacturer requires, as stated in the vehicle documentsEN