Closed P3rceval closed 1 month ago
The changes involve updating the test scripts in the notebooks/scripts/tests directory to use new function references. Specifically, method calls and import statements are adjusted to directly use new function names and modules.
Files | Change Summary |
---|---|
notebooks/scripts/tests/test_compute_overlap_columns.py | Replaced CarpoolOverlaps.add_overlap_columns with add_overlap_columns . |
notebooks/scripts/tests/test_filter_carpool_with_same_passenger_no_overlap.py | Updated function call and import statement to use remove_carpool_with_same_passenger_and_no_overlap . |
notebooks/scripts/tests/test_filter_lower_overlap_duration_carpool.py | Changed import and method calls to use remove_carpool_with_lowest_overlap_duration . |
sequenceDiagram
participant TestScript as Test Script
participant FilterModule as Filter Module
participant ComputeModule as Compute Module
TestScript->>FilterModule: call remove_carpool_with_same_passenger_and_no_overlap(df)
TestScript->>ComputeModule: call add_overlap_columns(df)
FilterModule->>TestScript: return filtered results
ComputeModule->>TestScript: return results with overlap columns
🐇 In the scripts where tests reside, New functions summoned, old ones bide. Overlaps and filters freshly named, Simpler calls, all modules tamed. Code so clean, it runs with pride, In the realm of Python, far and wide. 🎩✨
[!TIP]
AI model upgrade
## `gpt-4o` model for reviews and chat is now live OpenAI claims that this model is better at understanding and generating code than the previous models. Please join our [Discord Community](https://discord.com/invite/GsXnASn26c) to provide any feedback or to report any issues.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit