ts-shape 0.0.74__tar.gz → 0.0.76__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ts_shape-0.0.74 → ts_shape-0.0.76}/CHANGES.txt +31 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/PKG-INFO +1 -1
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/guides/chunked-processing.md +94 -5
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/guides/eventlog/adapters.md +14 -7
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/guides/eventlog/taxonomy.md +19 -6
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/guides/pipeline-builder.md +42 -3
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/guides/signals.md +31 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/migration.md +155 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/context/value_mapping.py +23 -4
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/eventlog/adapters.py +115 -24
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/eventlog/concat.py +15 -9
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/eventlog/flat.py +39 -6
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/eventlog/introspect.py +3 -2
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/eventlog/model.py +14 -1
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/eventlog/normalizer.py +9 -4
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/eventlog/taxonomy.py +24 -5
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/_output.py +9 -5
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/engineering/control_loop_health.py +10 -5
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/engineering/disturbance_recovery.py +6 -5
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/engineering/material_balance.py +2 -2
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/engineering/threshold_monitoring.py +27 -20
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/maintenance/asset_health_index.py +7 -5
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/bottleneck_detection.py +3 -3
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/duty_cycle.py +22 -10
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/flow_metrics.py +8 -5
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/line_balancing.py +9 -5
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/micro_stop_detection.py +7 -5
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/performance_loss.py +10 -3
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/quality/multi_sensor_validation.py +6 -5
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/quality/sensor_drift.py +18 -8
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/supplychain/inventory_monitoring.py +7 -4
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/pipeline.py +206 -40
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/signals/infer.py +54 -12
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/signals/primitives.py +86 -12
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/stream.py +578 -85
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape.egg-info/PKG-INFO +1 -1
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape.egg-info/SOURCES.txt +4 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape.egg-info/scm_file_list.json +4 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/eventlog/test_flat_and_ocel.py +3 -2
- ts_shape-0.0.76/tests/invariants/test_dst_windows.py +374 -0
- ts_shape-0.0.76/tests/reference/test_round16_dst.py +545 -0
- ts_shape-0.0.76/tests/reference/test_round17_eventlog.py +449 -0
- ts_shape-0.0.76/tests/reference/test_round17_pipeline_signals.py +403 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_perf_equivalence_events.py +11 -8
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_stream.py +338 -4
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_stream_equivalence.py +83 -24
- {ts_shape-0.0.74 → ts_shape-0.0.76}/.github/scripts/next_version.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/.github/workflows/ci.yml +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/.github/workflows/release.yml +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/.gitignore +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/.pre-commit-config.yaml +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/LICENSE.txt +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/README.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/benchmarks/run.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/assets/favicon-16x16.png +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/assets/favicon-32x32.png +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/assets/favicon-48x48.png +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/assets/ts-shape.png +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/changelog.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/concept.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/contributing.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/examples.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/guides/context.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/guides/energy.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/guides/engineering.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/guides/eventlog/index.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/guides/eventlog/objects.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/guides/feature-extraction.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/guides/lambda-rules.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/guides/loading.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/guides/maintenance.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/guides/ml-features.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/guides/production.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/guides/quality.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/guides/transforms.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/index.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/insiders/development.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/license.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/correlation/anomaly-correlation.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/correlation/root-cause-correlation.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/correlation/signal-correlation.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/development/critical-parameter-ranking.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/development/design-of-experiments.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/development/design-space.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/development/golden-batch.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/development/recipe-phase-adherence.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/energy/carbon-intensity.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/energy/consumption-analysis.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/energy/efficiency-tracking.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/energy/energy-performance-indicator.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/energy/idle-energy-detection.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/energy/power-integration.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/engineering/control-loop-health.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/engineering/disturbance-recovery.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/engineering/material-balance.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/engineering/operating-range.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/engineering/process-stability.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/engineering/process-windows.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/engineering/rate-of-change.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/engineering/setpoint-events.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/engineering/signal-comparison.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/engineering/startup-detection.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/engineering/steady-state.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/engineering/threshold-monitoring.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/engineering/time-to-threshold.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/engineering/warmup-analysis.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/index.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/maintenance/asset-health-index.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/maintenance/degradation-detection.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/maintenance/failure-prediction.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/maintenance/reliability.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/maintenance/vibration-analysis.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/production/alarm-management.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/production/batch-tracking.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/production/bottleneck-detection.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/production/changeover.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/production/continuous-process-alignment.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/production/cycle-time.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/production/downtime.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/production/duty-cycle.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/production/flow-constraints.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/production/flow-metrics.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/production/line-balancing.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/production/line-throughput.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/production/long-downtime.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/production/machine-state.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/production/micro-stops.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/production/multi-process-traceability.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/production/oee-calculator.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/production/operating-state.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/production/operator-performance.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/production/order-traceability.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/production/part-tracking.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/production/performance-loss.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/production/period-summary.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/production/quality-tracking.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/production/rework-tracking.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/production/routing-traceability.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/production/runtime-accounting.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/production/schedule-adherence.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/production/scrap-tracking.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/production/setup-time.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/production/shift-handover.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/production/shift-reporting.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/production/target-tracking.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/quality/anomaly-classification.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/quality/calibration-validation.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/quality/capability-trending.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/quality/change-point.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/quality/data-gap-analysis.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/quality/environmental-compensation.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/quality/gauge-rr.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/quality/measurement-uncertainty.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/quality/multi-sensor-validation.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/quality/multivariate-spc.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/quality/outlier-detection.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/quality/sampling-resolution.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/quality/sensor-drift.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/quality/signal-quality.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/quality/spc.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/quality/tolerance-deviation.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/quality/value-distribution.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/supplychain/demand-patterns.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/supplychain/inventory-monitoring.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/modules/supplychain/lead-time-analysis.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/naming.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/reference/index.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/roadmap.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/user_guide/installation.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/docs/user_guide/quick_start.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/examples/README.md +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/examples/context_enricher_demo.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/examples/correlation_events_demo.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/examples/cycle_extractor_enhancements_demo.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/examples/energy_events_demo.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/examples/eventlog_demo.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/examples/features_statistics_demo.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/examples/lambda_rules_demo.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/examples/lambda_rules_demo.yaml +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/examples/line_flow_analytics_demo.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/examples/loader_usage_demo.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/examples/maintenance_events_demo.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/examples/object_detection_demo.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/examples/pipeline_demo.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/examples/production_events_demo.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/examples/production_tracking_demo.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/examples/quality_events_demo.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/examples/setpoint_events_advanced_usage.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/examples/supplychain_events_demo.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/examples/transform_operations_demo.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/examples/unit_runtime_demo.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/mkdocs.yml +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/pyproject.toml +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/renovate.json +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/scripts/gen_ref_pages.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/scripts/scan_deprecations.sh +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/setup.cfg +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/__init__.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/catalog.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/context/__init__.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/datasets.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/errors.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/eventlog/__init__.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/eventlog/align.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/eventlog/archetypes.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/eventlog/lambda_rules/__init__.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/eventlog/lambda_rules/backtest.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/eventlog/lambda_rules/detector.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/eventlog/lambda_rules/evaluator.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/eventlog/lambda_rules/expression.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/eventlog/lambda_rules/loader.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/eventlog/lambda_rules/spec.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/eventlog/objects.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/eventlog/ocel.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/eventlog/schema.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/__init__.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/_compat.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/_windows.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/correlation/__init__.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/correlation/anomaly_correlation.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/correlation/root_cause_correlation.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/correlation/signal_correlation.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/development/__init__.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/development/critical_parameter_ranking.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/development/design_of_experiments.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/development/design_space.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/development/golden_batch.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/development/recipe_phase_adherence.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/energy/__init__.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/energy/carbon_intensity.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/energy/consumption_analysis.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/energy/efficiency_tracking.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/energy/energy_performance_indicator.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/energy/idle_energy_detection.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/engineering/__init__.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/engineering/operating_range.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/engineering/process_stability_index.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/engineering/process_window.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/engineering/rate_of_change.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/engineering/setpoint_events.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/engineering/signal_comparison.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/engineering/startup_events.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/engineering/steady_state_detection.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/engineering/time_to_threshold.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/engineering/warmup_analysis.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/maintenance/__init__.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/maintenance/_rolling.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/maintenance/degradation_detection.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/maintenance/failure_prediction.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/maintenance/reliability.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/maintenance/vibration_analysis.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/__init__.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/_counter_groups.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/_flow.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/alarm_management.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/batch_tracking.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/changeover.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/continuous_process_alignment.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/cycle_time_tracking.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/downtime_tracking.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/flow_constraints.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/line_throughput.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/long_downtime_events.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/machine_state.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/multi_process_traceability.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/oee_calculator.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/operating_state.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/operator_performance.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/order_traceability.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/part_tracking.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/period_summary.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/quality_tracking.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/rework_tracking.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/routing_traceability.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/runtime_accounting.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/schedule_adherence.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/scrap_tracking.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/setup_time_tracking.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/shift_handover.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/shift_reporting.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/production/target_tracking.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/quality/__init__.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/quality/anomaly_classification.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/quality/calibration_validation.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/quality/capability_trending.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/quality/change_point.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/quality/data_gap_analysis.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/quality/environmental_compensation.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/quality/gauge_repeatability.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/quality/measurement_uncertainty.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/quality/multivariate_spc.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/quality/outlier_detection.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/quality/sampling_resolution.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/quality/signal_quality.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/quality/statistical_process_control.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/quality/tolerance_deviation.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/quality/value_distribution.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/supplychain/__init__.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/supplychain/demand_pattern.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/events/supplychain/lead_time_analysis.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/features/__init__.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/features/cross_signal.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/features/cycles/__init__.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/features/cycles/cycle_processor.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/features/cycles/cycles_extractor.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/features/export.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/features/pattern_recognition.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/features/segment_analysis/__init__.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/features/segment_analysis/_grouped_stats.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/features/segment_analysis/profile_comparison.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/features/segment_analysis/segment_extractor.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/features/segment_analysis/segment_processor.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/features/segment_analysis/time_windowed_features.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/features/stats/__init__.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/features/stats/_values.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/features/stats/boolean_stats.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/features/stats/feature_table.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/features/stats/numeric_stats.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/features/stats/string_stats.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/features/stats/timestamp_stats.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/features/time_stats/__init__.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/features/time_stats/time_stats_numeric.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/loader/__init__.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/loader/_utils.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/loader/combine/__init__.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/loader/combine/integrator.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/loader/context/__init__.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/loader/context/context_enricher.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/loader/metadata/__init__.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/loader/metadata/metadata_api_loader.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/loader/metadata/metadata_db_loader.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/loader/metadata/metadata_json_loader.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/loader/timeseries/__init__.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/loader/timeseries/azure_blob_energy_loader.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/loader/timeseries/azure_blob_loader.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/loader/timeseries/databricks_spark_parquet_loader.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/loader/timeseries/databricks_unity_energy_loader.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/loader/timeseries/databricks_unity_parquet_loader.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/loader/timeseries/energy_api_loader.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/loader/timeseries/parquet_loader.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/loader/timeseries/s3proxy_parquet_loader.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/loader/timeseries/timescale_loader.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/profiling.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/py.typed +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/signals/__init__.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/signals/spec.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/transform/__init__.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/transform/calculator/__init__.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/transform/calculator/numeric_calc.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/transform/calculator/power_integration.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/transform/calculator/unit_conversion.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/transform/filter/__init__.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/transform/filter/_sequence.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/transform/filter/boolean_filter.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/transform/filter/custom_filter.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/transform/filter/datetime_filter.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/transform/filter/numeric_filter.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/transform/filter/string_filter.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/transform/functions/__init__.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/transform/functions/lambda_func.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/transform/harmonization.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/transform/time_functions/__init__.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/transform/time_functions/timestamp_converter.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/transform/time_functions/timezone_shift.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/utils/__init__.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/utils/base.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/utils/coerce.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/utils/counters.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/utils/deprecation.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/utils/frames.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/utils/intervals.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/utils/normalize.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/utils/runs.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/utils/shifts.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/utils/signal_checks.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/utils/time_accounting.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape/utils/time_weighted.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape.egg-info/dependency_links.txt +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape.egg-info/requires.txt +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/src/ts_shape.egg-info/top_level.txt +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/conftest.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/data/setpoint_kpis_reference.csv +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/docs/__init__.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/docs/test_args_documented.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/docs/test_doc_names.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/docs/test_docstring_examples.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/docs/test_docstring_lists.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/docs/test_md_examples.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/docs/test_method_tables.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/eventlog/__init__.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/eventlog/conftest.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/eventlog/test_adapter_coverage.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/eventlog/test_adapters.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/eventlog/test_align.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/eventlog/test_end_to_end.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/eventlog/test_event_ids_frozen.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/eventlog/test_eventlog_robustness.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/eventlog/test_lambda_rules.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/eventlog/test_model.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/eventlog/test_objects.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/eventlog/test_polish.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/eventlog/test_relate.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/eventlog/test_schema.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/invariants/__init__.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/invariants/baseline.json +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/invariants/harness.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/invariants/test_contract_eventlog_misc.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/invariants/test_contract_summary.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/invariants/test_contract_transform_features.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/invariants/test_invariants.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/reference/__init__.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/reference/test_capability_reference.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/reference/test_energy_values.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/reference/test_kpi_references_misc.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/reference/test_kpi_references_quality.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/reference/test_kpi_time_accounting.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/reference/test_round13_engineering.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/reference/test_round13_quality.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/reference/test_round14_a.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/reference/test_round14_b.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/reference/test_spc_rules_reference.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/reference/test_uncertainty_reference.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/reference/test_untested_methods.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/reference/test_weibull_reference.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_anomaly_classification.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_apply_ranges_overlap.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_asset_health_index.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_azure_blob_energy_loader.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_azure_blob_loader.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_base.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_base_fast_paths.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_batch_tracking_resets.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_boolean_filter.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_bottleneck_detection.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_branch_coverage_events.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_calibration_validation.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_canonical_output_columns.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_capability_trending.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_catalog.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_change_point.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_changeover_initial.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_coerce.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_consistent_outputs.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_context_enricher.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_context_robustness.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_continuous_alignment_resets.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_continuous_process_alignment.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_correlation_events.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_correlation_time_grid.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_counter_group_boundaries.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_counter_windows.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_counters.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_cross_signal.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_custom_filter.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_cusum_duplicates.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_cycles.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_cycles_extractor_matching.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_data_gap_analysis.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_databricks_spark_parquet_loader.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_databricks_unity_energy_loader.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_databricks_unity_parquet_loader.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_datasets.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_degenerate_denominators_other_packs.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_degenerate_inputs.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_deprecated_kwargs_all.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_deprecation.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_descriptive_features_windowed.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_detector_registry_conformance.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_development_events.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_downtime_quality.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_downtime_reason_fix.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_duplicate_events.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_duty_cycle.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_edge_cases.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_energy_api_loader.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_energy_efficiency_comparison_counter.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_energy_events.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_energy_new_classes.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_engineering_control_loop_health.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_engineering_disturbance_recovery.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_engineering_material_balance.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_engineering_operating_range.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_engineering_process_stability.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_engineering_process_window.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_engineering_setpoint.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_engineering_setpoint_alignment.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_engineering_signal_comparison.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_engineering_startup.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_engineering_steady_state.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_engineering_warmup.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_environmental_compensation.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_examples.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_failure_prediction_rul.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_feature_table.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_filters_group_by_uuid.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_flow_constraints_interval_end.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_flow_metrics.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_frames_helpers.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_frequency_defaults.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_gauge_repeatability.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_import_time.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_interval_end_change_encoded.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_interval_end_other_packs.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_intervals.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_lambda_func.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_lead_time_matching.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_lead_time_pairing.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_lean_install.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_legacy_cleanup.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_legacy_defects.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_line_balancing.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_line_balancing_alarm_boundary.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_line_throughput_guards.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_line_throughput_resets.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_lined_out_round2.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_loader_integrator.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_loader_paths_azure.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_loader_paths_metadata.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_loader_paths_sql_s3.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_loader_repr.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_loader_robustness.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_loader_time_range_names.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_loader_utils.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_long_downtime_events.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_maintenance_events.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_max_gap_caps.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_measurement_uncertainty.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_metadata_api_loader.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_metadata_db_loader.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_metadata_json_loader.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_micro_stop_detection.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_micro_stop_vectorized.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_misc_robustness.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_multi_process_traceability.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_multi_sensor_validation.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_multivariate_spc.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_named_public_functions.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_naming.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_normalize.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_numeric_calc.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_numeric_filter.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_oee_gaps.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_oee_resets.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_operating_state.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_operator_performance.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_operator_performance_resets.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_outlier_detection.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_outlier_detection_robustness.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_output_schema.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_overnight_shift.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_overnight_shift_extended.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_pack_exports_idioms.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_parquet_loader.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_pattern_recognition.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_pattern_recognition_fast_paths.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_performance_loss.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_period_summary.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_period_summary_resets.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_pipeline.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_power_integration.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_power_integration_dst.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_production_events.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_production_oee_alarm_batch.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_production_tracking.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_profile.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_profile_comparison.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_profile_constant_runs.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_properties_core.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_public_api.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_quality_tracking_resets.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_rate_of_change.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_release_version.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_reliability.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_renames.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_rework_tracking.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_rework_tracking_resets.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_robustness_other_packs.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_rolling_moments.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_root_cause_correlation.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_round13_renames_behavior.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_round13_robustness.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_runs.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_runtime_accounting.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_s3proxy_parquet_loader.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_sampling_resolution.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_scale.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_scale_other_packs.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_scale_production.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_schedule_adherence.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_scrap_tracking.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_scrap_tracking_resets.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_segment_extractor.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_segment_processor.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_sensor_drift.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_setpoint_shared_gather.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_setpoint_startup_coverage.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_setup_time_tracking.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_severity_level.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_shift_handover.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_shift_handover_resets.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_shift_reporting_resets.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_shifts.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_signal_checks.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_signal_checks_columns.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_signal_quality.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_signals.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_signals_properties.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_signals_robustness.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_spc.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_spc_rules_coverage.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_specs_driven_detectors.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_stats_boolean.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_stats_numeric.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_stats_string.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_string_and_datetime_filter.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_supplychain_events.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_target_tracking.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_target_tracking_resets.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_threshold_monitoring.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_time_accounting.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_time_functions.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_time_stats_numeric.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_time_to_threshold.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_time_weighted.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_time_weighted_and_gaps.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_time_windowed_features.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_timescale_loader.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_timestamp_stats.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_timezone_safety.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_tolerance_deviation.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_tolerance_deviation_direction.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_traceability.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_traceability_dwell.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_transform_features_renames.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_transform_features_robustness.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_transform_harmonization.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_unit_conversion.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_value_distribution.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_value_mapping.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_verify_cycles.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_verify_cycles_processor.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_verify_objects.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_verify_period_cutters.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_window_bounds.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/test_zero_steps_and_gaps.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/typing/deprecated_usage.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/typing/mypy.ini +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/typing/test_lazy_exports.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/typing/test_mypy.py +0 -0
- {ts_shape-0.0.74 → ts_shape-0.0.76}/tests/typing/user_script.py +0 -0
|
@@ -1,3 +1,34 @@
|
|
|
1
|
+
# October 21, 2026 (round 17, part I)
|
|
2
|
+
Second audit: event log, pipeline, context, signals.
|
|
3
|
+
fix: event ids include caller-bound objects (logs with objects= get new
|
|
4
|
+
ids); XES start before complete; concat keeps type/qualifier variants;
|
|
5
|
+
per-detector severity thresholds (isolation forest, IQR); severity text
|
|
6
|
+
ignores case; NaT-timestamp rows dropped with a warning; empty XES frame.
|
|
7
|
+
fix: ValueMapper reads mapping keys as text ("007" != "7").
|
|
8
|
+
fix: pipeline class/static steps keep their detector id and check kwargs;
|
|
9
|
+
steps get private copies; run_stream matches run step by step.
|
|
10
|
+
feat: init__/method__ kwarg prefixes in Pipeline.detect.
|
|
11
|
+
fix: signal inference: one gap no longer hides gaps, slow counters are
|
|
12
|
+
counters; windows("W"/"ME") start at start; intervals() stop at the last
|
|
13
|
+
sample past max_gap; uuid_column= on the primitives.
|
|
14
|
+
See docs/migration.md.
|
|
15
|
+
|
|
16
|
+
# October 21, 2026 (round 16)
|
|
17
|
+
DST-day windows; more chunkable methods.
|
|
18
|
+
fix: on tz-aware data, daily windows on a DST change are measured over their
|
|
19
|
+
real length (23 h / 25 h): time shares, percentages, rates, ends, durations
|
|
20
|
+
and window membership in threshold, micro-stop, duty-cycle, inventory, flow,
|
|
21
|
+
disturbance, bottleneck, asset-health, sensor-drift, multi-sensor, material
|
|
22
|
+
balance, line balancing, performance loss and control-loop methods. Other
|
|
23
|
+
windows are unchanged bit for bit.
|
|
24
|
+
feat: stream.CONDITIONAL (chunkable with an explicit argument: detect_gaps,
|
|
25
|
+
coverage_by_period, detect_flatline, changeover_window); calendar chunks
|
|
26
|
+
"W" / "MS" for weekly / monthly summaries; micro_stop_frequency chunkable.
|
|
27
|
+
fix: chunked results across slice borders for detect_changeover with
|
|
28
|
+
min_duration, changeover_window and micro_stop_impact;
|
|
29
|
+
interpolation_candidates is no longer chunkable.
|
|
30
|
+
See docs/migration.md.
|
|
31
|
+
|
|
1
32
|
# October 21, 2026 (round 15)
|
|
2
33
|
Chunked processing for data larger than memory.
|
|
3
34
|
feat: run_chunked / iter_chunked run a detector slice by slice (one day by
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ts_shape
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.76
|
|
4
4
|
Summary: Manufacturing time-series analytics for pandas: events, KPIs, SPC, reliability and energy from long-format signal data
|
|
5
5
|
Author-email: Jakob Gabriel <jakob.gabriel5@googlemail.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -155,8 +155,41 @@ pd.testing.assert_frame_equal(from_db, chunked)
|
|
|
155
155
|
|
|
156
156
|
Slices are aligned to the wall clock of the data's time zone (`chunk="1D"` cuts
|
|
157
157
|
at local midnight; a DST day lasts 23 or 25 hours). Naive timestamps work the
|
|
158
|
-
same way. `chunk` can be any fixed length (`"12h"`, `"2D"`)
|
|
159
|
-
|
|
158
|
+
same way. `chunk` can be any fixed length (`"12h"`, `"2D"`) or a calendar
|
|
159
|
+
period, see [Calendar chunks](#calendar-chunks).
|
|
160
|
+
|
|
161
|
+
## Calendar chunks
|
|
162
|
+
|
|
163
|
+
`chunk="W"` cuts the data into calendar weeks, Monday 00:00 to Monday 00:00
|
|
164
|
+
local time (pandas' weeks ending Sunday, also written `"W-SUN"`; `"W-<DAY>"`
|
|
165
|
+
gives weeks ending on another day). `chunk="MS"` cuts it into calendar months.
|
|
166
|
+
The cuts are made at local midnight like daily slices, so the week of a DST
|
|
167
|
+
change lasts 167 or 169 hours and February its real length.
|
|
168
|
+
|
|
169
|
+
`PeriodSummaryEvents.weekly_summary` and `monthly_summary` run chunked only
|
|
170
|
+
with the matching chunk -- every week or month is then exactly one slice --
|
|
171
|
+
and raise `ValueError` with any other chunk. Methods with a window that
|
|
172
|
+
divides a day (`"1h"`, `"1D"`) and interval methods run with any calendar
|
|
173
|
+
chunk. The source may still deliver daily frames; slices collect them:
|
|
174
|
+
|
|
175
|
+
```python
|
|
176
|
+
from ts_shape import PeriodSummaryEvents
|
|
177
|
+
|
|
178
|
+
ct = pd.date_range("2024-02-01", "2024-05-01", freq="30min", inclusive="left",
|
|
179
|
+
tz="Europe/Berlin")
|
|
180
|
+
counter = pd.DataFrame({"systime": ct, "uuid": "press:count",
|
|
181
|
+
"value_integer": np.arange(len(ct)) * 3})
|
|
182
|
+
counter_days = (g for _, g in counter.groupby(counter["systime"].dt.normalize()))
|
|
183
|
+
|
|
184
|
+
weekly = run_chunked(counter_days, PeriodSummaryEvents, "weekly_summary",
|
|
185
|
+
chunk="W", counter_uuid="press:count")
|
|
186
|
+
expected = PeriodSummaryEvents(counter).weekly_summary("press:count")
|
|
187
|
+
pd.testing.assert_frame_equal(weekly, expected.reset_index(drop=True))
|
|
188
|
+
print(weekly[["start", "end", "total_production"]].head(3))
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
`time_range_source(load, start, end, chunk="W")` loads one week per call on
|
|
192
|
+
the same grid.
|
|
160
193
|
|
|
161
194
|
## How the borders are stitched
|
|
162
195
|
|
|
@@ -182,11 +215,19 @@ Rolling methods get history before each slice: `overlap` defaults to the
|
|
|
182
215
|
method's window-like argument (`window`, `baseline_window`, `lookback`, ...),
|
|
183
216
|
and can be passed explicitly.
|
|
184
217
|
|
|
218
|
+
Some events are only settled by data after them, and wait for it in the same
|
|
219
|
+
way: a changeover whose new product must hold for `min_duration` (also the
|
|
220
|
+
`min_duration` of `changeover_window`'s `config`), and a stop that counts as
|
|
221
|
+
a micro-stop only up to `max_duration` -- a stop still running at midnight is
|
|
222
|
+
classified by its full length, in the windows of both days.
|
|
223
|
+
|
|
185
224
|
## Pipelines
|
|
186
225
|
|
|
187
226
|
`Pipeline.run_stream(source, chunk="1D")` runs a [pipeline](pipeline-builder.md)
|
|
188
227
|
the same way: every detect step goes through the chunked engine and returns
|
|
189
|
-
the events `run()` would return.
|
|
228
|
+
the events `run()` would return. As in `run()`, each detect step sees the
|
|
229
|
+
slice transformed only by the transform steps before it. Transforms run on
|
|
230
|
+
each slice separately, so
|
|
190
231
|
they must be **row-local** -- each output row depends only on its own input
|
|
191
232
|
row, as unit conversions, scaling and value mappings do. `result.data` is
|
|
192
233
|
empty by default (the point is not to hold all rows); pass `keep_data=True` to
|
|
@@ -220,8 +261,9 @@ print(streamed)
|
|
|
220
261
|
`ts_shape.stream.SUPPORT` lists the methods that run chunked. The list is
|
|
221
262
|
data-driven: a test runs every detector method in memory and in daily slices on
|
|
222
263
|
a 3-day dataset across a DST change (and on variants with skewed statistics
|
|
223
|
-
and shifted borders
|
|
224
|
-
|
|
264
|
+
and shifted borders; the weekly and monthly summaries in weekly and monthly
|
|
265
|
+
slices of a 9-week dataset) and keeps the methods whose results are equal and
|
|
266
|
+
whose code uses no whole-signal statistics.
|
|
225
267
|
|
|
226
268
|
```python
|
|
227
269
|
from collections import defaultdict
|
|
@@ -236,6 +278,53 @@ for cls, methods in by_class.items():
|
|
|
236
278
|
print(f"{cls}: {', '.join(methods)}")
|
|
237
279
|
```
|
|
238
280
|
|
|
281
|
+
A few results need the whole run; the engine completes them at the end of
|
|
282
|
+
the stream, so they still equal the in-memory result:
|
|
283
|
+
|
|
284
|
+
- `DataGapAnalysisEvents.detect_gaps` counts `samples_before_gap` and
|
|
285
|
+
`samples_after_gap` over the whole signal: a running count per signal
|
|
286
|
+
offsets each slice, and `samples_after_gap` is filled in once the total is
|
|
287
|
+
known. `iter_chunked` therefore yields all of its rows together, after the
|
|
288
|
+
last slice.
|
|
289
|
+
- `DataGapAnalysisEvents.coverage_by_period` counts one median sampling step
|
|
290
|
+
of the whole signal after its last sample as covered: the engine counts
|
|
291
|
+
every sampling step and corrects the last window at the end (`iter_chunked`
|
|
292
|
+
yields that window last).
|
|
293
|
+
- `MicroStopEvents.micro_stop_frequency` reports every window from the first
|
|
294
|
+
to the last micro-stop, with zeros in between: the zero windows between two
|
|
295
|
+
slices are inserted when they are merged, on the method's window grid.
|
|
296
|
+
|
|
297
|
+
## Conditional support
|
|
298
|
+
|
|
299
|
+
Some methods run chunked only when one argument is passed explicitly: their
|
|
300
|
+
default takes something from the whole signal, which an explicit value
|
|
301
|
+
replaces. `ts_shape.stream.CONDITIONAL` maps each of them to the argument and
|
|
302
|
+
the reason:
|
|
303
|
+
|
|
304
|
+
| Method | Pass | Because the default |
|
|
305
|
+
|---|---|---|
|
|
306
|
+
| `DataGapAnalysisEvents.detect_gaps` | `min_gap=...` | is twice the whole signal's median sampling step |
|
|
307
|
+
| `DataGapAnalysisEvents.coverage_by_period` | `min_gap=...` | is twice the whole signal's median sampling step |
|
|
308
|
+
| `AnomalyClassificationEvents.detect_flatline` | `interval_end="last_sample"` | `"next_change"` keeps a one-sample run only when the gap after it is longer than the whole signal's median sampling step |
|
|
309
|
+
| `ChangeoverEvents.changeover_window` | `until="fixed_window"` (the default) | `"stable_band"` compares against an expanding median over all data after each change |
|
|
310
|
+
|
|
311
|
+
Without the argument the call raises `NotChunkableError`, which names it:
|
|
312
|
+
|
|
313
|
+
```python
|
|
314
|
+
from ts_shape import DataGapAnalysisEvents, NotChunkableError
|
|
315
|
+
from ts_shape.stream import CONDITIONAL
|
|
316
|
+
|
|
317
|
+
print(CONDITIONAL["DataGapAnalysisEvents.detect_gaps"].argument)
|
|
318
|
+
try:
|
|
319
|
+
run_chunked(days(), DataGapAnalysisEvents, "detect_gaps",
|
|
320
|
+
signal_uuid="press:run")
|
|
321
|
+
except NotChunkableError as exc:
|
|
322
|
+
print(exc)
|
|
323
|
+
|
|
324
|
+
gaps = run_chunked(days(), DataGapAnalysisEvents, "detect_gaps",
|
|
325
|
+
signal_uuid="press:run", min_gap="2min")
|
|
326
|
+
```
|
|
327
|
+
|
|
239
328
|
## Limitations
|
|
240
329
|
|
|
241
330
|
Any other method raises `NotChunkableError` (a `ValueError`) with the reason
|
|
@@ -19,8 +19,10 @@ The rule's `shape` decides where the event time comes from:
|
|
|
19
19
|
| `static` | none | `to_event_log(..., timestamp=...)`, the same for all rows; default the Unix epoch (`1970-01-01T00:00Z`) | `NaT`, `NaN` |
|
|
20
20
|
|
|
21
21
|
A frame without the required columns raises an error naming the detector.
|
|
22
|
-
Naive timestamps are read as UTC.
|
|
23
|
-
|
|
22
|
+
Naive timestamps are read as UTC. Rows without an `ocel:timestamp` (a
|
|
23
|
+
missing `systime` for point rows, a missing `end` for interval and summary
|
|
24
|
+
rows) and interval and summary rows whose `end` is before their `start` are
|
|
25
|
+
dropped with a `DataQualityWarning`.
|
|
24
26
|
The implementation is `adapt` in `src/ts_shape/eventlog/adapters.py`.
|
|
25
27
|
|
|
26
28
|
## LabelRule fields
|
|
@@ -32,6 +34,7 @@ The implementation is `adapt` in `src/ts_shape/eventlog/adapters.py`.
|
|
|
32
34
|
| `shape` | `"point"` | see above |
|
|
33
35
|
| `produces_objects` | `("asset",)` | object types created automatically from standard columns (`source_uuid` becomes an `asset`); `()` for none |
|
|
34
36
|
| `severity_field` | `None` | numeric column bucketed into `ts_shape:severity` (a boolean column maps `True` to `warn`, `False` to `info`); without it the detector's `severity_level` column is used (the same `info` / `warn` / `critical` the result frame shows), else a `severity` label mapped through the shared severity table |
|
|
37
|
+
| `severity_thresholds` | `None` | `(warn, critical)` lower bounds for a numeric severity; `None` is `(3.0, 4.5)`, see [Severity](taxonomy.md#severity) |
|
|
35
38
|
| `value_field` | `None` | column used as `ts_shape:value`; without it the first of `value`, `value_double`, `value_integer` |
|
|
36
39
|
| `drop_fields` | `()` | output columns not copied into the event log |
|
|
37
40
|
| `standard_attrs` | `{}` | mapping to the [standard attribute keys](taxonomy.md#standard-attribute-extension) |
|
|
@@ -47,15 +50,19 @@ The implementation is `adapt` in `src/ts_shape/eventlog/adapters.py`.
|
|
|
47
50
|
- renders the activity from the template (a missing value renders as
|
|
48
51
|
`unknown`, with a `DataQualityWarning`);
|
|
49
52
|
- builds a content-based `ocel:eid`: a UUIDv5 of the detector, the row's
|
|
50
|
-
`source_uuid`, its timestamps, the activity
|
|
51
|
-
the row
|
|
52
|
-
|
|
53
|
+
`source_uuid`, its timestamps, the activity, every other column of
|
|
54
|
+
the row and the objects bound with `objects=` (one row bound to asset
|
|
55
|
+
`M1` and to `M2` gives two events). The same input always gives the
|
|
56
|
+
same ids, independent of row order, and the same detector on two
|
|
57
|
+
machines does not collide;
|
|
53
58
|
- fills `ts_shape:severity`, `ts_shape:value` and the standard attributes;
|
|
54
59
|
- copies every other output column as `<pack>:<column>` and drops such
|
|
55
60
|
columns when they are completely empty;
|
|
56
61
|
- creates the automatic objects and those passed with `objects=`.
|
|
57
|
-
4. Validates the result: required columns
|
|
58
|
-
every relation pointing to an existing event and object
|
|
62
|
+
4. Validates the result: required columns present, unique `ocel:eid`,
|
|
63
|
+
every relation pointing to an existing event and `(oid, type)` object,
|
|
64
|
+
and every object-to-object link and object change naming a known object
|
|
65
|
+
id. Column dtypes are not checked.
|
|
59
66
|
|
|
60
67
|
For `MachineStateEvents.detect_run_idle` (template
|
|
61
68
|
`production.machine_state.{state}`, shape `interval`) an output row with
|
|
@@ -55,17 +55,30 @@ output a `state` column produce `production:state` and `quality:state`.
|
|
|
55
55
|
|
|
56
56
|
## Severity
|
|
57
57
|
|
|
58
|
-
When a rule names a numeric `severity_field`, its value is bucketed
|
|
58
|
+
When a rule names a numeric `severity_field`, its value is bucketed by the
|
|
59
|
+
rule's `severity_thresholds` `(warn, critical)`, by default `(3.0, 4.5)`:
|
|
59
60
|
|
|
60
61
|
| Value | `ts_shape:severity` |
|
|
61
62
|
|---|---|
|
|
62
|
-
| `< 3.0` | `info` |
|
|
63
|
-
| `
|
|
64
|
-
| `>= 4.5` | `critical` |
|
|
63
|
+
| `< warn` (default `3.0`) | `info` |
|
|
64
|
+
| `warn` to `< critical` | `warn` |
|
|
65
|
+
| `>= critical` (default `4.5`) | `critical` |
|
|
65
66
|
| missing or not numeric | `<NA>` |
|
|
66
67
|
|
|
67
|
-
The thresholds match the z-score style `severity`
|
|
68
|
-
`OutlierDetectionEvents
|
|
68
|
+
The default thresholds match the z-score style `severity` of
|
|
69
|
+
`OutlierDetectionEvents.detect_outliers_zscore` and `detect_outliers_mad`
|
|
70
|
+
(`|z|` and the modified z-score). Two methods score on other scales and
|
|
71
|
+
have their own thresholds:
|
|
72
|
+
|
|
73
|
+
| Method | `severity` is | warn | critical |
|
|
74
|
+
|---|---|---|---|
|
|
75
|
+
| `detect_outliers_iqr` | distance beyond the fence, in IQR units | `1.5` | `3.0` |
|
|
76
|
+
| `detect_outliers_isolation_forest` | `-score_samples`, the anomaly score in `(0, 1]` | `0.6` | `0.7` |
|
|
77
|
+
|
|
78
|
+
For IQR, 1.5 IQR beyond the default 1.5-IQR fence is Tukey's outer fence
|
|
79
|
+
(3 IQR past the quartile, a "far out" value). For the isolation forest, a
|
|
80
|
+
score near 0.5 means "not distinctly anomalous" and scores towards 1 are
|
|
81
|
+
clear anomalies (Liu, Ting and Zhou, 2008).
|
|
69
82
|
|
|
70
83
|
A text `severity` takes its level from the frame's `severity_level` column,
|
|
71
84
|
which every detector result with categorical severity carries; it already
|
|
@@ -39,8 +39,10 @@ The pipeline is linear. You declare the role of each step:
|
|
|
39
39
|
Step names are unique: a second step with an explicit name that is taken
|
|
40
40
|
raises `ValueError`, while a transform without `name=` gets a `_2`, `_3`
|
|
41
41
|
suffix. `"input"` is reserved for the input frame in `run_steps()`. Each
|
|
42
|
-
transform works on
|
|
43
|
-
|
|
42
|
+
transform and detect step works on its own copy of the working DataFrame,
|
|
43
|
+
and every `"$input"` sentinel is a fresh copy, so a step that changes its
|
|
44
|
+
input in place never changes the DataFrame passed to `run()` or the input of
|
|
45
|
+
a later step.
|
|
44
46
|
|
|
45
47
|
## Step targets
|
|
46
48
|
|
|
@@ -56,7 +58,44 @@ or a `(class, "method")` pair. A classmethod or staticmethod (the filters,
|
|
|
56
58
|
`IntegerCalc`) is called on the class; for an instance method (detectors,
|
|
57
59
|
`DataHarmonizer`) the class is instantiated first. Keyword arguments are
|
|
58
60
|
passed flat and routed to the constructor or the method by parameter name. An
|
|
59
|
-
unknown keyword raises a `ValueError` listing what both accept
|
|
61
|
+
unknown keyword raises a `ValueError` listing what both accept; for a
|
|
62
|
+
classmethod or staticmethod the check runs against its own signature when
|
|
63
|
+
the step is added.
|
|
64
|
+
|
|
65
|
+
### A keyword both sides accept goes to both
|
|
66
|
+
|
|
67
|
+
When the constructor and the method both take a parameter of the same name,
|
|
68
|
+
a flat keyword is passed to **both**. That is what you want for shared
|
|
69
|
+
settings such as `time_column`, but a trap when the two parameters mean
|
|
70
|
+
different things:
|
|
71
|
+
|
|
72
|
+
- `LongDowntimeEvents.count_events_between_gaps`: the constructor's
|
|
73
|
+
`value_column` is the column of the **run-state** signal (default
|
|
74
|
+
`value_bool`), the method's `value_column` the column of the **production
|
|
75
|
+
counter** (default `value_integer`). A flat `value_column="value_integer"`
|
|
76
|
+
makes the constructor read the run state from `value_integer`, so no
|
|
77
|
+
downtime is found.
|
|
78
|
+
- `ContinuousProcessAlignmentEvents.align_to_reference`: the constructor's
|
|
79
|
+
`value_column` is the line-speed column, the method's the station value
|
|
80
|
+
carried through.
|
|
81
|
+
|
|
82
|
+
Prefix the keyword to send it to one side only: `init__<name>=` goes to the
|
|
83
|
+
constructor only, `method__<name>=` to the method only. A prefixed name is
|
|
84
|
+
checked against that side's signature, and wins over the flat name on its
|
|
85
|
+
side.
|
|
86
|
+
|
|
87
|
+
```python
|
|
88
|
+
from ts_shape.events.production.long_downtime_events import LongDowntimeEvents
|
|
89
|
+
|
|
90
|
+
pipe = Pipeline(name="between-stops").detect(
|
|
91
|
+
LongDowntimeEvents, "count_events_between_gaps",
|
|
92
|
+
name="windows",
|
|
93
|
+
run_state_uuid="m:run", # constructor only
|
|
94
|
+
production_df="$input", production_uuid="m:count",
|
|
95
|
+
aggregation="sum",
|
|
96
|
+
method__value_column="value_integer", # the counter column, method only
|
|
97
|
+
)
|
|
98
|
+
```
|
|
60
99
|
|
|
61
100
|
## Loading inside the pipeline
|
|
62
101
|
|
|
@@ -78,6 +78,23 @@ Inference cannot know everything. A change-encoded signal never gets an
|
|
|
78
78
|
inferred `max_gap`, because a value may legitimately hold for hours; set it to
|
|
79
79
|
your logging-outage threshold.
|
|
80
80
|
|
|
81
|
+
The inference rules, each recorded in `spec.notes`:
|
|
82
|
+
|
|
83
|
+
- **Sampled or change-encoded.** A signal is regularly sampled when at least
|
|
84
|
+
80 % of its sampling intervals lie within ±10 % of the median interval
|
|
85
|
+
(`REGULAR_SHARE`, `REGULAR_TOLERANCE` in `ts_shape.signals.infer`). A few
|
|
86
|
+
long logging gaps therefore do not make a regular signal look
|
|
87
|
+
change-encoded; they are reported as gaps instead. A state or counter is
|
|
88
|
+
change-encoded only when, in addition, under 5 % of its values repeat.
|
|
89
|
+
- **`max_gap`** of a sampled signal is 5 x the median interval.
|
|
90
|
+
- **Counter.** The values never decrease except at resets (a fall to under
|
|
91
|
+
half the level, at most 1 % of the readings) and increase at least 3
|
|
92
|
+
times, however rarely: one part every ten readings is still a counter. A
|
|
93
|
+
constant signal and a signal with only two values (on/off) are never
|
|
94
|
+
counters. A slow rise (increasing at under 20 % of the readings) over at
|
|
95
|
+
most 16 integer levels is ambiguous with a step state and is read as a
|
|
96
|
+
state; override `kind` if it is a counter.
|
|
97
|
+
|
|
81
98
|
Specs can also be kept as YAML next to the data (needs `ts-shape[yaml]`) and
|
|
82
99
|
loaded with `SignalSpecs.from_yaml("signals.yaml")`:
|
|
83
100
|
|
|
@@ -104,9 +121,23 @@ increments(df, specs["line1:parts"]) # reset-aware production per read
|
|
|
104
121
|
per_window(df, specs["line1:parts"], "1h") # parts per hour, nothing lost at resets or boundaries
|
|
105
122
|
per_window(df, specs["oven:temp"], "15min") # time-weighted mean, never across a gap
|
|
106
123
|
windows("2024-03-30", "2024-04-02", "1D", tz="Europe/Berlin") # days of 24 h, 23 h, 24 h
|
|
124
|
+
windows("2024-01-01", "2024-03-01", "ME") # calendar months from the 1st
|
|
107
125
|
shift_windows("2024-03-30", "2024-03-31", tz="Europe/Berlin") # the DST night shift is 7 h
|
|
108
126
|
```
|
|
109
127
|
|
|
128
|
+
Every window from `windows` is `[start, end)` and the first one contains
|
|
129
|
+
`start`, also for frequencies that `resample` labels by their last day
|
|
130
|
+
(`"W"` gives Monday-to-Monday weeks, `"ME"` calendar months).
|
|
131
|
+
|
|
132
|
+
`intervals` holds the last value until `data_end` only while that is within
|
|
133
|
+
`spec.max_gap` of the last sample (as `per_window` does); after a longer
|
|
134
|
+
silence the final interval ends at its last sample.
|
|
135
|
+
|
|
136
|
+
The primitives take `uuid_column=` (default `"uuid"`) and keep only the rows
|
|
137
|
+
of the spec's signal. A frame without that column is read as one signal; if
|
|
138
|
+
its timestamps repeat (at least 10 % of the rows) it clearly holds several
|
|
139
|
+
signals and a `ValueError` asks for `uuid_column=`.
|
|
140
|
+
|
|
110
141
|
`per_window` returns a float Series indexed by window start and named after
|
|
111
142
|
the signal's uuid. For a boolean state it is the share of the *known* time
|
|
112
143
|
that was True: a missing reading counts as unknown until the next reading.
|
|
@@ -6,6 +6,161 @@ future major release. To find every deprecated name your code still uses, run
|
|
|
6
6
|
your tests with `-W error::DeprecationWarning`. The dated record is the
|
|
7
7
|
[Changelog](changelog.md).
|
|
8
8
|
|
|
9
|
+
## October 2026, round 17 (part I): event log, pipeline, signals
|
|
10
|
+
|
|
11
|
+
Each change is pinned by a hand-computed test in
|
|
12
|
+
`tests/reference/test_round17_eventlog.py` and
|
|
13
|
+
`tests/reference/test_round17_pipeline_signals.py`.
|
|
14
|
+
|
|
15
|
+
### Event log
|
|
16
|
+
|
|
17
|
+
- Event ids now include the objects bound with `objects=`. The same detector
|
|
18
|
+
row bound to asset M1 and to asset M2 gives two events, so `concat` of
|
|
19
|
+
per-asset logs no longer merges them. Ids of logs built without `objects=`
|
|
20
|
+
are unchanged; ids of logs built with `objects=` change.
|
|
21
|
+
- `to_event_log_xes(lifecycle="two_row")` puts `start` before `complete` when
|
|
22
|
+
both have the same timestamp.
|
|
23
|
+
- `concat` keeps object changes that differ only in `ocel:type`, and
|
|
24
|
+
relations that differ only in `ocel:qualifier`. `filter_by_pack` and
|
|
25
|
+
`filter_by_object` keep only the changes of the `(oid, type)` objects they
|
|
26
|
+
keep.
|
|
27
|
+
- Severity follows each detector's own scale. The new
|
|
28
|
+
`LabelRule.severity_thresholds` sets the warn and critical levels.
|
|
29
|
+
- `detect_outliers_isolation_forest` is warn from a score of 0.6 and
|
|
30
|
+
critical from 0.7. Before, it was always `info`.
|
|
31
|
+
- `detect_outliers_iqr` is warn from 1.5 and critical from 3.0 IQR beyond
|
|
32
|
+
the fence. Before, the levels were 3.0 and 4.5.
|
|
33
|
+
- `severity_level` ignores case and surrounding blanks, so "High" maps like
|
|
34
|
+
"high".
|
|
35
|
+
- Rows with a missing event timestamp are dropped with a
|
|
36
|
+
`DataQualityWarning`. The timestamp is `systime` for point rows and `end`
|
|
37
|
+
otherwise.
|
|
38
|
+
- `to_event_log_xes` on an empty log returns an empty XES frame instead of
|
|
39
|
+
raising.
|
|
40
|
+
|
|
41
|
+
### Context
|
|
42
|
+
|
|
43
|
+
- `ValueMapper` reads mapping-file keys as text. "007" and "7" are different
|
|
44
|
+
keys, and a file key "1.0" no longer matches the code 1. Integer,
|
|
45
|
+
integral-float and text codes still match the key "1".
|
|
46
|
+
|
|
47
|
+
### Pipeline
|
|
48
|
+
|
|
49
|
+
- `init__<name>=` and `method__<name>=` send an argument to the constructor
|
|
50
|
+
only or to the method only. A plain name that both accept still goes to
|
|
51
|
+
both. Watch `LongDowntimeEvents.count_events_between_gaps` and
|
|
52
|
+
`ContinuousProcessAlignmentEvents.align_to_reference`, where `value_column`
|
|
53
|
+
means different things on each side.
|
|
54
|
+
- Class-method and static-method detect steps carry a `"Class.method"`
|
|
55
|
+
identity and appear in `to_event_log()`. Unknown arguments on them now
|
|
56
|
+
raise `ValueError` when the pipeline is built.
|
|
57
|
+
- A plain-callable step whose arguments name its first parameter (for
|
|
58
|
+
example `dataframe="$prev"`) gets the frame by keyword.
|
|
59
|
+
- Every detect step gets a private copy of the working frame, and every use
|
|
60
|
+
of `$input` is a fresh copy. A step that changes its input in place no
|
|
61
|
+
longer affects later steps.
|
|
62
|
+
- `Pipeline.run_stream`: each detect step sees the data transformed only by
|
|
63
|
+
the transforms before it, as in `run()`. Before, it saw the data after all
|
|
64
|
+
transforms.
|
|
65
|
+
|
|
66
|
+
### Signals
|
|
67
|
+
|
|
68
|
+
- Inference decides sampled or change-encoded by the share of intervals
|
|
69
|
+
within ±10 % of the median. At least 80 % means sampled. This replaces the
|
|
70
|
+
mean/std CV, so a regular signal with a few long gaps stays sampled and
|
|
71
|
+
`profile()` reports its gaps.
|
|
72
|
+
- A slow monotonic counter with at least 3 increases is a counter. Two-level
|
|
73
|
+
and constant signals never are. A slow rise over 16 or fewer integer levels
|
|
74
|
+
stays a state; pass `kind="counter"` to override.
|
|
75
|
+
- `windows()` with `"W"` or `"ME"` gives real calendar windows: Monday to
|
|
76
|
+
Monday weeks, and months from the 1st. The first window contains `start`.
|
|
77
|
+
- `intervals()` no longer holds the last value to `data_end` across more than
|
|
78
|
+
`max_gap`. The last interval then ends at its last sample, as in
|
|
79
|
+
`per_window`.
|
|
80
|
+
- The primitives take `uuid_column=` (default `"uuid"`). A frame without that
|
|
81
|
+
column whose timestamps repeat now raises `ValueError`.
|
|
82
|
+
|
|
83
|
+
## October 2026, round 16: DST-day windows, more chunkable methods
|
|
84
|
+
|
|
85
|
+
Each change is pinned by a hand-computed test in
|
|
86
|
+
`tests/reference/test_round16_dst.py`. `tests/invariants/test_dst_windows.py`
|
|
87
|
+
checks every summary method on both DST changes.
|
|
88
|
+
|
|
89
|
+
### Results that change (DST days on tz-aware data only)
|
|
90
|
+
|
|
91
|
+
On a DST change a daily window is 23 h (82800 s, spring) or 25 h (90000 s,
|
|
92
|
+
fall) long. These methods measured it as a fixed 24 h; they now use the real
|
|
93
|
+
window. Windows that do not cross a DST change are unchanged, bit for bit.
|
|
94
|
+
|
|
95
|
+
- Time shares, percentages and rates:
|
|
96
|
+
- `ThresholdMonitoringEvents.time_above_threshold`: `time_above`,
|
|
97
|
+
`time_above_seconds`, `pct_above` and `time_above_pct`, in both
|
|
98
|
+
`interval_end` modes. A signal that is always above the threshold on
|
|
99
|
+
2024-03-31 in Europe/Berlin reads 82800 s and 100 %. Before, it read
|
|
100
|
+
86400 s, or 95.8 % when the data ended at midnight.
|
|
101
|
+
- `ThresholdMonitoringEvents.threshold_exceedance_trend`:
|
|
102
|
+
`total_duration(_seconds)`.
|
|
103
|
+
- `MicroStopEvents.micro_stop_frequency`: `pct_of_window` and
|
|
104
|
+
`share_of_window_pct`.
|
|
105
|
+
- `DutyCycleEvents.duty_cycle_by_window(time_weighted=False)`: `on_time`
|
|
106
|
+
and `off_time`.
|
|
107
|
+
- `InventoryMonitoringEvents.consumption_rate`: the rate per hour.
|
|
108
|
+
- `FlowMetricsEvents.throughput` and `flow_summary`:
|
|
109
|
+
`throughput_per_hour`.
|
|
110
|
+
- `DisturbanceRecoveryEvents.disturbance_frequency`: `pct_time_disturbed`
|
|
111
|
+
and `time_disturbed_pct`.
|
|
112
|
+
- `end` is the next local midnight and `duration_seconds` the real length,
|
|
113
|
+
instead of start + 24 h. Affected:
|
|
114
|
+
- `FlowMetricsEvents.throughput`, `flow_summary` and `wip_over_time`
|
|
115
|
+
- `BottleneckDetectionEvents.detect_bottleneck`
|
|
116
|
+
- `AssetHealthIndexEvents.health_index`
|
|
117
|
+
- `MultiSensorValidationEvents.detect_disagreement`
|
|
118
|
+
- `SensorDriftEvents.detect_zero_drift`
|
|
119
|
+
- `MaterialBalanceEvents.detect_balance_exceedance`
|
|
120
|
+
- `LineBalancingEvents.station_cycle_times` and `balance_metrics`
|
|
121
|
+
- `PerformanceLossEvents.slow_periods`
|
|
122
|
+
- `ControlLoopHealthEvents.detect_oscillation`
|
|
123
|
+
- Membership follows the real day:
|
|
124
|
+
- `SensorDriftEvents.detect_zero_drift`, `detect_span_drift` and
|
|
125
|
+
`calibration_health` look up the reference over the real day. A 23 h
|
|
126
|
+
day no longer includes reference samples from the next day's first
|
|
127
|
+
hour.
|
|
128
|
+
- `ControlLoopHealthEvents.loop_health_summary` counts oscillation
|
|
129
|
+
episodes in the real window (`oscillation_count`).
|
|
130
|
+
- `DutyCycleEvents.excessive_cycling` averages the intervals in the real
|
|
131
|
+
window (`avg_on_duration` / `avg_off_duration`).
|
|
132
|
+
- `DisturbanceRecoveryEvents.disturbance_frequency` also assigns
|
|
133
|
+
disturbances to windows by the real day.
|
|
134
|
+
|
|
135
|
+
### Chunked processing
|
|
136
|
+
|
|
137
|
+
- `ts_shape.stream.CONDITIONAL` (`"Class.method" -> Condition(argument,
|
|
138
|
+
reason)`) lists methods that run chunked only with one argument:
|
|
139
|
+
- `DataGapAnalysisEvents.detect_gaps` and `coverage_by_period` need
|
|
140
|
+
`min_gap=...`.
|
|
141
|
+
- `AnomalyClassificationEvents.detect_flatline` needs
|
|
142
|
+
`interval_end="last_sample"`.
|
|
143
|
+
- `ChangeoverEvents.changeover_window` works, but not with
|
|
144
|
+
`until="stable_band"`.
|
|
145
|
+
|
|
146
|
+
Without it, `NotChunkableError` names the argument to pass.
|
|
147
|
+
- Calendar chunks: `chunk="W"` (Monday to Monday; also `"W-<DAY>"`) and
|
|
148
|
+
`chunk="MS"`, cut at local midnight.
|
|
149
|
+
`PeriodSummaryEvents.weekly_summary` and `monthly_summary` are chunkable
|
|
150
|
+
with `chunk="W"` and `chunk="MS"`.
|
|
151
|
+
- `MicroStopEvents.micro_stop_frequency` is chunkable. Empty windows between
|
|
152
|
+
slices are filled in on merge.
|
|
153
|
+
- `iter_chunked` yields all `detect_gaps` rows, and the last
|
|
154
|
+
`coverage_by_period` window, after the last slice. They need the whole
|
|
155
|
+
run's sample count or median sampling step.
|
|
156
|
+
- Fix: chunked `ChangeoverEvents.detect_changeover` with `min_duration`,
|
|
157
|
+
`changeover_window` with a `config` `min_duration`, and
|
|
158
|
+
`MicroStopEvents.micro_stop_impact` now match the in-memory result when an
|
|
159
|
+
event crosses a slice border.
|
|
160
|
+
- `DataGapAnalysisEvents.interpolation_candidates` is no longer chunkable.
|
|
161
|
+
Its `safe_to_interpolate` uses the whole signal's standard deviation, so
|
|
162
|
+
run it in memory.
|
|
163
|
+
|
|
9
164
|
## October 2026, round 15: chunked processing
|
|
10
165
|
|
|
11
166
|
New only; no existing result changes. See
|
|
@@ -83,6 +83,11 @@ class ValueMapper(Base):
|
|
|
83
83
|
"""
|
|
84
84
|
Loads the mapping table from a CSV or JSON file.
|
|
85
85
|
|
|
86
|
+
The key column is read as text, so a code ``"007"`` keeps its
|
|
87
|
+
leading zeros (and is not the same key as ``"7"``). A JSON file's
|
|
88
|
+
values are not type-inferred; JSON numbers used as keys are turned
|
|
89
|
+
into text (``7`` -> ``"7"``, ``1.0`` -> ``"1"``).
|
|
90
|
+
|
|
86
91
|
Args:
|
|
87
92
|
mapping_file (str): The file path of the mapping table.
|
|
88
93
|
file_type (str): The type of the file ('csv' or 'json').
|
|
@@ -91,9 +96,19 @@ class ValueMapper(Base):
|
|
|
91
96
|
pd.DataFrame: The loaded mapping table as a DataFrame.
|
|
92
97
|
"""
|
|
93
98
|
if file_type == "csv":
|
|
94
|
-
return pd.read_csv(
|
|
99
|
+
return pd.read_csv(
|
|
100
|
+
mapping_file,
|
|
101
|
+
sep=self.sep,
|
|
102
|
+
encoding=self.encoding,
|
|
103
|
+
dtype={self.mapping_key_column: str},
|
|
104
|
+
)
|
|
95
105
|
elif file_type == "json":
|
|
96
|
-
|
|
106
|
+
table = pd.read_json(mapping_file, encoding=self.encoding, dtype=False)
|
|
107
|
+
if self.mapping_key_column in table.columns:
|
|
108
|
+
table[self.mapping_key_column] = [
|
|
109
|
+
_key_text(v) for v in table[self.mapping_key_column]
|
|
110
|
+
]
|
|
111
|
+
return table
|
|
97
112
|
else:
|
|
98
113
|
raise ValueError("Unsupported file type. Please use 'csv' or 'json'.")
|
|
99
114
|
|
|
@@ -101,8 +116,12 @@ class ValueMapper(Base):
|
|
|
101
116
|
"""
|
|
102
117
|
Maps values in the specified DataFrame column based on the mapping table.
|
|
103
118
|
|
|
104
|
-
Keys are compared as text
|
|
105
|
-
|
|
119
|
+
Keys are compared as text. The mapping file's keys are read as text
|
|
120
|
+
verbatim (``"007"`` matches only ``"007"``, never ``7``; a key
|
|
121
|
+
``"1.0"`` matches only the text ``"1.0"``). Values of ``map_column``
|
|
122
|
+
are turned into text, with integral floats written without the
|
|
123
|
+
fraction, so the key ``"1"`` matches the codes ``1``, ``1.0`` and
|
|
124
|
+
``"1"``, and the key ``"7"`` matches ``7`` but not ``"007"``. Codes the
|
|
106
125
|
table does not contain keep their original value, with a
|
|
107
126
|
:class:`~ts_shape.errors.DataQualityWarning` counting them. The other
|
|
108
127
|
columns of the DataFrame are unchanged, whatever the mapping table's
|