There's definitely a randomisation effect with research choices (and a define to specify how random it is), but we're not talking about research here

. Do we know this relates to national focus, idea choice or other weights (I'm dopey atm, can't think any other weights off my head, but think they're there) though? Even if it does, it's an engine-applied "one weight fits all" approach, instead of enabling scripters the potential to decide how random something is (which I think is fine for research, but less useful for NF and idea choices).
Edit: Using AIview (cheers for the tip, hadn't played around with that before), you get some pretty fractional weights in the tech tree (up to three decimal places), but with NFs, it's in whole integers, which may suggest the tech tree randomisation isn't applied to the NF tree at least.