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

Update master to Release/v2.35.0 #3292

Merged
merged 118 commits into from
Jun 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
118 commits
Select commit Hold shift + click to select a range
90a704a
Updates the Math submodule to c26bd8387d.
stan-buildbot Jan 25, 2024
3b72f01
Add option to output hessian, disable LP calcs in Laplace
WardBrian Jan 25, 2024
32032d8
[Jenkins] auto-formatting by clang-format version 10.0.0-4ubuntu1
stan-buildbot Jan 25, 2024
68df3c6
Properly allow multiple downstream jenkins runs
WardBrian Jan 26, 2024
d402c36
Updates the Math submodule to 9b6bc3d3fd.
stan-buildbot Jan 28, 2024
29c60f7
Merge pull request #3262 from stan-dev/ci/jenkins-downstream-concurrent
WardBrian Jan 28, 2024
bb4ab32
Updates the Math submodule to 4b40ec51a5.
stan-buildbot Jan 30, 2024
88173cc
newrhat
aleksgorica Jan 30, 2024
60882b8
Start: use type alias rng_t consistently
WardBrian Jan 30, 2024
467762d
Update first round of tests
WardBrian Jan 30, 2024
a92cdb1
Update remaining tests to use rng_t
WardBrian Jan 30, 2024
ebe8da2
[Jenkins] auto-formatting by clang-format version 10.0.0-4ubuntu1
stan-buildbot Jan 30, 2024
bf1d10b
Make mcmc::chains a template again to fix compilation
WardBrian Jan 30, 2024
35444e1
Revert any seed-dependent changed tests
WardBrian Jan 30, 2024
a49908b
Merge pull request #3261 from stan-dev/feature/3215-3260-laplace-addi…
WardBrian Jan 30, 2024
98450d7
resolved some of pr1
aleksgorica Jan 31, 2024
476a356
Merge pull request #3263 from stan-dev/refactor/switch-rngs
WardBrian Jan 31, 2024
b09f512
comments deleted
aleksgorica Jan 31, 2024
322d2ed
Updates the Math submodule to babb1adabd.
stan-buildbot Feb 1, 2024
dcd21f2
Test changed
aleksgorica Feb 1, 2024
57fb925
Updates the Math submodule to 967e86d08a.
stan-buildbot Feb 2, 2024
a015434
Updates the Math submodule to 8e4e4e6ffc.
stan-buildbot Feb 3, 2024
c20ce61
chains_test modified
aleksgorica Feb 4, 2024
0e8379f
Merge commit 'a0154340ce1f195de01839075adad25e10bf28d5' into HEAD
yashikno Feb 6, 2024
5630c51
[Jenkins] auto-formatting by clang-format version 10.0.0-4ubuntu1
stan-buildbot Feb 6, 2024
924e062
Remove unused includes of dump.hpp
WardBrian Feb 7, 2024
f4d91fc
Remove usages of dump from tests
WardBrian Feb 7, 2024
dc8179d
Clean up ADVI tests
WardBrian Feb 7, 2024
ba49cb0
Rewrite create_inv_metric helpers to avoid using io::dump
WardBrian Feb 7, 2024
cc2e030
Remove from most remaining tests
WardBrian Feb 7, 2024
d2504e8
[Jenkins] auto-formatting by clang-format version 10.0.0-4ubuntu1
stan-buildbot Feb 7, 2024
9f98bdf
Updates the Math submodule to c6254fbd45.
stan-buildbot Feb 8, 2024
fa56400
Better names than 'dmp'
WardBrian Feb 8, 2024
ef1da99
Merge commit '9f98bdfc89667f6c3b4500fa1ce3d6b0c02a60ff' into HEAD
yashikno Feb 8, 2024
e4c466c
[Jenkins] auto-formatting by clang-format version 10.0.0-4ubuntu1
stan-buildbot Feb 8, 2024
b6d010f
Merge pull request #3267 from stan-dev/cleanup/rdump-deprecation
WardBrian Feb 8, 2024
643fd8b
Only swallow domain_errors
WardBrian Jan 24, 2024
5681a81
A few more places
WardBrian Jan 25, 2024
2709df7
Maintain exception safety in top-level services functions
WardBrian Jan 25, 2024
759a569
Fix pathfinder return
WardBrian Jan 25, 2024
50617bd
Eigen::Index; index without calculating rows, cols; removed online wa…
aleksgorica Feb 11, 2024
7c5880f
Merge commit 'b6d010fa1dab84d8910b382636c8707c4104fd2e' into HEAD
yashikno Feb 11, 2024
dc130f8
[Jenkins] auto-formatting by clang-format version 10.0.0-4ubuntu1
stan-buildbot Feb 11, 2024
24ef95f
Move try/catch outside optimization loop
WardBrian Feb 13, 2024
c95036b
cpplint fix
WardBrian Feb 13, 2024
6697a24
Merge pull request #3259 from stan-dev/fix/3258-unconditional-excepti…
WardBrian Feb 13, 2024
223497a
Change RNG to boost::mixmax
WardBrian Jan 30, 2024
3b75dc0
Update seed/rng-dependent tests
WardBrian Jan 30, 2024
c22f26a
Merge pull request #3264 from stan-dev/refactor/actually-switch-rngs
WardBrian Feb 14, 2024
b13d08d
Updates the Math submodule to 8558ce891a.
stan-buildbot Feb 17, 2024
41fd137
Updates the Math submodule to c12fff9f53.
stan-buildbot Feb 19, 2024
3433d9c
duplicated functions and test for rank version of compute_potential_s…
aleksgorica Feb 26, 2024
4b58653
Merge branch 'newrhat' of https://github.com/aleksgorica/stan into ne…
aleksgorica Feb 26, 2024
3aeab3f
Merge commit '41fd137d7cf89db794210142d6c61f07cf9f0b0a' into HEAD
yashikno Feb 26, 2024
30333ce
[Jenkins] auto-formatting by clang-format version 10.0.0-4ubuntu1
stan-buildbot Feb 26, 2024
77d875f
test chains_test changed
aleksgorica Feb 26, 2024
6221540
Merge branch 'newrhat' of https://github.com/aleksgorica/stan into ne…
aleksgorica Feb 26, 2024
da10f8f
[Jenkins] auto-formatting by clang-format version 10.0.0-4ubuntu1
stan-buildbot Feb 26, 2024
d0d88d5
Removed deprecated flags in perReport plugin
Feb 27, 2024
348716b
Fix recordIssues syntax
serban-nicusor-toptal Feb 27, 2024
c3b1101
added test values from arviz
aleksgorica Feb 28, 2024
263ac22
Merge branch 'newrhat' of https://github.com/aleksgorica/stan into ne…
aleksgorica Feb 28, 2024
b6ef4bb
Merge commit '348716b22e624b98000a6ee4a4389603da861493' into HEAD
yashikno Feb 28, 2024
51ad447
[Jenkins] auto-formatting by clang-format version 10.0.0-4ubuntu1
stan-buildbot Feb 28, 2024
2caacdb
Move post success step to linux node for os deps
Mar 16, 2024
90c7433
Revert earlier Jenkinsfile changes
serban-nicusor-toptal Mar 18, 2024
cbb289e
Clean up various doxygen or compiler warnings
WardBrian Mar 20, 2024
9f5525b
Merge pull request #3276 from stan-dev/cleanup/compile-warnings
WardBrian Mar 21, 2024
ea57252
Updates the Math submodule to 33b9a828bb.
stan-buildbot Mar 21, 2024
5b73f27
Updates the Math submodule to e8ab249582.
stan-buildbot Mar 22, 2024
951ce92
Updates the Math submodule to b010193521.
stan-buildbot Mar 24, 2024
71bfbcf
smaller changes for comments in pull request
aleksgorica Mar 25, 2024
c371c21
Merge commit '951ce92cee114881c9baa556bb63cebffb9f7772' into HEAD
yashikno Mar 25, 2024
385c80b
[Jenkins] auto-formatting by clang-format version 10.0.0-4ubuntu1
stan-buildbot Mar 25, 2024
51a2504
returning pair for rank rhat
aleksgorica Mar 26, 2024
ba2b6f5
[Jenkins] auto-formatting by clang-format version 10.0.0-4ubuntu1
stan-buildbot Mar 27, 2024
77727a9
Updates the Math submodule to 35d6d53545.
stan-buildbot Mar 28, 2024
73d9b01
Updates the Math submodule to 1f94ed3123.
stan-buildbot Apr 2, 2024
981eedc
small fixes, removed comments in tests
aleksgorica Apr 7, 2024
de941ba
Merge commit '73d9b01d2851d6dd98f1e43dcb56735c20da6cef' into HEAD
yashikno Apr 7, 2024
971aed7
[Jenkins] auto-formatting by clang-format version 10.0.0-4ubuntu1
stan-buildbot Apr 7, 2024
7a4743d
Pathfinder: stop returning more draws than requested
WardBrian Apr 12, 2024
09feffe
Merge commit '73d9b01d2851d6dd98f1e43dcb56735c20da6cef' into HEAD
yashikno Apr 12, 2024
a133e1d
[Jenkins] auto-formatting by clang-format version 10.0.0-4ubuntu1
stan-buildbot Apr 12, 2024
eb2dffc
Round Pareto-K value
WardBrian Apr 12, 2024
ed65c9e
Updates the Math submodule to b9d0a33291.
stan-buildbot Apr 13, 2024
c582de8
Merge pull request #3279 from stan-dev/fix/3268-pathfinder-too-many-d…
SteveBronder Apr 15, 2024
61c4c6c
reverting nonrank functions
aleksgorica Apr 17, 2024
9dae7a0
Merge commit 'c582de8f5a59e721df0c2786830a8c8b921e2961' into HEAD
yashikno Apr 17, 2024
51db135
[Jenkins] auto-formatting by clang-format version 10.0.0-4ubuntu1
stan-buildbot Apr 17, 2024
634034d
Updates the Math submodule to 11663a2e79.
stan-buildbot Apr 19, 2024
f12f259
update so scale_reduction calls scale_reduction_rank
SteveBronder Apr 19, 2024
3cb8e97
Merge commit '634034deb3abd6314d980c1aab083f64269f4019' into HEAD
yashikno Apr 19, 2024
da5bb8d
[Jenkins] auto-formatting by clang-format version 10.0.0-4ubuntu1
stan-buildbot Apr 19, 2024
58ab01b
Updates the Math submodule to 86a3e83e18.
stan-buildbot Apr 20, 2024
eb39304
Update tests to use rtools-provided make
andrjohns Apr 21, 2024
c224139
Fix null usage on windows
andrjohns Apr 21, 2024
b3631be
Revert "update so scale_reduction calls scale_reduction_rank"
SteveBronder Apr 22, 2024
f93a559
Merge pull request #3266 from aleksgorica/newrhat
aleksgorica Apr 23, 2024
04708f4
Updates the Math submodule to 9202f1f505.
stan-buildbot May 3, 2024
06fbe08
Merge pull request #3281 from stan-dev/migrate-rtools-make
WardBrian May 6, 2024
8dad308
Fix doxygen param names in compute_potential_scale_reduction.hpp
WardBrian May 6, 2024
d59e6e0
Merge pull request #3282 from stan-dev/fix/compute_psr_doxygen
WardBrian May 6, 2024
67dd17e
Updates the Math submodule to ee65daae95.
stan-buildbot May 7, 2024
7ffb934
Updates the Math submodule to 1830097a0d.
stan-buildbot May 9, 2024
607474b
Updates the Math submodule to 35d37cebb0.
stan-buildbot May 11, 2024
bef9c85
Updates the Math submodule to 53ff81d128.
stan-buildbot May 12, 2024
1bbf735
updating version numbers for 2.35.0 rc (#3284)
serban-nicusor-toptal May 13, 2024
3e18293
Updates the Math submodule to 887a2e7ac5.
stan-buildbot May 14, 2024
8cbd2f2
Updates the Math submodule to 814d915905.
stan-buildbot May 17, 2024
ef3b05b
Ensure mixmax rng is not initialized with all zeros
WardBrian May 17, 2024
8fbfd79
Updates the Math submodule to b12cfbdeb0.
stan-buildbot May 21, 2024
62b2a19
Updates the Math submodule to 8e76f01fa0.
stan-buildbot May 22, 2024
356d206
Merge pull request #3287 from stan-dev/fix/rng-init
WardBrian May 22, 2024
c746ad2
Updates the Math submodule to ce63b87b13.
stan-buildbot May 23, 2024
3cf3d9e
Updates the Math submodule to e1fcbe8dca.
stan-buildbot May 24, 2024
2e394bb
Updates the Math submodule to 8a09048f51.
stan-buildbot Jun 3, 2024
d94c86f
Add release notes for v2.35.0
Jun 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ Describe what you expect the output to be. Knowing the correct behavior is also
Provide any additional information here.

#### Current Version:
v2.34.1
v2.35.0
62 changes: 30 additions & 32 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ pipeline {
preserveStashes(buildCount: 7)
parallelsAlwaysFailFast()
buildDiscarder(logRotator(numToKeepStr: '20', daysToKeepStr: '30'))
disableConcurrentBuilds(abortPrevious: env.BRANCH_NAME != "downstream_tests" || env.BRANCH_NAME != "downstream_hotfix")
disableConcurrentBuilds(abortPrevious: env.BRANCH_NAME != "downstream_tests" && env.BRANCH_NAME != "downstream_hotfix")
}
environment {
GCC = 'g++'
Expand Down Expand Up @@ -192,19 +192,17 @@ pipeline {
}
post {
always {

recordIssues id: "lint_doc_checks",
name: "Linting & Doc checks",
enabledForFailure: true,
aggregatingResults : true,
tools: [
cppLint(id: "cpplint", name: "Linting & Doc checks@CPPLINT")
],
blameDisabled: false,
qualityGates: [[threshold: 1, type: 'TOTAL', unstable: true]],
healthy: 10, unhealthy: 100, minimumSeverity: 'HIGH',
referenceJobName: env.BRANCH_NAME

recordIssues(
id: "lint_doc_checks",
name: "Linting & Doc checks",
enabledForFailure: true,
aggregatingResults : true,
tools: [
cppLint(id: "cpplint", name: "Linting & Doc checks@CPPLINT")
],
qualityGates: [[threshold: 1, type: 'TOTAL', unstable: true]],
healthy: 10, unhealthy: 100, minimumSeverity: 'HIGH'
)
deleteDir()
}
}
Expand Down Expand Up @@ -266,8 +264,8 @@ pipeline {
SET \"PATH=C:\\PROGRA~1\\R\\R-4.1.2\\bin;%PATH%\"
SET \"PATH=C:\\PROGRA~1\\Microsoft^ MPI\\Bin;%PATH%\"
SET \"MPI_HOME=C:\\PROGRA~1\\Microsoft^ MPI\\Bin\"
mingw32-make.exe -f lib/stan_math/make/standalone math-libs
mingw32-make.exe -j${PARALLEL} test-headers
make.exe -f lib/stan_math/make/standalone math-libs
make.exe -j${PARALLEL} test-headers
"""
setupCXX(false, WIN_CXX, stanc3_bin_url())
runTestsWin("src/test/unit")
Expand Down Expand Up @@ -450,7 +448,7 @@ pipeline {
SET \"PATH=C:\\PROGRA~1\\Microsoft^ MPI\\Bin;%PATH%\"
SET \"MPI_HOME=C:\\PROGRA~1\\Microsoft^ MPI\\Bin\"
cd performance-tests-cmdstan/cmdstan
mingw32-make.exe -j${PARALLEL} build
make.exe -j${PARALLEL} build
cd ..
python ./runPerformanceTests.py -j${PARALLEL} ${integration_tests_flags()}--runs=0 stanc3/test/integration/good
python ./runPerformanceTests.py -j${PARALLEL} ${integration_tests_flags()}--runs=0 example-models
Expand Down Expand Up @@ -498,21 +496,21 @@ pipeline {
post {
always {
node("linux") {
recordIssues id: "pipeline",
name: "Entire pipeline results",
enabledForFailure: true,
aggregatingResults : false,
filters: [
excludeFile('lib/.*')
],
tools: [
gcc4(id: "pipeline_gcc4", name: "GNU C Compiler"),
clang(id: "pipeline_clang", name: "LLVM/Clang")
],
blameDisabled: false,
qualityGates: [[threshold: 30, type: 'TOTAL', unstable: true]],
healthy: 10, unhealthy: 100, minimumSeverity: 'HIGH',
referenceJobName: env.BRANCH_NAME
recordIssues(
id: "pipeline",
name: "Entire pipeline results",
enabledForFailure: true,
aggregatingResults : false,
filters: [
excludeFile('lib/.*')
],
tools: [
gcc4(id: "pipeline_gcc4", name: "GNU C Compiler"),
clang(id: "pipeline_clang", name: "LLVM/Clang")
],
qualityGates: [[threshold: 30, type: 'TOTAL', unstable: true]],
healthy: 10, unhealthy: 100, minimumSeverity: 'HIGH'
)
}
}
success {
Expand Down
11 changes: 11 additions & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ Note: these are the release notes for the stan-dev/stan repository.
Further changes may arise at the interface level (stan-dev/{rstan,
pystan, cmdstan}) and math library level (stan-dev/math).

v2.35.0 (3 June 2024)
======================================================================

- The algorithms no longer catch `std::exception` unconditionally. The Math library uses `std::domain_error` for recoverable errors, and these are the ones which are caught. (#3259)
- Allow laplace sampling without evaluating `log_prob` for each draw. (#3261)
- Allow laplace sampling to save the Hessian as a diagnostic output. (#3261)
- Stan's RNG usages now uses a type definition `stan::rng_t` rather than hard coding a specific Boost RNG. (#3263)
- Switched the pRNG used by default in the services and tests to be `boost::mixmax`. Note that this means seeds from previous versions will lead to different numerical results in this version. (#3264)
- Add a new ranked R-hat diagnostic from [Vehtari](https://arxiv.org/abs/1903.08008). (#3266)
- Fixed an issue where Pathfinder would sometimes return more draws than requested. (#3279)

v2.34.1 (23 January 2024)
======================================================================

Expand Down
2 changes: 1 addition & 1 deletion lib/stan_math
Submodule stan_math updated 21528 files
5 changes: 4 additions & 1 deletion make/tests
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,15 @@ HEADER_TESTS := $(addsuffix -test,$(call findfiles,src/stan,*.hpp))

ifeq ($(OS),Windows_NT)
DEV_NULL = nul
ifeq ($(IS_UCRT),true)
UCRT_NULL_FLAG = -S
endif
else
DEV_NULL = /dev/null
endif

%.hpp-test : %.hpp test/dummy.cpp
$(COMPILE.cpp) -O0 -include $^ -o $(DEV_NULL)
$(COMPILE.cpp) -O0 -include $^ $(UCRT_NULL_FLAG) -o $(DEV_NULL)

test/dummy.cpp:
@mkdir -p test
Expand Down
2 changes: 0 additions & 2 deletions runTests.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ def doCommand(command, exit_on_failure=True):
"""Run command as a shell command and report/exit on errors."""
print("------------------------------------------------------------")
print("%s" % command)
if isWin() and command.startswith("make "):
command = command.replace("make ", "mingw32-make ")
p1 = subprocess.Popen(command, shell=True)
p1.wait()
if exit_on_failure and (not (p1.returncode is None) and not (p1.returncode == 0)):
Expand Down
2 changes: 1 addition & 1 deletion src/doxygen/doxygen.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PROJECT_NAME = "Stan"
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = 2.34.1
PROJECT_NUMBER = 2.35.0

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down
Loading
Loading