Line redline of one provision between two eCFR issue dates
redlineCompare one Title 38 citation across two eCFR issue dates to show which lines changed, were added, or removed, with status and raw text from each date.
Instructions
Line-level redline of one Title 38 provision between two eCFR issue dates: which lines of citation changed, were added, or were removed between from_date and to_date (both YYYY-MM-DD, both required — this tool has no default-to). The dates are SELECTORS — eCFR serves the revision in force on the requested date; they are not a verified stamp of which issue date was served. Returns the status (changed/added/removed/unchanged), both sides' raw text, and one hunk per line (same/add/del with 1-based anchors into each side's text). Identical or impossible dates (e.g. month 13) are rejected as errors before any fetch; a citation missing from BOTH dates is a not_found error after the fetches. Stateless: both dates' full-title XML is fetched from eCFR per call — no local index needed, no cache. When either side exceeds the core's line cap the per-line walk is replaced by two whole-text coarse blocks (coarse: true) — passed through uncapped here, the core's own bound.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_date | Yes | eCFR issue date, YYYY-MM-DD | |
| citation | Yes | the citation to redline, e.g. "38 CFR 4.125" (≤ 120 chars) | |
| from_date | Yes | eCFR issue date, YYYY-MM-DD |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hunks | Yes | ||
| coarse | Yes | ||
| notice | Yes | the limit on what the two dates mean: eCFR serves the revision in force on the requested date and does not report which issue date that is, so the dates are selectors and not a stamp of the revision served | |
| status | Yes | ||
| toText | No | ||
| citation | Yes | ||
| fromText | No | ||
| toIssueDate | Yes | ||
| fromIssueDate | Yes |