The Council is able to publish the law better and faster than ever before. With the District’s previous codification contractor, updates to the DC Code were published three times a year, and there could be a five-to-seven month delay in seeing the latest laws. But the Open Law Library has shortened the publication process to about a week after a law is enacted.
It also means we’re all getting to see more of the actual law that governs us—not the law as it was months ago.
But agencies that move towards open source initiatives, non-profits etc end up being a lot more responsive and overall end up a lot better off. Unfortunately there's a lot of entrenched commercial entities (ex Oracle) that want things to remain the same so it's going to be hard to rout them. Initiatives like this give me a bit of hope though.
I was surprised I knew the author - he maintains mail-in-a-box, a popular mail selfhosting package.
Okay, so they didn't "change the law." It's a cool story but not a fan of clickbait titles either.
These change sets are almost impossible to use as they are, so the Council creates an official compilation of all the change sets as applied and organized by subject. This is the Code of the District of Columbia. Usually, when people think about "the law" they are thinking about the code, because that is how people interact with it.
The laws as passed by the Council cannot (and should not) be changed via pull request. Here, the useful representation of those laws, the representation used by everybody who actually interacts with the law, has been updated via PR to more perfectly reflect the underlying laws.
I mean, I'm sympathetic to your complaint. It implies something more substantive than it really means. But I also appreciate word play. (shrug)
To be fair, my own distaste for clickbait is palpable here. But I think I can suspend it in light of the importance of this article's bigger point.
I've always thought this sounded like a good idea, and to see it actually happening is pretty amazing. Here's hoping it catches on.
One thing I was wondering is how you would deal with more tricky issues/pull requests. Obviously we probably won't see people writing whole new laws in the pull requests editor but what if it was something like a sentience was written in an unclear way and someone opened an issue asking for it to be clarified or maybe they made a PR rewriting it to make more sense while still keeping the intent the same?
I haven't been able to check yet, but does anyone know if you are allowed to use this process to propose new laws or clarifications of laws more substantial than simple typo fixes?
Sure, you aren't going to have non-lawyers crafting legislation, but could this be used to bring up clarifications that could impact rulings or increase/decrease scope of current laws or something similar? (I'm not a lawyer, so I don't know what are big and what are small changes here)
Imagine if proposed laws could be commented on, have changes offered, debated, and ultimately decided on in an open fashion like this! With a public "audit trail" of sorts showing the history of changes the law went through.
I know this is optimistic, but I wholeheartedly believe that more openness and more people involved will ultimately lead to better laws.
"You" as in you, a citizen off the street proposing a new law? Unlikely. You could use it to form the basis for a ballot initiative, I would think?
https://www.eff.org/deeplinks/2018/10/appeals-court-tells-ge...
The fact that a pull request was accepted was now that strange because it could have been done by the council representative.
For this kind of use case it would make more sense to me some sort of block chain, not controlled by a single company.
"This isn’t a copy of the DC law. It is an authoritative source. It is where the DC Council stores the digital versions of enacted laws, and this source feeds directly into the Council’s DC Code website at https://code.dccouncil.us/dc/council/code/."
It would be treated no differently than someone else trying to tamper with the written law in any form.
It's a bit like saying that the paper on which the law is printed may not be produced by a private company, which of course, doesn't make sense.
The law should have had a test case created, which would have the equivalent of ensuring that police officers are not in violation of the law, when they are serving active duty, or going home. NJ’s assembly had to rush in some middle of the night legislation to fix this “bug” in the law, that nobody caught.
I would love to see this applied to all laws. As the article states, software and law have a lot in common. Testing should be one of them.
https://github.com/steeve/france.code-civil/commit/dfd5918f9...
Hopefully DC (and others) will look at doing GPG signatures[0,1] so that they don't have to trust github's authentication as much. Github has a nice GUI that reflects signatures with the "Verified" tag, which you can see at[2].
0: https://git-scm.com/book/en/v2/Git-Tools-Signing-Your-Work
… which would immediately be noticed by everyone using the repo. How many scenarios are there where a compromise wouldn’t include GPG keys or the attacker simply uploading their own key?
Would much rather see this on a self hosted GitLab but this is a good start for sure.
It's a only a small part of the laws published on https://lafabriquedelaloi.fr for now but should be complete soon !
Disclaimer: I work on the project
I have been thinking of running for local office (one seat in particular is always uncontested), and my platform would basically be: I'll set up a method for constituents to voice their opinion in a transparent way. I'm thinking something like change.org, but with some way to verify residency.
I think citizens don't get as involved as they want to because the barrier to entry is too high and the results are too opaque (don't know how many called, emailed, etc). I would love to start a movement for more open government, but I'm just not sure the demand is there.
I wonder how well code-style line-oriented diffs work for laws. If you word wrap then your single-line changes can cascade and effect many lines. If you don’t word wrap seems like you need a better way to see diffs within long lines. Seems totally solvable, but that what github does for code might not be right.
But this is so awesome, pull requesting a typo. Go DC really forward thinking.
Of course, it could also work against you, but either way, it's one less thing that's open for discussion.
Consider what would happen if Microsoft decided to delete the repo. There will still be copies of the law at different places, but there would no authoritative version. Imagine a lawsuit where each party is arguing that their copy of the law is the "correct" one.
They wouldn't just have picked someone's favourite service without thinking, because fair competition is a fundamental ingredient of a well-functioning capitalist market economy.
Right?
Seems to be a great domain.
(Colemak user here)
I want draft laws, I want to see all representatives as contributors and be able to see their contributions and changes to draft laws.
the House should have a master branch that submits pull requests to another repository, the other chamber having one too
The Governor/President gets to approve PR's from that jurisdiction
It would become SUPER easy to track origins and changes of laws, let alone browse them, and comment on them.
I'd like to see this done retroactively all the way back to English law
I am linking to a particular law I followed from inception to passage, an amendment to the Delaware limited liability company Act allowing company records to be kept on Blockchain.
https://legis.delaware.gov/BillDetail/26554
You get the name of the Sponsor and co sponsors, additional sponsors, sign status, next steps, committee reports, action history, etc...
Real time access to laws as they are drafted is a Really Bad Idea. Good ideas need time to incubate. The system you want would lead to the sound byte version of legislating.
I want sentences to be GitHub as well, so that an inmate can hack github to change his sentence.
Some review process needs to be there, and frankly, even a typo correction IMO needs to be run by the Mayor because she/he signed one thing into law and this process changes what they signed. We cannot ever assume we know the intent of the Chief Executive, even when “obviously” in error.
OTOH, a diff system for law is awesome. California uses a similar system but it is cumbersome to do things like “show me how this section evolved over time”.