ts-shape 0.0.75__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.
Files changed (650) hide show
  1. {ts_shape-0.0.75 → ts_shape-0.0.76}/CHANGES.txt +15 -0
  2. {ts_shape-0.0.75/src/ts_shape.egg-info → ts_shape-0.0.76}/PKG-INFO +1 -1
  3. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/guides/chunked-processing.md +3 -1
  4. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/guides/eventlog/adapters.md +14 -7
  5. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/guides/eventlog/taxonomy.md +19 -6
  6. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/guides/pipeline-builder.md +42 -3
  7. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/guides/signals.md +31 -0
  8. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/migration.md +74 -0
  9. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/context/value_mapping.py +23 -4
  10. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/eventlog/adapters.py +115 -24
  11. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/eventlog/concat.py +15 -9
  12. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/eventlog/flat.py +39 -6
  13. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/eventlog/introspect.py +3 -2
  14. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/eventlog/model.py +14 -1
  15. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/eventlog/normalizer.py +9 -4
  16. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/eventlog/taxonomy.py +24 -5
  17. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/_output.py +9 -5
  18. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/pipeline.py +202 -38
  19. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/signals/infer.py +54 -12
  20. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/signals/primitives.py +86 -12
  21. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/stream.py +51 -19
  22. {ts_shape-0.0.75 → ts_shape-0.0.76/src/ts_shape.egg-info}/PKG-INFO +1 -1
  23. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape.egg-info/SOURCES.txt +2 -0
  24. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape.egg-info/scm_file_list.json +2 -0
  25. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/eventlog/test_flat_and_ocel.py +3 -2
  26. ts_shape-0.0.76/tests/reference/test_round17_eventlog.py +449 -0
  27. ts_shape-0.0.76/tests/reference/test_round17_pipeline_signals.py +403 -0
  28. {ts_shape-0.0.75 → ts_shape-0.0.76}/.github/scripts/next_version.py +0 -0
  29. {ts_shape-0.0.75 → ts_shape-0.0.76}/.github/workflows/ci.yml +0 -0
  30. {ts_shape-0.0.75 → ts_shape-0.0.76}/.github/workflows/release.yml +0 -0
  31. {ts_shape-0.0.75 → ts_shape-0.0.76}/.gitignore +0 -0
  32. {ts_shape-0.0.75 → ts_shape-0.0.76}/.pre-commit-config.yaml +0 -0
  33. {ts_shape-0.0.75 → ts_shape-0.0.76}/LICENSE.txt +0 -0
  34. {ts_shape-0.0.75 → ts_shape-0.0.76}/README.md +0 -0
  35. {ts_shape-0.0.75 → ts_shape-0.0.76}/benchmarks/run.py +0 -0
  36. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/assets/favicon-16x16.png +0 -0
  37. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/assets/favicon-32x32.png +0 -0
  38. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/assets/favicon-48x48.png +0 -0
  39. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/assets/ts-shape.png +0 -0
  40. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/changelog.md +0 -0
  41. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/concept.md +0 -0
  42. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/contributing.md +0 -0
  43. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/examples.md +0 -0
  44. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/guides/context.md +0 -0
  45. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/guides/energy.md +0 -0
  46. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/guides/engineering.md +0 -0
  47. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/guides/eventlog/index.md +0 -0
  48. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/guides/eventlog/objects.md +0 -0
  49. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/guides/feature-extraction.md +0 -0
  50. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/guides/lambda-rules.md +0 -0
  51. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/guides/loading.md +0 -0
  52. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/guides/maintenance.md +0 -0
  53. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/guides/ml-features.md +0 -0
  54. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/guides/production.md +0 -0
  55. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/guides/quality.md +0 -0
  56. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/guides/transforms.md +0 -0
  57. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/index.md +0 -0
  58. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/insiders/development.md +0 -0
  59. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/license.md +0 -0
  60. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/correlation/anomaly-correlation.md +0 -0
  61. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/correlation/root-cause-correlation.md +0 -0
  62. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/correlation/signal-correlation.md +0 -0
  63. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/development/critical-parameter-ranking.md +0 -0
  64. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/development/design-of-experiments.md +0 -0
  65. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/development/design-space.md +0 -0
  66. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/development/golden-batch.md +0 -0
  67. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/development/recipe-phase-adherence.md +0 -0
  68. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/energy/carbon-intensity.md +0 -0
  69. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/energy/consumption-analysis.md +0 -0
  70. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/energy/efficiency-tracking.md +0 -0
  71. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/energy/energy-performance-indicator.md +0 -0
  72. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/energy/idle-energy-detection.md +0 -0
  73. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/energy/power-integration.md +0 -0
  74. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/engineering/control-loop-health.md +0 -0
  75. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/engineering/disturbance-recovery.md +0 -0
  76. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/engineering/material-balance.md +0 -0
  77. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/engineering/operating-range.md +0 -0
  78. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/engineering/process-stability.md +0 -0
  79. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/engineering/process-windows.md +0 -0
  80. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/engineering/rate-of-change.md +0 -0
  81. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/engineering/setpoint-events.md +0 -0
  82. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/engineering/signal-comparison.md +0 -0
  83. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/engineering/startup-detection.md +0 -0
  84. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/engineering/steady-state.md +0 -0
  85. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/engineering/threshold-monitoring.md +0 -0
  86. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/engineering/time-to-threshold.md +0 -0
  87. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/engineering/warmup-analysis.md +0 -0
  88. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/index.md +0 -0
  89. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/maintenance/asset-health-index.md +0 -0
  90. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/maintenance/degradation-detection.md +0 -0
  91. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/maintenance/failure-prediction.md +0 -0
  92. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/maintenance/reliability.md +0 -0
  93. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/maintenance/vibration-analysis.md +0 -0
  94. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/production/alarm-management.md +0 -0
  95. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/production/batch-tracking.md +0 -0
  96. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/production/bottleneck-detection.md +0 -0
  97. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/production/changeover.md +0 -0
  98. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/production/continuous-process-alignment.md +0 -0
  99. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/production/cycle-time.md +0 -0
  100. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/production/downtime.md +0 -0
  101. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/production/duty-cycle.md +0 -0
  102. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/production/flow-constraints.md +0 -0
  103. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/production/flow-metrics.md +0 -0
  104. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/production/line-balancing.md +0 -0
  105. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/production/line-throughput.md +0 -0
  106. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/production/long-downtime.md +0 -0
  107. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/production/machine-state.md +0 -0
  108. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/production/micro-stops.md +0 -0
  109. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/production/multi-process-traceability.md +0 -0
  110. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/production/oee-calculator.md +0 -0
  111. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/production/operating-state.md +0 -0
  112. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/production/operator-performance.md +0 -0
  113. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/production/order-traceability.md +0 -0
  114. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/production/part-tracking.md +0 -0
  115. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/production/performance-loss.md +0 -0
  116. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/production/period-summary.md +0 -0
  117. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/production/quality-tracking.md +0 -0
  118. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/production/rework-tracking.md +0 -0
  119. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/production/routing-traceability.md +0 -0
  120. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/production/runtime-accounting.md +0 -0
  121. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/production/schedule-adherence.md +0 -0
  122. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/production/scrap-tracking.md +0 -0
  123. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/production/setup-time.md +0 -0
  124. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/production/shift-handover.md +0 -0
  125. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/production/shift-reporting.md +0 -0
  126. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/production/target-tracking.md +0 -0
  127. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/quality/anomaly-classification.md +0 -0
  128. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/quality/calibration-validation.md +0 -0
  129. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/quality/capability-trending.md +0 -0
  130. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/quality/change-point.md +0 -0
  131. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/quality/data-gap-analysis.md +0 -0
  132. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/quality/environmental-compensation.md +0 -0
  133. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/quality/gauge-rr.md +0 -0
  134. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/quality/measurement-uncertainty.md +0 -0
  135. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/quality/multi-sensor-validation.md +0 -0
  136. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/quality/multivariate-spc.md +0 -0
  137. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/quality/outlier-detection.md +0 -0
  138. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/quality/sampling-resolution.md +0 -0
  139. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/quality/sensor-drift.md +0 -0
  140. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/quality/signal-quality.md +0 -0
  141. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/quality/spc.md +0 -0
  142. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/quality/tolerance-deviation.md +0 -0
  143. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/quality/value-distribution.md +0 -0
  144. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/supplychain/demand-patterns.md +0 -0
  145. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/supplychain/inventory-monitoring.md +0 -0
  146. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/modules/supplychain/lead-time-analysis.md +0 -0
  147. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/naming.md +0 -0
  148. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/reference/index.md +0 -0
  149. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/roadmap.md +0 -0
  150. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/user_guide/installation.md +0 -0
  151. {ts_shape-0.0.75 → ts_shape-0.0.76}/docs/user_guide/quick_start.md +0 -0
  152. {ts_shape-0.0.75 → ts_shape-0.0.76}/examples/README.md +0 -0
  153. {ts_shape-0.0.75 → ts_shape-0.0.76}/examples/context_enricher_demo.py +0 -0
  154. {ts_shape-0.0.75 → ts_shape-0.0.76}/examples/correlation_events_demo.py +0 -0
  155. {ts_shape-0.0.75 → ts_shape-0.0.76}/examples/cycle_extractor_enhancements_demo.py +0 -0
  156. {ts_shape-0.0.75 → ts_shape-0.0.76}/examples/energy_events_demo.py +0 -0
  157. {ts_shape-0.0.75 → ts_shape-0.0.76}/examples/eventlog_demo.py +0 -0
  158. {ts_shape-0.0.75 → ts_shape-0.0.76}/examples/features_statistics_demo.py +0 -0
  159. {ts_shape-0.0.75 → ts_shape-0.0.76}/examples/lambda_rules_demo.py +0 -0
  160. {ts_shape-0.0.75 → ts_shape-0.0.76}/examples/lambda_rules_demo.yaml +0 -0
  161. {ts_shape-0.0.75 → ts_shape-0.0.76}/examples/line_flow_analytics_demo.py +0 -0
  162. {ts_shape-0.0.75 → ts_shape-0.0.76}/examples/loader_usage_demo.py +0 -0
  163. {ts_shape-0.0.75 → ts_shape-0.0.76}/examples/maintenance_events_demo.py +0 -0
  164. {ts_shape-0.0.75 → ts_shape-0.0.76}/examples/object_detection_demo.py +0 -0
  165. {ts_shape-0.0.75 → ts_shape-0.0.76}/examples/pipeline_demo.py +0 -0
  166. {ts_shape-0.0.75 → ts_shape-0.0.76}/examples/production_events_demo.py +0 -0
  167. {ts_shape-0.0.75 → ts_shape-0.0.76}/examples/production_tracking_demo.py +0 -0
  168. {ts_shape-0.0.75 → ts_shape-0.0.76}/examples/quality_events_demo.py +0 -0
  169. {ts_shape-0.0.75 → ts_shape-0.0.76}/examples/setpoint_events_advanced_usage.py +0 -0
  170. {ts_shape-0.0.75 → ts_shape-0.0.76}/examples/supplychain_events_demo.py +0 -0
  171. {ts_shape-0.0.75 → ts_shape-0.0.76}/examples/transform_operations_demo.py +0 -0
  172. {ts_shape-0.0.75 → ts_shape-0.0.76}/examples/unit_runtime_demo.py +0 -0
  173. {ts_shape-0.0.75 → ts_shape-0.0.76}/mkdocs.yml +0 -0
  174. {ts_shape-0.0.75 → ts_shape-0.0.76}/pyproject.toml +0 -0
  175. {ts_shape-0.0.75 → ts_shape-0.0.76}/renovate.json +0 -0
  176. {ts_shape-0.0.75 → ts_shape-0.0.76}/scripts/gen_ref_pages.py +0 -0
  177. {ts_shape-0.0.75 → ts_shape-0.0.76}/scripts/scan_deprecations.sh +0 -0
  178. {ts_shape-0.0.75 → ts_shape-0.0.76}/setup.cfg +0 -0
  179. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/__init__.py +0 -0
  180. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/catalog.py +0 -0
  181. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/context/__init__.py +0 -0
  182. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/datasets.py +0 -0
  183. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/errors.py +0 -0
  184. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/eventlog/__init__.py +0 -0
  185. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/eventlog/align.py +0 -0
  186. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/eventlog/archetypes.py +0 -0
  187. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/eventlog/lambda_rules/__init__.py +0 -0
  188. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/eventlog/lambda_rules/backtest.py +0 -0
  189. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/eventlog/lambda_rules/detector.py +0 -0
  190. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/eventlog/lambda_rules/evaluator.py +0 -0
  191. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/eventlog/lambda_rules/expression.py +0 -0
  192. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/eventlog/lambda_rules/loader.py +0 -0
  193. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/eventlog/lambda_rules/spec.py +0 -0
  194. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/eventlog/objects.py +0 -0
  195. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/eventlog/ocel.py +0 -0
  196. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/eventlog/schema.py +0 -0
  197. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/__init__.py +0 -0
  198. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/_compat.py +0 -0
  199. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/_windows.py +0 -0
  200. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/correlation/__init__.py +0 -0
  201. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/correlation/anomaly_correlation.py +0 -0
  202. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/correlation/root_cause_correlation.py +0 -0
  203. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/correlation/signal_correlation.py +0 -0
  204. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/development/__init__.py +0 -0
  205. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/development/critical_parameter_ranking.py +0 -0
  206. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/development/design_of_experiments.py +0 -0
  207. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/development/design_space.py +0 -0
  208. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/development/golden_batch.py +0 -0
  209. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/development/recipe_phase_adherence.py +0 -0
  210. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/energy/__init__.py +0 -0
  211. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/energy/carbon_intensity.py +0 -0
  212. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/energy/consumption_analysis.py +0 -0
  213. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/energy/efficiency_tracking.py +0 -0
  214. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/energy/energy_performance_indicator.py +0 -0
  215. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/energy/idle_energy_detection.py +0 -0
  216. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/engineering/__init__.py +0 -0
  217. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/engineering/control_loop_health.py +0 -0
  218. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/engineering/disturbance_recovery.py +0 -0
  219. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/engineering/material_balance.py +0 -0
  220. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/engineering/operating_range.py +0 -0
  221. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/engineering/process_stability_index.py +0 -0
  222. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/engineering/process_window.py +0 -0
  223. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/engineering/rate_of_change.py +0 -0
  224. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/engineering/setpoint_events.py +0 -0
  225. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/engineering/signal_comparison.py +0 -0
  226. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/engineering/startup_events.py +0 -0
  227. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/engineering/steady_state_detection.py +0 -0
  228. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/engineering/threshold_monitoring.py +0 -0
  229. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/engineering/time_to_threshold.py +0 -0
  230. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/engineering/warmup_analysis.py +0 -0
  231. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/maintenance/__init__.py +0 -0
  232. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/maintenance/_rolling.py +0 -0
  233. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/maintenance/asset_health_index.py +0 -0
  234. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/maintenance/degradation_detection.py +0 -0
  235. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/maintenance/failure_prediction.py +0 -0
  236. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/maintenance/reliability.py +0 -0
  237. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/maintenance/vibration_analysis.py +0 -0
  238. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/__init__.py +0 -0
  239. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/_counter_groups.py +0 -0
  240. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/_flow.py +0 -0
  241. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/alarm_management.py +0 -0
  242. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/batch_tracking.py +0 -0
  243. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/bottleneck_detection.py +0 -0
  244. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/changeover.py +0 -0
  245. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/continuous_process_alignment.py +0 -0
  246. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/cycle_time_tracking.py +0 -0
  247. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/downtime_tracking.py +0 -0
  248. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/duty_cycle.py +0 -0
  249. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/flow_constraints.py +0 -0
  250. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/flow_metrics.py +0 -0
  251. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/line_balancing.py +0 -0
  252. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/line_throughput.py +0 -0
  253. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/long_downtime_events.py +0 -0
  254. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/machine_state.py +0 -0
  255. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/micro_stop_detection.py +0 -0
  256. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/multi_process_traceability.py +0 -0
  257. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/oee_calculator.py +0 -0
  258. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/operating_state.py +0 -0
  259. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/operator_performance.py +0 -0
  260. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/order_traceability.py +0 -0
  261. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/part_tracking.py +0 -0
  262. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/performance_loss.py +0 -0
  263. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/period_summary.py +0 -0
  264. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/quality_tracking.py +0 -0
  265. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/rework_tracking.py +0 -0
  266. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/routing_traceability.py +0 -0
  267. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/runtime_accounting.py +0 -0
  268. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/schedule_adherence.py +0 -0
  269. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/scrap_tracking.py +0 -0
  270. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/setup_time_tracking.py +0 -0
  271. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/shift_handover.py +0 -0
  272. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/shift_reporting.py +0 -0
  273. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/production/target_tracking.py +0 -0
  274. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/quality/__init__.py +0 -0
  275. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/quality/anomaly_classification.py +0 -0
  276. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/quality/calibration_validation.py +0 -0
  277. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/quality/capability_trending.py +0 -0
  278. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/quality/change_point.py +0 -0
  279. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/quality/data_gap_analysis.py +0 -0
  280. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/quality/environmental_compensation.py +0 -0
  281. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/quality/gauge_repeatability.py +0 -0
  282. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/quality/measurement_uncertainty.py +0 -0
  283. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/quality/multi_sensor_validation.py +0 -0
  284. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/quality/multivariate_spc.py +0 -0
  285. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/quality/outlier_detection.py +0 -0
  286. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/quality/sampling_resolution.py +0 -0
  287. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/quality/sensor_drift.py +0 -0
  288. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/quality/signal_quality.py +0 -0
  289. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/quality/statistical_process_control.py +0 -0
  290. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/quality/tolerance_deviation.py +0 -0
  291. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/quality/value_distribution.py +0 -0
  292. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/supplychain/__init__.py +0 -0
  293. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/supplychain/demand_pattern.py +0 -0
  294. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/supplychain/inventory_monitoring.py +0 -0
  295. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/events/supplychain/lead_time_analysis.py +0 -0
  296. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/features/__init__.py +0 -0
  297. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/features/cross_signal.py +0 -0
  298. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/features/cycles/__init__.py +0 -0
  299. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/features/cycles/cycle_processor.py +0 -0
  300. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/features/cycles/cycles_extractor.py +0 -0
  301. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/features/export.py +0 -0
  302. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/features/pattern_recognition.py +0 -0
  303. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/features/segment_analysis/__init__.py +0 -0
  304. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/features/segment_analysis/_grouped_stats.py +0 -0
  305. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/features/segment_analysis/profile_comparison.py +0 -0
  306. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/features/segment_analysis/segment_extractor.py +0 -0
  307. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/features/segment_analysis/segment_processor.py +0 -0
  308. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/features/segment_analysis/time_windowed_features.py +0 -0
  309. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/features/stats/__init__.py +0 -0
  310. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/features/stats/_values.py +0 -0
  311. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/features/stats/boolean_stats.py +0 -0
  312. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/features/stats/feature_table.py +0 -0
  313. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/features/stats/numeric_stats.py +0 -0
  314. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/features/stats/string_stats.py +0 -0
  315. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/features/stats/timestamp_stats.py +0 -0
  316. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/features/time_stats/__init__.py +0 -0
  317. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/features/time_stats/time_stats_numeric.py +0 -0
  318. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/loader/__init__.py +0 -0
  319. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/loader/_utils.py +0 -0
  320. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/loader/combine/__init__.py +0 -0
  321. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/loader/combine/integrator.py +0 -0
  322. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/loader/context/__init__.py +0 -0
  323. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/loader/context/context_enricher.py +0 -0
  324. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/loader/metadata/__init__.py +0 -0
  325. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/loader/metadata/metadata_api_loader.py +0 -0
  326. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/loader/metadata/metadata_db_loader.py +0 -0
  327. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/loader/metadata/metadata_json_loader.py +0 -0
  328. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/loader/timeseries/__init__.py +0 -0
  329. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/loader/timeseries/azure_blob_energy_loader.py +0 -0
  330. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/loader/timeseries/azure_blob_loader.py +0 -0
  331. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/loader/timeseries/databricks_spark_parquet_loader.py +0 -0
  332. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/loader/timeseries/databricks_unity_energy_loader.py +0 -0
  333. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/loader/timeseries/databricks_unity_parquet_loader.py +0 -0
  334. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/loader/timeseries/energy_api_loader.py +0 -0
  335. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/loader/timeseries/parquet_loader.py +0 -0
  336. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/loader/timeseries/s3proxy_parquet_loader.py +0 -0
  337. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/loader/timeseries/timescale_loader.py +0 -0
  338. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/profiling.py +0 -0
  339. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/py.typed +0 -0
  340. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/signals/__init__.py +0 -0
  341. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/signals/spec.py +0 -0
  342. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/transform/__init__.py +0 -0
  343. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/transform/calculator/__init__.py +0 -0
  344. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/transform/calculator/numeric_calc.py +0 -0
  345. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/transform/calculator/power_integration.py +0 -0
  346. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/transform/calculator/unit_conversion.py +0 -0
  347. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/transform/filter/__init__.py +0 -0
  348. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/transform/filter/_sequence.py +0 -0
  349. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/transform/filter/boolean_filter.py +0 -0
  350. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/transform/filter/custom_filter.py +0 -0
  351. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/transform/filter/datetime_filter.py +0 -0
  352. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/transform/filter/numeric_filter.py +0 -0
  353. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/transform/filter/string_filter.py +0 -0
  354. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/transform/functions/__init__.py +0 -0
  355. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/transform/functions/lambda_func.py +0 -0
  356. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/transform/harmonization.py +0 -0
  357. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/transform/time_functions/__init__.py +0 -0
  358. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/transform/time_functions/timestamp_converter.py +0 -0
  359. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/transform/time_functions/timezone_shift.py +0 -0
  360. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/utils/__init__.py +0 -0
  361. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/utils/base.py +0 -0
  362. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/utils/coerce.py +0 -0
  363. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/utils/counters.py +0 -0
  364. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/utils/deprecation.py +0 -0
  365. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/utils/frames.py +0 -0
  366. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/utils/intervals.py +0 -0
  367. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/utils/normalize.py +0 -0
  368. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/utils/runs.py +0 -0
  369. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/utils/shifts.py +0 -0
  370. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/utils/signal_checks.py +0 -0
  371. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/utils/time_accounting.py +0 -0
  372. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape/utils/time_weighted.py +0 -0
  373. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape.egg-info/dependency_links.txt +0 -0
  374. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape.egg-info/requires.txt +0 -0
  375. {ts_shape-0.0.75 → ts_shape-0.0.76}/src/ts_shape.egg-info/top_level.txt +0 -0
  376. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/conftest.py +0 -0
  377. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/data/setpoint_kpis_reference.csv +0 -0
  378. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/docs/__init__.py +0 -0
  379. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/docs/test_args_documented.py +0 -0
  380. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/docs/test_doc_names.py +0 -0
  381. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/docs/test_docstring_examples.py +0 -0
  382. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/docs/test_docstring_lists.py +0 -0
  383. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/docs/test_md_examples.py +0 -0
  384. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/docs/test_method_tables.py +0 -0
  385. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/eventlog/__init__.py +0 -0
  386. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/eventlog/conftest.py +0 -0
  387. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/eventlog/test_adapter_coverage.py +0 -0
  388. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/eventlog/test_adapters.py +0 -0
  389. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/eventlog/test_align.py +0 -0
  390. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/eventlog/test_end_to_end.py +0 -0
  391. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/eventlog/test_event_ids_frozen.py +0 -0
  392. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/eventlog/test_eventlog_robustness.py +0 -0
  393. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/eventlog/test_lambda_rules.py +0 -0
  394. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/eventlog/test_model.py +0 -0
  395. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/eventlog/test_objects.py +0 -0
  396. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/eventlog/test_polish.py +0 -0
  397. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/eventlog/test_relate.py +0 -0
  398. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/eventlog/test_schema.py +0 -0
  399. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/invariants/__init__.py +0 -0
  400. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/invariants/baseline.json +0 -0
  401. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/invariants/harness.py +0 -0
  402. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/invariants/test_contract_eventlog_misc.py +0 -0
  403. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/invariants/test_contract_summary.py +0 -0
  404. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/invariants/test_contract_transform_features.py +0 -0
  405. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/invariants/test_dst_windows.py +0 -0
  406. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/invariants/test_invariants.py +0 -0
  407. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/reference/__init__.py +0 -0
  408. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/reference/test_capability_reference.py +0 -0
  409. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/reference/test_energy_values.py +0 -0
  410. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/reference/test_kpi_references_misc.py +0 -0
  411. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/reference/test_kpi_references_quality.py +0 -0
  412. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/reference/test_kpi_time_accounting.py +0 -0
  413. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/reference/test_round13_engineering.py +0 -0
  414. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/reference/test_round13_quality.py +0 -0
  415. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/reference/test_round14_a.py +0 -0
  416. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/reference/test_round14_b.py +0 -0
  417. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/reference/test_round16_dst.py +0 -0
  418. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/reference/test_spc_rules_reference.py +0 -0
  419. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/reference/test_uncertainty_reference.py +0 -0
  420. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/reference/test_untested_methods.py +0 -0
  421. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/reference/test_weibull_reference.py +0 -0
  422. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_anomaly_classification.py +0 -0
  423. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_apply_ranges_overlap.py +0 -0
  424. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_asset_health_index.py +0 -0
  425. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_azure_blob_energy_loader.py +0 -0
  426. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_azure_blob_loader.py +0 -0
  427. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_base.py +0 -0
  428. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_base_fast_paths.py +0 -0
  429. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_batch_tracking_resets.py +0 -0
  430. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_boolean_filter.py +0 -0
  431. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_bottleneck_detection.py +0 -0
  432. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_branch_coverage_events.py +0 -0
  433. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_calibration_validation.py +0 -0
  434. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_canonical_output_columns.py +0 -0
  435. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_capability_trending.py +0 -0
  436. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_catalog.py +0 -0
  437. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_change_point.py +0 -0
  438. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_changeover_initial.py +0 -0
  439. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_coerce.py +0 -0
  440. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_consistent_outputs.py +0 -0
  441. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_context_enricher.py +0 -0
  442. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_context_robustness.py +0 -0
  443. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_continuous_alignment_resets.py +0 -0
  444. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_continuous_process_alignment.py +0 -0
  445. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_correlation_events.py +0 -0
  446. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_correlation_time_grid.py +0 -0
  447. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_counter_group_boundaries.py +0 -0
  448. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_counter_windows.py +0 -0
  449. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_counters.py +0 -0
  450. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_cross_signal.py +0 -0
  451. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_custom_filter.py +0 -0
  452. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_cusum_duplicates.py +0 -0
  453. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_cycles.py +0 -0
  454. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_cycles_extractor_matching.py +0 -0
  455. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_data_gap_analysis.py +0 -0
  456. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_databricks_spark_parquet_loader.py +0 -0
  457. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_databricks_unity_energy_loader.py +0 -0
  458. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_databricks_unity_parquet_loader.py +0 -0
  459. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_datasets.py +0 -0
  460. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_degenerate_denominators_other_packs.py +0 -0
  461. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_degenerate_inputs.py +0 -0
  462. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_deprecated_kwargs_all.py +0 -0
  463. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_deprecation.py +0 -0
  464. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_descriptive_features_windowed.py +0 -0
  465. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_detector_registry_conformance.py +0 -0
  466. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_development_events.py +0 -0
  467. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_downtime_quality.py +0 -0
  468. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_downtime_reason_fix.py +0 -0
  469. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_duplicate_events.py +0 -0
  470. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_duty_cycle.py +0 -0
  471. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_edge_cases.py +0 -0
  472. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_energy_api_loader.py +0 -0
  473. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_energy_efficiency_comparison_counter.py +0 -0
  474. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_energy_events.py +0 -0
  475. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_energy_new_classes.py +0 -0
  476. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_engineering_control_loop_health.py +0 -0
  477. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_engineering_disturbance_recovery.py +0 -0
  478. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_engineering_material_balance.py +0 -0
  479. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_engineering_operating_range.py +0 -0
  480. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_engineering_process_stability.py +0 -0
  481. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_engineering_process_window.py +0 -0
  482. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_engineering_setpoint.py +0 -0
  483. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_engineering_setpoint_alignment.py +0 -0
  484. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_engineering_signal_comparison.py +0 -0
  485. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_engineering_startup.py +0 -0
  486. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_engineering_steady_state.py +0 -0
  487. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_engineering_warmup.py +0 -0
  488. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_environmental_compensation.py +0 -0
  489. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_examples.py +0 -0
  490. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_failure_prediction_rul.py +0 -0
  491. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_feature_table.py +0 -0
  492. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_filters_group_by_uuid.py +0 -0
  493. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_flow_constraints_interval_end.py +0 -0
  494. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_flow_metrics.py +0 -0
  495. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_frames_helpers.py +0 -0
  496. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_frequency_defaults.py +0 -0
  497. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_gauge_repeatability.py +0 -0
  498. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_import_time.py +0 -0
  499. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_interval_end_change_encoded.py +0 -0
  500. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_interval_end_other_packs.py +0 -0
  501. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_intervals.py +0 -0
  502. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_lambda_func.py +0 -0
  503. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_lead_time_matching.py +0 -0
  504. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_lead_time_pairing.py +0 -0
  505. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_lean_install.py +0 -0
  506. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_legacy_cleanup.py +0 -0
  507. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_legacy_defects.py +0 -0
  508. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_line_balancing.py +0 -0
  509. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_line_balancing_alarm_boundary.py +0 -0
  510. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_line_throughput_guards.py +0 -0
  511. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_line_throughput_resets.py +0 -0
  512. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_lined_out_round2.py +0 -0
  513. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_loader_integrator.py +0 -0
  514. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_loader_paths_azure.py +0 -0
  515. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_loader_paths_metadata.py +0 -0
  516. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_loader_paths_sql_s3.py +0 -0
  517. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_loader_repr.py +0 -0
  518. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_loader_robustness.py +0 -0
  519. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_loader_time_range_names.py +0 -0
  520. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_loader_utils.py +0 -0
  521. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_long_downtime_events.py +0 -0
  522. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_maintenance_events.py +0 -0
  523. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_max_gap_caps.py +0 -0
  524. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_measurement_uncertainty.py +0 -0
  525. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_metadata_api_loader.py +0 -0
  526. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_metadata_db_loader.py +0 -0
  527. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_metadata_json_loader.py +0 -0
  528. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_micro_stop_detection.py +0 -0
  529. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_micro_stop_vectorized.py +0 -0
  530. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_misc_robustness.py +0 -0
  531. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_multi_process_traceability.py +0 -0
  532. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_multi_sensor_validation.py +0 -0
  533. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_multivariate_spc.py +0 -0
  534. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_named_public_functions.py +0 -0
  535. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_naming.py +0 -0
  536. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_normalize.py +0 -0
  537. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_numeric_calc.py +0 -0
  538. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_numeric_filter.py +0 -0
  539. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_oee_gaps.py +0 -0
  540. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_oee_resets.py +0 -0
  541. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_operating_state.py +0 -0
  542. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_operator_performance.py +0 -0
  543. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_operator_performance_resets.py +0 -0
  544. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_outlier_detection.py +0 -0
  545. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_outlier_detection_robustness.py +0 -0
  546. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_output_schema.py +0 -0
  547. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_overnight_shift.py +0 -0
  548. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_overnight_shift_extended.py +0 -0
  549. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_pack_exports_idioms.py +0 -0
  550. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_parquet_loader.py +0 -0
  551. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_pattern_recognition.py +0 -0
  552. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_pattern_recognition_fast_paths.py +0 -0
  553. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_perf_equivalence_events.py +0 -0
  554. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_performance_loss.py +0 -0
  555. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_period_summary.py +0 -0
  556. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_period_summary_resets.py +0 -0
  557. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_pipeline.py +0 -0
  558. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_power_integration.py +0 -0
  559. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_power_integration_dst.py +0 -0
  560. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_production_events.py +0 -0
  561. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_production_oee_alarm_batch.py +0 -0
  562. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_production_tracking.py +0 -0
  563. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_profile.py +0 -0
  564. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_profile_comparison.py +0 -0
  565. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_profile_constant_runs.py +0 -0
  566. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_properties_core.py +0 -0
  567. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_public_api.py +0 -0
  568. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_quality_tracking_resets.py +0 -0
  569. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_rate_of_change.py +0 -0
  570. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_release_version.py +0 -0
  571. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_reliability.py +0 -0
  572. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_renames.py +0 -0
  573. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_rework_tracking.py +0 -0
  574. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_rework_tracking_resets.py +0 -0
  575. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_robustness_other_packs.py +0 -0
  576. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_rolling_moments.py +0 -0
  577. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_root_cause_correlation.py +0 -0
  578. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_round13_renames_behavior.py +0 -0
  579. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_round13_robustness.py +0 -0
  580. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_runs.py +0 -0
  581. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_runtime_accounting.py +0 -0
  582. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_s3proxy_parquet_loader.py +0 -0
  583. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_sampling_resolution.py +0 -0
  584. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_scale.py +0 -0
  585. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_scale_other_packs.py +0 -0
  586. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_scale_production.py +0 -0
  587. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_schedule_adherence.py +0 -0
  588. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_scrap_tracking.py +0 -0
  589. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_scrap_tracking_resets.py +0 -0
  590. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_segment_extractor.py +0 -0
  591. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_segment_processor.py +0 -0
  592. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_sensor_drift.py +0 -0
  593. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_setpoint_shared_gather.py +0 -0
  594. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_setpoint_startup_coverage.py +0 -0
  595. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_setup_time_tracking.py +0 -0
  596. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_severity_level.py +0 -0
  597. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_shift_handover.py +0 -0
  598. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_shift_handover_resets.py +0 -0
  599. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_shift_reporting_resets.py +0 -0
  600. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_shifts.py +0 -0
  601. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_signal_checks.py +0 -0
  602. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_signal_checks_columns.py +0 -0
  603. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_signal_quality.py +0 -0
  604. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_signals.py +0 -0
  605. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_signals_properties.py +0 -0
  606. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_signals_robustness.py +0 -0
  607. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_spc.py +0 -0
  608. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_spc_rules_coverage.py +0 -0
  609. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_specs_driven_detectors.py +0 -0
  610. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_stats_boolean.py +0 -0
  611. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_stats_numeric.py +0 -0
  612. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_stats_string.py +0 -0
  613. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_stream.py +0 -0
  614. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_stream_equivalence.py +0 -0
  615. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_string_and_datetime_filter.py +0 -0
  616. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_supplychain_events.py +0 -0
  617. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_target_tracking.py +0 -0
  618. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_target_tracking_resets.py +0 -0
  619. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_threshold_monitoring.py +0 -0
  620. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_time_accounting.py +0 -0
  621. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_time_functions.py +0 -0
  622. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_time_stats_numeric.py +0 -0
  623. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_time_to_threshold.py +0 -0
  624. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_time_weighted.py +0 -0
  625. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_time_weighted_and_gaps.py +0 -0
  626. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_time_windowed_features.py +0 -0
  627. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_timescale_loader.py +0 -0
  628. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_timestamp_stats.py +0 -0
  629. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_timezone_safety.py +0 -0
  630. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_tolerance_deviation.py +0 -0
  631. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_tolerance_deviation_direction.py +0 -0
  632. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_traceability.py +0 -0
  633. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_traceability_dwell.py +0 -0
  634. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_transform_features_renames.py +0 -0
  635. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_transform_features_robustness.py +0 -0
  636. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_transform_harmonization.py +0 -0
  637. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_unit_conversion.py +0 -0
  638. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_value_distribution.py +0 -0
  639. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_value_mapping.py +0 -0
  640. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_verify_cycles.py +0 -0
  641. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_verify_cycles_processor.py +0 -0
  642. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_verify_objects.py +0 -0
  643. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_verify_period_cutters.py +0 -0
  644. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_window_bounds.py +0 -0
  645. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/test_zero_steps_and_gaps.py +0 -0
  646. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/typing/deprecated_usage.py +0 -0
  647. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/typing/mypy.ini +0 -0
  648. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/typing/test_lazy_exports.py +0 -0
  649. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/typing/test_mypy.py +0 -0
  650. {ts_shape-0.0.75 → ts_shape-0.0.76}/tests/typing/user_script.py +0 -0
@@ -1,3 +1,18 @@
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
+
1
16
  # October 21, 2026 (round 16)
2
17
  DST-day windows; more chunkable methods.
3
18
  fix: on tz-aware data, daily windows on a DST change are measured over their
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ts_shape
3
- Version: 0.0.75
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
@@ -225,7 +225,9 @@ classified by its full length, in the windows of both days.
225
225
 
226
226
  `Pipeline.run_stream(source, chunk="1D")` runs a [pipeline](pipeline-builder.md)
227
227
  the same way: every detect step goes through the chunked engine and returns
228
- the events `run()` would return. Transforms run on each slice separately, so
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
229
231
  they must be **row-local** -- each output row depends only on its own input
230
232
  row, as unit conversions, scaling and value mappings do. `result.data` is
231
233
  empty by default (the point is not to hold all rows); pass `keep_data=True` to
@@ -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. Interval and summary rows whose `end` is
23
- before their `start` are dropped with a `DataQualityWarning`.
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 and every other column of
51
- the row. The same input always gives the same ids, independent of row
52
- order, and the same detector on two machines does not collide;
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 and dtypes, unique `ocel:eid`, and
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
- | `3.0` to `< 4.5` | `warn` |
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` column of
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 a copy of the working DataFrame, so a transform that
43
- changes its input in place never changes the DataFrame passed to `run()`.
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,80 @@ 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
+
9
83
  ## October 2026, round 16: DST-day windows, more chunkable methods
10
84
 
11
85
  Each change is pinned by a hand-computed test in
@@ -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(mapping_file, sep=self.sep, encoding=self.encoding)
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
- return pd.read_json(mapping_file, encoding=self.encoding)
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, so a mapping file with string keys maps an
105
- integer code column (``1``, ``1.0`` and ``"1"`` all match). Codes the
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
@@ -289,20 +289,27 @@ def _content_eids(
289
289
  ts_end: pd.Series,
290
290
  activities: pd.Series,
291
291
  time_cols: set[str],
292
+ bindings: Mapping[str, pd.Series] | None = None,
292
293
  ) -> pd.Series:
293
294
  """Deterministic, content-based event ids.
294
295
 
295
296
  The id hashes the detector, the row's ``source_uuid``, its start / end
296
- timestamps, the activity and every other column of the row (values and
297
- payload). It does not depend on the row's position, so the same
298
- detector on two machines never collides, re-running gives the same ids,
299
- and concatenating identical logs in any row order deduplicates. Rows that
300
- are identical in every column get an occurrence suffix.
297
+ timestamps, the activity, every other column of the row (values and
298
+ payload) and the objects the caller bound to the row. It does not depend
299
+ on the row's position, so the same detector on two machines never
300
+ collides, re-running gives the same ids, and concatenating identical logs
301
+ in any row order deduplicates. Rows that are identical in every column
302
+ and binding get an occurrence suffix.
301
303
 
302
304
  Every cell is rendered with :func:`_stable` (one column at a time, see
303
305
  :func:`_stable_column`); the hash input of a row is
304
306
  ``detector|source|start|end|activity|<col>=<value>|...`` with the payload
305
- columns in sorted order, and the id is ``"e-" + uuid5(namespace, key)``.
307
+ columns in sorted order, then ``|obj:<type>=<oid>`` for each bound object
308
+ of the row (types in sorted order; a row without a bound oid adds
309
+ nothing), and the id is ``"e-" + uuid5(namespace, key)``. ``bindings``
310
+ holds the caller-bound objects (``objects=``) aligned with ``frame``;
311
+ with none, the key and so the id are the same as before bindings were
312
+ hashed.
306
313
  """
307
314
  n = len(frame)
308
315
  payload_cols = sorted(str(c) for c in frame.columns if c not in time_cols)
@@ -331,6 +338,9 @@ def _content_eids(
331
338
  head + "|".join(parts)
332
339
  for parts in zip(source, starts, ends, acts, *rendered, strict=True)
333
340
  ]
341
+ if bindings:
342
+ suffixes = _binding_suffixes(bindings, a, b)
343
+ keys = [k + sfx for k, sfx in zip(keys, suffixes, strict=True)]
334
344
  for key in keys:
335
345
  digest = sha1(prefix + key.encode("utf-8")).digest()
336
346
  k = seen.get(digest, 0)
@@ -342,6 +352,24 @@ def _content_eids(
342
352
  return pd.Series(eids, dtype="string")
343
353
 
344
354
 
355
+ def _binding_suffixes(bindings: Mapping[str, pd.Series], a: int, b: int) -> list[str]:
356
+ """``|obj:<type>=<oid>`` per bound object of rows ``a:b`` (sorted types).
357
+
358
+ Missing and empty oids (which give no relation) add nothing.
359
+ """
360
+ out = [""] * (b - a)
361
+ for otype in sorted(bindings):
362
+ values = bindings[otype].iloc[a:b].tolist()
363
+ for i, v in enumerate(values):
364
+ if v is None or _is_missing(v):
365
+ continue
366
+ text = str(v)
367
+ if text in ("", "<NA>"):
368
+ continue
369
+ out[i] += f"|obj:{otype}={text}"
370
+ return out
371
+
372
+
345
373
  class MissingCanonicalColumn(ColumnNotFoundError, KeyError):
346
374
  """A detector frame lacks a time column of its shape.
347
375
 
@@ -386,11 +414,15 @@ def _to_utc_column(values: pd.Series) -> pd.Series:
386
414
  """``values.apply(_to_utc_ts)``, vectorized for datetime64 columns.
387
415
 
388
416
  Naive times are localized to UTC, aware ones converted (same dtype and
389
- unit as the element-wise path). Other columns (text, objects) and an
390
- all-NaT column go through :func:`_to_utc_ts` element by element.
417
+ unit as the element-wise path). An all-missing column gives an all-NaT
418
+ ``datetime64[ns, UTC]`` column; other columns (text, objects) go
419
+ through :func:`_to_utc_ts` element by element.
391
420
  """
392
421
  dtype = values.dtype
393
- if _is_datetime64(dtype) and values.notna().any():
422
+ if values.isna().all():
423
+ # All missing: an all-NaT UTC column, comparable with any other.
424
+ return pd.Series(pd.NaT, index=values.index, dtype="datetime64[ns, UTC]")
425
+ if _is_datetime64(dtype):
394
426
  if isinstance(dtype, pd.DatetimeTZDtype):
395
427
  return values.dt.tz_convert("UTC")
396
428
  return values.dt.tz_localize("UTC")
@@ -462,7 +494,18 @@ def _render_activities(rule: LabelRule, frame: pd.DataFrame) -> pd.Series:
462
494
  return pd.Series(out, index=frame.index, dtype="string")
463
495
 
464
496
 
465
- def _classify_severity(value: object) -> str | None:
497
+ #: ``(warn, critical)`` lower bounds of a numeric severity score: the
498
+ #: z-score convention (|z| >= 3 warns, |z| >= 4.5 is critical). A rule's
499
+ #: ``severity_thresholds`` replaces them for scores on another scale.
500
+ DEFAULT_SEVERITY_THRESHOLDS: tuple[float, float] = (3.0, 4.5)
501
+
502
+
503
+ def _classify_severity(
504
+ value: object,
505
+ thresholds: tuple[float, float] = DEFAULT_SEVERITY_THRESHOLDS,
506
+ ) -> str | None:
507
+ """The level of one severity value: text as is, booleans as warn / info,
508
+ numbers bucketed by ``(warn, critical)`` ``thresholds``."""
466
509
  if value is None or value is pd.NA or (isinstance(value, float) and pd.isna(value)):
467
510
  return None
468
511
  if isinstance(value, str):
@@ -476,9 +519,10 @@ def _classify_severity(value: object) -> str | None:
476
519
  v = float(value)
477
520
  except (TypeError, ValueError):
478
521
  return None
479
- if v >= 4.5:
522
+ warn, critical = thresholds
523
+ if v >= critical:
480
524
  return "critical"
481
- if v >= 3.0:
525
+ if v >= warn:
482
526
  return "warn"
483
527
  return "info"
484
528
 
@@ -649,7 +693,8 @@ def _severity_series(frame: pd.DataFrame, rule: LabelRule) -> pd.Series:
649
693
  detector's own label overrides (e.g. ``ToleranceDeviationEvents``:
650
694
  ``minor`` -> ``warn``) hold in the event log too. Otherwise text labels
651
695
  map through :data:`~ts_shape.events._output.DEFAULT_SEVERITY_LEVEL` and
652
- numbers are bucketed (see :func:`_classify_severity`).
696
+ numbers are bucketed by the rule's ``severity_thresholds`` (default
697
+ :data:`DEFAULT_SEVERITY_THRESHOLDS`, see :func:`_classify_severity`).
653
698
  """
654
699
  if rule.severity_field and rule.severity_field in frame.columns:
655
700
  field = rule.severity_field
@@ -661,7 +706,13 @@ def _severity_series(frame: pd.DataFrame, rule: LabelRule) -> pd.Series:
661
706
  if field == COL_SEVERITY and COL_SEVERITY_LEVEL in frame.columns:
662
707
  level = frame[COL_SEVERITY_LEVEL].astype("string").str.lower()
663
708
  return level.where(level.isin(_SEVERITY_VOCABULARY), pd.NA)
664
- out = col.map(_classify_severity).astype("string").str.lower()
709
+ thresholds = rule.severity_thresholds or DEFAULT_SEVERITY_THRESHOLDS
710
+ out = (
711
+ col.map(lambda v: _classify_severity(v, thresholds))
712
+ .astype("string")
713
+ .str.strip()
714
+ .str.lower()
715
+ )
665
716
  out = out.replace(_SEVERITY_ALIASES)
666
717
  unknown = out.notna() & ~out.isin(_SEVERITY_VOCABULARY)
667
718
  if unknown.any():
@@ -771,15 +822,22 @@ def adapt(
771
822
  ts_end = _to_utc_column(frame[COL_END])
772
823
  ts_start = _to_utc_column(frame[COL_START])
773
824
  time_cols_used = {COL_START, COL_END}
774
- backwards = (ts_end < ts_start).fillna(False).astype(bool)
775
- if backwards.any():
776
- warnings.warn(
777
- f"{detector}: {int(backwards.sum())} row(s) end before they "
778
- "start; they are dropped from the event log",
779
- DataQualityWarning,
780
- stacklevel=caller_stacklevel(),
781
- )
782
- keep = ~backwards.to_numpy()
825
+ no_end = ts_end.isna().to_numpy()
826
+ backwards = (ts_end < ts_start).fillna(False).astype(bool).to_numpy()
827
+ for bad, why in (
828
+ (no_end, f"have no {COL_END!r} (ocel:timestamp)"),
829
+ (backwards, "end before they start"),
830
+ ):
831
+ if bad.any():
832
+ warnings.warn(
833
+ f"{detector}: {int(bad.sum())} row(s) {why}; they are "
834
+ "dropped from the event log",
835
+ DataQualityWarning,
836
+ stacklevel=caller_stacklevel(),
837
+ )
838
+ drop_rows = no_end | backwards
839
+ if drop_rows.any():
840
+ keep = ~drop_rows
783
841
  frame = frame.loc[keep].reset_index(drop=True)
784
842
  ts_end = ts_end.loc[keep].reset_index(drop=True)
785
843
  ts_start = ts_start.loc[keep].reset_index(drop=True)
@@ -796,6 +854,25 @@ def adapt(
796
854
  elif rule.shape == "point":
797
855
  _require_columns(frame, (COL_SYSTIME,), rule.shape, detector)
798
856
  ts_end = _to_utc_column(frame[COL_SYSTIME])
857
+ no_time = ts_end.isna().to_numpy()
858
+ if no_time.any():
859
+ warnings.warn(
860
+ f"{detector}: {int(no_time.sum())} row(s) have no "
861
+ f"{COL_SYSTIME!r} (ocel:timestamp); they are dropped from the "
862
+ "event log",
863
+ DataQualityWarning,
864
+ stacklevel=caller_stacklevel(),
865
+ )
866
+ keep = ~no_time
867
+ frame = frame.loc[keep].reset_index(drop=True)
868
+ ts_end = ts_end.loc[keep].reset_index(drop=True)
869
+ object_bindings = {
870
+ k: v.loc[keep].reset_index(drop=True)
871
+ for k, v in object_bindings.items()
872
+ }
873
+ n = len(frame)
874
+ if n == 0:
875
+ return EventLog()
799
876
  ts_start = pd.Series([pd.NaT] * n, dtype="datetime64[ns, UTC]")
800
877
  duration = pd.Series([float("nan")] * n, dtype="float64")
801
878
  time_cols_used = {COL_SYSTIME}
@@ -827,7 +904,21 @@ def adapt(
827
904
 
828
905
  # Content-based event ids: same row content -> same id, independent of
829
906
  # row position.
830
- eids = _content_eids(detector, frame, ts_start, ts_end, activities, time_cols_used)
907
+ # Caller-bound objects are part of the id: the same row bound to M1 and
908
+ # to M2 is two events. Auto-extracted objects (source_uuid -> asset) are
909
+ # already in the hash through their source column.
910
+ caller_bound = {
911
+ k: v for k, v in object_bindings.items() if objects and k in objects
912
+ }
913
+ eids = _content_eids(
914
+ detector,
915
+ frame,
916
+ ts_start,
917
+ ts_end,
918
+ activities,
919
+ time_cols_used,
920
+ bindings=caller_bound,
921
+ )
831
922
 
832
923
  severity = _severity_series(frame, rule)
833
924
  value = _value_series(frame, rule)
@@ -13,9 +13,11 @@ def concat(*logs: EventLog) -> EventLog:
13
13
 
14
14
  Each table is concatenated, then deduplicated: objects by
15
15
  ``(oid, type)``, events by event id (after sorting by timestamp),
16
- relations by ``(eid, oid, type)``, object-to-object links by
17
- ``(oid, oid2, qualifier)``, and object changes by
18
- ``(oid, field, timestamp)``.
16
+ relations by ``(eid, oid, type, qualifier)``, object-to-object links by
17
+ ``(oid, oid_2, qualifier)``, and object changes by
18
+ ``(oid, type, field, timestamp)``. An object id used by two types is two
19
+ objects, so their changes are kept apart; one event linked to one object
20
+ in two roles keeps both relations.
19
21
 
20
22
  Args:
21
23
  *logs: Event logs to combine.
@@ -42,9 +44,10 @@ def concat(*logs: EventLog) -> EventLog:
42
44
  events = events.drop_duplicates(subset=[schema.OCEL_EID]).reset_index(drop=True)
43
45
 
44
46
  if not relations.empty:
45
- relations = relations.drop_duplicates(
46
- subset=[schema.OCEL_EID, schema.OCEL_OID, schema.OCEL_TYPE]
47
- ).reset_index(drop=True)
47
+ subset = [schema.OCEL_EID, schema.OCEL_OID, schema.OCEL_TYPE]
48
+ if schema.OCEL_QUALIFIER in relations.columns:
49
+ subset.append(schema.OCEL_QUALIFIER)
50
+ relations = relations.drop_duplicates(subset=subset).reset_index(drop=True)
48
51
 
49
52
  if not o2o.empty:
50
53
  o2o = o2o.drop_duplicates(
@@ -52,9 +55,12 @@ def concat(*logs: EventLog) -> EventLog:
52
55
  ).reset_index(drop=True)
53
56
 
54
57
  if not object_changes.empty:
55
- object_changes = object_changes.drop_duplicates(
56
- subset=[schema.OCEL_OID, schema.OCEL_FIELD, schema.OCEL_TIMESTAMP]
57
- ).reset_index(drop=True)
58
+ subset = [schema.OCEL_OID, schema.OCEL_FIELD, schema.OCEL_TIMESTAMP]
59
+ if schema.OCEL_TYPE in object_changes.columns:
60
+ subset.insert(1, schema.OCEL_TYPE)
61
+ object_changes = object_changes.drop_duplicates(subset=subset).reset_index(
62
+ drop=True
63
+ )
58
64
 
59
65
  return EventLog(
60
66
  events=events,