Atris

Pull duties and deadlines from a contract.
Done by an agent. Checked twice.

One table of every duty, date and notice period in a signed contract, each tied to the exact words and section.

Have Atris do this for you›

1

Real files in

  • services_outsourcing_agreement.txt
    A real signed services contract from 2014 between CCA Industries and Emerson Healthcare, filed with the Securities and Exchange Commission as Exhibit 10.1 and republished in the open CUAD contract collection (Creative Commons Attribution 4.0). Trimmed: cover page, the names and addresses in the notices clause, the signature block and the exhibits are left out, page headers are removed and lines broken inside a sentence are joined. Every other word is as filed, typing slips included.. 188 lines, 29 KB.

Real public documents. Links below.

2

Three steps

  1. 1.Read the whole contract
  2. 2.List every duty and every time
  3. 3.Write the table and the key terms

Claude Sonnet 5.5, 3 min 13 s. No web. It never saw the check.

3

Checked twice

  • ✓Passed: 65 of 65 rows quote the contract word for word, from the section the row names
  • ✓Passed: 65 of 65 quotes run from the start of a sentence or paragraph to its end, with nothing cut off
  • ✓Passed: 18 of 18 time periods and dates in the contract have a row with the time copied as written
  • ✓Passed: 19 of 19 rows with a period show those exact words inside their own quote
  • ✓Passed: 18 of 18 sections that put a duty on a party have at least one row
  • ✓Passed: 65 of 65 rows name a party the contract uses and the 9 that open with 'Company shall' or 'Contractor shall' name that party
  • ✓Passed: key_terms.md gives the start date January 20, 2014, 4 of 4 notice and cure periods and flags 2 of 2 things a reader cannot rely on (1 figure left blank, 1 reference to a paragraph that does not exist)
  • ✓Passed: 30 of 30 places where the contract says a party shall or agrees sit inside the quote of a row
  • ✓Passed: 17 of 17 periods that key_terms.md gives beside a section number are stated in that section, with 70 of 70 dates and figures in it found in the contract

Second review by Claude Opus 5.5: pass.

Then we broke a copy of the output 6 ways on purpose. The check caught 5.

What it wrote. Lines 19 to 29 of key_terms.md, copied from the file.
| Section | What | Period as written |
|---|---|---|
| 2.01 | Notice of intent not to renew | at least six (6) months before the end of the then-current term |
| 8.01(a) | Cure of a material breach that can be cured, after written notice | thirty (30) days |
| 8.01(b) | Cure of a failure to pay when due, after written notice | three (3) business days |
| 8.01(d) | Either party ends the contract after the "Initial Period" | at least six (6) months' prior written notice |
| 8.01(d) | Company ends it on shorter notice, and pays the Termination Fee | less than six (6) months' prior written notice |
| 1.01(o) | "Notice Period": from the termination date to the date after the Company's written termination notice | six (6) months |
| 1.01(x) | Termination Fee: average Service Fees per day over the days before notice, times the days the Notice Period falls short | 180 day period; less than 180 |
| 8.03 | Force Majeure lasting longer than this lets the other party terminate by written notice | more than one (1) month |
| 8.01(a) | Breach that cannot be cured: termination on written notice, no cure period (any breach of Section 5.04 counts as incurable) | none stated |

How this was run

An AI agent on Claude Sonnet 5.5 was given a folder with the files below and a three-step flow, and nothing else. It had no web access and never saw the check. The check was written before the run and made stricter after it. It works the answer out again from the input files. Then Claude Opus 5.5 reviewed the result against the inputs. The input files are real public documents.

Run 2 of 2 on 1 December 2026. The agent took 3 min 13 s. Run 1 passed the check but not the second review. Each run starts clean. Between runs the written flow was made clearer, or a check was corrected or made stricter. Nobody edits the output.

What the second review verified

  • All 65 quotes appear exactly once in the contract and start and end on a sentence or paragraph edge. Row 47 only showed up in my script because its quote ends in '"A."', with the full stop inside the closing quote mark
  • Every stated time has its own row with the words as written: 1.01(o) six (6) months, 1.01(x) 180 day and less than 180, 2.01 six (6) months / six (6) month periods / six (6) months, 3.02 fifteenth (15th) day, 4.01 five (5) days, 4.02 five (5) business days, 4.03 twenty four (24)months, 7.03 three years, 8.01(a) thirty (30) days, 8.01(b) three (3) business days, 8.01(d) six (6) months', 8.03 one (1) month, 9.02 five (5) days
  • key_terms.md starts with the required line and gives the start date as January 20, 2014 (Preamble and 2.01). Its notice and cure periods match 2.01, 8.01(a), (b) and (d), and 8.03, and the payment deadline matches 4.01: within five (5) days after the end of each month
  • Cannot rely on correctly flags the blank fee percentage in 4.01, the missing paragraph 8.01(e) cited in 1.01(x), the undefined 'Initial Period' in 8.01(d), the claim in 1.01(w) that 'Term' is defined in 2.01 when 2.01 defines only 'Initial Term', and the undefined capitalized words 'Affiliates', 'Inventory' and 'Termination'

What this run does not show

  • The check counts only sentences where a party shall or agrees, so a dropped row for a warranty or a right goes unseen.
  • The contract is a real filing taken from an open dataset and trimmed by hand: the cover page, addresses, signature block and exhibits were removed.
  • Run 1 quoted two half sentences and failed the second review, so the pass is run 2 after the flow was made clearer.

Would the check catch a wrong answer?

A check that cannot fail proves nothing. After the run we took a copy of the output, broke it one small way at a time and ran the check again. It caught 5 of 6. The check was made stricter after the first try at this, and the same untouched output was graded again. It let these through, so on this job they rest on the second review alone:

  • Removed row 44 of obligations.csv

Open every file

flow.md · the three steps the agent followed
# Pull duties and deadlines from a contract

function: legal
for: the contract manager who has to make sure the company keeps its side of a signed deal
goal: Every duty, date and notice period in the contract sits in one table, each tied to the exact words and section it came from.

## 1. Read the whole contract
Read the contract in input/ from the first line to the last, including the definitions and the
notices clause. Note the short names the contract gives the two parties. Sections are numbered like
4.01. Call the opening paragraph before the first numbered section `Preamble`. This is a first pass
for a person who decides. Do not give legal advice and do not work out dates the contract does not
state.

## 2. List every duty and every time
Write one row for each of these:
- Every duty: a sentence that makes a party do, pay, keep, allow or not do something. Every numbered
  section that puts a duty on a party needs at least one row.
- Every time: each place the contract states a number of days, months or years, a day of the month
  or a calendar date. This includes times inside definitions, the term, termination and the notices
  clause. If one sentence states two times, write two rows.
For each row copy the full sentence, or the full lettered paragraph, as one unbroken passage, character
for character. A quote starts at the first word of the sentence and stops at its full stop. Never start
partway through a sentence, even when the opening words look like a lead-in, and never stop at a comma
or semicolon inside it. A lettered paragraph such as (a) is copied from its first word to the end of
that paragraph. Do not fix typing slips in the contract. Before you finish, test every quote against
the contract file: it must be found exactly and must start and stop on a sentence or paragraph edge.

## 3. Write the table and the key terms
Write output/obligations.csv with columns section,party,duty,period,quote.
- section: the section number alone, like 8.01, or Preamble.
- party: the party who must act, using the contract's own short name for it. Write `Both` when each
  party has the duty and `Either` when either party may use the right.
- duty: one plain sentence saying who must do what.
- period: the time words exactly as written in the quote, like thirty (30) days. Empty when the row
  has no time.
- quote: the copied passage.
Write output/key_terms.md for the contract manager. The first line must read exactly:
First pass for a person to decide. Not legal advice.
Then state the parties, the start date, how long the contract runs and how it renews, every notice
period and cure period for ending it, and every payment deadline, each with its section number and
the number as the contract writes it. End with a part called Cannot rely on: every figure the
contract leaves blank or omits, and every reference to a section, lettered paragraph or defined term
that the contract does not contain, each with the section where it appears.

## Done looks like
- Every time stated in the contract has its own row with the words copied exactly.
- Every quote can be found word for word in the section named.
- key_terms.md gives the start date, the notice periods and the things a reader cannot rely on.
input/services_outsourcing_agreement.txt · 188 lines, 29 KB
Exhibit 10.1

CERTAIN CONFIDENTIAL INFORMATION CONTAINED IN THIS EXHIBIT, MARKED BY BRACKETS, HAS BEEN OMITTED AND FILED SEPARATELY WITH THE SECURITIES AND EXCHANGE COMMISSION PURSUANT TO RULE 24B-2 OF THE SECURITIES EXCHANGE ACT OF 1934, AS AMENDED.

SERVICES OUTSOURCING AGREEMENT

This Services Outsourcing Agreement (this "Agreement") is made as of January 20, 2014 (Date), between CCA Industries, Inc. ("Company"), and Emerson HealthCare, LLC, a Pennsylvania limited liability company ("Contractor").

RECITALS

WHEREAS, the Company will own, develop, manufacture or have manufactured, market and sell the products set forth on Exhibit A attached hereto, as the same may be amended from time to time in accordance with the terms hereof (the "Products"), and desires to outsource certain logistical and administrative services with respect to the Products; and

WHEREAS, the Company desires to engage Contractor to provide certain logistical and administrative services with respect to the Products and Contractor is willing to provide such services in connection therewith, on the terms and conditions set forth in this Agreement.

NOW, THEREFORE, for good and valuable consideration, the receipt and sufficiency of which are hereby acknowledged, the Company and Contractor agree as follows:

ARTICLE I

GENERAL TERMS

1.01 Certain Defined Terms. For the purposes of this Agreement, the following capitalized terms shall have the meanings set forth below.

(a) "Accounts Receivable" shall mean all accounts receivable, notes receivable and other indebtedness due and owed by any Customer and arising or held in connection with the sale of any of the Products.

(b) "Agreement" shall mean this Agreement, including all Exhibits attached hereto, as the same may be amended, modified or supplemented from time to time in accordance with the terms hereof.

(c) "Claim" shall have the meaning set forth in Section 7.01.

(d) "Company" shall have the meaning set forth in the Preamble to this Agreement.

(e) "Confidential Information" shall have the meaning set forth in Section 5.04.

(f) "Contractor" shall have the meaning set forth in the Preamble to this Agreement.

(g) "Customer" means any current or prospective customer of the Company with respect to the Products.

(h) "Disclosing Party" shall have the meaning set forth in Section 5.04.
(i) "Effective Date" shall have the meaning set forth in Section 2.01.

(j) "Files and Work Papers" shall have the meaning set forth in Section 5.05.

(k) "Force Majeure Event" shall have the meaning set forth in Section 8.03.

(l) "Governmental Authority' means any supranational, national, federal, provincial, state or local judicial, legislative, executive or regulatory authority, body or instrumentality.

(m) "Gross Invoiced Sales" means the gross selling price (before the application of any non-cash discounts, rebates, credits, allowances or similar deductions or adjustments) less any cash discounts, of all Products that are invoiced to and paid by Customers.

(n) "Intellectual Property" means all intellectual property rights, including all rights in patents, patent applications, formulae, trademarks, trademark applications, trade names, confidential information, trade secrets, inventions, copyright, industrial designs and know-how.

(o) "Notice Period" shall mean the period between the termination date of this Agreement and the date that is six (6) months after the date on which the Company provides Contractor with written notice of its election to terminate this Agreement.

(p) "OHL" means Ozbum-Hessey Logistics, LLC and its Affiliates.

(q) "Person" means an individual, a limited liability company, a joint venture, a corporation, a partnership, an association, a trust, a division or an operating group of any of the foregoing or any other entity or organization.

(r) "Products" shall have the meaning set forth in the Recitals to this Agreement.

(s) "Receiving Party" shall have the meaning set forth in Section 5.04.

(t) "Sales Representation Agreement" means the sales representation agreement, dated as of the date hereof, between Company and Contractor.

(u) "Service Fees" shall have the meaning set forth in Section 4.01.

(v) "Services" means any of the services to be provided by or on behalf of Contractor to the Company under this Agreement and set forth on Exhibit B.

(w) "Term" shall have the meaning set forth in Section 2.01.

(x) "Termination Fee" shall mean an amount equal to the average Service Fees per day over the 180 day period immediately preceding the date written notice of termination is provided pursuant to Section 8.01(d) and (e) multiplied by number of days by which the Notice Period will be less than 180.

(y) "Territory" means the United States, excluding its territories and possessions.

1.02 Interpretation. The words "hereof," "herein," "hereto" and "hereunder" and words of similar import, when used in this Agreement, shall refer to this Agreement as a whole and not to any particular provision of this Agreement. The terms defined in the singular shall have a comparable meaning when used in the plural and vice versa. The term "including" shall mean "including, without limitation." When a reference is made in this Agreement to an Article, a Section or an Exhibit, such reference shall be to an Article or a Section of, or an Exhibit to, this Agreement unless otherwise indicated.

ARTICLE I1

TERM: EFFECTIVE DATE

2.01 Term. This agreement shall commence on January 20, 2014 (the "Effective Date") and shall continue in effect for six (6) months (the "Initial Term"). This agreement shall automatically renew for successive six (6) month periods unless written notice is provided of either party's intent not to renew at least six (6) months before the end of the then-current term.

2.02 Effective Date. This Agreement shall have no force or effect unless and until the Effective Date. If the Effective Date does not occur, then this Agreement shall be void ab initio and shall have no force or effect.

ARTICLE III

OBLIGATIONS OF CONTRACTOR

3.01 Contractor Services. Contractor shall perform during the Term of this Agreement the Services set forth on Exhibit B in respect of the Products in the Territory.

3.02 Meetings. Contractor shall meet with the Company on at least a monthly basis, or more often to the extent reasonably requested by the Company, to review historical sales results by Product SKU, forward-looking sales forecasts by Product SKU, current inventories of the Products on hand, production scheduled and to be scheduled of the Products, and any other matters as the parties shall determine. Such meetings shall take place at the offices of the Company (or, at the election of the Company, by video or telephone conference) no later than the fifteenth (15th) day of each calendar month during the Term of this Agreement or at such other time as the parties shall mutually agree.

3.03 Access. From time to time during the Term of this Agreement, upon reasonable advance notice, Contractor shall permit the Company and its agents, representatives, auditors and designees to visit, inspect and have full access, during normal business hours, to properties, assets, books, records, agreements, documents, data, files and personnel of Contractor.

3.04 Ownership of Accounts Receivable & Inventory. Contractor acknowledges and agrees that it is acting solely as a collection agent on behalf of the Company with respect to all Accounts Receivable collected from Customers, and such Accounts Receivable and the proceeds therefrom are and shall remain at all times property of the Company. Contractor further acknowledges and agrees that it has no ownership interest whatsoever in any of the Company's Inventory.

ARTICLE IV

PAYMENT

4.01 Service Fees. In consideration of providing the Services set forth in Exhibit B, the Company agrees to pay to Contractor [ ** ] percent ([ *∗ ]%]) of Company's Gross Invoiced Sales (the "Service Fees"). Company agrees to have Fesnak & Associates, LLP pay the Service Fees directly to Contractor. Service Fees shall be paid to Contractor within five (5) days after the end of each month.

4.02 Remittance. Contractor shall deposit into bank accounts designated by the Company an amount equal to the following: all amounts received from any Customer that are related to Accounts Receivable, less each of the following that is applicable to any such Accounts Receivable (and has not already been applied to reduce any Accounts Receivable): (i) Service Fees, (ii) commissions pursuant to the Sales Representation Agreement, (iii) returns, (iv) quantity and cash discounts, (v) trade allowances or markdowns granted on account of unsalable or discontinued Products, (vi) all sales or use taxes, tariffs, duties or similar charges of any Governmental Authority paid by or for the benefit of the Company, (vii) freight, warehousing (storage and labor) and other charges associated with the distribution of the Products using Contractor's warehouse, logistics terminal and shipping facility (see Exhibit "C"), (viii) the Company's pro rata portion of product liability insurance (approximately $800 per million dollars of sales) purchased by the Contractor in connection with performance of the Services, and (ix) any other deductions, rebates, credits, allowances or adjustments, in each case, which has been specifically identified by such Customer as being applicable to any such Accounts Receivable. Contractor shall use its best efforts to deposit the foregoing amounts within five (5) business days, following the receipt thereof.

4.03 Retention of Monies. During the Term of this agreement, and for a period of twenty four (24)months after Termination (the "Withholding Period"), Contractor may retain monies (collections in Accounts Receivable) against any reasonable anticipated deductions for product recalls, unsalables, rebates, allowances or any audits or other adjustments it deems necessary. The retention of monies shall only be to the extent that the reasonable anticipated deductions exceed the anticipated accounts receivables. At the end of the Withholding Period, Contractor shall remit to the Company the retained monies less any deductions charged by Customers against Company's Products. After the Withholding Period, Company will remain liable to Contractor for any additional audits, deductions, rebates, credits, allowances or other adjustments taken by the Customers against the Company's Products.

4.04 Expenses. Other than as specifically provided herein, each party shall be responsible for its own expenses incurred in connection with the performance of its obligations under this Agreement; provided, that the Company shall reimburse Contractor for reasonable documented out-of-pocket travel expenses associated with any meeting specifically requested by the Company and not otherwise contemplated by this Agreement.

ARTICLE V

ADDITIONAL AGREEMENTS

5.01 New Products. The Company may amend Exhibit A to add new products to the scope of this Agreement, including line extensions of the then-existing Products and new brands acquired by the Company that are sold into the same classes of trade as the then-existing Products.

5.02 Intellectual Property. All rights to either party's Intellectual Property, including all rights in patents, patent applications, formulae, trademarks, trademark applications, trade names, confidential information, trade secrets, inventions, copyright, industrial designs and know-how, ("Intellectual Property") shall remain that party's absolute property during and after the Term of this Agreement. The Products and any Intellectual Property owned by the Company in connection therewith shall be the absolute property of the Company during and after the Term of this Agreement. Neither party shall apply for registration of any trademarks, trade names, or brand names of the other party and each party hereby renounces all rights that it may acquire to such trademarks, trade names or brand names according to law or customs because of this Agreement or because of its use of such trademarks, trade names, or brand names under this Agreement.

5.03 Grant of Sublicense. Solely to the extent necessary to enable Contractor to provide the Services in accordance with the terms herein, the Company hereby grants Contractor a royalty-free, non-exclusive sublicense, without the right to grant further sublicenses, under any and all applicable trademarks and other Intellectual Property owned or controlled by or licensed to the Company or any of its Affiliates to provide, during the Term of this Agreement, the Services in respect of the Products in the Territory. Nothing contained herein shall give Contractor any right to use any of the Company's Intellectual Property used in connection with the Products or trademarks or trade names that may appear on the labeling for the Products, except for providing the Services in accordance with the terms herein. Except as provided in this Section 5.03, Contractor shall not obtain any right, title or interest in any of the Company's Intellectual Property or trademark or any other trademark designation or trade name by virtue of this Agreement or Contractor's performance of its obligations hereunder.

5.04 Confidentiality. In performing its obligations under this Agreement, each party may receive information (the "Receiving Party") of a confidential and proprietary nature regarding the other party, including information about such party's intellectual property and its operations, research, marketing plans, strategies and customer lists (collectively, "Confidential Information"). The Receiving Party shall hold the other party's Confidential Information in strict confidence, shall not use such Confidential Information, except as permitted hereunder, and shall not disclose such Confidential Information to any third party without the prior written consent of the disclosing party (the "Disclosing Party"). Each party shall use the same degree of care to protect the Disclosing Party's Confidential Information as it uses to protect its own Confidential Information of like nature, but in no circumstances less than a commercially reasonable level of care. The Receiving Party shall ensure that its employees and agents are bound to the same obligations of confidentiality as the Receiving Party. Confidential Information shall not be deemed to include: (a) information which is known to the Receiving Party prior to the date of receipt and not obtained or derived in any manner related to this Agreement, (b) information which is or becomes part of the public domain through no fault of the Receiving Party, or (c) information which is obtained from a third party that lawfully possesses such Confidential Information and is under no obligation to keep such Confidential Information confidential. The Receiving Party may disclose Confidential Information of the Disclosing Party in response to a valid court order, law, rule, regulation or other governmental action, provided that the Disclosing Party is notified in writing prior to disclosure of such Confidential Information to permit the Disclosing Party to oppose such disclosure by appropriate legal action. Upon the termination or expiration of this Agreement or upon the earlier request of the Disclosing Party, the Receiving Party shall (i) promptly return to the Disclosing Party all Confidential Information, or (ii) upon written request by the Disclosing Party, destroy all Confidential Information and provide the Disclosing Party with written certification of such destruction. Upon the termination or expiration of this Agreement, the Receiving Party shall cease all further use of any Confidential Information, whether in tangible or intangible form.

5.05 Records Management. All paper or electronic records, files, documents, work papers and other information in any form, whether marked "confidential" or not, provided by the Company, its employees, agents or Affiliates or generated pursuant to this Agreement shall remain the exclusive property of the Company (collectively, "Files and Work Papers"). During the Term of this Agreement and for a reasonable transitional period thereafter, Contractor shall maintain adequate levels of information technology system redundancy, security and emergency back-up as the Company may reasonably require to protect the Files and Work Papers of the Company.

5.06 Vendors. Contractor shall retain Fesnak & Associates, LLP to provide accounting services in connection with Contractor's performance of the Services and shall not engage a different accountant to provide such services without the Company's prior written consent (not to be unreasonably withheld). Contractor and the Company are arranging for OHL to provide certain warehousing, shipping and other logistical services related to the Products, as mutually agreed by the parties, and Contractor shall not engage a different vendor with respect to such services without the Company's prior written consent (not to be unreasonably withheld).

ARTICLE VI

REPRESENTATIONS AND WARRANTIES

6.01 Representations and Warranties of Contractor. As of the date hereof, Contractor hereby represents and Warrants to the Company that the execution and delivery of this Agreement, and the performance of Contractor's obligations hereunder, do not and will not conflict with, violate or breach, or constitute a default or require any consent under, any contractual obligation or court or administrative order by which Contractor is bound.

6.02 Representations and Warranties Company. As of the date hereof, the Company hereby represents and warrants to Contractor that the execution and delivery of this Agreement, and the performance of the Company's obligations hereunder, do not and will not conflict with, violate or breach, or constitute a default or require any consent under, any contractual obligation or court or administrative order by which the Company is bound.

ARTICLE VII

INDEMNIFICATION AND INSURANCE

7.01 Indemnification by the Company. The Company hereby agrees to indemnify and hold Contractor, including its Affiliates and its and their respective officers, directors, partners, members, employees and agents, harmless from and against any and all claims, actions, suits, losses, demands, damages, costs and expenses (including reasonable attorneys' fees) of every kind, nature, or description (each, a "Claim") brought in connection with, arising out of or related to the Products or the Company's breach of its representations, warranties or covenants hereunder, except those Claims arising out of Contractor's or its Affiliates' fraud, willful misconduct, negligence or material breach of this Agreement or any other agreement with the Company.

7.02 Indemnification by Contractor. Contractor hereby agrees to indemnify and hold the Company, including its Affiliates and its and their respective officers, directors, partners, members, employees and agents, harmless from and against any and all Claims brought in connection with or arising out of or related to Contractor's or its Affiliates' fraud, willful misconduct, negligence or material breach of this Agreement.

7.03 Insurance. Company shall maintain Products Liability Insurance and in an amount satisfactory to Contractor, under which Contractor is named as an additional insured. All insurance coverages are to be placed with insurers which have a Best's rating of no less than "A." Such insurance requirements shall be maintained during the Term and shall continue for a minimum of three years following termination of this Agreement. Failure to comply with the insurance requirements shall place Company in material breach of this Agreement.

ARTICLE VIII

TERMINATION

8.01 Termination. This Agreement shall be terminable as follows:

(a) In the event that a party hereto commits a material breach of any of the terms or conditions of this Agreement the other party may terminate this Agreement (i) if such breach may be cured, upon written notice if the breaching party fails to cure such breach within thirty (30) days after its receipt of written notice thereof, or (ii) if such breach is incapable of cure, upon written notice to the other party thereof (it being understood that any breach of Section 5.04 would be incapable of cure);

(b) Notwithstanding the provisions of Section 8.01, in the event that a party hereto fails to pay any amounts payable hereunder when due, the other party may terminate this Agreement (i) if such breach may be cured, upon written notice if the breaching party fails to cure such breach within three (3) business days after its receipt of written notice thereof; or, (ii) if such breach is incapable of cure, upon written notice to the other party thereof;

(c) In accordance with the provisions of Section 8.03; or,

(d) Either party hereto may terminate this Agreement after the Initial Period upon at least six (6) months' prior written notice to the other party thereof. The Company may terminate this Agreement in accordance with the immediately preceding sentence but with less than six (6) months' prior written notice to Contractor; provided, that in such event, the Company shall pay Contractor an amount equal to the Termination Fee.

8.02 Effect of Termination. Subject to Section 4.03, upon termination or expiration of this Agreement, other than with respect to any amounts then the subject of a good faith dispute, the Company shall pay to Contractor and Contractor shall pay to the Company all monies due in respect of the Services provided.

8.03 Force Majeure. If either party is prevented from or delayed in performing any of its obligations hereunder due to any cause which is beyond the nonperforming party's reasonable control, including, without limitation, fire, explosion, flood, or other acts of God; acts, regulations, or laws of any Governmental Authority; war or civil commotion; acts of terrorism, strike, lock-out or labor disturbances; or failure of public utilities or common carriers (a "Force Majeure Event"), such non-performing party shall not be liable for breach of this Agreement with respect to such non-performance or delay to the extent any such non-performance or delay is due to a Force Majeure Event; provided, that the non-performing party gives immediate written notice to the other party of the Force Majeure Event. If a Force Majeure Event asserted as the basis of a party's non-performance continues to prevent performance for more than one (1) month, the other party may terminate this Agreement by giving written notice to the nonperforming party before the non-performing party resumes performance. Notwithstanding anything contained in this Section 8.03, such non-performing party shall exercise commercially reasonable efforts to eliminate the Force Majeure Event and to resume timely performance of its affected obligations as soon as practicable.

ARTICLE IX

MISCELLANEOUS

9.01 Relationship of the Parties. The relationship of the Company and Contractor established by this Agreement is that of independent contractors, and nothing contained herein shall be construed to (a) give either party any right or authority to create or assume any obligation or incur any expense of any kind on behalf of the other without the other party's prior written approval, or (b) constitute the parties as partners, joint venturers, co-owners, employer and employee or otherwise as participants in a joint or common undertaking.

9.02 Notices. All notices and other communications shall be in writing and shall be deemed to have been duly given when: (a) delivered personally, or (b) transmitted by facsimile (with receipt confirmed), or (c) if mailed, five (5) days after being deposited in the United States mail, postage prepaid, or by certified or registered mail, return receipt requested, postage prepaid, or (d) if sent by overnight courier for delivery on the next day, the day following deposit of the notice with Federal Express or another nationally recognized overnight courier service (billed to sender), to the parties at the following addresses:

[Names, addresses and telephone numbers left out of this copy.]

9.03 Failure to Exercise. The failure of either party to enforce at any time for any period any provision hereof shall not be construed to be a waiver of such provision or of the right of such party thereafter to enforce each such provision, nor shall any single or partial exercise of any right or remedy hereunder preclude any other or further exercise thereof or the exercise of any other right or remedy. Remedies provided herein are cumulative and not exclusive of any remedies provided at law.

9.04 Assignment. This Agreement may not be assigned by either party without the prior written consent of the other party, except that, without such consent, (i) Company may make an assignment of this Agreement as collateral security in favor of its lenders, and (ii) the Company may assign this Agreement to a purchaser of all or substantially all of the assets of the Company's business related to the Products. Subject to the foregoing sentence, this Agreement shall bind and inure to the benefit of the parties hereto and their respective successors and assigns.

9.05 No Third Party Beneficiaries. Nothing in this Agreement, express or implied, is intended to confer upon any Person other than the Company and Contractor, or their successors or permitted assigns, any rights or remedies under or by reason of this Agreement.

9.06 Severability. Any term or provision of this Agreement that is deemed invalid or unenforceable in any jurisdiction shall, to the extent the economic benefits conferred by such Agreement to both parties remain substantially unimpaired, be ineffective to the extent of such invalidity or unenforceability without rendering invalid or unenforceable the remaining terms and provisions of this Agreement or affecting the validity or enforceability of any of the terms or provisions of this Agreement in any other jurisdiction.

9.07 Governing Law. This Agreement shall be deemed to have been entered into in the State of New Jersey, and shall be construed and interpreted in accordance with the laws of that State applicable to agreements made and to be performed in the State of New Jersey. Any and all disputes, controversies and claims arising out of or relating to this Agreement, or with respect to the interpretation of this Agreement, or the rights or obligations of the parties and their successors and permitted assigns, whether by operation of law or otherwise, shall be settled and determined by arbitration in New Jersey pursuant to the then existing rules of the American Arbitration Association for commercial arbitration. The arbitrators shall have the power to award specific performance, rescission or injunctive relief in addition to damages or other monetary awards, but shall not have the power to modify, alter, enlarge upon or otherwise change any of the provisions or terms and conditions of this Agreement. The arbitration shall be final and binding upon the parties and judgment there on may be entered in the courts of the State of New Jersey and the United States federal courts in said State, and the parties hereby consent to the jurisdiction of such courts for such purposes. Service of any notice, process, motion or other document in connection with any arbitration proceeding, any arbitration award or any other action or proceeding, maybe by personal service or by certified or registered mail return receipt requested, addressed to the party intended at its address for the receipt of notices as herein set forth.

9.08 Headings. The headings used herein have been inserted for convenience only and shall not affect the interpretation of this Agreement.

9.09 Counterparts. This Agreement may be executed in one or more counterparts, each of which shall be deemed an original, and together shall constitute one and the same agreement and shall become effective when one or more counterparts have been signed by each of the parties and delivered to the other party, it being understood that both parties need not sign the same counterpart.

9.10 Entire Agreement. NO VARIATIONS OR MODIFICATIONS OF THIS AGREEMENT SHALL BE DEEMED VALID UNLESS REDUCED TO WRITING AND SIGNED BY THE PARTIES HERETO. THIS AGREEMENT CONTAINS THE ENTIRE AGREEMENT AMONG THE PARTIES WITH RESPECT TO THE SUBJECT MATTER HEREOF AND SUPERSEDES ALL PRIOR AGREEMENTS AND UNDERSTANDINGS, ORAL OR WRITTEN, WITH RESPECT TO SUCH MATTERS, EXCEPT FOR ANY WRITTEN AGREEMENT OF THE PARTIES THAT EXPRESSLY PROVIDES THAT IT IS NOT SUPERSEDED BY THIS AGREEMENT. ANY PROVISION OF THIS AGREEMENT MAY BE AMENDED OR WAIVED IF, AND ONLY IF, SUCH AMENDMENT OR WAIVER IS IN WRITING AND SIGNED (I) IN THE CASE OF AN AMENDMENT, BY THE COMPANY AND CONTRACTOR AND (II) IN THE CASE OF A WAIVER, BY THE PARTY AGAINST WHOM THE WAIVER IS TO BE EFFECTIVE.

9.11 Survival. Sections 5.02, 5.04, 5.05 and 8.02, and Articles Article IV, Article VII and Article IX shall survive the expiration or termination of this Agreement in accordance with the respective terms thereof.

IN WITNESS WHEREOF, the parties have executed or caused this Agreement to be executed as of the date first written above.

[Signature block and Exhibits A to C left out of this copy.]
output/key_terms.md · written by the agent, 77 lines
First pass for a person to decide. Not legal advice.

Source: Services Outsourcing Agreement (input/services_outsourcing_agreement.txt). Every row behind these points is in obligations.csv, with the exact words and section.

## Parties (Preamble)
- **Company**: CCA Industries, Inc.
- **Contractor**: Emerson HealthCare, LLC, a Pennsylvania limited liability company.

## Start date
- January 20, 2014 (Preamble: "made as of January 20, 2014"; 2.01: "shall commence on January 20, 2014 (the "Effective Date")").

## How long it runs and how it renews (2.01)
- Initial Term: six (6) months from the Effective Date. The contract states no end date, and none is worked out here.
- Renewal: automatic, for successive six (6) month periods.
- Non-renewal: written notice of either party's intent not to renew, at least six (6) months before the end of the then-current term.
- Worth a look: the non-renewal notice lead time (six (6) months) is as long as the Initial Term itself (six (6) months). The contract does not say how this works for the first term.

## Notice and cure periods for ending the contract
| Section | What | Period as written |
|---|---|---|
| 2.01 | Notice of intent not to renew | at least six (6) months before the end of the then-current term |
| 8.01(a) | Cure of a material breach that can be cured, after written notice | thirty (30) days |
| 8.01(b) | Cure of a failure to pay when due, after written notice | three (3) business days |
| 8.01(d) | Either party ends the contract after the "Initial Period" | at least six (6) months' prior written notice |
| 8.01(d) | Company ends it on shorter notice, and pays the Termination Fee | less than six (6) months' prior written notice |
| 1.01(o) | "Notice Period": from the termination date to the date after the Company's written termination notice | six (6) months |
| 1.01(x) | Termination Fee: average Service Fees per day over the days before notice, times the days the Notice Period falls short | 180 day period; less than 180 |
| 8.03 | Force Majeure lasting longer than this lets the other party terminate by written notice | more than one (1) month |
| 8.01(a) | Breach that cannot be cured: termination on written notice, no cure period (any breach of Section 5.04 counts as incurable) | none stated |

Related times after the contract ends:
- 4.03: Withholding Period of twenty four (24)months after Termination.
- 7.03: insurance continues for a minimum of three years following termination.
- 5.05: a "reasonable transitional period" for IT back-up. No number is given.

## Payment deadlines
- 4.01: Service Fees are paid to Contractor within five (5) days after the end of each month. The fee percentage is blank.
- 4.02: Contractor deposits Customer collections to the Company's accounts within five (5) business days, following the receipt thereof. The wording is "best efforts".
- 4.03: At the end of the Withholding Period (twenty four (24)months after Termination), Contractor remits the retained monies, less Customer deductions.
- 8.02: On termination or expiration, each party pays the other all monies due. No number of days is stated.
- 8.01(b): a failure to pay when due can lead to termination after the three (3) business day cure period.

## Other dates and times
- 3.02: monthly meetings, no later than the fifteenth (15th) day of each calendar month.
- 9.02: a mailed notice is deemed given five (5) days after being deposited in the United States mail. Personal delivery counts when delivered, and fax counts when sent with receipt confirmed. Overnight courier counts the day following deposit.

## Cannot rely on

**Figures left blank or omitted**
- 4.01: the Service Fee percentage is blank ("[ ** ] percent ([ *∗ ]%])"). The exhibit cover note says confidential information was omitted.
- 9.02: the notice addresses, names and phone numbers are "left out of this copy". Where to send a notice cannot be taken from this file.
- End of file: the signature block and Exhibits A to C are "left out of this copy". These are Exhibit A (Products), Exhibit B (Services) and Exhibit "C" (referred to in 4.02). Signing and signature dates are not shown.
- 3.03: "reasonable advance notice" has no number of days.
- 5.05: "a reasonable transitional period" has no number.
- 8.03: "immediate written notice" has no number of days.
- 4.02: the product liability insurance share is "approximately $800 per million dollars of sales". It is not a firm figure.
- 7.03: the insurance amount is "an amount satisfactory to Contractor". No figure is given.
- 2.01: no end date for the Initial Term is stated.
- 8.02: no date is stated for the payment of monies due on termination.

**References to sections, paragraphs or defined terms the contract does not contain**
- 1.01(x) (Termination Fee): refers to "Section 8.01(d) and (e)". Section 8.01 has paragraphs (a) to (d) only, so (e) does not exist.
- 1.01(w) says "Term" is defined in Section 2.01. Section 2.01 defines "Initial Term" and "Effective Date" but never defines "Term".
- 8.01(d): "Initial Period" is not defined. Section 2.01 defines "Initial Term". The after-"Initial Period" right to terminate depends on which was meant.
- 3.04: "Inventory" is capitalized but not defined.
- 4.03: "Termination" is capitalized but not defined. The 24 month Withholding Period runs from it.
- 5.03 and 7.01, 7.02: "Affiliates" is used as a defined term but not defined.
- 7.03: "Products Liability Insurance" is capitalized but not defined.
- 1.01(t): "Sales Representation Agreement" is a separate document that is not in this file. It is referred to in 1.01(t) and 4.02.
- 4.01 (Exhibit B) and 4.02 (Exhibit "C"): these exhibits are not in this copy (see above).

**Typing slips copied as written (not missing items)**
- Article II is headed "ARTICLE I1".
- 1.01(l) has a mismatched quote mark: "Governmental Authority'.
- 6.01 has "Warrants" with a capital W.
- 9.11 has "Articles Article IV".
- The Preamble has "(Date)" after the date.
output/obligations.csv · written by the agent, 66 lines
section,party,duty,period,quote
Preamble,Both,"Company and Contractor make this Services Outsourcing Agreement as of January 20, 2014.","January 20, 2014","This Services Outsourcing Agreement (this ""Agreement"") is made as of January 20, 2014 (Date), between CCA Industries, Inc. (""Company""), and Emerson HealthCare, LLC, a Pennsylvania limited liability company (""Contractor"")."
1.01,Company,The Notice Period runs from the termination date to the date six months after the Company gives Contractor written notice that it elects to terminate.,six (6) months,"(o) ""Notice Period"" shall mean the period between the termination date of this Agreement and the date that is six (6) months after the date on which the Company provides Contractor with written notice of its election to terminate this Agreement."
1.01,Company,"The Termination Fee is the average Service Fees per day over the 180 day period before termination notice, times the days by which the Notice Period is under 180.",180 day,"(x) ""Termination Fee"" shall mean an amount equal to the average Service Fees per day over the 180 day period immediately preceding the date written notice of termination is provided pursuant to Section 8.01(d) and (e) multiplied by number of days by which the Notice Period will be less than 180."
1.01,Company,"The Termination Fee is the average Service Fees per day over the 180 day period before termination notice, times the days by which the Notice Period is under 180.",less than 180,"(x) ""Termination Fee"" shall mean an amount equal to the average Service Fees per day over the 180 day period immediately preceding the date written notice of termination is provided pursuant to Section 8.01(d) and (e) multiplied by number of days by which the Notice Period will be less than 180."
2.01,Both,"The agreement starts on January 20, 2014 (the Effective Date).","January 20, 2014","This agreement shall commence on January 20, 2014 (the ""Effective Date"") and shall continue in effect for six (6) months (the ""Initial Term"")."
2.01,Both,The agreement runs for an Initial Term of six months.,six (6) months,"This agreement shall commence on January 20, 2014 (the ""Effective Date"") and shall continue in effect for six (6) months (the ""Initial Term"")."
2.01,Both,The agreement renews automatically for successive six-month periods unless notice not to renew is given.,six (6) month periods,This agreement shall automatically renew for successive six (6) month periods unless written notice is provided of either party's intent not to renew at least six (6) months before the end of the then-current term.
2.01,Either,Either party may give written notice of its intent not to renew at least six months before the end of the then-current term.,six (6) months,This agreement shall automatically renew for successive six (6) month periods unless written notice is provided of either party's intent not to renew at least six (6) months before the end of the then-current term.
3.01,Contractor,Contractor must perform the Services in Exhibit B for the Products in the Territory during the Term.,,Contractor shall perform during the Term of this Agreement the Services set forth on Exhibit B in respect of the Products in the Territory.
3.02,Contractor,"Contractor must meet with the Company at least monthly, or more often if the Company reasonably asks, to review sales, forecasts, inventory and production.",,"Contractor shall meet with the Company on at least a monthly basis, or more often to the extent reasonably requested by the Company, to review historical sales results by Product SKU, forward-looking sales forecasts by Product SKU, current inventories of the Products on hand, production scheduled and to be scheduled of the Products, and any other matters as the parties shall determine."
3.02,Contractor,"Meetings must take place at the Company offices (or by video or phone if the Company chooses) no later than the 15th day of each calendar month, unless the parties agree another time.",fifteenth (15th) day of each calendar month,"Such meetings shall take place at the offices of the Company (or, at the election of the Company, by video or telephone conference) no later than the fifteenth (15th) day of each calendar month during the Term of this Agreement or at such other time as the parties shall mutually agree."
3.03,Contractor,"Contractor must let the Company and its agents, auditors and designees visit, inspect and have full access to its properties, books, records, data and personnel during business hours on reasonable advance notice.",,"From time to time during the Term of this Agreement, upon reasonable advance notice, Contractor shall permit the Company and its agents, representatives, auditors and designees to visit, inspect and have full access, during normal business hours, to properties, assets, books, records, agreements, documents, data, files and personnel of Contractor."
3.04,Contractor,Contractor acknowledges it is only a collection agent for the Company and that Accounts Receivable and proceeds stay the Company's property.,,"Contractor acknowledges and agrees that it is acting solely as a collection agent on behalf of the Company with respect to all Accounts Receivable collected from Customers, and such Accounts Receivable and the proceeds therefrom are and shall remain at all times property of the Company."
3.04,Contractor,Contractor acknowledges it has no ownership interest in the Company's Inventory.,,Contractor further acknowledges and agrees that it has no ownership interest whatsoever in any of the Company's Inventory.
4.01,Company,"The Company must pay Contractor the Service Fees, a percentage of Gross Invoiced Sales (the percentage is blank in this copy).",,"In consideration of providing the Services set forth in Exhibit B, the Company agrees to pay to Contractor [ ** ] percent ([ *∗ ]%]) of Company's Gross Invoiced Sales (the ""Service Fees"")."
4.01,Company,"The Company must have Fesnak & Associates, LLP pay the Service Fees directly to Contractor.",,"Company agrees to have Fesnak & Associates, LLP pay the Service Fees directly to Contractor."
4.01,Company,Service Fees must be paid to Contractor within five days after the end of each month.,five (5) days,Service Fees shall be paid to Contractor within five (5) days after the end of each month.
4.02,Contractor,"Contractor must deposit into the Company's designated bank accounts the amounts received on Accounts Receivable, less the listed deductions.",,"Contractor shall deposit into bank accounts designated by the Company an amount equal to the following: all amounts received from any Customer that are related to Accounts Receivable, less each of the following that is applicable to any such Accounts Receivable (and has not already been applied to reduce any Accounts Receivable): (i) Service Fees, (ii) commissions pursuant to the Sales Representation Agreement, (iii) returns, (iv) quantity and cash discounts, (v) trade allowances or markdowns granted on account of unsalable or discontinued Products, (vi) all sales or use taxes, tariffs, duties or similar charges of any Governmental Authority paid by or for the benefit of the Company, (vii) freight, warehousing (storage and labor) and other charges associated with the distribution of the Products using Contractor's warehouse, logistics terminal and shipping facility (see Exhibit ""C""), (viii) the Company's pro rata portion of product liability insurance (approximately $800 per million dollars of sales) purchased by the Contractor in connection with performance of the Services, and (ix) any other deductions, rebates, credits, allowances or adjustments, in each case, which has been specifically identified by such Customer as being applicable to any such Accounts Receivable."
4.02,Contractor,Contractor must use best efforts to deposit those amounts within five business days after receiving them.,five (5) business days,"Contractor shall use its best efforts to deposit the foregoing amounts within five (5) business days, following the receipt thereof."
4.03,Contractor,During the Term and for 24 months after Termination (the Withholding Period) Contractor may retain collections against reasonably anticipated deductions.,twenty four (24)months,"During the Term of this agreement, and for a period of twenty four (24)months after Termination (the ""Withholding Period""), Contractor may retain monies (collections in Accounts Receivable) against any reasonable anticipated deductions for product recalls, unsalables, rebates, allowances or any audits or other adjustments it deems necessary."
4.03,Contractor,Contractor may retain money only to the extent anticipated deductions exceed anticipated accounts receivable.,,The retention of monies shall only be to the extent that the reasonable anticipated deductions exceed the anticipated accounts receivables.
4.03,Contractor,"At the end of the Withholding Period Contractor must remit the retained monies to the Company, less deductions charged by Customers.",,"At the end of the Withholding Period, Contractor shall remit to the Company the retained monies less any deductions charged by Customers against Company's Products."
4.03,Company,"After the Withholding Period the Company stays liable to Contractor for further audits, deductions, rebates, credits, allowances and adjustments taken by Customers.",,"After the Withholding Period, Company will remain liable to Contractor for any additional audits, deductions, rebates, credits, allowances or other adjustments taken by the Customers against the Company's Products."
4.04,Both,"Each party bears its own expenses of performing this Agreement, except as the Agreement says otherwise.",,"Other than as specifically provided herein, each party shall be responsible for its own expenses incurred in connection with the performance of its obligations under this Agreement; provided, that the Company shall reimburse Contractor for reasonable documented out-of-pocket travel expenses associated with any meeting specifically requested by the Company and not otherwise contemplated by this Agreement."
4.04,Company,The Company must reimburse Contractor's reasonable documented out-of-pocket travel costs for meetings the Company specifically requests that the Agreement does not otherwise contemplate.,,"Other than as specifically provided herein, each party shall be responsible for its own expenses incurred in connection with the performance of its obligations under this Agreement; provided, that the Company shall reimburse Contractor for reasonable documented out-of-pocket travel expenses associated with any meeting specifically requested by the Company and not otherwise contemplated by this Agreement."
5.01,Company,The Company may amend Exhibit A to add new products to the scope of the Agreement.,,"The Company may amend Exhibit A to add new products to the scope of this Agreement, including line extensions of the then-existing Products and new brands acquired by the Company that are sold into the same classes of trade as the then-existing Products."
5.02,Both,Each party's Intellectual Property stays that party's property during and after the Term.,,"All rights to either party's Intellectual Property, including all rights in patents, patent applications, formulae, trademarks, trademark applications, trade names, confidential information, trade secrets, inventions, copyright, industrial designs and know-how, (""Intellectual Property"") shall remain that party's absolute property during and after the Term of this Agreement."
5.02,Company,The Products and the Company's related Intellectual Property stay the Company's property during and after the Term.,,The Products and any Intellectual Property owned by the Company in connection therewith shall be the absolute property of the Company during and after the Term of this Agreement.
5.02,Both,"Neither party may apply to register the other party's trademarks, trade names or brand names, and each gives up rights to them arising from this Agreement.",,"Neither party shall apply for registration of any trademarks, trade names, or brand names of the other party and each party hereby renounces all rights that it may acquire to such trademarks, trade names or brand names according to law or customs because of this Agreement or because of its use of such trademarks, trade names, or brand names under this Agreement."
5.03,Company,"The Company grants Contractor a royalty-free, non-exclusive sublicense (no further sublicensing) to use the Company's IP only as needed to provide the Services in the Territory during the Term.",,"Solely to the extent necessary to enable Contractor to provide the Services in accordance with the terms herein, the Company hereby grants Contractor a royalty-free, non-exclusive sublicense, without the right to grant further sublicenses, under any and all applicable trademarks and other Intellectual Property owned or controlled by or licensed to the Company or any of its Affiliates to provide, during the Term of this Agreement, the Services in respect of the Products in the Territory."
5.03,Contractor,"Contractor gets no right to use the Company's IP, trademarks or trade names except to provide the Services.",,"Nothing contained herein shall give Contractor any right to use any of the Company's Intellectual Property used in connection with the Products or trademarks or trade names that may appear on the labeling for the Products, except for providing the Services in accordance with the terms herein."
5.03,Contractor,"Except under Section 5.03, Contractor must not obtain any right, title or interest in the Company's IP, trademarks or trade names.",,"Except as provided in this Section 5.03, Contractor shall not obtain any right, title or interest in any of the Company's Intellectual Property or trademark or any other trademark designation or trade name by virtue of this Agreement or Contractor's performance of its obligations hereunder."
5.04,Both,"The Receiving Party must hold the other party's Confidential Information in strict confidence, not use it except as permitted, and not disclose it to third parties without prior written consent.",,"The Receiving Party shall hold the other party's Confidential Information in strict confidence, shall not use such Confidential Information, except as permitted hereunder, and shall not disclose such Confidential Information to any third party without the prior written consent of the disclosing party (the ""Disclosing Party"")."
5.04,Both,"Each party must protect the other's Confidential Information with the same care as its own, and never less than commercially reasonable care.",,"Each party shall use the same degree of care to protect the Disclosing Party's Confidential Information as it uses to protect its own Confidential Information of like nature, but in no circumstances less than a commercially reasonable level of care."
5.04,Both,The Receiving Party must ensure its employees and agents are bound by the same confidentiality obligations.,,The Receiving Party shall ensure that its employees and agents are bound to the same obligations of confidentiality as the Receiving Party.
5.04,Either,"The Receiving Party may disclose Confidential Information under a court order, law or governmental action if it first notifies the Disclosing Party in writing.",,"The Receiving Party may disclose Confidential Information of the Disclosing Party in response to a valid court order, law, rule, regulation or other governmental action, provided that the Disclosing Party is notified in writing prior to disclosure of such Confidential Information to permit the Disclosing Party to oppose such disclosure by appropriate legal action."
5.04,Both,"On termination or expiration, or on the Disclosing Party's earlier request, the Receiving Party must promptly return all Confidential Information, or destroy it and certify the destruction in writing if asked.",,"Upon the termination or expiration of this Agreement or upon the earlier request of the Disclosing Party, the Receiving Party shall (i) promptly return to the Disclosing Party all Confidential Information, or (ii) upon written request by the Disclosing Party, destroy all Confidential Information and provide the Disclosing Party with written certification of such destruction."
5.04,Both,On termination or expiration the Receiving Party must stop all use of Confidential Information.,,"Upon the termination or expiration of this Agreement, the Receiving Party shall cease all further use of any Confidential Information, whether in tangible or intangible form."
5.05,Company,"All records, files and work papers provided by the Company or generated under this Agreement remain the Company's exclusive property.",,"All paper or electronic records, files, documents, work papers and other information in any form, whether marked ""confidential"" or not, provided by the Company, its employees, agents or Affiliates or generated pursuant to this Agreement shall remain the exclusive property of the Company (collectively, ""Files and Work Papers"")."
5.05,Contractor,"During the Term and for a reasonable transitional period after it, Contractor must maintain IT redundancy, security and back-up the Company reasonably requires to protect the Files and Work Papers.",,"During the Term of this Agreement and for a reasonable transitional period thereafter, Contractor shall maintain adequate levels of information technology system redundancy, security and emergency back-up as the Company may reasonably require to protect the Files and Work Papers of the Company."
5.06,Contractor,"Contractor must retain Fesnak & Associates, LLP as accountant and may not use a different accountant without the Company's prior written consent.",,"Contractor shall retain Fesnak & Associates, LLP to provide accounting services in connection with Contractor's performance of the Services and shall not engage a different accountant to provide such services without the Company's prior written consent (not to be unreasonably withheld)."
5.06,Both,"Contractor and the Company are arranging for OHL to provide warehousing, shipping and logistics; Contractor may not use a different vendor without the Company's prior written consent.",,"Contractor and the Company are arranging for OHL to provide certain warehousing, shipping and other logistical services related to the Products, as mutually agreed by the parties, and Contractor shall not engage a different vendor with respect to such services without the Company's prior written consent (not to be unreasonably withheld)."
6.01,Contractor,"As of the date of the Agreement, Contractor represents and warrants that signing and performing it conflicts with no obligation or order binding Contractor.",,"As of the date hereof, Contractor hereby represents and Warrants to the Company that the execution and delivery of this Agreement, and the performance of Contractor's obligations hereunder, do not and will not conflict with, violate or breach, or constitute a default or require any consent under, any contractual obligation or court or administrative order by which Contractor is bound."
6.02,Company,"As of the date of the Agreement, the Company represents and warrants that signing and performing it conflicts with no obligation or order binding the Company.",,"As of the date hereof, the Company hereby represents and warrants to Contractor that the execution and delivery of this Agreement, and the performance of the Company's obligations hereunder, do not and will not conflict with, violate or breach, or constitute a default or require any consent under, any contractual obligation or court or administrative order by which the Company is bound."
7.01,Company,"The Company must indemnify and hold Contractor harmless from Claims relating to the Products or the Company's breach, except Claims arising from Contractor's fraud, willful misconduct, negligence or material breach.",,"The Company hereby agrees to indemnify and hold Contractor, including its Affiliates and its and their respective officers, directors, partners, members, employees and agents, harmless from and against any and all claims, actions, suits, losses, demands, damages, costs and expenses (including reasonable attorneys' fees) of every kind, nature, or description (each, a ""Claim"") brought in connection with, arising out of or related to the Products or the Company's breach of its representations, warranties or covenants hereunder, except those Claims arising out of Contractor's or its Affiliates' fraud, willful misconduct, negligence or material breach of this Agreement or any other agreement with the Company."
7.02,Contractor,"Contractor must indemnify and hold the Company harmless from Claims arising from Contractor's or its Affiliates' fraud, willful misconduct, negligence or material breach.",,"Contractor hereby agrees to indemnify and hold the Company, including its Affiliates and its and their respective officers, directors, partners, members, employees and agents, harmless from and against any and all Claims brought in connection with or arising out of or related to Contractor's or its Affiliates' fraud, willful misconduct, negligence or material breach of this Agreement."
7.03,Company,"The Company must maintain Products Liability Insurance in an amount satisfactory to Contractor, naming Contractor as additional insured.",,"Company shall maintain Products Liability Insurance and in an amount satisfactory to Contractor, under which Contractor is named as an additional insured."
7.03,Company,"Insurance must be placed with insurers rated Best's ""A"" or better.",,"All insurance coverages are to be placed with insurers which have a Best's rating of no less than ""A."""
7.03,Company,Insurance must be kept during the Term and for at least three years after termination.,three years,Such insurance requirements shall be maintained during the Term and shall continue for a minimum of three years following termination of this Agreement.
8.01,Either,"If a party materially breaches, the other may terminate: for a curable breach, on written notice if not cured within 30 days after written notice; for an incurable breach, on written notice (any breach of Section 5.04 is incurable).",thirty (30) days,"(a) In the event that a party hereto commits a material breach of any of the terms or conditions of this Agreement the other party may terminate this Agreement (i) if such breach may be cured, upon written notice if the breaching party fails to cure such breach within thirty (30) days after its receipt of written notice thereof, or (ii) if such breach is incapable of cure, upon written notice to the other party thereof (it being understood that any breach of Section 5.04 would be incapable of cure);"
8.01,Either,"If a party fails to pay an amount when due, the other may terminate: for a curable failure, on written notice if not cured within three business days after written notice; otherwise on written notice.",three (3) business days,"(b) Notwithstanding the provisions of Section 8.01, in the event that a party hereto fails to pay any amounts payable hereunder when due, the other party may terminate this Agreement (i) if such breach may be cured, upon written notice if the breaching party fails to cure such breach within three (3) business days after its receipt of written notice thereof; or, (ii) if such breach is incapable of cure, upon written notice to the other party thereof;"
8.01,Either,Either party may terminate under the force majeure terms of Section 8.03.,,"(c) In accordance with the provisions of Section 8.03; or,"
8.01,Either,Either party may terminate after the Initial Period on at least six months' prior written notice.,six (6) months',Either party hereto may terminate this Agreement after the Initial Period upon at least six (6) months' prior written notice to the other party thereof.
8.01,Company,The Company may terminate on less than six months' notice but must then pay Contractor the Termination Fee.,six (6) months',"The Company may terminate this Agreement in accordance with the immediately preceding sentence but with less than six (6) months' prior written notice to Contractor; provided, that in such event, the Company shall pay Contractor an amount equal to the Termination Fee."
8.02,Both,"On termination or expiration, subject to Section 4.03 and any good-faith disputed amounts, the Company and Contractor must each pay the other all monies due for Services provided.",,"Subject to Section 4.03, upon termination or expiration of this Agreement, other than with respect to any amounts then the subject of a good faith dispute, the Company shall pay to Contractor and Contractor shall pay to the Company all monies due in respect of the Services provided."
8.03,Both,A party delayed or prevented by a Force Majeure Event is excused only if it gives immediate written notice to the other party.,,"If either party is prevented from or delayed in performing any of its obligations hereunder due to any cause which is beyond the nonperforming party's reasonable control, including, without limitation, fire, explosion, flood, or other acts of God; acts, regulations, or laws of any Governmental Authority; war or civil commotion; acts of terrorism, strike, lock-out or labor disturbances; or failure of public utilities or common carriers (a ""Force Majeure Event""), such non-performing party shall not be liable for breach of this Agreement with respect to such non-performance or delay to the extent any such non-performance or delay is due to a Force Majeure Event; provided, that the non-performing party gives immediate written notice to the other party of the Force Majeure Event."
8.03,Either,"If a Force Majeure Event keeps preventing performance for more than one month, the other party may terminate by written notice before performance resumes.",one (1) month,"If a Force Majeure Event asserted as the basis of a party's non-performance continues to prevent performance for more than one (1) month, the other party may terminate this Agreement by giving written notice to the nonperforming party before the non-performing party resumes performance."
8.03,Both,The non-performing party must use commercially reasonable efforts to end the Force Majeure Event and resume performance as soon as practicable.,,"Notwithstanding anything contained in this Section 8.03, such non-performing party shall exercise commercially reasonable efforts to eliminate the Force Majeure Event and to resume timely performance of its affected obligations as soon as practicable."
9.01,Both,Neither party may create or assume obligations or expenses on behalf of the other without the other's prior written approval.,,"The relationship of the Company and Contractor established by this Agreement is that of independent contractors, and nothing contained herein shall be construed to (a) give either party any right or authority to create or assume any obligation or incur any expense of any kind on behalf of the other without the other party's prior written approval, or (b) constitute the parties as partners, joint venturers, co-owners, employer and employee or otherwise as participants in a joint or common undertaking."
9.02,Both,"Notices must be in writing; they count as given on personal delivery, on confirmed fax, five days after mailing, or the day after deposit with an overnight courier.",five (5) days,"All notices and other communications shall be in writing and shall be deemed to have been duly given when: (a) delivered personally, or (b) transmitted by facsimile (with receipt confirmed), or (c) if mailed, five (5) days after being deposited in the United States mail, postage prepaid, or by certified or registered mail, return receipt requested, postage prepaid, or (d) if sent by overnight courier for delivery on the next day, the day following deposit of the notice with Federal Express or another nationally recognized overnight courier service (billed to sender), to the parties at the following addresses:"
9.04,Both,"Neither party may assign the Agreement without the other's prior written consent, except the Company may assign it as lender collateral or to a buyer of substantially all the Products business assets.",,"This Agreement may not be assigned by either party without the prior written consent of the other party, except that, without such consent, (i) Company may make an assignment of this Agreement as collateral security in favor of its lenders, and (ii) the Company may assign this Agreement to a purchaser of all or substantially all of the assets of the Company's business related to the Products."
9.07,Both,Disputes must be settled by arbitration in New Jersey under the American Arbitration Association commercial rules.,,"Any and all disputes, controversies and claims arising out of or relating to this Agreement, or with respect to the interpretation of this Agreement, or the rights or obligations of the parties and their successors and permitted assigns, whether by operation of law or otherwise, shall be settled and determined by arbitration in New Jersey pursuant to the then existing rules of the American Arbitration Association for commercial arbitration."
9.07,Both,The arbitration is final and binding on the parties.,,"The arbitration shall be final and binding upon the parties and judgment there on may be entered in the courts of the State of New Jersey and the United States federal courts in said State, and the parties hereby consent to the jurisdiction of such courts for such purposes."
9.10,Both,Changes to the Agreement are valid only if in writing and signed by the parties.,,NO VARIATIONS OR MODIFICATIONS OF THIS AGREEMENT SHALL BE DEEMED VALID UNLESS REDUCED TO WRITING AND SIGNED BY THE PARTIES HERETO.
9.11,Both,"Sections 5.02, 5.04, 5.05 and 8.02 and Articles IV, VII and IX survive expiration or termination.",,"Sections 5.02, 5.04, 5.05 and 8.02, and Articles Article IV, Article VII and Article IX shall survive the expiration or termination of this Agreement in accordance with the respective terms thereof."
check.py · the check, written before the run
"""Finds every time period, date and duty in the contract itself, then checks the agent's table against them.

Nothing here is a stored answer. The list of times comes from searching the contract text, and every
quote is looked up in the contract at the position it claims.
"""
import csv, re, sys
from pathlib import Path

root = Path(sys.argv[1]); ok = True
def say(passed, text):
    global ok; ok = ok and passed; print(("PASS " if passed else "FAIL ") + text)
def norm(s):
    s = (s or "").replace("“", '"').replace("”", '"').replace("’", "'").replace("‘", "'")
    return re.sub(r"\s+", " ", s).strip()
def tight(s):
    return re.sub(r"\s+", "", s or "").lower()

lines = [norm(ln) for ln in next((root / "input").glob("*.txt")).read_text().splitlines() if norm(ln)]
text = " ".join(lines)
line_starts, line_ends, at = set(), set(), 0
for ln in lines:  # where each paragraph of the contract starts and ends inside the joined text
    line_starts.add(at); line_ends.add(at + len(ln)); at += len(ln) + 1
heads = [(m.start(), m.group(1)) for m in re.finditer(r"(?<= )(\d+\.\d\d) (?=[A-Z])", text)]
kept = []
for h in heads:  # headings only ever count upward, a cross reference does not
    if not kept or float(h[1]) > float(kept[-1][1]):
        kept.append(h)
heads = kept
def section_at(pos):
    name = "preamble"
    for start, num in heads:
        if start <= pos:
            name = num
    return name

NUM = r"(?:one|two|three|four|five|six|seven|eight|nine|ten|twelve|fifteen|twenty|thirty|sixty|ninety)"
MON = r"(?:January|February|March|April|May|June|July|August|September|October|November|December)"
TIME = re.compile(r"(?:\w+\s*\(\d+(?:st|nd|rd|th)?\)\s*|\b\d+[ -]|\b" + NUM + r" )(?:business |calendar )?(?:day|month|year)s?\b|"
                  + MON + r" \d{1,2}, \d{4}", re.I)
times = [(m.start(), m.group(0)) for m in TIME.finditer(text)]

path = root / "output/obligations.csv"
if not path.exists():
    say(False, "output/obligations.csv was not written"); sys.exit(1)
rows = list(csv.DictReader(path.open(newline="")))
if not rows:
    say(False, "output/obligations.csv has no rows"); sys.exit(1)

def spans(quote):
    q = norm(quote).strip('"').strip()
    out, at = [], text.find(q) if len(q) >= 25 else -1
    while at != -1:
        out.append((at, at + len(q)))
        at = text.find(q, at + 1)
    return out
for r in rows:
    r["_spans"] = spans(r.get("quote"))
    r["_sec"] = (re.search(r"\d+\.\d\d", r.get("section") or "") or re.search(r"(?i)preamble", r.get("section") or ""))
    r["_sec"] = r["_sec"].group(0).lower() if r["_sec"] else ""

placed = sum(1 for r in rows if any(section_at(a) == r["_sec"] for a, _ in r["_spans"]))
say(placed == len(rows), f"{placed} of {len(rows)} rows quote the contract word for word, from the section the row names")

def whole(a, b):
    """True when the passage starts where a sentence or paragraph starts and stops where one stops."""
    before = text[:a].rstrip()
    letter = re.search(r"\([a-z]\)$", before)  # a sentence that opens a lettered paragraph, right after its (a)
    starts = a in line_starts or before.endswith((".", '."', ".)")) or bool(letter and letter.start() in line_starts)
    ends = b in line_ends or text[a:b].rstrip().endswith((".", '."', ".)"))
    return starts and ends
full = sum(1 for r in rows if any(whole(a, b) for a, b in r["_spans"]))
say(full == len(rows), f"{full} of {len(rows)} quotes run from the start of a sentence or paragraph to its end, with nothing cut off")

def has_row(pos, words):
    for r in rows:
        p = tight(r.get("period"))
        if p and (tight(words) in p or p in tight(words)) and any(a <= pos < b for a, b in r["_spans"]):
            return True
    return False
caught = sum(1 for pos, words in times if has_row(pos, words))
say(caught == len(times), f"{caught} of {len(times)} time periods and dates in the contract have a row with the time copied as written")

timed = [r for r in rows if norm(r.get("period"))]
inside = sum(1 for r in timed if tight(r["period"]) in tight(r.get("quote")))
say(bool(timed) and inside == len(timed), f"{inside} of {len(timed)} rows with a period show those exact words inside their own quote")

duty = re.compile(r"\b(Contractor|Company|part(?:y|ies)|Party) (shall|hereby agrees|agrees)\b")
need = [num for i, (start, num) in enumerate(heads)
        if duty.search(text[start:(heads[i + 1][0] if i + 1 < len(heads) else len(text))])]
have = {r["_sec"] for r in rows if r["_spans"]}
covered = sum(1 for n in need if n in have)
say(covered == len(need), f"{covered} of {len(need)} sections that put a duty on a party have at least one row")

allowed = {"company", "contractor", "both", "either"}
opener = re.compile(r"^(?:The )?(Company|Contractor) (?:shall|hereby agrees|agrees)\b")
def party_ok(r):
    party = norm(r.get("party")).lower()
    if party not in allowed:
        return False
    m = opener.match(norm(r.get("quote")).strip('"'))
    if not m:
        return True
    other = "Contractor" if m.group(1) == "Company" else "Company"
    return party == m.group(1).lower() or (party == "both" and re.search(other + r" shall", r.get("quote") or ""))
openers = sum(1 for r in rows if opener.match(norm(r.get("quote")).strip('"')))
good = sum(1 for r in rows if party_ok(r))
say(good == len(rows), f"{good} of {len(rows)} rows name a party the contract uses and the {openers} that open with 'Company shall' or 'Contractor shall' name that party")

terms = (root / "output/key_terms.md").read_text() if (root / "output/key_terms.md").exists() else ""
start = next((w for _, w in times if re.match(MON, w)), "")
def stated(words):
    n = re.search(r"\((\d+)", words); unit = re.search(r"(business days?|days?|months?|years?)", words).group(1).rstrip("s")
    return bool(n) and re.search(r"\b" + n.group(1) + r"\)?[ -]*" + unit, terms) is not None
ending = {}
for pos, w in times:
    if section_at(pos) in ("2.01", "8.01", "8.03") and "(" in w:
        ending[tight(w).rstrip("s")] = w
ending = sorted(ending.values())
told = sum(1 for w in ending if stated(w))

blanks = sorted({section_at(m.start()) for m in re.finditer(r"\[ ?\*", text) if section_at(m.start()) != "preamble"})
dead = []
for m in re.finditer(r"Section (\d+\.\d\d)\(([a-z])\)(?: and \(([a-z])\))?", text):
    num = m.group(1); i = [n for _, n in heads].index(num)
    body = text[heads[i][0]:(heads[i + 1][0] if i + 1 < len(heads) else len(text))]
    dead += [f"{num}({ltr})" for ltr in m.groups()[1:] if ltr and f"({ltr}) " not in body]
flat = tight(terms)
gap = re.compile(r"\[ ?\*|blank|omit|left out|redact|not stated|missing|withheld|bracket", re.I)
flagged = sum(1 for b in blanks if any(b in ln and gap.search(ln) for ln in terms.splitlines()))
flagged += sum(1 for d in dead if tight(d) in flat or tight(d.split("(")[0] + "(d)and(" + d.split("(")[1]) in flat)
say(bool(start) and start in terms and told == len(ending) and flagged == len(blanks) + len(dead),
    f"key_terms.md gives the start date {start}, {told} of {len(ending)} notice and cure periods and flags {flagged} of {len(blanks) + len(dead)} things "
    f"a reader cannot rely on ({len(blanks)} figure left blank, {len(dead)} reference to a paragraph that does not exist)")

# Every place the contract says a party shall or agrees must sit inside the quote of some row, so a dropped duty fails.
duties = [m.start() for m in duty.finditer(text)]
held = sum(1 for pos in duties if any(a <= pos < b for r in rows for a, b in r["_spans"]))
say(bool(duties) and held == len(duties), f"{held} of {len(duties)} places where the contract says a party shall or agrees sit inside the quote of a row")

# A period that key_terms.md gives on a line that opens with a section number must be a period that section states.
def pairs(s):
    out = set()
    for m in TIME.finditer(s):
        unit = re.search(r"(business |calendar )?(day|month|year)", m.group(0), re.I)
        if unit:
            digits = re.search(r"\d+", m.group(0))
            out.add((digits.group(0) if digits else m.group(0).split()[0].lower(), ((unit.group(1) or "") + unit.group(2)).lower()))
    return out
body_of = {num: text[at:(heads[i + 1][0] if i + 1 < len(heads) else len(text))] for i, (at, num) in enumerate(heads)}
claims = []
for ln in terms.replace("**", "").splitlines():
    m = re.match(r"\s*(?:[|*-]\s*)?(\d+\.\d\d)\b", ln)
    if m and m.group(1) in body_of:
        claims += [(m.group(1), p) for p in pairs(norm(ln))]
true = sum(1 for sec, p in claims if p in pairs(body_of[sec]))
FIG = r"(?<![\w.-])\d(?:[\d,]*\d)?(?:\.\d+)?(?![\w-])"
known = {x.replace(",", "") for x in re.findall(r"\d[\d,]*(?:\.\d+)?", text)}
figures = [x for x in re.findall(FIG, terms) if len(x) >= 2]
dates = re.findall(MON + r" \d{1,2}, \d{4}", terms)
real = sum(1 for x in figures if x.replace(",", "") in known) + sum(1 for d in dates if d in text)
say(bool(claims) and true == len(claims) and real == len(figures) + len(dates),
    f"{true} of {len(claims)} periods that key_terms.md gives beside a section number are stated in that section, "
    f"with {real} of {len(figures) + len(dates)} dates and figures in it found in the contract")
sys.exit(0 if ok else 1)

services_outsourcing_agreement.txt: public document. Fingerprint 8e3dba93ea66.

key_terms.md: written by the agent. Fingerprint e3e547ab4949.

obligations.csv: written by the agent. Fingerprint e2d28f21feea.


More contracts and compliance work, and every other desk job

For agentsGitHub
What is AtrisBlogApp StorePricingPrivacyTerms