Calculation logic for Jobstream System Calculated End Time and Late Criterion
search cancel

Calculation logic for Jobstream System Calculated End Time and Late Criterion

book

Article ID: 427289

calendar_today

Updated On:

Products

Automation Analytics & Intelligence

Issue/Introduction

You may need to understand how the System-Calculated Late Criterion (Default Criterion) determines the end time or duration for a jobstream.
Specifically, this article clarifies whether the calculation uses fixed rules (such as the last 60 days or runs) or a different algorithm based on historical data.​​​​​​​

Environment

 

  • Product: Automation Analytics & Intelligence (AAI) 24.x

  • Component: Jobstream Late Criterion

 

Resolution

The System-Calculated Late Criterion uses an internal algorithm to determine the best method to calculate the late time based on the entire job or jobstream history collected in the database.

CALCULATION METHODS:

  1. End Time Based:

    • Based on the average end time.

    • Selection Logic: If a jobstream averages one run per day or less, AAI selects this method. The SLA is set to a specific time of day.

  2. Duration Based:

    • Based on the length of the average jobstream run.

    • Selection Logic: If a jobstream runs more than once per day, AAI selects this method. A breach occurs if the jobstream runs longer than the calculated amount of time.

ALGORITHM LOGIC:

  • Calculation Basis: The calculation is NOT based on a fixed number of jobs (e.g., last 60 runs) or a fixed number of days (e.g., last 60 days).

  • Moving Average: It uses a moving average prediction model that considers the entire available history for that job or jobstream.

  • Outliers: The system excludes outliers (runs that deviate significantly from the norm) to ensure the average remains a meaningful and realistic metric.

  • Day of the Week Model: The system automatically detects inconsistent durations on different days (e.g., higher loads on weekends). It switches to a day-of-the-week prediction model to provide accurate calculations for those specific days.

VERIFY CALCULATION METHOD:

  1. NAVIGATE TO JOBSTREAM

    Access the specific jobstream in the AAI interface.

  2. OPEN DEADLINES & RULES

    Click on the "Deadlines & Rules" tab.

  3. EDIT SLA

    Select an SLA to edit and click the "How is this calculated?" link or button.

    EXPECTED: A dialog box displays the calculation details (End Time vs. Duration) and the logic applied.

Additional Information

Note: Broadcom does not publish the specific internal algorithm code, but the logic follows the moving average prediction model described above.