Skip to content

Conversation

@WardBrian
Copy link
Member

Counterpart to stan-dev/math#3210. Similarly, it is branched off of #1521 to avoid conflicts

Submission Checklist

  • Run unit tests
  • Documentation
    • If a user-facing facing change was made, the documentation PR is here:

Release notes

Copyright and Licensing

By submitting this pull request, the copyright holder is agreeing to
license the submitted work under the BSD 3-clause license (https://opensource.org/licenses/BSD-3-Clause)

@codecov
Copy link

codecov bot commented Jun 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.77%. Comparing base (8449bcd) to head (ded9c6c).
Report is 7 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1523   +/-   ##
=======================================
  Coverage   89.77%   89.77%           
=======================================
  Files          66       66           
  Lines        9904     9904           
=======================================
  Hits         8891     8891           
  Misses       1013     1013           
Files with missing lines Coverage Δ
src/stan_math_signatures/Stan_math_signatures.ml 86.13% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@SteveBronder SteveBronder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few error message fixes for the tests but code is good

@WardBrian WardBrian requested a review from SteveBronder July 8, 2025 14:48
@WardBrian
Copy link
Member Author

Good catch, all updated

Comment on lines 589 to 597
Ill-typed arguments supplied to function 'laplace_latent_tol_neg_binomial_2_log_rng'
for the likelihood:
The fourth argument must be vector but got <F1>.
where F1 = (array[] vector, int, real, real) => matrix
Expected the arguments to start with:
(array[] int, array[] int, vector, vector)
Recieved 0 control arguments at the end of the call to 'laplace_latent_tol_neg_binomial_2_log_rng'.
Expected 6 arguments for the control parameters instead.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this supposed to be different?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, you were looking only at the one commit diff. If you look at the overall diff of the PR you will see the message did not change.

@WardBrian WardBrian requested a review from SteveBronder July 8, 2025 19:23
@WardBrian WardBrian merged commit 19ad2ce into master Jul 9, 2025
3 checks passed
@WardBrian WardBrian deleted the laplace-helpers-mean branch July 9, 2025 13:33
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.

3 participants