mscarey / legislice

API client for fetching and comparing passages from legislation
https://legislice.readthedocs.io/
Other
8 stars 2 forks source link

"absent" attribute for Enactments #22

Open mscarey opened 5 years ago

mscarey commented 5 years ago

Which leads to a .contradicts method for Enactments, and probably many other changes.

The first step toward adding this feature is finding a case where it actually applies.

The next step is deciding what "absent" means for an Enactment. Statutes can have some effect after they're repealed, or they may sunset gradually. "Not given any legal effect in the case" might be a good start for a definition.

The use case would be an opinion where a court identifies some statutory language, maybe from another jurisdiction, that would have changed the outcome.

This will require modifying enactments.consolidate_enactments, and the functions that call it.