Surely it should be "...that mediocrity in..." or even "...that mediocre government..." or even "...that being mediocre in...". All of those are better!
edit: this text is a mess. "It's time to upgrade, and fix the nation's digital potholes." That comma is nonsense.