Repository navigation
higher MB gaps for testing - #2515
jaimenorman wants to merge 3 commits into
Conversation
|
REQUEST FOR PRODUCTION RELEASES: This will add The following labels are available |
|
Hi @jaimenorman, thanks a lot for the quick PR right after JSUB discussion. The simulation test fails because of the test size. With the default 100 events, gap 9 gives 12 jet-jet events (events 0, 9, ..., 99) and gap 11 gives 10, outside the ±5 % window of the test macros (10.6–11.7 and 8.6–9.5). Gap 7 gives 15 and passes at the edge (13.6–15.0). With a multiple of the gap as the number of test events (98, 99, 99), all three give exactly 1/gap. |
|
Thanks a lot @joonsukbae for spotting this, I have increased the tolerance in the check. |
|
Hi @jaimenorman, It looks like some of the tests ran again. In the build test, there is also a simulation test, which produced an errot and the following output for the gap-11 case: I think this is a rounding issue: I think that in the current code, the first event is always a JJ events (this may not be the optimal choice, but I am pretty sure that it is what we do), so with 100 events, event 0 and 99 are both jet-jet events, so a total of 10, with 9 expected. (100/11 = 9.09). Shall we increase the limits in the check in the code: Alternatively, could make the calculation more precise by using something like: which takes into account that the first event is a JJ event. NB: I think that the generation is sometimes split into subjobs, which can also affect the exact number of events that is generated. |
|
Thanks for spotting this @marcovanleeuwen (indeed gap11 didn't pass the condition), I have increased the tolerance here and the test runs. @jackal1-66 @sawenzel could you check and approve? |
No description provided.