The schedule for the 2.31 release

The next Math/Stan/CmdStan/stanc3 releases are about five weeks away - the feature freeze will happen on the 7th of November, and the release ten days later. I would like to get the release out well before the Thanksgiving holidays.

Please use this thread to let us know if there are any pull requests that need more attention or if you have any other suggestions regarding the release.

4 Likes

To start the thread, the two PRs that require my attention are two @spinkney’s PRs that I neglected to assist on:

1 Like

I have two easy docs PRs open:

And a small stanc PR on some error messages:

I’d also like it if the changes to get_dims and get_param_names were included:

I believe the Stan part of this was waiting on a clarification from @bgoodri

1 Like

Besides those 2 math prs, I believe we should get in

What do you think @WardBrian?

@spinkney I still have a hard time wrapping my head around the best way to encapsulate the _qf signatures. I’m currently extrapolating from only one data point since we don’t have a second one ready to go. I’m happy to work with you on it though, for starters we could just expose it was a “normal” vectorized function if you can list out all the signatures

1 Like

@rok_cesnovar the next version is 2.31.0, right? The title is a typo?

2 Likes

Indeed, fixed.

std_normal_log_qf is in.

I’m not sure if @andrjohns has the time, but I would also really like to see Update log_prob method to take constrained_params in init format by andrjohns · Pull Request #1108 · stan-dev/cmdstan · GitHub before the release, so people don’t start depending on the current way it is implemented

1 Like

Oh good call! I’ll update that tomorrow. I’m just working on some more comprehensive tests to make sure that the method works across matrices and arrays of containers.

The System libs PR for the Math library is just about ready to be re-opened, the only tricky point is that the Sundials library version in Stan is updated past what’s available in distribution package managers (Stan uses 6.1.1, but the most recent in debian/ubuntu is 5.8.0). There were backwards-incompatible changes in the Math code (Sundials 6.0+ uses a different “context” initialisation), so I’m currently looking at whether I can detect the sundials version from the provided directory/library and #ifdef the relevant parts of the Math code

Awesome! If you can’t automatically detect what version, I think it would be reasonable to do what is done for TBB and require that the end-user set up a make variable when they set up the SUNDIALS_LIB etc. For TBB we call it TBB_INTERFACE_NEW, so maybe SUNDIALS_INTERFACE_OLD?

Oh I hadn’t thought of that, makes sense to me!

1 Like

adds varmat for log_inv_logit by SteveBronder · Pull Request #2806 · stan-dev/math · GitHub would also be good to get in since it fixes a known bug @rok_cesnovar

1 Like

@rok_cesnovar I’ve got time today and can review that PR if it would help

Would appreciate it a ton!

1 Like

Two of @andrjohns PRs are ready for reviews

I can do the Bernoulli one. @rok_cesnovar or @stevebronder could you do the ternary vectorization?

Does the ternary vectorization PR add varmat support @andrjohns?

I can do the ternary one

1 Like

I’m re-opening the system-libraries PR in the Math lib today, then I’ll also be opening PR’s later this week to add the signatures and manual entries for the new hypergeometric functions:

  • hypergeometric_2F1
  • hypergeometric_2F2
  • hypergeometric_3F2

I have a few more hypergeometric functions that I’ll be adding, but won’t be ready in time for this release (@spinkney is there anything that you were particularly hoping for your functions? I have the 1F1 just about finished which could also go in this week)

@stevebronder the bernoulli one needs someone to look over the opencl code that reimplements the select function.

@rok_cesnovar I think the weibull pr needs that ^ select function implemented in opencl.

@rok_cesnovar For atan2 I commented out that binary vectorization test as the finite differences fails at infinite inputs. If you think that’s ok, then the pr is ready.

@andrjohns For the hypergeometric functions, that looks good!

1 Like

A few more wish-list items the week before the freeze:

@charlesm93 and I are also working on exposing the variadic forms of the algebraic solvers, which I think will be ready before the end of this week and would be nice to have, but can also wait a release if it gets too crammed.

2 Likes

Oh, and since it is testing related I guess the freeze doesn’t apply, but I would like to get Testing: Prioritize changed unit tests by WardBrian · Pull Request #2832 · stan-dev/math · GitHub merged. It’s a very simple change to the test script which allows us to run the tests we think changed earlier in the pipeline, to ‘fail fast’ as it were.