There are bodies in the bubble that are reported asin the journals.Code:wasDiscovered: false, wasMapped: true
I did some test a while ago (surely not as intensive as you) and concluded that they don't really fit any calcualtions, but come close to the same as.Code:wasDiscovered: true, wasMapped: false
Of course this was before we knew about that 30% bonus, so I can't say if this is still true, but if you say that bonus doesn't apply it shouldn't have changed.
Sadly I only checked terraformables (force of habit), so the overestimating that occured when I did
might have been caused by a wrongly applied terraformable bonus.Code:basevalue * firstdiscovery * 3.33333333 * effmapped
(overestimated by about 4.6% -Code:basevalue * firstdiscovery * 3.33333333 * effmapped
underestimated by about 3.6%)Code:basevalue * 8.0956 * effmapped
Did you check those flags?
So from the data I had, we only checked non-TF HMCs to rule out TF messing with figures. I calculated the expected value based on no first discovery and no first mapping, but an efficiently mapped body and was expecting to see a 30% uplift. Actually, the figures were out by a factor of 2.6 - which would be the bonus for first discovery. That sort-of makes sense, if we consider the journals report "wasDiscovered: false, wasMapped: true". I would still have expected to see the 30% uplift in the value - but perhaps whatever rule stops them being tagged also stops the uplift applying.
With that in mind, I think your first calculation was probably the right one - but you're hitting a body that doesn't get full TF bonus. Try it again on a non-TF body, and see how the calculation looks. If you have the TF bodies (type, mass and sale value ideally), I could check if they fall into expected bandings for terraformability.
I will note that our sample survey was small, and we had another that reported something completely different - it looks like it got that additional bonus where you scan something, sell data, then go back and map it, despite player not having scanned body. It was in Trappist-1, and journals were checked to make sure it hadn't been visited before - but perhaps it'd been visited pre-rename, or pre-journals? I'd had enough of thinking about bubble at that point and stopped thinking about it