Skip to content
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

OverlapWindowPlugin support multiple outputs #951

Merged
merged 4 commits into from
Jan 12, 2025

Conversation

dachengx
Copy link
Collaborator

@dachengx dachengx commented Jan 12, 2025

Close: #919

What is the problem / what does the code in this PR do

The implementation is straightforward. When a plugin provides multiple outputs, the outputs will be truncated at the same t and cached. The caching of input and output can use the same function in this PR: cache_beyond.

Can you briefly describe how it works?

Can you give a minimal working example (or illustrate with a figure)?

Please include the following if applicable:

  • Update the docstring(s)
  • Update the documentation
  • Tests to check the (new) code is working as desired.
  • Does it solve one of the open issues on github?

Please make sure that all automated tests have passed before asking for a review (you can save the PR as a draft otherwise).

@coveralls
Copy link

coveralls commented Jan 12, 2025

Coverage Status

coverage: 88.92% (+0.04%) from 88.885%
when pulling 9ca29cc on multiple_provides_overlap_window_plugin
into 274fd08 on master.

@dachengx dachengx marked this pull request as ready for review January 12, 2025 02:24
@dachengx dachengx force-pushed the multiple_provides_overlap_window_plugin branch from b307186 to 464385f Compare January 12, 2025 03:41
@dachengx dachengx merged commit 8149cab into master Jan 12, 2025
8 checks passed
@dachengx dachengx deleted the multiple_provides_overlap_window_plugin branch January 12, 2025 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OverlapWindowPlugin forbids multiple provides
2 participants