btctax_forms/lib.rs
1//! **btctax-forms** — fill the OFFICIAL IRS fillable PDFs (Form 8949 + Schedule D) from btctax's
2//! already-computed tax data. Offline, deterministic, and **geometry-verified**: every fill is read
3//! back from its own serialized bytes and each value's widget `/Rect` is checked against a
4//! map-independent column/row band re-derived from the PDF itself. A mis-mapped cell fails closed.
5//!
6//! ## Sub-project 1 (TY2025)
7//! - **Form 8949** — Bitcoin under **Box I** (short-term) / **Box L** (long-term), the 1099-DA
8//! revision (NOT Box C/F, which read "other than digital asset transactions"). 11 rows per part
9//! per page.
10//! - **Schedule D** — lines 3 & 7 (ST), 10 & 15 (LT), 16 (total), QOF = No. Lines 17-22 are scoped
11//! out (the caller prints a notice).
12//! - These are **static XFA-hybrid** PDFs: the fill removes the `/AcroForm` `/XFA` layer (else
13//! Acrobat shows blank), sets `/NeedAppearances`, and pins determinism (drops `/Info` dates + the
14//! trailer `/ID`).
15//!
16//! The tax data is REUSED verbatim from the projection (`btctax_core::form_8949` /
17//! `btctax_core::schedule_d`) — this crate never recomputes gains.
18
19mod cells;
20mod error;
21mod fill8949;
22mod fill8949_full;
23mod form1040;
24mod form1040_full;
25mod form8275;
26mod form8283;
27mod form8959;
28mod form8960;
29mod form8995;
30mod map;
31mod overflow;
32mod packet;
33mod pdf;
34mod schedule23;
35mod schedule_a;
36mod schedule_b;
37mod schedule_c;
38mod schedule_d;
39mod schedule_d_full;
40mod schedule_se;
41mod schedule_se_full;
42mod transcribe;
43mod verify;
44mod watermark;
45
46pub use error::FormsError;
47pub use form1040::{Form1040Fill, Form1040Inputs};
48pub use map::{
49 Form1040Map, Form8275Map, Form8283Map, Form8949Map, Form8959Map, Form8960Map, Form8995Map,
50 Schedule1Map, Schedule2Map, Schedule3Map, ScheduleAMap, ScheduleBMap, ScheduleCMap,
51 ScheduleDMap, ScheduleSeMap,
52};
53pub use schedule_se::SE_FLOOR;
54
55use btctax_core::conventions::{TaxDate, Usd};
56use btctax_core::{Form8949Row, ScheduleDTotals};
57use time::macros::format_description;
58
59/// The tax years this build bundles forms + maps for. Each fill dispatches to the year's committed
60/// map + bundled PDF via the `Map::for_year` constructors; an unlisted year fails closed with
61/// [`FormsError::UnsupportedYear`].
62pub const SUPPORTED_YEARS: &[i32] = &[2017, 2024, 2025];
63
64/// Format a date as **MM/DD/YYYY** — Form 8949's native date format for columns (b)/(c).
65pub(crate) fn fmt_date(d: TaxDate) -> Result<String, FormsError> {
66 let fmt = format_description!("[month]/[day]/[year]");
67 d.format(&fmt)
68 .map_err(|e| FormsError::Structure(format!("date format: {e}")))
69}
70
71/// Format money exactly as the `form8949.csv` / `schedule_d.csv` do — the raw `Decimal` Display
72/// (native scale, no `$`, no thousands separators). Keeping this identical to the CSV is what lets
73/// `schedule_d_totals_match_form8949_and_csv` cross-check the three artifacts.
74pub(crate) fn fmt_money(d: Usd) -> String {
75 d.to_string()
76}
77
78/// Fill **Form 8949** (Part I + Part II) for `year` from the projection rows and return the PDF
79/// bytes. The box is year-aware: Bitcoin is filed under the digital-asset Box I/L from TY2025, and
80/// the securities Box C/F on the pre-2025 revisions. Parts that overflow the revision's grid (11 rows
81/// per part on the 2025 form, 14 on 2024/2017) paginate: ⌈rows/grid⌉ page copies per part, each with
82/// its own totals; the copies are merged with per-copy field renaming so no two share a value. Every
83/// copy is geometry-verified before merge.
84pub fn fill_form_8949(rows: &[Form8949Row], year: i32) -> Result<Vec<u8>, FormsError> {
85 let map = Form8949Map::for_year(year)?;
86 let cap = map.rows_per_page;
87 let (st, lt) = fill8949::split_parts(rows);
88 let n_pages = div_ceil(st.len(), cap).max(div_ceil(lt.len(), cap)).max(1);
89
90 if n_pages == 1 {
91 let short = fill8949::part_data(&st)?;
92 let long = fill8949::part_data(<)?;
93 return fill8949::fill_8949_parts(&short, &long, &map);
94 }
95
96 let mut copies = Vec::with_capacity(n_pages);
97 for k in 0..n_pages {
98 let st_chunk: Vec<&Form8949Row> = st.iter().skip(k * cap).take(cap).copied().collect();
99 let lt_chunk: Vec<&Form8949Row> = lt.iter().skip(k * cap).take(cap).copied().collect();
100 let short = fill8949::part_data(&st_chunk)?;
101 let long = fill8949::part_data(<_chunk)?;
102 // Each copy is filled on ORIGINAL names and geometry-verified here (fails closed).
103 copies.push(fill8949::fill_8949_parts(&short, &long, &map)?);
104 }
105 overflow::merge_copies(&copies)
106}
107
108fn div_ceil(n: usize, d: usize) -> usize {
109 n.div_ceil(d)
110}
111
112/// Stamp a diagonal `DRAFT — ESTIMATE, NOT FOR FILING` watermark on every page of a filled form.
113/// Applied by the CLI when the ledger is pseudo-reconciled (an estimate). The overlay carries its own
114/// embedded standard font resource, orthogonal to `/NeedAppearances`.
115pub fn stamp_draft_watermark(pdf_bytes: &[u8]) -> Result<Vec<u8>, FormsError> {
116 watermark::stamp_draft(pdf_bytes)
117}
118
119/// Fill **Schedule D** for `year` from the part totals and return the PDF bytes.
120pub fn fill_schedule_d(totals: &ScheduleDTotals, year: i32) -> Result<Vec<u8>, FormsError> {
121 let map = ScheduleDMap::for_year(year)?;
122 schedule_d::fill_schedule_d_totals(totals, &map)
123}
124
125/// Fill **Schedule SE** (Form 1040) for `year` from the computed §1401 `SeTaxResult`, the filer's
126/// Form W-2 Social Security wages (line 8a), and the year's Social Security wage base (line 7).
127/// Returns `Ok(None)` when net SE earnings are **below the $400 floor** (no SE tax owed — the form is
128/// not written). Line 12 = SS + regular Medicare only (the 0.9% Additional Medicare Tax is a Form 8959
129/// item, not on Schedule SE); when `se.addl > 0` the caller prints a Form 8959 advisory.
130pub fn fill_schedule_se(
131 se: &btctax_core::SeTaxResult,
132 w2_ss_wages: Usd,
133 ss_wage_base: Usd,
134 year: i32,
135) -> Result<Option<Vec<u8>>, FormsError> {
136 let map = ScheduleSeMap::for_year(year)?;
137 schedule_se::fill_schedule_se_with_map(se, w2_ss_wages, ss_wage_base, &map)
138}
139
140/// Fill **Form 8959** (Additional Medicare Tax) for `year` from the core-derived line chain
141/// (`btctax_core::tax::other_taxes::form_8959_lines`). Returns `Ok(None)` when the form is not
142/// required — line 18 (the tax) AND line 24 (the withholding reconciliation) are both zero.
143///
144/// Line 24 is not redundant with line 18: an employer withholds the 0.9% on ITS OWN wages over
145/// $200,000 with no knowledge of a spouse or a second job, so a taxpayer who owes NO Additional
146/// Medicare Tax can still have had some withheld — and that excess is a credit on 1040 line 25c.
147/// Skipping the form on line 18 alone would silently forfeit it.
148pub fn fill_form_8959(
149 lines: &btctax_core::tax::other_taxes::Form8959Lines,
150 header: &btctax_core::tax::packet::ReturnHeader,
151 year: i32,
152) -> Result<Option<Vec<u8>>, FormsError> {
153 let map = Form8959Map::for_year(year)?;
154 form8959::fill_form_8959_with_map(lines, header, &map)
155}
156
157/// Fill **Form 8960** (Net Investment Income Tax, §1411) for `year` from the core-derived line chain
158/// (`btctax_core::tax::other_taxes::form_8960_lines`, which returns `None` when no NIIT is owed —
159/// there is then no form to file).
160pub fn fill_form_8960(
161 lines: &btctax_core::tax::other_taxes::Form8960Lines,
162 header: &btctax_core::tax::packet::ReturnHeader,
163 year: i32,
164) -> Result<Vec<u8>, FormsError> {
165 let map = Form8960Map::for_year(year)?;
166 form8960::fill_form_8960_with_map(lines, header, &map)
167}
168
169/// Fill **Form 8995** (QBI deduction, simplified) for `year` from the core-derived line chain
170/// (`btctax_core::tax::qbi::form_8995_lines`, which returns `None` when there is no QBI).
171///
172/// FAILS CLOSED if a parenthesized cell (line 7/16/17) carries a negative value: the form pre-prints
173/// the parentheses, so a negative would render as a POSITIVE number on the filed return.
174pub fn fill_form_8995(
175 lines: &btctax_core::tax::qbi::Form8995Lines,
176 header: &btctax_core::tax::packet::ReturnHeader,
177 year: i32,
178) -> Result<Vec<u8>, FormsError> {
179 let map = Form8995Map::for_year(year)?;
180 form8995::fill_form_8995_with_map(lines, header, &map)
181}
182
183/// Fill **Schedule 1** (Additional Income and Adjustments to Income) for `year` from the core-derived
184/// printed chain (`btctax_core::tax::printed::schedule_1_lines`, which returns `None` when there is
185/// neither additional income nor an adjustment — the schedule is then not filed).
186pub fn fill_schedule_1(
187 lines: &btctax_core::tax::printed::Schedule1Lines,
188 header: &btctax_core::tax::packet::ReturnHeader,
189 year: i32,
190) -> Result<Vec<u8>, FormsError> {
191 let map = Schedule1Map::for_year(year)?;
192 schedule23::fill_schedule_1_with_map(lines, header, &map)
193}
194
195/// Fill **Schedule 2** (Additional Taxes) for `year` from the core-derived printed chain
196/// (`btctax_core::tax::printed::schedule_2_lines`, which returns `None` when there are no other
197/// taxes to report — the schedule is then not filed).
198pub fn fill_schedule_2(
199 lines: &btctax_core::tax::printed::Schedule2Lines,
200 header: &btctax_core::tax::packet::ReturnHeader,
201 year: i32,
202) -> Result<Vec<u8>, FormsError> {
203 let map = Schedule2Map::for_year(year)?;
204 schedule23::fill_schedule_2_with_map(lines, header, &map)
205}
206
207/// Fill **Schedule 3** (Additional Credits and Payments) for `year` from the core-derived printed
208/// chain (`btctax_core::tax::printed::schedule_3_lines`, which returns `None` when there is neither a
209/// foreign tax credit nor an excess-Social-Security credit).
210pub fn fill_schedule_3(
211 lines: &btctax_core::tax::printed::Schedule3Lines,
212 header: &btctax_core::tax::packet::ReturnHeader,
213 year: i32,
214) -> Result<Vec<u8>, FormsError> {
215 let map = Schedule3Map::for_year(year)?;
216 schedule23::fill_schedule_3_with_map(lines, header, &map)
217}
218
219/// Fill **Schedule A** (Itemized Deductions) for `year` from the core-derived printed chain
220/// (`btctax_core::tax::printed::schedule_a_lines`, which returns `None` unless the return actually
221/// itemizes — Schedule A is computed even when the standard deduction wins, but only FILED when it is
222/// the deduction claimed).
223pub fn fill_schedule_a(
224 lines: &btctax_core::tax::printed::ScheduleALines,
225 header: &btctax_core::tax::packet::ReturnHeader,
226 year: i32,
227) -> Result<Vec<u8>, FormsError> {
228 let map = ScheduleAMap::for_year(year)?;
229 schedule_a::fill_schedule_a_with_map(lines, header, &map)
230}
231
232/// Fill the **FULL-RETURN Form 1040** for `year` from the core-derived printed chain
233/// (`btctax_core::tax::printed::form_1040_lines`) — every line, not just the capital-gain cluster.
234///
235/// This is NOT [`fill_form_1040_capgains`], which writes only line 7 + the Digital-Asset question for
236/// the crypto-slice export. That one stays: for a year with no `ReturnInputs` it is what the filer
237/// wants.
238pub fn fill_form_1040_full(
239 lines: &btctax_core::tax::printed::Form1040Lines,
240 header: &btctax_core::tax::packet::ReturnHeader,
241 status: btctax_core::tax::types::FilingStatus,
242 year: i32,
243) -> Result<Vec<u8>, FormsError> {
244 let map = Form1040Map::for_year(year)?;
245 form1040_full::fill_form_1040_full_with_map(lines, header, status, &map)
246}
247
248/// Fill the **FULL-RETURN Schedule D** for `year` from the core-derived printed chain
249/// (`btctax_core::tax::printed::schedule_d_lines`), including Part III's SPEC §7.2 routing.
250///
251/// This is NOT [`fill_schedule_d`], which is the **crypto-slice** fill: that one writes only lines
252/// 3/7/10/15/16 from the ledger totals, with no line 13 (1099-DIV box-2a capital-gain distributions)
253/// and no lines 6/14 (capital-loss carryovers). For a crypto-only year that is complete and correct.
254/// For a full return it would be a complete-LOOKING form with income missing.
255///
256/// FAILS CLOSED if a parenthesized cell (line 6/14/21) carries a negative: the form pre-prints the
257/// parentheses, so a negative renders as a POSITIVE number — turning a capital loss into a gain.
258pub fn fill_schedule_d_full(
259 lines: &btctax_core::tax::printed::ScheduleDLines,
260 header: &btctax_core::tax::packet::ReturnHeader,
261 year: i32,
262) -> Result<Vec<u8>, FormsError> {
263 let map = ScheduleDMap::for_year(year)?;
264 schedule_d_full::fill_schedule_d_full_with_map(lines, header, &map)
265}
266
267/// Fill **Form 8275** (Disclosure Statement) for `year` from the T13 printed disclosure
268/// (`btctax_core::tax::printed::printed_8275`) + the FILER's identity. `Ok(None)` when there is no
269/// Part I content to disclose.
270///
271/// Year coverage is MANDATORY, not conditional: Form 8275 is REVISION-versioned, not
272/// tax-year-versioned, so the single bundled Rev. 10-2024 asset is aliased to EVERY `SUPPORTED_YEAR`
273/// (2017/2024/2025) — a promoted disposal filed in any supported year gets a real fillable
274/// disclosure, never a permanent refusal for want of a "2025 revision" that does not exist.
275pub fn fill_form_8275(
276 printed: &btctax_core::tax::printed::Printed8275,
277 header: &btctax_core::tax::packet::ReturnHeader,
278 year: i32,
279) -> Result<Option<Vec<u8>>, FormsError> {
280 form8275::fill_form_8275(printed, header, year)
281}
282
283/// Fill **Form 8275** for `year` on the **crypto-slice** `export-irs-pdf` path (Task 16) — NO filer
284/// identity (mirrors [`fill_form_8283`], whose crypto-slice fill also writes no identity block): the
285/// disclosure still rides the export even when there is no `ReturnInputs` on file. `Ok(None)` when
286/// there is no Part I content to disclose.
287pub fn fill_form_8275_slice(
288 printed: &btctax_core::tax::printed::Printed8275,
289 year: i32,
290) -> Result<Option<Vec<u8>>, FormsError> {
291 form8275::fill_form_8275_slice(printed, year)
292}
293
294/// Fill the **full-return Form 8283** for `year` — whole-dollar rows plus the FILER's identity block
295/// (which the crypto slice never writes). `Ok(None)` when there are no donation rows.
296pub fn fill_form_8283_full(
297 printed: &btctax_core::tax::printed::Printed8283Rows,
298 header: &btctax_core::tax::packet::ReturnHeader,
299 year: i32,
300) -> Result<Option<Vec<u8>>, FormsError> {
301 let map = Form8283Map::for_year(year)?;
302 form8283::fill_form_8283_full(printed, header, &map)
303}
304
305/// Fill the **full-return Form 8949** for `year` from the core-derived printed chain
306/// (`btctax_core::tax::printed::form_8949_printed`). Whole dollars, and column (h) is DERIVED from the
307/// printed (d) − (e). Schedule D lines 3/10 ARE this form's printed column totals.
308pub fn fill_8949_full(
309 printed: &btctax_core::tax::printed::Printed8949,
310 header: &btctax_core::tax::packet::ReturnHeader,
311 year: i32,
312) -> Result<Vec<u8>, FormsError> {
313 let map = Form8949Map::for_year(year)?;
314 fill8949_full::fill_8949_full_with_map(printed, header, &map)
315}
316
317/// Fill the **full-return Schedule SE** for `year` from the core-derived printed chain
318/// (`btctax_core::tax::printed::schedule_se_lines`). Whole dollars — the crypto slice's
319/// `fill_schedule_se` keeps its exact-cents rendering and is untouched.
320pub fn fill_schedule_se_full(
321 lines: &btctax_core::tax::printed::ScheduleSeLines,
322 header: &btctax_core::tax::packet::ReturnHeader,
323 year: i32,
324) -> Result<Vec<u8>, FormsError> {
325 let map = ScheduleSeMap::for_year(year)?;
326 schedule_se_full::fill_schedule_se_full_with_map(lines, header, &map)
327}
328
329/// Fill **Schedule B** (Interest and Ordinary Dividends) for `year` from the core-derived printed
330/// chain (`btctax_core::tax::printed::schedule_b_lines`, which returns `None` when Schedule B is not
331/// required — interest and dividends both at or under $1,500 and no declared foreign account).
332///
333/// REFUSES when there are more payers than the form has rows (14 interest / 15 dividend). Truncating
334/// the list would leave a form whose printed rows do not add up to its own total.
335pub fn fill_schedule_b(
336 lines: &btctax_core::tax::printed::ScheduleBLines,
337 header: &btctax_core::tax::packet::ReturnHeader,
338 year: i32,
339) -> Result<Vec<u8>, FormsError> {
340 let map = ScheduleBMap::for_year(year)?;
341 schedule_b::fill_schedule_b_with_map(lines, header, &map)
342}
343
344/// Fill **Schedule C** (Profit or Loss From Business) for `year` from the core-derived printed chain
345/// (`btctax_core::tax::printed::schedule_c_lines`, which returns `None` when there is no crypto trade
346/// or business).
347pub fn fill_schedule_c(
348 lines: &btctax_core::tax::printed::ScheduleCLines,
349 header: &btctax_core::tax::packet::ReturnHeader,
350 year: i32,
351) -> Result<Vec<u8>, FormsError> {
352 let map = ScheduleCMap::for_year(year)?;
353 schedule_c::fill_schedule_c_with_map(lines, header, &map)
354}
355
356/// Fill **Form 8283** (Noncash Charitable Contributions, Rev. 12-2025) for `year` from the projected
357/// donation rows + `DonationDetails`. Returns `Ok(None)` when there are no donations in the year.
358/// Fills the donee/appraiser IDENTITY + per-row property data (and, for Section B, checks the "k
359/// Digital assets" property-type box); leaves BLANK every OTHER party's declaration/signature (a
360/// LOUD partial-scope notice is the caller's). More rows than a section holds (4 in Section A / 3 in
361/// Section B) overflow onto additional form copies via [`overflow::merge_copies`].
362pub fn fill_form_8283(
363 rows: &[btctax_core::Form8283Row],
364 year: i32,
365) -> Result<Option<Vec<u8>>, FormsError> {
366 let map = Form8283Map::for_year(year)?;
367 form8283::fill_form_8283(rows, &map)
368}
369
370/// Fill the capital-gains cells of **Form 1040** for `year`: line 7a (only when Schedule D is ACTIVE
371/// and line 16 ≥ 0; active-and-zero → "-0-") and the Digital-Asset Yes/No question (YES iff there is
372/// btctax-evidenced qualifying activity). Returns `Ok(None)` — **skip the whole 1040** — when there is
373/// no reportable activity (the DA answer would be blank and there is no 7a value). 7b checkboxes are
374/// left untouched; a NET LOSS leaves 7a blank (the §1211 line-21 cap is the filer's). A partial-scope
375/// notice enumerating exactly what was filled is the caller's.
376pub fn fill_form_1040_capgains(
377 inputs: &Form1040Inputs,
378 year: i32,
379) -> Result<Option<Form1040Fill>, FormsError> {
380 let map = Form1040Map::for_year(year)?;
381 form1040::fill_form_1040_capgains(inputs, &map)
382}
383
384/// **[I5]** How many rows might belong on a SEPARATE broker-reported Form 8949 — i.e. disposals on an
385/// exchange that may have issued broker basis reporting. The separate boxes and this export's filed
386/// boxes are year-aware (see `btctax-cli`'s `broker_reporting_advisory`): a 1099-B / Box A/B/D/E, filed
387/// under C/F pre-TY2025; a 1099-DA / Box G/H/J/K, filed under I/L from TY2025. A non-zero count is a
388/// loud advisory, not a refusal.
389pub fn rows_possibly_broker_reported(rows: &[Form8949Row]) -> usize {
390 rows.iter().filter(|r| r.box_needs_review).count()
391}
392
393// ── Internals exposed for the KATs (fault injection needs a corruptible map + the verifier). ──────
394#[doc(hidden)]
395pub use packet::{fill_full_return, NamedForm};
396
397pub mod testonly {
398 pub use crate::cells::fmt_money_pair;
399 pub use crate::fill8949::{fill_8949_parts, part_data, pdf_has_xfa, split_parts, PartData};
400 pub use crate::fill8949_full::fill_8949_full_with_map;
401 pub use crate::form1040::{fill_form_1040_capgains as fill_1040_with_map, Form1040Fill};
402 pub use crate::form1040_full::fill_form_1040_full_with_map;
403 pub use crate::form8275::fill_form_8275_with_map as fill_8275_with_map;
404 pub use crate::form8283::fill_form_8283 as fill_8283_with_map;
405 pub use crate::form8959::fill_form_8959_with_map;
406 pub use crate::form8960::fill_form_8960_with_map;
407 pub use crate::form8995::fill_form_8995_with_map;
408 // The committed map TOML, for the line-keyed inverse transcriber (`extract_lines`). Downstream
409 // read-back tests need the map itself, not just its parsed struct.
410 pub use crate::map::{
411 AmountCols, Form1040Map, Form8275Map, Form8275Row, Form8283Map, Form8949Map, Form8959Map,
412 Form8960Map, Form8995Map, MoneyCell, MoneyPair, PartMap, Schedule1Map, Schedule2Map,
413 Schedule3Map, ScheduleAMap, ScheduleBMap, ScheduleCMap, ScheduleDMap, ScheduleSeMap,
414 };
415 pub use crate::map::{
416 F1040_MAP_2024, F8275_MAP_2024, F8283_MAP_2024, F8949_MAP_2024, F8959_MAP_2024,
417 F8960_MAP_2024, F8995_MAP_2024, SCHEDULE_1_MAP_2024, SCHEDULE_2_MAP_2024,
418 SCHEDULE_3_MAP_2024, SCHEDULE_A_MAP_2024, SCHEDULE_B_MAP_2024, SCHEDULE_C_MAP_2024,
419 SCHEDULE_D_MAP_2024, SCHEDULE_SE_MAP_2024,
420 };
421 pub use crate::pdf::{
422 button_on_states, checkbox_on, collect_fields, index, load, text_value, Field,
423 F1040_PDF_2017, F1040_PDF_2024, F1040_PDF_2025, F8275_PDF_2024, F8283_PDF_2017,
424 F8283_PDF_2024, F8283_PDF_2025, F8949_PDF_2017, F8949_PDF_2024, F8949_PDF_2025,
425 F8959_PDF_2024, SCHEDULE_D_PDF_2017, SCHEDULE_D_PDF_2024, SCHEDULE_D_PDF_2025,
426 SCHEDULE_SE_PDF_2017, SCHEDULE_SE_PDF_2024, SCHEDULE_SE_PDF_2025,
427 };
428 pub use crate::schedule23::{
429 fill_schedule_1_with_map, fill_schedule_2_with_map, fill_schedule_3_with_map,
430 };
431 pub use crate::schedule_a::fill_schedule_a_with_map;
432 pub use crate::schedule_b::fill_schedule_b_with_map;
433 pub use crate::schedule_c::fill_schedule_c_with_map;
434 pub use crate::schedule_d::fill_schedule_d_totals;
435 pub use crate::schedule_d_full::fill_schedule_d_full_with_map;
436 pub use crate::schedule_se::fill_schedule_se_with_map;
437 pub use crate::schedule_se_full::fill_schedule_se_full_with_map;
438 pub use crate::transcribe::extract_lines;
439 pub use crate::verify::{
440 no_unmapped_filled, topmost_yes_no_pair, verify_8949, verify_flat, FlatPlacement, Geo,
441 Placement,
442 };
443}