The best way to ensure that science is bipartisan, that is if you mean politically neutral, is to rely on markets.
If you mean being supported by either side of the political aisle, then you're not necessarily asking for the best solution no matter the side who are lobbied by special interests including scientists wanting funds or jobs. There just may be a separate and different solution that is not from either side or group think.
Most science needs to remain free from the state. That is the best chance of advancement technologically.
Bill Belichick learned to film signals of opponents from the former Chiefs, and Charger's coach Schottenheimer. Others like Edwards, Johnson and Cowher did too. They learned from the CHEATS and CHEATERS who still couldn't win.