Support

This page says where pyAmpliCol is supported, what stays compatible when you upgrade, and how to report a problem. What changed in each version is in the Release notes.

Supported platforms

pyAmpliCol is published on PyPI as one source distribution and binary wheels for Python 3.11 or newer on:

  • macOS 11 or newer on Apple silicon;
  • macOS 11 or newer on x86-64;
  • Linux on x86-64 (manylinux 2.28).

The wheels contain the native runtime and the native SDK, so wheel users need no Rust compiler. A C, C++, Fortran or Rust compiler is needed only to build a program in that language against the SDK (Installation). A source build may work on other platforms, but a platform is supported only once the installed Python and native interfaces pass the release tests on it.

Each release is built and tested once: the release workflow installs every wheel into a clean environment and exercises the Python interface and the C, C++, Fortran and Rust consumers. It also compares reference physics values with an independent Fortran physics oracle. Publication uploads exactly these tested files to PyPI, without rebuilding them. The workflow runs are under Actions, the source of each release under Tags.

A wheel holds the Python extension, the native SDK for its platform, the packaged models, the examples and the profiling-campaign templates. The source distribution also holds this user documentation. The Benchmark reports say which benchmark results exist and how old they are.

Dependencies

  • Symbolica is required for model compilation, generation and the exact evaluations of the Python interface. The default binary64 JIT runtime runs through SymJIT without importing Symbolica (Symbolica and licensing).
  • pyAmpliCol does not depend on LHAPDF.
  • The original AmpliCol is an optional comparison point of the Profiling campaigns, not a runtime dependency.

Compatibility promises

  • The public Python interface is versioned and recorded in the repository’s API contract.
  • The native boundary is a versioned C ABI, one for tree-level artifacts and one for one-loop artifacts, which a program reads with rusticol_abi_version() and rusticol_virtual_abi_version(). The C++, Fortran and Rust wrappers sit on these ABIs.
  • A run card states its schema_version and is refused if it contains a field the schema does not know.
  • Artifacts (the generated process directories) are not migrated. A reader compares the version and the format numbers of the build that wrote an artifact, or the format numbers of a prepared model, with its own and refuses any difference, with a message that says what to regenerate (Process artifacts and portability).

Regenerate your artifacts with the installed version after an upgrade. Do not edit a manifest or a generated payload by hand. The format versions of the current release are listed in the Release notes.

Report a problem

Report a reproducible bug, a compatibility failure or a gap in the documentation on GitHub Issues. Search the existing issues first. Before filing, run pyamplicol doctor and pyamplicol self-test, and look up the symptom in Troubleshooting.

Include the smallest information that tells the failure apart:

  1. the pyAmpliCol version and how you installed it;
  2. the operating system, the architecture and the Python version;
  3. the command or a short Python snippet;
  4. the complete error message;
  5. the kind of model: built-in, JSON, compiled, prepared or UFO;
  6. the execution mode, backend, color accuracy and process expression;
  7. the output of pyamplicol doctor when installation or the native SDK is involved.

These commands write read-only reports that help:

pyamplicol doctor --json > doctor.json
pyamplicol inspect ARTIFACT --json > inspect.json
pyamplicol config resolve RUN_CARD.toml --json > config.json

For a failure of a native program, add:

rusticol-config --version
rusticol-config --target
rusticol-config --json

For a wrong or inaccurate value, give the smallest phase-space point and parameter card that reproduce it, the process (its stable ID or expression), the precision and the helicity or color-flow selection, and say whether the total and the sum of the resolved components disagree.

Read these files before you attach them. Do not publish private model data, license keys, paths of your cluster, credentials, or an artifact you may not redistribute.

Feature requests

A useful feature request explains the physics or the deployment workflow, why the present models, generation, evaluation or selection calls do not serve it, the smallest representative process and model, the behavior you expect (errors included), and any platform or performance constraint. Show the need on a small public model and process rather than attaching a whole private project.

Contributing a fix

The contributor setup and the test policy are in Development. A fix comes with a focused test for the failure it repairs. A change of the public interface comes with its documentation and type annotations; a change of the runtime or of the artifact format, with proportionate native tests.

Security and artifact trust

An artifact is executable input: its JIT code is compiled to native code when it is loaded, and C++ and assembly artifacts contain native libraries. The validation of a manifest checks that the artifact is consistent and stays inside its directory; it does not say who published it. Generate artifacts yourself or obtain them through a channel you trust. UFO models execute Python code when they are loaded: use only models you trust.

Do not post a suspected security vulnerability in a public issue. Use the repository’s private security reporting if it is enabled; otherwise contact the maintainers through the MadGraphTeam organization, without exploit details in public.

See also