Online tutorials go stale as soon as the software changes. The community behind PLUMED, an open-source library for enhanced-sampling and free-energy calculations and for analysing molecular dynamics trajectories, built a tutorial site that tests every example input against the current code and flags any that no longer run. Gareth A. Tribello, Massimiliano Bonomi, Giovanni Bussi and colleagues describe it in a 2024 paper on arXiv.
Why a new model
Training new users of scientific software usually passes from supervisors to students, which has limited reach and takes a lot of effort. Workshops and online tutorials have their own limits. Tutorials are typically prepared by a few developers or experienced users and so cover only part of the software, and as static text they quickly become obsolete as the software evolves. The authors found the same with tutorials they had published in journals and books.
The PLUMED team ran in-person schools in 2010, 2012, 2014, 2017, 2019 and 2023, attended by more than 350 participants in all. Material posted online afterwards was incomplete, because it assumed lectures that were not online, and the website ended up with several slightly different tutorials on similar material. A school planned for 2021 was cancelled because of the COVID-19 pandemic. In its place the team ran the online PLUMED Masterclass, in which each of 7 sessions in the first series had an hour-long lecture on Zoom, a week of homework with a Slack channel for questions and a second lecture with solutions. With time to refine the material from student feedback, the authors judged it possibly better than anything from previous in-person meetings. The lectures are on YouTube and had been viewed 49500 times.
How PLUMED Tutorials works

Fig. 1 of the paper: the graph that guides a learner through a tutorial, and the text that builds it. The paper's authors, CC BY 4.0.
As of November 2024 the site had 47 tutorials, in a searchable table showing name, authors and a short description. They cover installation, the PLUMED syntax, enhanced-sampling methods such as umbrella sampling, metadynamics and replica exchange, machine-learning collective variables, and developer topics such as parallelisation.
- Contributing. A tutorial is a bundle of Markdown files, Python notebooks, images and YouTube videos in an online archive on a repository such as GitHub or Zenodo. A GitHub Actions workflow downloads the archives and builds the site, so contributors edit a tutorial by editing their own archive.
- Navigation. Each tutorial needs a NAVIGATION.md file, which draws a directed graph of its resources, and an EMBED.yml file listing videos and links. A learner hovers over each box for a tooltip and clicks to open it. The authors drew solid lines for essential steps and dashed lines for optional ones.
- Linking. A tutorial can link to others on the site, to external pages, to PDFs and to videos. The authors prefer this to imposing an order, because the site resembles a miniature version of the research literature more than a textbook.
Inputs that test themselves
PLUMED input files in a tutorial are rendered by code that checks whether the current release and the development branch of PLUMED can parse them. A green badge means the input works, and a red one warns that it is obsolete. Developers can also use the badges to see how a syntax change affects the community.
Tutorial authors can leave gaps marked __FILL__ in example inputs, which pushes students to read the documentation, and can point to a solution file so that the badge reflects the complete version. Hovering over any keyword shows a tooltip, and the name of an action links to the manual. "Shortcut" actions can be expanded to show the complex input they build, and clicking an action's label shows the values it passes on, in colors that mark atomic positions, scalars, vectors, matrices and functions on grids. The same tools have rendered over 1600 example inputs, which the authors think teach more than a manual could.

Fig. 2 of the paper: a rendered PLUMED input, with badges that show whether current versions can parse it, and keyword tooltips. The paper's authors, CC BY 4.0.
Finding tutorials
The browse page lists the newest tutorials first and lets students sort by name or author. A dependency graph made from the links contributors add, with circular dependencies removed, suggests an order for working through the tutorials, so contributors decide that order collectively. Search works through links such as one that lists all the tutorials by one author on a topic, and tutorials can be found by the action or module they use, which also appears on the manual's pages.
What the authors expect
The authors argue that the tutorials complement journal articles rather than replace them, and that a tutorial written alongside a paper may lead readers to engage with it more deeply. When they used the material to train students in their own groups, the students were more inclined to adopt methods developed by other groups. They expect the tutorials to play a central role in future in-person schools, letting students prepare in advance so that meetings can focus on short projects and discussion, and they hope developers of other software will use the approach.
Sources
- Gareth A. Tribello, Massimiliano Bonomi, Giovanni Bussi and colleagues, PLUMED Tutorials: a collaborative, community-driven learning ecosystem, arXiv:2412.03595 (2024), licensed CC BY 4.0. Changed here: condensed and rewritten in hubnx's own words, with three figures left out and the references and tutorial table left out; rewritten in hubnx's own words.
코멘트




