https://docs.sympy.org/ is down …seems like a lame move for a programming-oriented company. The takedown message is here – https://github.com/github/dmca/blob/master/2022/04/2022-04-1... And the offending page is archived here, I wonder what part they wanted removed – https://web.archive.org/web/20220114132753/https://docs.symp...
What I suspect happened is that the HackerRank test legitimately (fair use) included parts of the docs (the exercise could’ve been about the library those docs are for), DMCA enforcement has been outsourced to the lowest bidder and these idiots just did a blanket search for some phrases from the test, found the official docs and DMCA’d it.
The only real solution here seems to be to find a way to hold HackerRank to account for this (in the most costly way possible), so they face an incentive to do meaningful due diligence and evaluate before partnering with someone that acts as their agent.
Ultimately it wasn't them that did this, but unless they bear a significant cost from doing so, which causes them to pursue their DMCA agent for negligence or breach of contract (or whatever other remedy is available to them), I don't see this type of thing changing.
Once a DMCA agent becomes a liability, the market will be forced to mature, and buyers will need to do due diligence to minimise their likelihood of being opened up to a large and costly battle as a result of the negligence of their agent.