ts-shape 0.0.77__tar.gz → 0.0.78__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 (661) hide show
  1. {ts_shape-0.0.77 → ts_shape-0.0.78}/CHANGES.txt +22 -0
  2. {ts_shape-0.0.77 → ts_shape-0.0.78}/PKG-INFO +1 -1
  3. {ts_shape-0.0.77 → ts_shape-0.0.78}/benchmarks/run.py +109 -14
  4. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/guides/eventlog/objects.md +3 -0
  5. ts_shape-0.0.78/docs/guides/object-identification.md +338 -0
  6. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/migration.md +91 -0
  7. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/roadmap.md +4 -0
  8. {ts_shape-0.0.77 → ts_shape-0.0.78}/mkdocs.yml +1 -0
  9. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/__init__.py +12 -0
  10. ts_shape-0.0.78/src/ts_shape/_object_signals.py +1906 -0
  11. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/datasets.py +71 -1
  12. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/eventlog/adapters.py +219 -83
  13. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/eventlog/schema.py +80 -11
  14. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/development/design_space.py +3 -0
  15. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/development/golden_batch.py +3 -0
  16. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/engineering/disturbance_recovery.py +3 -0
  17. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/engineering/operating_range.py +3 -0
  18. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/engineering/process_stability_index.py +3 -0
  19. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/engineering/process_window.py +3 -0
  20. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/engineering/rate_of_change.py +3 -0
  21. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/engineering/steady_state_detection.py +3 -0
  22. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/engineering/threshold_monitoring.py +3 -0
  23. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/engineering/time_to_threshold.py +3 -0
  24. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/engineering/warmup_analysis.py +3 -0
  25. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/maintenance/degradation_detection.py +3 -0
  26. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/maintenance/failure_prediction.py +3 -0
  27. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/maintenance/reliability.py +3 -0
  28. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/maintenance/vibration_analysis.py +3 -0
  29. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/alarm_management.py +3 -0
  30. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/duty_cycle.py +3 -0
  31. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/long_downtime_events.py +3 -0
  32. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/machine_state.py +3 -0
  33. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/micro_stop_detection.py +3 -0
  34. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/operating_state.py +3 -0
  35. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/order_traceability.py +3 -0
  36. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/routing_traceability.py +3 -0
  37. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/quality/anomaly_classification.py +3 -0
  38. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/quality/calibration_validation.py +3 -0
  39. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/quality/change_point.py +3 -0
  40. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/quality/data_gap_analysis.py +3 -0
  41. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/quality/environmental_compensation.py +3 -0
  42. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/quality/gauge_repeatability.py +3 -0
  43. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/quality/measurement_uncertainty.py +3 -0
  44. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/quality/sampling_resolution.py +3 -0
  45. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/quality/sensor_drift.py +3 -0
  46. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/quality/signal_quality.py +3 -0
  47. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/quality/value_distribution.py +3 -0
  48. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/supplychain/demand_pattern.py +4 -1
  49. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/supplychain/inventory_monitoring.py +3 -0
  50. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/features/stats/timestamp_stats.py +2 -2
  51. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/loader/_utils.py +9 -6
  52. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/loader/timeseries/databricks_unity_parquet_loader.py +29 -5
  53. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/signals/__init__.py +16 -0
  54. ts_shape-0.0.78/src/ts_shape/signals/identify.py +2753 -0
  55. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/transform/time_functions/timestamp_converter.py +6 -3
  56. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/utils/base.py +235 -19
  57. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/utils/normalize.py +44 -0
  58. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/utils/runs.py +15 -5
  59. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/utils/signal_checks.py +105 -2
  60. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape.egg-info/PKG-INFO +1 -1
  61. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape.egg-info/SOURCES.txt +8 -0
  62. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape.egg-info/scm_file_list.json +8 -0
  63. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/docs/test_md_examples.py +4 -1
  64. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/invariants/test_contract_eventlog_misc.py +7 -0
  65. ts_shape-0.0.78/tests/invariants/test_signal_rows_equivalence.py +197 -0
  66. ts_shape-0.0.78/tests/reference/test_round18_loaders_base.py +304 -0
  67. ts_shape-0.0.78/tests/test_identify_benchmark.py +214 -0
  68. ts_shape-0.0.78/tests/test_identify_objects.py +723 -0
  69. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_loader_robustness.py +20 -0
  70. ts_shape-0.0.78/tests/test_make_object_signals.py +281 -0
  71. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_setpoint_shared_gather.py +14 -2
  72. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_supplychain_events.py +1 -1
  73. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_time_functions.py +19 -0
  74. {ts_shape-0.0.77 → ts_shape-0.0.78}/.github/scripts/next_version.py +0 -0
  75. {ts_shape-0.0.77 → ts_shape-0.0.78}/.github/workflows/ci.yml +0 -0
  76. {ts_shape-0.0.77 → ts_shape-0.0.78}/.github/workflows/release.yml +0 -0
  77. {ts_shape-0.0.77 → ts_shape-0.0.78}/.gitignore +0 -0
  78. {ts_shape-0.0.77 → ts_shape-0.0.78}/.pre-commit-config.yaml +0 -0
  79. {ts_shape-0.0.77 → ts_shape-0.0.78}/LICENSE.txt +0 -0
  80. {ts_shape-0.0.77 → ts_shape-0.0.78}/README.md +0 -0
  81. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/assets/favicon-16x16.png +0 -0
  82. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/assets/favicon-32x32.png +0 -0
  83. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/assets/favicon-48x48.png +0 -0
  84. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/assets/ts-shape.png +0 -0
  85. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/changelog.md +0 -0
  86. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/concept.md +0 -0
  87. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/contributing.md +0 -0
  88. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/examples.md +0 -0
  89. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/guides/chunked-processing.md +0 -0
  90. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/guides/context.md +0 -0
  91. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/guides/energy.md +0 -0
  92. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/guides/engineering.md +0 -0
  93. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/guides/eventlog/adapters.md +0 -0
  94. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/guides/eventlog/index.md +0 -0
  95. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/guides/eventlog/taxonomy.md +0 -0
  96. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/guides/feature-extraction.md +0 -0
  97. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/guides/lambda-rules.md +0 -0
  98. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/guides/loading.md +0 -0
  99. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/guides/maintenance.md +0 -0
  100. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/guides/ml-features.md +0 -0
  101. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/guides/pipeline-builder.md +0 -0
  102. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/guides/production.md +0 -0
  103. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/guides/quality.md +0 -0
  104. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/guides/signals.md +0 -0
  105. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/guides/transforms.md +0 -0
  106. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/index.md +0 -0
  107. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/insiders/development.md +0 -0
  108. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/license.md +0 -0
  109. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/correlation/anomaly-correlation.md +0 -0
  110. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/correlation/root-cause-correlation.md +0 -0
  111. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/correlation/signal-correlation.md +0 -0
  112. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/development/critical-parameter-ranking.md +0 -0
  113. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/development/design-of-experiments.md +0 -0
  114. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/development/design-space.md +0 -0
  115. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/development/golden-batch.md +0 -0
  116. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/development/recipe-phase-adherence.md +0 -0
  117. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/energy/carbon-intensity.md +0 -0
  118. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/energy/consumption-analysis.md +0 -0
  119. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/energy/efficiency-tracking.md +0 -0
  120. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/energy/energy-performance-indicator.md +0 -0
  121. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/energy/idle-energy-detection.md +0 -0
  122. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/energy/power-integration.md +0 -0
  123. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/engineering/control-loop-health.md +0 -0
  124. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/engineering/disturbance-recovery.md +0 -0
  125. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/engineering/material-balance.md +0 -0
  126. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/engineering/operating-range.md +0 -0
  127. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/engineering/process-stability.md +0 -0
  128. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/engineering/process-windows.md +0 -0
  129. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/engineering/rate-of-change.md +0 -0
  130. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/engineering/setpoint-events.md +0 -0
  131. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/engineering/signal-comparison.md +0 -0
  132. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/engineering/startup-detection.md +0 -0
  133. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/engineering/steady-state.md +0 -0
  134. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/engineering/threshold-monitoring.md +0 -0
  135. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/engineering/time-to-threshold.md +0 -0
  136. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/engineering/warmup-analysis.md +0 -0
  137. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/index.md +0 -0
  138. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/maintenance/asset-health-index.md +0 -0
  139. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/maintenance/degradation-detection.md +0 -0
  140. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/maintenance/failure-prediction.md +0 -0
  141. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/maintenance/reliability.md +0 -0
  142. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/maintenance/vibration-analysis.md +0 -0
  143. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/production/alarm-management.md +0 -0
  144. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/production/batch-tracking.md +0 -0
  145. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/production/bottleneck-detection.md +0 -0
  146. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/production/changeover.md +0 -0
  147. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/production/continuous-process-alignment.md +0 -0
  148. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/production/cycle-time.md +0 -0
  149. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/production/downtime.md +0 -0
  150. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/production/duty-cycle.md +0 -0
  151. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/production/flow-constraints.md +0 -0
  152. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/production/flow-metrics.md +0 -0
  153. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/production/line-balancing.md +0 -0
  154. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/production/line-throughput.md +0 -0
  155. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/production/long-downtime.md +0 -0
  156. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/production/machine-state.md +0 -0
  157. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/production/micro-stops.md +0 -0
  158. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/production/multi-process-traceability.md +0 -0
  159. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/production/oee-calculator.md +0 -0
  160. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/production/operating-state.md +0 -0
  161. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/production/operator-performance.md +0 -0
  162. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/production/order-traceability.md +0 -0
  163. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/production/part-tracking.md +0 -0
  164. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/production/performance-loss.md +0 -0
  165. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/production/period-summary.md +0 -0
  166. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/production/quality-tracking.md +0 -0
  167. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/production/rework-tracking.md +0 -0
  168. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/production/routing-traceability.md +0 -0
  169. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/production/runtime-accounting.md +0 -0
  170. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/production/schedule-adherence.md +0 -0
  171. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/production/scrap-tracking.md +0 -0
  172. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/production/setup-time.md +0 -0
  173. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/production/shift-handover.md +0 -0
  174. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/production/shift-reporting.md +0 -0
  175. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/production/target-tracking.md +0 -0
  176. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/quality/anomaly-classification.md +0 -0
  177. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/quality/calibration-validation.md +0 -0
  178. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/quality/capability-trending.md +0 -0
  179. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/quality/change-point.md +0 -0
  180. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/quality/data-gap-analysis.md +0 -0
  181. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/quality/environmental-compensation.md +0 -0
  182. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/quality/gauge-rr.md +0 -0
  183. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/quality/measurement-uncertainty.md +0 -0
  184. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/quality/multi-sensor-validation.md +0 -0
  185. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/quality/multivariate-spc.md +0 -0
  186. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/quality/outlier-detection.md +0 -0
  187. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/quality/sampling-resolution.md +0 -0
  188. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/quality/sensor-drift.md +0 -0
  189. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/quality/signal-quality.md +0 -0
  190. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/quality/spc.md +0 -0
  191. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/quality/tolerance-deviation.md +0 -0
  192. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/quality/value-distribution.md +0 -0
  193. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/supplychain/demand-patterns.md +0 -0
  194. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/supplychain/inventory-monitoring.md +0 -0
  195. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/modules/supplychain/lead-time-analysis.md +0 -0
  196. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/naming.md +0 -0
  197. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/reference/index.md +0 -0
  198. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/user_guide/installation.md +0 -0
  199. {ts_shape-0.0.77 → ts_shape-0.0.78}/docs/user_guide/quick_start.md +0 -0
  200. {ts_shape-0.0.77 → ts_shape-0.0.78}/examples/README.md +0 -0
  201. {ts_shape-0.0.77 → ts_shape-0.0.78}/examples/context_enricher_demo.py +0 -0
  202. {ts_shape-0.0.77 → ts_shape-0.0.78}/examples/correlation_events_demo.py +0 -0
  203. {ts_shape-0.0.77 → ts_shape-0.0.78}/examples/cycle_extractor_enhancements_demo.py +0 -0
  204. {ts_shape-0.0.77 → ts_shape-0.0.78}/examples/energy_events_demo.py +0 -0
  205. {ts_shape-0.0.77 → ts_shape-0.0.78}/examples/eventlog_demo.py +0 -0
  206. {ts_shape-0.0.77 → ts_shape-0.0.78}/examples/features_statistics_demo.py +0 -0
  207. {ts_shape-0.0.77 → ts_shape-0.0.78}/examples/lambda_rules_demo.py +0 -0
  208. {ts_shape-0.0.77 → ts_shape-0.0.78}/examples/lambda_rules_demo.yaml +0 -0
  209. {ts_shape-0.0.77 → ts_shape-0.0.78}/examples/line_flow_analytics_demo.py +0 -0
  210. {ts_shape-0.0.77 → ts_shape-0.0.78}/examples/loader_usage_demo.py +0 -0
  211. {ts_shape-0.0.77 → ts_shape-0.0.78}/examples/maintenance_events_demo.py +0 -0
  212. {ts_shape-0.0.77 → ts_shape-0.0.78}/examples/object_detection_demo.py +0 -0
  213. {ts_shape-0.0.77 → ts_shape-0.0.78}/examples/pipeline_demo.py +0 -0
  214. {ts_shape-0.0.77 → ts_shape-0.0.78}/examples/production_events_demo.py +0 -0
  215. {ts_shape-0.0.77 → ts_shape-0.0.78}/examples/production_tracking_demo.py +0 -0
  216. {ts_shape-0.0.77 → ts_shape-0.0.78}/examples/quality_events_demo.py +0 -0
  217. {ts_shape-0.0.77 → ts_shape-0.0.78}/examples/setpoint_events_advanced_usage.py +0 -0
  218. {ts_shape-0.0.77 → ts_shape-0.0.78}/examples/supplychain_events_demo.py +0 -0
  219. {ts_shape-0.0.77 → ts_shape-0.0.78}/examples/transform_operations_demo.py +0 -0
  220. {ts_shape-0.0.77 → ts_shape-0.0.78}/examples/unit_runtime_demo.py +0 -0
  221. {ts_shape-0.0.77 → ts_shape-0.0.78}/pyproject.toml +0 -0
  222. {ts_shape-0.0.77 → ts_shape-0.0.78}/renovate.json +0 -0
  223. {ts_shape-0.0.77 → ts_shape-0.0.78}/scripts/gen_ref_pages.py +0 -0
  224. {ts_shape-0.0.77 → ts_shape-0.0.78}/scripts/scan_deprecations.sh +0 -0
  225. {ts_shape-0.0.77 → ts_shape-0.0.78}/setup.cfg +0 -0
  226. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/catalog.py +0 -0
  227. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/context/__init__.py +0 -0
  228. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/context/value_mapping.py +0 -0
  229. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/errors.py +0 -0
  230. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/eventlog/__init__.py +0 -0
  231. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/eventlog/align.py +0 -0
  232. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/eventlog/archetypes.py +0 -0
  233. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/eventlog/concat.py +0 -0
  234. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/eventlog/flat.py +0 -0
  235. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/eventlog/introspect.py +0 -0
  236. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/eventlog/lambda_rules/__init__.py +0 -0
  237. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/eventlog/lambda_rules/backtest.py +0 -0
  238. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/eventlog/lambda_rules/detector.py +0 -0
  239. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/eventlog/lambda_rules/evaluator.py +0 -0
  240. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/eventlog/lambda_rules/expression.py +0 -0
  241. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/eventlog/lambda_rules/loader.py +0 -0
  242. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/eventlog/lambda_rules/spec.py +0 -0
  243. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/eventlog/model.py +0 -0
  244. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/eventlog/normalizer.py +0 -0
  245. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/eventlog/objects.py +0 -0
  246. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/eventlog/ocel.py +0 -0
  247. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/eventlog/taxonomy.py +0 -0
  248. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/__init__.py +0 -0
  249. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/_compat.py +0 -0
  250. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/_output.py +0 -0
  251. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/_windows.py +0 -0
  252. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/correlation/__init__.py +0 -0
  253. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/correlation/anomaly_correlation.py +0 -0
  254. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/correlation/root_cause_correlation.py +0 -0
  255. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/correlation/signal_correlation.py +0 -0
  256. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/development/__init__.py +0 -0
  257. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/development/critical_parameter_ranking.py +0 -0
  258. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/development/design_of_experiments.py +0 -0
  259. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/development/recipe_phase_adherence.py +0 -0
  260. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/energy/__init__.py +0 -0
  261. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/energy/carbon_intensity.py +0 -0
  262. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/energy/consumption_analysis.py +0 -0
  263. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/energy/efficiency_tracking.py +0 -0
  264. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/energy/energy_performance_indicator.py +0 -0
  265. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/energy/idle_energy_detection.py +0 -0
  266. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/engineering/__init__.py +0 -0
  267. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/engineering/control_loop_health.py +0 -0
  268. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/engineering/material_balance.py +0 -0
  269. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/engineering/setpoint_events.py +0 -0
  270. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/engineering/signal_comparison.py +0 -0
  271. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/engineering/startup_events.py +0 -0
  272. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/maintenance/__init__.py +0 -0
  273. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/maintenance/_rolling.py +0 -0
  274. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/maintenance/asset_health_index.py +0 -0
  275. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/__init__.py +0 -0
  276. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/_counter_groups.py +0 -0
  277. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/_flow.py +0 -0
  278. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/batch_tracking.py +0 -0
  279. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/bottleneck_detection.py +0 -0
  280. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/changeover.py +0 -0
  281. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/continuous_process_alignment.py +0 -0
  282. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/cycle_time_tracking.py +0 -0
  283. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/downtime_tracking.py +0 -0
  284. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/flow_constraints.py +0 -0
  285. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/flow_metrics.py +0 -0
  286. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/line_balancing.py +0 -0
  287. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/line_throughput.py +0 -0
  288. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/multi_process_traceability.py +0 -0
  289. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/oee_calculator.py +0 -0
  290. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/operator_performance.py +0 -0
  291. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/part_tracking.py +0 -0
  292. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/performance_loss.py +0 -0
  293. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/period_summary.py +0 -0
  294. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/quality_tracking.py +0 -0
  295. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/rework_tracking.py +0 -0
  296. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/runtime_accounting.py +0 -0
  297. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/schedule_adherence.py +0 -0
  298. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/scrap_tracking.py +0 -0
  299. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/setup_time_tracking.py +0 -0
  300. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/shift_handover.py +0 -0
  301. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/shift_reporting.py +0 -0
  302. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/production/target_tracking.py +0 -0
  303. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/quality/__init__.py +0 -0
  304. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/quality/capability_trending.py +0 -0
  305. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/quality/multi_sensor_validation.py +0 -0
  306. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/quality/multivariate_spc.py +0 -0
  307. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/quality/outlier_detection.py +0 -0
  308. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/quality/statistical_process_control.py +0 -0
  309. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/quality/tolerance_deviation.py +0 -0
  310. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/supplychain/__init__.py +0 -0
  311. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/events/supplychain/lead_time_analysis.py +0 -0
  312. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/features/__init__.py +0 -0
  313. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/features/cross_signal.py +0 -0
  314. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/features/cycles/__init__.py +0 -0
  315. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/features/cycles/cycle_processor.py +0 -0
  316. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/features/cycles/cycles_extractor.py +0 -0
  317. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/features/export.py +0 -0
  318. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/features/pattern_recognition.py +0 -0
  319. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/features/segment_analysis/__init__.py +0 -0
  320. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/features/segment_analysis/_grouped_stats.py +0 -0
  321. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/features/segment_analysis/profile_comparison.py +0 -0
  322. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/features/segment_analysis/segment_extractor.py +0 -0
  323. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/features/segment_analysis/segment_processor.py +0 -0
  324. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/features/segment_analysis/time_windowed_features.py +0 -0
  325. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/features/stats/__init__.py +0 -0
  326. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/features/stats/_values.py +0 -0
  327. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/features/stats/boolean_stats.py +0 -0
  328. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/features/stats/feature_table.py +0 -0
  329. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/features/stats/numeric_stats.py +0 -0
  330. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/features/stats/string_stats.py +0 -0
  331. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/features/time_stats/__init__.py +0 -0
  332. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/features/time_stats/time_stats_numeric.py +0 -0
  333. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/loader/__init__.py +0 -0
  334. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/loader/combine/__init__.py +0 -0
  335. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/loader/combine/integrator.py +0 -0
  336. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/loader/context/__init__.py +0 -0
  337. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/loader/context/context_enricher.py +0 -0
  338. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/loader/metadata/__init__.py +0 -0
  339. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/loader/metadata/metadata_api_loader.py +0 -0
  340. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/loader/metadata/metadata_db_loader.py +0 -0
  341. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/loader/metadata/metadata_json_loader.py +0 -0
  342. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/loader/timeseries/__init__.py +0 -0
  343. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/loader/timeseries/azure_blob_energy_loader.py +0 -0
  344. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/loader/timeseries/azure_blob_loader.py +0 -0
  345. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/loader/timeseries/databricks_spark_parquet_loader.py +0 -0
  346. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/loader/timeseries/databricks_unity_energy_loader.py +0 -0
  347. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/loader/timeseries/energy_api_loader.py +0 -0
  348. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/loader/timeseries/parquet_loader.py +0 -0
  349. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/loader/timeseries/s3proxy_parquet_loader.py +0 -0
  350. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/loader/timeseries/timescale_loader.py +0 -0
  351. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/pipeline.py +0 -0
  352. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/profiling.py +0 -0
  353. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/py.typed +0 -0
  354. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/signals/infer.py +0 -0
  355. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/signals/primitives.py +0 -0
  356. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/signals/spec.py +0 -0
  357. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/stream.py +0 -0
  358. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/transform/__init__.py +0 -0
  359. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/transform/calculator/__init__.py +0 -0
  360. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/transform/calculator/numeric_calc.py +0 -0
  361. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/transform/calculator/power_integration.py +0 -0
  362. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/transform/calculator/unit_conversion.py +0 -0
  363. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/transform/filter/__init__.py +0 -0
  364. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/transform/filter/_sequence.py +0 -0
  365. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/transform/filter/boolean_filter.py +0 -0
  366. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/transform/filter/custom_filter.py +0 -0
  367. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/transform/filter/datetime_filter.py +0 -0
  368. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/transform/filter/numeric_filter.py +0 -0
  369. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/transform/filter/string_filter.py +0 -0
  370. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/transform/functions/__init__.py +0 -0
  371. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/transform/functions/lambda_func.py +0 -0
  372. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/transform/harmonization.py +0 -0
  373. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/transform/time_functions/__init__.py +0 -0
  374. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/transform/time_functions/timezone_shift.py +0 -0
  375. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/utils/__init__.py +0 -0
  376. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/utils/coerce.py +0 -0
  377. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/utils/counters.py +0 -0
  378. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/utils/deprecation.py +0 -0
  379. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/utils/frames.py +0 -0
  380. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/utils/intervals.py +0 -0
  381. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/utils/shifts.py +0 -0
  382. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/utils/time_accounting.py +0 -0
  383. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape/utils/time_weighted.py +0 -0
  384. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape.egg-info/dependency_links.txt +0 -0
  385. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape.egg-info/requires.txt +0 -0
  386. {ts_shape-0.0.77 → ts_shape-0.0.78}/src/ts_shape.egg-info/top_level.txt +0 -0
  387. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/conftest.py +0 -0
  388. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/data/setpoint_kpis_reference.csv +0 -0
  389. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/docs/__init__.py +0 -0
  390. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/docs/test_args_documented.py +0 -0
  391. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/docs/test_doc_names.py +0 -0
  392. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/docs/test_docstring_examples.py +0 -0
  393. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/docs/test_docstring_lists.py +0 -0
  394. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/docs/test_method_tables.py +0 -0
  395. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/eventlog/__init__.py +0 -0
  396. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/eventlog/conftest.py +0 -0
  397. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/eventlog/test_adapter_coverage.py +0 -0
  398. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/eventlog/test_adapters.py +0 -0
  399. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/eventlog/test_align.py +0 -0
  400. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/eventlog/test_end_to_end.py +0 -0
  401. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/eventlog/test_event_ids_frozen.py +0 -0
  402. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/eventlog/test_eventlog_robustness.py +0 -0
  403. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/eventlog/test_flat_and_ocel.py +0 -0
  404. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/eventlog/test_lambda_rules.py +0 -0
  405. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/eventlog/test_model.py +0 -0
  406. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/eventlog/test_objects.py +0 -0
  407. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/eventlog/test_polish.py +0 -0
  408. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/eventlog/test_relate.py +0 -0
  409. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/eventlog/test_schema.py +0 -0
  410. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/invariants/__init__.py +0 -0
  411. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/invariants/baseline.json +0 -0
  412. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/invariants/harness.py +0 -0
  413. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/invariants/test_contract_summary.py +0 -0
  414. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/invariants/test_contract_transform_features.py +0 -0
  415. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/invariants/test_dst_windows.py +0 -0
  416. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/invariants/test_invariants.py +0 -0
  417. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/reference/__init__.py +0 -0
  418. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/reference/test_capability_reference.py +0 -0
  419. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/reference/test_energy_values.py +0 -0
  420. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/reference/test_kpi_references_misc.py +0 -0
  421. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/reference/test_kpi_references_quality.py +0 -0
  422. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/reference/test_kpi_time_accounting.py +0 -0
  423. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/reference/test_round13_engineering.py +0 -0
  424. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/reference/test_round13_quality.py +0 -0
  425. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/reference/test_round14_a.py +0 -0
  426. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/reference/test_round14_b.py +0 -0
  427. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/reference/test_round16_dst.py +0 -0
  428. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/reference/test_round17_eventlog.py +0 -0
  429. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/reference/test_round17_features_filters.py +0 -0
  430. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/reference/test_round17_loaders.py +0 -0
  431. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/reference/test_round17_pipeline_signals.py +0 -0
  432. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/reference/test_round17_production_power.py +0 -0
  433. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/reference/test_spc_rules_reference.py +0 -0
  434. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/reference/test_uncertainty_reference.py +0 -0
  435. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/reference/test_untested_methods.py +0 -0
  436. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/reference/test_weibull_reference.py +0 -0
  437. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_anomaly_classification.py +0 -0
  438. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_apply_ranges_overlap.py +0 -0
  439. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_asset_health_index.py +0 -0
  440. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_azure_blob_energy_loader.py +0 -0
  441. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_azure_blob_loader.py +0 -0
  442. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_base.py +0 -0
  443. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_base_fast_paths.py +0 -0
  444. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_batch_tracking_resets.py +0 -0
  445. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_boolean_filter.py +0 -0
  446. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_bottleneck_detection.py +0 -0
  447. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_branch_coverage_events.py +0 -0
  448. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_calibration_validation.py +0 -0
  449. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_canonical_output_columns.py +0 -0
  450. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_capability_trending.py +0 -0
  451. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_catalog.py +0 -0
  452. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_change_point.py +0 -0
  453. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_changeover_initial.py +0 -0
  454. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_coerce.py +0 -0
  455. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_consistent_outputs.py +0 -0
  456. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_context_enricher.py +0 -0
  457. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_context_robustness.py +0 -0
  458. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_continuous_alignment_resets.py +0 -0
  459. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_continuous_process_alignment.py +0 -0
  460. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_correlation_events.py +0 -0
  461. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_correlation_time_grid.py +0 -0
  462. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_counter_group_boundaries.py +0 -0
  463. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_counter_windows.py +0 -0
  464. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_counters.py +0 -0
  465. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_cross_signal.py +0 -0
  466. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_custom_filter.py +0 -0
  467. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_cusum_duplicates.py +0 -0
  468. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_cycles.py +0 -0
  469. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_cycles_extractor_matching.py +0 -0
  470. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_data_gap_analysis.py +0 -0
  471. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_databricks_spark_parquet_loader.py +0 -0
  472. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_databricks_unity_energy_loader.py +0 -0
  473. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_databricks_unity_parquet_loader.py +0 -0
  474. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_datasets.py +0 -0
  475. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_degenerate_denominators_other_packs.py +0 -0
  476. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_degenerate_inputs.py +0 -0
  477. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_deprecated_kwargs_all.py +0 -0
  478. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_deprecation.py +0 -0
  479. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_descriptive_features_windowed.py +0 -0
  480. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_detector_registry_conformance.py +0 -0
  481. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_development_events.py +0 -0
  482. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_downtime_quality.py +0 -0
  483. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_downtime_reason_fix.py +0 -0
  484. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_duplicate_events.py +0 -0
  485. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_duty_cycle.py +0 -0
  486. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_edge_cases.py +0 -0
  487. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_energy_api_loader.py +0 -0
  488. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_energy_efficiency_comparison_counter.py +0 -0
  489. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_energy_events.py +0 -0
  490. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_energy_new_classes.py +0 -0
  491. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_engineering_control_loop_health.py +0 -0
  492. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_engineering_disturbance_recovery.py +0 -0
  493. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_engineering_material_balance.py +0 -0
  494. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_engineering_operating_range.py +0 -0
  495. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_engineering_process_stability.py +0 -0
  496. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_engineering_process_window.py +0 -0
  497. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_engineering_setpoint.py +0 -0
  498. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_engineering_setpoint_alignment.py +0 -0
  499. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_engineering_signal_comparison.py +0 -0
  500. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_engineering_startup.py +0 -0
  501. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_engineering_steady_state.py +0 -0
  502. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_engineering_warmup.py +0 -0
  503. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_environmental_compensation.py +0 -0
  504. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_examples.py +0 -0
  505. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_failure_prediction_rul.py +0 -0
  506. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_feature_table.py +0 -0
  507. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_filters_group_by_uuid.py +0 -0
  508. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_flow_constraints_interval_end.py +0 -0
  509. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_flow_metrics.py +0 -0
  510. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_frames_helpers.py +0 -0
  511. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_frequency_defaults.py +0 -0
  512. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_gauge_repeatability.py +0 -0
  513. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_import_time.py +0 -0
  514. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_interval_end_change_encoded.py +0 -0
  515. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_interval_end_other_packs.py +0 -0
  516. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_intervals.py +0 -0
  517. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_lambda_func.py +0 -0
  518. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_lead_time_matching.py +0 -0
  519. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_lead_time_pairing.py +0 -0
  520. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_lean_install.py +0 -0
  521. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_legacy_cleanup.py +0 -0
  522. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_legacy_defects.py +0 -0
  523. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_line_balancing.py +0 -0
  524. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_line_balancing_alarm_boundary.py +0 -0
  525. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_line_throughput_guards.py +0 -0
  526. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_line_throughput_resets.py +0 -0
  527. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_lined_out_round2.py +0 -0
  528. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_loader_integrator.py +0 -0
  529. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_loader_paths_azure.py +0 -0
  530. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_loader_paths_metadata.py +0 -0
  531. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_loader_paths_sql_s3.py +0 -0
  532. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_loader_repr.py +0 -0
  533. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_loader_time_range_names.py +0 -0
  534. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_loader_utils.py +0 -0
  535. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_long_downtime_events.py +0 -0
  536. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_maintenance_events.py +0 -0
  537. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_max_gap_caps.py +0 -0
  538. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_measurement_uncertainty.py +0 -0
  539. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_metadata_api_loader.py +0 -0
  540. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_metadata_db_loader.py +0 -0
  541. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_metadata_json_loader.py +0 -0
  542. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_micro_stop_detection.py +0 -0
  543. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_micro_stop_vectorized.py +0 -0
  544. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_misc_robustness.py +0 -0
  545. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_multi_process_traceability.py +0 -0
  546. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_multi_sensor_validation.py +0 -0
  547. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_multivariate_spc.py +0 -0
  548. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_named_public_functions.py +0 -0
  549. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_naming.py +0 -0
  550. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_normalize.py +0 -0
  551. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_numeric_calc.py +0 -0
  552. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_numeric_filter.py +0 -0
  553. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_oee_gaps.py +0 -0
  554. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_oee_resets.py +0 -0
  555. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_operating_state.py +0 -0
  556. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_operator_performance.py +0 -0
  557. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_operator_performance_resets.py +0 -0
  558. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_outlier_detection.py +0 -0
  559. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_outlier_detection_robustness.py +0 -0
  560. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_output_schema.py +0 -0
  561. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_overnight_shift.py +0 -0
  562. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_overnight_shift_extended.py +0 -0
  563. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_pack_exports_idioms.py +0 -0
  564. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_parquet_loader.py +0 -0
  565. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_pattern_recognition.py +0 -0
  566. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_pattern_recognition_fast_paths.py +0 -0
  567. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_perf_equivalence_events.py +0 -0
  568. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_performance_loss.py +0 -0
  569. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_period_summary.py +0 -0
  570. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_period_summary_resets.py +0 -0
  571. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_pipeline.py +0 -0
  572. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_power_integration.py +0 -0
  573. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_power_integration_dst.py +0 -0
  574. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_production_events.py +0 -0
  575. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_production_oee_alarm_batch.py +0 -0
  576. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_production_tracking.py +0 -0
  577. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_profile.py +0 -0
  578. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_profile_comparison.py +0 -0
  579. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_profile_constant_runs.py +0 -0
  580. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_properties_core.py +0 -0
  581. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_public_api.py +0 -0
  582. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_quality_tracking_resets.py +0 -0
  583. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_rate_of_change.py +0 -0
  584. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_release_version.py +0 -0
  585. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_reliability.py +0 -0
  586. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_renames.py +0 -0
  587. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_rework_tracking.py +0 -0
  588. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_rework_tracking_resets.py +0 -0
  589. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_robustness_other_packs.py +0 -0
  590. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_rolling_moments.py +0 -0
  591. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_root_cause_correlation.py +0 -0
  592. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_round13_renames_behavior.py +0 -0
  593. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_round13_robustness.py +0 -0
  594. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_runs.py +0 -0
  595. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_runtime_accounting.py +0 -0
  596. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_s3proxy_parquet_loader.py +0 -0
  597. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_sampling_resolution.py +0 -0
  598. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_scale.py +0 -0
  599. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_scale_other_packs.py +0 -0
  600. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_scale_production.py +0 -0
  601. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_schedule_adherence.py +0 -0
  602. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_scrap_tracking.py +0 -0
  603. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_scrap_tracking_resets.py +0 -0
  604. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_segment_extractor.py +0 -0
  605. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_segment_processor.py +0 -0
  606. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_sensor_drift.py +0 -0
  607. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_setpoint_startup_coverage.py +0 -0
  608. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_setup_time_tracking.py +0 -0
  609. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_severity_level.py +0 -0
  610. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_shift_handover.py +0 -0
  611. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_shift_handover_resets.py +0 -0
  612. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_shift_reporting_resets.py +0 -0
  613. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_shifts.py +0 -0
  614. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_signal_checks.py +0 -0
  615. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_signal_checks_columns.py +0 -0
  616. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_signal_quality.py +0 -0
  617. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_signals.py +0 -0
  618. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_signals_properties.py +0 -0
  619. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_signals_robustness.py +0 -0
  620. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_spc.py +0 -0
  621. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_spc_rules_coverage.py +0 -0
  622. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_specs_driven_detectors.py +0 -0
  623. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_stats_boolean.py +0 -0
  624. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_stats_numeric.py +0 -0
  625. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_stats_string.py +0 -0
  626. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_stream.py +0 -0
  627. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_stream_equivalence.py +0 -0
  628. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_string_and_datetime_filter.py +0 -0
  629. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_target_tracking.py +0 -0
  630. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_target_tracking_resets.py +0 -0
  631. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_threshold_monitoring.py +0 -0
  632. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_time_accounting.py +0 -0
  633. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_time_stats_numeric.py +0 -0
  634. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_time_to_threshold.py +0 -0
  635. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_time_weighted.py +0 -0
  636. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_time_weighted_and_gaps.py +0 -0
  637. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_time_windowed_features.py +0 -0
  638. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_timescale_loader.py +0 -0
  639. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_timestamp_stats.py +0 -0
  640. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_timezone_safety.py +0 -0
  641. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_tolerance_deviation.py +0 -0
  642. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_tolerance_deviation_direction.py +0 -0
  643. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_traceability.py +0 -0
  644. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_traceability_dwell.py +0 -0
  645. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_transform_features_renames.py +0 -0
  646. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_transform_features_robustness.py +0 -0
  647. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_transform_harmonization.py +0 -0
  648. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_unit_conversion.py +0 -0
  649. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_value_distribution.py +0 -0
  650. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_value_mapping.py +0 -0
  651. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_verify_cycles.py +0 -0
  652. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_verify_cycles_processor.py +0 -0
  653. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_verify_objects.py +0 -0
  654. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_verify_period_cutters.py +0 -0
  655. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_window_bounds.py +0 -0
  656. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/test_zero_steps_and_gaps.py +0 -0
  657. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/typing/deprecated_usage.py +0 -0
  658. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/typing/mypy.ini +0 -0
  659. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/typing/test_lazy_exports.py +0 -0
  660. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/typing/test_mypy.py +0 -0
  661. {ts_shape-0.0.77 → ts_shape-0.0.78}/tests/typing/user_script.py +0 -0
@@ -1,3 +1,25 @@
1
+ # October 22, 2026 (round 19)
2
+ New: find and classify object-identifier signals.
3
+ fix: compatibility with pandas 3.1
4
+ feat: identify_objects(dataframe) screens every uuid for values that identify
5
+ physical objects (serial, batch, lot, material, recipe, orders, tools,
6
+ fixtures, carriers, RFID tags, machines, stations, locations, operators,
7
+ customers/suppliers, handling units) from the values and their behaviour
8
+ only; ObjectReport.to_object_specs() feeds detect_objects.
9
+ feat: make_object_signals() generates a labelled benchmark frame.
10
+ See docs/guides/object-identification.md.
11
+
12
+ # October 21, 2026 (round 18)
13
+ Databricks open-range fix; memory at 10M-100M rows.
14
+ fix: DatabricksUnityParquetLoader open ranges floor to the folder
15
+ granularity of hour_pattern (a mid-day start no longer skips its day).
16
+ perf: detectors that read only their own signals keep only those rows
17
+ (about 40 % less memory over the input and about half the time at 10M
18
+ rows); results and warnings unchanged.
19
+ perf: to_event_log builds ids and activities in chunks: 100M-row inputs
20
+ peak at about 7.4 GB, 1.5-2x faster; ids and tables byte-identical.
21
+ See docs/migration.md.
22
+
1
23
  # October 21, 2026 (round 17, part J)
2
24
  Second audit: loaders, transforms, features, performance loss.
3
25
  fix: performance loss splits cycles at window/shift edges (no run time
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ts_shape
3
- Version: 0.0.77
3
+ Version: 0.0.78
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
@@ -18,6 +18,12 @@ interleaved on a 1 s grid: a run/idle state (bool), a production counter
18
18
  (integer), two analog signals (double) and a part id (string). Every value
19
19
  column is filled on every row.
20
20
 
21
+ Event-log cases beyond the defaults (run them with ``--cases``):
22
+ ``eventlog.to_event_log.objects`` (the interval case with caller-bound
23
+ objects), ``eventlog.to_event_log.point[.objects]`` (state transitions, a
24
+ point detector) and ``eventlog.to_event_log.frame[.objects]`` (the whole
25
+ frame as point events, one per row: the adapter's worst case).
26
+
21
27
  Reported per case: ``seconds`` (the timed call only; generating the data and
22
28
  any ``setup`` step are excluded), ``peak_rss_mb`` (high-water mark during the
23
29
  timed call, reset through ``/proc/self/clear_refs`` on Linux), ``base_rss_mb``
@@ -66,24 +72,33 @@ def make_frame(
66
72
  slim: Only ``systime``, ``uuid``, ``value_double`` and ``value_bool``
67
73
  (for runs at 100M rows).
68
74
  """
75
+ # Temporaries are freed as soon as possible and the text columns are
76
+ # built by ``take`` (no Python object per row), so the full frame fits
77
+ # at 100M rows; the values are the same as built naively.
69
78
  rng = np.random.default_rng(seed)
70
79
  k = len(UUIDS)
71
80
  step = np.arange(n_rows, dtype=np.int64) // k
72
81
  systime = pd.to_datetime("2025-01-01") + pd.to_timedelta(step, unit="s")
73
- names = np.array(sorted(UUIDS), dtype=object)
74
- uuid_values = names[np.arange(n_rows) % k]
82
+ names = sorted(UUIDS)
83
+ which = np.arange(n_rows) % k
75
84
  if uuid_dtype == "object":
76
- uuid: Any = pd.Series(uuid_values, dtype=object)
85
+ uuid: Any = pd.Series(np.array(names, dtype=object)[which], dtype=object)
77
86
  elif uuid_dtype == "category":
78
- uuid = pd.Categorical(uuid_values)
87
+ uuid = pd.Categorical(np.array(names, dtype=object)[which])
79
88
  else:
80
89
  # The dtype pandas infers for Python strings, without building
81
90
  # n_rows Python objects first.
82
- uuid = pd.Series(names.tolist()).take(np.arange(n_rows) % k).array
83
- # Run/idle state with runs of 1..60 samples.
91
+ uuid = pd.Series(names).take(which).array
92
+ del which
93
+ # Run/idle state with runs of 1..60 samples (only the runs that fit).
84
94
  lengths = rng.integers(1, 60, size=n_rows // 2 + 2)
85
- state = np.repeat(np.arange(len(lengths)) % 2 == 0, lengths)[:n_rows]
86
- walk = np.cumsum(rng.normal(0.0, 0.05, n_rows)) + 50.0
95
+ used = int(np.searchsorted(np.cumsum(lengths), n_rows)) + 1
96
+ lengths = lengths[:used]
97
+ state = np.repeat(np.arange(used) % 2 == 0, lengths)[:n_rows].copy()
98
+ del lengths
99
+ walk = rng.normal(0.0, 0.05, n_rows)
100
+ np.cumsum(walk, out=walk)
101
+ walk += 50.0
87
102
  if slim:
88
103
  return pd.DataFrame(
89
104
  {
@@ -91,11 +106,15 @@ def make_frame(
91
106
  "uuid": uuid,
92
107
  "value_double": walk,
93
108
  "value_bool": state,
94
- }
109
+ },
110
+ copy=False,
95
111
  )
96
- counter = np.cumsum(state.astype(np.int64))
97
- parts = np.array(["P-100", "P-200", "P-300"], dtype=object)
98
- part = parts[(step // 3600) % len(parts)]
112
+ counter = state.astype(np.int64)
113
+ np.cumsum(counter, out=counter)
114
+ part_code = (step // 3600) % 3
115
+ del step
116
+ part = pd.Series(["P-100", "P-200", "P-300"]).take(part_code).array
117
+ del part_code
99
118
  return pd.DataFrame(
100
119
  {
101
120
  "systime": systime,
@@ -104,7 +123,8 @@ def make_frame(
104
123
  "value_integer": counter,
105
124
  "value_bool": state,
106
125
  "value_string": part,
107
- }
126
+ },
127
+ copy=False,
108
128
  )
109
129
 
110
130
 
@@ -122,6 +142,25 @@ def _cases() -> dict[str, Case]:
122
142
  def run_idle_frame(df: pd.DataFrame) -> pd.DataFrame:
123
143
  return ts_shape.MachineStateEvents(df, STATE).detect_run_idle()
124
144
 
145
+ def transition_frame(df: pd.DataFrame) -> pd.DataFrame:
146
+ return ts_shape.MachineStateEvents(df, STATE).transition_events()
147
+
148
+ def batch_objects(out: pd.DataFrame) -> dict[str, Any]:
149
+ # Caller-bound objects: a column, a Series and a scalar binding.
150
+ batch = pd.Series(np.arange(len(out)) // 1000, index=out.index)
151
+ return {
152
+ "signal": "source_uuid",
153
+ "batch": batch.map("B-{}".format),
154
+ "line": "L1",
155
+ }
156
+
157
+ def with_objects(frame_fn: Callable[[pd.DataFrame], Any]) -> Callable:
158
+ def setup(df: pd.DataFrame) -> tuple[pd.DataFrame, dict[str, Any]]:
159
+ out = frame_fn(df)
160
+ return out, batch_objects(out)
161
+
162
+ return setup
163
+
125
164
  return {
126
165
  "base": (ident, lambda df: Base(df)),
127
166
  "machine_state.__init__": (
@@ -170,6 +209,12 @@ def _cases() -> dict[str, Case]:
170
209
  df, TEMP
171
210
  ).detect_trend_degradation(),
172
211
  ),
212
+ "threshold_monitoring.time_above_threshold": (
213
+ ident,
214
+ lambda df: ts_shape.ThresholdMonitoringEvents(
215
+ df, TEMP
216
+ ).time_above_threshold(threshold=50.0),
217
+ ),
173
218
  "signals.profile": (ident, lambda df: ts_shape.profile(df)),
174
219
  "eventlog.to_event_log": (
175
220
  run_idle_frame,
@@ -177,6 +222,40 @@ def _cases() -> dict[str, Case]:
177
222
  out, detector="MachineStateEvents.detect_run_idle"
178
223
  ),
179
224
  ),
225
+ "eventlog.to_event_log.objects": (
226
+ with_objects(run_idle_frame),
227
+ lambda ctx: ts_shape.to_event_log(
228
+ ctx[0], detector="MachineStateEvents.detect_run_idle", objects=ctx[1]
229
+ ),
230
+ ),
231
+ "eventlog.to_event_log.point": (
232
+ transition_frame,
233
+ lambda out: ts_shape.to_event_log(
234
+ out, detector="MachineStateEvents.transition_events"
235
+ ),
236
+ ),
237
+ "eventlog.to_event_log.point.objects": (
238
+ with_objects(transition_frame),
239
+ lambda ctx: ts_shape.to_event_log(
240
+ ctx[0], detector="MachineStateEvents.transition_events", objects=ctx[1]
241
+ ),
242
+ ),
243
+ # The whole 6-column frame as point events (one event per row), the
244
+ # worst case for the adapter: every row is hashed and rendered.
245
+ "eventlog.to_event_log.frame": (
246
+ ident,
247
+ lambda df: ts_shape.to_event_log(
248
+ df, detector="OutlierDetectionEvents.detect_outliers_zscore"
249
+ ),
250
+ ),
251
+ "eventlog.to_event_log.frame.objects": (
252
+ ident,
253
+ lambda df: ts_shape.to_event_log(
254
+ df,
255
+ detector="OutlierDetectionEvents.detect_outliers_zscore",
256
+ objects={"signal": "uuid", "line": "L1"},
257
+ ),
258
+ ),
180
259
  }
181
260
 
182
261
 
@@ -230,15 +309,25 @@ def _current_rss_mb() -> float:
230
309
  return float("nan")
231
310
 
232
311
 
312
+ def _phase(name: str) -> None:
313
+ """Report the phase the child enters (named when it runs out of memory)."""
314
+ print(
315
+ f"phase: {name} (rss {_current_rss_mb():.0f} MB)", file=sys.stderr, flush=True
316
+ )
317
+
318
+
233
319
  def child(case: str, n_rows: int, uuid_dtype: str, slim: bool) -> dict[str, Any]:
234
320
  """Run one case in this process and return its measurements."""
235
321
  import warnings
236
322
 
237
323
  warnings.simplefilter("ignore")
324
+ _phase("data")
238
325
  df = make_frame(n_rows, uuid_dtype=uuid_dtype, slim=slim)
239
326
  setup, run = _cases()[case]
327
+ _phase("setup")
240
328
  ctx = setup(df)
241
329
  base_rss = _current_rss_mb()
330
+ _phase("run")
242
331
  reset = _reset_peak_rss()
243
332
  start = time.perf_counter()
244
333
  run(ctx)
@@ -306,9 +395,15 @@ def run_one(
306
395
  lines = [ln for ln in proc.stdout.splitlines() if ln.startswith("{")]
307
396
  if proc.returncode == 0 and lines:
308
397
  return dict(json.loads(lines[-1]))
309
- err = (proc.stderr.strip().splitlines() or ["?"])[-1]
398
+ errors = [
399
+ ln for ln in proc.stderr.strip().splitlines() if not ln.startswith("phase: ")
400
+ ]
401
+ err = (errors or [f"exit code {proc.returncode}"])[-1]
310
402
  if "MemoryError" in proc.stderr or "bad_alloc" in proc.stderr:
311
403
  err = f"out of memory (cap {max_gb:g} GB)"
404
+ phases = [ln for ln in proc.stderr.splitlines() if ln.startswith("phase: ")]
405
+ if phases:
406
+ err += f" in {phases[-1][len('phase: '):]}"
312
407
  return {
313
408
  "case": case,
314
409
  "n_rows": n_rows,
@@ -45,6 +45,9 @@ id_template="{value}", attributes={})` says that signal `uuid` carries ids of
45
45
  the blip. The last id on a signal is never dropped.
46
46
 
47
47
  `object_specs_from_metadata(metadata)` builds the specs from a metadata table.
48
+ Without metadata, [`identify_objects`](../object-identification.md) finds the id
49
+ signals and their types from the values alone; `report.to_object_specs()` returns the
50
+ specs.
48
51
 
49
52
  ## When is an object present?
50
53
 
@@ -0,0 +1,338 @@
1
+ # Object identification
2
+
3
+ [Object detection](eventlog/objects.md) needs to know which signals carry ids and of
4
+ what: `ObjectSpec("line:a", "serial")`. `identify_objects` finds those signals for
5
+ you. It screens every signal for values that name a physical object or a
6
+ manufacturing entity, then classifies the type of each one: serial, batch, work
7
+ order, carrier, tool, operator, and so on.
8
+
9
+ The evidence is the **data only**: the values and how they behave over time. The
10
+ uuid, labels, descriptions and other metadata are never read, so a signal called
11
+ `batch_id` that holds temperatures is still a measurement. The one exception is
12
+ `hints={uuid: object_type}`, which you set yourself to pin a type.
13
+
14
+ The result is a separate report. It does not change `SignalSpec.kind` or what
15
+ `infer_specs` returns.
16
+
17
+ ## Workflow
18
+
19
+ `identify_objects` → review the table → `to_object_specs` → `detect_objects` →
20
+ `to_event_log`.
21
+
22
+ ```python
23
+ import numpy as np
24
+ import pandas as pd
25
+ from ts_shape import identify_objects
26
+
27
+ t = pd.date_range("2025-03-03 06:00", periods=720, freq="1min") # 12 h
28
+ part = np.arange(720) // 3 # a part every 3 minutes
29
+ rng = np.random.default_rng(0)
30
+ running = (np.arange(720) // 45) % 4 != 3
31
+ df = pd.concat(
32
+ [
33
+ pd.DataFrame({"systime": t, "uuid": "line:a",
34
+ "value_string": [f"SN{250000 + p}" for p in part]}),
35
+ pd.DataFrame({"systime": t, "uuid": "line:b",
36
+ "value_string": [f"B250303-{1 + i // 120:03d}" for i in range(720)]}),
37
+ pd.DataFrame({"systime": t, "uuid": "line:c", "value_integer": part}),
38
+ pd.DataFrame({"systime": t, "uuid": "line:d",
39
+ "value_double": 60 + rng.normal(0, 0.5, 720)}),
40
+ pd.DataFrame({"systime": t, "uuid": "line:e",
41
+ "value_string": np.where(running, "RUN", "IDLE")}),
42
+ ],
43
+ ignore_index=True,
44
+ )
45
+
46
+ report = identify_objects(df)
47
+ print(report.table[["uuid", "role", "object_type", "type_confidence", "parent_uuid"]])
48
+ ```
49
+
50
+ ```text
51
+ uuid role object_type type_confidence parent_uuid
52
+ 0 line:a identifier serial 0.775510 line:b
53
+ 1 line:b identifier batch 0.622222 None
54
+ 2 line:c counter None NaN None
55
+ 3 line:d measurement None NaN None
56
+ 4 line:e state None NaN None
57
+ ```
58
+
59
+ `line:a` is a serial nested in the batch `line:b`; the counter, the temperature and
60
+ the run state are screened out. Review the reasons before you rely on a type:
61
+
62
+ ```python
63
+ print(report.explain("line:a"))
64
+ ```
65
+
66
+ ```text
67
+ line:a: identifier (value_string)
68
+ identifier score 0.80; type serial (confidence 0.78), runner-up batch (0.15)
69
+ 720 samples, 240 distinct, 240 runs, median hold 180 s, revisit 0.00, ...
70
+ - 240 distinct values (> 16) +0.30
71
+ - shape A{2}9{6} (100% regular) +0.25
72
+ - held 3 samples per run (median) +0.15
73
+ - single tokens of 2..40 characters +0.10
74
+ - serial 1.90: values never come back (revisit <= 0.02) +0.25; many distinct
75
+ values (>= 50) +0.25; held about one cycle (median <= 1800 s) +0.25; next value
76
+ is 1..5 above (>= 80%) +0.15; changes once per counted part (aligned with a
77
+ counter) +0.50; each presence lies inside one presence of another id +0.10;
78
+ changes whenever a coarser non-recurring id changes +0.15; prefix family 'SN'
79
+ +0.25
80
+ - nested in line:b (depth 1)
81
+ type scores: serial 1.90, batch 0.55, handling_unit 0.40
82
+ ```
83
+
84
+ Then turn the confident identifiers into object specs, detect the objects and build
85
+ the event log:
86
+
87
+ ```python
88
+ from ts_shape.eventlog import attach_objects, detect_objects, to_event_log
89
+ from ts_shape.events.production.machine_state import MachineStateEvents
90
+
91
+ specs = report.to_object_specs(min_confidence=0.6)
92
+ print([(s.uuid, s.object_type) for s in specs])
93
+
94
+ objects = detect_objects(df, specs, hierarchy={"serial": "batch"})
95
+ print(objects.objects.groupby("ocel:type").size())
96
+
97
+ state = pd.DataFrame({"systime": t, "uuid": "line:e", "value_bool": running})
98
+ events = MachineStateEvents(state, "line:e").detect_run_idle()
99
+ log = to_event_log(events, detector="MachineStateEvents.detect_run_idle")
100
+ log = attach_objects(log, df, specs, hierarchy={"serial": "batch"})
101
+ print(log.relations["ocel:type"].value_counts().sort_index())
102
+ ```
103
+
104
+ `report.summary()` gives a one-screen overview, `report.identifiers()` the
105
+ identifier rows, and `report.type_scores[uuid]` every type's raw score. The report is
106
+ also a read-only mapping: `report["line:a"]` is the type of a signal, `None` when it
107
+ is not an identifier, and `dict(report)` gives all of them.
108
+
109
+ ## The report table
110
+
111
+ One row per signal, sorted by uuid:
112
+
113
+ | Column | Meaning |
114
+ |---|---|
115
+ | `role` | `identifier`, `state`, `free_text`, `measurement`, `counter`, `timestamp`, `constant` or `insufficient_data` |
116
+ | `identifier_score` | Screening score, 0-1 (identifier at 0.5 or more) |
117
+ | `object_type`, `type_confidence` | The type (or group) and its confidence, 0-1 |
118
+ | `runner_up_type`, `runner_up_confidence` | The best type outside it |
119
+ | `sample_count`, `distinct_count`, `run_count` | Rows, distinct non-empty values, value runs |
120
+ | `mean_hold_seconds`, `median_hold_seconds` | How long an id is held (to the next value or empty reading) |
121
+ | `revisit_ratio` | Share of value runs that bring back an earlier value |
122
+ | `changes_per_hour`, `empty_ratio` | Change rate; share of empty readings |
123
+ | `pattern`, `pattern_share` | Dominant shape signature (`A` upper, `a` lower, `9` digit: `A{2}-9{5}`) and its share |
124
+ | `sequential_ratio` | Share of changes to a number 1-5 higher |
125
+ | `recurrence_cv` | Regularity of re-appearance (low: a pool cycling at a fixed pace) |
126
+ | `parent_uuid` | The id signal this one is nested in |
127
+ | `evidence` | Short tuple of reasons, each with its weight |
128
+
129
+ The id semantics are those of the id-consuming detectors and of object detection: a
130
+ value is held until the next value, a change starts a new item, and an empty
131
+ reading (`""`, whitespace, NaN) means "no item".
132
+
133
+ ## How screening works
134
+
135
+ Each signal is reduced to its run-length encoding and its distinct values, so
136
+ screening is O(n) and holds one signal in memory at a time. 1 million rows over 20
137
+ signals take under a second. `value_string`, `value_integer` and integral
138
+ `value_double` can carry ids.
139
+
140
+ **Clean-up first.** Readers misread, so before anything is measured:
141
+
142
+ - spellings that differ only in case, surrounding blanks or leading zeros
143
+ (`vr-415` and `VR-415`, `0000140630` and `140630`) are one value;
144
+ - a *misread* keeps the previous reading: a value that never lasts more than two
145
+ samples, is rare (under a quarter of the runs or samples of the typical value)
146
+ and is foreign to the typical values -- no letter or digit (`????????`), a PLC
147
+ default number (0, -1, 32767, 65535, ...), a shape no typical value has
148
+ (`NOREAD` among `FX-13`), or a truncation of one (`FX-`). In an integer column a
149
+ PLC default in a shape of its own is a misread however long it lasts;
150
+ - a single empty sample inside a hold (`A A _ A`) is a dropped reading, not "no
151
+ item"; one-sample ids cleared by an empty (`A _ B _`) keep their empties.
152
+
153
+ The evidence counts the misreads. Shares of a format or a shape are weighed by each
154
+ value's runs, so a misread that survives cannot outvote a pool of three tools.
155
+
156
+ The negative roles are checked first, in this order:
157
+
158
+ 1. `insufficient_data`: fewer than `min_samples` rows (default 3: a recipe logged on
159
+ change has only a handful of rows over days), or no non-empty reading.
160
+ 2. `constant`: one value.
161
+ 3. `state`: booleans.
162
+ 4. `measurement`: non-integral floats, or decimal numbers stored as text (`60.9`).
163
+ 5. `timestamp`: ISO and local date/time formats; compact dates (`20240315`,
164
+ `20240315143000`, and `240315` on the day it appears); numbers or digit strings
165
+ that track the sample time (epoch s/ms/us/ns); any short text of digits and date
166
+ punctuation that a date parser reads as the moment the value appears (within 2
167
+ days; a date alone within 31 days before).
168
+ 6. `counter`: monotonic with small steps and resets, or a count that steps up by
169
+ 1-5 at nearly every change and restarts (a reset polled late). A fixed-width
170
+ (5+ digits) number that only rises and never resets is a serial instead.
171
+ 7. `measurement`: a quantized analog value (small steps up and down), or a number
172
+ that changes at nearly every sample with no format, no holding and no
173
+ circulating pool.
174
+ 8. `state`: at most 16 values that are word-like (RUN/IDLE, Running), a small dense
175
+ integer enumeration (starting at -1, 0 or 1 and filling half its range: 1/2/3),
176
+ or a phase sequence (values in a fixed order, each held under 15 s: step names).
177
+ Integer *codes* stay: sparse (17, 23, 5), large (4711) or starting elsewhere
178
+ (9..13), and a tiny pool that takes turns every cycle (parallel machines).
179
+ 9. `free_text`: sentences (two or more plain words, even when they embed ids:
180
+ `Batch B24W07-008 released`), or spaces with a variable or long length and
181
+ irregular shapes.
182
+
183
+ What is left gets an identifier score, the sum of these features (clipped to 0-1):
184
+
185
+ | Feature | Condition | Weight |
186
+ |---|---|---|
187
+ | `high_cardinality` | more than 16 distinct values | +0.30 |
188
+ | `fixed_pool` | 3-16 values that recur regularly (recurrence CV <= 0.5) | +0.30 |
189
+ | `low_cardinality_codes` | 2-16 values that are codes, not words | +0.20 |
190
+ | `regular_format` | one shape, coarse shape, shape family (`M-7`, `M-58`) or segment structure (`RZ_PP_GF30_v5`) for 80 %+ of the values | +0.25 |
191
+ | `known_format` | a format detector matches 90 %+ of the values | +0.35 |
192
+ | `held` | median of 2+ samples per run | +0.15 |
193
+ | `event_stamped` | one-sample ids cleared by an empty reading (80 %+) | +0.15 |
194
+ | `token` | no spaces, 2-40 characters (1-40 for integers) | +0.10 |
195
+ | `changes_every_sample` | a number of more than 16 values, new at nearly every sample, no format, not a running number, no circulating pool | -0.30 |
196
+
197
+ **Fault and alarm codes.** After the cross-signal stage, an identifier from a
198
+ recurring pool that is present less than 20 % of the time, in no fixed order, with
199
+ no known format and changing with no other id becomes a `state`: that is what a
200
+ fault code (`E1043`, set at a stop and cleared) does. A partner changes with its
201
+ order; a carrier on a loop keeps a fixed order or circulates.
202
+
203
+ ## How types are identified
204
+
205
+ Facts about an identifier add the weights of the type rules (`TYPE_RULES` in
206
+ `ts_shape.signals.identify`) to the types they point at. The best type wins at a
207
+ score of 0.5 or more; its confidence is
208
+ `best / (best + runner_up) * min(1, best / 0.8)`. Below 0.5 the type is
209
+ `identifier`, and the evidence says which facts were missing.
210
+
211
+ **Format detectors** (strong evidence, validated):
212
+
213
+ | Format | Type | Weight |
214
+ |---|---|---|
215
+ | GS1 element string, AI (00) / (21) / (10) / (01) | handling_unit / serial / batch (lot 1.0) / article | 1.2 |
216
+ | GTIN-8/12/13/14 with a valid mod-10 check digit | article | 1.0 |
217
+ | SSCC-18 with a valid check digit (also an integer without its leading zeros) | handling_unit | 1.2 |
218
+ | SAP-style 18-digit zero-padded material number | material | 1.2 |
219
+ | Date code YYMMDD / YYWW / YYDDD + sequence, a valid date at most 31 days before the value first appears | batch (0.7), lot (0.6) | |
220
+ | EPC hex, 24 or 32 hex characters | rfid_tag | 1.2 |
221
+ | Location code: aisle-rack-level (`A-01-03`) or lettered levels (`R08-S05-F4`) | location | 1.2 |
222
+ | UUID / GUID | type-neutral: screening only | |
223
+ | Prefix family (`SN`, `WO`, `FA`, `SO`, `PO`, `WT`, `WZ`, ... on the value) | the family's type | 0.25 |
224
+
225
+ A prefix family is never decisive alone: 0.25 is below the type threshold.
226
+
227
+ **Behaviour and structure** (the distinguishing evidence per type):
228
+
229
+ | Type | Distinguishing evidence |
230
+ |---|---|
231
+ | `serial` | 50+ values, never revisited, held about one cycle (<= 30 min), sequential; changes once per counted part; nested in a batch; changes whenever its batch changes |
232
+ | `batch` | long holds, never revisited, a running number; contains serials; changes whenever its coarser work order changes; date codes; held under 30 min counts against it |
233
+ | `lot` | long holds, occasionally revisited, unrelated to the other ids; date codes, `LOT` prefix |
234
+ | `work_order` | hours-long holds, occasionally revisited (a resumed order); coarser than its batches; recipe and material change with it; contains batches |
235
+ | `order` (`sales_order`, `purchase_order`) | event-stamped or held, never revisited, arrivals spread like independent events (hold CV 0.75-1.6), a recurring partner changes with it, no production structure under it |
236
+ | `recipe` | a tiny pool (<= 4), often revisited, long holds; changes only when a work order of the production hierarchy changes |
237
+ | `material` / `article` | like recipe with more values; contains batches; SAP material numbers, GTIN |
238
+ | `tool` / `fixture` | a tiny pool, long or very long holds, changed on its own (no other id changes with it) |
239
+ | `carrier` | a circulating pool (a tour of as many runs as values shows nearly all of them), recurring regularly at cycle rate |
240
+ | `rfid_tag` | EPC hex (on a circulating carrier) |
241
+ | `asset` | a tiny pool that takes turns every cycle (parallel machines), in any order; a two-level code (`L1-M03`) |
242
+ | `station` | numbers in steps of 10 (`OP10`, `OP20`), fixed successor |
243
+ | `location` | location codes; a fixed count of parts per value with no running number |
244
+ | `operator` | changes at shift boundaries (30 %+ and 3+ within 15 min), never held longer than a shift, the badges come back |
245
+ | `business_partner` (`customer`, `supplier`) | often revisited, changes only when an event-like id outside production (an order) changes |
246
+ | `handling_unit` | SSCC; a fixed count of parts per value (a package of N) with a running number |
247
+
248
+ **Cross-signal structure** runs among the screened identifiers only (at most 64),
249
+ O(signals² × runs) with searchsorted on the run boundaries. Change times match
250
+ within 5 s, or within 5 s plus the polling interval of the signals (up to 15 min)
251
+ when chance alone would not give the match (the other signal changes at most 10 %
252
+ of the time within that window):
253
+
254
+ - **Nesting**: each presence of A lies inside one presence of B, A has at least 1.5×
255
+ as many presences, and B's changes coincide with a change of A. The closest
256
+ container is recorded as `parent_uuid`, and the depth is evidence (serial ⊂ batch ⊂
257
+ material). Resources, people and serials (tools, carriers, stations, operators,
258
+ partners) are never containers: a long-running tool contains every batch without
259
+ owning it.
260
+ - **Attributes**: A changes only when B changes (70 %+), B is not revisited, and A
261
+ recurs (revisit > 0.2): A is an attribute of B. When B is part of the production
262
+ hierarchy (it nests batches or serials, or is coarser or finer than another
263
+ unique id) A is a production attribute (recipe, material); otherwise B is an
264
+ order-like host, and an event-like B makes A its business partner. A unique A
265
+ that changes only with a unique, finer B is the coarser of the two (a work order
266
+ over its batches).
267
+ - **Part clocks**: the changes of a serial-like id, or the increments of a counter,
268
+ counted between an id's changes. A fixed count (CV <= 0.3) is a package of N
269
+ parts (handling unit) or its storage location; one change per counted part is a
270
+ serial.
271
+ - **Unrelated**: an id that changes with no other id at all (a tool, a lot).
272
+
273
+ The operator evidence uses the shift boundaries of `shift_definitions` (default
274
+ `ts_shape.utils.shifts.DEFAULT_SHIFTS`: 06:00, 14:00, 22:00), read on the local wall
275
+ clock for tz-aware data.
276
+
277
+ ## Limits
278
+
279
+ - **Groups.** Without a format cue, the data cannot tell a sales order from a purchase
280
+ order, or a customer from a supplier. The report gives the group, `order` or
281
+ `business_partner`; a prefix family (`SO`, `PO`, `CUST`, `SUP`, ...) or a registered
282
+ pattern separates them.
283
+ - **Types that need a format cue:** `rfid_tag` (EPC), `location` and
284
+ `handling_unit` without a part clock (no serial or counter signal), and `fixture`
285
+ (it scores just below `tool` on the same behaviour). Register a pattern for your
286
+ site's format.
287
+ - **Weak pairs** (separated by small margins of behaviour):
288
+ - recipe / tool: a tiny pool of codes held for hours that changes with no other
289
+ id is a tool, a fixture, or a recipe whose work order is not in the data. Only
290
+ the relation to the work order separates them; without it the call is close
291
+ to a guess.
292
+ - recipe / material / article: separated by the pool size (a recipe has a tiny
293
+ pool), nesting and formats.
294
+ - customer / material: both change only with a unique id; the host's
295
+ production structure separates them, so an order next to a production order
296
+ with no batch or serial signal reads alike.
297
+ - batch / lot / work order: structure (nesting, the coarser-finer relation),
298
+ revisits and a running number.
299
+ - station / carrier and asset / station: the pool size and a fixed order.
300
+ - **Encoding.** An id written once per change, without an empty reading after it, is
301
+ read as held until the next value. Only ids cleared by an empty reading count as
302
+ event-stamped.
303
+ - **Counters.** An integer that counts up with a fixed width of 5+ digits and never
304
+ resets is read as a serial, not a counter.
305
+
306
+ Pin what the data cannot tell with `hints`:
307
+
308
+ ```python
309
+ pinned = identify_objects(df, hints={"line:b": "lot"})
310
+ print(pinned.table.set_index("uuid").loc["line:b", ["object_type", "type_confidence"]])
311
+ ```
312
+
313
+ ## Register types and patterns
314
+
315
+ New types are added with `register_identifier_type(name, group=None)`; they are also
316
+ registered as OCEL object types, so `detect_objects` and the OCEL export accept them.
317
+ `register_identifier_pattern(name, regex_or_callable, object_type, weight=...)` adds a
318
+ site-specific format as evidence: when 90 %+ of a signal's values match (the whole
319
+ value, for a regex), the signal counts as having a known format and `object_type`
320
+ gains `weight` (1.0 or more is decisive).
321
+
322
+ ```python
323
+ from ts_shape import register_identifier_pattern, register_identifier_type
324
+
325
+ register_identifier_type("coil")
326
+ register_identifier_pattern("coil number", r"CL\d{2}-\d{5}", "coil", weight=1.2)
327
+
328
+ coils = pd.DataFrame({
329
+ "systime": pd.date_range("2025-03-03", periods=200, freq="2min"),
330
+ "uuid": "mill:coil",
331
+ "value_string": [f"CL25-{40000 + i // 10}" for i in range(200)],
332
+ })
333
+ print(identify_objects(coils).table[["uuid", "object_type", "type_confidence"]])
334
+ ```
335
+
336
+ A pattern can also target a group, and a type registered with `group=` shares the
337
+ group's rules. The vocabulary and the groups live in one dict,
338
+ `ts_shape.signals.IDENTIFIER_TYPES` (type → group or None).