new-site/scripts/tests
justin 6fce3ec9eb trucking: A/B/C coupon price test (20/30/40% off) + SpamAssassin harness
- CAMPAIGN_COUPON_AB_PCTS="20,30,40" mints one daily code per arm; each
  carrier is bucketed by a stable sha256(email) hash so the split is even
  (~33/33/33 verified over 30k) and stable across re-sends (no arm-hopping).
- Each arm's code stores its own percent in discount_codes, so the advertised
  discount always matches what checkout applies; redemptions are countable per
  code (marker campaign-daily:<date>:<pct>).
- Empty/unset keeps legacy single-arm behavior (COUPON_PCT, legacy marker).
- coupon_attribs() now takes per-recipient pct.
- Tests: scripts/tests/test_coupon_ab.py (5 pass). SpamAssassin: both main
  campaigns (186/188) score 0.0 HAM across all 3 arms, coupon block renders
  clean; harness saved for re-runs.
2026-06-20 16:41:47 -05:00
..
providers Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
runs Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
screenshots Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
__init__.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
add_savings_table.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
ai_retry.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
block_bounced.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
check_campaign_segments.py Configure trucking deficiency campaign cron env 2026-06-03 23:04:41 -05:00
check_fulfillment_consistency.py test(fulfillment): consistency + intake-completeness checker 2026-06-02 03:29:53 -05:00
debug_submit.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
e2e_checkout.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
e2e_crtc_order.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
e2e_crtc_pipeline.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
e2e_crtc_pricing.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
e2e_crtc_provinces.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
e2e_fcc_compliance.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
e2e_full_order.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
e2e_full_pipeline.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
e2e_standard_delays.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
fix_chat_blocks.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
sa_coupon_test.py trucking: A/B/C coupon price test (20/30/40% off) + SpamAssassin harness 2026-06-20 16:41:47 -05:00
sa_coupon_test_local.py trucking: A/B/C coupon price test (20/30/40% off) + SpamAssassin harness 2026-06-20 16:41:47 -05:00
test_binder.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
test_cms10114.py healthcare: verify CMS-10114 update path, correct NPI Enumerator address, build CMS-10114 filler 2026-06-07 02:04:41 -05:00
test_coupon_ab.py trucking: A/B/C coupon price test (20/30/40% off) + SpamAssassin harness 2026-06-20 16:41:47 -05:00
test_cpni_calea_variants.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
test_data.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
test_dot_da_binder.py DOT D&A: instant PDF compliance-program binder (49) 2026-06-02 19:28:58 -05:00
test_form_499_initial_smoke.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
test_ink_signature.py Add portable Line-us pen-arm support to ink-signature pipeline 2026-06-07 03:45:46 -05:00
test_mcs150_signature_placement.py trucking: stamp e-signature exactly on form signature lines + state authorization gate 2026-06-02 16:44:19 -05:00
test_paper_batch.py healthcare: verify CMS-10114 update path, correct NPI Enumerator address, build CMS-10114 filler 2026-06-07 02:04:41 -05:00
test_signature_placement.py trucking: stamp e-signature exactly on form signature lines + state authorization gate 2026-06-02 16:44:19 -05:00