new-site/scripts/document_gen
justin b95ee04752 mcs150: fill all checkboxes/radios correctly + stamp explicit checkmarks
Fixes a batch of missing fields the FMCSA census does not provide and the
filler was mis-mapping:

- Corrected the question->field mapping to match the actual form: Q22 =
  COMPANY OPERATIONS (interstate/intrastate, 22xBox), Q23 = OPERATION
  CLASSIFICATIONS (for-hire/private/govt, 23xBox). These were swapped, and
  the bogus entity-type->23xBox map (no entity-type question exists on this
  form revision) was removed.
- Added proper radio-group handling for Reason for Filing (Biennial Update),
  Mailing-address (Same as principal vs below), and Q28 USDOT-revoked, with
  correct option indices (these are /0../n radios, not /Yes checkboxes; the
  old code set them to /Yes and never selected the right option).
- Map interstate/intrastate from the FMCSA census carrierOperationCode, and
  populate email/phone/mileage/cargo from intake.
- AcroForm checkbox/radio appearances use a ZapfDingbats glyph that
  poppler/Preview fail to render (value set but box looks empty). Now stamp
  an explicit X overlay into the page content for every 'on' box so it shows
  in every viewer and in the faxed output.
2026-06-10 13:41:48 -05:00
..
templates mcs150: fill all checkboxes/radios correctly + stamp explicit checkmarks 2026-06-10 13:41:48 -05:00
__init__.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
docx_builder.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
llm_writer.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
minio_client.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
pdf_converter.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
traffic_study_stamper.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00