Published package / CLIR

eu.energy_labelling

v0.1.0

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

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/eu-energy-labelling.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 · 14

NameParametersMeaningReadsSources
energy_class_is_open_tailenum, enumAnnex II. The class is the open tail of the table and has no upper boundno inputs
energy_class_upper_boundenum, enum, decAnnex II. Upper bound of the Energy Efficiency Index for that class, included in the bandno inputs
label_item_requiredenum, textAnnex III, point 1.2. The item shall be included in the label of a household washing machine, under that roman numeralno inputs
label_item_unitenum, textAnnex III, point 1.2. The unit and the counting base in which that item is printed, as the Annex words itno inputs
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 comparableno inputs
noise_class_from_dbtext, enumAnnex II, Table 4. The noise class that the printed decibels givelabel_noise_dbannex/2/C
noise_class_is_open_tailenumAnnex II, Table 4. The class is the open tail: n ≥ 81 dBno inputs
noise_class_lower_bound_includedenum, decAnnex II, Table 4. Lower bound of airborne acoustic noise emissions in dB for that class, included in the bandno inputs
noise_class_upper_bound_excludedenum, decAnnex II, Table 4. Upper bound of airborne acoustic noise emissions in dB for that class, excluded from the bandno inputs
outside_scopetextArticle 1(2). The framework Regulation does not apply to theseno inputs
same_letter_different_boundenum, enum, enumThe same letter stands on different index bounds in different product groupsno inputsannex/2/A
scale_is_a_to_gtextArticle 11(1). The Commission shall ensure at least a homogenous A to G scaleno inputs
spin_class_lower_bound_includedenum, decAnnex II, Table 3. Lower bound of the remaining moisture content for that spin-drying class, INCLUDED in the bandno inputs
spin_class_upper_bound_excludedenum, decAnnex II, Table 3. Upper bound of the remaining moisture content for that spin-drying class, EXCLUDED from the bandno inputs

Inputs · 1

NameParametersMeaning
label_noise_dbtext, decAnnex III, item XI. Airborne acoustic noise emissions of the spinning phase in dB(A), as printed