[Bug 1214482] Re: Not-grouping dependent packages in Phased Updates changes propability distribution for entire group of dependent packages.
Marek Wrzosek
marek.wrzosek at gmail.com
Mon Sep 9 13:16:48 UTC 2013
The real probability distribution will be a sum of separate
distributions and will depend of fractions of user who installed i of n
packages. Below I pasted formula from LibO Math:
P(x)= sum from {i=1} to {n} a_i P_i(x) newline
0<= a_i <= 1 newline
a_i - "a fraction of users who installed" i "packages from a group of "n" dependent packages" newline
"to total amount of users who installed any number of packages from the same group" newline
P_i(x) - "Probability distribution for" i "dependent packages"
The real probability distribution will be hard to predict, so leaving
this "as is" is against the KISS paradigm.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1214482
Title:
Not-grouping dependent packages in Phased Updates changes propability
distribution for entire group of dependent packages.
Status in “update-manager” package in Ubuntu:
New
Bug description:
I assume that you decided for uniform distribution in the random
number generator. If group of dependent packages is installed only
when all phased-update-percentage values (for each package) are
smaller than the present percentage on server - it will change
probability distribution for the whole group of packages.
Just run this:
figure(1)
hist(rand(1,100000))
for i = 2:10
figure(i)
hist(max(rand(i,100000)))
endfor
in octave and look at histograms for i>1 (i is the number of dependent
packages).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1214482/+subscriptions
More information about the foundations-bugs
mailing list