Question about methodology in Battery Explorer

Hello, I want to ask a question about the data collection of Battery Explorer. I want to learn about the detailed methodology description about how to calculate the gravimetric and volumetric capacity. Is there any paper or articles that describe it in systematically? I found the code in pymatgen library but it’s too scattered.