Pitfalls/traps in coding legislation #411
nikhilwoodruff
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Just starting this thread to add to as they occur to me (feel free to add to):
list_of_four_things = [bracket.rate for bracket in parameters.tax.main.brackets]
(which then goes on to use the list in some way that works assuming the list has exactly four members) will work in the baseline, but fail if a reform adds an extra tax bracket.Beta Was this translation helpful? Give feedback.
All reactions