Ankur Malik 90479dfe13
All checks were successful
Build and Push Docker Image / test (push) Successful in 45s
Build and Push Docker Image / build_and_push (push) Successful in 1m51s
Add pd v3 processing block
2025-12-04 10:57:36 -05:00

12 lines
933 B
Markdown

# PD V3 Processing
- **Inputs:** Treated feature dictionaries per model from pre-processing.
- **Outputs:** Raw and isotonic PD scores for models A/B plus model T probability.
- **Artifacts:** Model binaries located under `models/` (XGBoost + isotonic joblib files).
- **Tests:** `python -m unittest sequence-3.pd_v3_processing.test_block`.
- **Signature:** Sequence-3 convention: `__main__` must keep an explicit typed parameter list covering every input (int/float/str) and build the record from those args before scoring; keep aligned with the block schemas.
## Schema notes
- `request_schema.json` and `response_schema.json` for this block are frozen. They describe arrays of `{name, value}` dicts (no nested dict-of-dicts), so that structure must be preserved—do not switch these schemas to dict-of-dicts or object-of-dicts even as the block code evolves. Arrays-of-dicts are still allowed where schematically appropriate.