Skip to content

Releases: ShawnStrasser/ATSPM_Aggregation

v1.8.4

12 Sep 22:17
Compare
Choose a tag to compare

Version 1.8.4 (September 12, 2024)

Bug Fixes / Improvements:

Fixed a timestamp conversion issue when reading unmatched events from a csv file. Updated the unit tests to catch this issue in the future.

v1.8.3

05 Sep 15:48
Compare
Choose a tag to compare

Version 1.8.3 (September 5, 2024)

Bug Fixes / Improvements:

  • Fixed estimated volumes for full_ped. Previously, it was converting 15-minute ped data to hourly by applying a rolling sum, then applying the quadratic transform to get volumes, and then converted back to 15-minute by undoing the rolling sum. The bug had to do with the data not always being ordered correctly before undoing the rolling sum. However, this update removes the undo rolling sum altogether and replaces it with multiplying hourly volumes by the ratio of 15-minute data to hourly dat (more detail coming in the docs eventually). It seems to work much better now.

v1.8.2

30 Aug 00:13
Compare
Choose a tag to compare

Version 1.8.2 (August 28, 2024)

Bug Fixes / Improvements:

  • Fixed issue when passing unmatched events as a dataframe instead of a file path.
  • Added more tests for incremental runs when using dataframes. This is to mimic the ODOT production environment.

v1.8.0

28 Aug 17:45
Compare
Choose a tag to compare

Version 1.8.0 (August 28, 2024)

Bug Fixes / Improvements:

  • Removed unused code from yellow_red for efficiency, but it's still not passing tests for incremental processing.

New Features:

  • Added special functions and advance warning to timeline events.

1.7.0

22 Aug 19:05
Compare
Choose a tag to compare

Bug Fixes / Improvements:

  • Fixed issue with incremental processing where cycles at the processing boundary were getting thrown out. This was NOT fixed yet for yellow_red!
  • Significant changes to split_failures to make incremental processing more robust. For example, cycle timestamps are now tied to the end of the red period, not the start of the green period.

New Features:

  • Now includes unit testing. Tested on Python 3.10-3.12 with Windows, Ubuntu and MacOS
  • Support for incremental processing added for split_failures & arrival_on_green. (yellow_red isn't passing tests yet)
  • Added phase green, yellow & all red to timeline.

1.6.0

22 Aug 15:01
Compare
Choose a tag to compare

Version 1.6.0 (July 29, 2024)
Bug Fixes / Improvements:

  • Improved performance for arrival_on_green, split_failures, and yellow_red by filtering out unused phase events.
  • Now using a stable version of DuckDB (1.0.0).
  • Now saves unmatched events from timeline events, to be loaded in next time. This assumes running on a schedule like every 15 minutes.
  • output_file_prefix is no longer required when saving.

New Features:

  • Set a max number of days for unmatched events before removal to prevent accumulation over time.
  • Added verbose option to set level of print/debug statements.
  • .to_sql() method now returns SQL string instead of executing it, for debugging or executing on other platforms.