SageMath Google Summer of Code (GSoC) Contributor Application Guide

What is GSoC?

Google Summer of Code is a global, online program focused on bringing new contributors into open source software development. GSoC Contributors work with an open source organization on a 12+ week programming project under the guidance of mentors.

Originally created as a program for (university) students, since 2022, Google Summer of Code has been open to students and to beginners in open source software development that are over the age of 18 at time of registration.

Interested?

Step 1 (now): Check whether you satisfy the Eligibility Criteria.

Step 2 (now): Review the GSoC Timeline and mark it in your calendar:

Step 3 (now): Check whether the stipends paid by Google will make it economically feasible for you to participate.

What is SageMath, and what other GSoC organizations are there?

Sage is a GPL open-source mathematical software system. It is designed to be not just a computer algebra system, but more like a complete environment for doing mathematics and related calculations. It is based on a vast collection of existing open-source software tools and libraries and ties them together via Python and Cython.

Python is also the primary interface language for the user. Behind the scenes, the Sage library executes the commands and calculations by its own algorithms or by accessing appropriate routines from the included software packages. On top of that, there are various ways for users to interact with Sage, most notably via Jupyter notebooks.

Sage works hand-in-hand with other computational mathematics software systems such as GAP, Singular, and many more. A portion of a GSoC project in the SageMath organization can also be dedicated to making contributions to these systems.

Step 4: Explore the SageMath GSoC 2024 Ideas Page for information on potential projects prepared by our experienced mentors. If you are interested in contributing to open-source mathematics software, note also these GSoC 2024 organizations:

Prospective GSoC Contributors typically begin by browsing the Ideas Pages of various participating open source organizations (orgs) such as SageMath and communicate with mentors to write and submit well-defined project proposals.

These proposals are reviewed by the respective orgs as well as by Google. The selected contributors then spend 12+ weeks in the summer writing code and receive a stipend from Google for their work.

Contacting Us

Sage maintains three primary mailing lists, namely:

For further support in using Sage, there is also a vibrant Question-Answer forum at ask.sagemath.org.

All prospective SageMath GSoC Contributors must join the sage-gsoc mailing list.

Interacting with the Sage Community

Sage, as an open source project, depends on a diverse community of volunteers to contribute and help move it forward. The mentors are here to help you and the rest of the community is eager to provide support as well. Please respect the time and efforts of the community and be courteous at all times. Following are some tips to keep in mind.

You may also want to peruse the The DOs and DON’Ts of Google Summer of Code published on GSoC's official blog.

Getting Started

Its always a good idea to get started early, even before the complete project ideas list is out. By becoming actively involved, you can significantly improve your GSoC proposal and also help us in deciding how you stand out from the rest of the applicants. But first, you should complete the checklist below to ensure that you are ready to contribute.

  1. Fork the GitHub repository sagemath/sage and clone it to your computer.

  2. Read the Sage Guide - Developer Documentation is the single best resource for everything related to Sage development and as such should be considered as required reading.

  3. Install Sage on your local system - Ensure that you have the prerequisites installed on your system and then start the installation procedure on the developer version (Note, running make the first time will take a few hours).

  4. Read Sage's Conventions and Browse Tutorials - Sage follows various conventions and guidelines for writing code, building documentation and running automated tests. Please make sure to follow them. Further, there are numerous tutorials available for a guided view of various Sage modules.

First Contributions

There are two primary ways to contribute and acquaint yourself with the various aspects of Sage development namely, writing an Issue and/or PR, and reviewing a PR. You should first figure out which module(s) of Sage you are interesting in contributing to (possibly through the list of available project ideas) and then find a suitable open easy Issue to resolve. Alternatively, if you don't find something specific, you can always ask on the sage-gsoc mailing list.

  1. Writing an Issue or Pull Request - Developers, to put it simply, report on a bug or feature or enhancement that they wish to help with by opening an Issue on GitHub. Then they discuss potential solution ideas through comments and based on that write code and submit it as a Pull Request on GitHub.

  2. Reviewing a Pull Request - Once a developer submits code in the form of a Pull Request to resolve an Issue, it is reviewed independently by other developer(s) who may comment changes as deemed necessary. All recommendations must be incorporated before the new code can be merged into Sage. This is a very important component of Sage development which helps ensure quality control as well as constructive feedback. If you are reviewing a PR, please complete the Reviewer's Checklist and ask for assistance if you are not sure how to evaluate items from the list. PRs needing review are a good place to start.

GSoC Application Proposal

The Project Proposal is the most vital component of your application process and the primary resource available to the organization to judge your suitability for the program. Please spend time on crafting a detailed and well-thought proposal. It is a great idea to share your proposal with the respective mentors of the project you are applying to and obtain their feedback before the application deadline. Determining the scope and planning a schedule in particular, can be tricky tasks. The more you think about these and the more you discuss with the mentors, the easier it will be later on when the coding period begins. Please use the following application template and make sure to be as precise and detailed as possible.

Personal:

Background:

Project:

Note: All final applications must be submitted on the official GSoC website.