-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Definitively remove event time constraint from Metro event pairing #309
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good. have you done a check to make sure that this matching criterion is not too liberal (i.e. we should only match 0 or 1 other events not more than 1.
@fgregg Great question. I think we try to do that obliquely, but I'll put something more direct in place. |
maybe an assertion in an appropriate place? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, @hancush
This PR completes the work started in #284, by removing the time constraint from
is_partner
andpartner_search_string
when pairing English and Spanish Metro events. It also adds a clarifying comment to an inline assertion and a test for the_merge_events
method. It closes #308.