Discussions¶
At DagsHub, we're tackling collaboration on data science projects as a first-class problem. DagsHub Discussions are a way to communicate with collaborators in context. We like to call it the "comment on everything" feature.
Instead of having long discussions in Slack with links and screenshots that get lost over time and hurt reproducibility and your ability to build a knowledge base,
DagsHub discussions let you discuss model architecture right under the model file, review annotations on the image files, and talk about the custom metrics you're using to visualize your experiment right under the relevant notebook cell.
Discussions Tab¶
The discussions tab is where you see all the discussions happening in your project. You can see the type of file (notebook, model, folder, etc.), last edit time, discussion participants and the amount of comments involved.
The discussions are sorted by most recent reply, so you can always easily find where the action is.
Comment Types¶
Data scientists need context to build a knowledge base. We know that issues don't cut it, but sometimes even commenting on entire files isn't good enough. That's why we support commenting in various contexts, including commenting on code lines, notebook cells, bounding boxes and more.
At the top of each file, you will also find the Discussion button, that will lead you directly to where the magic is happening.
Comment on files & folders¶
This is the basic type of comments. You can start a discussion on any file or folder in your project. This covers use cases like discussing model architecture and which data points should be added to the data folder.
Comment on code lines¶
Code is a central part of every machine learning project on DagsHub. Since code files might be very large, commenting on an entire file might not be granular enough. To counter that, DagsHub Discussions lets you comment on any code line. Each comment made on a line of code will appear under that line, and as part of the broader discussion at the bottom of the file.
Use DagsHub Diffing on a Commit
Comment on notebook cells¶
Data scientists love notebooks, but interacting with them in version control is notoriously difficult. Discussions enable you to comment on notebook cells, so you can discuss that visualization or prediction right under where it was calculated.
Use DagsHub Diffing on a Commit
Comment on image bounding boxes¶
If you work with images, you sometimes want to point a teammate to a specific part of the image, for example an area where annotation is a bit off. Discussions let you mark an area in an image and add a comment that will be tied to that area.
When your teammate clicks that area, they'll see where it refers to in the image.
Use DagsHub Diffing on a Commit
Comment on file diffs¶
Sometime knowledge building happens between versions of files. You might want to add a note on how a data file changed, or mention a team member if they accidentally remove an import piece of code. With Discussions, you can comment on file diffs, so that information is preserved.
This commenting also works for diffs in pull requests, so you can always add the relevant note.
Which comment support do you need?¶
Want to comment on something not yet supported? Let us know in our Discord community's suggestions channel