From 4ea279abda9a15890fc858acb8c2d80746c27926 Mon Sep 17 00:00:00 2001 From: Mohammad S Anwar Date: Sun, 28 Apr 2019 18:19:55 +0100 Subject: - Added solutions by Laurent Rosenfeld. --- challenge-005/laurent-rosenfeld/perl5/ch-1.pl | 13 + challenge-005/laurent-rosenfeld/perl5/ch-1a.pl | 14 + challenge-005/laurent-rosenfeld/perl5/ch-1b.pl | 15 + challenge-005/laurent-rosenfeld/perl5/ch-2.pl | 27 ++ challenge-005/laurent-rosenfeld/perl6/ch-1.p6 | 7 + challenge-005/laurent-rosenfeld/perl6/ch-1a.p6 | 6 + challenge-005/laurent-rosenfeld/perl6/ch-1b.p6 | 6 + challenge-005/laurent-rosenfeld/perl6/ch-2.p6 | 18 + challenge-005/laurent-rosenfeld/perl6/ch-2a.p6 | 10 + stats/pwc-current.json | 199 ++++++--- stats/pwc-language-breakdown.json | 114 ++--- stats/pwc-leaders.json | 592 ++++++++++++------------- stats/pwc-summary-1-30.json | 44 +- stats/pwc-summary-31-60.json | 36 +- stats/pwc-summary-61-90.json | 42 +- stats/pwc-summary.json | 56 +-- 16 files changed, 684 insertions(+), 515 deletions(-) create mode 100644 challenge-005/laurent-rosenfeld/perl5/ch-1.pl create mode 100644 challenge-005/laurent-rosenfeld/perl5/ch-1a.pl create mode 100644 challenge-005/laurent-rosenfeld/perl5/ch-1b.pl create mode 100644 challenge-005/laurent-rosenfeld/perl5/ch-2.pl create mode 100644 challenge-005/laurent-rosenfeld/perl6/ch-1.p6 create mode 100644 challenge-005/laurent-rosenfeld/perl6/ch-1a.p6 create mode 100644 challenge-005/laurent-rosenfeld/perl6/ch-1b.p6 create mode 100644 challenge-005/laurent-rosenfeld/perl6/ch-2.p6 create mode 100644 challenge-005/laurent-rosenfeld/perl6/ch-2a.p6 diff --git a/challenge-005/laurent-rosenfeld/perl5/ch-1.pl b/challenge-005/laurent-rosenfeld/perl5/ch-1.pl new file mode 100644 index 0000000000..19f53a6bc7 --- /dev/null +++ b/challenge-005/laurent-rosenfeld/perl5/ch-1.pl @@ -0,0 +1,13 @@ +use strict; +use warnings; +use feature 'say'; +sub is_anagram { + my ($word1, $word2) = @_; + return 0 if length $word1 != length $word2; + my $letters1 = join "", sort split "", $word1; + my $letters2 = join "", sort split "", $word2; + return $letters1 eq $letters2 +} +for ( [qw / ban bane/], [qw /post post/], [qw / post spot /], [qw /post spot/], [qw / pots spot/], [qw /pots taps/] ) { + say "$$_[0] $$_[1]:\t", is_anagram($$_[0], $$_[1]) ? "True" : "False"; +} diff --git a/challenge-005/laurent-rosenfeld/perl5/ch-1a.pl b/challenge-005/laurent-rosenfeld/perl5/ch-1a.pl new file mode 100644 index 0000000000..20b000f5f9 --- /dev/null +++ b/challenge-005/laurent-rosenfeld/perl5/ch-1a.pl @@ -0,0 +1,14 @@ +use strict; +use warnings; +use feature 'say'; +sub is_anagram { + my ($word1, $word2) = @_; + return 0 if length $word1 != length $word2; + my $letters1 = join "", sort split "", $word1; + my $letters2 = join "", sort split "", $word2; + return $letters1 eq $letters2 +} +my $word = "post"; +for (qw /past post spot tops taps pots top/) { + say "$word $_\t", is_anagram($word, $_) ? "True" : "False"; +} diff --git a/challenge-005/laurent-rosenfeld/perl5/ch-1b.pl b/challenge-005/laurent-rosenfeld/perl5/ch-1b.pl new file mode 100644 index 0000000000..1d31cfb414 --- /dev/null +++ b/challenge-005/laurent-rosenfeld/perl5/ch-1b.pl @@ -0,0 +1,15 @@ +use strict; +use warnings; +use feature 'say'; +sub is_anagram { + my ($word1, $word2) = @_; + return 0 if length $word1 != length $word2; + my $letters1 = join "", sort split "", $word1; + my $letters2 = join "", sort split "", $word2; + return $letters1 eq $letters2 +} +my $word = "post"; +while (<>) { + chomp; + say if is_anagram $word, $_; +} diff --git a/challenge-005/laurent-rosenfeld/perl5/ch-2.pl b/challenge-005/laurent-rosenfeld/perl5/ch-2.pl new file mode 100644 index 0000000000..d493ea4b5a --- /dev/null +++ b/challenge-005/laurent-rosenfeld/perl5/ch-2.pl @@ -0,0 +1,27 @@ +use strict; +use warnings; +use feature 'say'; + +my %words; # our HoA +my $file_in = "words.txt"; +open my $IN, "<", $file_in or die "Ouverture impossible $file_in $!"; +while (my $word = <$IN>) { + next unless $word =~ /\w/; # skipping empty lines if any + $word =~ s/\s+$//; # removing trailing spaces, new lines and carriage returns (if any) + next if length $word < 3; + my $key = join '', sort split //, $word; # normalizing the word for the hash key + push @{$words{$key}}, $word; # storing the word in the HoA +} +close $IN; +my @max_anagrams; +my $max = 5; +for my $key (keys %words) { + next if @{$words{$key}} < $max; + if (@{$words{$key}} == $max) { + push @max_anagrams, $key; + } else { + @max_anagrams = ($key); + $max = scalar @{$words{$key}}; + } +} +say "$_:\t @{$words{$_}}" for (@max_anagrams); diff --git a/challenge-005/laurent-rosenfeld/perl6/ch-1.p6 b/challenge-005/laurent-rosenfeld/perl6/ch-1.p6 new file mode 100644 index 0000000000..e63a980a78 --- /dev/null +++ b/challenge-005/laurent-rosenfeld/perl6/ch-1.p6 @@ -0,0 +1,7 @@ +sub is-anagram (Str $word1, Str $word2) { + return False if $word1.chars != $word2.chars; + return $word1.comb.sort eq $word2.comb.sort; +} +for -> $w1, $w2 { + say "$w1 $w2:\t", is-anagram $w1, $w2; +} diff --git a/challenge-005/laurent-rosenfeld/perl6/ch-1a.p6 b/challenge-005/laurent-rosenfeld/perl6/ch-1a.p6 new file mode 100644 index 0000000000..0e4ae68e5f --- /dev/null +++ b/challenge-005/laurent-rosenfeld/perl6/ch-1a.p6 @@ -0,0 +1,6 @@ +sub is-anagram (Str $word1, Str $word2) { + return $word1.comb.Bag === $word2.comb.Bag; +} +for -> $w1, $w2 { + say "$w1 $w2:\t", is-anagram $w1, $w2; +} diff --git a/challenge-005/laurent-rosenfeld/perl6/ch-1b.p6 b/challenge-005/laurent-rosenfeld/perl6/ch-1b.p6 new file mode 100644 index 0000000000..5abaa0a687 --- /dev/null +++ b/challenge-005/laurent-rosenfeld/perl6/ch-1b.p6 @@ -0,0 +1,6 @@ +sub infix: (Str $word1, Str $word2) { + return $word1.comb.Bag === $word2.comb.Bag; +} +for -> $w1, $w2 { + say "$w1 $w2:\t", $w1 ana $w2; +} diff --git a/challenge-005/laurent-rosenfeld/perl6/ch-2.p6 b/challenge-005/laurent-rosenfeld/perl6/ch-2.p6 new file mode 100644 index 0000000000..5874af92d7 --- /dev/null +++ b/challenge-005/laurent-rosenfeld/perl6/ch-2.p6 @@ -0,0 +1,18 @@ +my %words; +for "words.txt".IO.lines -> $line { + next unless $line ~~ /\w/; # skipping empty lines if any + $line ~~ s/\s+$//; # removing trailing spaces if any + next if $line.chars < 3; + my $key = $line.comb.sort.join(''); + push %words{$key}, $line; +} +my @max-anagrams; +my $max = 5; +for %words.keys -> $key { + given %words{$key}.elems { + when $_ < $max { next } + when $_ == $max { @max-anagrams.push($key) } + default { @max-anagrams = $key,; $max = $_} + } +} +say "$_:\t %words{$_}" for (@max-anagrams); diff --git a/challenge-005/laurent-rosenfeld/perl6/ch-2a.p6 b/challenge-005/laurent-rosenfeld/perl6/ch-2a.p6 new file mode 100644 index 0000000000..372496cec5 --- /dev/null +++ b/challenge-005/laurent-rosenfeld/perl6/ch-2a.p6 @@ -0,0 +1,10 @@ +my %words; +for "words.txt".IO.lines -> $line { + next unless $line ~~ /\w/; # skipping empty lines if any + $line ~~ s/\s+$//; # removing trailing spaces if any + next if $line.chars < 3; + my $key = $line.comb.sort.join(''); + push %words{$key}, $line; +} +my $max = max map { .elems }, values %words; +say "$_:\t %words{$_}" if %words{$_}.elems == $max for %words.keys; diff --git a/stats/pwc-current.json b/stats/pwc-current.json index 4d0a3a3910..25ca8827fa 100644 --- a/stats/pwc-current.json +++ b/stats/pwc-current.json @@ -1,4 +1,7 @@ { + "chart" : { + "type" : "column" + }, "drilldown" : { "series" : [ { @@ -12,28 +15,28 @@ "id" : "Adam Russell" }, { + "name" : "Andrezgz", "id" : "Andrezgz", "data" : [ [ "Perl 5", 2 ] - ], - "name" : "Andrezgz" + ] }, { - "name" : "Athanasius", "data" : [ [ "Perl 5", 2 ] ], + "name" : "Athanasius", "id" : "Athanasius" }, { - "id" : "Daniel Mantovani", "name" : "Daniel Mantovani", + "id" : "Daniel Mantovani", "data" : [ [ "Perl 5", @@ -42,24 +45,24 @@ ] }, { + "id" : "Doug Schrag", + "name" : "Doug Schrag", "data" : [ [ "Perl 6", 2 ] - ], - "name" : "Doug Schrag", - "id" : "Doug Schrag" + ] }, { - "name" : "Duncan C. White", "data" : [ [ "Perl 5", 2 ] ], - "id" : "Duncan C. White" + "id" : "Duncan C. White", + "name" : "Duncan C. White" }, { "data" : [ @@ -68,31 +71,42 @@ 2 ] ], - "name" : "E. Choroba", - "id" : "E. Choroba" + "id" : "E. Choroba", + "name" : "E. Choroba" }, { + "name" : "Francis Whittle", "id" : "Francis Whittle", "data" : [ [ "Perl 6", 2 ] - ], - "name" : "Francis Whittle" + ] }, { + "id" : "Gustavo Chaves", "name" : "Gustavo Chaves", "data" : [ [ "Perl 5", 2 ] - ], - "id" : "Gustavo Chaves" + ] + }, + { + "name" : "Jaime Corchado", + "id" : "Jaime Corchado", + "data" : [ + [ + "Perl 5", + 2 + ] + ] }, { "name" : "Jaldhar H. Vyas", + "id" : "Jaldhar H. Vyas", "data" : [ [ "Perl 5", @@ -102,18 +116,17 @@ "Perl 6", 2 ] - ], - "id" : "Jaldhar H. Vyas" + ] }, { - "id" : "Dr James A. Smith", - "name" : "Dr James A. Smith", "data" : [ [ "Perl 5", 2 ] - ] + ], + "id" : "Dr James A. Smith", + "name" : "Dr James A. Smith" }, { "data" : [ @@ -130,14 +143,14 @@ "id" : "Joelle Maslak" }, { + "name" : "John Barrett", + "id" : "John Barrett", "data" : [ [ "Perl 5", 2 ] - ], - "name" : "John Barrett", - "id" : "John Barrett" + ] }, { "data" : [ @@ -146,18 +159,32 @@ 2 ] ], - "name" : "Lars Balker", - "id" : "Lars Balker" + "id" : "Lars Balker", + "name" : "Lars Balker" + }, + { + "id" : "Laurent Rosenfeld", + "name" : "Laurent Rosenfeld", + "data" : [ + [ + "Perl 5", + 2 + ], + [ + "Perl 6", + 2 + ] + ] }, { - "id" : "Mark Senn", "data" : [ [ "Perl 6", 2 ] ], - "name" : "Mark Senn" + "name" : "Mark Senn", + "id" : "Mark Senn" }, { "id" : "Robert Gratza", @@ -170,22 +197,33 @@ ] }, { + "name" : "Ruben Westerberg", + "id" : "Ruben Westerberg", + "data" : [ + [ + "Perl 5", + 2 + ], + [ + "Perl 6", + 2 + ] + ] + }, + { + "id" : "Simon Proctor", "name" : "Simon Proctor", "data" : [ [ "Perl 6", 2 ] - ], - "id" : "Simon Proctor" + ] } ] }, - "subtitle" : { - "text" : "[Champions: 17] Last updated at 2019-04-28 12:42:46 GMT" - }, - "xAxis" : { - "type" : "category" + "legend" : { + "enabled" : 0 }, "series" : [ { @@ -196,9 +234,9 @@ "y" : 2 }, { + "name" : "Andrezgz", "drilldown" : "Andrezgz", - "y" : 2, - "name" : "Andrezgz" + "y" : 2 }, { "name" : "Athanasius", @@ -206,106 +244,121 @@ "y" : 2 }, { - "drilldown" : "Daniel Mantovani", "y" : 2, - "name" : "Daniel Mantovani" + "name" : "Daniel Mantovani", + "drilldown" : "Daniel Mantovani" }, { + "drilldown" : "Doug Schrag", "name" : "Doug Schrag", - "y" : 2, - "drilldown" : "Doug Schrag" + "y" : 2 }, { + "drilldown" : "Duncan C. White", "name" : "Duncan C. White", - "y" : 2, - "drilldown" : "Duncan C. White" + "y" : 2 }, { + "name" : "E. Choroba", "drilldown" : "E. Choroba", - "y" : 2, - "name" : "E. Choroba" + "y" : 2 }, { - "name" : "Francis Whittle", "y" : 2, + "name" : "Francis Whittle", "drilldown" : "Francis Whittle" }, { - "name" : "Gustavo Chaves", "drilldown" : "Gustavo Chaves", + "name" : "Gustavo Chaves", "y" : 2 }, { - "name" : "Jaldhar H. Vyas", + "y" : 2, + "name" : "Jaime Corchado", + "drilldown" : "Jaime Corchado" + }, + { "y" : 4, - "drilldown" : "Jaldhar H. Vyas" + "drilldown" : "Jaldhar H. Vyas", + "name" : "Jaldhar H. Vyas" }, { - "drilldown" : "Dr James A. Smith", "y" : 2, - "name" : "Dr James A. Smith" + "name" : "Dr James A. Smith", + "drilldown" : "Dr James A. Smith" }, { - "y" : 4, + "name" : "Joelle Maslak", "drilldown" : "Joelle Maslak", - "name" : "Joelle Maslak" + "y" : 4 }, { - "drilldown" : "John Barrett", "y" : 2, + "drilldown" : "John Barrett", "name" : "John Barrett" }, { - "y" : 2, "drilldown" : "Lars Balker", - "name" : "Lars Balker" + "name" : "Lars Balker", + "y" : 2 + }, + { + "y" : 4, + "name" : "Laurent Rosenfeld", + "drilldown" : "Laurent Rosenfeld" }, { - "name" : "Mark Senn", + "y" : 2, "drilldown" : "Mark Senn", - "y" : 2 + "name" : "Mark Senn" }, { - "drilldown" : "Robert Gratza", "y" : 2, + "drilldown" : "Robert Gratza", "name" : "Robert Gratza" }, { + "name" : "Ruben Westerberg", + "drilldown" : "Ruben Westerberg", + "y" : 4 + }, + { + "drilldown" : "Simon Proctor", "name" : "Simon Proctor", - "y" : 2, - "drilldown" : "Simon Proctor" + "y" : 2 } ], "name" : "Champions", "colorByPoint" : 1 } ], - "title" : { - "text" : "Perl Weekly Challenge - 005" + "subtitle" : { + "text" : "[Champions: 20] Last updated at 2019-04-28 17:19:21 GMT" + }, + "tooltip" : { + "pointerFormat" : "{point.name}: {point.y:f}
", + "followPointer" : 1, + "headerFormat" : "{series.name}
" }, "yAxis" : { "title" : { "text" : "Total Solutions" } }, - "legend" : { - "enabled" : 0 + "title" : { + "text" : "Perl Weekly Challenge - 005" }, - "chart" : { - "type" : "column" + "xAxis" : { + "type" : "category" }, "plotOptions" : { "series" : { - "borderWidth" : 0, "dataLabels" : { "format" : "{point.y}", "enabled" : 1 - } + }, + "borderWidth" : 0 } - }, - "tooltip" : { - "headerFormat" : "{series.name}
", - "pointerFormat" : "{point.name}: {point.y:f}
", - "followPointer" : 1 } } diff --git a/stats/pwc-language-breakdown.json b/stats/pwc-language-breakdown.json index d0eaa9962f..6fa6073855 100644 --- a/stats/pwc-language-breakdown.json +++ b/stats/pwc-language-breakdown.json @@ -1,46 +1,12 @@ { - "subtitle" : { - "text" : "Click the columns to drilldown the language breakdown. Last updated at 2019-04-28 12:42:56 GMT" - }, - "legend" : { - "enabled" : "false" - }, - "title" : { - "text" : "Perl Weekly Challenge Language" - }, - "plotOptions" : { - "series" : { - "borderWidth" : 0, - "dataLabels" : { - "format" : "{point.y}", - "enabled" : 1 - } - } - }, - "yAxis" : { - "title" : { - "text" : "Total Solutions" - } - }, - "chart" : { - "type" : "column" - }, - "tooltip" : { - "followPointer" : "true", - "headerFormat" : "", - "pointFormat" : "{point.name}: {point.y:f}
" - }, - "xAxis" : { - "type" : "category" - }, "series" : [ { "name" : "Perl Weekly Challenge Languages", "data" : [ { "drilldown" : "001", - "y" : 113, - "name" : "#001 [P5=76 P6=37]" + "name" : "#001 [P5=76 P6=37]", + "y" : 113 }, { "y" : 95, @@ -48,27 +14,53 @@ "drilldown" : "002" }, { + "y" : 58, "drilldown" : "003", - "name" : "#003 [P5=32 P6=26]", - "y" : 58 + "name" : "#003 [P5=32 P6=26]" }, { - "y" : 75, "name" : "#004 [P5=46 P6=29]", - "drilldown" : "004" + "drilldown" : "004", + "y" : 75 }, { - "name" : "#005 [P5=24 P6=14]", - "y" : 38, - "drilldown" : "005" + "name" : "#005 [P5=30 P6=18]", + "drilldown" : "005", + "y" : 48 } ], "colorByPoint" : "true" } ], + "plotOptions" : { + "series" : { + "dataLabels" : { + "enabled" : 1, + "format" : "{point.y}" + }, + "borderWidth" : 0 + } + }, + "title" : { + "text" : "Perl Weekly Challenge Language" + }, + "tooltip" : { + "followPointer" : "true", + "pointFormat" : "{point.name}: {point.y:f}
", + "headerFormat" : "" + }, + "yAxis" : { + "title" : { + "text" : "Total Solutions" + } + }, + "subtitle" : { + "text" : "Click the columns to drilldown the language breakdown. Last updated at 2019-04-28 17:19:44 GMT" + }, "drilldown" : { "series" : [ { + "id" : "001", "data" : [ [ "Perl 5", @@ -79,10 +71,10 @@ 37 ] ], - "name" : "001", - "id" : "001" + "name" : "001" }, { + "name" : "002", "data" : [ [ "Perl 5", @@ -93,10 +85,11 @@ 32 ] ], - "id" : "002", - "name" : "002" + "id" : "002" }, { + "id" : "003", + "name" : "003", "data" : [ [ "Perl 5", @@ -106,11 +99,10 @@ "Perl 6", 26 ] - ], - "name" : "003", - "id" : "003" + ] }, { + "name" : "004", "data" : [ [ "Perl 5", @@ -121,23 +113,31 @@ 29 ] ], - "id" : "004", - "name" : "004" + "id" : "004" }, { + "id" : "005", + "name" : "005", "data" : [ [ "Perl 5", - 24 + 30 ], [ "Perl 6", - 14 + 18 ] - ], - "name" : "005", - "id" : "005" + ] } ] + }, + "xAxis" : { + "type" : "category" + }, + "legend" : { + "enabled" : "false" + }, + "chart" : { + "type" : "column" } } diff --git a/stats/pwc-leaders.json b/stats/pwc-leaders.json index 13977665ee..81cd51432c 100644 --- a/stats/pwc-leaders.json +++ b/stats/pwc-leaders.json @@ -1,105 +1,97 @@ { - "tooltip" : { - "pointFormat" : "{point.name}: {point.y:f}
", - "headerFormat" : "", - "followPointer" : "true" - }, - "legend" : { - "enabled" : "false" - }, "series" : [ { "name" : "Perl Weekly Challenge Leaders", "data" : [ { - "drilldown" : "Joelle Maslak", - "name" : "#1: Joelle Maslak", - "y" : 42 + "y" : 48, + "name" : "#1: Laurent Rosenfeld", + "drilldown" : "Laurent Rosenfeld" }, { - "y" : 40, - "name" : "#2: Jaldhar H. Vyas", - "drilldown" : "Jaldhar H. Vyas" + "y" : 42, + "name" : "#2: Joelle Maslak", + "drilldown" : "Joelle Maslak" }, { - "y" : 40, - "name" : "#3: Laurent Rosenfeld", - "drilldown" : "Laurent Rosenfeld" + "drilldown" : "Jaldhar H. Vyas", + "name" : "#3: Jaldhar H. Vyas", + "y" : 40 }, { - "y" : 36, "name" : "#4: Dr James A. Smith", - "drilldown" : "Dr James A. Smith" + "drilldown" : "Dr James A. Smith", + "y" : 36 }, { - "y" : 36, "name" : "#5: Simon Proctor", - "drilldown" : "Simon Proctor" + "drilldown" : "Simon Proctor", + "y" : 36 }, { - "y" : 32, + "drilldown" : "Jo Christian Oterhals", "name" : "#6: Jo Christian Oterhals", - "drilldown" : "Jo Christian Oterhals" + "y" : 32 }, { - "y" : 32, + "drilldown" : "Nick Logan", "name" : "#7: Nick Logan", - "drilldown" : "Nick Logan" + "y" : 32 + }, + { + "name" : "#8: Ruben Westerberg", + "drilldown" : "Ruben Westerberg", + "y" : 32 }, { + "y" : 30, "drilldown" : "Adam Russell", - "name" : "#8: Adam Russell", - "y" : 30 + "name" : "#9: Adam Russell" }, { + "y" : 28, "drilldown" : "Lars Balker", - "name" : "#9: Lars Balker", - "y" : 28 + "name" : "#10: Lars Balker" }, { - "name" : "#10: Mark Senn", + "y" : 26, "drilldown" : "Mark Senn", - "y" : 26 + "name" : "#11: Mark Senn" }, { - "y" : 24, - "drilldown" : "Ruben Westerberg", - "name" : "#11: Ruben Westerberg" + "drilldown" : "Kian-Meng Ang", + "name" : "#12: Kian-Meng Ang", + "y" : 24 }, { "y" : 22, "drilldown" : "Gustavo Chaves", - "name" : "#12: Gustavo Chaves" - }, - { - "y" : 22, - "name" : "#13: Kian-Meng Ang", - "drilldown" : "Kian-Meng Ang" + "name" : "#13: Gustavo Chaves" }, { "y" : 20, - "drilldown" : "Andrezgz", - "name" : "#14: Andrezgz" + "name" : "#14: Andrezgz", + "drilldown" : "Andrezgz" }, { - "y" : 20, + "name" : "#15: Athanasius", "drilldown" : "Athanasius", - "name" : "#15: Athanasius" + "y" : 20 }, { - "y" : 20, "drilldown" : "Doug Schrag", - "name" : "#16: Doug Schrag" + "name" : "#16: Doug Schrag", + "y" : 20 }, { "y" : 18, - "name" : "#17: Arne Sommer", - "drilldown" : "Arne Sommer" + "drilldown" : "Arne Sommer", + "name" : "#17: Arne Sommer" }, { - "drilldown" : "Francis Whittle", + "y" : 18, "name" : "#18: Francis Whittle", - "y" : 18 + "drilldown" : "Francis Whittle" }, { "name" : "#19: Duncan C. White", @@ -107,34 +99,34 @@ "y" : 16 }, { - "drilldown" : "Robert Gratza", + "y" : 16, "name" : "#20: Robert Gratza", - "y" : 16 + "drilldown" : "Robert Gratza" }, { - "name" : "#21: John Barrett", + "y" : 14, "drilldown" : "John Barrett", - "y" : 14 + "name" : "#21: John Barrett" }, { "y" : 12, - "name" : "#22: Daniel Mantovani", - "drilldown" : "Daniel Mantovani" + "drilldown" : "Daniel Mantovani", + "name" : "#22: Daniel Mantovani" }, { - "drilldown" : "Philippe Bruhat", + "y" : 12, "name" : "#23: Philippe Bruhat", - "y" : 12 + "drilldown" : "Philippe Bruhat" }, { - "drilldown" : "Sergio Iglesias", + "y" : 12, "name" : "#24: Sergio Iglesias", - "y" : 12 + "drilldown" : "Sergio Iglesias" }, { + "y" : 10, "drilldown" : "Khalid", - "name" : "#25: Khalid", - "y" : 10 + "name" : "#25: Khalid" }, { "y" : 10, @@ -142,234 +134,237 @@ "drilldown" : "Steve Rogerson" }, { - "y" : 10, "name" : "#27: Veesh Goldman", - "drilldown" : "Veesh Goldman" + "drilldown" : "Veesh Goldman", + "y" : 10 }, { - "y" : 8, + "name" : "#28: Alex Daniel", "drilldown" : "Alex Daniel", - "name" : "#28: Alex Daniel" + "y" : 8 }, { - "y" : 8, "name" : "#29: Arpad Toth", - "drilldown" : "Arpad Toth" + "drilldown" : "Arpad Toth", + "y" : 8 }, { + "y" : 8, "name" : "#30: Bob Kleemann", - "drilldown" : "Bob Kleemann", - "y" : 8 + "drilldown" : "Bob Kleemann" }, { - "y" : 8, "drilldown" : "Chenyf", - "name" : "#31: Chenyf" + "name" : "#31: Chenyf", + "y" : 8 }, { - "name" : "#32: David Kayal", "drilldown" : "David Kayal", + "name" : "#32: David Kayal", "y" : 8 }, { - "name" : "#33: Matt Latusek", + "y" : 8, + "drilldown" : "Jaime Corchado", + "name" : "#33: Jaime Corchado" + }, + { + "y" : 8, "drilldown" : "Matt Latusek", - "y" : 8 + "name" : "#34: Matt Latusek" }, { - "name" : "#34: Maxim Kolodyazhny", - "drilldown" : "Maxim Kolodyazhny", - "y" : 8 + "y" : 8, + "name" : "#35: Maxim Kolodyazhny", + "drilldown" : "Maxim Kolodyazhny" }, { "y" : 8, - "name" : "#35: Ozzy", - "drilldown" : "Ozzy" + "drilldown" : "Ozzy", + "name" : "#36: Ozzy" }, { "drilldown" : "Simon Reinhardt", - "name" : "#36: Simon Reinhardt", + "name" : "#37: Simon Reinhardt", "y" : 8 }, { - "name" : "#37: Steven Wilson", + "name" : "#38: Steven Wilson", "drilldown" : "Steven Wilson", "y" : 8 }, { "y" : 6, - "name" : "#38: Ailbhe Tweedie", + "name" : "#39: Ailbhe Tweedie", "drilldown" : "Ailbhe Tweedie" }, { "y" : 6, "drilldown" : "Dave Cross", - "name" : "#39: Dave Cross" + "name" : "#40: Dave Cross" }, { "y" : 6, "drilldown" : "Dave Jacoby", - "name" : "#40: Dave Jacoby" + "name" : "#41: Dave Jacoby" }, { - "y" : 6, + "name" : "#42: E. Choroba", "drilldown" : "E. Choroba", - "name" : "#41: E. Choroba" + "y" : 6 }, { "y" : 6, - "name" : "#42: Freddie B", + "name" : "#43: Freddie B", "drilldown" : "Freddie B" }, { - "y" : 6, - "name" : "#43: Jeremy Carman", - "drilldown" : "Jeremy Carman" + "name" : "#44: Jeremy Carman", + "drilldown" : "Jeremy Carman", + "y" : 6 }, { - "name" : "#44: Kivanc Yazan", - "drilldown" : "Kivanc Yazan", - "y" : 6 + "y" : 6, + "name" : "#45: Kivanc Yazan", + "drilldown" : "Kivanc Yazan" }, { "y" : 6, - "name" : "#45: Neil Bowers", - "drilldown" : "Neil Bowers" + "drilldown" : "Neil Bowers", + "name" : "#46: Neil Bowers" }, { - "name" : "#46: Pete Houston", + "y" : 6, "drilldown" : "Pete Houston", - "y" : 6 + "name" : "#47: Pete Houston" }, { "y" : 6, - "drilldown" : "Sean Meininger", - "name" : "#47: Sean Meininger" + "name" : "#48: Sean Meininger", + "drilldown" : "Sean Meininger" }, { - "name" : "#48: Abigail", + "name" : "#49: Abigail", "drilldown" : "Abigail", "y" : 4 }, { - "name" : "#49: Alicia Bielsa", + "name" : "#50: Alicia Bielsa", "drilldown" : "Alicia Bielsa", "y" : 4 - }, - { - "y" : 4, - "name" : "#50: Antonio Gamiz", - "drilldown" : "Antonio Gamiz" } ], "colorByPoint" : "true" } ], + "tooltip" : { + "followPointer" : "true", + "pointFormat" : "{point.name}: {point.y:f}
", + "headerFormat" : "" + }, "title" : { "text" : "Perl Weekly Challenge Leaders (TOP 50)" }, - "yAxis" : { - "title" : { - "text" : "Total Score" - } + "subtitle" : { + "text" : "Click the columns to drilldown the score breakdown. Last updated at 2019-04-28 17:19:41 GMT" }, - "chart" : { - "type" : "column" + "xAxis" : { + "type" : "category" }, "drilldown" : { "series" : [ { - "id" : "Joelle Maslak", - "name" : "Joelle Maslak", "data" : [ [ - "Perl 6", - 10 + "Blog", + 5 ], [ "Perl 5", 10 ], [ - "Blog", - 1 + "Perl 6", + 9 ] - ] + ], + "name" : "Laurent Rosenfeld", + "id" : "Laurent Rosenfeld" }, { "data" : [ [ - "Perl 6", - 10 + "Blog", + 1 ], [ "Perl 5", 10 + ], + [ + "Perl 6", + 10 ] ], - "id" : "Jaldhar H. Vyas", - "name" : "Jaldhar H. Vyas" + "id" : "Joelle Maslak", + "name" : "Joelle Maslak" }, { "data" : [ - [ - "Perl 5", - 8 - ], [ "Perl 6", - 7 + 10 ], [ - "Blog", - 5 + "Perl 5", + 10 ] ], - "id" : "Laurent Rosenfeld", - "name" : "Laurent Rosenfeld" + "name" : "Jaldhar H. Vyas", + "id" : "Jaldhar H. Vyas" }, { "name" : "Dr James A. Smith", "id" : "Dr James A. Smith", "data" : [ - [ - "Perl 5", - 10 - ], [ "Perl 6", 8 + ], + [ + "Perl 5", + 10 ] ] }, { + "name" : "Simon Proctor", + "id" : "Simon Proctor", "data" : [ [ "Perl 5", 4 ], - [ - "Perl 6", - 10 - ], [ "Blog", 4 + ], + [ + "Perl 6", + 10 ] - ], - "name" : "Simon Proctor", - "id" : "Simon Proctor" + ] }, { - "id" : "Jo Christian Oterhals", "name" : "Jo Christian Oterhals", + "id" : "Jo Christian Oterhals", "data" : [ [ - "Perl 5", + "Perl 6", 6 ], [ - "Perl 6", + "Perl 5", 6 ], [ @@ -379,32 +374,32 @@ ] }, { + "id" : "Nick Logan", + "name" : "Nick Logan", "data" : [ [ - "Perl 5", + "Perl 6", 8 ], [ - "Perl 6", + "Perl 5", 8 ] - ], - "id" : "Nick Logan", - "name" : "Nick Logan" + ] }, { "data" : [ [ - "Blog", - 5 + "Perl 5", + 8 ], [ - "Perl 5", - 10 + "Perl 6", + 8 ] ], - "name" : "Adam Russell", - "id" : "Adam Russell" + "id" : "Ruben Westerberg", + "name" : "Ruben Westerberg" }, { "data" : [ @@ -413,78 +408,78 @@ 10 ], [ - "Perl 6", - 4 + "Blog", + 5 ] ], - "name" : "Lars Balker", - "id" : "Lars Balker" + "id" : "Adam Russell", + "name" : "Adam Russell" }, { - "id" : "Mark Senn", - "name" : "Mark Senn", "data" : [ [ - "Blog", - 3 + "Perl 6", + 4 ], [ - "Perl 6", + "Perl 5", 10 ] - ] + ], + "id" : "Lars Balker", + "name" : "Lars Balker" }, { - "name" : "Ruben Westerberg", - "id" : "Ruben Westerberg", "data" : [ [ - "Perl 5", - 6 + "Perl 6", + 10 ], [ - "Perl 6", - 6 + "Blog", + 3 ] - ] + ], + "id" : "Mark Senn", + "name" : "Mark Senn" }, { - "id" : "Gustavo Chaves", - "name" : "Gustavo Chaves", + "id" : "Kian-Meng Ang", + "name" : "Kian-Meng Ang", "data" : [ [ - "Blog", - 4 + "Perl 5", + 8 ], [ - "Perl 5", - 7 + "Blog", + 4 ] ] }, { - "name" : "Kian-Meng Ang", - "id" : "Kian-Meng Ang", + "name" : "Gustavo Chaves", + "id" : "Gustavo Chaves", "data" : [ [ "Perl 5", - 8 + 7 ], [ "Blog", - 3 + 4 ] ] }, { + "id" : "Andrezgz", + "name" : "Andrezgz", "data" : [ [ "Perl 5", 10 ] - ], - "name" : "Andrezgz", - "id" : "Andrezgz" + ] }, { "data" : [ @@ -497,42 +492,42 @@ "name" : "Athanasius" }, { - "id" : "Doug Schrag", - "name" : "Doug Schrag", "data" : [ [ "Perl 6", 10 ] - ] + ], + "name" : "Doug Schrag", + "id" : "Doug Schrag" }, { - "name" : "Arne Sommer", "id" : "Arne Sommer", + "name" : "Arne Sommer", "data" : [ - [ - "Perl 6", - 6 - ], [ "Blog", 3 + ], + [ + "Perl 6", + 6 ] ] }, { + "id" : "Francis Whittle", + "name" : "Francis Whittle", "data" : [ - [ - "Perl 6", - 6 - ], [ "Blog", 3 + ], + [ + "Perl 6", + 6 ] - ], - "id" : "Francis Whittle", - "name" : "Francis Whittle" + ] }, { "data" : [ @@ -548,13 +543,13 @@ "name" : "Robert Gratza", "id" : "Robert Gratza", "data" : [ - [ - "Perl 6", - 6 - ], [ "Perl 5", 2 + ], + [ + "Perl 6", + 6 ] ] }, @@ -565,32 +560,32 @@ 7 ] ], - "name" : "John Barrett", - "id" : "John Barrett" + "id" : "John Barrett", + "name" : "John Barrett" }, { + "id" : "Daniel Mantovani", + "name" : "Daniel Mantovani", "data" : [ [ "Perl 5", 6 ] - ], - "id" : "Daniel Mantovani", - "name" : "Daniel Mantovani" + ] }, { + "name" : "Philippe Bruhat", + "id" : "Philippe Bruhat", "data" : [ - [ - "Blog", - 2 - ], [ "Perl 5", 4 + ], + [ + "Blog", + 2 ] - ], - "id" : "Philippe Bruhat", - "name" : "Philippe Bruhat" + ] }, { "data" : [ @@ -599,26 +594,26 @@ 6 ] ], - "id" : "Sergio Iglesias", - "name" : "Sergio Iglesias" + "name" : "Sergio Iglesias", + "id" : "Sergio Iglesias" }, { + "name" : "Khalid", + "id" : "Khalid", "data" : [ - [ - "Blog", - 1 - ], [ "Perl 5", 4 + ], + [ + "Blog", + 1 ] - ], - "id" : "Khalid", - "name" : "Khalid" + ] }, { - "id" : "Steve Rogerson", "name" : "Steve Rogerson", + "id" : "Steve Rogerson", "data" : [ [ "Perl 5", @@ -641,8 +636,8 @@ "name" : "Veesh Goldman" }, { - "id" : "Alex Daniel", "name" : "Alex Daniel", + "id" : "Alex Daniel", "data" : [ [ "Perl 6", @@ -651,14 +646,14 @@ ] }, { - "id" : "Arpad Toth", - "name" : "Arpad Toth", "data" : [ [ "Perl 5", 4 ] - ] + ], + "name" : "Arpad Toth", + "id" : "Arpad Toth" }, { "data" : [ @@ -671,14 +666,14 @@ "name" : "Bob Kleemann" }, { - "name" : "Chenyf", - "id" : "Chenyf", "data" : [ [ "Perl 6", 4 ] - ] + ], + "id" : "Chenyf", + "name" : "Chenyf" }, { "data" : [ @@ -687,12 +682,12 @@ 4 ] ], - "name" : "David Kayal", - "id" : "David Kayal" + "id" : "David Kayal", + "name" : "David Kayal" }, { - "id" : "Matt Latusek", - "name" : "Matt Latusek", + "id" : "Jaime Corchado", + "name" : "Jaime Corchado", "data" : [ [ "Perl 5", @@ -707,32 +702,32 @@ 4 ] ], - "name" : "Maxim Kolodyazhny", - "id" : "Maxim Kolodyazhny" + "name" : "Matt Latusek", + "id" : "Matt Latusek" }, { - "name" : "Ozzy", - "id" : "Ozzy", "data" : [ [ - "Perl 6", + "Perl 5", 4 ] - ] + ], + "id" : "Maxim Kolodyazhny", + "name" : "Maxim Kolodyazhny" }, { "data" : [ [ - "Perl 5", + "Perl 6", 4 ] ], - "name" : "Simon Reinhardt", - "id" : "Simon Reinhardt" + "name" : "Ozzy", + "id" : "Ozzy" }, { - "name" : "Steven Wilson", - "id" : "Steven Wilson", + "name" : "Simon Reinhardt", + "id" : "Simon Reinhardt", "data" : [ [ "Perl 5", @@ -744,23 +739,33 @@ "data" : [ [ "Perl 5", - 3 + 4 ] ], + "name" : "Steven Wilson", + "id" : "Steven Wilson" + }, + { "name" : "Ailbhe Tweedie", - "id" : "Ailbhe Tweedie" + "id" : "Ailbhe Tweedie", + "data" : [ + [ + "Perl 5", + 3 + ] + ] }, { - "name" : "Dave Cross", "id" : "Dave Cross", + "name" : "Dave Cross", "data" : [ - [ - "Blog", - 1 - ], [ "Perl 5", 2 + ], + [ + "Blog", + 1 ] ] }, @@ -780,13 +785,13 @@ }, { "data" : [ - [ - "Blog", - 1 - ], [ "Perl 5", 2 + ], + [ + "Blog", + 1 ] ], "id" : "E. Choroba", @@ -806,13 +811,13 @@ "name" : "Jeremy Carman", "id" : "Jeremy Carman", "data" : [ - [ - "Perl 6", - 1 - ], [ "Perl 5", 2 + ], + [ + "Perl 6", + 1 ] ] }, @@ -827,14 +832,14 @@ "name" : "Kivanc Yazan" }, { - "name" : "Neil Bowers", - "id" : "Neil Bowers", "data" : [ [ "Perl 5", 3 ] - ] + ], + "id" : "Neil Bowers", + "name" : "Neil Bowers" }, { "data" : [ @@ -847,28 +852,18 @@ "id" : "Pete Houston" }, { + "name" : "Sean Meininger", + "id" : "Sean Meininger", "data" : [ [ "Perl 6", 3 ] - ], - "name" : "Sean Meininger", - "id" : "Sean Meininger" + ] }, { - "data" : [ - [ - "Perl 5", - 2 - ] - ], "id" : "Abigail", - "name" : "Abigail" - }, - { - "id" : "Alicia Bielsa", - "name" : "Alicia Bielsa", + "name" : "Abigail", "data" : [ [ "Perl 5", @@ -877,30 +872,35 @@ ] }, { - "name" : "Antonio Gamiz", - "id" : "Antonio Gamiz", + "name" : "Alicia Bielsa", + "id" : "Alicia Bielsa", "data" : [ [ - "Perl 6", + "Perl 5", 2 ] ] } ] }, - "xAxis" : { - "type" : "category" - }, - "subtitle" : { - "text" : "Click the columns to drilldown the score breakdown. Last updated at 2019-04-28 12:42:52 GMT" - }, "plotOptions" : { "series" : { + "borderWidth" : 0, "dataLabels" : { - "enabled" : 1, - "format" : "{point.y}" - }, - "borderWidth" : 0 + "format" : "{point.y}", + "enabled" : 1 + } } + }, + "chart" : { + "type" : "column" + }, + "yAxis" : { + "title" : { + "text" : "Total Score" + } + }, + "legend" : { + "enabled" : "false" } } diff --git a/stats/pwc-summary-1-30.json b/stats/pwc-summary-1-30.json index a82f5d5755..a3b48ad86b 100644 --- a/stats/pwc-summary-1-30.json +++ b/stats/pwc-summary-1-30.json @@ -1,6 +1,6 @@ { - "subtitle" : { - "text" : "[Champions: 30] Last updated at 2019-04-28 12:42:47 GMT" + "title" : { + "text" : "Perl Weekly Challenge - 2019" }, "series" : [ { @@ -39,6 +39,7 @@ ] }, { + "name" : "Perl 6", "data" : [ 0, 0, @@ -70,28 +71,9 @@ 0, 0, 0 - ], - "name" : "Perl 6" + ] } ], - "yAxis" : { - "title" : { - "text" : "" - }, - "min" : 0 - }, - "title" : { - "text" : "Perl Weekly Challenge - 2019" - }, - "plotOptions" : { - "column" : { - "stacking" : "percent" - } - }, - "tooltip" : { - "shared" : 1, - "pointFormat" : "{series.name}: {point.y}
" - }, "xAxis" : { "categories" : [ "Abigail", @@ -126,7 +108,25 @@ "Gustavo Chaves" ] }, + "plotOptions" : { + "column" : { + "stacking" : "percent" + } + }, "chart" : { "type" : "column" + }, + "subtitle" : { + "text" : "[Champions: 30] Last updated at 2019-04-28 17:19:21 GMT" + }, + "yAxis" : { + "title" : { + "text" : "" + }, + "min" : 0 + }, + "tooltip" : { + "pointFormat" : "{series.name}: {point.y}
", + "shared" : 1 } } diff --git a/stats/pwc-summary-31-60.json b/stats/pwc-summary-31-60.json index cdc45914ac..34448cc952 100644 --- a/stats/pwc-summary-31-60.json +++ b/stats/pwc-summary-31-60.json @@ -1,10 +1,12 @@ { + "title" : { + "text" : "Perl Weekly Challenge - 2019" + }, "series" : [ { - "name" : "Perl 5", "data" : [ 0, - 2, + 4, 10, 10, 2, @@ -19,7 +21,7 @@ 8, 3, 10, - 8, + 10, 1, 0, 0, @@ -33,7 +35,8 @@ 0, 2, 3 - ] + ], + "name" : "Perl 5" }, { "data" : [ @@ -53,7 +56,7 @@ 0, 0, 4, - 7, + 9, 1, 10, 2, @@ -71,12 +74,6 @@ "name" : "Perl 6" } ], - "subtitle" : { - "text" : "[Champions: 30] Last updated at 2019-04-28 12:42:47 GMT" - }, - "chart" : { - "type" : "column" - }, "xAxis" : { "categories" : [ "Jacques Guinnebault", @@ -111,22 +108,25 @@ "Pete Houston" ] }, - "tooltip" : { - "shared" : 1, - "pointFormat" : "{series.name}: {point.y}
" + "chart" : { + "type" : "column" }, "plotOptions" : { "column" : { "stacking" : "percent" } }, - "title" : { - "text" : "Perl Weekly Challenge - 2019" + "subtitle" : { + "text" : "[Champions: 30] Last updated at 2019-04-28 17:19:21 GMT" + }, + "tooltip" : { + "pointFormat" : "{series.name}: {point.y}
", + "shared" : 1 }, "yAxis" : { - "min" : 0, "title" : { "text" : "" - } + }, + "min" : 0 } } diff --git a/stats/pwc-summary-61-90.json b/stats/pwc-summary-61-90.json index b73babd541..ff22537b6e 100644 --- a/stats/pwc-summary-61-90.json +++ b/stats/pwc-summary-61-90.json @@ -1,21 +1,24 @@ { "yAxis" : { + "min" : 0, "title" : { "text" : "" - }, - "min" : 0 + } + }, + "tooltip" : { + "shared" : 1, + "pointFormat" : "{series.name}: {point.y}
" + }, + "subtitle" : { + "text" : "[Champions: 17] Last updated at 2019-04-28 17:19:21 GMT" }, "plotOptions" : { "column" : { "stacking" : "percent" } }, - "title" : { - "text" : "Perl Weekly Challenge - 2019" - }, - "tooltip" : { - "shared" : 1, - "pointFormat" : "{series.name}: {point.y}
" + "chart" : { + "type" : "column" }, "xAxis" : { "categories" : [ @@ -38,19 +41,14 @@ "Yary H" ] }, - "chart" : { - "type" : "column" - }, - "subtitle" : { - "text" : "[Champions: 17] Last updated at 2019-04-28 12:42:47 GMT" - }, "series" : [ { + "name" : "Perl 5", "data" : [ 4, 2, 2, - 6, + 8, 0, 6, 4, @@ -64,16 +62,14 @@ 5, 1, 1 - ], - "name" : "Perl 5" + ] }, { - "name" : "Perl 6", "data" : [ 0, 0, 6, - 6, + 8, 3, 0, 10, @@ -87,7 +83,11 @@ 0, 0, 1 - ] + ], + "name" : "Perl 6" } - ] + ], + "title" : { + "text" : "Perl Weekly Challenge - 2019" + } } diff --git a/stats/pwc-summary.json b/stats/pwc-summary.json index 4bf5c3ef59..c7d3b59e5c 100644 --- a/stats/pwc-summary.json +++ b/stats/pwc-summary.json @@ -1,4 +1,17 @@ { + "title" : { + "text" : "Perl Weekly Challenge - 2019" + }, + "yAxis" : { + "min" : 0, + "title" : { + "text" : "" + } + }, + "tooltip" : { + "pointFormat" : "{series.name}: {point.y}
", + "shared" : 1 + }, "series" : [ { "data" : [ @@ -33,7 +46,7 @@ 0, 7, 0, - 2, + 4, 10, 10, 2, @@ -48,7 +61,7 @@ 8, 3, 10, - 8, + 10, 1, 0, 0, @@ -65,7 +78,7 @@ 4, 2, 2, - 6, + 8, 0, 6, 4, @@ -130,7 +143,7 @@ 0, 0, 4, - 7, + 9, 1, 10, 2, @@ -147,7 +160,7 @@ 0, 0, 6, - 6, + 8, 3, 0, 10, @@ -165,8 +178,16 @@ "name" : "Perl 6" } ], - "title" : { - "text" : "Perl Weekly Challenge - 2019" + "subtitle" : { + "text" : "[Champions: 77] Last updated at 2019-04-28 17:19:21 GMT" + }, + "chart" : { + "type" : "column" + }, + "plotOptions" : { + "column" : { + "stacking" : "percent" + } }, "xAxis" : { "categories" : [ @@ -248,26 +269,5 @@ "William Gilmore", "Yary H" ] - }, - "subtitle" : { - "text" : "[Champions: 77] Last updated at 2019-04-28 12:42:46 GMT" - }, - "tooltip" : { - "pointFormat" : "{series.name}: {point.y}
", - "shared" : 1 - }, - "plotOptions" : { - "column" : { - "stacking" : "percent" - } - }, - "chart" : { - "type" : "column" - }, - "yAxis" : { - "min" : 0, - "title" : { - "text" : "" - } } } -- cgit