From be77b7bd5ee638e9977022982f6c072c3d21e0ed Mon Sep 17 00:00:00 2001 From: Mohammad S Anwar Date: Thu, 14 Nov 2019 18:25:14 +0000 Subject: - Added solutions by Kevin Colyer. --- challenge-034/kevin-colyer/perl6/ch-1.p6 | 342 ++++++++++++++++++ challenge-034/kevin-colyer/perl6/ch-2.p6 | 342 ++++++++++++++++++ stats/pwc-current.json | 113 +++--- stats/pwc-language-breakdown-summary.json | 70 ++-- stats/pwc-language-breakdown.json | 280 +++++++-------- stats/pwc-leaders.json | 570 +++++++++++++++--------------- stats/pwc-summary-1-30.json | 40 +-- stats/pwc-summary-121-150.json | 38 +- stats/pwc-summary-31-60.json | 44 +-- stats/pwc-summary-61-90.json | 34 +- stats/pwc-summary-91-120.json | 42 +-- stats/pwc-summary.json | 34 +- 12 files changed, 1324 insertions(+), 625 deletions(-) create mode 100644 challenge-034/kevin-colyer/perl6/ch-1.p6 create mode 100644 challenge-034/kevin-colyer/perl6/ch-2.p6 diff --git a/challenge-034/kevin-colyer/perl6/ch-1.p6 b/challenge-034/kevin-colyer/perl6/ch-1.p6 new file mode 100644 index 0000000000..0435064f48 --- /dev/null +++ b/challenge-034/kevin-colyer/perl6/ch-1.p6 @@ -0,0 +1,342 @@ +#!/usr/bin/perl6 +use v6; + +use Test; + +=begin pod + +Task 34.1 + +Write a program that demonstrates using hash slices and/or array slices. + +Task 34.2 + +Write a program that demonstrates a dispatch table. + + SEE SUB DRINK FOR BOTH TASKS COMPLETED IN ONE LINE! + +=end pod + +# globals +constant OFF_STAGE="OFF_STAGE"; +constant CARRIED="CARRIED"; +constant WORN="WORN"; + +## from Terminal::Width +my $width=80; +constant WIDTH = try { + run('tput', 'cols', :out).out.slurp-rest.trim.Int +} // $width; + +my %directions = + n => "north", + s => "south", + e => "east", + w => "west", +; + +my %flags = + _debug => False, + _author => "Kevin Colyer", _if_title => "The Dispatch Table Adventure", _version => "1.0", + + score => 0, max_score => 2, moves => 0, + confused => False, + location => "start", +; + +my %rooms = +# "roomname" => { name => "shortname", desc => "descrption", +# to => { n => "roomname" }, +# }, + "start" => { name => "The Beginning", desc => "You are standing on an gigantic letter X painted on the tarmac floor of a walled courtyard.", + to => { n => "lab", e => "eastwall", w=> "westwall" }, + }, + "eastwall" => { name => "East wall", desc => "You are standing under the eastern wall. It towers above you.", + to => { w => "start" }, + }, + "westwall" => { name => "West wall", desc => "You are standing next to the western wall. It is way to high to climb.", + to => { e => "start" }, + }, + "lab" => { name => "Laboratory", desc => "You are what feels like a chemist's laboratory, but much more exciting and mysterious. Various tubes, glasses and flasks are connected in complicated manners.", + to => { s => "start" }, + }, +; + +my %objects = + lamp => { name => "a lamp", noun => "lamp", desc => "an antique brass lamp", in => "lab" }, + pebble => { name => "a pebble",noun => "pebble", desc => "an uninteresting pebble", in => "start" }, + keys => { name => "some keys", noun => "keys", desc => "car keys", in => CARRIED }, + fizzyflask => { name=> "a fizzy flask", noun => "flask", adj => "fizzy", desc => "a flask of fizzy purple liquid", in => "lab", drinkable => True}, + bubblyflask => { name=> "a bubbly flask", noun => "flask", adj => "bubbly", desc => "a flask of bubbly green liquid", in => "lab", drinkable => True}, +; + +############################################## +# DISPATCH TABLE +my %dispatch = + debug => &_debug, + test => &_test, + + save => &_savegame, + + help => &help, + h => &help, + north => &north, + n => &north, + south => &south, + s => &south, + east => &east, + e => &east, + west => &west, + w => &west, + quit => &quit, + q => &quit, + examine => &examine, + x => &examine, + look => &look, + l => &look, + score => &score, + inventory => &inventory, + i => &inventory, + get => &get, + take => &get, + drop => &drop, + drink => &drink, +; + +############################################## +# start and welcome +say "Welcome to {%flags<_if_title>} by {%flags<_author>} version {%flags<_version>}\nType 'help' if stuck and 'quit' to end.\n"; + +say word_wrap look("","",""); + +############################################## +# main loop of program +loop { + my $cmd = prompt "Tell me what to do: "; + $cmd=$cmd.trim.lc; + next if $cmd.chars==0; + + $cmd ~~ / ^^ (\w+) \s* (\w*) \s* (.*) $$ /; + my ($v,$a,$n) = ~$0,~$1,~$2; + + # switch adjective to a noun if there is no noun + if $a.chars && $n.chars==0 { $n=$a; $a="" } + + say "verb:[$v] adj:[$a] noun:[$n]" if %flags<_debug>; + + # error check + if %dispatch{$v}:!exists { say "I don't know how to '$v'"; next }; + + # dispatch to handler + say word_wrap( %dispatch{$v}($v,$a,$n) ); + + if %flags eq "start" and %flags == %flags { + say word_wrap( "\nIncredibly you have made it to the end of the game scoring a whopping {%flags} points!\nThanks for playing!\n\n" ); + exit; + } +} + +############################################## +# subs to dispatch from +sub north($v,$a,$n) { + say "You stagger and sway your way around..." if %flags==True; + return "You can't go that way." if %rooms{%flags}:!exists; + %flags=%rooms{%flags}; + look($v,$a,$n); +}; + +sub south($v,$a,$n) { + say "You stagger and sway your way around..." if %flags==True; + return "You can't go that way." if %rooms{%flags}:!exists; + %flags=%rooms{%flags}; + look($v,$a,$n); +}; + +sub east($v,$a,$n) { + say "You stagger and sway your way around..." if %flags==True; + return "You can't go that way." if %rooms{%flags}:!exists; + %flags=%rooms{%flags}; + look($v,$a,$n); +}; + +sub west($v,$a,$n) { + say "You stagger and sway your way around..." if %flags==True; + return "You can't go that way." if %rooms{%flags}:!exists; + %flags=%rooms{%flags}; + look($v,$a,$n); +}; + +sub help($v,$a,$n) { "You can say north,south,east,west,quit,help,examine. \nSometimes just the first letter will suffice." }; + +sub quit($v,$a,$n) { say "bye!"; exit }; + +sub examine($v,$a,$n) { + return "I don't understand what you want to do." if $n eq ""; # need this for more than this command... (rule book?) + my @list=flat list_of_things_here(CARRIED), list_of_things_here(%flags); + @list=@list.grep({%objects{$_} eq $n}); + if @list.elems==0 { return "I can't see $a $n." } + my ($ok,$thing)=disambiguate(@list,$a); + return $thing if $ok == False; + return %objects{$thing}; +}; + +sub get($v,$a,$n) { + my @list=list_of_things_here(%flags); + @list=@list.grep({%objects{$_} eq $n}); + if @list.elems==0 { return "I can't see $a $n." } + if @list.elems==1 { + return _get(@list[0]); + } + # hard case - need to disambiguate! + # try adjective if offered + if $a.chars>0 { + my @refined=@list.grep({%objects{$_} eq $a}); + if @refined==1 { return _get(@list[0]) } + } + # otherwise + my $s=(%objects{$_} ~ " " ~ %objects{$_} for @list).join(" or the "); + return "Which? The $s?"; +}; +sub _get($item) { + %objects{$item}=CARRIED; + return "You take the {%objects{$item}}."; +} + +sub drop($v,$a,$n) { + my @list=list_of_things_here(CARRIED); + @list=@list.grep({%objects{$_} eq $n}); + if @list.elems==0 { return "I'm not holding $a $n." } + my ($ok,$thing)=disambiguate(@list,$a); + return $thing if $ok == False; + %objects{$thing}=%flags; + "Dropped."; +}; + +sub drink($v,$a,$n) { + # check you can see something to drink + my @list=flat list_of_things_here(CARRIED), list_of_things_here(%flags); + @list=@list.grep({%objects{$_}:exists && %objects{$_}==True }); + + if @list.elems==0 { return "There is nothing to drink from here." }; + my ($ok,$thing)=disambiguate(@list,$a); + return $thing if $ok == False; + + if $thing eq "bubblyflask" and %flags==True { return "The room spins even more!" }; + if $thing eq "fizzyflask" and %flags==False { return "It tastes unpleasantly of lemon and coffee." }; + ####################################### + # NOTE dispatch tables AND hash slices! + if $thing eq "bubblyflask" { + %dispatch{"n","north", "e","east","s","south","w","west"} = (&east, &east, &south, &south, &west, &west, &north, &north); + %flags=True; + + return increase_score(1) ~ "The bubbly liquid tastes of melon and treacle and it goes straight to your head in seconds. You feel dizzy and confused, yet pleasantly happy."; + } + if $thing eq "fizzyflask" { + %dispatch{"n","north", "e","east","s","south","w","west"} = (&north, &north, &east, &east, &south, &south, &west, &west); + %flags=False; + return increase_score(1) ~ "The vile taste of the fizzy liquid sobers you right up. The room swims back into focus."; + } +}; + +sub inventory($v,$a,$n) { + my $i=location_contains(CARRIED); + return "\nYou are carrying nothing." if $i.chars==0; + return "\nYou are carrying $i"; +}; + +sub look($v,$a,$n) { + my $t="\n" ~ %rooms{%flags} ~"\n"~ %rooms{%flags}; + #you can see + my $i=location_contains(%flags); + $t~=" You can see $i" if $i.chars>0; + # exits lead + $i=exits_from(%flags); + $t~=" Exits lead $i" if $i.chars>0; + + return $t; +}; + +sub score($v,$a,$n) { "You have scored {%flags} out of a possible {%flags} points." }; + +sub _debug($v,$a,$n) { %flags<_debug>= $n~~ "on" ?? True !! False; "debug on: " ~ %flags<_debug> }; + +sub _test($v,$a,$n) { "testing here!" }; + +sub _savegame($v,$a,$n) {my $f= "save.game"; $f.IO.spurt: { flags => %flags, objects => %objects, rooms => %rooms }.perl; "Saved to file [$f]" }; + +############################################## +# Helper text functions +# join with and +sub join_with_and(@things) { + return "" if @things.elems==0; + return @things[0] if @things.elems==1; + return @things[0]~ " and " ~ @things[1] if @things.elems==2; + return @things[0..*-2].join(", ") ~ " and " ~ @things[*-1]; +} + +# word wrap +# NOTE this removes ALL double spacing!!! +sub word_wrap($t) { + my $s=""; + for $t.lines -> $line { + my @words=$line.words; + my $j=""; + while @words { + my $k=@words.shift; + if $j.chars + $k.chars>WIDTH-2 { + # force a wrap + $s ~= $j ~ "\n"; + $j = $k; + } else { + $j ~= " " if $j !eq ""; + $j ~= $k; + } + } + $s ~= $j~"\n"; + } + return $s +} + +# list of things here +sub list_of_things_here($place) { + my @list_of_things; + for %objects.keys -> $thing { + @list_of_things.push($thing) if %objects{$thing} eq $place; + }; + #say @list_of_things.perl; + return @list_of_things; +} + +# disambiguate (if possible) +sub disambiguate(@things,$adj) { + return True,@things[0] if @things.elems==1; + # try adjective if offered + if $adj.chars>0 { + my @refined=@things.grep({%objects{$_} eq $adj}); + return True,@refined[0] if @refined.elems==1; + } + # otherwise + my $s=(%objects{$_} ~ " " ~ %objects{$_} for @things).join(" or the "); + return False,"Which? The $s?"; +}; + +sub increase_score($points) { + %flags+=$points; + "Your score has gone up by $points! You have {%flags} point(s).\n"; +}; + +# describe contents of something +sub location_contains($place) { + my @list_of_things= %objects{list_of_things_here($place)}»; # HASH SLICE! + return "" unless @list_of_things.elems>0; + return join_with_and(@list_of_things) ~ "."; +} + +# describe directions from somewhere +sub exits_from($place){ + ############################################## + # HASH SLICE! + my @exits = %directions{%rooms{$place}.keys}; # hash slice to array for directions from location + return "" unless @exits.elems>0; + return join_with_and(@exits) ~ "."; +}; diff --git a/challenge-034/kevin-colyer/perl6/ch-2.p6 b/challenge-034/kevin-colyer/perl6/ch-2.p6 new file mode 100644 index 0000000000..0435064f48 --- /dev/null +++ b/challenge-034/kevin-colyer/perl6/ch-2.p6 @@ -0,0 +1,342 @@ +#!/usr/bin/perl6 +use v6; + +use Test; + +=begin pod + +Task 34.1 + +Write a program that demonstrates using hash slices and/or array slices. + +Task 34.2 + +Write a program that demonstrates a dispatch table. + + SEE SUB DRINK FOR BOTH TASKS COMPLETED IN ONE LINE! + +=end pod + +# globals +constant OFF_STAGE="OFF_STAGE"; +constant CARRIED="CARRIED"; +constant WORN="WORN"; + +## from Terminal::Width +my $width=80; +constant WIDTH = try { + run('tput', 'cols', :out).out.slurp-rest.trim.Int +} // $width; + +my %directions = + n => "north", + s => "south", + e => "east", + w => "west", +; + +my %flags = + _debug => False, + _author => "Kevin Colyer", _if_title => "The Dispatch Table Adventure", _version => "1.0", + + score => 0, max_score => 2, moves => 0, + confused => False, + location => "start", +; + +my %rooms = +# "roomname" => { name => "shortname", desc => "descrption", +# to => { n => "roomname" }, +# }, + "start" => { name => "The Beginning", desc => "You are standing on an gigantic letter X painted on the tarmac floor of a walled courtyard.", + to => { n => "lab", e => "eastwall", w=> "westwall" }, + }, + "eastwall" => { name => "East wall", desc => "You are standing under the eastern wall. It towers above you.", + to => { w => "start" }, + }, + "westwall" => { name => "West wall", desc => "You are standing next to the western wall. It is way to high to climb.", + to => { e => "start" }, + }, + "lab" => { name => "Laboratory", desc => "You are what feels like a chemist's laboratory, but much more exciting and mysterious. Various tubes, glasses and flasks are connected in complicated manners.", + to => { s => "start" }, + }, +; + +my %objects = + lamp => { name => "a lamp", noun => "lamp", desc => "an antique brass lamp", in => "lab" }, + pebble => { name => "a pebble",noun => "pebble", desc => "an uninteresting pebble", in => "start" }, + keys => { name => "some keys", noun => "keys", desc => "car keys", in => CARRIED }, + fizzyflask => { name=> "a fizzy flask", noun => "flask", adj => "fizzy", desc => "a flask of fizzy purple liquid", in => "lab", drinkable => True}, + bubblyflask => { name=> "a bubbly flask", noun => "flask", adj => "bubbly", desc => "a flask of bubbly green liquid", in => "lab", drinkable => True}, +; + +############################################## +# DISPATCH TABLE +my %dispatch = + debug => &_debug, + test => &_test, + + save => &_savegame, + + help => &help, + h => &help, + north => &north, + n => &north, + south => &south, + s => &south, + east => &east, + e => &east, + west => &west, + w => &west, + quit => &quit, + q => &quit, + examine => &examine, + x => &examine, + look => &look, + l => &look, + score => &score, + inventory => &inventory, + i => &inventory, + get => &get, + take => &get, + drop => &drop, + drink => &drink, +; + +############################################## +# start and welcome +say "Welcome to {%flags<_if_title>} by {%flags<_author>} version {%flags<_version>}\nType 'help' if stuck and 'quit' to end.\n"; + +say word_wrap look("","",""); + +############################################## +# main loop of program +loop { + my $cmd = prompt "Tell me what to do: "; + $cmd=$cmd.trim.lc; + next if $cmd.chars==0; + + $cmd ~~ / ^^ (\w+) \s* (\w*) \s* (.*) $$ /; + my ($v,$a,$n) = ~$0,~$1,~$2; + + # switch adjective to a noun if there is no noun + if $a.chars && $n.chars==0 { $n=$a; $a="" } + + say "verb:[$v] adj:[$a] noun:[$n]" if %flags<_debug>; + + # error check + if %dispatch{$v}:!exists { say "I don't know how to '$v'"; next }; + + # dispatch to handler + say word_wrap( %dispatch{$v}($v,$a,$n) ); + + if %flags eq "start" and %flags == %flags { + say word_wrap( "\nIncredibly you have made it to the end of the game scoring a whopping {%flags} points!\nThanks for playing!\n\n" ); + exit; + } +} + +############################################## +# subs to dispatch from +sub north($v,$a,$n) { + say "You stagger and sway your way around..." if %flags==True; + return "You can't go that way." if %rooms{%flags}:!exists; + %flags=%rooms{%flags}; + look($v,$a,$n); +}; + +sub south($v,$a,$n) { + say "You stagger and sway your way around..." if %flags==True; + return "You can't go that way." if %rooms{%flags}:!exists; + %flags=%rooms{%flags}; + look($v,$a,$n); +}; + +sub east($v,$a,$n) { + say "You stagger and sway your way around..." if %flags==True; + return "You can't go that way." if %rooms{%flags}:!exists; + %flags=%rooms{%flags}; + look($v,$a,$n); +}; + +sub west($v,$a,$n) { + say "You stagger and sway your way around..." if %flags==True; + return "You can't go that way." if %rooms{%flags}:!exists; + %flags=%rooms{%flags}; + look($v,$a,$n); +}; + +sub help($v,$a,$n) { "You can say north,south,east,west,quit,help,examine. \nSometimes just the first letter will suffice." }; + +sub quit($v,$a,$n) { say "bye!"; exit }; + +sub examine($v,$a,$n) { + return "I don't understand what you want to do." if $n eq ""; # need this for more than this command... (rule book?) + my @list=flat list_of_things_here(CARRIED), list_of_things_here(%flags); + @list=@list.grep({%objects{$_} eq $n}); + if @list.elems==0 { return "I can't see $a $n." } + my ($ok,$thing)=disambiguate(@list,$a); + return $thing if $ok == False; + return %objects{$thing}; +}; + +sub get($v,$a,$n) { + my @list=list_of_things_here(%flags); + @list=@list.grep({%objects{$_} eq $n}); + if @list.elems==0 { return "I can't see $a $n." } + if @list.elems==1 { + return _get(@list[0]); + } + # hard case - need to disambiguate! + # try adjective if offered + if $a.chars>0 { + my @refined=@list.grep({%objects{$_} eq $a}); + if @refined==1 { return _get(@list[0]) } + } + # otherwise + my $s=(%objects{$_} ~ " " ~ %objects{$_} for @list).join(" or the "); + return "Which? The $s?"; +}; +sub _get($item) { + %objects{$item}=CARRIED; + return "You take the {%objects{$item}}."; +} + +sub drop($v,$a,$n) { + my @list=list_of_things_here(CARRIED); + @list=@list.grep({%objects{$_} eq $n}); + if @list.elems==0 { return "I'm not holding $a $n." } + my ($ok,$thing)=disambiguate(@list,$a); + return $thing if $ok == False; + %objects{$thing}=%flags; + "Dropped."; +}; + +sub drink($v,$a,$n) { + # check you can see something to drink + my @list=flat list_of_things_here(CARRIED), list_of_things_here(%flags); + @list=@list.grep({%objects{$_}:exists && %objects{$_}==True }); + + if @list.elems==0 { return "There is nothing to drink from here." }; + my ($ok,$thing)=disambiguate(@list,$a); + return $thing if $ok == False; + + if $thing eq "bubblyflask" and %flags==True { return "The room spins even more!" }; + if $thing eq "fizzyflask" and %flags==False { return "It tastes unpleasantly of lemon and coffee." }; + ####################################### + # NOTE dispatch tables AND hash slices! + if $thing eq "bubblyflask" { + %dispatch{"n","north", "e","east","s","south","w","west"} = (&east, &east, &south, &south, &west, &west, &north, &north); + %flags=True; + + return increase_score(1) ~ "The bubbly liquid tastes of melon and treacle and it goes straight to your head in seconds. You feel dizzy and confused, yet pleasantly happy."; + } + if $thing eq "fizzyflask" { + %dispatch{"n","north", "e","east","s","south","w","west"} = (&north, &north, &east, &east, &south, &south, &west, &west); + %flags=False; + return increase_score(1) ~ "The vile taste of the fizzy liquid sobers you right up. The room swims back into focus."; + } +}; + +sub inventory($v,$a,$n) { + my $i=location_contains(CARRIED); + return "\nYou are carrying nothing." if $i.chars==0; + return "\nYou are carrying $i"; +}; + +sub look($v,$a,$n) { + my $t="\n" ~ %rooms{%flags} ~"\n"~ %rooms{%flags}; + #you can see + my $i=location_contains(%flags); + $t~=" You can see $i" if $i.chars>0; + # exits lead + $i=exits_from(%flags); + $t~=" Exits lead $i" if $i.chars>0; + + return $t; +}; + +sub score($v,$a,$n) { "You have scored {%flags} out of a possible {%flags} points." }; + +sub _debug($v,$a,$n) { %flags<_debug>= $n~~ "on" ?? True !! False; "debug on: " ~ %flags<_debug> }; + +sub _test($v,$a,$n) { "testing here!" }; + +sub _savegame($v,$a,$n) {my $f= "save.game"; $f.IO.spurt: { flags => %flags, objects => %objects, rooms => %rooms }.perl; "Saved to file [$f]" }; + +############################################## +# Helper text functions +# join with and +sub join_with_and(@things) { + return "" if @things.elems==0; + return @things[0] if @things.elems==1; + return @things[0]~ " and " ~ @things[1] if @things.elems==2; + return @things[0..*-2].join(", ") ~ " and " ~ @things[*-1]; +} + +# word wrap +# NOTE this removes ALL double spacing!!! +sub word_wrap($t) { + my $s=""; + for $t.lines -> $line { + my @words=$line.words; + my $j=""; + while @words { + my $k=@words.shift; + if $j.chars + $k.chars>WIDTH-2 { + # force a wrap + $s ~= $j ~ "\n"; + $j = $k; + } else { + $j ~= " " if $j !eq ""; + $j ~= $k; + } + } + $s ~= $j~"\n"; + } + return $s +} + +# list of things here +sub list_of_things_here($place) { + my @list_of_things; + for %objects.keys -> $thing { + @list_of_things.push($thing) if %objects{$thing} eq $place; + }; + #say @list_of_things.perl; + return @list_of_things; +} + +# disambiguate (if possible) +sub disambiguate(@things,$adj) { + return True,@things[0] if @things.elems==1; + # try adjective if offered + if $adj.chars>0 { + my @refined=@things.grep({%objects{$_} eq $adj}); + return True,@refined[0] if @refined.elems==1; + } + # otherwise + my $s=(%objects{$_} ~ " " ~ %objects{$_} for @things).join(" or the "); + return False,"Which? The $s?"; +}; + +sub increase_score($points) { + %flags+=$points; + "Your score has gone up by $points! You have {%flags} point(s).\n"; +}; + +# describe contents of something +sub location_contains($place) { + my @list_of_things= %objects{list_of_things_here($place)}»; # HASH SLICE! + return "" unless @list_of_things.elems>0; + return join_with_and(@list_of_things) ~ "."; +} + +# describe directions from somewhere +sub exits_from($place){ + ############################################## + # HASH SLICE! + my @exits = %directions{%rooms{$place}.keys}; # hash slice to array for directions from location + return "" unless @exits.elems>0; + return join_with_and(@exits) ~ "."; +}; diff --git a/stats/pwc-current.json b/stats/pwc-current.json index fa3baf586b..765ef9019b 100644 --- a/stats/pwc-current.json +++ b/stats/pwc-current.json @@ -1,12 +1,23 @@ { + "legend" : { + "enabled" : 0 + }, "chart" : { "type" : "column" }, - "legend" : { - "enabled" : 0 + "plotOptions" : { + "series" : { + "borderWidth" : 0, + "dataLabels" : { + "format" : "{point.y}", + "enabled" : 1 + } + } }, "series" : [ { + "name" : "Perl Weekly Challenge - 034", + "colorByPoint" : 1, "data" : [ { "drilldown" : "Arne Sommer", @@ -14,76 +25,66 @@ "name" : "Arne Sommer" }, { + "drilldown" : "Duane Powell", "name" : "Duane Powell", - "y" : 2, - "drilldown" : "Duane Powell" + "y" : 2 }, { "drilldown" : "Javier Luque", "y" : 5, "name" : "Javier Luque" }, + { + "name" : "Kevin Colyer", + "y" : 2, + "drilldown" : "Kevin Colyer" + }, { "drilldown" : "Laurent Rosenfeld", - "y" : 5, - "name" : "Laurent Rosenfeld" + "name" : "Laurent Rosenfeld", + "y" : 5 }, { - "y" : 1, "drilldown" : "Mark Anderson", + "y" : 1, "name" : "Mark Anderson" }, { - "y" : 2, "drilldown" : "Roger Bell West", + "y" : 2, "name" : "Roger Bell West" }, { "name" : "Simon Proctor", - "drilldown" : "Simon Proctor", - "y" : 2 + "y" : 2, + "drilldown" : "Simon Proctor" }, { "drilldown" : "Steven Wilson", - "y" : 3, - "name" : "Steven Wilson" + "name" : "Steven Wilson", + "y" : 3 }, { + "y" : 2, "name" : "Ulrich Rieke", - "drilldown" : "Ulrich Rieke", - "y" : 2 + "drilldown" : "Ulrich Rieke" } - ], - "name" : "Perl Weekly Challenge - 034", - "colorByPoint" : 1 + ] } ], - "title" : { - "text" : "Perl Weekly Challenge - 034" - }, "subtitle" : { - "text" : "[Champions: 9] Last updated at 2019-11-14 14:58:53 GMT" + "text" : "[Champions: 10] Last updated at 2019-11-14 18:24:51 GMT" }, - "yAxis" : { - "title" : { - "text" : "Total Solutions" - } + "title" : { + "text" : "Perl Weekly Challenge - 034" }, "xAxis" : { "type" : "category" }, - "plotOptions" : { - "series" : { - "borderWidth" : 0, - "dataLabels" : { - "format" : "{point.y}", - "enabled" : 1 - } - } - }, "drilldown" : { "series" : [ { + "name" : "Arne Sommer", "id" : "Arne Sommer", "data" : [ [ @@ -94,21 +95,19 @@ "Blog", 1 ] - ], - "name" : "Arne Sommer" + ] }, { + "name" : "Duane Powell", + "id" : "Duane Powell", "data" : [ [ "Perl 5", 2 ] - ], - "id" : "Duane Powell", - "name" : "Duane Powell" + ] }, { - "name" : "Javier Luque", "data" : [ [ "Perl 5", @@ -123,9 +122,21 @@ 1 ] ], - "id" : "Javier Luque" + "id" : "Javier Luque", + "name" : "Javier Luque" + }, + { + "name" : "Kevin Colyer", + "data" : [ + [ + "Perl 6", + 2 + ] + ], + "id" : "Kevin Colyer" }, { + "name" : "Laurent Rosenfeld", "id" : "Laurent Rosenfeld", "data" : [ [ @@ -140,8 +151,7 @@ "Blog", 1 ] - ], - "name" : "Laurent Rosenfeld" + ] }, { "name" : "Mark Anderson", @@ -168,14 +178,14 @@ "name" : "Roger Bell West" }, { - "name" : "Simon Proctor", + "id" : "Simon Proctor", "data" : [ [ "Perl 6", 2 ] ], - "id" : "Simon Proctor" + "name" : "Simon Proctor" }, { "data" : [ @@ -193,19 +203,24 @@ }, { "name" : "Ulrich Rieke", + "id" : "Ulrich Rieke", "data" : [ [ "Perl 6", 2 ] - ], - "id" : "Ulrich Rieke" + ] } ] }, "tooltip" : { "followPointer" : 1, - "headerFormat" : "{series.name}
", - "pointFormat" : "{point.name}: {point.y:f}
" + "pointFormat" : "{point.name}: {point.y:f}
", + "headerFormat" : "{series.name}
" + }, + "yAxis" : { + "title" : { + "text" : "Total Solutions" + } } } diff --git a/stats/pwc-language-breakdown-summary.json b/stats/pwc-language-breakdown-summary.json index d2d3eee58a..dc22875e87 100644 --- a/stats/pwc-language-breakdown-summary.json +++ b/stats/pwc-language-breakdown-summary.json @@ -1,6 +1,36 @@ { + "yAxis" : { + "title" : { + "text" : null + }, + "min" : 0 + }, + "xAxis" : { + "labels" : { + "style" : { + "fontSize" : "13px", + "fontFamily" : "Verdana, sans-serif" + } + }, + "type" : "category" + }, + "tooltip" : { + "pointFormat" : "{point.y:.0f}" + }, "series" : [ { + "dataLabels" : { + "color" : "#FFFFFF", + "align" : "right", + "y" : 10, + "style" : { + "fontFamily" : "Verdana, sans-serif", + "fontSize" : "13px" + }, + "enabled" : "true", + "rotation" : -90, + "format" : "{point.y:.0f}" + }, "data" : [ [ "Blog", @@ -12,52 +42,22 @@ ], [ "Perl 6", - 851 + 853 ] ], - "dataLabels" : { - "format" : "{point.y:.0f}", - "align" : "right", - "color" : "#FFFFFF", - "style" : { - "fontFamily" : "Verdana, sans-serif", - "fontSize" : "13px" - }, - "enabled" : "true", - "rotation" : -90, - "y" : 10 - }, "name" : "Contributions" } ], "title" : { "text" : "Perl Weekly Challenge Contributions - 2019" }, - "legend" : { - "enabled" : "false" - }, - "yAxis" : { - "title" : { - "text" : null - }, - "min" : 0 - }, - "subtitle" : { - "text" : "Last updated at 2019-11-14 14:59:05 GMT" - }, "chart" : { "type" : "column" }, - "xAxis" : { - "labels" : { - "style" : { - "fontFamily" : "Verdana, sans-serif", - "fontSize" : "13px" - } - }, - "type" : "category" + "subtitle" : { + "text" : "Last updated at 2019-11-14 18:25:00 GMT" }, - "tooltip" : { - "pointFormat" : "{point.y:.0f}" + "legend" : { + "enabled" : "false" } } diff --git a/stats/pwc-language-breakdown.json b/stats/pwc-language-breakdown.json index ae0561bebf..f76d4c6125 100644 --- a/stats/pwc-language-breakdown.json +++ b/stats/pwc-language-breakdown.json @@ -1,12 +1,19 @@ { + "plotOptions" : { + "series" : { + "dataLabels" : { + "format" : "{point.y}", + "enabled" : 1 + }, + "borderWidth" : 0 + } + }, + "subtitle" : { + "text" : "Click the columns to drilldown the language breakdown. Last updated at 2019-11-14 18:25:01 GMT" + }, "legend" : { "enabled" : "false" }, - "yAxis" : { - "title" : { - "text" : "Total Solutions" - } - }, "drilldown" : { "series" : [ { @@ -28,8 +35,6 @@ "name" : "001" }, { - "name" : "002", - "id" : "002", "data" : [ [ "Perl 5", @@ -43,10 +48,12 @@ "Blog", 9 ] - ] + ], + "name" : "002", + "id" : "002" }, { - "name" : "003", + "id" : "003", "data" : [ [ "Perl 5", @@ -61,10 +68,9 @@ 9 ] ], - "id" : "003" + "name" : "003" }, { - "id" : "004", "data" : [ [ "Perl 5", @@ -79,10 +85,10 @@ 10 ] ], - "name" : "004" + "name" : "004", + "id" : "004" }, { - "id" : "005", "data" : [ [ "Perl 5", @@ -97,10 +103,11 @@ 11 ] ], - "name" : "005" + "name" : "005", + "id" : "005" }, { - "id" : "006", + "name" : "006", "data" : [ [ "Perl 5", @@ -115,11 +122,9 @@ 7 ] ], - "name" : "006" + "id" : "006" }, { - "name" : "007", - "id" : "007", "data" : [ [ "Perl 5", @@ -133,10 +138,12 @@ "Blog", 10 ] - ] + ], + "id" : "007", + "name" : "007" }, { - "name" : "008", + "id" : "008", "data" : [ [ "Perl 5", @@ -151,10 +158,9 @@ 12 ] ], - "id" : "008" + "name" : "008" }, { - "name" : "009", "data" : [ [ "Perl 5", @@ -169,7 +175,8 @@ 13 ] ], - "id" : "009" + "id" : "009", + "name" : "009" }, { "id" : "010", @@ -190,7 +197,7 @@ "name" : "010" }, { - "id" : "011", + "name" : "011", "data" : [ [ "Perl 5", @@ -205,11 +212,9 @@ 9 ] ], - "name" : "011" + "id" : "011" }, { - "name" : "012", - "id" : "012", "data" : [ [ "Perl 5", @@ -223,7 +228,9 @@ "Blog", 11 ] - ] + ], + "id" : "012", + "name" : "012" }, { "data" : [ @@ -240,8 +247,8 @@ 13 ] ], - "id" : "013", - "name" : "013" + "name" : "013", + "id" : "013" }, { "data" : [ @@ -262,7 +269,7 @@ "name" : "014" }, { - "id" : "015", + "name" : "015", "data" : [ [ "Perl 5", @@ -277,10 +284,10 @@ 15 ] ], - "name" : "015" + "id" : "015" }, { - "name" : "016", + "id" : "016", "data" : [ [ "Perl 5", @@ -295,10 +302,9 @@ 12 ] ], - "id" : "016" + "name" : "016" }, { - "name" : "017", "data" : [ [ "Perl 5", @@ -313,11 +319,10 @@ 12 ] ], - "id" : "017" + "id" : "017", + "name" : "017" }, { - "name" : "018", - "id" : "018", "data" : [ [ "Perl 5", @@ -331,10 +336,11 @@ "Blog", 14 ] - ] + ], + "name" : "018", + "id" : "018" }, { - "name" : "019", "data" : [ [ "Perl 5", @@ -349,10 +355,10 @@ 13 ] ], - "id" : "019" + "id" : "019", + "name" : "019" }, { - "name" : "020", "id" : "020", "data" : [ [ @@ -367,10 +373,10 @@ "Blog", 13 ] - ] + ], + "name" : "020" }, { - "name" : "021", "id" : "021", "data" : [ [ @@ -385,7 +391,8 @@ "Blog", 10 ] - ] + ], + "name" : "021" }, { "data" : [ @@ -406,7 +413,6 @@ "name" : "022" }, { - "name" : "023", "id" : "023", "data" : [ [ @@ -421,10 +427,10 @@ "Blog", 12 ] - ] + ], + "name" : "023" }, { - "id" : "024", "data" : [ [ "Perl 5", @@ -439,9 +445,11 @@ 11 ] ], + "id" : "024", "name" : "024" }, { + "name" : "025", "data" : [ [ "Perl 5", @@ -456,8 +464,7 @@ 12 ] ], - "id" : "025", - "name" : "025" + "id" : "025" }, { "id" : "026", @@ -496,7 +503,6 @@ "id" : "027" }, { - "name" : "028", "data" : [ [ "Perl 5", @@ -511,11 +517,10 @@ 9 ] ], + "name" : "028", "id" : "028" }, { - "name" : "029", - "id" : "029", "data" : [ [ "Perl 5", @@ -529,10 +534,11 @@ "Blog", 12 ] - ] + ], + "id" : "029", + "name" : "029" }, { - "id" : "030", "data" : [ [ "Perl 5", @@ -547,10 +553,10 @@ 10 ] ], + "id" : "030", "name" : "030" }, { - "id" : "031", "data" : [ [ "Perl 5", @@ -565,9 +571,11 @@ 9 ] ], + "id" : "031", "name" : "031" }, { + "name" : "032", "data" : [ [ "Perl 5", @@ -582,11 +590,9 @@ 10 ] ], - "id" : "032", - "name" : "032" + "id" : "032" }, { - "id" : "033", "data" : [ [ "Perl 5", @@ -601,6 +607,7 @@ 8 ] ], + "id" : "033", "name" : "033" }, { @@ -612,7 +619,7 @@ ], [ "Perl 6", - 12 + 14 ], [ "Blog", @@ -623,113 +630,121 @@ } ] }, - "subtitle" : { - "text" : "Click the columns to drilldown the language breakdown. Last updated at 2019-11-14 14:59:05 GMT" + "yAxis" : { + "title" : { + "text" : "Total Solutions" + } + }, + "xAxis" : { + "type" : "category" + }, + "tooltip" : { + "headerFormat" : "", + "followPointer" : "true", + "pointFormat" : "Challenge {point.name}: {point.y:f}
" }, "series" : [ { - "name" : "Perl Weekly Challenge Languages", - "colorByPoint" : "true", "data" : [ { - "name" : "#001", "drilldown" : "001", - "y" : 132 + "y" : 132, + "name" : "#001" }, { - "drilldown" : "002", + "y" : 104, "name" : "#002", - "y" : 104 + "drilldown" : "002" }, { "y" : 67, - "drilldown" : "003", - "name" : "#003" + "name" : "#003", + "drilldown" : "003" }, { + "name" : "#004", "y" : 87, - "drilldown" : "004", - "name" : "#004" + "drilldown" : "004" }, { - "y" : 66, "drilldown" : "005", + "y" : 66, "name" : "#005" }, { + "name" : "#006", "y" : 48, - "drilldown" : "006", - "name" : "#006" + "drilldown" : "006" }, { - "y" : 56, + "drilldown" : "007", "name" : "#007", - "drilldown" : "007" + "y" : 56 }, { - "name" : "#008", "drilldown" : "008", - "y" : 70 + "y" : 70, + "name" : "#008" }, { + "drilldown" : "009", "y" : 68, - "name" : "#009", - "drilldown" : "009" + "name" : "#009" }, { - "name" : "#010", "drilldown" : "010", - "y" : 60 + "y" : 60, + "name" : "#010" }, { - "name" : "#011", "drilldown" : "011", + "name" : "#011", "y" : 78 }, { + "y" : 83, "name" : "#012", - "drilldown" : "012", - "y" : 83 + "drilldown" : "012" }, { - "name" : "#013", "drilldown" : "013", + "name" : "#013", "y" : 76 }, { + "y" : 96, "name" : "#014", - "drilldown" : "014", - "y" : 96 + "drilldown" : "014" }, { "y" : 93, - "drilldown" : "015", - "name" : "#015" + "name" : "#015", + "drilldown" : "015" }, { - "y" : 66, "drilldown" : "016", + "y" : 66, "name" : "#016" }, { - "y" : 79, + "drilldown" : "017", "name" : "#017", - "drilldown" : "017" + "y" : 79 }, { - "y" : 76, "drilldown" : "018", - "name" : "#018" + "name" : "#018", + "y" : 76 }, { - "y" : 95, "drilldown" : "019", + "y" : 95, "name" : "#019" }, { - "drilldown" : "020", "name" : "#020", - "y" : 95 + "y" : 95, + "drilldown" : "020" }, { "drilldown" : "021", @@ -737,94 +752,79 @@ "y" : 67 }, { + "name" : "#022", "y" : 63, - "drilldown" : "022", - "name" : "#022" + "drilldown" : "022" }, { - "y" : 91, "drilldown" : "023", + "y" : 91, "name" : "#023" }, { - "y" : 70, "drilldown" : "024", + "y" : 70, "name" : "#024" }, { - "drilldown" : "025", "name" : "#025", - "y" : 55 + "y" : 55, + "drilldown" : "025" }, { "y" : 70, - "drilldown" : "026", - "name" : "#026" + "name" : "#026", + "drilldown" : "026" }, { - "name" : "#027", "drilldown" : "027", - "y" : 58 + "y" : 58, + "name" : "#027" }, { - "y" : 78, "drilldown" : "028", - "name" : "#028" + "name" : "#028", + "y" : 78 }, { "drilldown" : "029", - "name" : "#029", - "y" : 77 + "y" : 77, + "name" : "#029" }, { - "y" : 115, + "drilldown" : "030", "name" : "#030", - "drilldown" : "030" + "y" : 115 }, { "drilldown" : "031", - "name" : "#031", - "y" : 87 + "y" : 87, + "name" : "#031" }, { "name" : "#032", - "drilldown" : "032", - "y" : 92 + "y" : 92, + "drilldown" : "032" }, { - "name" : "#033", "drilldown" : "033", + "name" : "#033", "y" : 106 }, { - "drilldown" : "034", + "y" : 27, "name" : "#034", - "y" : 25 + "drilldown" : "034" } - ] + ], + "name" : "Perl Weekly Challenge Languages", + "colorByPoint" : "true" } ], - "plotOptions" : { - "series" : { - "dataLabels" : { - "enabled" : 1, - "format" : "{point.y}" - }, - "borderWidth" : 0 - } - }, "title" : { "text" : "Perl Weekly Challenge Language" }, - "tooltip" : { - "pointFormat" : "Challenge {point.name}: {point.y:f}
", - "followPointer" : "true", - "headerFormat" : "" - }, "chart" : { "type" : "column" - }, - "xAxis" : { - "type" : "category" } } diff --git a/stats/pwc-leaders.json b/stats/pwc-leaders.json index c36ebdc7ae..94cf7d930c 100644 --- a/stats/pwc-leaders.json +++ b/stats/pwc-leaders.json @@ -1,34 +1,28 @@ { - "chart" : { - "type" : "column" - }, - "plotOptions" : { - "series" : { - "borderWidth" : 0, - "dataLabels" : { - "enabled" : 1, - "format" : "{point.y}" - } + "yAxis" : { + "title" : { + "text" : "Total Score" } }, "series" : [ { "colorByPoint" : "true", + "name" : "Perl Weekly Challenge Leaders", "data" : [ { - "y" : 426, "drilldown" : "Laurent Rosenfeld", + "y" : 426, "name" : "#1: Laurent Rosenfeld" }, { + "drilldown" : "Joelle Maslak", "name" : "#2: Joelle Maslak", - "y" : 330, - "drilldown" : "Joelle Maslak" + "y" : 330 }, { - "drilldown" : "Jaldhar H. Vyas", + "name" : "#3: Jaldhar H. Vyas", "y" : 302, - "name" : "#3: Jaldhar H. Vyas" + "drilldown" : "Jaldhar H. Vyas" }, { "drilldown" : "Ruben Westerberg", @@ -36,69 +30,69 @@ "name" : "#4: Ruben Westerberg" }, { - "y" : 224, "drilldown" : "Adam Russell", + "y" : 224, "name" : "#5: Adam Russell" }, { - "drilldown" : "Arne Sommer", "y" : 210, - "name" : "#6: Arne Sommer" + "name" : "#6: Arne Sommer", + "drilldown" : "Arne Sommer" }, { - "drilldown" : "Athanasius", + "name" : "#7: Athanasius", "y" : 208, - "name" : "#7: Athanasius" + "drilldown" : "Athanasius" }, { - "name" : "#8: E. Choroba", + "drilldown" : "E. Choroba", "y" : 172, - "drilldown" : "E. Choroba" + "name" : "#8: E. Choroba" }, { "name" : "#9: Kian-Meng Ang", - "drilldown" : "Kian-Meng Ang", - "y" : 148 + "y" : 148, + "drilldown" : "Kian-Meng Ang" }, { "drilldown" : "Roger Bell West", - "y" : 146, - "name" : "#10: Roger Bell West" + "name" : "#10: Roger Bell West", + "y" : 146 }, { - "name" : "#11: Simon Proctor", "drilldown" : "Simon Proctor", - "y" : 134 + "y" : 134, + "name" : "#11: Simon Proctor" }, { "name" : "#12: Andrezgz", - "drilldown" : "Andrezgz", - "y" : 128 + "y" : 128, + "drilldown" : "Andrezgz" }, { - "drilldown" : "Duncan C. White", + "name" : "#13: Duncan C. White", "y" : 122, - "name" : "#13: Duncan C. White" + "drilldown" : "Duncan C. White" }, { - "y" : 120, "drilldown" : "Dave Jacoby", - "name" : "#14: Dave Jacoby" + "name" : "#14: Dave Jacoby", + "y" : 120 }, { - "drilldown" : "Yet Ebreo", + "name" : "#15: Yet Ebreo", "y" : 114, - "name" : "#15: Yet Ebreo" + "drilldown" : "Yet Ebreo" }, { - "y" : 106, "drilldown" : "Steven Wilson", - "name" : "#16: Steven Wilson" + "name" : "#16: Steven Wilson", + "y" : 106 }, { + "name" : "#17: Francis Whittle", "y" : 96, - "drilldown" : "Francis Whittle", - "name" : "#17: Francis Whittle" + "drilldown" : "Francis Whittle" }, { "name" : "#18: Feng Chang", @@ -106,54 +100,54 @@ "drilldown" : "Feng Chang" }, { - "name" : "#19: Daniel Mantovani", - "y" : 82, - "drilldown" : "Daniel Mantovani" + "name" : "#19: Kevin Colyer", + "y" : 86, + "drilldown" : "Kevin Colyer" }, { + "name" : "#20: Daniel Mantovani", "y" : 82, - "drilldown" : "Duane Powell", - "name" : "#20: Duane Powell" + "drilldown" : "Daniel Mantovani" }, { - "drilldown" : "Kevin Colyer", "y" : 82, - "name" : "#21: Kevin Colyer" + "name" : "#21: Duane Powell", + "drilldown" : "Duane Powell" }, { - "name" : "#22: Mark Senn", "drilldown" : "Mark Senn", - "y" : 76 + "y" : 76, + "name" : "#22: Mark Senn" }, { + "drilldown" : "Gustavo Chaves", "name" : "#23: Gustavo Chaves", - "y" : 72, - "drilldown" : "Gustavo Chaves" + "y" : 72 }, { - "name" : "#24: Yozen Hernandez", "drilldown" : "Yozen Hernandez", - "y" : 70 + "y" : 70, + "name" : "#24: Yozen Hernandez" }, { "y" : 68, - "drilldown" : "Lubos Kolouch", - "name" : "#25: Lubos Kolouch" + "name" : "#25: Lubos Kolouch", + "drilldown" : "Lubos Kolouch" }, { - "y" : 68, "drilldown" : "Noud", + "y" : 68, "name" : "#26: Noud" }, { "y" : 64, - "drilldown" : "Guillermo Ramos", - "name" : "#27: Guillermo Ramos" + "name" : "#27: Guillermo Ramos", + "drilldown" : "Guillermo Ramos" }, { - "name" : "#28: Jo Christian Oterhals", "drilldown" : "Jo Christian Oterhals", - "y" : 56 + "y" : 56, + "name" : "#28: Jo Christian Oterhals" }, { "name" : "#29: Ozzy", @@ -161,19 +155,19 @@ "drilldown" : "Ozzy" }, { - "name" : "#30: Dr James A. Smith", "y" : 52, + "name" : "#30: Dr James A. Smith", "drilldown" : "Dr James A. Smith" }, { "name" : "#31: Randy Lauen", - "drilldown" : "Randy Lauen", - "y" : 52 + "y" : 52, + "drilldown" : "Randy Lauen" }, { - "y" : 44, "drilldown" : "Colin Crain", - "name" : "#32: Colin Crain" + "name" : "#32: Colin Crain", + "y" : 44 }, { "drilldown" : "Veesh Goldman", @@ -182,112 +176,127 @@ }, { "name" : "#34: Dave Cross", - "drilldown" : "Dave Cross", - "y" : 42 + "y" : 42, + "drilldown" : "Dave Cross" }, { "y" : 40, - "drilldown" : "Javier Luque", - "name" : "#35: Javier Luque" + "name" : "#35: Javier Luque", + "drilldown" : "Javier Luque" }, { + "name" : "#36: Lars Balker", "y" : 38, - "drilldown" : "Lars Balker", - "name" : "#36: Lars Balker" + "drilldown" : "Lars Balker" }, { "name" : "#37: Markus Holzer", - "drilldown" : "Markus Holzer", - "y" : 36 + "y" : 36, + "drilldown" : "Markus Holzer" }, { - "name" : "#38: Nick Logan", + "drilldown" : "Nick Logan", "y" : 32, - "drilldown" : "Nick Logan" + "name" : "#38: Nick Logan" }, { - "name" : "#39: Ulrich Rieke", "y" : 32, + "name" : "#39: Ulrich Rieke", "drilldown" : "Ulrich Rieke" }, { "name" : "#40: Burkhard Nickels", - "drilldown" : "Burkhard Nickels", - "y" : 30 + "y" : 30, + "drilldown" : "Burkhard Nickels" }, { - "drilldown" : "Daniel Mita", + "name" : "#41: Daniel Mita", "y" : 24, - "name" : "#41: Daniel Mita" + "drilldown" : "Daniel Mita" }, { - "name" : "#42: Jaime Corchado", "drilldown" : "Jaime Corchado", - "y" : 24 + "y" : 24, + "name" : "#42: Jaime Corchado" }, { + "drilldown" : "Kivanc Yazan", "name" : "#43: Kivanc Yazan", - "y" : 24, - "drilldown" : "Kivanc Yazan" + "y" : 24 }, { + "name" : "#44: Lars Thegler", "y" : 24, - "drilldown" : "Lars Thegler", - "name" : "#44: Lars Thegler" + "drilldown" : "Lars Thegler" }, { + "drilldown" : "Maxim Nechaev", "name" : "#45: Maxim Nechaev", - "y" : 24, - "drilldown" : "Maxim Nechaev" + "y" : 24 }, { "y" : 24, - "drilldown" : "Pete Houston", - "name" : "#46: Pete Houston" + "name" : "#46: Pete Houston", + "drilldown" : "Pete Houston" }, { - "name" : "#47: Alicia Bielsa", "drilldown" : "Alicia Bielsa", + "name" : "#47: Alicia Bielsa", "y" : 22 }, { - "name" : "#48: Mark Anderson", "y" : 22, + "name" : "#48: Mark Anderson", "drilldown" : "Mark Anderson" }, { "name" : "#49: Prajith P", - "drilldown" : "Prajith P", - "y" : 22 + "y" : 22, + "drilldown" : "Prajith P" }, { "drilldown" : "Doug Schrag", "y" : 20, "name" : "#50: Doug Schrag" } - ], - "name" : "Perl Weekly Challenge Leaders" + ] } ], - "tooltip" : { - "followPointer" : "true", - "pointFormat" : "{point.name}: {point.y:f}
", - "headerFormat" : "" + "plotOptions" : { + "series" : { + "borderWidth" : 0, + "dataLabels" : { + "format" : "{point.y}", + "enabled" : 1 + } + } + }, + "subtitle" : { + "text" : "Click the columns to drilldown the score breakdown. Last updated at 2019-11-14 18:24:57 GMT" + }, + "xAxis" : { + "type" : "category" }, "legend" : { "enabled" : "false" }, - "title" : { - "text" : "Perl Weekly Challenge Leaders (TOP 50)" + "tooltip" : { + "followPointer" : "true", + "headerFormat" : "", + "pointFormat" : "{point.name}: {point.y:f}
" }, - "xAxis" : { - "type" : "category" + "chart" : { + "type" : "column" }, "drilldown" : { "series" : [ { - "name" : "Laurent Rosenfeld", + "id" : "Laurent Rosenfeld", "data" : [ + [ + "Blog", + 79 + ], [ "Perl 6", 67 @@ -295,17 +304,17 @@ [ "Perl 5", 67 - ], - [ - "Blog", - 79 ] ], - "id" : "Laurent Rosenfeld" + "name" : "Laurent Rosenfeld" }, { - "id" : "Joelle Maslak", + "name" : "Joelle Maslak", "data" : [ + [ + "Blog", + 5 + ], [ "Perl 6", 80 @@ -313,34 +322,29 @@ [ "Perl 5", 80 - ], - [ - "Blog", - 5 ] ], - "name" : "Joelle Maslak" + "id" : "Joelle Maslak" }, { - "name" : "Jaldhar H. Vyas", + "id" : "Jaldhar H. Vyas", "data" : [ [ "Blog", 20 ], - [ - "Perl 6", - 65 - ], [ "Perl 5", 66 + ], + [ + "Perl 6", + 65 ] ], - "id" : "Jaldhar H. Vyas" + "name" : "Jaldhar H. Vyas" }, { - "id" : "Ruben Westerberg", "name" : "Ruben Westerberg", "data" : [ [ @@ -351,14 +355,12 @@ "Perl 5", 63 ] - ] + ], + "id" : "Ruben Westerberg" }, { + "id" : "Adam Russell", "data" : [ - [ - "Blog", - 36 - ], [ "Perl 5", 67 @@ -366,37 +368,35 @@ [ "Perl 6", 9 + ], + [ + "Blog", + 36 ] ], - "name" : "Adam Russell", - "id" : "Adam Russell" + "name" : "Adam Russell" }, { "id" : "Arne Sommer", - "name" : "Arne Sommer", "data" : [ [ - "Blog", - 34 + "Perl 6", + 68 ], [ "Perl 5", 3 ], [ - "Perl 6", - 68 + "Blog", + 34 ] - ] + ], +