This is the key problem. Since there is no theory of what dark matter is made of or how it is created and destroyed, you can always have as much or as little of it as you need to fit the data.
As for gravity, we don't have anything close to a working theory of quantum gravity. We can't even measure the classical gravitational constant to more than about 4 digits. The reproducibility by different experiments has not demonstrably improved since the 1940's! Clearly there is a lot more we have to learn about gravity.