It depends on what you’re measuring.
If you just want to see if a project is active then commits is useful.
If you want to see if there are multiple committers, then active people is useful.
I don’t think you should compare repos based on this metric, but knowing if a repo is active or not is something.
software that is complete also fails every vanity metric