Excel quiz bowl scoresheets

Anything that's on topic but doesn't fit elsewhere, including related events that might be of interest to quizbowl players (KMO, Science Bowl, etc).

Re: Excel quiz bowl scoresheets

Postby Matt Weiner » Tue Nov 16, 2010 4:57 pm

What would be the difficulty of adding an "SQBSify" button to a sheet that spits out its results in the text-based encoding that SQBS .dat files use, into, say, a centralized Google Doc that you can then save as such a file to have your stats done by robot?
Matt Weiner
VCU / ACF / PACE / HSAPQ / Owner & founder of hsquizbowl.org
User avatar
Matt Weiner
Forums Staff: Administrator
 
Posts: 8068
Joined: Fri Apr 11, 2003 8:34 pm
Location: Richmond, VA

Re: Excel quiz bowl scoresheets

Postby lchen » Tue Nov 16, 2010 7:59 pm

Matt Weiner wrote:What would be the difficulty of adding an "SQBSify" button to a sheet that spits out its results in the text-based encoding that SQBS .dat files use, into, say, a centralized Google Doc that you can then save as such a file to have your stats done by robot?

Probably quite high, since I can't actually program worth a damn. I also don't really understand the SQBS .dat format. Is there documentation available somewhere?
Lily Chen
Hunter '12, MIT '16
lchen
mason high on your treacherous scaffolding
 
Posts: 180
Joined: Wed Apr 02, 2008 8:11 pm
Location: Hunter, NYC

Re: Excel quiz bowl scoresheets

Postby cvdwightw » Tue Nov 16, 2010 8:45 pm

Matt Weiner wrote:What would be the difficulty of adding an "SQBSify" button to a sheet that spits out its results in the text-based encoding that SQBS .dat files use, into, say, a centralized Google Doc that you can then save as such a file to have your stats done by robot?
For the moment, I'm ignoring all the stuff at the front and back of the SQBS file, some of which I've figured out and some of which I haven't.

For each game, SQBS records the results as follows:

[Game ID]
[number of team on left - SQBS tracks teams by number; for instance 0 is the first team entered in the Team Entry box]
[number of team on right]
[score of team on left]
[score of team on right]
[tossups heard - this is set to zero if SQBS does not keep track of it]
[round number]
[number of bonuses heard by team on left]
[number of bonus points scored by team on left]
[number of bonuses heard by team on right]
[number of bonus points scored by team on right]
[up to nine? lines of zeros; this appears to have something to do with bonus conversion tracking settings but I haven't figured it out yet. For automatic bonus tracking without bouncebacks, it's six lines of zeros. For no bonuses (tossups-only), there are no lines of zeros.]
{[number to indicate Player on Team Left, e.g., 0 to indicate Player #1, 1 to indicate Player #2, etc.; -1 is used to indicate the absence of a player in that position - I believe these numbers refer to the order in which the players are listed on the roster, but I'm not 100% sure]
[games played (<= 1) by corresponding player on Team Left]
[powers scored by corresponding player on Team Left]
[tossups scored by corresponding player on Team Left]
[negs scored by corresponding player on Team Left]
[custom point value tossups scored by corresponding player on Team Left]
[total points scored by corresponding player on Team Left]
[number to indicate Player on Team Right]
[games played (<= 1) by corresponding player on Team Right]
[powers scored by corresponding player on Team Right]
[tossups scored by corresponding player on Team Right]
[negs scored by corresponding player on Team Right]
[custom point value tossups scored by corresponding player on Team Right]
[total points scored by corresponding player on Team Right]}
Repeat the lines in braces six times (once for each player slot; even if a team only has one player), then go to the next game.

Basically, the difficulty here is that the macro needs to know the number of each team (and the number of each player on that team) and the game ID number to properly execute stats by robot, notwithstanding those bonus-related zeros that I haven't parsed yet. Because of this, I'm hesitant to declare the plausibility of an "SQBSify" button for a single scoresheet without it being able to read something else from an external file.
Dwight Wynne
socalquizbowl.org
UC Irvine 2008-2013; UCLA 2004-2007; Capistrano Valley High School 2000-2003

"It's a competition, but it's not a sport. On a scale, if football is a 10, then rowing would be a two. One would be Quiz Bowl." --Matt Birk on rowing, SI On Campus, 10/21/03

"If you were my teammate, I would have tossed your ass out the door so fast you'd be emitting Cerenkov radiation, but I'm not classy like Dwight." --Jerry
User avatar
cvdwightw
groom of totemic guanacos
 
Posts: 3403
Joined: Tue May 13, 2003 12:46 am
Location: Southern CA

Re: Excel quiz bowl scoresheets

Postby Avram » Wed Nov 17, 2010 2:14 am

cvdwightw wrote:For the moment, I'm ignoring all the stuff at the front and back of the SQBS file, some of which I've figured out and some of which I haven't.
[..snip..]
Basically, the difficulty here is that the macro needs to know the number of each team (and the number of each player on that team) and the game ID number to properly execute stats by robot, notwithstanding those bonus-related zeros that I haven't parsed yet. Because of this, I'm hesitant to declare the plausibility of an "SQBSify" button for a single scoresheet without it being able to read something else from an external file.

I agree with Dwight that this wouldn't be easy to do. One possibility, I suppose, is creating the teams and players in SQBS, then having the Excel spreadsheet import the SQBS file, so that it has the team and player ID numbers to work with. That would then let the spreadsheet provide drop-downs for team and player names, and eventually export SQBS-like data (as I have stated elsewhere, the game records from SQBS can be concatenated to create a tournament file with little extra processing). The spreadsheet loaded with the SQBS data could then be distributed to rooms. I'm afraid, however, that doing all that file reading and writing from VB will make the spreadsheet almost a full-fledged stat system unto itself.

For reference, you can consult the appropriate code in QBSQL: http://code.google.com/p/qbsql/source/b ... ns.php#569 . The code there does create SQBS-formatted data files that SQBS is able to read without any known errors (but note that QBSQL does not do bounce-backs, so my code doesn't handle that part of the data file). It also ignores the end of the file since it doesn't seem to be needed.
Avram Lyon
Kazan Federal University '11
UCLA '14 (or so)
Grinnell '06
Avram
potter wasted among his clays
 
Posts: 90
Joined: Thu Oct 09, 2008 5:45 pm

Re: Excel quiz bowl scoresheets

Postby dtaylor4 » Mon Dec 13, 2010 1:19 am

Is there a way you can add a slot for TUH? As someone who uses it in an area where many teams are cheap and stupid, this helps when there are subs.
Donald Taylor
Springfield, IL (no affiliation)
Illinois '09 BS Accountancy/'10 Master of Accounting Science
Freelance writer, staffer, stats guru, TD

Where is Christchurch? That's in Queensland
Where is Palmerston North? That's in New South Wales
User avatar
dtaylor4
groom of totemic guanacos
 
Posts: 3637
Joined: Tue Nov 16, 2004 11:43 am
Location: Springfield, IL

Re: Excel quiz bowl scoresheets

Postby lchen » Mon Dec 13, 2010 7:29 pm

dtaylor4 wrote:Is there a way you can add a slot for TUH? As someone who uses it in an area where many teams are cheap and stupid, this helps when there are subs.

Sure, try this. Hopefully it works correctly.
Lily Chen
Hunter '12, MIT '16
lchen
mason high on your treacherous scaffolding
 
Posts: 180
Joined: Wed Apr 02, 2008 8:11 pm
Location: Hunter, NYC

Re: Excel quiz bowl scoresheets

Postby jonpin » Tue Dec 14, 2010 3:36 pm

All current versions of my scoresheets, which henceforth can be found here, have a row for entry of tossups played.

I'll be editing the PACE one over break to incorporate three-cycle overtime.
Jon Pinyan
Coach, Bergen County Academies (NJ); former player for BCA (2000-03) and WUSTL (2003-07)
HSQB forum mod, PACE member
Stat director for: NHBB '13, '14; NSC '13, '14; ACF '14; NASAT '11
User avatar
jonpin
Forums Staff: Moderator
 
Posts: 1415
Joined: Wed Feb 04, 2004 6:45 pm
Location: BCA NJ / WUSTL MO / Hackensack NJ

Re: Excel quiz bowl scoresheets

Postby Corry » Tue Jul 03, 2012 7:40 pm

Dang, I was actually planning on making something like this for our team practices a few weeks ago. But I guess I was 4 years late.

Anyways, these are awesome.
Corry Wang
Arcadia High School 2013
Amherst College 2017
NAQT Writer
User avatar
Corry
mason high on your treacherous scaffolding
 
Posts: 166
Joined: Fri Feb 10, 2012 11:54 pm

Previous

Return to Miscellaneous High School Quizbowl

Who is online

Users browsing this forum: No registered users and 1 guest