Structured event types emitted by PyCaret 4.0 operations.
Events are the single source of truth for "what happened during this run":
- Every
Experimentmethod emits at least one event. - Events are immutable dataclasses that can be serialized to JSON.
- A React UI subscribes to the stream (via
BaseLogger.subscribe(...)) and renders progress; an LLM agent reads the same stream as trace data.
EventKind is a string-enum so events can round-trip through JSON without
custom encoders.