Cosmos code testbed helps develop new techniques for computational astrophysics. CosmosDG utilizes discontinuous Gelarkin methods, which improved accuracy over previous versions by several orders of magnitude.