GitHub improved license data quality by prioritizing package registries (e.g., npmjs.org, PyPI) over ClearlyDefined, cutting missing licenses from 45% to 24% and using version ranges for better coverage.
From the source
Early results show that we’ve cut the number of missing licenses in half, from 45% of the 170 million packages in the dependency graph down to 24%.
github.blog