From e3f5d13ca33782c650f94033a2e5f49332af6154 Mon Sep 17 00:00:00 2001 From: Vanya Belyaev Date: Tue, 3 Sep 2024 10:53:47 +0200 Subject: [PATCH] prepare v1.13.1.0 --- .aux/test_with_lcg | 2 +- CMakeLists.txt | 4 ++-- ReleaseNotes/release_notes.md | 2 ++ ReleaseNotes/v1.13.1.0.md | 21 +++++++++++++++++++ .../fitting/tests/test_fitting_toys_simfit.py | 4 ++-- ostap/parallel/tests/test_parallel_toys.py | 3 --- 6 files changed, 28 insertions(+), 8 deletions(-) create mode 100644 ReleaseNotes/v1.13.1.0.md diff --git a/.aux/test_with_lcg b/.aux/test_with_lcg index 1a6421c5..8923cec5 100755 --- a/.aux/test_with_lcg +++ b/.aux/test_with_lcg @@ -4,4 +4,4 @@ CMTCONFIG=$2 source /cvmfs/sft.cern.ch/lcg/views/${LCG}/${CMTCONFIG}/setup.sh source build/INSTALL/thisostap.sh cd build -ctest -N && cmake .. -DCMAKE_INSTALL_PREFIX=./INSTALL/ && ctest -j4 -R toys --output-on-failure --test-output-size-failed=5000000 +ctest -N && cmake .. -DCMAKE_INSTALL_PREFIX=./INSTALL/ && ctest -j4 --output-on-failure --test-output-size-failed=5000000 diff --git a/CMakeLists.txt b/CMakeLists.txt index cd330ea1..c09cc8df 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,8 +22,8 @@ include(CTest) set(OSTAP_VERSION_MAJOR 1) set(OSTAP_VERSION_MINOR 13) -set(OSTAP_VERSION_PATCH 0) -set(OSTAP_VERSION_TWEAK 3) +set(OSTAP_VERSION_PATCH 1) +set(OSTAP_VERSION_TWEAK 0) set(OSTAP_VERSION ${OSTAP_VERSION_MAJOR}.${OSTAP_VERSION_MINOR}.${OSTAP_VERSION_PATCH}.${OSTAP_VERSION_TWEAK}) diff --git a/ReleaseNotes/release_notes.md b/ReleaseNotes/release_notes.md index 8430a227..519e0e27 100644 --- a/ReleaseNotes/release_notes.md +++ b/ReleaseNotes/release_notes.md @@ -1,3 +1,5 @@ +# v1.13.1.0 + ## New features 1. improve all toys machinery: toys, jackknife, bootstrapping and significance diff --git a/ReleaseNotes/v1.13.1.0.md b/ReleaseNotes/v1.13.1.0.md new file mode 100644 index 00000000..f96f85d9 --- /dev/null +++ b/ReleaseNotes/v1.13.1.0.md @@ -0,0 +1,21 @@ +# v1.13.1.0 + +## New features + + 1. improve all toys machinery: toys, jackknife, bootstrapping and significance + 1. extend all tests for toys + 1. add brute-force way to delete `RooDataSet` - needed for JAckknife and Bootstrap + 1. add argument `delete=False` for `dataset.bootstrap` and `dataset.jackknife` method to delete the dataset + 1. add new test `test_fitting_dataset2.py` to test interference of memory and jackknife/bootstraping + 1. extend and improve machinery for toys + 1. add `std.string` and `std.string_view` into `string_types` + 1. improve `attention` printout from `dataset/tree` method `project` + +## Backward incompatible + +## Bug fixes + + 1. fix the typo in `ostap/tools/tests/test_tools_reweight3.py` + 1. tiny fix for `progress_bar` + 1. tiny fix for `ostap.utils.basic.isatty` + \ No newline at end of file diff --git a/ostap/fitting/tests/test_fitting_toys_simfit.py b/ostap/fitting/tests/test_fitting_toys_simfit.py index c78bc761..cfd0b205 100755 --- a/ostap/fitting/tests/test_fitting_toys_simfit.py +++ b/ostap/fitting/tests/test_fitting_toys_simfit.py @@ -51,8 +51,8 @@ def test_toys_simfit_1 () : ## high statistic, low-background "control channel" mean1 = 2.0 sigma1 = 0.50 - NS1 = 1000 - NB1 = 250 + NS1 = 1000 + NB1 = 250 for i in range ( NS1 ) : v1 = random.gauss( mean1 , sigma1 ) diff --git a/ostap/parallel/tests/test_parallel_toys.py b/ostap/parallel/tests/test_parallel_toys.py index 50618496..99fcff4f 100755 --- a/ostap/parallel/tests/test_parallel_toys.py +++ b/ostap/parallel/tests/test_parallel_toys.py @@ -590,9 +590,6 @@ def test_db () : title = 'Memory usage for various toys' table = T.table ( rows , title = title , prefix = '# ' , alignment = 'lc' ) logger.info ( '%s:\n%s' % ( title , table ) ) - - raise TypeError ('Exception!') - # =============================================================================