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

eu.energy_labelling

v0.1.0

Regulation (EU) 2017/1369 setting a framework for energy labelling

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

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

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

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

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

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

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

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

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

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

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

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

Вопросы · 14

ИмяПараметрыСмыслЧитаетИсточники
energy_class_is_open_tailenum, enumAnnex II. The class is the open tail of the table and has no upper boundENбез входов
energy_class_upper_boundenum, enum, decAnnex II. Upper bound of the Energy Efficiency Index for that class, included in the bandENбез входов
label_item_requiredenum, textAnnex III, point 1.2. The item shall be included in the label of a household washing machine, under that roman numeralENбез входов
label_item_unitenum, textAnnex III, point 1.2. The unit and the counting base in which that item is printed, as the Annex words itENбез входов
labels_are_rescaledtextArticle 11. Labels in force are rescaled, and further rescaling is possible — a letter on an old label and a letter on a new one are not always comparableENбез входов
noise_class_from_dbtext, enumAnnex II, Table 4. The noise class that the printed decibels giveENlabel_noise_dbannex/2/C
noise_class_is_open_tailenumAnnex II, Table 4. The class is the open tail: n ≥ 81 dBENбез входов
noise_class_lower_bound_includedenum, decAnnex II, Table 4. Lower bound of airborne acoustic noise emissions in dB for that class, included in the bandENбез входов
noise_class_upper_bound_excludedenum, decAnnex II, Table 4. Upper bound of airborne acoustic noise emissions in dB for that class, excluded from the bandENбез входов
outside_scopetextArticle 1(2). The framework Regulation does not apply to theseENбез входов
same_letter_different_boundenum, enum, enumThe same letter stands on different index bounds in different product groupsENбез входовannex/2/A
scale_is_a_to_gtextArticle 11(1). The Commission shall ensure at least a homogenous A to G scaleENбез входов
spin_class_lower_bound_includedenum, decAnnex II, Table 3. Lower bound of the remaining moisture content for that spin-drying class, INCLUDED in the bandENбез входов
spin_class_upper_bound_excludedenum, decAnnex II, Table 3. Upper bound of the remaining moisture content for that spin-drying class, EXCLUDED from the bandENбез входов

Входы · 1

ИмяПараметрыСмысл
label_noise_dbtext, decAnnex III, item XI. Airborne acoustic noise emissions of the spinning phase in dB(A), as printedEN