what-changed / samples.js
sumankrsh's picture
Does it affect me? mode: situation check with affected / not affected / need more information; held-out results; gym example
05b2796 verified
Raw History Blame Contribute Delete
9.12 kB
// Two fictional document pairs for the built-in examples. Every person, company, address and
// e-mail domain here is invented (e-mail domains use the reserved .example top-level domain).
// Built by Suman Mukherjee. Apache-2.0.
const RENT_BEFORE = `RESIDENTIAL RENT AGREEMENT
This Rent Agreement is made at Pune on 01/04/2025 between Mrs. Meera Valtekar, residing at 9 Juniper Lane, Pune 411007 (the "Landlord"), and Mr. Rohan Isharwal, residing at 22 Saffron Street, Nagpur 440010 (the "Tenant").
1. PREMISES
The Landlord agrees to let out Flat 302, Tamarind Court, 14 Lake View Road, Pune 411001 (the "Premises") to the Tenant for residential use only.
2. TERM
This agreement is for a period of eleven (11) months, from 01/04/2025 to 28/02/2026.
3. RENT
3.1 The Tenant shall pay a monthly rent of ₹25,000 (Rupees Twenty-Five Thousand only) on or before the 5th day of each month.
3.2 The rent will be paid by bank transfer to the account named by the Landlord.
3.3 The rent shall go up by an annual escalation of 5% on each renewal.
4. SECURITY DEPOSIT
4.1 The Tenant has paid a security deposit of ₹75,000 (Rupees Seventy-Five Thousand only), which carries no interest.
4.2 The deposit shall be refunded within thirty (30) days of the Tenant handing over the Premises, after deducting unpaid dues.
5. MAINTENANCE AND CHARGES
5.1 Society maintenance charges shall be borne by the Landlord.
5.2 Electricity and water bills for the Premises shall be paid by the Tenant as per actual meter readings.
5.3 Minor repairs costing up to ₹2,000 each shall be done by the Tenant at the Tenant's cost.
6. USE OF THE PREMISES
6.1 The Tenant may sublet a part of the Premises with the prior written consent of the Landlord.
6.2 The Tenant shall not make structural changes to the Premises.
7. LOCK-IN
Neither party may end this agreement during the first six (6) months (the lock-in period), except for a serious breach.
8. NOTICE
Either party may end this agreement by giving one (1) month's notice in writing.
9. PARKING
The Tenant may use two (2) covered parking slots in the building.
10. GOVERNING LAW
This agreement is governed by the laws of India, and the courts at Pune shall have jurisdiction.
Signed by the Landlord: Meera Valtekar
Signed by the Tenant: Rohan Isharwal`;
const RENT_AFTER = `RESIDENTIAL RENT AGREEMENT
This Rent Agreement is made at Pune on 01/04/2026 between Mrs. Meera Valtekar, residing at 9 Juniper Lane, Pune 411007 (the "Landlord"), and Mr. Rohan Isharwal, residing at 22 Saffron Street, Nagpur 440010 (the "Tenant").
1. PREMISES
The Landlord agrees to let out Flat 302, Tamarind Court, 14 Lake View Road, Pune 411001 (the "Premises") to the Tenant for residential use only.
2. TERM
This agreement is for a period of eleven (11) months, from 01/04/2026 to 28/02/2027.
3. RENT
3.1 The Tenant shall pay a monthly rent of ₹27,500 (Rupees Twenty-Seven Thousand Five Hundred only) on or before the 1st day of each month. A late fee of ₹500 per day applies after the due date.
3.2 The rent shall be paid by bank transfer to the account named by the Landlord.
3.3 The rent shall go up by an annual escalation of 8% on each renewal.
4. SECURITY DEPOSIT
4.1 The Tenant has paid a security deposit of ₹1,00,000 (Rupees One Lakh only), which carries no interest.
4.2 The deposit shall be refunded within forty-five (45) days of the Tenant handing over the Premises, after deducting unpaid dues.
4.3 The security deposit is non-refundable if the Tenant leaves before the end of the term without giving the notice required under clause 7.
5. MAINTENANCE AND CHARGES
5.1 Society maintenance charges shall be borne by the Tenant.
5.2 Minor repairs costing up to ₹5,000 each shall be done by the Tenant at the Tenant's cost.
5.3 Electricity and water bills for the Premises shall be paid by the Tenant as per actual meter readings.
6. USE OF THE PREMISES
6.1 The Tenant shall not sublet any part of the Premises.
6.2 The Tenant shall not make structural changes to the Premises.
7. NOTICE
Either party may end this agreement by giving two (2) months' notice in writing.
8. PARKING
The Tenant may use one (1) covered parking slot in the building.
9. GOVERNING LAW
This Agreement is governed by the laws of India, and the courts at Pune shall have jurisdiction.
Signed by the Landlord: Meera Valtekar
Signed by the Tenant: Rohan Isharwal`;
const OFFER_BEFORE = `Lumen Ridge Analytics Pvt Ltd
Plot 7, Sector 9, Cyber Park, Gurugram 122002
careers@lumenridge.example
Date: 14 October 2026
Dear Ishaan Verma,
Subject: Offer of employment
We are pleased to offer you the position of Senior Data Analyst at Lumen Ridge Analytics Pvt Ltd (the "Company"), on the terms below.
Joining date
Your date of joining will be 1 December 2026.
Compensation
Your annual cost to company (CTC) will be INR 18,00,000. This includes variable pay of 10% of CTC, paid on the basis of your performance rating.
Joining bonus
You will receive a one-time joining bonus of ₹1,00,000 with your first salary.
Relocation support
The Company will pay up to ₹50,000 towards your relocation costs, against receipts.
Location
Your place of work will be Bengaluru. You may be asked to travel for client work.
Reporting
You will report to Kavya Menon, Head of Analytics.
Probation
You will be on probation for three (3) months from your date of joining.
Notice period
After confirmation, either party may end your employment by giving sixty (60) days' notice in writing.
Leave
You are entitled to 24 days of paid leave in each calendar year.
Work from home
You may work from home up to two days a week, with your manager's approval.
Please sign and return a copy of this letter by 21 October 2026 to accept the offer.
Yours sincerely,
Anika Sorenstam
Head of People, Lumen Ridge Analytics Pvt Ltd`;
const OFFER_AFTER = `Lumen Ridge Analytics Pvt Ltd
Plot 7, Sector 9, Cyber Park, Gurugram 122002
careers@lumenridge.example
Date: 28 October 2026
Dear Ishaan Verma,
Subject: Revised offer of employment
We are pleased to offer you the position of Senior Data Analyst at Lumen Ridge Analytics Pvt Ltd (the "Company"), on the terms below.
Joining date
Your date of joining will be 4 January 2027.
Compensation
Your annual cost to company (CTC) will be INR 16,50,000. This includes variable pay of 15% of CTC, paid on the basis of your performance rating.
Joining bonus
You will receive a one-time joining bonus of ₹75,000 with your first salary. The joining bonus must be repaid in full if you leave the Company within twelve (12) months of joining.
Location
Your place of work will be Pune. You may be asked to travel for client work.
Reporting
You will report to Arjun Thakkar, Head of Analytics.
Probation
You will be on probation for six (6) months from your date of joining.
Notice period
After confirmation, either party may end your employment by giving ninety (90) days' notice in writing.
Leave
You are entitled to 18 days of paid leave in each calendar year.
Work from home
You may work from home up to two days a week, only with your manager's written approval.
Non-compete
For twelve (12) months after you leave, you shall not join a direct competitor of the Company in India.
Please sign and return a copy of this letter by 4 November 2026 to accept the offer.
Yours sincerely,
Anika Sorenstam
Head of People, Lumen Ridge Analytics Pvt Ltd`;
const GYM_BEFORE = `IRONLEAF FITNESS CLUB, MEMBERSHIP TERMS (fictional)
1. Fees
The monthly membership fee is ₹2,400, charged on the 1st of each month.
2. Classes
Members may book up to 12 group classes a month.
A class must be cancelled at least 2 hours before it starts, or it counts as used.
3. Guests and devices
You can use the Ironleaf app on up to 3 devices.
4. Ending your membership
You may cancel your membership by giving 30 days' notice in writing to help@ironleaf.example.`;
const GYM_AFTER = `IRONLEAF FITNESS CLUB, MEMBERSHIP TERMS (fictional)
1. Fees
The monthly membership fee is ₹2,900, charged on the 1st of each month. Members on the annual plan keep their current fee until their plan renews.
2. Classes
Members may book up to 8 group classes a month.
A class must be cancelled at least 12 hours before it starts, or it counts as used.
3. Guests and devices
You can use the Ironleaf app on up to 2 devices.
4. Ending your membership
You may cancel your membership by giving 30 days' notice in writing to help@ironleaf.example.
These changes take effect from 1 February 2027.`;
export const SAMPLES = {
rent: { name: "Rent agreement renewal", beforeName: "rent-agreement-2025.txt", afterName: "rent-agreement-2026.txt", before: RENT_BEFORE, after: RENT_AFTER },
gym: { name: "Gym membership update", beforeName: "gym-terms-2026.txt", afterName: "gym-terms-2027.txt", before: GYM_BEFORE, after: GYM_AFTER,
situation: { plan: "annual plan", devices: 2, cancel_hours: 6, monthly_usage: 10, as_of: "2027-03-01" } },
offer: { name: "Offer letter revision", beforeName: "offer-letter.txt", afterName: "offer-letter-revised.txt", before: OFFER_BEFORE, after: OFFER_AFTER },
};