*** menesis has quit IRC | 01:27 | |
*** yvl has joined #schooltool | 10:23 | |
*** ignas has joined #schooltool | 14:38 | |
*** menesis has joined #schooltool | 14:59 | |
th1a | hi yvl, menesis. | 15:31 |
---|---|---|
yvl | good morning th1a | 15:31 |
th1a | replaceafill is at PyCon... I guess it is 6:30 AM there. | 15:31 |
*** replaceafill has joined #schooltool | 15:32 | |
replaceafill | good morning/afternoon | 15:32 |
yvl | hey replaceafill :) | 15:32 |
replaceafill | (sorry i'm late, it's 6:30 am here :D) | 15:32 |
th1a | That's what I just said. ;-) | 15:32 |
th1a | How's PyCon, replaceafill? | 15:33 |
replaceafill | really cool | 15:33 |
replaceafill | learned a couple of things ;) | 15:33 |
replaceafill | and got a free raspberry pi! | 15:33 |
yvl | whoa | 15:33 |
yvl | congrats! :) | 15:33 |
replaceafill | :D | 15:33 |
th1a | That's like finding $35 on the sidewalk! | 15:34 |
replaceafill | :)) | 15:34 |
th1a | Speaking of which, replaceafill, I need your invoice. | 15:35 |
replaceafill | th1a, ah ok, will send it later today | 15:35 |
replaceafill | is somebody already doing his report? | 15:35 |
replaceafill | i have a couple of questions | 15:36 |
yvl | nobody started yet | 15:36 |
th1a | Go ahead replaceafill. | 15:36 |
replaceafill | ah ok | 15:36 |
replaceafill | thanks | 15:36 |
replaceafill | yvl, first question: | 15:37 |
th1a | You got here at 9:31. We aren't that fast. | 15:37 |
replaceafill | glenda requested the two completion reports to be empty at the beginning | 15:37 |
replaceafill | so i've used a fromPublication check in my table filter | 15:37 |
replaceafill | but yesterday i used the acc data, and noticed that the report was taking a while to load even then | 15:38 |
replaceafill | the reason is that i'm getting all the information needed from the section in the items() method of the table | 15:38 |
replaceafill | so the report always goes through every sections, gets data for it, and then filters | 15:39 |
replaceafill | i was thinking of putting the part to extract data from the section at the end of filtering | 15:39 |
replaceafill | (haven't tried yet) | 15:40 |
replaceafill | but i think that will really speed the report up | 15:40 |
replaceafill | can you recommend a better approach? | 15:40 |
yvl | hmm | 15:40 |
replaceafill | i'm not sure if there's an intermediate step between table's items and the filter's filter method | 15:41 |
yvl | you probably can override .items() in table itself | 15:41 |
yvl | basically there are two steps | 15:41 |
yvl | setting up | 15:41 |
yvl | and rendering | 15:41 |
yvl | filtering happens in the first part | 15:42 |
yvl | but right before that it obtains the items to filter | 15:42 |
yvl | if you look at schooltool/table/table.py | 15:42 |
yvl | you can see def items(): | 15:43 |
yvl | return self.source.values() | 15:43 |
replaceafill | when do you recommend extract information from the items to use in the table? | 15:43 |
replaceafill | because that part is what takes time | 15:43 |
yvl | umm | 15:43 |
replaceafill | http://bazaar.launchpad.net/~schooltool-owners/schooltool.virginia/trunk/view/head:/src/schooltool/virginia/browser/report.py#L1179 | 15:44 |
yvl | if I understand correctly, you want to skip the item extraction entirely when fromPublication | 15:44 |
replaceafill | correct | 15:44 |
replaceafill | when not fromPublication :) | 15:44 |
yvl | :) | 15:44 |
yvl | so... just add return[] and be done with it? | 15:45 |
replaceafill | ah, you mean in the table formatter!!!! | 15:45 |
yvl | yes | 15:45 |
replaceafill | not in the filter | 15:45 |
yvl | yes | 15:45 |
replaceafill | DUH MOMENT! | 15:45 |
yvl | :D | 15:45 |
replaceafill | the damn table is the manager of the filter | 15:45 |
* replaceafill slaps his face | 15:45 | |
yvl | yes :D | 15:45 |
replaceafill | ok, glad that's not that difficult ;) | 15:46 |
replaceafill | thanks | 15:46 |
replaceafill | second question | 15:46 |
yvl | glad to help :) | 15:46 |
replaceafill | i remember you added a view to render pdf from a form | 15:46 |
replaceafill | could you point me to that? | 15:46 |
replaceafill | is it in the gradebook? | 15:46 |
yvl | skin.flourish.report.PDFForm ? | 15:47 |
replaceafill | i think the view landed somewhere because i can see the machinery in flourish | 15:47 |
replaceafill | yes, but i mean, where it's used | 15:48 |
replaceafill | well, i think i can grep that now | 15:48 |
yvl | basicperson/browser/person.py:class ProfileGeneralPart(flourish.report.PDFForm) | 15:48 |
replaceafill | got it | 15:48 |
replaceafill | it's the profile pdf | 15:49 |
replaceafill | thanks, i was looking like crazy in the gradebook :D | 15:49 |
yvl | :) | 15:49 |
replaceafill | th1a, so i finished the scr for the section | 15:49 |
replaceafill | i just have the changes that glenda requested on friday left | 15:50 |
th1a | OK. | 15:50 |
replaceafill | adding a filter for course | 15:50 |
replaceafill | and did she answer your last email? | 15:50 |
replaceafill | specifically your total row question | 15:50 |
th1a | Let's leave it as is for now. | 15:51 |
replaceafill | "I'd rather only include that one if so, because the others are just a confusing distraction." | 15:51 |
replaceafill | ok, i'll turn the totals for % columns into averages then | 15:51 |
replaceafill | i should be done with these today | 15:52 |
replaceafill | and yesterday we started the quiz sprint | 15:52 |
replaceafill | david and paul are working on updating cando grades from the quiz data | 15:52 |
replaceafill | i think we made good progress for one afternoon | 15:53 |
replaceafill | that's it from me | 15:53 |
th1a | Glenda said: "The most important totals are the total number of students and the average percentage of those students hitting or exceeding the 80% attainment mark. Total # skills is irrelevant, but I'd leave the column in for now." | 15:54 |
th1a | Thanks replaceafill. | 15:54 |
replaceafill | ah ok | 15:55 |
replaceafill | (i don't think i received that one...) | 15:55 |
th1a | I just forwarded it. | 15:55 |
replaceafill | ah thanks | 15:55 |
th1a | Thanks replaceafill. | 15:57 |
th1a | yvl? | 15:57 |
yvl | one sec. | 15:57 |
yvl | ok | 15:58 |
yvl | I added a table of reports in person homepage | 15:58 |
yvl | then I tried quickly adding more reports | 15:59 |
yvl | so, it's not a home run :/ | 15:59 |
yvl | now I have better tracebacks, which is good for debugging and user bug reports | 15:59 |
yvl | running stuff remotely can cause cascade of fail instead of a single fail | 16:00 |
th1a | Yes, that's the scary part. | 16:00 |
th1a | Do you know what's going wrong? | 16:00 |
yvl | now, yes | 16:01 |
yvl | and I'm glad stuff broke | 16:01 |
yvl | if we had user reports in form of "failed to commit to DB" | 16:01 |
yvl | without explanation of what and where and why | 16:01 |
yvl | it would be... well, tough | 16:01 |
yvl | I also had to deal with security, which I though I could mostly avoid | 16:01 |
yvl | (security caused fails) | 16:02 |
yvl | and for last 1.5 days I'm at a stage where | 16:02 |
yvl | "well, I'll fix this one thing and everything will run now!" | 16:02 |
yvl | and then it uncovers another small issue | 16:02 |
th1a | Well, that's understandable. | 16:03 |
yvl | two minutes ago I ran the last experiment, and again a small thing - missing URL in "fake" request (because we're not using traversal) | 16:03 |
yvl | a line of code to fix :) | 16:03 |
yvl | probably will uncover something | 16:03 |
yvl | or just work | 16:03 |
yvl | I'm very annoyed by the fact I can't give an estimate at the moment :/ | 16:04 |
yvl | oh, and there were some small issues with file downloading, resolved now | 16:04 |
th1a | OK. Finding a bunch of small bugs now is not a problem. | 16:05 |
th1a | Finding an "Oh, shit, this is fundamentally broken" would be. | 16:05 |
yvl | true | 16:05 |
yvl | So - I'm digging. | 16:06 |
yvl | full speed :) | 16:06 |
yvl | oh | 16:07 |
yvl | and I did not look into journal bug :/ | 16:07 |
yvl | yet | 16:07 |
th1a | OK. | 16:07 |
th1a | Better to work on the reports for now. | 16:07 |
yvl | at the moment it looks like the recent bug somebody reported is manifestation of one in Jeffs instance | 16:08 |
th1a | We can always do bugfix releases. | 16:08 |
yvl | right | 16:08 |
yvl | well, I'll notify as soon as I have it working | 16:09 |
th1a | OK. Thanks yvl. | 16:10 |
th1a | menesis, replaceafill will let you know when we're ready for a CanDo update, hopefully later today. | 16:10 |
th1a | Of course it may be too late for you today, depending on your schedule. | 16:10 |
th1a | Can you poke menesis, yvl? | 16:13 |
yvl | umm | 16:14 |
yvl | he's working from home | 16:14 |
* yvl can poke by phone though! | 16:14 | |
th1a | OK. | 16:14 |
yvl | poked | 16:15 |
menesis | hello | 16:17 |
th1a | hi menesis. | 16:17 |
menesis | ok I will be ready to upload the update if it's not too late | 16:18 |
th1a | OK. Thanks. | 16:21 |
th1a | Anything else to add menesis? | 16:21 |
menesis | no, I got a cold again since friday :( not too bad but hard to work with a headache | 16:24 |
th1a | OK. No problem. | 16:24 |
menesis | I was running tests with various z3c.form versions | 16:25 |
replaceafill | i noticed the change to version.cfg and removed my pin down :) | 16:25 |
replaceafill | and cando works | 16:25 |
menesis | but a lot of later releases have one problem or another | 16:26 |
menesis | I pinpointed a change that caused test failure in virginia | 16:27 |
menesis | but stopped there, didn't investigate | 16:29 |
menesis | other than that, no good news | 16:31 |
menesis | but now that I'm out of bed, will work today | 16:32 |
th1a | OK. Glad you're feeling better. | 16:32 |
th1a | All right. Thanks guys. | 16:34 |
th1a | I'm almost done with the basic CanDo docs. | 16:34 |
th1a | Just need to do reports. | 16:34 |
th1a | And I might as well wait for those to be updated. | 16:34 |
th1a | I generated a million tiny bug reports for replaceafill in the process. | 16:34 |
replaceafill | i noticed :) | 16:35 |
th1a | OK. Thanks guys. | 16:36 |
th1a | Have a good week. See you Wednesday. | 16:36 |
th1a | Enjoy California, Douglas. | 16:36 |
th1a | Where are you exactly? | 16:36 |
replaceafill | haven't seen much, but will try :) | 16:37 |
replaceafill | santa clara | 16:37 |
replaceafill | we're in the not-so-fun part of town :( | 16:37 |
th1a | The real Real America? | 16:38 |
replaceafill | yes! | 16:38 |
replaceafill | it's a 2.2 mile walk from here to the convention center | 16:39 |
replaceafill | but hey, i just ran 5k on saturday ;) | 16:39 |
replaceafill | https://lap.io/event/2013-pycon-5k-charity-fun-run/results | 16:39 |
replaceafill | look at 137 :D | 16:39 |
replaceafill | i almost die trying ;) | 16:39 |
th1a | Did you beat jelkner? | 16:40 |
replaceafill | :D | 16:40 |
replaceafill | jelkner was working at that time :) | 16:40 |
th1a | Sure he was. | 16:42 |
replaceafill | ok i'll go get ready for leaving | 16:43 |
replaceafill | see you later guys | 16:43 |
yvl | have fun replaceafill! ;) | 16:43 |
replaceafill | :P | 16:43 |
*** replaceafill has quit IRC | 16:43 | |
yvl | a bit of good new, th1a | 16:44 |
yvl | just generated person profile report | 16:44 |
th1a | Excellent. | 16:45 |
yvl | section roster keeps generating empty pdfs though | 16:45 |
yvl | will look into that next | 16:45 |
th1a | OK. | 16:45 |
th1a | And yes, time invested in good error messages at this point is important. | 16:45 |
yvl | oh yes. | 16:46 |
yvl | ok, see you Wed | 16:46 |
yvl | with some good news I hope :) | 16:46 |
th1a | Thanks yvl. | 16:48 |
th1a | Oh... | 16:48 |
* th1a drops the bag of gravel. | 16:49 | |
th1a | ;-) | 16:49 |
yvl | ;) | 16:49 |
*** replaceafill has joined #schooltool | 18:22 | |
replaceafill | th1a, you around? | 19:36 |
*** replaceafill has quit IRC | 20:09 | |
*** replaceafill has joined #schooltool | 20:13 | |
th1a | replaceafill: hi. | 20:39 |
*** replaceafill has quit IRC | 21:26 | |
*** replaceafill has joined #schooltool | 22:23 | |
replaceafill | th1a, just shared a doc with you | 22:24 |
replaceafill | i found a bug in the progress report | 22:24 |
th1a | What is it? | 22:25 |
replaceafill | see the last line of the google spreadsheet | 22:25 |
replaceafill | well, actually, this worksheet is the *right* way :) | 22:25 |
th1a | Progress report totals? | 22:26 |
replaceafill | not the totals, the actual rows for the sections | 22:26 |
replaceafill | the last column | 22:26 |
replaceafill | Avg. % Required Skills Attained | 22:26 |
replaceafill | i want to share this with glenda and have the values double check | 22:27 |
replaceafill | that ok? | 22:27 |
th1a | So... is there a bug? | 22:27 |
replaceafill | before we get the "this number is wrong" :( | 22:27 |
replaceafill | yes | 22:27 |
replaceafill | and since we have no test for that report, i thought i should use *this* data and create one | 22:27 |
replaceafill | now that i know the right numbers to watch | 22:27 |
replaceafill | i don't have glenda's gmail address | 22:28 |
th1a | replaceafill, I have not idea what the problem is. | 22:28 |
replaceafill | th1a, np, i'll just fix it | 22:28 |
th1a | Uh... | 22:28 |
replaceafill | do you have glenda's gmail address? | 22:28 |
replaceafill | i don't know if someone can access the formulas if i just send her the link | 22:29 |
th1a | You really don't want to explain the problem to me? | 22:29 |
replaceafill | ah sure | 22:32 |
replaceafill | we basically copied the VA reports from the old cando, right? | 22:33 |
th1a | OK. | 22:33 |
replaceafill | when calculating the averages, that logic is using skills attained / skills evaluated | 22:34 |
replaceafill | when it should use (imho) skillls attained / total skills for the section | 22:34 |
replaceafill | at some point i remember glenda saying: "i wish i understand these numbers better" | 22:34 |
replaceafill | (or something like that) | 22:34 |
replaceafill | so i just set this spreadsheet to confirm the values are correct | 22:35 |
replaceafill | i haven't finished my test but i'm sure when i run it with this data, that last column won't be 54.16% | 22:36 |
replaceafill | as it should be | 22:36 |
th1a | This is an average we didn't have in the report before? | 22:36 |
replaceafill | we did | 22:37 |
replaceafill | it's just wrong | 22:37 |
th1a | Welsh didn't think it was wrong? | 22:37 |
replaceafill | no | 22:38 |
replaceafill | i think he never really did the math on it | 22:38 |
th1a | Oh... | 22:38 |
th1a | Can you show me the actual report? | 22:38 |
replaceafill | sure | 22:38 |
replaceafill | is a screenshot ok? | 22:38 |
th1a | Yes. | 22:38 |
replaceafill | our wireless sucks right now | 22:38 |
replaceafill | ok, hold on | 22:39 |
* replaceafill is connecting his external hd again | 22:42 | |
*** replaceafill_ has joined #schooltool | 22:50 | |
*** replaceafill_ has joined #schooltool | 22:50 | |
*** replaceafill_ has joined #schooltool | 22:50 | |
*** replaceafill has quit IRC | 22:53 | |
*** replaceafill_ has quit IRC | 22:56 | |
*** replaceafill has joined #schooltool | 23:02 | |
th1a | Ah, conference wifi. | 23:02 |
replaceafill | >:( | 23:02 |
replaceafill | i'm even trying webchat! | 23:02 |
replaceafill | whatever gets my typing first | 23:02 |
replaceafill | ok | 23:02 |
replaceafill | http://imagebin.org/250782 | 23:02 |
replaceafill | that's acc data | 23:03 |
th1a | Is this the new version? | 23:03 |
replaceafill | yes | 23:03 |
th1a | This is the SIMPLER version? | 23:03 |
replaceafill | yes | 23:03 |
replaceafill | but this is the progress report | 23:03 |
replaceafill | the completion one is simpler | 23:03 |
replaceafill | (va has two "completion" reports...) | 23:03 |
th1a | OK, so what's the question? | 23:04 |
th1a | This report is bullshit. | 23:04 |
replaceafill | :D | 23:05 |
replaceafill | see? that's why i wanted to send it directly to glenda | 23:05 |
replaceafill | because i knew you would hate it :( | 23:05 |
th1a | Well, you're going to have to write this down anyhow. | 23:05 |
replaceafill | i just want somebody to double check my spreadsheet values are ok | 23:06 |
th1a | It's just taking a long time to get to telling me what the problem is. | 23:06 |
replaceafill | because i think my spreadsheet is correct | 23:07 |
replaceafill | and the report is not | 23:07 |
th1a | WHAT ARE WE TALKING ABOUT? WHAT IS THE PROBLEM? | 23:07 |
replaceafill | i know i'm never clear enough | 23:07 |
th1a | You're usually more clear. ;-) | 23:08 |
th1a | Let's put it this way... if we were sitting next to each other, you'd be pointing at something. What? | 23:08 |
replaceafill | the division in the report! | 23:10 |
replaceafill | the last column | 23:10 |
th1a | Average percentage of required skills attained? | 23:10 |
th1a | Ah. Dave wanted it that way. | 23:11 |
th1a | See, that was easy. | 23:11 |
th1a | Living online! | 23:12 |
replaceafill | my point is: | 23:12 |
replaceafill | how can you tell this is wrong from this single line, you need skills and grades, right? | 23:12 |
replaceafill | that's why i created the spreadsheet | 23:12 |
th1a | Is this the question: | 23:13 |
th1a | > when calculating the averages, that logic is using skills attained / skills evaluated | 23:13 |
th1a | when it should use (imho) skillls attained / total skills for the section | 23:13 |
th1a | If so, Welsh wanted the first way. | 23:13 |
th1a | hello, replaceafill? | 23:16 |
*** replaceafill has quit IRC | 23:16 | |
*** replaceafill has joined #schooltool | 23:47 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!