GSoC Final Report

Google Summer of Code 2024 Final Report Introduction I am excited to share the final report of my Google Summer of Code (GSoC) experience with PyBaMM, a project under the NumFOCUS umbrella. Over the past few months, I have worked on modernizing and enhancing PyBaMM’s testing infrastructure. This report will summarize the progress made during the program and highlight key accomplishments and learnings. Project Overview PyBaMM (Python Battery Mathematical Modelling) is an open-source tool for simulating battery models, offering a flexible and modular framework for interdisciplinary research....

September 17, 2024

GSoC week 11 and 12

This blog will cover the eleventh and twelth week as a GSoC student. Work so far and for the coming weeks. Migrating tests to pytest part 6 : This PR covered the part 6 of pytest migration. This PR covers a lot of changes to the codebase, leveraging the power of pytest’s fixtures and parameterization. With this we moved 18 files to pytest. Follow the PR to know more....

September 12, 2024

GSoC week 9 and 10

This blog will cover the ninth and tenth week as a GSoC student. Work so far and for the coming weeks. Migrating tests to pytest part 5 : Almost 20 more files were moved to pytest. With this almost half of the unit tests are migrated to pytest! You can follow the PR to know more. Using posargs to pass arguments to nox sessions : We can now give inputs to tests nox session....

August 24, 2024

GSoC week 7 and 8

This blog will cover the seventh and eighth week as a GSoC student. Work so far and for the coming weeks. Moving all the integration test files to pytest : Finally all the integration test files have been migrated to pytest. With this integration we also ensure not using unittest anywhere in the integration test suite and moving to pytest ecosystem. There were some large files that needed a bit of time as well as some which were fairly straightforward (using numpy testing so not much changes were required)....

August 10, 2024

GSoC week 5 and 6

This blog will cover the fifth and sixth week as a GSoC student. Work so far and for the coming weeks. Finally the PR to remove run-test.py file (mentioned in previous blog) got merged! With this we are now using nox for all testing and virtual environment related stuff. We are also now using pytest markers for running tests. Interesting part is they are not explicitly used anywhere in the codebase by using pytest....

July 27, 2024

GSoC week 3 and 4

This blog will be about the work I did and interesting stuff I found in these two weeks as a GSoC student. Work so far and for the coming weeks. In these two weeks we heavily planned and implemented lot of infrastructural changes. These changes may not effect general users of PyBaMM, but developers will surely benefit a lot from them. I also had a taste of how interrelated PRs can be an issue (although not so much in my case), I’ll explain more about it later....

June 29, 2024

GSoC week 1 and 2

Recently I got selected for the Google Summer of Code program. I’ve been working with PyBaMM (under the NumFOCUS umbrella) to improve their test suite. This blog will touch more on my experience of getting accepted as a GSoC student and my work till now and for the future at PyBaMM. Getting Selected and Community Bonding I started contributing to PyBaMM in November last year. Initially, it was difficult to navigate through the codebase, but the mentors were pretty chilled out and helped me a lot....

June 3, 2024

Containerizing your applications with Docker.

Hello guys. You probably would have heard about docker and containerization before. Just to give you a brief, Docker is a container runtime. What does that mean? What is a container? Why do I even containerize my application to start with? Let’s address these problems one at a time. What are containers? Containers and containerization is a concept that allows us to isolate some kernel processes. In other words, it acts like a virtual machine, except virtual machines provides isolation on hardware level whereas Docker works on kernel level....

July 8, 2023

Hello👋🏻

My first post. Just checking if everything works fine.

June 30, 2023