look, don’t get me wrong, I personally think regulation of essential consumer services is a good idea, but sometimes regulators will just come up with rules without thinking about how the maths will work and how it interacts with all the other rules
(Which regulatory instrument I am subtooting here is left as an exercise for the reader.)
@daisy And if there's any averaging over a day.... daylight savings, bitches!
@daisy and handling of regional public holidays
@xssfox oh my god I hate regional public holidays
It’s so difficult to determine which public holidays actually apply to which sites, especially in Queensland
@firstyear @xssfox More specifically the days that country towns take off instead of Ekka
like, this is one of the worst but there’s 97 of them
“that part of the Parish of Banana described as L110/FN261, L109/FN261, L48/FN283, L53/FN423,
L1&2/RP892597, L1/RP612740, L1-6/RP613366, L2/RP612740, L127/FN470, and Pt L13/FN469”
“that part of” … !! 😮
@daisy if your law is intended to be implemented with computer code, then your law should also provide a runnable reference implementation and/or runnable unit tests. Any code that produces the same results as the reference implementation, or passes all unit tests, should legally be considered a correct implementation.
(Code that passes but does not match your intent means your law is incorrectly or under specified. If you don’t want to specify, then the answer is “implementation defined”.)
If you are a regulator and you have very strict rules about estimations over a year, please for the love of all that is good specify what you expect implementors to do in leap years. Also if you have stuff that is to do with weekdays and weekends it would be nice to have it specified what you expect implementors to do about the fact that the year does not divide evenly into weeks.