Valve still is a corporation, decently good at open source, but still a corporation that develops and distributes a lot of closed source software. Like the github ceo once wrote: open source the engine not the car, that’s what drives open source development for them. When many use their software and contribute patches and more importantly report bugs, everyone wins.