Potency is a low-heritability polygenic trait, meaning you can throw your Mendelian theories out the window. The only way to know for sure, and then stabilize for the ratios you want is to grow large lots of many separate lines, say THC ♀️1, 2, 3 and 4 crossed to CBD ♂️A, B, C, etc.
You would then take the various female/male combinations (1234 x ABCD, respectively), grow them out and look for trends in large populations. Potency and cannabinoid ratios are affected by the environment and other outside conditions. Which is why retesting these populations would be necessary, as well.
A lot of work goes into locking down these types of genetic packages.
Then when we start talking about the way that cannabis “stacks” genes over generations and then things get more complicated. This is the phenomenon at work when a plant shows various phenotypic expressions based on growing conditions, certain gene pairs “turn on” when the right external conditions are met.
EDIT: It may even be necessary to do an F2 cross of each line to search for extreme outliers in the segregating generation before any meaningful progress is made with regard to increasing specific compounds and decreasing others. Transgressive Segregation can boost traits in the progeny beyond that of either of the parents.