backend.api.tasks.temporal_profile_tasks

Contains the tasks for temporal profile based conformance checking.

Functions

compute_and_store_temporal_conformance_result(→ None)

Computes the temporal conformance result and stores it in the app state.

Module Contents

backend.api.tasks.temporal_profile_tasks.compute_and_store_temporal_conformance_result(app: fastapi.FastAPI, job_id: str, celonis_connection: backend.celonis_connection.celonis_connection_manager.CelonisConnectionManager, zeta: float) None

Computes the temporal conformance result and stores it in the app state.

Parameters:
  • app (FastAPI) – The FastAPI application instance.

  • job_id – The ID of the job.

  • celonis_connection – The Celonis connection manager instance.

  • zeta – The zeta value used for temporal profile conformance checking.

Raises:

RuntimeError – If the DataFrame is empty.