They don’t release all the code.
The only thing they don't release is their data-filtering pipelines but they detail even that in their public-access papers.
DeepSeek is truly as open source as you can possibly legally get. Besides the data itself, it's completely reproducible by anyone else.
I don't think americans yet acknowledge just how radically transparent Chinese labs are being (and how much even the west benefits from it).