diff --git a/examples/IntegrationBenchmark/ci_tests/benchmark_files/g4_em3_10e7_e-.csv b/examples/IntegrationBenchmark/ci_tests/benchmark_files/g4_em3_10e7_e-.csv index 587b2b6b..f17f5942 100644 --- a/examples/IntegrationBenchmark/ci_tests/benchmark_files/g4_em3_10e7_e-.csv +++ b/examples/IntegrationBenchmark/ci_tests/benchmark_files/g4_em3_10e7_e-.csv @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2025 CERN +# SPDX-License-Identifier: Apache-2.0 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164 632000.000000, 4935904.807235, 2067681.219723, 10817348.033835, 4652808.964481, 21759654.716231, 8872559.667941, 38101147.278062, 14667074.319649, 59561627.597277, 21812166.186228, 85121390.786117, 29829544.966153, 113136863.968630, 38145594.998370, 141652035.389032, 46168807.237441, 168772222.386522, 53366610.209459, 192804642.988706, 59339871.659475, 212660463.995667, 63828960.728752, 227493030.987364, 66779680.261129, 237320491.790007, 68224363.315416, 242082768.419004, 68259130.377539, 242125459.241164, 67089413.700681, 238313343.197046, 64980289.911834, 231268188.668933, 62106694.223492, 221694024.431019, 58705582.686640, 210338888.881714, 54963708.365911, 197672042.315242, 51008206.279529, 184214263.601070, 46982861.465768, 170472159.911487, 42996517.085610, 156809060.899967, 39132661.333756, 143390805.139382, 35405727.969016, 130485079.048902, 31903914.654955, 118199567.446830, 28640433.980095, 106632109.561498, 25611025.513306, 95892382.026735, 22832932.785157, 85890665.139340, 20268966.935101, 76756516.425228, 17977802.332241, 68402294.415370, 15896316.915125, 60805758.697437, 14033607.191009, 53964781.863895, 12359666.254762, 47804739.186649, 10874181.223620, 42272927.705339, 9547794.970939, 37317344.606297, 8374448.486389, 32882154.903887, 7333253.978184, 28952529.638793, 6407437.977734, 25459928.651274, 5610760.361541, 22370990.792553, 4896267.424939, 19630521.840216, 4270280.757062, 17207247.715592, 3725508.653188, 15064875.986944, 3241049.780358, 13178986.315325, 2822074.699503, 11529019.561029, 2459800.910841, 10085914.435962, 2139134.874759, 8788121.399646, 1858460.499969, 7651507.815570, 1614094.900772, 6630999.723361, 1394888.457241, 5581284.321531, 977588.396671, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000 632000.000000, 4939395.054500, 2066032.134165, 10816060.079490, 4651520.293435, 21753241.626099, 8870027.711329, 38096133.421854, 14672784.695025, 59603833.803519, 21819553.989556, 85168251.908615, 29849268.187424, 113209534.568114, 38165286.395952, 141673108.187960, 46168833.257361, 168804915.678407, 53367118.593894, 192891001.533545, 59334133.344082, 212693740.596160, 63820573.467387, 227562584.073237, 66770725.482241, 237208354.336581, 68193267.783126, 241999002.414323, 68245444.613940, 242157503.217118, 67124334.889040, 238399442.162183, 64996419.731945, 231351267.584934, 62130893.444816, 221781558.643838, 58736948.207189, 210422503.430165, 54973062.864930, 197699399.784403, 51027051.299242, 184270733.219152, 46991471.245226, 170555635.631179, 43027462.251011, 156828814.147204, 39116421.592894, 143389936.236964, 35404979.889947, 130425500.592323, 31910594.460210, 118182561.353814, 28641582.152041, 106589271.645849, 25586859.107955, 95790356.214382, 22802064.170636, 85846402.065784, 20273209.136014, 76712447.537127, 17966174.101287, 68369094.752490, 15886424.612942, 60779024.597604, 14017714.115167, 53917865.178220, 12340723.389493, 47766056.316192, 10862437.676334, 42234631.044201, 9539649.158431, 37288104.956103, 8364792.647108, 32856706.798397, 7321220.481180, 28921283.024805, 6407771.310880, 25432194.783392, 5599289.495173, 22332857.033199, 4893163.148285, 19594805.492583, 4265894.811306, 17186381.227374, 3718254.114732, 15043904.733081, 3243809.086459, 13168760.448014, 2821597.032691, 11524473.951175, 2464885.056399, 10078736.092917, 2134512.022349, 8781463.793221, 1857201.104347, 7649653.304916, 1611650.464387, 6621986.977524, 1392852.765394, 5579870.215238, 979778.580557, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000 diff --git a/examples/IntegrationBenchmark/ci_tests/example_template.mac b/examples/IntegrationBenchmark/ci_tests/example_template.mac index ae12b89e..d051aeb7 100644 --- a/examples/IntegrationBenchmark/ci_tests/example_template.mac +++ b/examples/IntegrationBenchmark/ci_tests/example_template.mac @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: 2023 CERN +# SPDX-FileCopyrightText: 2025 CERN # SPDX-License-Identifier: Apache-2.0 # example23.in # diff --git a/examples/IntegrationBenchmark/ci_tests/python_scripts/check_validation.py b/examples/IntegrationBenchmark/ci_tests/python_scripts/check_validation.py index c08c4ad3..b7a88387 100755 --- a/examples/IntegrationBenchmark/ci_tests/python_scripts/check_validation.py +++ b/examples/IntegrationBenchmark/ci_tests/python_scripts/check_validation.py @@ -79,12 +79,12 @@ def compare_csv(file1, file2, n1, n2, tol=0.01, plot_file=None): # Print results if failed_layers: - print(f"The results are not reproducible. Relative errors exceed {tol}% in the following layers:") + print(f"The results are not reproducible. Relative errors exceed {100*tol}% in the following layers:") for layer, err, val1, val2 in failed_layers: print(f"Layer {layer}: Relative Error = {err:.6f}%, File1 = {val1:.6f}, File2 = {val2:.6f}") sys.exit(1) else: - print(f"The results are reproducible. All layers have relative errors within {tol}%.") + print(f"The results are reproducible. All layers have relative errors within {100*tol}%.") if __name__ == "__main__": diff --git a/examples/IntegrationBenchmark/ci_tests/reproducibility.sh b/examples/IntegrationBenchmark/ci_tests/reproducibility.sh index bd70c693..ede1a05c 100644 --- a/examples/IntegrationBenchmark/ci_tests/reproducibility.sh +++ b/examples/IntegrationBenchmark/ci_tests/reproducibility.sh @@ -1,6 +1,6 @@ #! /usr/bin/env bash -# SPDX-FileCopyrightText: 2020 CERN +# SPDX-FileCopyrightText: 2025 CERN # SPDX-License-Identifier: Apache-2.0 # This is a CI test for reproducbility. The same 8 ttbar events are executed twice diff --git a/examples/IntegrationBenchmark/ci_tests/validation_testem3.sh b/examples/IntegrationBenchmark/ci_tests/validation_testem3.sh index 1bd67986..00f1cc67 100644 --- a/examples/IntegrationBenchmark/ci_tests/validation_testem3.sh +++ b/examples/IntegrationBenchmark/ci_tests/validation_testem3.sh @@ -1,6 +1,6 @@ #! /usr/bin/env bash -# SPDX-FileCopyrightText: 2020 CERN +# SPDX-FileCopyrightText: 2025 CERN # SPDX-License-Identifier: Apache-2.0 # This is a CI test for reproducbility. The same 8 ttbar events are executed twice