Skip to content

Increase flexibility in the FT test validation

The integration test for the FT is failing since a few days. The error is:

Expected list of variables:
   ['B_SSPionBDT_Decision', 'B_SSPionBDT_Mistag', 'EVENTNUMBER', 'RUNNUMBER']
Found list of variables:
   ['B_SSPionBDT_Decision', 'B_SSPionBDT_Mistag', 'EVENTNUMBER', 'RUNNUMBER']
Traceback (most recent call last):
  File "/workspace/build/LHCbIntegrationTests/Tupling_FT/validator_tuple_FT.py", line 105, in <module>
    main(args.jsonFile)
  File "/workspace/build/LHCbIntegrationTests/Tupling_FT/validator_tuple_FT.py", line 81, in main
    raise Exception(
Exception: The mean of var B_SSPionBDT_Mistag is different than expected
   df: 0.45418, exp: 0.45534

Due to the small number of events processed by the test, some numeric differences can be expected as consequence of other MRs. I think is better to increase the range of acceptable values in the test validation.