Without more details about why homotopy type theory was mixed into that paragraph about causal inference, I call bullshit. I think this is bolstered by clicking on the link to the previous post about categorical data analysis, which offers nothing and even takes a pot shot at professional statistics (saying the field is “bad at specifying the domain and range of functions” which is a bizarre and incredibly inaccurate…
Statistics has become politicized through questionable interpretations of polling and crime data specifically with respect to various demographic markers. Increasing skepticism towards the field is a product of ideological division. No science is immune from its scientists and most humans are irrational creatures with emotive drivers.
It's very often an outsider misusing statistics, while professional statisticians who point out the mistakes are ignored.