Jarvis-HEP: A lightweight Python framework for workflow composition and parameter scans in high-energy physics

This paper introduces Jarvis-HEP, a lightweight Python framework designed to streamline high-energy physics workflows by enabling YAML-based specification, dependency-aware execution, and modular integration of diverse computational tools for efficient parameter scans and multi-step studies.

Original authors: Erdong Guo, Paul Jackson, Jin Min Yang, Pengxuan Zhu

Published 2026-04-29
📖 5 min read🧠 Deep dive

This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are a detective trying to solve a massive mystery: What is the universe made of?

In the world of high-energy physics, scientists have a "Standard Model" (a rulebook of known particles), but they suspect there are hidden rules and secret characters (New Physics) lurking in the shadows. To find them, they have to test millions of different "what-if" scenarios.

The problem is that testing these scenarios is like trying to bake a cake where every ingredient requires a different oven, a different chef, and a different recipe book. Some tools calculate particle masses, others predict how dark matter behaves, and others simulate collisions. Usually, a scientist has to manually run Tool A, copy the results, paste them into Tool B, check if the numbers make sense, and then run Tool C. If they want to test 10,000 different scenarios, doing this by hand is impossible—it's slow, prone to errors, and exhausting.

Enter Jarvis-HEP.

Think of Jarvis-HEP as a super-smart, automated kitchen manager for these physics detectives. It doesn't bake the cake itself; instead, it organizes the whole kitchen so the chefs (the various physics software tools) can work together seamlessly.

Here is how it works, using simple analogies:

1. The Master Recipe (The YAML File)

Instead of writing complex computer code to tell the tools what to do, scientists write a simple, human-readable "recipe" called a YAML file.

  • Analogy: Imagine writing a shopping list and a set of instructions on a notepad: "Buy 500 apples. If the apple is red, bake a pie. If it's green, make a salad."
  • In the paper: This file tells Jarvis-HEP: "Here are the variables (like the size of the universe or the mass of a particle). Here is the rule for how to pick them (randomly or in a grid). Here is the order to run the tools."

2. The Assembly Line (The Workflow)

Once the recipe is written, Jarvis-HEP sets up an assembly line.

  • Analogy: Imagine a factory where a robot arm grabs a raw material, passes it to a painter, then to a polisher, and finally to a quality checker.
  • In the paper: Jarvis-HEP automatically links different software packages. It takes the output of one tool and feeds it directly into the next, ensuring that if Tool A needs a specific file format, Tool B gets it exactly right. It handles the "dependencies" (making sure the right tools are installed and ready).

3. The Busy Bee Swarm (Asynchronous Execution)

This is Jarvis-HEP's superpower. Traditional methods do things one by one (like a single person washing dishes, drying them, and putting them away). Jarvis-HEP uses asynchronous parallel processing.

  • Analogy: Imagine a swarm of 16 bees working in a hive. While one bee is waiting for a flower to bloom, another is flying to a different field. They don't wait for each other. If one bee is slow, the others keep working.
  • In the paper: The system runs many calculations at the same time. If one computer part is busy, the system instantly moves to the next available task. This makes the whole process incredibly fast and efficient.

4. The "EggBox" Test Drive

To prove it works, the authors tested Jarvis-HEP on a famous math puzzle called the "EggBox" potential.

  • Analogy: Imagine a landscape full of hills and valleys (the "EggBox"). The goal is to find the deepest valleys (the most likely answers).
  • In the paper: They showed that Jarvis-HEP could use different "search strategies" (like random walking, grid searching, or smart AI-guided searching) to explore this landscape. It successfully found all the important peaks and valleys without getting stuck or confused.

5. The Safety Net (Logging and Checkpoints)

If you are baking 10,000 cakes and the power goes out, you don't want to start over from scratch.

  • Analogy: Jarvis-HEP is like a baker who takes a photo of the kitchen every 30 seconds. If the power fails, you can look at the last photo, pick up exactly where you left off, and keep baking.
  • In the paper: The system automatically saves "checkpoints." If a scan is interrupted, you can restart it, and it resumes from the exact point it stopped, not from the beginning. It also keeps detailed logs (like a diary) of every single step, so if something goes wrong, you know exactly which "ingredient" caused the problem.

Summary

Jarvis-HEP is a lightweight, easy-to-use tool that lets physicists stop worrying about the messy logistics of connecting different software tools. It turns a chaotic, manual process into a smooth, automated assembly line.

  • For the User: You just write a simple recipe (YAML file).
  • For the Computer: It handles the heavy lifting, manages the tools, runs thousands of tests at once, and saves the results in an organized way.

The paper claims this makes it much easier for researchers (even small teams or individuals) to explore complex theories about the universe without needing to be expert programmers or spend weeks setting up their computer systems. It's a "workflow composition" tool designed to make the science faster and less prone to human error.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →