hep-combine 1.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- hep_combine-1.2.2/.gitignore +9 -0
- hep_combine-1.2.2/.gitlab-ci.yml +29 -0
- hep_combine-1.2.2/Cargo.lock +1222 -0
- hep_combine-1.2.2/Cargo.toml +51 -0
- hep_combine-1.2.2/LICENSE +21 -0
- hep_combine-1.2.2/PKG-INFO +156 -0
- hep_combine-1.2.2/README.md +173 -0
- hep_combine-1.2.2/assets/fonts/DejaVuSans-Bold.ttf +0 -0
- hep_combine-1.2.2/assets/fonts/DejaVuSans-Oblique.ttf +0 -0
- hep_combine-1.2.2/assets/fonts/DejaVuSans.ttf +0 -0
- hep_combine-1.2.2/assets/fonts/LICENSE_DEJAVU +99 -0
- hep_combine-1.2.2/bindings/python/Cargo.lock +763 -0
- hep_combine-1.2.2/bindings/python/Cargo.toml +26 -0
- hep_combine-1.2.2/bindings/python/LICENSE +21 -0
- hep_combine-1.2.2/bindings/python/README.md +129 -0
- hep_combine-1.2.2/bindings/python/src/lib.rs +1116 -0
- hep_combine-1.2.2/bindings/python/tests/test_hep_combine.py +433 -0
- hep_combine-1.2.2/docs/CLI_REFERENCE.md +238 -0
- hep_combine-1.2.2/docs/EXAMPLES.md +464 -0
- hep_combine-1.2.2/docs/MIGRATION_FROM_COMBINE.md +205 -0
- hep_combine-1.2.2/docs/README.md +34 -0
- hep_combine-1.2.2/docs/STATISTICAL_METHODS.md +137 -0
- hep_combine-1.2.2/docs/VALIDATION_AND_BENCHMARKS.md +168 -0
- hep_combine-1.2.2/pyproject.toml +39 -0
- hep_combine-1.2.2/python/hep_combine/__init__.py +43 -0
- hep_combine-1.2.2/python/hep_combine/__init__.pyi +199 -0
- hep_combine-1.2.2/python/hep_combine/py.typed +0 -0
- hep_combine-1.2.2/scripts/build_static_musl.sh +305 -0
- hep_combine-1.2.2/scripts/refresh_combine_oracles.sh +546 -0
- hep_combine-1.2.2/src/api.rs +2157 -0
- hep_combine-1.2.2/src/bayesian.rs +3228 -0
- hep_combine-1.2.2/src/cards/combine_cards.rs +1528 -0
- hep_combine-1.2.2/src/cards/mod.rs +8 -0
- hep_combine-1.2.2/src/cards/nuisance_edit.rs +2229 -0
- hep_combine-1.2.2/src/cards/tools.rs +1282 -0
- hep_combine-1.2.2/src/ccc.rs +828 -0
- hep_combine-1.2.2/src/combine_cli/diagnostics.rs +1127 -0
- hep_combine-1.2.2/src/combine_cli/limits.rs +956 -0
- hep_combine-1.2.2/src/combine_cli/mod.rs +787 -0
- hep_combine-1.2.2/src/combine_cli/multidim.rs +1068 -0
- hep_combine-1.2.2/src/combine_cli/options.rs +2564 -0
- hep_combine-1.2.2/src/combine_cli/root_out.rs +532 -0
- hep_combine-1.2.2/src/combine_cli/toys_gof.rs +1650 -0
- hep_combine-1.2.2/src/combine_cli/wave4.rs +1039 -0
- hep_combine-1.2.2/src/datacard.rs +1233 -0
- hep_combine-1.2.2/src/diagnostics.rs +1903 -0
- hep_combine-1.2.2/src/discrete.rs +3909 -0
- hep_combine-1.2.2/src/error.rs +332 -0
- hep_combine-1.2.2/src/exotic_pdfs.rs +1362 -0
- hep_combine-1.2.2/src/fast_scan.rs +965 -0
- hep_combine-1.2.2/src/fit.rs +1379 -0
- hep_combine-1.2.2/src/formula.rs +867 -0
- hep_combine-1.2.2/src/global_impacts.rs +1924 -0
- hep_combine-1.2.2/src/gof_extra.rs +647 -0
- hep_combine-1.2.2/src/hs3.rs +4852 -0
- hep_combine-1.2.2/src/html_viewer.rs +2393 -0
- hep_combine-1.2.2/src/impacts.rs +330 -0
- hep_combine-1.2.2/src/krylov.rs +3006 -0
- hep_combine-1.2.2/src/lbfgs.rs +403 -0
- hep_combine-1.2.2/src/lib.rs +102 -0
- hep_combine-1.2.2/src/likelihood.rs +2439 -0
- hep_combine-1.2.2/src/lint.rs +154 -0
- hep_combine-1.2.2/src/main.rs +5795 -0
- hep_combine-1.2.2/src/model.rs +2651 -0
- hep_combine-1.2.2/src/morph.rs +1560 -0
- hep_combine-1.2.2/src/multidim.rs +3409 -0
- hep_combine-1.2.2/src/names.rs +30 -0
- hep_combine-1.2.2/src/parametric.rs +5005 -0
- hep_combine-1.2.2/src/pdfs/analytic.rs +4665 -0
- hep_combine-1.2.2/src/pdfs/combinators.rs +3826 -0
- hep_combine-1.2.2/src/pdfs/fft_conv.rs +1514 -0
- hep_combine-1.2.2/src/pdfs/mod.rs +2056 -0
- hep_combine-1.2.2/src/pdfs/special.rs +1028 -0
- hep_combine-1.2.2/src/physics_model/builtin.rs +3783 -0
- hep_combine-1.2.2/src/physics_model/declarative.rs +581 -0
- hep_combine-1.2.2/src/physics_model/mod.rs +548 -0
- hep_combine-1.2.2/src/plots/axes.rs +415 -0
- hep_combine-1.2.2/src/plots/canvas.rs +976 -0
- hep_combine-1.2.2/src/plots/contour.rs +739 -0
- hep_combine-1.2.2/src/plots/discrete.rs +1090 -0
- hep_combine-1.2.2/src/plots/gof.rs +613 -0
- hep_combine-1.2.2/src/plots/grid.rs +189 -0
- hep_combine-1.2.2/src/plots/mod.rs +1353 -0
- hep_combine-1.2.2/src/plots/parametric.rs +771 -0
- hep_combine-1.2.2/src/plots/scan.rs +1144 -0
- hep_combine-1.2.2/src/plots/toys.rs +736 -0
- hep_combine-1.2.2/src/plots/viridis.rs +268 -0
- hep_combine-1.2.2/src/postfit_shapes.rs +1383 -0
- hep_combine-1.2.2/src/provenance.rs +350 -0
- hep_combine-1.2.2/src/pulls.rs +1151 -0
- hep_combine-1.2.2/src/pyfmt.rs +70 -0
- hep_combine-1.2.2/src/quirks.rs +1717 -0
- hep_combine-1.2.2/src/robust_hesse.rs +301 -0
- hep_combine-1.2.2/src/root_math.rs +493 -0
- hep_combine-1.2.2/src/roots.rs +156 -0
- hep_combine-1.2.2/src/selector.rs +771 -0
- hep_combine-1.2.2/src/shapes.rs +1018 -0
- hep_combine-1.2.2/src/simplified.rs +2545 -0
- hep_combine-1.2.2/src/snapshot.rs +859 -0
- hep_combine-1.2.2/src/stats.rs +436 -0
- hep_combine-1.2.2/src/toys/feldman_cousins.rs +700 -0
- hep_combine-1.2.2/src/toys/hybrid_new.rs +3305 -0
- hep_combine-1.2.2/src/toys/lee.rs +283 -0
- hep_combine-1.2.2/src/toys/mod.rs +1309 -0
- hep_combine-1.2.2/src/toys/test_stats.rs +527 -0
- hep_combine-1.2.2/src/transfer.rs +1150 -0
- hep_combine-1.2.2/src/unfolding.rs +1001 -0
- hep_combine-1.2.2/src/validate/hists.rs +576 -0
- hep_combine-1.2.2/src/validate/mod.rs +398 -0
- hep_combine-1.2.2/src/validate/model_checks.rs +471 -0
- hep_combine-1.2.2/src/validate/official.rs +1494 -0
- hep_combine-1.2.2/src/validate/output.rs +450 -0
- hep_combine-1.2.2/src/validate/structure.rs +1086 -0
- hep_combine-1.2.2/src/validate/text.rs +59 -0
- hep_combine-1.2.2/src/workspace/compile.rs +7137 -0
- hep_combine-1.2.2/src/workspace/declarative.rs +7729 -0
- hep_combine-1.2.2/src/workspace/graph.rs +3791 -0
- hep_combine-1.2.2/src/workspace/mod.rs +178 -0
- hep_combine-1.2.2/src/workspace/streamer.rs +2536 -0
- hep_combine-1.2.2/src/zscore.rs +745 -0
- hep_combine-1.2.2/tests/combine_cli.rs +2370 -0
- hep_combine-1.2.2/tests/combine_ranges.rs +297 -0
- hep_combine-1.2.2/tests/combine_rules.rs +685 -0
- hep_combine-1.2.2/tests/core_regressions.rs +130 -0
- hep_combine-1.2.2/tests/hardening_cli_plots.rs +1238 -0
- hep_combine-1.2.2/tests/hardening_core.rs +1270 -0
- hep_combine-1.2.2/tests/hardening_discrete.rs +1845 -0
- hep_combine-1.2.2/tests/hardening_inputs.rs +1265 -0
- hep_combine-1.2.2/tests/hardening_parametric.rs +1393 -0
- hep_combine-1.2.2/tests/hep_combine.rs +337 -0
- hep_combine-1.2.2/tests/r2_asimov_bnb_pdfs.rs +1337 -0
- hep_combine-1.2.2/tests/r2_engine_krylov.rs +842 -0
- hep_combine-1.2.2/tests/r2_frontend_bayes.rs +1533 -0
- hep_combine-1.2.2/tests/r2_interop_main.rs +1248 -0
- hep_combine-1.2.2/tests/stats.rs +814 -0
- hep_combine-1.2.2/tests/v110_cms_workspaces.rs +2473 -0
- hep_combine-1.2.2/tests/v110_likelihood.rs +1061 -0
- hep_combine-1.2.2/tests/v110_oracle_tiers.rs +1349 -0
- hep_combine-1.2.2/tests/v110_perf_adjoint.rs +934 -0
- hep_combine-1.2.2/tests/v110_quirks_cli.rs +1093 -0
- hep_combine-1.2.2/tests/v120_api_facade.rs +871 -0
- hep_combine-1.2.2/tests/v120_cli_split.rs +889 -0
- hep_combine-1.2.2/tests/v120_cms_pdfs_tail.rs +2396 -0
- hep_combine-1.2.2/tests/v120_gamma_bb_scans.rs +932 -0
- hep_combine-1.2.2/tests/v120_hybrid_crn.rs +907 -0
- hep_combine-1.2.2/tests/validate.rs +1137 -0
- hep_combine-1.2.2/tests/vectors/combine_oracle_manifest.json +729 -0
- hep_combine-1.2.2/tests/vectors/inputs/counting.txt +16 -0
- hep_combine-1.2.2/tests/vectors/inputs/lowstat.txt +17 -0
- hep_combine-1.2.2/tests/vectors/inputs/rate_formula.txt +17 -0
- hep_combine-1.2.2/tests/vectors/inputs/shapeN.txt +18 -0
- hep_combine-1.2.2/tests/vectors/inputs/shape_auto.txt +19 -0
- hep_combine-1.2.2/tests/vectors/inputs/shape_auto_high.txt +19 -0
- hep_combine-1.2.2/tests/vectors/inputs/shape_plain.txt +18 -0
- hep_combine-1.2.2/tests/vectors/inputs/shapes.root +0 -0
- hep_combine-1.2.2/tests/vectors/make_shapes_fixture.C +29 -0
- hep_combine-1.2.2/tests/vectors/mcstats.txt +19 -0
- hep_combine-1.2.2/tests/vectors/shapes.root +0 -0
- hep_combine-1.2.2/tests/vectors/validate/clean.txt +18 -0
- hep_combine-1.2.2/tests/vectors/validate/hists.root +0 -0
- hep_combine-1.2.2/tests/vectors/validate/kinds.txt +19 -0
- hep_combine-1.2.2/tests/vectors/validate/make_pdf_workspace_fixture.C +115 -0
- hep_combine-1.2.2/tests/vectors/validate/make_validate_fixture.C +139 -0
- hep_combine-1.2.2/tests/vectors/validate/make_workspace_fixture.C +39 -0
- hep_combine-1.2.2/tests/vectors/validate/official.json +151 -0
- hep_combine-1.2.2/tests/vectors/validate/official.txt +25 -0
- hep_combine-1.2.2/tests/vectors/validate/ws.root +0 -0
- hep_combine-1.2.2/tests/vectors/validate/ws_pdf.root +0 -0
- hep_combine-1.2.2/tests/vectors/validate/ws_unread.root +0 -0
- hep_combine-1.2.2/tests/vectors/wave3/hgg_multipdf_ws.root +0 -0
- hep_combine-1.2.2/tests/vectors/wave3/simul_2d_ws.root +0 -0
- hep_combine-1.2.2/tests/vectors/wave3/t2w_parametric_ws.root +0 -0
- hep_combine-1.2.2/tests/wave1_cards.rs +1007 -0
- hep_combine-1.2.2/tests/wave1_cli.rs +1187 -0
- hep_combine-1.2.2/tests/wave1_core.rs +1139 -0
- hep_combine-1.2.2/tests/wave1_debug_plots.rs +879 -0
- hep_combine-1.2.2/tests/wave1_oracle.rs +1584 -0
- hep_combine-1.2.2/tests/wave1_shapes_postfit.rs +1339 -0
- hep_combine-1.2.2/tests/wave2_cli.rs +1967 -0
- hep_combine-1.2.2/tests/wave2_multidim.rs +1288 -0
- hep_combine-1.2.2/tests/wave2_oracle.rs +2083 -0
- hep_combine-1.2.2/tests/wave2_physics_unfold.rs +1337 -0
- hep_combine-1.2.2/tests/wave2_stats.rs +1219 -0
- hep_combine-1.2.2/tests/wave2_toys.rs +999 -0
- hep_combine-1.2.2/tests/wave3_cli.rs +1169 -0
- hep_combine-1.2.2/tests/wave3_compile.rs +1452 -0
- hep_combine-1.2.2/tests/wave3_declarative.rs +1545 -0
- hep_combine-1.2.2/tests/wave3_discrete.rs +1065 -0
- hep_combine-1.2.2/tests/wave3_oracle.rs +2420 -0
- hep_combine-1.2.2/tests/wave3_parametric.rs +1213 -0
- hep_combine-1.2.2/tests/wave3_pdfs.rs +1945 -0
- hep_combine-1.2.2/tests/wave3_rooworkspace.rs +926 -0
- hep_combine-1.2.2/tests/wave4_cli.rs +1565 -0
- hep_combine-1.2.2/tests/wave4_hs3_sl_morph.rs +1258 -0
- hep_combine-1.2.2/tests/wave4_html_tools.rs +760 -0
- hep_combine-1.2.2/tests/wave4_krylov_impacts.rs +1384 -0
- hep_combine-1.2.2/tests/wave4_oracle.rs +2707 -0
- hep_combine-1.2.2/tests/wave4_tier4.rs +1147 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Build, lint, and test on every push, with the Rust image from CERN's mirror of Docker Hub.
|
|
2
|
+
test:
|
|
3
|
+
image: registry.cern.ch/docker.io/library/rust:1.91
|
|
4
|
+
script:
|
|
5
|
+
# Static analysis gate: zero warnings permitted in library and binary targets.
|
|
6
|
+
- cargo clippy --lib --bins --locked -- -D warnings
|
|
7
|
+
# Full unit, integration, and doc test suites.
|
|
8
|
+
- cargo test --all-targets --locked
|
|
9
|
+
- cargo test --doc --locked
|
|
10
|
+
# Explicit v1.0.1 hardening & v1.1.0 / v1.2.0 unification and oracle property-test tiers.
|
|
11
|
+
- cargo test --locked --test hardening_core --test hardening_discrete --test hardening_parametric --test hardening_inputs --test hardening_cli_plots
|
|
12
|
+
- cargo test --locked --test v110_likelihood --test v110_quirks_cli --test v110_cms_workspaces --test v110_perf_adjoint --test v110_oracle_tiers
|
|
13
|
+
- cargo test --locked --test v120_cli_split --test v120_api_facade --test v120_gamma_bb_scans --test v120_hybrid_crn --test v120_cms_pdfs_tail
|
|
14
|
+
- cargo test --locked --test r2_interop_main --test r2_engine_krylov --test r2_asimov_bnb_pdfs --test r2_frontend_bayes
|
|
15
|
+
# The plots are an optional feature: the library, the command and the tests build and pass without it.
|
|
16
|
+
- cargo check --no-default-features --all-targets --locked
|
|
17
|
+
- cargo test --no-default-features --lib --bins --locked
|
|
18
|
+
|
|
19
|
+
# Build the Python abi3 wheel with maturin and run its unittest suite.
|
|
20
|
+
python:
|
|
21
|
+
image: registry.cern.ch/docker.io/library/rust:1.91
|
|
22
|
+
script:
|
|
23
|
+
- apt-get update -qq && apt-get install -y -qq python3-pip > /dev/null
|
|
24
|
+
- export PIP_BREAK_SYSTEM_PACKAGES=1 PIP_ROOT_USER_ACTION=ignore
|
|
25
|
+
- pip install --quiet maturin==1.15.0
|
|
26
|
+
- cargo clippy --manifest-path bindings/python/Cargo.toml --features pyo3/extension-module --locked -- -D warnings
|
|
27
|
+
- maturin build --release --locked --out bindings/python/dist -m bindings/python/Cargo.toml
|
|
28
|
+
- pip install --quiet bindings/python/dist/*.whl
|
|
29
|
+
- python3 -m unittest discover -v bindings/python/tests
|