From 2c4c5ea025f15895fc16f8449bcbb6bb2aad7eab Mon Sep 17 00:00:00 2001 From: Mohammad S Anwar Date: Fri, 10 May 2019 22:07:42 +0100 Subject: - Added solutions by Finley. --- challenge-007/finley/perl6/ch-1.p6 | 5 + challenge-007/finley/perl6/ch-2.p6 | 90 +++++++ stats/pwc-current.json | 145 ++++++----- stats/pwc-language-breakdown.json | 158 ++++++------ stats/pwc-leaders.json | 498 ++++++++++++++++++------------------- stats/pwc-summary-1-30.json | 24 +- stats/pwc-summary-31-60.json | 42 ++-- stats/pwc-summary-61-90.json | 44 ++-- stats/pwc-summary.json | 46 ++-- 9 files changed, 581 insertions(+), 471 deletions(-) create mode 100644 challenge-007/finley/perl6/ch-1.p6 create mode 100644 challenge-007/finley/perl6/ch-2.p6 diff --git a/challenge-007/finley/perl6/ch-1.p6 b/challenge-007/finley/perl6/ch-1.p6 new file mode 100644 index 0000000000..2f804ce004 --- /dev/null +++ b/challenge-007/finley/perl6/ch-1.p6 @@ -0,0 +1,5 @@ +use v6.d; + +say 'Challenge 1'; +say 'The following numbers between 0 and 50 inclusive are divisible by the sum of their digits'; +.say if ($_ %% [+] .comb) for 0..50; diff --git a/challenge-007/finley/perl6/ch-2.p6 b/challenge-007/finley/perl6/ch-2.p6 new file mode 100644 index 0000000000..0cb19a4c1f --- /dev/null +++ b/challenge-007/finley/perl6/ch-2.p6 @@ -0,0 +1,90 @@ +use v6.d; + +say 'Challenge 2'; +my $startWord = 'stone'; +my $endWord = 'money'; +my $wordFile = '/usr/share/dict/british-english'; +say "The word '$startWord' can be transformed letter by letter to make '$endWord' transitioning through proper words along the way"; + + +my $ladder = FindLadder($startWord, $endWord, $wordFile); +say $ladder.elems ?? join(' ⇒ ', |$ladder) !! 'no solution'; + +sub FindLadder (Str $startWord, Str $endWord, Str $wordFile) +{ + #Hat off to Dijkstra + return [] if $startWord.chars != $endWord.chars; + say 'loading words...'; + my %words = $wordFile.IO.slurp.lines.map( + #lowercase the words, and filter out non ascii words + {.lc}).grep({/^ <[ a .. z ]>+ $/}).grep( + #filter out words of the wrong length + {.chars == $startWord.chars}).map( + #and produce an 'uninitialised' structure per word + {$_ => {distance => Inf, path => [], seen => 0}}); + say 'loaded.'; + + #the start and end words should actually be words + return [] unless %words{$startWord}; + return [] unless %words{$endWord}; + + #initialise our starting word, mark it as seen + %words{$startWord} = {distance => 0, path => [$startWord], seen => 1}; + + sub FindRungs (Str $startWord) + { + my %rungWords; + my @breakdown = $startWord.comb; + loop (my $i = 0; $i < @breakdown.elems; $i++) + { + #we're going to move through the word position by position + #we could probably do this with splice timtowtdi + my ($pre, $j, $post, $k) = ('', 0, '', $i + 1); + $pre ~= @breakdown[$j++] while $j < $i; + $post ~= @breakdown[$k++] while defined @breakdown[$k]; + for ('a' .. 'z') + { + #and test if the generated words $pre(a..z)$post exists for position $i + my $thisWord = $pre ~ $_ ~ $post; + %rungWords{$thisWord} = 1 if %words{$thisWord}; + } + } + return [keys %rungWords]; + } + + #initialise the first round of found word-rungs + for |FindRungs($startWord) -> $word { + %words{$word} = 1; + %words{$word} = [$startWord, $word] + } + + loop { + #looping, find the next batch of words from the epicenter + my @thisRound = %words.keys.grep( + #interested in unseen (unprocessed) words + {(!%words{$_}) && (%words{$_} != Inf)}).sort( + #we'll process the words closer to the epicenter (startWord) earlier + {%words{$^a} <=> %words{$^b}}); + last unless @thisRound.elems; # see * below + for @thisRound -> $thisWord { + #and initialise them too, + #or update as closer to the start word if they are + for |FindRungs($thisWord) -> $word { + if (%words{$word} >= %words{$thisWord} + 1) + { + %words{$word} = %words{$thisWord} + 1; + %words{$word} = [|(%words{$thisWord}), $word]; + } + } + #we don't want to do this word again, it's been processed + %words{$thisWord} = 1; + } + #loop ends when we find the endword, or earlier (*) if there was no solution + last if $endWord ~~ @thisRound; + } + + return %words{$endWord}; +} + + + diff --git a/stats/pwc-current.json b/stats/pwc-current.json index bb02619548..4b12ccb5fe 100644 --- a/stats/pwc-current.json +++ b/stats/pwc-current.json @@ -1,29 +1,35 @@ { - "plotOptions" : { - "series" : { - "borderWidth" : 0, - "dataLabels" : { - "format" : "{point.y}", - "enabled" : 1 - } - } - }, "chart" : { "type" : "column" }, + "xAxis" : { + "type" : "category" + }, + "legend" : { + "enabled" : 0 + }, + "tooltip" : { + "pointerFormat" : "{point.name}: {point.y:f}
", + "followPointer" : 1, + "headerFormat" : "{series.name}
" + }, + "yAxis" : { + "title" : { + "text" : "Total Solutions" + } + }, "series" : [ { - "name" : "Champions", "data" : [ { - "name" : "Andrezgz", "drilldown" : "Andrezgz", + "name" : "Andrezgz", "y" : 1 }, { "drilldown" : "Athanasius", - "name" : "Athanasius", - "y" : 2 + "y" : 2, + "name" : "Athanasius" }, { "drilldown" : "Dave Jacoby", @@ -32,117 +38,123 @@ }, { "y" : 2, + "name" : "Finley", + "drilldown" : "Finley" + }, + { "drilldown" : "Francis Whittle", + "y" : 2, "name" : "Francis Whittle" }, { + "name" : "Gustavo Chaves", "y" : 2, - "drilldown" : "Gustavo Chaves", - "name" : "Gustavo Chaves" + "drilldown" : "Gustavo Chaves" }, { + "name" : "Jo Christian Oterhals", "y" : 2, - "drilldown" : "Jo Christian Oterhals", - "name" : "Jo Christian Oterhals" + "drilldown" : "Jo Christian Oterhals" }, { "name" : "Joelle Maslak", - "drilldown" : "Joelle Maslak", - "y" : 4 + "y" : 4, + "drilldown" : "Joelle Maslak" }, { - "y" : 2, "drilldown" : "Maxim Nechaev", + "y" : 2, "name" : "Maxim Nechaev" }, { + "y" : 1, "name" : "Ozzy", - "drilldown" : "Ozzy", - "y" : 1 + "drilldown" : "Ozzy" }, { - "drilldown" : "Simon Proctor", "name" : "Simon Proctor", - "y" : 1 + "y" : 1, + "drilldown" : "Simon Proctor" } ], + "name" : "Champions", "colorByPoint" : 1 } ], - "legend" : { - "enabled" : 0 - }, - "yAxis" : { - "title" : { - "text" : "Total Solutions" + "plotOptions" : { + "series" : { + "borderWidth" : 0, + "dataLabels" : { + "format" : "{point.y}", + "enabled" : 1 + } } }, - "tooltip" : { - "headerFormat" : "{series.name}
", - "pointerFormat" : "{point.name}: {point.y:f}
", - "followPointer" : 1 - }, - "subtitle" : { - "text" : "[Champions: 10] Last updated at 2019-05-10 14:08:21 GMT" - }, - "title" : { - "text" : "Perl Weekly Challenge - 007" - }, "drilldown" : { "series" : [ { + "id" : "Andrezgz", "name" : "Andrezgz", "data" : [ [ "Perl 5", 1 ] - ], - "id" : "Andrezgz" + ] }, { - "id" : "Athanasius", - "name" : "Athanasius", "data" : [ [ "Perl 5", 2 ] - ] + ], + "name" : "Athanasius", + "id" : "Athanasius" }, { + "name" : "Dave Jacoby", "id" : "Dave Jacoby", "data" : [ [ "Perl 5", 2 ] - ], - "name" : "Dave Jacoby" + ] + }, + { + "id" : "Finley", + "name" : "Finley", + "data" : [ + [ + "Perl 6", + 2 + ] + ] }, { + "id" : "Francis Whittle", "name" : "Francis Whittle", "data" : [ [ "Perl 6", 2 ] - ], - "id" : "Francis Whittle" + ] }, { - "id" : "Gustavo Chaves", "data" : [ [ "Perl 5", 2 ] ], - "name" : "Gustavo Chaves" + "name" : "Gustavo Chaves", + "id" : "Gustavo Chaves" }, { - "id" : "Jo Christian Oterhals", "name" : "Jo Christian Oterhals", + "id" : "Jo Christian Oterhals", "data" : [ [ "Perl 6", @@ -151,8 +163,6 @@ ] }, { - "id" : "Joelle Maslak", - "name" : "Joelle Maslak", "data" : [ [ "Perl 5", @@ -162,17 +172,19 @@ "Perl 6", 2 ] - ] + ], + "id" : "Joelle Maslak", + "name" : "Joelle Maslak" }, { + "id" : "Maxim Nechaev", "name" : "Maxim Nechaev", "data" : [ [ "Perl 5", 2 ] - ], - "id" : "Maxim Nechaev" + ] }, { "data" : [ @@ -181,22 +193,25 @@ 1 ] ], - "name" : "Ozzy", - "id" : "Ozzy" + "id" : "Ozzy", + "name" : "Ozzy" }, { + "id" : "Simon Proctor", + "name" : "Simon Proctor", "data" : [ [ "Perl 6", 1 ] - ], - "name" : "Simon Proctor", - "id" : "Simon Proctor" + ] } ] }, - "xAxis" : { - "type" : "category" + "subtitle" : { + "text" : "[Champions: 11] Last updated at 2019-05-10 21:07:17 GMT" + }, + "title" : { + "text" : "Perl Weekly Challenge - 007" } } diff --git a/stats/pwc-language-breakdown.json b/stats/pwc-language-breakdown.json index 19947bfd66..8b614f7a90 100644 --- a/stats/pwc-language-breakdown.json +++ b/stats/pwc-language-breakdown.json @@ -1,65 +1,27 @@ { - "legend" : { - "enabled" : "false" - }, "xAxis" : { "type" : "category" }, - "series" : [ - { - "name" : "Perl Weekly Challenge Languages", - "colorByPoint" : "true", - "data" : [ - { - "y" : 113, - "drilldown" : "001", - "name" : "#001 [P5=76 P6=37]" - }, - { - "name" : "#002 [P5=63 P6=32]", - "drilldown" : "002", - "y" : 95 - }, - { - "drilldown" : "003", - "name" : "#003 [P5=32 P6=26]", - "y" : 58 - }, - { - "y" : 75, - "drilldown" : "004", - "name" : "#004 [P5=46 P6=29]" - }, - { - "y" : 55, - "name" : "#005 [P5=33 P6=22]", - "drilldown" : "005" - }, - { - "drilldown" : "006", - "name" : "#006 [P5=27 P6=14]", - "y" : 41 - }, - { - "name" : "#007 [P5=10 P6=7]", - "drilldown" : "007", - "y" : 17 - } - ] - } - ], - "chart" : { - "type" : "column" - }, "yAxis" : { "title" : { "text" : "Total Solutions" } }, + "title" : { + "text" : "Perl Weekly Challenge Language" + }, + "legend" : { + "enabled" : "false" + }, + "chart" : { + "type" : "column" + }, + "subtitle" : { + "text" : "Click the columns to drilldown the language breakdown. Last updated at 2019-05-10 21:07:33 GMT" + }, "drilldown" : { "series" : [ { - "name" : "001", "id" : "001", "data" : [ [ @@ -70,9 +32,11 @@ "Perl 6", 37 ] - ] + ], + "name" : "001" }, { + "id" : "002", "data" : [ [ "Perl 5", @@ -83,12 +47,9 @@ 32 ] ], - "name" : "002", - "id" : "002" + "name" : "002" }, { - "name" : "003", - "id" : "003", "data" : [ [ "Perl 5", @@ -98,9 +59,13 @@ "Perl 6", 26 ] - ] + ], + "id" : "003", + "name" : "003" }, { + "name" : "004", + "id" : "004", "data" : [ [ "Perl 5", @@ -110,13 +75,10 @@ "Perl 6", 29 ] - ], - "id" : "004", - "name" : "004" + ] }, { "id" : "005", - "name" : "005", "data" : [ [ "Perl 5", @@ -126,11 +88,12 @@ "Perl 6", 22 ] - ] + ], + "name" : "005" }, { - "id" : "006", "name" : "006", + "id" : "006", "data" : [ [ "Perl 5", @@ -143,39 +106,76 @@ ] }, { + "name" : "007", + "id" : "007", "data" : [ [ "Perl 5", - 10 + 11 ], [ "Perl 6", - 7 + 10 ] - ], - "name" : "007", - "id" : "007" + ] } ] }, "tooltip" : { "pointFormat" : "{point.name}: {point.y:f}
", - "headerFormat" : "", - "followPointer" : "true" - }, - "subtitle" : { - "text" : "Click the columns to drilldown the language breakdown. Last updated at 2019-05-10 13:41:14 GMT" - }, - "title" : { - "text" : "Perl Weekly Challenge Language" + "followPointer" : "true", + "headerFormat" : "" }, + "series" : [ + { + "data" : [ + { + "drilldown" : "001", + "name" : "#001 [P5=76 P6=37]", + "y" : 113 + }, + { + "drilldown" : "002", + "name" : "#002 [P5=63 P6=32]", + "y" : 95 + }, + { + "y" : 58, + "name" : "#003 [P5=32 P6=26]", + "drilldown" : "003" + }, + { + "drilldown" : "004", + "name" : "#004 [P5=46 P6=29]", + "y" : 75 + }, + { + "drilldown" : "005", + "name" : "#005 [P5=33 P6=22]", + "y" : 55 + }, + { + "drilldown" : "006", + "name" : "#006 [P5=27 P6=14]", + "y" : 41 + }, + { + "y" : 21, + "name" : "#007 [P5=11 P6=10]", + "drilldown" : "007" + } + ], + "colorByPoint" : "true", + "name" : "Perl Weekly Challenge Languages" + } + ], "plotOptions" : { "series" : { + "borderWidth" : 0, "dataLabels" : { - "enabled" : 1, - "format" : "{point.y}" - }, - "borderWidth" : 0 + "format" : "{point.y}", + "enabled" : 1 + } } } } diff --git a/stats/pwc-leaders.json b/stats/pwc-leaders.json index d40850ef91..bc9b8b26d8 100644 --- a/stats/pwc-leaders.json +++ b/stats/pwc-leaders.json @@ -8,24 +8,23 @@ } } }, - "chart" : { - "type" : "column" - }, - "xAxis" : { - "type" : "category" - }, "tooltip" : { - "headerFormat" : "", + "followPointer" : "true", "pointFormat" : "{point.name}: {point.y:f}
", - "followPointer" : "true" + "headerFormat" : "" }, - "title" : { - "text" : "Perl Weekly Challenge Leaders (TOP 50)" + "legend" : { + "enabled" : "false" + }, + "chart" : { + "type" : "column" + }, + "subtitle" : { + "text" : "Click the columns to drilldown the score breakdown. Last updated at 2019-05-10 21:07:28 GMT" }, "series" : [ { "colorByPoint" : "true", - "name" : "Perl Weekly Challenge Leaders", "data" : [ { "y" : 60, @@ -34,43 +33,43 @@ }, { "y" : 58, - "drilldown" : "Joelle Maslak", - "name" : "#2: Joelle Maslak" + "name" : "#2: Joelle Maslak", + "drilldown" : "Joelle Maslak" }, { "name" : "#3: Jaldhar H. Vyas", - "y" : 48, - "drilldown" : "Jaldhar H. Vyas" + "drilldown" : "Jaldhar H. Vyas", + "y" : 48 }, { "y" : 42, - "drilldown" : "Jo Christian Oterhals", - "name" : "#4: Jo Christian Oterhals" + "name" : "#4: Jo Christian Oterhals", + "drilldown" : "Jo Christian Oterhals" }, { - "drilldown" : "Simon Proctor", "y" : 42, + "drilldown" : "Simon Proctor", "name" : "#5: Simon Proctor" }, { + "name" : "#6: Ruben Westerberg", "drilldown" : "Ruben Westerberg", - "y" : 40, - "name" : "#6: Ruben Westerberg" + "y" : 40 }, { - "y" : 36, "drilldown" : "Adam Russell", - "name" : "#7: Adam Russell" + "name" : "#7: Adam Russell", + "y" : 36 }, { + "drilldown" : "Dr James A. Smith", "name" : "#8: Dr James A. Smith", - "y" : 36, - "drilldown" : "Dr James A. Smith" + "y" : 36 }, { - "name" : "#9: Kian-Meng Ang", + "y" : 32, "drilldown" : "Kian-Meng Ang", - "y" : 32 + "name" : "#9: Kian-Meng Ang" }, { "y" : 32, @@ -78,237 +77,235 @@ "name" : "#10: Nick Logan" }, { - "name" : "#11: Arne Sommer", "drilldown" : "Arne Sommer", + "name" : "#11: Arne Sommer", "y" : 30 }, { - "name" : "#12: Gustavo Chaves", "y" : 30, + "name" : "#12: Gustavo Chaves", "drilldown" : "Gustavo Chaves" }, { + "y" : 28, "name" : "#13: Athanasius", - "drilldown" : "Athanasius", - "y" : 28 + "drilldown" : "Athanasius" }, { - "drilldown" : "Lars Balker", "y" : 28, + "drilldown" : "Lars Balker", "name" : "#14: Lars Balker" }, { "y" : 26, - "drilldown" : "Andrezgz", - "name" : "#15: Andrezgz" + "name" : "#15: Andrezgz", + "drilldown" : "Andrezgz" }, { "name" : "#16: Mark Senn", - "y" : 26, - "drilldown" : "Mark Senn" + "drilldown" : "Mark Senn", + "y" : 26 }, { - "drilldown" : "Francis Whittle", "y" : 22, + "drilldown" : "Francis Whittle", "name" : "#17: Francis Whittle" }, { - "y" : 20, + "name" : "#18: Doug Schrag", "drilldown" : "Doug Schrag", - "name" : "#18: Doug Schrag" + "y" : 20 }, { "name" : "#19: Duncan C. White", - "y" : 20, - "drilldown" : "Duncan C. White" + "drilldown" : "Duncan C. White", + "y" : 20 }, { + "y" : 16, "name" : "#20: Robert Gratza", - "drilldown" : "Robert Gratza", - "y" : 16 + "drilldown" : "Robert Gratza" }, { - "name" : "#21: Daniel Mantovani", + "y" : 14, "drilldown" : "Daniel Mantovani", - "y" : 14 + "name" : "#21: Daniel Mantovani" }, { + "drilldown" : "Dave Jacoby", "name" : "#22: Dave Jacoby", - "y" : 14, - "drilldown" : "Dave Jacoby" + "y" : 14 }, { - "y" : 14, "drilldown" : "John Barrett", - "name" : "#23: John Barrett" + "name" : "#23: John Barrett", + "y" : 14 }, { "drilldown" : "E. Choroba", - "y" : 12, - "name" : "#24: E. Choroba" + "name" : "#24: E. Choroba", + "y" : 12 }, { - "name" : "#25: Maxim Kolodyazhny", "drilldown" : "Maxim Kolodyazhny", + "name" : "#25: Maxim Kolodyazhny", "y" : 12 }, { + "y" : 12, "name" : "#26: Ozzy", - "drilldown" : "Ozzy", - "y" : 12 + "drilldown" : "Ozzy" }, { "name" : "#27: Philippe Bruhat", - "y" : 12, - "drilldown" : "Philippe Bruhat" + "drilldown" : "Philippe Bruhat", + "y" : 12 }, { + "y" : 12, "name" : "#28: Sergio Iglesias", - "drilldown" : "Sergio Iglesias", - "y" : 12 + "drilldown" : "Sergio Iglesias" }, { - "name" : "#29: Arpad Toth", "drilldown" : "Arpad Toth", + "name" : "#29: Arpad Toth", "y" : 10 }, { - "name" : "#30: Khalid", "y" : 10, + "name" : "#30: Khalid", "drilldown" : "Khalid" }, { - "y" : 10, "drilldown" : "Steve Rogerson", - "name" : "#31: Steve Rogerson" + "name" : "#31: Steve Rogerson", + "y" : 10 }, { - "y" : 10, + "name" : "#32: Veesh Goldman", "drilldown" : "Veesh Goldman", - "name" : "#32: Veesh Goldman" + "y" : 10 }, { - "name" : "#33: Alex Daniel", "drilldown" : "Alex Daniel", + "name" : "#33: Alex Daniel", "y" : 8 }, { + "drilldown" : "Bob Kleemann", "name" : "#34: Bob Kleemann", - "y" : 8, - "drilldown" : "Bob Kleemann" + "y" : 8 }, { "drilldown" : "Chenyf", - "y" : 8, - "name" : "#35: Chenyf" + "name" : "#35: Chenyf", + "y" : 8 }, { + "y" : 8, "name" : "#36: David Kayal", - "drilldown" : "David Kayal", + "drilldown" : "David Kayal" + }, + { + "name" : "#37: Finley", + "drilldown" : "Finley", "y" : 8 }, { - "name" : "#37: Jaime Corchado", - "y" : 8, - "drilldown" : "Jaime Corchado" + "drilldown" : "Jaime Corchado", + "name" : "#38: Jaime Corchado", + "y" : 8 }, { - "name" : "#38: Matt Latusek", "y" : 8, + "name" : "#39: Matt Latusek", "drilldown" : "Matt Latusek" }, { - "name" : "#39: Simon Reinhardt", "drilldown" : "Simon Reinhardt", + "name" : "#40: Simon Reinhardt", "y" : 8 }, { + "name" : "#41: Steven Wilson", "drilldown" : "Steven Wilson", - "y" : 8, - "name" : "#40: Steven Wilson" + "y" : 8 }, { "drilldown" : "Tim Smith", - "y" : 8, - "name" : "#41: Tim Smith" + "name" : "#42: Tim Smith", + "y" : 8 }, { + "name" : "#43: Ailbhe Tweedie", "drilldown" : "Ailbhe Tweedie", - "y" : 6, - "name" : "#42: Ailbhe Tweedie" + "y" : 6 }, { - "drilldown" : "Alicia Bielsa", "y" : 6, - "name" : "#43: Alicia Bielsa" + "drilldown" : "Alicia Bielsa", + "name" : "#44: Alicia Bielsa" }, { - "name" : "#44: Dave Cross", + "name" : "#45: Dave Cross", "drilldown" : "Dave Cross", "y" : 6 }, { - "drilldown" : "Freddie B", "y" : 6, - "name" : "#45: Freddie B" + "name" : "#46: Freddie B", + "drilldown" : "Freddie B" }, { - "y" : 6, "drilldown" : "Jeremy Carman", - "name" : "#46: Jeremy Carman" + "name" : "#47: Jeremy Carman", + "y" : 6 }, { "y" : 6, "drilldown" : "Kivanc Yazan", - "name" : "#47: Kivanc Yazan" + "name" : "#48: Kivanc Yazan" }, { "drilldown" : "Neil Bowers", - "y" : 6, - "name" : "#48: Neil Bowers" - }, - { - "name" : "#49: Pete Houston", - "drilldown" : "Pete Houston", + "name" : "#49: Neil Bowers", "y" : 6 }, { - "name" : "#50: Sean Meininger", "y" : 6, - "drilldown" : "Sean Meininger" + "drilldown" : "Pete Houston", + "name" : "#50: Pete Houston" } - ] + ], + "name" : "Perl Weekly Challenge Leaders" } ], - "subtitle" : { - "text" : "Click the columns to drilldown the score breakdown. Last updated at 2019-05-10 14:08:30 GMT" - }, - "yAxis" : { - "title" : { - "text" : "Total Score" - } + "xAxis" : { + "type" : "category" }, "drilldown" : { "series" : [ { + "id" : "Laurent Rosenfeld", "data" : [ [ "Perl 6", 11 ], - [ - "Perl 5", - 12 - ], [ "Blog", 7 + ], + [ + "Perl 5", + 12 ] ], - "id" : "Laurent Rosenfeld", "name" : "Laurent Rosenfeld" }, { + "id" : "Joelle Maslak", + "name" : "Joelle Maslak", "data" : [ [ "Blog", @@ -322,11 +319,10 @@ "Perl 5", 14 ] - ], - "id" : "Joelle Maslak", - "name" : "Joelle Maslak" + ] }, { + "id" : "Jaldhar H. Vyas", "data" : [ [ "Perl 5", @@ -337,33 +333,29 @@ 12 ] ], - "name" : "Jaldhar H. Vyas", - "id" : "Jaldhar H. Vyas" + "name" : "Jaldhar H. Vyas" }, { + "id" : "Jo Christian Oterhals", "data" : [ [ - "Perl 5", - 6 + "Blog", + 5 ], [ "Perl 6", 10 ], [ - "Blog", - 5 + "Perl 5", + 6 ] ], - "name" : "Jo Christian Oterhals", - "id" : "Jo Christian Oterhals" + "name" : "Jo Christian Oterhals" }, { + "name" : "Simon Proctor", "data" : [ - [ - "Blog", - 5 - ], [ "Perl 5", 4 @@ -371,28 +363,29 @@ [ "Perl 6", 12 + ], + [ + "Blog", + 5 ] ], - "name" : "Simon Proctor", "id" : "Simon Proctor" }, { + "id" : "Ruben Westerberg", "data" : [ [ - "Perl 5", + "Perl 6", 10 ], [ - "Perl 6", + "Perl 5", 10 ] ], - "name" : "Ruben Westerberg", - "id" : "Ruben Westerberg" + "name" : "Ruben Westerberg" }, { - "name" : "Adam Russell", - "id" : "Adam Russell", "data" : [ [ "Blog", @@ -402,38 +395,39 @@ "Perl 5", 12 ] - ] + ], + "name" : "Adam Russell", + "id" : "Adam Russell" }, { "id" : "Dr James A. Smith", "name" : "Dr James A. Smith", "data" : [ - [ - "Perl 5", - 10 - ], [ "Perl 6", 8 + ], + [ + "Perl 5", + 10 ] ] }, { - "name" : "Kian-Meng Ang", - "id" : "Kian-Meng Ang", "data" : [ - [ - "Perl 5", - 11 - ], [ "Blog", 5 + ], + [ + "Perl 5", + 11 ] - ] + ], + "name" : "Kian-Meng Ang", + "id" : "Kian-Meng Ang" }, { - "name" : "Nick Logan", "id" : "Nick Logan", "data" : [ [ @@ -444,9 +438,11 @@ "Perl 6", 8 ] - ] + ], + "name" : "Nick Logan" }, { + "name" : "Arne Sommer", "data" : [ [ "Perl 6", @@ -457,12 +453,9 @@ 5 ] ], - "name" : "Arne Sommer", "id" : "Arne Sommer" }, { - "id" : "Gustavo Chaves", - "name" : "Gustavo Chaves", "data" : [ [ "Perl 5", @@ -472,35 +465,37 @@ "Blog", 4 ] - ] + ], + "name" : "Gustavo Chaves", + "id" : "Gustavo Chaves" }, { - "name" : "Athanasius", "id" : "Athanasius", "data" : [ [ "Perl 5", 14 ] - ] + ], + "name" : "Athanasius" }, { + "id" : "Lars Balker", "data" : [ - [ - "Perl 5", - 10 - ], [ "Perl 6", 4 + ], + [ + "Perl 5", + 10 ] ], - "name" : "Lars Balker", - "id" : "Lars Balker" + "name" : "Lars Balker" }, { - "name" : "Andrezgz", "id" : "Andrezgz", + "name" : "Andrezgz", "data" : [ [ "Perl 5", @@ -509,80 +504,78 @@ ] }, { + "id" : "Mark Senn", + "name" : "Mark Senn", "data" : [ - [ - "Perl 6", - 10 - ], [ "Blog", 3 + ], + [ + "Perl 6", + 10 ] - ], - "name" : "Mark Senn", - "id" : "Mark Senn" + ] }, { "id" : "Francis Whittle", "name" : "Francis Whittle", "data" : [ - [ - "Blog", - 3 - ], [ "Perl 6", 8 + ], + [ + "Blog", + 3 ] ] }, { - "name" : "Doug Schrag", - "id" : "Doug Schrag", "data" : [ [ "Perl 6", 10 ] - ] + ], + "name" : "Doug Schrag", + "id" : "Doug Schrag" }, { + "id" : "Duncan C. White", + "name" : "Duncan C. White", "data" : [ [ "Perl 5", 10 ] - ], - "name" : "Duncan C. White", - "id" : "Duncan C. White" + ] }, { - "name" : "Robert Gratza", "id" : "Robert Gratza", + "name" : "Robert Gratza", "data" : [ - [ - "Perl 5", - 2 - ], [ "Perl 6", 6 + ], + [ + "Perl 5", + 2 ] ] }, { + "name" : "Daniel Mantovani", "data" : [ [ "Perl 5", 7 ] ], - "name" : "Daniel Mantovani", "id" : "Daniel Mantovani" }, { - "name" : "Dave Jacoby", - "id" : "Dave Jacoby", "data" : [ [ "Perl 5", @@ -592,17 +585,19 @@ "Blog", 4 ] - ] + ], + "name" : "Dave Jacoby", + "id" : "Dave Jacoby" }, { - "name" : "John Barrett", "id" : "John Barrett", "data" : [ [ "Perl 5", 7 ] - ] + ], + "name" : "John Barrett" }, { "id" : "E. Choroba", @@ -625,21 +620,20 @@ 6 ] ], - "id" : "Maxim Kolodyazhny", - "name" : "Maxim Kolodyazhny" + "name" : "Maxim Kolodyazhny", + "id" : "Maxim Kolodyazhny" }, { - "name" : "Ozzy", "id" : "Ozzy", "data" : [ [ "Perl 6", 6 ] - ] + ], + "name" : "Ozzy" }, { - "name" : "Philippe Bruhat", "id" : "Philippe Bruhat", "data" : [ [ @@ -650,29 +644,31 @@ "Blog", 2 ] - ] + ], + "name" : "Philippe Bruhat" }, { "name" : "Sergio Iglesias", - "id" : "Sergio Iglesias", "data" : [ [ "Perl 5", 6 ] - ] + ], + "id" : "Sergio Iglesias" }, { - "id" : "Arpad Toth", "name" : "Arpad Toth", "data" : [ [ "Perl 5", 5 ] - ] + ], + "id" : "Arpad Toth" }, { + "id" : "Khalid", "data" : [ [ "Perl 5", @@ -683,42 +679,41 @@ 1 ] ], - "name" : "Khalid", - "id" : "Khalid" + "name" : "Khalid" }, { + "id" : "Steve Rogerson", + "name" : "Steve Rogerson", "data" : [ - [ - "Perl 6", - 2 - ], [ "Perl 5", 3 + ], + [ + "Perl 6", + 2 ] - ], - "id" : "Steve Rogerson", - "name" : "Steve Rogerson" + ] }, { + "name" : "Veesh Goldman", "data" : [ [ "Perl 5", 5 ] ], - "id" : "Veesh Goldman", - "name" : "Veesh Goldman" + "id" : "Veesh Goldman" }, { + "id" : "Alex Daniel", "data" : [ [ "Perl 6", 4 ] ], - "name" : "Alex Daniel", - "id" : "Alex Daniel" + "name" : "Alex Daniel" }, { "id" : "Bob Kleemann", @@ -731,44 +726,54 @@ ] }, { + "id" : "Chenyf", "data" : [ [ "Perl 6", 4 ] ], - "name" : "Chenyf", - "id" : "Chenyf" + "name" : "Chenyf" }, { "id" : "David Kayal", - "name" : "David Kayal", "data" : [ [ "Perl 5", 4 ] + ], + "name" : "David Kayal" + }, + { + "id" : "Finley", + "name" : "Finley", + "data" : [ + [ + "Perl 6", + 4 + ] ] }, { + "name" : "Jaime Corchado", "data" : [ [ "Perl 5", 4 ] ], - "name" : "Jaime Corchado", "id" : "Jaime Corchado" }, { - "name" : "Matt Latusek", - "id" : "Matt Latusek", "data" : [ [ "Perl 5", 4 ] - ] + ], + "name" : "Matt Latusek", + "id" : "Matt Latusek" }, { "id" : "Simon Reinhardt", @@ -787,28 +792,28 @@ 4 ] ], - "id" : "Steven Wilson", - "name" : "Steven Wilson" + "name" : "Steven Wilson", + "id" : "Steven Wilson" }, { + "id" : "Tim Smith", + "name" : "Tim Smith", "data" : [ [ "Perl 6", 4 ] - ], - "name" : "Tim Smith", - "id" : "Tim Smith" + ] }, { "name" : "Ailbhe Tweedie", - "id" : "Ailbhe Tweedie", "data" : [ [ "Perl 5", 3 ] - ] + ], + "id" : "Ailbhe Tweedie" }, { "data" : [ @@ -817,8 +822,8 @@ 3 ] ], - "id" : "Alicia Bielsa", - "name" : "Alicia Bielsa" + "name" : "Alicia Bielsa", + "id" : "Alicia Bielsa" }, { "data" : [ @@ -831,12 +836,12 @@ 1 ] ], - "id" : "Dave Cross", - "name" : "Dave Cross" + "name" : "Dave Cross", + "id" : "Dave Cross" }, { - "name" : "Freddie B", "id" : "Freddie B", + "name" : "Freddie B", "data" : [ [ "Perl 5", @@ -845,6 +850,7 @@ ] }, { + "id" : "Jeremy Carman", "data" : [ [ "Perl 5", @@ -855,22 +861,21 @@ 1 ] ], - "name" : "Jeremy Carman", - "id" : "Jeremy Carman" + "name" : "Jeremy Carman" }, { - "name" : "Kivanc Yazan", - "id" : "Kivanc Yazan", "data" : [ [ "Perl 5", 3 ] - ] + ], + "name" : "Kivanc Yazan", + "id" : "Kivanc Yazan" }, { - "name" : "Neil Bowers", "id" : "Neil Bowers", + "name" : "Neil Bowers", "data" : [ [ "Perl 5", @@ -879,28 +884,23 @@ ] }, { - "data" : [ - [ - "Perl 5", - 3 - ] - ], + "id" : "Pete Houston", "name" : "Pete Houston", - "id" : "Pete Houston" - }, - { "data" : [ [ - "Perl 6", + "Perl 5", 3 ] - ], - "name" : "Sean Meininger", - "id" : "Sean Meininger" + ] } ] }, - "legend" : { - "enabled" : "false" + "yAxis" : { + "title" : { + "text" : "Total Score" + } + }, + "title" : { + "text" : "Perl Weekly Challenge Leaders (TOP 50)" } } diff --git a/stats/pwc-summary-1-30.json b/stats/pwc-summary-1-30.json index 1f43e941af..342d4afac1 100644 --- a/stats/pwc-summary-1-30.json +++ b/stats/pwc-summary-1-30.json @@ -36,14 +36,9 @@ "title" : { "text" : "Perl Weekly Challenge - 2019" }, - "chart" : { - "type" : "column" - }, - "subtitle" : { - "text" : "[Champions: 30] Last updated at 2019-05-10 14:08:21 GMT" - }, "series" : [ { + "name" : "Perl 5", "data" : [ 2, 12, @@ -75,8 +70,7 @@ 2, 3, 2 - ], - "name" : "Perl 5" + ] }, { "data" : [ @@ -105,7 +99,7 @@ 0, 0, 0, - 2, + 4, 8, 0, 0, @@ -114,15 +108,21 @@ "name" : "Perl 6" } ], - "tooltip" : { - "pointFormat" : "{series.name}: {point.y}
", - "shared" : 1 + "chart" : { + "type" : "column" }, "plotOptions" : { "column" : { "stacking" : "percent" } }, + "subtitle" : { + "text" : "[Champions: 30] Last updated at 2019-05-10 21:07:17 GMT" + }, + "tooltip" : { + "pointFormat" : "{series.name}: {point.y}
", + "shared" : 1 + }, "yAxis" : { "title" : { "text" : "" diff --git a/stats/pwc-summary-31-60.json b/stats/pwc-summary-31-60.json index 4283f6e3c9..e00daae1d3 100644 --- a/stats/pwc-summary-31-60.json +++ b/stats/pwc-summary-31-60.json @@ -1,13 +1,7 @@ { - "subtitle" : { - "text" : "[Champions: 30] Last updated at 2019-05-10 14:08:21 GMT" - }, - "tooltip" : { - "pointFormat" : "{series.name}: {point.y}
", - "shared" : 1 - }, "series" : [ { + "name" : "Perl 5", "data" : [ 11, 0, @@ -39,8 +33,7 @@ 0, 2, 0 - ], - "name" : "Perl 5" + ] }, { "data" : [ @@ -78,16 +71,8 @@ "name" : "Perl 6" } ], - "plotOptions" : { - "column" : { - "stacking" : "percent" - } - }, - "yAxis" : { - "min" : 0, - "title" : { - "text" : "" - } + "title" : { + "text" : "Perl Weekly Challenge - 2019" }, "xAxis" : { "categories" : [ @@ -123,8 +108,23 @@ "Ozzy" ] }, - "title" : { - "text" : "Perl Weekly Challenge - 2019" + "yAxis" : { + "min" : 0, + "title" : { + "text" : "" + } + }, + "tooltip" : { + "shared" : 1, + "pointFormat" : "{series.name}: {point.y}
" + }, + "subtitle" : { + "text" : "[Champions: 30] Last updated at 2019-05-10 21:07:17 GMT" + }, + "plotOptions" : { + "column" : { + "stacking" : "percent" + } }, "chart" : { "type" : "column" diff --git a/stats/pwc-summary-61-90.json b/stats/pwc-summary-61-90.json index 247c6087ee..3073b33a77 100644 --- a/stats/pwc-summary-61-90.json +++ b/stats/pwc-summary-61-90.json @@ -1,9 +1,24 @@ { + "subtitle" : { + "text" : "[Champions: 19] Last updated at 2019-05-10 21:07:17 GMT" + }, "chart" : { "type" : "column" }, - "title" : { - "text" : "Perl Weekly Challenge - 2019" + "plotOptions" : { + "column" : { + "stacking" : "percent" + } + }, + "tooltip" : { + "pointFormat" : "{series.name}: {point.y}
", + "shared" : 1 + }, + "yAxis" : { + "min" : 0, + "title" : { + "text" : "" + } }, "xAxis" : { "categories" : [ @@ -28,20 +43,8 @@ "Yary H" ] }, - "yAxis" : { - "min" : 0, - "title" : { - "text" : "" - } - }, - "plotOptions" : { - "column" : { - "stacking" : "percent" - } - }, - "tooltip" : { - "pointFormat" : "{series.name}: {point.y}
", - "shared" : 1 + "title" : { + "text" : "Perl Weekly Challenge - 2019" }, "series" : [ { @@ -69,7 +72,6 @@ ] }, { - "name" : "Perl 6", "data" : [ 0, 0, @@ -90,10 +92,8 @@ 0, 0, 1 - ] + ], + "name" : "Perl 6" } - ], - "subtitle" : { - "text" : "[Champions: 19] Last updated at 2019-05-10 14:08:21 GMT" - } + ] } diff --git a/stats/pwc-summary.json b/stats/pwc-summary.json index 0952a4817a..d72f4397af 100644 --- a/stats/pwc-summary.json +++ b/stats/pwc-summary.json @@ -1,13 +1,17 @@ { - "yAxis" : { - "title" : { - "text" : "" - }, - "min" : 0 + "title" : { + "text" : "Perl Weekly Challenge - 2019" + }, + "subtitle" : { + "text" : "[Champions: 79] Last updated at 2019-05-10 21:07:17 GMT" + }, + "plotOptions" : { + "column" : { + "stacking" : "percent" + } }, "series" : [ { - "name" : "Perl 5", "data" : [ 2, 12, @@ -88,7 +92,8 @@ 5, 1, 1 - ] + ], + "name" : "Perl 5" }, { "name" : "Perl 6", @@ -118,7 +123,7 @@ 0, 0, 0, - 2, + 4, 8, 0, 0, @@ -175,14 +180,16 @@ ] } ], - "chart" : { - "type" : "column" - }, - "plotOptions" : { - "column" : { - "stacking" : "percent" + "yAxis" : { + "min" : 0, + "title" : { + "text" : "" } }, + "tooltip" : { + "pointFormat" : "{series.name}: {point.y}
", + "shared" : 1 + }, "xAxis" : { "categories" : [ "Abigail", @@ -266,14 +273,7 @@ "Yary H" ] }, - "title" : { - "text" : "Perl Weekly Challenge - 2019" - }, - "subtitle" : { - "text" : "[Champions: 79] Last updated at 2019-05-10 14:08:21 GMT" - }, - "tooltip" : { - "shared" : 1, - "pointFormat" : "{series.name}: {point.y}
" + "chart" : { + "type" : "column" } } -- cgit