Teaching Open Science & Reproducible Research: Research Software Engineering Practices for Academia

Episode 4 59 min

Johanna Bayer Researcher completing a PhD

Episode 4 · Teaching Open Science & Reproducible Research: Research Software Engineering Practices for Academia

59 min

What we talked about

Johanna is about to finish her PhD at the University of Melbourne, where she works on machine learning for clinical neuroimaging. She has a background in psychology and clinical neuroscience, and she contributes to open source and open science communities. Alexey invites her to discuss research software engineering, the practice of building software as part of academic work.

Johanna describes her path from a psychology bachelor's degree in Germany, through modeling work in Berlin and Zurich, to a position in Australia. She teaches open science remotely and has completed a Carpentries instructor course. Her course starts with Git, then covers reproducible manuscripts that run from raw data to figures, tests and contributing to open source. For beginners she recommends small repositories, such as the Turing Way book, because a first pull request there is less intimidating than a large project like scikit-learn.

Johanna separates two groups in research software engineering. Some people focus on methods and analysis, and others publish software such as toolboxes as their main output. Many of them are PhD students, and her own PhD includes a method that corrects scanner-related differences in neuroimaging data. She says software is slowly gaining recognition as research output, and software can now get a DOI. Convincing a supervisor is hard, since many professors lack time or confidence with software. Alexey compares this to data science in industry 10 to 20 years ago, when companies had to add software engineers to academic hires.

Her normative brain model project shows how she added practices over time. She started with a folder structure from Cookiecutter, a dev branch separate from main, code formatters such as Black, and MLflow for tracking experiments. She admits she deleted and redid her experiments several times before the setup worked. Her depression data comes from a consortium that requires a proposal, so she shares figures and summary statistics rather than the raw data.

To keep up, Johanna checks trending GitHub repositories and awesome lists, and she is active in several communities. When she contributes, she reads the README, the contributing guide and the dev branch, then discusses open issues with their authors. She says studies show that papers with shared code receive more citations. She also cites a GitHub thread in which 250 authors who had written "data available upon request" were asked for their data, and only a few replied with it. Her book recommendation is the Machine Learning Solutions Architect Handbook.

Chapters

  1. 1:08 Guest Background: Johanna Bayer — Psychology to Machine Learning in Neuroimaging 1 min
  2. 2:24 Academic Journey: Studies in Germany, Zurich and Move to Melbourne 3 min
  3. 5:27 Teaching Open Science: Intro to Git, Homework Support and Course Structure 2 min
  4. 7:39 Carpentries & Structured Beginner Curriculum for Reproducible Research 1 min
  5. 8:30 Open Science Curriculum: Reproducible Manuscripts with Embedded Code 2 min
  6. 10:52 Guided Onboarding to Open Source: Small Repos, Pull Requests & Turing Book 1 min
  7. 12:10 What RSE Means: Software-Focused Research Outputs and Practices 2 min
  8. 14:10 Academic RSE Roles: PhD Students, Methods Papers and Toolboxes 2 min
  9. 16:36 Software as Research Output: DOIs, Toolboxes and Publishing Code 1 min
  10. 17:10 Culture Change in Labs: Convincing Supervisors & Grassroots Hackathons 3 min
  11. 20:05 Industry Lessons for Academia: Programming Expectations & Tool Adoption 2 min
  12. 22:12 Experiment Tracking in Research: MLflow and Reproducibility Tools <1 min
  13. 22:16 Barriers to Teaching Software Skills: Time, Expertise and Fear of Scrutiny 2 min
  14. 23:54 Infrastructure Gaps: Hosting Interactive Reproducible Papers and Costs 4 min
  15. 27:38 Core Coding Practices to Teach: Packaging, Environments, Formatting & Tests 1 min
  16. 28:18 Learning by Doing: Brainhack, Hackathons, Community Contributions 2 min
  17. 30:44 Formal Courses vs Self-Learning: Structure, Discipline and Freelancing 2 min
  18. 33:04 Collaboration & Code Review: Working Alone vs Community Feedback 3 min
  19. 36:05 Benefits of Open Code: Citations, Collaboration and Career Visibility 1 min
  20. 37:01 Data Sharing Reality: "Data Upon Request", Access Controls and Consortia 2 min
  21. 38:50 Project Case Study: Normative Brain Model — Folder Structure & Cookiecutter 1 min
  22. 39:27 Applied Engineering Practices: Branching, Formatting, Versioning & MLflow 3 min
  23. 42:22 Sensitive Data Practices: De-identification and Controlled Access 3 min
  24. 45:24 Balancing Open Source, Hackathons and Full-Time Research Commitments 2 min
  25. 47:42 Discovering Projects: GitHub Trending, Social Media & Community Platforms 2 min
  26. 49:46 Contributing to Repositories: Readme, Contributing Guides, Issues & Communication 3 min
  27. 52:22 Open Publishing vs Industry IP: Academic Openness and Commercial Concerns 3 min
  28. 55:12 Recommended Resources: The Turing Way, The Carpentries & ML Solutions Handbook 3 min
  29. 58:03 Episode Conclusion and Closing Remarks 1 min

Johanna Bayer Researcher completing a PhD

Johanna Bayer is a researcher completing a PhD in machine learning for clinical neuroimaging at the University of Melbourne, with a formal background in psychology and computational neuroscience. She is an advocate for open source and open science, contributes to several open-source projects, and champions research software engineering practices that make academic research more reproducible.

More episodes with Johanna Bayer

Topics in this episode

The wiki pages this conversation is filed under, the strongest first.

Academia

Academic research, PhDs, postdocs, open science, research software, and data or AI career transitions.

Teaching

Teaching data, ML, and AI through projects, feedback, community, documentation, bootcamps, and public explanation.

Software Engineering

How software engineering discipline shapes data, ML, and AI systems through testing, interfaces, deployment, and maintainability.

Applied Research

How applied research turns uncertain ML ideas into usable systems, benchmarks, prototypes, and production evidence.

Experiment Tracking

Experiment tracking as run history, reproducibility practice, and ML platform capability.

Machine Learning Tools

Guide to choosing ML tools for modeling, experiments, platforms, monitoring, fairness, and AI tooling.

Open Source Contributor Path

A practical contributor path from first issue to reviewable docs, tests, demos, maintainer collaboration, and portfolio evidence.

Open Source ML Contributions

How open-source ML contributors move from reproducible issues, docs, tests, and scikit-learn APIs to research reuse and portfolio proof.

Privacy Engineering for ML

Privacy engineering for ML across access governance, privacy-enhancing technologies, and production LLM privacy tradeoffs.

Reproducibility

How data science, ML, research, and data pipeline work becomes rerunnable, reviewable, and explainable.

Related books

Software Mistakes and Tradeoffs

10 questions answered

In Software Mistakes and Tradeoffs you’ll learn from costly mistakes that Tomasz Lelek and Jon Skeet have encountered over their impressive careers. You’ll explore real-world scenarios where poor understanding of tradeoffs lead to major problems down the road, to help you make better design decisions. Plus, with a little practice, you’ll be able to avoid the pitfalls that trip up even the most experienced developers.

Tomasz Lelek Jon Skeet

Street Coder

12 questions answered

Software development isn't an "ivory tower" exercise. Street coders get the job done by prioritizing tasks, making quick decisions, and knowing which rules to break.

Sedat Kapanoglu

Optional analytics

Optional analytics are off unless you allow them. Your choice does not affect access to DataTalks.Club, Slack, events, or courses.

Current choice: not chosen.

Privacy Policy

If you allow analytics, self-hosted Umami counts anonymous public pageviews without analytics cookies. Private account and learning pages are excluded. Read the Privacy Policy for the complete data boundary.

Want to learn more about our community?

How it started, who's here, and everything that goes on here: courses, events, Slack, and more.

About DataTalks.Club