There are numbers behind the scenes that correspond to attack, defense, speed, and hp which when weighted create CP. The weights are favoring attack and hp.
I second Niagara. It’s just a great way to keep a simple home screen, but has plenty of power features if you want to dig deeper
I think I’ve got a bug, since nothing changes when I click it.