Published package / CLIR
ca.eccc.wind_chill
v0.1.0Ветро-холодовой индекс Environment and Climate Change Canada: таблица индекса, шесть полос риска и условия публикации
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/ca-eccc-wind-chill-index.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 · 9
| Name | Parameters | Meaning | Reads | Sources |
|---|---|---|---|---|
| frostbite_faster_than_indicated_above_wind_kmh | dec | in sustained winds over this speed frostbite can occur faster than the band indicates | no inputs | |
| no_frostbite_risk_above_temperature_c | dec | above this air temperature there is no risk of frostbite no matter how windy it is | no inputs | |
| wind_chill_extreme_at_or_below | dec | extreme risk: wind chill value of this number or colder (the page gives no lower bound) | no inputs | |
| wind_chill_index_c | dec, dec, dec | wind chill index value for a wind speed (km/h) and an air temperature (degrees C) of the published table | no inputs | |
| wind_chill_reported_at_or_below_temperature_c | dec | wind chill is included in forecasts at this air temperature or below | no inputs | |
| wind_chill_reported_from_wind_kmh | dec | wind chill is included in forecasts from this wind speed upwards | no inputs | |
| wind_chill_risk_band_bounds | enum, dec, dec | inclusive wind chill bounds of a risk band | no inputs | |
| wind_chill_skin_freezes_in_less_than_minutes | enum, dec | exposed skin can freeze in less than this many minutes | no inputs | |
| wind_chill_skin_freezes_minutes | enum, dec, dec | exposed skin can freeze in this many minutes | no inputs |