Not exactly sure how its contributing to the error but I noticed that in the one you sent, the embedded gists are single files:
whereas in the one I sent there are multiple files in a single gist:
Haven't checked other articles for this same occurrence but that seems to have something to do with it.
Gists embedded in Medium articles cause the following error:
The resource from “https://gist.github.com/deepakshrma/78b8a14940b17ffaff159d3188754597?file=06-val.py.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).