Mainframe Bill Audit -- evaluation download

WHAT IT DOES
It checks an IBM mainframe software bill against the SCRT reports your site already files with IBM, and writes a
report of every discrepancy, ranked in dollars. It runs entirely on this computer. It makes no network connection
and sends nothing to Digent or anyone else. No AI model is involved; every check is fixed arithmetic.

WHAT YOU NEED
Python 3.12, 3.13 or 3.14. Check with: python3 --version
WINDOWS: there is no "python3" command. Install Python from python.org, then check with: py -3.12 --version
(or py --list to see every Python installed), and type "py -3.12" (or -3.13, -3.14) wherever this file says
"python3", for example: py -3.12 mba.py demo demo-month --random
The launcher, mba.py, says so plainly if your Python is not one of these.
Optional: the WeasyPrint library, for a PDF copy of each report. Without it you get the same report as HTML.
A license key. Evaluation keys expire on the date they were issued for; after that the software stops and says so.

1. INSTALL
Unzip this folder anywhere and open a terminal in it (the folder that holds mba.py and this README).

2. ENTER YOUR LICENSE KEY
The first time you run any command in a terminal it asks for your license key. Paste or type it and press Enter.
It is checked on this computer and saved in your home folder (.mainframe-bill-audit/license.key), so you enter it
once. A script or scheduled job has no terminal to ask in: give it the key with --license-key or --license-file. A key is 24
groups of five letters and digits. Case, spaces, line breaks and hyphens do not matter, and the letter O and the
digit 0 read the same, as do I, L and 1. A key works through the end of its last day by this computer's clock. You
can also give it each time:
    python3 mba.py --license-key YOUR-KEY demo demo-month --random
or keep it in a file:
    python3 mba.py --license-file my.key demo demo-month --random
If a saved key has expired, the next run says so and asks for a new one.

3. RUN THE DEMO MONTH
    python3 mba.py demo demo-month --random
This builds a random month of synthetic IBM billing with errors planted in it (a new month every run), audits it
exactly as it would audit yours, and writes demo-month/AUDIT-REPORT.html. It then prints the answer key: every
planted error beside whether the audit found it, and any finding with no planted error behind it
(demo-month/ANSWER-KEY.txt). All demo data is synthetic and every price in it is illustrative.

4. RUN IT ON YOUR OWN FILES
Put one month's files in a folder (RUNBOOK.md lists each file; sample-inputs/ shows the required files and several optional ones), then:
    python3 mba.py audit <your-month-folder> <output-folder>
To list every command:  python3 mba.py --help

LICENSE
An evaluation license runs until the last day written into its key. You receive the engine as compiled software,
not source code; mba.py, a short launcher, is the only plain-text program file. Continued use after the evaluation
is by written agreement with Digent LLC. Terms: https://mainframebillaudit.com/terms

QUESTIONS, PROBLEMS OR A LICENSE
Email cco@digent.net.
