Code Review
1 Guidelines
These meetings are truly team gatherings and are designed to be a learning environment. Since, everyone will have different levels of experience using these tools, a primary tenet of these meetings will be repetition of our processes so that we can work together effectively and adapt as needed.
We will model our code review style using this document. The most important sections are highlighted below.
We will prioritize:
We will also reference this checklist and modify this as needed for bioinformatics coding.
2 Overview
2.1 Agendas
Meeting agendas will be hosted on the github repository “contributing guidelines” discussions section.
If you have any questions or suggestions, please post them discussions section as well! This will be an evolving process as we develop our own bioinformatics team best practices.
2.2 Meeting Descriptions
There are two Microsoft Teams recurring meeting series for git and github. In general, meetings will always have a virtual component in order to share our screens and easily view each others code.
- “Code Review - paired programming”:
Frequency: 1x a week on Wednesdays
Description:
focused on gaining experience and familiarity with using
git
,gh
github CLI commands, and github web features.review our commits and commit history together
push changes to the lab github organization
- “Code Review - formal review”:
Frequency: 1x every 3 weeks
Description:
a more in-depth discussion of the technical components of our code
ask specific questions and troubleshoot errors
get feedback on how to improve the efficiency of our code
3 Code Review - paired programming
Weekly code review / code commit gatherings to ensure: - only committing changes that we expect - have not added any files that may not belong on github, such as PDFs or power point presentations - have not added any sensitive data.
3.1 Meeting Format:
Open questions (10 min)
We will work in pairs to commit changes, review our commit history and which files should be hosted on github (35 min)
Push changes to the lab github repositories (15 min)
3.2 Git and Github
- Review our diffs and commit history
REPO="Meshinchi-Lab/2025.06.23_Example_Repo"
cd $REPO
git status
git diff
- Once we all completed the code review / code commit partner checks, then you can push changes to the repository.
git push
- check that the repository looks the way you expect it to look using the following command:
gh repo view --web "$REPO"
4 Code Review - formal review
A 1x every 3 weeks recurring code review meeting for the bioinformatics team to discuss questions, troubleshoot code, and make code improvements.
4.1 Meeting Format
Open questions (10 min)
Presentation of code by person 1 (15 min)
Presentation of code by person 2 (15 min)
Presentation of code by person 3 (15 min)
Recap on what changes to be made (5 min)
We will then wait until the following “Paired Programming” meeting to push any changes.