SuccessChanges

Summary

  1. Match ground truth to existing trips (commit: e8fdb2a2952391e337dfae4e39fd59e846e12fdf) (details)
  2. Add a real-life test as well just to make sure that everything works (commit: 61019a27e2fcf9c3fb72d4afeb1e45db8bce302b) (details)
Commit e8fdb2a2952391e337dfae4e39fd59e846e12fdf by shankari
Match ground truth to existing trips
Basically, the match is the most recent entry whose start_ts falls
within the trip, as justified here.
https://github.com/e-mission/e-mission-server/issues/532#issuecomment-357861952
Includes unit tests for the no match, single match and multiple match
cases
Bonus change: convert logging -> print to ensure that later debug
logging configuration sticks. If the first log statement is on import,
before the logging is configured, the default level will be WARNING.
(commit: e8fdb2a2952391e337dfae4e39fd59e846e12fdf)
The file was modifiedemission/storage/timeseries/abstract_timeseries.py (diff)
The file was modifiedemission/tests/storageTests/TestTripQueries.py (diff)
The file was modifiedemission/net/ext_service/geocoder/nominatim.py (diff)
The file was modifiedemission/storage/decorations/trip_queries.py (diff)
Commit 61019a27e2fcf9c3fb72d4afeb1e45db8bce302b by shankari
Add a real-life test as well just to make sure that everything works
fine
(commit: 61019a27e2fcf9c3fb72d4afeb1e45db8bce302b)
The file was addedemission/tests/data/real_examples/shankari_single_positional_indexer.dec-12.purpose_confirm
The file was addedemission/tests/data/real_examples/shankari_single_positional_indexer.dec-12.mode_confirm
The file was modifiedemission/tests/storageTests/TestTripQueries.py (diff)