{ version => '01', contest_name => 'Open Season Ten Meter PSK Contest', contest_id => 'OpenSeason', filter => { mode => \"IN ('PSK31', 'BPSK', 'BPSK31')", band => '10M', }, defaults => { log_cols => [qw/ call qso_date time_on srx calc1 /], placeholders => [qw/ ADDRESS Email EntryClass 10-10-Number 070-Number EPC-Number /], scoreboard_cols => [qw/ entryclass /], dropbox_options => { EntryClass => ['QRP', 'Low Power'], }, update => sub { my $row = shift; my %h; $h{calc1} = 1; $h{calc1}++ if $row->{srx} =~ /\b(10-10|10x)\b/; $h{calc1}++ if $row->{srx} =~ /\b(070)\b/; $h{calc1}++ if $row->{srx} =~ /\b(EPC)\b/; return \%h; }, Qs => [ { label => "Non-affiliated", weight => 1, group_by => 'call', where => { calc1 => 1 } }, { label => "1-club stations", weight => 2, group_by => 'call', where => { calc1 => 2 } }, { label => "2-club stations", weight => 3, group_by => 'call', where => { calc1 => 3 } }, { label => "3-club stations", weight => 4, group_by => 'call', where => { calc1 => 4 } }, ], mults => [], # none contest_url => 'http://www.ten-ten.org/oseason/oseason.html', contest_logo => 'http://www.ten-ten.org/oseason/images/tenx2.jpg', }, years => { 2010 => { sample => '', filter => { qso_date => { -between => [20100605, 20100606] }, }, }, }, }