933 B
933 B
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.jsonandresponse_schema.jsonfor 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.