Running the platform track
This section gathers what it takes to run the track From a platform, on the command line: 2h of hands-on work, each participant in their own terminal. It is written so that any trainer can take it up, on any madbot instance.
The documents
Section titled “The documents”To read in this order:
- Messages to participants: the prerequisites a week before, and the reminder the day before;
- Preparation checklist: what to do before, during and after;
- Lesson plan: the outline, block by block;
- Answer key: the deposit file expected at each step;
- Evaluation: the questionnaire to fill in at the end of the workshop.
The format
Section titled “The format”Fifteen participants at most: developers and data managers of platforms that produce data, at ease in a terminal, who do not know madbot. Each works on their own computer, with their madbot account and their account on the Recherche Data Gouv demo. All read the same public dataset on Zenodo, and each deposits their own on the demo.
| Block | Duration | Content |
|---|---|---|
| Install madbot-cli | 15 min | Installation, access token, version |
| Explore the instance | 10 min | plugins, what Zenodo and Recherche Data Gouv ask for |
| Connect the source | 20 min | The deposit file, browse --search, browse, the data of the node |
| Plan and apply | 15 min | plan, apply, and a second plan that changes nothing |
| Describe the submission | 25 min | The submission, fields --level mandatory, field, the metadata |
| Submit | 15 min | apply --submit, status, the DOI |
| Optional | 10 min | Add a file, run again, a deposit sent no longer changes |
| From your Python code, optional | 20 min | The same deposit with a Python script, run again without duplicates |
| Plug it into your platform | 10 min | Discussion: private source, real repository, automated pipeline, Python |
The track uses the web interface only to create the access token. The “What the command does, on the API side” boxes name, in each block, the requests madbot-cli makes: they help the participants who will integrate madbot without madbot-cli.
What is needed before starting
Section titled “What is needed before starting”- A madbot instance (2.2.0 or later) with:
- the Zenodo plugin as a data source, able to read public records without credentials;
- the Recherche Data Gouv plugin, with up-to-date metadata mappings (data type, keywords, languages, contributors): the rehearsal checks it.
- madbot-cli published on the package registry of the madbot project, in a version that goes with the one of the instance.
- The demo instance of Recherche Data Gouv (
https://demo.recherche.data.gouv.fr/) and a collection participants can deposit into: the Travaux Pratiques collection, aliastp. - The network of the room open to the instance, Zenodo, the Recherche Data Gouv demo, and the package registry of the madbot project.
Each participant creates their own madbot account, their account on the Recherche Data Gouv demo and an API token on it, and installs uv: that is what the prerequisites message is for.
The dataset
Section titled “The dataset”The riviere dataset of the introduction, published on zenodo.org: a year of synthetic water quality measurements in a stream, in three CSV files and a README.
| Record | Identifier | DOI of the version | DOI of all versions |
|---|---|---|---|
| River | 24343971 |
10.5281/zenodo.24343971 |
10.5281/zenodo.24343970 |
All participants read this same record: the Recherche Data Gouv demo accepts identical deposits, and each one gets its DOI. Nothing has to be prepared on a file server, and no Zenodo account is needed.
The Zenodo quota
Section titled “The Zenodo quota”Zenodo limits the requests made without an account, for the whole madbot instance (which makes them on behalf of the participants):
- 30 searches per minute:
browse --search, and opening a record by its DOI; - 133 reads per minute of records and files:
browseby identifier, and reading the files withapply.
The track copes with it: a single search per participant, in block 3, then the identifier 24343971 everywhere. A simulation of 15 participants whose reads spread over ten minutes triggered no refusal; the same reads packed into one minute get part of them refused. If the room moves forward block by block, the reads spread by themselves. A refused file is read again with apply --retry-failed, a minute later.
A Zenodo token of the instance raises the read quota, but not the search one: see the documentation of the Zenodo plugin.

