Flexibility Dimension Indicators¶
process_performance_indicators.indicators.flexibility.activities
¶
activity_instance_and_human_resource_count_ratio(event_log: pd.DataFrame, activity_name: str) -> float
¶
The ratio between the number of times that a specific activity has been instantiated in the event log, and the number of human resources that are involved in the execution of the activity.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_log
|
DataFrame
|
The event log. |
required |
activity_name
|
str
|
The name of the activity. |
required |
Source code in process_performance_indicators/indicators/flexibility/activities.py
client_count(event_log: pd.DataFrame, activity_name: str) -> int
¶
The number of distinct clients associated with cases where the activity is instantiated.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_log
|
DataFrame
|
The event log. |
required |
activity_name
|
str
|
The name of the activity. |
required |
Source code in process_performance_indicators/indicators/flexibility/activities.py
directly_follows_relations_count(event_log: pd.DataFrame, activity_name: str) -> int
¶
The number of activities that have been instantiated directly after the activity of interest in the event log.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_log
|
DataFrame
|
The event log. |
required |
activity_name
|
str
|
The name of the activity. |
required |
Source code in process_performance_indicators/indicators/flexibility/activities.py
human_resource_count(event_log: pd.DataFrame, activity_name: str) -> int
¶
The number of human resources that are involved in the execution of the activity.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_log
|
DataFrame
|
The event log. |
required |
activity_name
|
str
|
The name of the activity. |
required |
Source code in process_performance_indicators/indicators/flexibility/activities.py
process_performance_indicators.indicators.flexibility.cases
¶
activity_and_role_count_ratio(event_log: pd.DataFrame, case_id: str) -> float
¶
The ratio between the number of activities that occur in the case, and the number of human resources that are involved in the execution of the case
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_log
|
DataFrame
|
The event log. |
required |
case_id
|
str
|
The case ID. |
required |
Source code in process_performance_indicators/indicators/flexibility/cases.py
activity_instance_and_human_resource_count_ratio(event_log: pd.DataFrame, case_id: str) -> float
¶
The ratio between the number of times that any activity has been instantiated in the case, and the number of human resources that are involved in the execution of the case.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_log
|
DataFrame
|
The event log. |
required |
case_id
|
str
|
The case ID. |
required |
Source code in process_performance_indicators/indicators/flexibility/cases.py
directly_follows_relations_and_activity_count_ratio(event_log: pd.DataFrame, case_id: str) -> float
¶
The ratio between the number of activity pairs where one has been instantiated directly after the other in the case, and the number of activities that occur in the case.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_log
|
DataFrame
|
The event log. |
required |
case_id
|
str
|
The case ID. |
required |
Source code in process_performance_indicators/indicators/flexibility/cases.py
directly_follows_relations_count(event_log: pd.DataFrame, case_id: str) -> int
¶
The number of activity pairs where one has been instantiated directly after the other in the case.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_log
|
DataFrame
|
The event log. |
required |
case_id
|
str
|
The case ID. |
required |
Source code in process_performance_indicators/indicators/flexibility/cases.py
human_resource_count(event_log: pd.DataFrame, case_id: str) -> int
¶
The number of human resources that are involved in the execution of the case.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_log
|
DataFrame
|
The event log. |
required |
case_id
|
str
|
The case ID. |
required |
Source code in process_performance_indicators/indicators/flexibility/cases.py
optional_activity_count(event_log: pd.DataFrame, case_id: str) -> int
¶
The number of optional activities that are instantiated in the case. An activity is considered optional if there is at least one case in the event log where it does not occur.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_log
|
DataFrame
|
The event log. |
required |
case_id
|
str
|
The case ID. |
required |
Source code in process_performance_indicators/indicators/flexibility/cases.py
optionality(event_log: pd.DataFrame, case_id: str) -> float
¶
The ratio between the number of optional activities that are instantiated in the case, and the number of activities that occur in the case.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_log
|
DataFrame
|
The event log. |
required |
case_id
|
str
|
The case ID. |
required |
Source code in process_performance_indicators/indicators/flexibility/cases.py
role_count(event_log: pd.DataFrame, case_id: str) -> int
¶
The number of human resource roles that are involved in the execution of the case.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_log
|
DataFrame
|
The event log. |
required |
case_id
|
str
|
The case ID. |
required |
Source code in process_performance_indicators/indicators/flexibility/cases.py
variant_case_coverage(event_log: pd.DataFrame, case_id: str) -> float
¶
The percentage of cases in the event log who possess the same variant as the case.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_log
|
DataFrame
|
The event log. |
required |
case_id
|
str
|
The case ID. |
required |
Source code in process_performance_indicators/indicators/flexibility/cases.py
process_performance_indicators.indicators.flexibility.groups
¶
activity_and_role_count_ratio(event_log: pd.DataFrame, case_ids: list[str] | set[str]) -> float
¶
The ratio between the number of activities that occur in the group of cases, and the number of human resources that are involved in the execution of the group of cases.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_log
|
DataFrame
|
The event log. |
required |
case_ids
|
list[str] | set[str]
|
The case IDs. |
required |
Source code in process_performance_indicators/indicators/flexibility/groups.py
activity_instance_and_human_resource_count_ratio(event_log: pd.DataFrame, case_ids: list[str] | set[str]) -> float
¶
The ratio between the number of times that any activity has been instantiated in the group of cases, and the number of human resources that are involved in the execution of cases in the group of cases.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_log
|
DataFrame
|
The event log. |
required |
case_ids
|
list[str] | set[str]
|
The case IDs. |
required |
Source code in process_performance_indicators/indicators/flexibility/groups.py
client_count(event_log: pd.DataFrame, case_ids: list[str] | set[str]) -> int
¶
The number of distinct clients associated with cases in the group of cases.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_log
|
DataFrame
|
The event log. |
required |
case_ids
|
list[str] | set[str]
|
The case IDs. |
required |
Source code in process_performance_indicators/indicators/flexibility/groups.py
directly_follows_relations_and_activity_count_ratio(event_log: pd.DataFrame, case_ids: list[str] | set[str]) -> float
¶
The ratio between the number of activity pairs where one has been instantiated directly after the other in the group of cases, and the number of activities that occur in the group of cases.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_log
|
DataFrame
|
The event log. |
required |
case_ids
|
list[str] | set[str]
|
The case IDs. |
required |
Source code in process_performance_indicators/indicators/flexibility/groups.py
directly_follows_relations_count(event_log: pd.DataFrame, case_ids: list[str] | set[str]) -> int
¶
The number of activity pairs where one has been instantiated directly after the other in the group of cases.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_log
|
DataFrame
|
The event log. |
required |
case_ids
|
list[str] | set[str]
|
The case IDs. |
required |
Source code in process_performance_indicators/indicators/flexibility/groups.py
expected_activity_and_role_count_ratio(event_log: pd.DataFrame, case_ids: list[str] | set[str]) -> float
¶
The ratio between the expected number of activities that occur in a case belonging to the group of cases, and the expected number of human resource roles that are involved in the execution of a case belonging to the group of cases.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_log
|
DataFrame
|
The event log. |
required |
case_ids
|
list[str] | set[str]
|
The case IDs. |
required |
Source code in process_performance_indicators/indicators/flexibility/groups.py
expected_activity_instance_and_human_resource_count_ratio(event_log: pd.DataFrame, case_ids: list[str] | set[str]) -> float
¶
The ratio between the expected number of times that any activity is instantiated in a case belonging to the group of cases, an the expected number of huma resources that are involed in the execution of a case belonging to the group of cases.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_log
|
DataFrame
|
The event log. |
required |
case_ids
|
list[str] | set[str]
|
The case IDs. |
required |
Source code in process_performance_indicators/indicators/flexibility/groups.py
expected_client_count(event_log: pd.DataFrame, case_ids: list[str] | set[str]) -> float
¶
The ratio between the number of distinct clients associated with cases in the group cases, and the number of cases belonging to the group of cases.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_log
|
DataFrame
|
The event log. |
required |
case_ids
|
list[str] | set[str]
|
The case IDs. |
required |
Source code in process_performance_indicators/indicators/flexibility/groups.py
expected_directly_follows_relations_and_activity_count_ratio(event_log: pd.DataFrame, case_ids: list[str] | set[str]) -> float
¶
The ratio between the epected number of activity pairs where one has been instantiated directly after the other in a case belonging to the group of cases, and the expected number of activities that occur in a case belonging to the group of cases.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_log
|
DataFrame
|
The event log. |
required |
case_ids
|
list[str] | set[str]
|
The case IDs. |
required |
Source code in process_performance_indicators/indicators/flexibility/groups.py
expected_directly_follows_relations_count(event_log: pd.DataFrame, case_ids: list[str] | set[str]) -> float
¶
The expected number of activity pairs where one has been instantiated directly after the other in a case belonging to the group of cases.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_log
|
DataFrame
|
The event log. |
required |
case_ids
|
list[str] | set[str]
|
The case IDs. |
required |
Source code in process_performance_indicators/indicators/flexibility/groups.py
expected_human_resource_count(event_log: pd.DataFrame, case_ids: list[str] | set[str]) -> float
¶
The expected number of human resources that are involved in the execution of a case belonging to the group of cases.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_log
|
DataFrame
|
The event log. |
required |
case_ids
|
list[str] | set[str]
|
The case IDs. |
required |
Source code in process_performance_indicators/indicators/flexibility/groups.py
expected_optional_activity_count(event_log: pd.DataFrame, case_ids: list[str] | set[str]) -> float
¶
The expected number of optional activities that are instantiated in a case belonging to the group of cases. An activity is considered optional if there is at least one case in the event log where it does not occur.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_log
|
DataFrame
|
The event log. |
required |
case_ids
|
list[str] | set[str]
|
The case IDs. |
required |
Source code in process_performance_indicators/indicators/flexibility/groups.py
expected_optionality(event_log: pd.DataFrame, case_ids: list[str] | set[str]) -> float
¶
The ratio between the expected number of optional activities that are instantiated in a case belonging to the group of cases, and the expected number of activities that occur in a case belonging to the group of cases.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_log
|
DataFrame
|
The event log. |
required |
case_ids
|
list[str] | set[str]
|
The case IDs. |
required |
Source code in process_performance_indicators/indicators/flexibility/groups.py
expected_role_count(event_log: pd.DataFrame, case_ids: list[str] | set[str]) -> float
¶
The expected number of human resource roles that are involed in the execution of the group of cases.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_log
|
DataFrame
|
The event log. |
required |
case_ids
|
list[str] | set[str]
|
The case IDs. |
required |
Source code in process_performance_indicators/indicators/flexibility/groups.py
human_resource_count(event_log: pd.DataFrame, case_ids: list[str] | set[str]) -> int
¶
The number of human resources that are involved in the execution of cases in the group of cases.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_log
|
DataFrame
|
The event log. |
required |
case_ids
|
list[str] | set[str]
|
The case IDs. |
required |
Source code in process_performance_indicators/indicators/flexibility/groups.py
optional_activity_count(event_log: pd.DataFrame, case_ids: list[str] | set[str]) -> int
¶
The number of optional activities that are instantiated in the group of cases. An activity is considered optional if there is at least one case in the event log where it does not occur.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_log
|
DataFrame
|
The event log. |
required |
case_ids
|
list[str] | set[str]
|
The case IDs. |
required |
Source code in process_performance_indicators/indicators/flexibility/groups.py
optionality(event_log: pd.DataFrame, case_ids: list[str] | set[str]) -> float
¶
The ratio between the number of optional activities that are instantiated in the group of cases, and the number of activities that occur in the group of cases.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_log
|
DataFrame
|
The event log. |
required |
case_ids
|
list[str] | set[str]
|
The case IDs. |
required |
Source code in process_performance_indicators/indicators/flexibility/groups.py
role_and_variant_count_ratio(event_log: pd.DataFrame, case_ids: list[str] | set[str]) -> float
¶
The ratio between the number of human resource roles that are involved in the execution of the case, and the number of variants that are observed for the group of cases.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_log
|
DataFrame
|
The event log. |
required |
case_ids
|
list[str] | set[str]
|
The case IDs. |
required |
Source code in process_performance_indicators/indicators/flexibility/groups.py
role_count(event_log: pd.DataFrame, case_ids: list[str] | set[str]) -> int
¶
The number of human resource roles that are involed in the execution of the group of cases.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_log
|
DataFrame
|
The event log. |
required |
case_ids
|
list[str] | set[str]
|
The case IDs. |
required |
Source code in process_performance_indicators/indicators/flexibility/groups.py
variant_case_coverage(event_log: pd.DataFrame, case_ids: list[str] | set[str]) -> float
¶
The percentage of cases in the event log who possess the same variant as any case in the group of cases.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_log
|
DataFrame
|
The event log. |
required |
case_ids
|
list[str] | set[str]
|
The case IDs. |
required |
Source code in process_performance_indicators/indicators/flexibility/groups.py
variant_count(event_log: pd.DataFrame, case_ids: list[str] | set[str]) -> int
¶
The number of variants that are observed for the group of cases.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_log
|
DataFrame
|
The event log. |
required |
case_ids
|
list[str] | set[str]
|
The case IDs. |
required |