1 |
On 04/08/10 21:16, Robin H. Johnson wrote: |
2 |
> On Wed, Apr 07, 2010 at 01:20:11PM +0200, Sebastian Pipping wrote: |
3 |
>> Current results |
4 |
>> =============== |
5 |
>> Bug load per developer |
6 |
>> ---------------------- |
7 |
>> http://dev.gentoo.org/~sping/bug-heartbeat/report--bug-count-by-person.html |
8 |
> What's the actual math that you're using (it wasn't clear in your repo). |
9 |
|
10 |
let me try in python: |
11 |
|
12 |
load[dev] = bugs[dev] \ |
13 |
+ reduce(sum, [bugs(h)/members(h) for h in herds[dev]]) |
14 |
|
15 |
it's personal bugs plus a fraction of all herds you're in. |
16 |
makes sense? |
17 |
|
18 |
|
19 |
>> - Pulling XML out of Bugzilla does no longer |
20 |
>> feel right with this amount of data: |
21 |
>> it's 15,000 open bugs that need to be |
22 |
>> refreshed periodically in chunks of 100 bugs |
23 |
>> (Bugzilla's limit) each. That's 150 request |
24 |
>> for a full sync. How can that be improved? |
25 |
> Lets talk more about what queries you're using, and we can probably work |
26 |
> something out. |
27 |
|
28 |
speaking of queries would limit me in what i may ask the data in the |
29 |
future. i have a full dump on open bugs more or less so i can ask them |
30 |
whatever i like. it's more flexible to me and makes much easier code |
31 |
than SQL stuff would. |
32 |
|
33 |
i guess that doesn't make it easier? |
34 |
|
35 |
|
36 |
|
37 |
sebastian |