News for hackers. Stuff that matters.
Re:Expert systems and the legal world by jasonhansel on Tuesday May 17, 2022 @07:51AM (#31409090)
Here's a question: instead of using expert systems to write a contract, could you just write a contract that refers to a form that can be filled out by someone without legal expertise?

For instance, instead of using an expert system to generate a contract that says "Alice will pay Bob $2000 a month in rent, plus utilities," you could write a contract that says "The party listed on line 1 of the attached form will pay the party listed on line 2 of the form the amount listed on line 3 of the form; if the checkbox on line 4 of the form is checked, then the first party will also pay for utilities."

Then the attached form could look something like this:

1. Name of tenant: _______

2. Name of landlord: ______

3. Amount of rent: $_____

4. [ ] Check here if tenant pays for utilities

That solution would seem to be much more efficient and transparent than using an expert system; essentially, the "templating" is being done by the judges and/or lawyers reading the contract, not by an expert system writing one.

Edit: of course any such contract might contain a lot of "conditional logic" that would only apply in very specific circumstances and thus would prove irrelevant for most users. But although the contract would be long, you'd only need to write it once, and there would only be one copy to maintain.

Re:Expert systems and the legal world by allan_s on Tuesday May 17, 2022 @08:02AM (#31409201)
You've described exactly what the company where I was previously working was doing in france for small company owners legalstart.fr

basically you answers a questionnaire (with conditions betweens questions like "ask this question only if A and B are both physical person with revenue < 20000 euros a years")

and at the end these answers are used to generate a template (with things like "put this paragraph as many times as they are people involved" )

the templates and questionnaires were made once (and updated every once in a while when law changed) by a specialist.

Re:Expert systems and the legal world by jasonhansel on Tuesday May 17, 2022 @08:06AM (#31409253)
Instead of using templates to generate a contract based on questionnaire answers, my idea is to use a single unaltered contract that refers to the questionnaire answers provided as a separate document.

One could even imagine those "universal contracts" being open-source, if you could find a business model.

Re:Expert systems and the legal world by sithadmin on Tuesday May 17, 2022 @08:22AM (#31409439)
IANAL (but spend a lot more time than I would prefer writing and reviewing contracts)...but I don't think your proposal would work in the US. I believe your additional 'document' would have to be structured as an addendum, which in itself is a sort of contract and technically free-standing from the main/original document. But in this case the original contract wouldn't be valid, because it wouldn't have any specific terms relevant to an agreement between parties, and AFAIK you can't render an invalid or unenforceable contract valid through addendum.

What you're proposing also bucks 100+ years of legal writing tradition (both in US and Europe), which itself is very poorly received by attorneys and judges.

Re:Expert systems and the legal world by dctoedt on Tuesday May 17, 2022 @08:32AM (#31409554)
Lawyer here: It's not unusual to have "master agreements" — either negotiated between two specific parties OR agreed to as industry standards — that are "customized" by agreeing to a schedule, a purchase order, or a work order. Technically, the schedule/PO/WO is the contract, and it incorporates the master agreement by reference.

Example: https://www.investopedia.com/terms/i/isda-master-agreement.a... (master agreement for derivatives trading)

More discussion of two-party master agreements: https://toedtclassnotes.site44.com/Notes-on-Contract-Draftin... (my course materials)

Incorporation by reference: https://toedtclassnotes.site44.com/Notes-on-Contract-Draftin... (ditto)

Re:Expert systems and the legal world by codatory on Tuesday May 17, 2022 @09:11AM (#31409999)
Yeah; IANAL but I've spent a lot of time writing contracts for a specific vertical that have been reviewed by several lawyers, and I always built my contracts in this same structure. There would be a MSA that governs the overall relationship -- sets a baseline for what things cost and what their conditions are, and then there would be various contracts that would include the MSA by reference for enhanced or fixed-rate services.

Everyone preferred this structure that I dealt with, because the total length of the contracts were dramatically shorter and the structure was much easier to read and comprehend.

Re:Expert systems and the legal world by sithadmin on Tuesday May 17, 2022 @02:32PM (#31414672)
What's being proposed here seemed so odd, structurally speaking, that I didn't even consider it analogous to a master agreement + follow-on contract structure. I'm not sure the analogy is totally a fit - a master agreement should itself be a freestanding, valid contract, no? But in this case the 'base' document is incomplete and invalid.

I suppose one could just add the addendum of specific terms at the end of the document and both parties sign off on everything in one go, but I certainly wouldn't want to test it in court.

Re:Expert systems and the legal world by jasonhansel on Tuesday May 17, 2022 @08:30AM (#31409534)
IANAL also, but: IIRC contracts typically have an "integration clause" that specifies that the contract constitutes the entirety of the agreement between the two parties. Couldn't the integration clause instead specify that the contract, as combined with the additional document into a single whole, constitute the agreement? See: https://en.wikipedia.org/wiki/Integration_clause
Re:Expert systems and the legal world by dctoedt on Tuesday May 17, 2022 @08:36AM (#31409607)
See my comment just above yours, concerning "incorporation by reference" (with a link).
Re:Expert systems and the legal world by calny on Tuesday May 17, 2022 @09:02AM (#31409894)
Lawyer here also (though not actively practicing) and I agree with your thoughtful comment about. I’ve negotiated lots of commercial agreements, and it’s surprising that lawyers still spend time redlining basic things like severance clauses, integration clauses, etc. There’s no real benefit from much of the back-and-forth. It’d be great to have trusted, open source “standard legalese” terms. That way the parties could focus on the contract’s meaningful parts and say something like “This Agreement incorporates by reference the Standard Legal Terms at xyzterms.org.” And of course you could have different versions for various states and industries.
Re:Expert systems and the legal world by dctoedt on Tuesday May 17, 2022 @09:55AM (#31410677)
> * It’d be great to have trusted, open source “standard legalese” terms.*

Working on it :)

Re:Expert systems and the legal world by szermer on Tuesday May 17, 2022 @10:17AM (#31411042)
When I did paralegal work in NY, we often used Blumberg Forms and just assumed that it covered our needs.

https://www.blumberg.com/forms/

Re:Expert systems and the legal world by gamblor956 on Tuesday May 17, 2022 @03:31PM (#31415335)
Lawyer here.

I've seen B2B contracts like the kind proposed above (the terms as a form attached to a pre-existing contract). They've been a thing for decades; they're just very uncommon and usually aren't used until the businesses already have a pre-existing contractual relationship.

Generally, the integration clause is uncommon in the contracts I've seen; it's used in big-ticket contracts (like M&A) but not so much in day-to-day contracts where friction can kill a transaction.

Re:Expert systems and the legal world by krageon on Tuesday May 17, 2022 @12:24PM (#31412960)
> 100+ years of legal writing tradition

If tradition keeps us from inventing something better for normal human beings, it's called oppression and/or rent-seeking.

Re:Expert systems and the legal world by sithadmin on Tuesday May 17, 2022 @02:19PM (#31414496)
The issue here is that jurisprudence heavily depends upon established precedents that hinge on particular logical and semantic structures present in legal texts. The more you deviate from the norm, the more likely you are to end up in court due to disagreements over interpretation. Safer to stick to what has already has a consensus behind it.
Re:Expert systems and the legal world by eru on Thursday May 19, 2022 @09:46AM (#31434582)
Eh, not necessarily. Eg musical notation has a lot of tradition and is a bit weird. But I don't see much oppression or rent-seeking there.

(Or look at English spelling..)

Re:Expert systems and the legal world by gadders on Tuesday May 17, 2022 @08:58AM (#31409844)
Maybe in the case where one party has more power than the other EG If you want to rent this house, take it or leave it.

Having been involved in Legal blacklining pissing matches before, probably not between two equal parties. I think the legal terms are as much as a part of the negotiation as the price - "If you want to be indemnified against X, we will have to hire a team to do Y and that will cost an extra $Z" "You want to use our name in publicity, that means we pay Q% less" etc etc.

Re:Expert systems and the legal world by sithadmin on Tuesday May 17, 2022 @08:11AM (#31409315)
In the US, what you're suggesting is more or less how the majority contracts are written, but rather than using a separate form, specific parties, objects, etc. are defined and indicated by a generic term used for the remainder of the text. Law firms and corporations generally maintain a library of templates for use.
Re:Expert systems and the legal world by PatentlyDC123 on Tuesday May 17, 2022 @09:01AM (#31409885)
+1. Many times the real value an attorney brings is working with the client to tailor the template to their situation and needs. Most parties try to mainly use standard terms, e.g., shipping Incoterms, and language that has been litigated in case law (if in the US) so that the parties can better understand and estimate the likely outcome of any dispute. However, each situation is usually slightly different. Even if we ignored any unique aspects of each contract, each template would have to be tweaked to reflect the unique and changing case law (if in the US) of the jurisdiction governing the contract.
Re:Expert systems and the legal world by jasonhansel on Tuesday May 17, 2022 @08:33AM (#31409575)
Indeed. What I'm suggesting just amounts to taking that approach to its limits, by putting the "definitions" into a separate document and having the contract contain conditionals that depend on that document.
Re:Expert systems and the legal world by gamblor956 on Tuesday May 17, 2022 @03:24PM (#31415262)
So in other words, you just want to use a standardized legal template?

Yes, you can do that. People have been doing that for decades. Pretty much every major lease or purchase agreement you or your parents have made in the past 4 or 5 decades has used a standardized legal template.

Note that these templates have the variable fields in-line; if you want to do it as a separate document as proposed, you would need to do that as an attachment or exhibit to the original underlying contract. The former is generally required for contracts between businesses and individuals; the latter is uncommon but is used for B2B contracts.

Generally, if there is a significant amount of conditional logic, you would need/want to split that out as a separate (possibly standardized) contract addressing those particular logical conditions. But note that plenty of standardized contracts have conditional blocks that affect the selection of a particular term of the contract (i.e., amount of monthly payment, points paid, choice of extended warranty, etc.).

Re:Expert systems and the legal world by citizenkeen on Tuesday May 17, 2022 @12:09PM (#31412752)
This is why I left the legal profession. I was working for the in-house legal department for a very, very large athletic shoe company, and they had a team working downstairs on automated contract drafting. The company is big enough that they wanted managers to be able to do things like leases without consulting the lawyers. Some sales person would go to a factory outlet mall outside of Cleveland, negotiate for a lease, and rather than run the lease by legal or get legal to draft it, they'd just use a giant web form to generate the lease. The software would be able to parse terms added by the other party and associate a "risk" that may or may not necessitate the involvement of a human.

Since writing contracts was my favorite part of practicing law, I saw that staring at me for a year and noped out. I'm a software developer now, and so much happier.

Re:Expert systems and the legal world by bryanrasmussen on Tuesday May 17, 2022 @10:36AM (#31411326)
When I worked for the Danish and Swedish division of Thompson Reuters WestLaw we had a product named Pacta that lawyers used to generate all sorts of contracts that operated on this principle. I have to assume that other parts of the WestLaw platform internationally, and other services like Lexis-Nexis, must provide similar functionality. It is, after all, not too difficult a thing to do.

When I left (2013) a project was underway to add lots of functionality to it. Not sure what the current status is if any.

Re:Expert systems and the legal world by jonas21 on Tuesday May 17, 2022 @03:37PM (#31415384)
Isn't this basically how every lease is already written? Nobody's writing a new contract for each tenant - you just fill in the blanks.
Re:Expert systems and the legal world by bob1029 on Tuesday May 17, 2022 @04:34PM (#31415949)
In banking, this is pretty much how everything works.

There are vendors who took this one step further. They define a document "contract" which is populated with the raw business data and other important facts regarding the context of the transaction. You send this XML into their system and it will dynamically construct the required document based upon the inputs and send back the final PDF. Documents produced in this manner usually require far fewer printed/imaged pages, especially when working with business customers and complex retirement accounts that require volumes of potentially inapplicable disclosures.

We have also hand-rolled a lot of this kind of stuff in-house for our customers using HTML templating and PDF conversion. That said, anything that needs to stand up in court comes from one of 2 legal document vendors and we are required to use it pretty much as-is.

Re:Expert systems and the legal world by Tyr42 on Tuesday May 17, 2022 @10:36AM (#31411321)
You might enjoy the writings of /dev/lawer https://writing.kemitchell.com/

He wishes to create such forms, and created PolyForm to try and do so.

https://writing.kemitchell.com/2021/06/23/PolyForm-Commercia...

Re:Expert systems and the legal world by AnimalMuppet on Tuesday May 17, 2022 @12:34PM (#31413110)
Aren't most residential real estate contracts already done this way? There are standardized forms that are recognized as legal within your state (or maybe within all states). This lets an agent draw up a legally binding contract for a transaction that's worth hundreds of thousands of dollars, without needing lawyers.
Re:Expert systems and the legal world by rmellow on Tuesday May 17, 2022 @09:21AM (#31410148)
Ontario uses exactly this system in it's standard rental agreement contracts.