Services like leetcode, Hackerrank, codechef, etc are all powered by compiler/code-judges.
There are some FOSS powered ones as well (judge0), but they were largely written for server/VM based architectures. With the advent of serverless tech like Cloud run and lambda, the opportunity opens up to host services that scale, and are significantly cost-effective.
We talk about how we built and open sourced compilerd, such a serverless code judge.