How do developers allocate time to public vs. private repos?

As a researcher currently learning about software development practices, I’m curious about the balance between public and private repository contributions among professional developers, particularly those at major tech companies that share part of their source code (think VSCode, TensorFLow, Swift, etc.). I am only interested in those programmers that do spend at least some of their work hours on public code.