Skip to content

Conversation

@google-labs-jules
Copy link
Contributor

Implemented checks in epidist_prior via .check_latent_priors helper function to enforce or warn about non-uniform priors on latent model window parameters, as requested in issue #478. Added a unit test to verify this behavior.


PR created automatically by Jules for task 3051378266831792981 started by @seabbs

Adds validation for `pwindow_raw` and `swindow_raw` priors in `epidist_latent_model`.
Errors if `swindow_raw` prior is not `uniform(0, 1)`, and warns if `pwindow_raw` prior is not `uniform(0, 1)`.
@google-labs-jules
Copy link
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@coderabbitai
Copy link

coderabbitai bot commented Jan 12, 2026

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov
Copy link

codecov bot commented Jan 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@c722806). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #576   +/-   ##
=======================================
  Coverage        ?   95.79%           
=======================================
  Files           ?       17           
  Lines           ?     1046           
  Branches        ?        0           
=======================================
  Hits            ?     1002           
  Misses          ?       44           
  Partials        ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

google-labs-jules bot and others added 2 commits January 13, 2026 11:47
Adds validation for `pwindow_raw` and `swindow_raw` priors in `epidist_latent_model`.
Errors if `swindow_raw` prior is not `uniform(0, 1)`, and warns if `pwindow_raw` prior is not `uniform(0, 1)`.
Includes refactored validation logic to avoid code duplication and fixes linting issues.
@seabbs seabbs marked this pull request as ready for review January 13, 2026 12:14
@seabbs
Copy link
Contributor

seabbs commented Jan 13, 2026

Closing in favour of #580

@seabbs seabbs closed this Jan 13, 2026
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.

Add a warning if non-uniform events or non IID primary events are used in the latent model

1 participant