Live data from Hacker News

Spanish legislation as a Git repo

github.com

241–246 of 246 posts

Re: Spanish legislation as a Git repo

#242

Is there something like this for the US?

Even if there were, it wouldn't be very useful. In a "common law" system like the US, legal questions are rarely answered purely by the plain text of a law. You also need case law - that is, how the law is typically applied in practice by the courts.

CourtListener (from the non-profit Free Law Project) provides bulk access to its case law collection.[1][2] I expect they are ingesting the GPO uscourts collection so it should have near complete (99%) coverage.[3][4]

[1] https://www.courtlistener.com/help/api/

[2] https://www.courtlistener.com/help/coverage/

[3] https://www.govinfo.gov/help/uscourts

[4] https://www.courtlistener.com/help/coverage/opinions/

Re: Spanish legislation as a Git repo

#243

Earlier quoted context omitted.

Even if there were, it wouldn't be very useful. In a "common law" system like the US, legal questions are rarely answered purely by the plain text of a law. You also need case law - that is, how the law is typically applied in practice by the courts.

Sure, then that with case law too?

Have at it!

The reality is that the official United States Code gives plenty of history for statutes, while the Code of Federal Regulations gives less but still basic history. Both are also provided in XML in bulk, though the former has a modern USLM format and the latter has an archaic schema. Case law is less amenable to git histories.

Re: Spanish legislation as a Git repo

#244

Earlier quoted context omitted.

Even if there were, it wouldn't be very useful. In a "common law" system like the US, legal questions are rarely answered purely by the plain text of a law. You also need case law - that is, how the law is typically applied in practice by the courts.

The legislation seems more high-level requirements, that then implemented over in the Code of Federal Regs[1]. Using AI to plow through and make sense of all this would put us at risk of people knowing what the USG is getting up to. [1] https://en.wikipedia.org/wiki/Code_of_Federal_Regulations

OpenAI, Anthropic, and Google are way ahead of you. Ask your heart away. I am unsure about open source models, it'd be interesting to know if they're ingesting the law.

Re: Spanish legislation as a Git repo

#245

Earlier quoted context omitted.

> "By-laws" is typically the name of the rules/"laws" inside of a company I suspect that this should be qualified by "in the US"

No, I was talking about Spain, I have no idea how it works in the US. I thought mentioning "autonomous communities" was enough context to make it evident, but maybe it wasn't.

I was misled then by the word being in English. The name bye-law in British English generally applies to local authority (town or county) laws rather than the internal rules of a commercial entity.

Re: Spanish legislation as a Git repo

#246

Earlier quoted context omitted.

Do you mean DIN?

No I'm talking about the Bundesanzeiger (the publication where new laws are published) being privatized.

On a purely philosophical level, what does it even mean for a law to be “public” or “on the book” if access to it is restricted by something like copyright? This seems very backward to me.
Post reply on HN