predict_batch_failures
Score mainframe batch job names for recurring failure risk using recency-weighted history, returning LOW/MEDIUM/HIGH/CRITICAL risk levels, failure trends, and top abend codes.
Instructions
Predict batch failure risk by scoring job names with recurring failures using a recency-weighted algorithm. Returns risk levels (LOW/MEDIUM/HIGH/CRITICAL), failure trends, and top abend codes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | Historical look-back window in hours. Defaults to 168 (7 days), max 720 (30 days). | |
| environment | No | Named target environment (see list_environments), e.g. "dev", "prod". Omit to use the server default. | |
| minFailures | No | Minimum number of failures a job must have in the window to appear in the report. Defaults to 1. |