Well, the cheating in Philadelphia decided it the last time.
Contrary to the article, Clinton got less votes in Allegheny County (Pittsburgh) in 2016 than Obama did.
Although she still got more than Trump, the difference with the rural votes was enough to carry the state for Trump.
That gave him PA’s electoral votes and the presidency.
In 2020, because of covid, observers of the vote count had to watch the count through monitors connected to cameras.
The problem was that absentee ballots which had to be folded to be inserted into the envelopes couldn’t be scanned. Those were taken into another area to be hand counted. There was no camera in that area.
That info came from a GOP observer of the count via a private conversation. Judicial Watch also had an observer present. Subsequently Judicial Watch sued Pennsylvania and several other states to clean up their voter roles. Pennsylvania removed over 200,000 names.