Inconsistent analysis protocols in the data lab
A research network with several data labs produces thousands of analyses every year. Inconsistent protocols make comparison and reuse difficult.
- Science
- Data analytics
Key metric
Time saved on writing protocols
32hours
Average time per analysis protocol
At a glance
Starting point
A publicly funded research network runs three data labs with around 40 data scientists and analysts in total. Roughly 2,600 analyses are carried out each year, about 50 per week on average. Every analysis requires a protocol covering data sources, preprocessing steps, model variants and results. Until now, these protocols have been written in different templates and tools, from Markdown notebooks to Office documents. A typical analysis involves two to three iterations, each with its own notes and interim results, which later have to be painstakingly merged into a consistent report.
- 2,600
- analyses per year
- 40
- data scientists
The challenge
The head of the data lab found that, despite high scientific quality, the documentation of analyses varied widely. Important context such as the data slices used, feature engineering decisions or abandoned modeling paths was often missing or recorded only in personal notes. For replication requests, data scientists spent one to two hours per case on average understanding old protocols and filling gaps. Peer reviews took longer because reviewers first had to get used to individual writing styles and structures. At the same time, pressure was growing to make results easier to compare across projects and sites.
Typical symptoms in the organization
Why this remained unsolved
The problem had long been known but was accepted as necessary overhead. Standardized templates were introduced but only partly used, because they were seen as too rigid and did not fit every project. A classic reporting tool would have enforced additional mandatory fields but hampered the creative analysis process. There was no capacity for a dedicated IT project, and the data labs did not want to maintain yet another rigid application. So it remained a matter of recommendations and training sessions, which were often ignored under day-to-day time pressure.
Our solution
Together with the data lab, we developed an assistance system that automatically generates structured protocol drafts from existing artifacts such as notebooks, pipelines, tickets and short free-text notes. The system reads metadata from version control, experiment tracking and the data catalog, links it with the data scientists' comments and proposes a consistent structure. Researchers stay in their familiar workflow, for example in the notebook or the project management tool, and receive suggestions there for the introduction, methodology, experiments, results and limitations. They can adapt, extend or discard these drafts, so they keep control over content and tone.
Where generative AI comes in
Generative AI analyzes code comments, notebook cells, experiment logs and short free-text notes, condenses them into readable sections and suggests suitable headings. It recognizes typical analysis components such as data preparation, model training or evaluation and maps them to a uniform structure that enables consistent protocols.
- Integration with version control, experiment tracking and the data catalog to automatically collect artifacts and metadata for each analysis.
- Analysis of notebook content, code comments and free-text notes to document decisions and parameter changes clearly.
- Generation of a structured protocol draft with uniform sections that can be edited in the notebook and exported.
From notebook to protocol draft
Capture the analysis
At the start, data scientists link their analysis to a project on the platform, which automatically collects relevant artifacts from notebooks, repositories and experiment logs.
Consolidate context
The system extracts data sources, parameters, model variants and key decisions, enriches them with metadata and maps everything to a uniform structure.
Review the draft
Data scientists review the generated protocol drafts in their usual tool, add domain detail and approve them before they are exported for reviews or audits.
Incorporate feedback
Feedback from peer reviews is captured to learn typical phrasing and structural preferences and to better align future drafts with practice.
Measured: after six months in operation
Period: measured after six months in operation.
| Metric | Value | Basis |
|---|---|---|
| Time saved on writing protocolsKey metric | around 33 percent less time | Time tracking before/aftermeasured |
| Time spent on replication requests | from 1.5 to 0.5 hours per request (around 67 percent less) | Time tracking before/afterestimated |
| Share of structured protocolsQuality metric | increase from 40 to 85 percent, around 113 percent relative | System measurementmeasured |
Cost-effectiveness
The solution only delivers its full benefit if data scientists keep meaningful comments and notes. In projects with very unstructured artifacts, manual rework is still needed.
Integration and operation
Transferability
The pattern suits any organization where analytical or experimental work happens in many variants and documentation often lags behind. Wherever notebooks, scripts or lab journals are produced, an assistance system can generate structured protocol drafts from existing artifacts. To ensure quality and acceptance, it is important that experts keep ownership of the content and use drafts only as a starting point.
A similar case in your organization? Let's talk.
Briefly describe your process. We'll get back to you with an initial assessment of whether the pattern can be transferred and what it would realistically take.