From 383eb02731cdd702a7dd410326681b2bf9f380fa Mon Sep 17 00:00:00 2001 From: Mohammad S Anwar Date: Thu, 26 Sep 2019 20:17:10 +0100 Subject: - Added solutions by Kevin Colyer. --- challenge-027/kevin-colyer/perl6/ch-1.p6 | 65 ++++ challenge-027/kevin-colyer/perl6/ch-2.p6 | 42 +++ stats/pwc-current.json | 229 ++++++------ stats/pwc-language-breakdown-summary.json | 48 +-- stats/pwc-language-breakdown.json | 404 ++++++++++---------- stats/pwc-leaders.json | 596 +++++++++++++++--------------- stats/pwc-summary-1-30.json | 36 +- stats/pwc-summary-31-60.json | 118 +++--- stats/pwc-summary-61-90.json | 46 +-- stats/pwc-summary-91-120.json | 96 ++--- stats/pwc-summary.json | 282 +++++++------- 11 files changed, 1042 insertions(+), 920 deletions(-) create mode 100644 challenge-027/kevin-colyer/perl6/ch-1.p6 create mode 100644 challenge-027/kevin-colyer/perl6/ch-2.p6 diff --git a/challenge-027/kevin-colyer/perl6/ch-1.p6 b/challenge-027/kevin-colyer/perl6/ch-1.p6 new file mode 100644 index 0000000000..f2e3fed76c --- /dev/null +++ b/challenge-027/kevin-colyer/perl6/ch-1.p6 @@ -0,0 +1,65 @@ +#!/usr/bin/perl6 +use v6; + +use Test; + +# 27.1 Write a script to find the intersection of two straight lines. The co-ordinates of the two lines should be provided as command line parameter. For example: +# +# The two ends of Line 1 are represented as co-ordinates (a,b) and (c,d). +# +# The two ends of Line 2 are represented as co-ordinates (p,q) and (r,s). +# +# The script should print the co-ordinates of point of intersection of the above two lines. + +#| Prints intersection point of two lines given as 1,2,3,4 5,6,7,8 +multi MAIN(Str $line1,Str $line2) { + my ($meet,$x,$y,$comment) = intersection(| $line1.split(','), | $line2.split(',')); + say $meet ?? "$x,$y" !! $comment; + exit; +} + +sub intersection($a,$b,$c,$d,$e,$f,$g,$h) { + # line 1 a,b -> c,d + # line 2 e,f -> g,h + + my $m1=($b-$d)/($a-$c); + my $m2=($f-$h)/($e-$g); + + return (False,Nil,Nil,"Do not intersect: lines are parallel") if $m1==$m2; + + # y=dydx1.x-dydx1.a+b == y=dydx2.x-dydx2.e+f + + # x=dydx1.a-b/dydx1 + # wrong worong worng my $x=($m1*$a-$b)/$m1; + + my $x=($f-$b+$m1*$a-$m2*$e)/($m1-$m2); + + my $y=$m2*$x-$m2*$e+$f; + + return (False,Nil,Nil,"Do not intersect: x is not on line 1") if $x < $a < $c or $x > $c > $a; + return (False,Nil,Nil,"Do not intersect: y is not on line 1") if $y < $b < $d or $y > $d > $b; + return (False,Nil,Nil,"Do not intersect: x is not on line 2") if $x < $e < $g or $x > $g > $e; + return (False,Nil,Nil,"Do not intersect: y is not on line 2") if $y < $f < $h or $y > $h > $f; + + return (True,$x,$y,"Lines intersect at $x,$y"); + +} + +multi MAIN('test') { + my ($meet,$x,$y,$comment) = intersection(1,1,3,3, 1,3,3,1); + is $meet,True,"Test A - lines meet"; + is $x,2,"Test A - lines meet - x"; + is $y,2,"Test A - lines meet - y"; + diag $comment; + ($meet,$x,$y,$comment) = intersection(1,1,3,3, 1,2,3,4); + is $meet,False,"Test A - lines meet"; + diag $comment; + ($meet,$x,$y,$comment) = intersection(1,1,3,3, 4,3,6,1); + is $meet,False,"Test A - lines meet"; + diag $comment; + ($meet,$x,$y,$comment) = intersection(1,1,3,3, 1,1,3,3); + is $meet,False,"Test D - lines are parallel"; + + + done-testing; +} diff --git a/challenge-027/kevin-colyer/perl6/ch-2.p6 b/challenge-027/kevin-colyer/perl6/ch-2.p6 new file mode 100644 index 0000000000..dcf793c848 --- /dev/null +++ b/challenge-027/kevin-colyer/perl6/ch-2.p6 @@ -0,0 +1,42 @@ +#!/usr/bin/perl6 +use v6; + +use Test; + +# 27.2 Write a script that allows you to capture/display historical data. It could be an object or a scalar. For example +# +# my $x = 10; $x = 20; $x -= 5; +# +# After the above operations, it should list $x historical value in order. + +# with ideas from https://stackoverflow.com/questions/31665384/how-does-one-write-custom-accessor-methods-in-perl6 +class HistoryInt { + has Int $.x =0 ; + has @.history; + + # overwrite the method the attribute declaration added + method x () is rw { + Proxy.new( + FETCH => -> $ { $!x }, + STORE => -> $, Int $new { + $!x = $new; + @!history.push: $new; + } + ) + } + method History () { + @!history; + } +} + +my $h=HistoryInt.new(); + +$h.x=10; +is $h.History,(10),"list of first op"; +$h.x=20; +is $h.History,(10,20),"list of ops"; +$h.x-=5; +is $h.History,(10,20,15),"list of ops"; + +done-testing; + diff --git a/stats/pwc-current.json b/stats/pwc-current.json index 2473823a32..83ac573e9b 100644 --- a/stats/pwc-current.json +++ b/stats/pwc-current.json @@ -1,59 +1,160 @@ { + "series" : [ + { + "name" : "Perl Weekly Challenge - 027", + "data" : [ + { + "y" : 2, + "drilldown" : "Andrezgz", + "name" : "Andrezgz" + }, + { + "y" : 2, + "drilldown" : "Duane Powell", + "name" : "Duane Powell" + }, + { + "y" : 2, + "name" : "E. Choroba", + "drilldown" : "E. Choroba" + }, + { + "y" : 2, + "name" : "Kevin Colyer", + "drilldown" : "Kevin Colyer" + }, + { + "name" : "Mark Anderson", + "drilldown" : "Mark Anderson", + "y" : 1 + }, + { + "drilldown" : "Noud", + "name" : "Noud", + "y" : 2 + }, + { + "y" : 3, + "drilldown" : "Roger Bell West", + "name" : "Roger Bell West" + }, + { + "y" : 2, + "drilldown" : "Simon Proctor", + "name" : "Simon Proctor" + }, + { + "y" : 2, + "name" : "Trenton Langer", + "drilldown" : "Trenton Langer" + }, + { + "drilldown" : "Yet Ebreo", + "name" : "Yet Ebreo", + "y" : 1 + } + ], + "colorByPoint" : 1 + } + ], + "plotOptions" : { + "series" : { + "borderWidth" : 0, + "dataLabels" : { + "enabled" : 1, + "format" : "{point.y}" + } + } + }, + "tooltip" : { + "followPointer" : 1, + "pointFormat" : "{point.name}: {point.y:f}
", + "headerFormat" : "{series.name}
" + }, + "title" : { + "text" : "Perl Weekly Challenge - 027" + }, + "subtitle" : { + "text" : "[Champions: 10] Last updated at 2019-09-26 19:16:58 GMT" + }, + "yAxis" : { + "title" : { + "text" : "Total Solutions" + } + }, + "chart" : { + "type" : "column" + }, + "xAxis" : { + "type" : "category" + }, + "legend" : { + "enabled" : 0 + }, "drilldown" : { "series" : [ { - "id" : "Andrezgz", - "name" : "Andrezgz", "data" : [ [ "Perl 5", 2 ] - ] + ], + "name" : "Andrezgz", + "id" : "Andrezgz" }, { + "name" : "Duane Powell", "data" : [ [ "Perl 5", 2 ] ], - "id" : "Duane Powell", - "name" : "Duane Powell" + "id" : "Duane Powell" }, { - "id" : "E. Choroba", "name" : "E. Choroba", "data" : [ [ "Perl 5", 2 ] - ] + ], + "id" : "E. Choroba" + }, + { + "name" : "Kevin Colyer", + "data" : [ + [ + "Perl 6", + 2 + ] + ], + "id" : "Kevin Colyer" }, { "name" : "Mark Anderson", - "id" : "Mark Anderson", "data" : [ [ "Perl 5", 1 ] - ] + ], + "id" : "Mark Anderson" }, { - "id" : "Noud", "name" : "Noud", "data" : [ [ "Perl 6", 2 ] - ] + ], + "id" : "Noud" }, { "id" : "Roger Bell West", - "name" : "Roger Bell West", "data" : [ [ "Perl 5", @@ -63,125 +164,39 @@ "Perl 6", 1 ] - ] + ], + "name" : "Roger Bell West" }, { "name" : "Simon Proctor", - "id" : "Simon Proctor", "data" : [ [ "Perl 6", 2 ] - ] + ], + "id" : "Simon Proctor" }, { "id" : "Trenton Langer", - "name" : "Trenton Langer", "data" : [ [ "Perl 5", 2 ] - ] + ], + "name" : "Trenton Langer" }, { - "name" : "Yet Ebreo", "id" : "Yet Ebreo", "data" : [ [ "Perl 5", 1 ] - ] + ], + "name" : "Yet Ebreo" } ] - }, - "yAxis" : { - "title" : { - "text" : "Total Solutions" - } - }, - "subtitle" : { - "text" : "[Champions: 9] Last updated at 2019-09-26 11:42:20 GMT" - }, - "legend" : { - "enabled" : 0 - }, - "chart" : { - "type" : "column" - }, - "tooltip" : { - "headerFormat" : "{series.name}
", - "pointFormat" : "{point.name}: {point.y:f}
", - "followPointer" : 1 - }, - "plotOptions" : { - "series" : { - "dataLabels" : { - "enabled" : 1, - "format" : "{point.y}" - }, - "borderWidth" : 0 - } - }, - "xAxis" : { - "type" : "category" - }, - "title" : { - "text" : "Perl Weekly Challenge - 027" - }, - "series" : [ - { - "name" : "Perl Weekly Challenge - 027", - "colorByPoint" : 1, - "data" : [ - { - "name" : "Andrezgz", - "y" : 2, - "drilldown" : "Andrezgz" - }, - { - "drilldown" : "Duane Powell", - "y" : 2, - "name" : "Duane Powell" - }, - { - "drilldown" : "E. Choroba", - "y" : 2, - "name" : "E. Choroba" - }, - { - "drilldown" : "Mark Anderson", - "y" : 1, - "name" : "Mark Anderson" - }, - { - "y" : 2, - "name" : "Noud", - "drilldown" : "Noud" - }, - { - "y" : 3, - "name" : "Roger Bell West", - "drilldown" : "Roger Bell West" - }, - { - "y" : 2, - "name" : "Simon Proctor", - "drilldown" : "Simon Proctor" - }, - { - "name" : "Trenton Langer", - "y" : 2, - "drilldown" : "Trenton Langer" - }, - { - "drilldown" : "Yet Ebreo", - "y" : 1, - "name" : "Yet Ebreo" - } - ] - } - ] + } } diff --git a/stats/pwc-language-breakdown-summary.json b/stats/pwc-language-breakdown-summary.json index 68f3d9e11a..ba24a093f2 100644 --- a/stats/pwc-language-breakdown-summary.json +++ b/stats/pwc-language-breakdown-summary.json @@ -1,33 +1,22 @@ { - "yAxis" : { - "title" : { - "text" : null - }, - "min" : 0 - }, - "tooltip" : { - "pointFormat" : "{point.y:.0f}" - }, - "chart" : { - "type" : "column" - }, "legend" : { "enabled" : "false" }, "series" : [ { "dataLabels" : { - "rotation" : -90, - "style" : { - "fontSize" : "13px", - "fontFamily" : "Verdana, sans-serif" - }, "format" : "{point.y:.0f}", - "color" : "#FFFFFF", "y" : 10, + "color" : "#FFFFFF", "enabled" : "true", - "align" : "right" + "style" : { + "fontFamily" : "Verdana, sans-serif", + "fontSize" : "13px" + }, + "align" : "right", + "rotation" : -90 }, + "name" : "Contributions", "data" : [ [ "Blog", @@ -39,18 +28,26 @@ ], [ "Perl 6", - 655 + 657 ] - ], - "name" : "Contributions" + ] } ], - "subtitle" : { - "text" : "Last updated at 2019-09-26 11:42:35 GMT" + "yAxis" : { + "title" : { + "text" : null + }, + "min" : 0 }, "title" : { "text" : "Perl Weekly Challenge Contributions - 2019" }, + "subtitle" : { + "text" : "Last updated at 2019-09-26 19:17:05 GMT" + }, + "chart" : { + "type" : "column" + }, "xAxis" : { "labels" : { "style" : { @@ -59,5 +56,8 @@ } }, "type" : "category" + }, + "tooltip" : { + "pointFormat" : "{point.y:.0f}" } } diff --git a/stats/pwc-language-breakdown.json b/stats/pwc-language-breakdown.json index d9ae6a7afa..23a64e0df1 100644 --- a/stats/pwc-language-breakdown.json +++ b/stats/pwc-language-breakdown.json @@ -1,177 +1,24 @@ { - "series" : [ - { - "data" : [ - { - "name" : "#001", - "y" : 132, - "drilldown" : "001" - }, - { - "name" : "#002", - "y" : 104, - "drilldown" : "002" - }, - { - "y" : 66, - "name" : "#003", - "drilldown" : "003" - }, - { - "y" : 86, - "name" : "#004", - "drilldown" : "004" - }, - { - "y" : 66, - "name" : "#005", - "drilldown" : "005" - }, - { - "y" : 47, - "name" : "#006", - "drilldown" : "006" - }, - { - "name" : "#007", - "y" : 55, - "drilldown" : "007" - }, - { - "name" : "#008", - "y" : 69, - "drilldown" : "008" - }, - { - "drilldown" : "009", - "y" : 68, - "name" : "#009" - }, - { - "name" : "#010", - "y" : 60, - "drilldown" : "010" - }, - { - "name" : "#011", - "y" : 78, - "drilldown" : "011" - }, - { - "drilldown" : "012", - "y" : 83, - "name" : "#012" - }, - { - "name" : "#013", - "y" : 76, - "drilldown" : "013" - }, - { - "y" : 95, - "name" : "#014", - "drilldown" : "014" - }, - { - "name" : "#015", - "y" : 93, - "drilldown" : "015" - }, - { - "y" : 66, - "name" : "#016", - "drilldown" : "016" - }, - { - "drilldown" : "017", - "name" : "#017", - "y" : 79 - }, - { - "drilldown" : "018", - "name" : "#018", - "y" : 76 - }, - { - "drilldown" : "019", - "name" : "#019", - "y" : 95 - }, - { - "drilldown" : "020", - "y" : 95, - "name" : "#020" - }, - { - "y" : 67, - "name" : "#021", - "drilldown" : "021" - }, - { - "y" : 63, - "name" : "#022", - "drilldown" : "022" - }, - { - "drilldown" : "023", - "name" : "#023", - "y" : 91 - }, - { - "name" : "#024", - "y" : 70, - "drilldown" : "024" - }, - { - "drilldown" : "025", - "y" : 55, - "name" : "#025" - }, - { - "drilldown" : "026", - "name" : "#026", - "y" : 67 - }, - { - "y" : 17, - "name" : "#027", - "drilldown" : "027" - } - ], - "colorByPoint" : "true", - "name" : "Perl Weekly Challenge Languages" - } - ], - "xAxis" : { - "type" : "category" - }, "title" : { "text" : "Perl Weekly Challenge Language" }, "subtitle" : { - "text" : "Click the columns to drilldown the language breakdown. Last updated at 2019-09-26 11:42:35 GMT" + "text" : "Click the columns to drilldown the language breakdown. Last updated at 2019-09-26 19:17:05 GMT" }, - "legend" : { - "enabled" : "false" + "xAxis" : { + "type" : "category" }, - "yAxis" : { - "title" : { - "text" : "Total Solutions" - } + "chart" : { + "type" : "column" }, - "plotOptions" : { - "series" : { - "dataLabels" : { - "enabled" : 1, - "format" : "{point.y}" - }, - "borderWidth" : 0 - } + "tooltip" : { + "followPointer" : "true", + "headerFormat" : "", + "pointFormat" : "Challenge {point.name}: {point.y:f}
" }, "drilldown" : { "series" : [ { - "name" : "001", "id" : "001", "data" : [ [ @@ -186,9 +33,12 @@ "Blog", 11 ] - ] + ], + "name" : "001" }, { + "name" : "002", + "id" : "002", "data" : [ [ "Perl 5", @@ -202,9 +52,7 @@ "Blog", 9 ] - ], - "id" : "002", - "name" : "002" + ] }, { "name" : "003", @@ -262,7 +110,6 @@ }, { "name" : "006", - "id" : "006", "data" : [ [ "Perl 5", @@ -276,7 +123,8 @@ "Blog", 6 ] - ] + ], + "id" : "006" }, { "id" : "007", @@ -297,7 +145,6 @@ "name" : "007" }, { - "name" : "008", "data" : [ [ "Perl 5", @@ -312,7 +159,8 @@ 11 ] ], - "id" : "008" + "id" : "008", + "name" : "008" }, { "name" : "009", @@ -351,7 +199,6 @@ "id" : "010" }, { - "name" : "011", "data" : [ [ "Perl 5", @@ -366,11 +213,11 @@ 9 ] ], - "id" : "011" + "id" : "011", + "name" : "011" }, { "name" : "012", - "id" : "012", "data" : [ [ "Perl 5", @@ -384,9 +231,11 @@ "Blog", 11 ] - ] + ], + "id" : "012" }, { + "name" : "013", "id" : "013", "data" : [ [ @@ -401,11 +250,9 @@ "Blog", 13 ] - ], - "name" : "013" + ] }, { - "name" : "014", "data" : [ [ "Perl 5", @@ -420,10 +267,10 @@ 14 ] ], - "id" : "014" + "id" : "014", + "name" : "014" }, { - "id" : "015", "data" : [ [ "Perl 5", @@ -438,10 +285,12 @@ 15 ] ], + "id" : "015", "name" : "015" }, { "name" : "016", + "id" : "016", "data" : [ [ "Perl 5", @@ -455,8 +304,7 @@ "Blog", 12 ] - ], - "id" : "016" + ] }, { "name" : "017", @@ -495,6 +343,7 @@ "name" : "018" }, { + "name" : "019", "id" : "019", "data" : [ [ @@ -509,10 +358,10 @@ "Blog", 13 ] - ], - "name" : "019" + ] }, { + "id" : "020", "data" : [ [ "Perl 5", @@ -527,7 +376,6 @@ 13 ] ], - "id" : "020", "name" : "020" }, { @@ -549,7 +397,7 @@ "name" : "021" }, { - "id" : "022", + "name" : "022", "data" : [ [ "Perl 5", @@ -564,7 +412,7 @@ 10 ] ], - "name" : "022" + "id" : "022" }, { "id" : "023", @@ -585,6 +433,7 @@ "name" : "023" }, { + "id" : "024", "data" : [ [ "Perl 5", @@ -599,10 +448,11 @@ 11 ] ], - "id" : "024", "name" : "024" }, { + "name" : "025", + "id" : "025", "data" : [ [ "Perl 5", @@ -616,12 +466,9 @@ "Blog", 12 ] - ], - "id" : "025", - "name" : "025" + ] }, { - "name" : "026", "data" : [ [ "Perl 5", @@ -636,11 +483,10 @@ 7 ] ], - "id" : "026" + "id" : "026", + "name" : "026" }, { - "name" : "027", - "id" : "027", "data" : [ [ "Perl 5", @@ -648,22 +494,176 @@ ], [ "Perl 6", - 5 + 7 ], [ "Blog", 0 ] - ] + ], + "id" : "027", + "name" : "027" } ] }, - "tooltip" : { - "headerFormat" : "", - "pointFormat" : "Challenge {point.name}: {point.y:f}
", - "followPointer" : "true" + "legend" : { + "enabled" : "false" }, - "chart" : { - "type" : "column" + "plotOptions" : { + "series" : { + "dataLabels" : { + "format" : "{point.y}", + "enabled" : 1 + }, + "borderWidth" : 0 + } + }, + "series" : [ + { + "name" : "Perl Weekly Challenge Languages", + "data" : [ + { + "drilldown" : "001", + "name" : "#001", + "y" : 132 + }, + { + "y" : 104, + "name" : "#002", + "drilldown" : "002" + }, + { + "name" : "#003", + "drilldown" : "003", + "y" : 66 + }, + { + "name" : "#004", + "drilldown" : "004", + "y" : 86 + }, + { + "y" : 66, + "name" : "#005", + "drilldown" : "005" + }, + { + "drilldown" : "006", + "name" : "#006", + "y" : 47 + }, + { + "drilldown" : "007", + "name" : "#007", + "y" : 55 + }, + { + "drilldown" : "008", + "name" : "#008", + "y" : 69 + }, + { + "name" : "#009", + "drilldown" : "009", + "y" : 68 + }, + { + "y" : 60, + "drilldown" : "010", + "name" : "#010" + }, + { + "name" : "#011", + "drilldown" : "011", + "y" : 78 + }, + { + "y" : 83, + "drilldown" : "012", + "name" : "#012" + }, + { + "drilldown" : "013", + "name" : "#013", + "y" : 76 + }, + { + "y" : 95, + "drilldown" : "014", + "name" : "#014" + }, + { + "y" : 93, + "drilldown" : "015", + "name" : "#015" + }, + { + "name" : "#016", + "drilldown" : "016", + "y" : 66 + }, + { + "name" : "#017", + "drilldown" : "017", + "y" : 79 + }, + { + "y" : 76, + "drilldown" : "018", + "name" : "#018" + }, + { + "y" : 95, + "name" : "#019", + "drilldown" : "019" + }, + { + "drilldown" : "020", + "name" : "#020", + "y" : 95 + }, + { + "y" : 67, + "name" : "#021", + "drilldown" : "021" + }, + { + "name" : "#022", + "drilldown" : "022", + "y" : 63 + }, + { + "drilldown" : "023", + "name" : "#023", + "y" : 91 + }, + { + "drilldown" : "024", + "name" : "#024", + "y" : 70 + }, + { + "drilldown" : "025", + "name" : "#025", + "y" : 55 + }, + { + "y" : 67, + "drilldown" : "026", + "name" : "#026" + }, + { + "y" : 19, + "drilldown" : "027", + "name" : "#027" + } + ], + "colorByPoint" : "true" + } + ], + "yAxis" : { + "title" : { + "text" : "Total Solutions" + } } } diff --git a/stats/pwc-leaders.json b/stats/pwc-leaders.json index 2a50a06a91..fad53ec7aa 100644 --- a/stats/pwc-leaders.json +++ b/stats/pwc-leaders.json @@ -1,98 +1,108 @@ { + "xAxis" : { + "type" : "category" + }, + "chart" : { + "type" : "column" + }, + "tooltip" : { + "headerFormat" : "", + "pointFormat" : "{point.name}: {point.y:f}
", + "followPointer" : "true" + }, "series" : [ { "name" : "Perl Weekly Challenge Leaders", - "colorByPoint" : "true", "data" : [ { - "drilldown" : "Laurent Rosenfeld", + "y" : 318, "name" : "#1: Laurent Rosenfeld", - "y" : 318 + "drilldown" : "Laurent Rosenfeld" }, { - "name" : "#2: Joelle Maslak", "y" : 274, - "drilldown" : "Joelle Maslak" + "drilldown" : "Joelle Maslak", + "name" : "#2: Joelle Maslak" }, { "name" : "#3: Jaldhar H. Vyas", - "y" : 232, - "drilldown" : "Jaldhar H. Vyas" + "drilldown" : "Jaldhar H. Vyas", + "y" : 232 }, { - "drilldown" : "Ruben Westerberg", "name" : "#4: Ruben Westerberg", + "drilldown" : "Ruben Westerberg", "y" : 196 }, { + "name" : "#5: Adam Russell", "drilldown" : "Adam Russell", - "y" : 170, - "name" : "#5: Adam Russell" + "y" : 170 }, { - "name" : "#6: Athanasius", "y" : 168, + "name" : "#6: Athanasius", "drilldown" : "Athanasius" }, { - "name" : "#7: Arne Sommer", "y" : 162, - "drilldown" : "Arne Sommer" + "drilldown" : "Arne Sommer", + "name" : "#7: Arne Sommer" }, { - "drilldown" : "E. Choroba", "name" : "#8: E. Choroba", + "drilldown" : "E. Choroba", "y" : 134 }, { - "name" : "#9: Kian-Meng Ang", "y" : 134, - "drilldown" : "Kian-Meng Ang" + "drilldown" : "Kian-Meng Ang", + "name" : "#9: Kian-Meng Ang" }, { - "drilldown" : "Simon Proctor", "name" : "#10: Simon Proctor", + "drilldown" : "Simon Proctor", "y" : 114 }, { - "drilldown" : "Andrezgz", "y" : 104, - "name" : "#11: Andrezgz" + "name" : "#11: Andrezgz", + "drilldown" : "Andrezgz" }, { - "drilldown" : "Roger Bell West", + "y" : 100, "name" : "#12: Roger Bell West", - "y" : 100 + "drilldown" : "Roger Bell West" }, { + "drilldown" : "Francis Whittle", "name" : "#13: Francis Whittle", - "y" : 96, - "drilldown" : "Francis Whittle" + "y" : 96 }, { "name" : "#14: Duncan C. White", - "y" : 94, - "drilldown" : "Duncan C. White" + "drilldown" : "Duncan C. White", + "y" : 94 }, { - "drilldown" : "Dave Jacoby", "name" : "#15: Dave Jacoby", + "drilldown" : "Dave Jacoby", "y" : 90 }, { "drilldown" : "Daniel Mantovani", - "y" : 82, - "name" : "#16: Daniel Mantovani" + "name" : "#16: Daniel Mantovani", + "y" : 82 }, { "name" : "#17: Feng Chang", - "y" : 80, - "drilldown" : "Feng Chang" + "drilldown" : "Feng Chang", + "y" : 80 }, { - "name" : "#18: Steven Wilson", "y" : 78, - "drilldown" : "Steven Wilson" + "drilldown" : "Steven Wilson", + "name" : "#18: Steven Wilson" }, { "y" : 72, @@ -100,19 +110,19 @@ "drilldown" : "Gustavo Chaves" }, { + "drilldown" : "Yozen Hernandez", "name" : "#20: Yozen Hernandez", - "y" : 70, - "drilldown" : "Yozen Hernandez" + "y" : 70 }, { - "name" : "#21: Yet Ebreo", "y" : 68, + "name" : "#21: Yet Ebreo", "drilldown" : "Yet Ebreo" }, { + "y" : 64, "drilldown" : "Guillermo Ramos", - "name" : "#22: Guillermo Ramos", - "y" : 64 + "name" : "#22: Guillermo Ramos" }, { "drilldown" : "Mark Senn", @@ -120,29 +130,29 @@ "y" : 62 }, { + "y" : 58, + "drilldown" : "Kevin Colyer", + "name" : "#24: Kevin Colyer" + }, + { + "y" : 56, "drilldown" : "Jo Christian Oterhals", - "name" : "#24: Jo Christian Oterhals", - "y" : 56 + "name" : "#25: Jo Christian Oterhals" }, { + "name" : "#26: Duane Powell", "drilldown" : "Duane Powell", - "name" : "#25: Duane Powell", "y" : 54 }, { - "drilldown" : "Kevin Colyer", - "y" : 54, - "name" : "#26: Kevin Colyer" - }, - { - "drilldown" : "Ozzy", "y" : 52, - "name" : "#27: Ozzy" + "name" : "#27: Ozzy", + "drilldown" : "Ozzy" }, { + "drilldown" : "Randy Lauen", "name" : "#28: Randy Lauen", - "y" : 52, - "drilldown" : "Randy Lauen" + "y" : 52 }, { "drilldown" : "Noud", @@ -156,73 +166,73 @@ }, { "drilldown" : "Dr James A. Smith", - "y" : 44, - "name" : "#31: Dr James A. Smith" + "name" : "#31: Dr James A. Smith", + "y" : 44 }, { + "y" : 42, "drilldown" : "Veesh Goldman", - "name" : "#32: Veesh Goldman", - "y" : 42 + "name" : "#32: Veesh Goldman" }, { - "drilldown" : "Nick Logan", "y" : 32, + "drilldown" : "Nick Logan", "name" : "#33: Nick Logan" }, { - "name" : "#34: Lars Balker", "y" : 30, + "name" : "#34: Lars Balker", "drilldown" : "Lars Balker" }, { - "name" : "#35: Jaime Corchado", "y" : 24, + "name" : "#35: Jaime Corchado", "drilldown" : "Jaime Corchado" }, { - "drilldown" : "Maxim Nechaev", + "y" : 24, "name" : "#36: Maxim Nechaev", - "y" : 24 + "drilldown" : "Maxim Nechaev" }, { - "y" : 22, "name" : "#37: Alicia Bielsa", - "drilldown" : "Alicia Bielsa" + "drilldown" : "Alicia Bielsa", + "y" : 22 }, { + "y" : 20, "drilldown" : "Doug Schrag", - "name" : "#38: Doug Schrag", - "y" : 20 + "name" : "#38: Doug Schrag" }, { "name" : "#39: Dave Cross", - "y" : 18, - "drilldown" : "Dave Cross" + "drilldown" : "Dave Cross", + "y" : 18 }, { - "y" : 18, + "drilldown" : "Mark Anderson", "name" : "#40: Mark Anderson", - "drilldown" : "Mark Anderson" + "y" : 18 }, { - "y" : 18, + "drilldown" : "Neil Bowers", "name" : "#41: Neil Bowers", - "drilldown" : "Neil Bowers" + "y" : 18 }, { + "name" : "#42: Walt Mankowski", "drilldown" : "Walt Mankowski", - "y" : 18, - "name" : "#42: Walt Mankowski" + "y" : 18 }, { + "name" : "#43: Colin Crain", "drilldown" : "Colin Crain", - "y" : 16, - "name" : "#43: Colin Crain" + "y" : 16 }, { "name" : "#44: Donald Hunter", - "y" : 16, - "drilldown" : "Donald Hunter" + "drilldown" : "Donald Hunter", + "y" : 16 }, { "drilldown" : "Pete Houston", @@ -230,9 +240,9 @@ "y" : 16 }, { - "drilldown" : "Robert Gratza", + "y" : 16, "name" : "#46: Robert Gratza", - "y" : 16 + "drilldown" : "Robert Gratza" }, { "y" : 14, @@ -240,9 +250,9 @@ "drilldown" : "John Barrett" }, { + "name" : "#48: Khalid", "drilldown" : "Khalid", - "y" : 14, - "name" : "#48: Khalid" + "y" : 14 }, { "y" : 12, @@ -254,49 +264,27 @@ "name" : "#50: Kivanc Yazan", "drilldown" : "Kivanc Yazan" } - ] + ], + "colorByPoint" : "true" } ], - "tooltip" : { - "pointFormat" : "{point.name}: {point.y:f}
", - "followPointer" : "true", - "headerFormat" : "" - }, "plotOptions" : { "series" : { "borderWidth" : 0, "dataLabels" : { - "format" : "{point.y}", - "enabled" : 1 + "enabled" : 1, + "format" : "{point.y}" } } }, - "chart" : { - "type" : "column" - }, - "xAxis" : { - "type" : "category" - }, - "title" : { - "text" : "Perl Weekly Challenge Leaders (TOP 50)" - }, - "subtitle" : { - "text" : "Click the columns to drilldown the score breakdown. Last updated at 2019-09-26 11:42:32 GMT" - }, - "legend" : { - "enabled" : "false" - }, - "yAxis" : { - "title" : { - "text" : "Total Score" - } - }, "drilldown" : { "series" : [ { - "name" : "Laurent Rosenfeld", - "id" : "Laurent Rosenfeld", "data" : [ + [ + "Perl 5", + 52 + ], [ "Perl 6", 51 @@ -304,37 +292,31 @@ [ "Blog", 56 - ], - [ - "Perl 5", - 52 ] - ] + ], + "id" : "Laurent Rosenfeld", + "name" : "Laurent Rosenfeld" }, { + "name" : "Joelle Maslak", + "id" : "Joelle Maslak", "data" : [ - [ - "Perl 5", - 66 - ], [ "Blog", 5 ], + [ + "Perl 5", + 66 + ], [ "Perl 6", 66 ] - ], - "name" : "Joelle Maslak", - "id" : "Joelle Maslak" + ] }, { "data" : [ - [ - "Perl 5", - 52 - ], [ "Blog", 13 @@ -342,31 +324,32 @@ [ "Perl 6", 51 + ], + [ + "Perl 5", + 52 ] ], "id" : "Jaldhar H. Vyas", "name" : "Jaldhar H. Vyas" }, { + "id" : "Ruben Westerberg", "data" : [ [ - "Perl 6", + "Perl 5", 49 ], [ - "Perl 5", + "Perl 6", 49 ] ], - "name" : "Ruben Westerberg", - "id" : "Ruben Westerberg" + "name" : "Ruben Westerberg" }, { + "name" : "Adam Russell", "data" : [ - [ - "Perl 6", - 3 - ], [ "Blog", 29 @@ -374,28 +357,31 @@ [ "Perl 5", 53 + ], + [ + "Perl 6", + 3 ] ], - "name" : "Adam Russell", "id" : "Adam Russell" }, { + "name" : "Athanasius", + "id" : "Athanasius", "data" : [ - [ - "Perl 6", - 28 - ], [ "Blog", 3 ], + [ + "Perl 6", + 28 + ], [ "Perl 5", 53 ] - ], - "id" : "Athanasius", - "name" : "Athanasius" + ] }, { "data" : [ @@ -412,10 +398,12 @@ 26 ] ], - "name" : "Arne Sommer", - "id" : "Arne Sommer" + "id" : "Arne Sommer", + "name" : "Arne Sommer" }, { + "name" : "E. Choroba", + "id" : "E. Choroba", "data" : [ [ "Perl 5", @@ -425,34 +413,32 @@ "Blog", 21 ] - ], - "name" : "E. Choroba", - "id" : "E. Choroba" + ] }, { + "name" : "Kian-Meng Ang", "data" : [ - [ - "Blog", - 29 - ], [ "Perl 5", 38 + ], + [ + "Blog", + 29 ] ], - "name" : "Kian-Meng Ang", "id" : "Kian-Meng Ang" }, { "data" : [ - [ - "Perl 5", - 5 - ], [ "Blog", 7 ], + [ + "Perl 5", + 5 + ], [ "Perl 6", 45 @@ -462,23 +448,18 @@ "name" : "Simon Proctor" }, { - "id" : "Andrezgz", - "name" : "Andrezgz", "data" : [ [ "Perl 5", 52 ] - ] + ], + "id" : "Andrezgz", + "name" : "Andrezgz" }, { - "name" : "Roger Bell West", "id" : "Roger Bell West", "data" : [ - [ - "Blog", - 10 - ], [ "Perl 5", 28 @@ -486,125 +467,134 @@ [ "Perl 6", 12 + ], + [ + "Blog", + 10 ] - ] + ], + "name" : "Roger Bell West" }, { + "name" : "Francis Whittle", + "id" : "Francis Whittle", "data" : [ - [ - "Perl 6", - 39 - ], [ "Blog", 9 + ], + [ + "Perl 6", + 39 ] - ], - "id" : "Francis Whittle", - "name" : "Francis Whittle" + ] }, { + "id" : "Duncan C. White", "data" : [ - [ - "Perl 5", - 46 - ], [ "Blog", 1 + ], + [ + "Perl 5", + 46 ] ], - "name" : "Duncan C. White", - "id" : "Duncan C. White" + "name" : "Duncan C. White" }, { + "name" : "Dave Jacoby", + "id" : "Dave Jacoby", "data" : [ [ "Blog", 18 ], - [ - "Perl 5", - 26 - ], [ "Perl 6", 1 + ], + [ + "Perl 5", + 26 ] - ], - "name" : "Dave Jacoby", - "id" : "Dave Jacoby" + ] }, { - "id" : "Daniel Mantovani", - "name" : "Daniel Mantovani", "data" : [ [ "Perl 5", 41 ] - ] + ], + "id" : "Daniel Mantovani", + "name" : "Daniel Mantovani" }, { + "id" : "Feng Chang", "data" : [ - [ - "Perl 6", - 21 - ], [ "Perl 5", 19 + ], + [ + "Perl 6", + 21 ] ], - "id" : "Feng Chang", "name" : "Feng Chang" }, { + "name" : "Steven Wilson", "data" : [ - [ - "Blog", - 3 - ], [ "Perl 5", 36 + ], + [ + "Blog", + 3 ] ], - "name" : "Steven Wilson", "id" : "Steven Wilson" }, { "name" : "Gustavo Chaves", - "id" : "Gustavo Chaves", "data" : [ - [ - "Perl 5", - 32 - ], [ "Blog", 4 + ], + [ + "Perl 5", + 32 ] - ] + ], + "id" : "Gustavo Chaves" }, { + "name" : "Yozen Hernandez", "data" : [ - [ - "Blog", - 14 - ], [ "Perl 5", 21 + ], + [ + "Blog", + 14 ] ], - "id" : "Yozen Hernandez", - "name" : "Yozen Hernandez" + "id" : "Yozen Hernandez" }, { "name" : "Yet Ebreo", "id" : "Yet Ebreo", "data" : [ + [ + "Blog", + 4 + ], [ "Perl 6", 13 @@ -612,26 +602,21 @@ [ "Perl 5", 17 - ], - [ - "Blog", - 4 ] ] }, { - "name" : "Guillermo Ramos", "id" : "Guillermo Ramos", "data" : [ [ "Perl 5", 32 ] - ] + ], + "name" : "Guillermo Ramos" }, { "id" : "Mark Senn", - "name" : "Mark Senn", "data" : [ [ "Blog", @@ -641,73 +626,74 @@ "Perl 6", 21 ] - ] + ], + "name" : "Mark Senn" }, { - "name" : "Jo Christian Oterhals", - "id" : "Jo Christian Oterhals", "data" : [ [ "Perl 6", - 15 + 27 ], [ "Perl 5", - 6 - ], - [ - "Blog", - 7 + 2 ] - ] + ], + "id" : "Kevin Colyer", + "name" : "Kevin Colyer" }, { - "name" : "Duane Powell", - "id" : "Duane Powell", "data" : [ + [ + "Blog", + 7 + ], + [ + "Perl 6", + 15 + ], [ "Perl 5", - 27 + 6 ] - ] + ], + "id" : "Jo Christian Oterhals", + "name" : "Jo Christian Oterhals" }, { - "name" : "Kevin Colyer", - "id" : "Kevin Colyer", + "name" : "Duane Powell", + "id" : "Duane Powell", "data" : [ [ "Perl 5", - 2 - ], - [ - "Perl 6", - 25 + 27 ] ] }, { + "id" : "Ozzy", "data" : [ [ "Perl 6", 26 ] ], - "id" : "Ozzy", "name" : "Ozzy" }, { - "id" : "Randy Lauen", "name" : "Randy Lauen", "data" : [ - [ - "Perl 5", - 9 - ], [ "Perl 6", 17 + ], + [ + "Perl 5", + 9 ] - ] + ], + "id" : "Randy Lauen" }, { "data" : [ @@ -720,18 +706,18 @@ "name" : "Noud" }, { + "name" : "Lubos Kolouch", + "id" : "Lubos Kolouch", "data" : [ [ "Perl 5", 23 ] - ], - "id" : "Lubos Kolouch", - "name" : "Lubos Kolouch" + ] }, { - "id" : "Dr James A. Smith", "name" : "Dr James A. Smith", + "id" : "Dr James A. Smith", "data" : [ [ "Perl 6", @@ -744,8 +730,6 @@ ] }, { - "id" : "Veesh Goldman", - "name" : "Veesh Goldman", "data" : [ [ "Perl 6", @@ -759,11 +743,11 @@ "Blog", 3 ] - ] + ], + "id" : "Veesh Goldman", + "name" : "Veesh Goldman" }, { - "id" : "Nick Logan", - "name" : "Nick Logan", "data" : [ [ "Perl 5", @@ -773,63 +757,66 @@ "Perl 6", 8 ] - ] + ], + "id" : "Nick Logan", + "name" : "Nick Logan" }, { - "name" : "Lars Balker", - "id" : "Lars Balker", "data" : [ - [ - "Perl 6", - 4 - ], [ "Perl 5", 11 + ], + [ + "Perl 6", + 4 ] - ] + ], + "id" : "Lars Balker", + "name" : "Lars Balker" }, { + "name" : "Jaime Corchado", "data" : [ [ "Perl 5", 12 ] ], - "id" : "Jaime Corchado", - "name" : "Jaime Corchado" + "id" : "Jaime Corchado" }, { + "name" : "Maxim Nechaev", "data" : [ [ "Perl 5", 12 ] ], - "name" : "Maxim Nechaev", "id" : "Maxim Nechaev" }, { + "name" : "Alicia Bielsa", + "id" : "Alicia Bielsa", "data" : [ [ "Perl 5", 11 ] - ], - "name" : "Alicia Bielsa", - "id" : "Alicia Bielsa" + ] }, { + "id" : "Doug Schrag", "data" : [ [ "Perl 6", 10 ] ], - "id" : "Doug Schrag", "name" : "Doug Schrag" }, { + "id" : "Dave Cross", "data" : [ [ "Perl 5", @@ -840,7 +827,6 @@ 2 ] ], - "id" : "Dave Cross", "name" : "Dave Cross" }, { @@ -850,10 +836,12 @@ 9 ] ], - "name" : "Mark Anderson", - "id" : "Mark Anderson" + "id" : "Mark Anderson", + "name" : "Mark Anderson" }, { + "name" : "Neil Bowers", + "id" : "Neil Bowers", "data" : [ [ "Perl 5", @@ -863,33 +851,29 @@ "Blog", 3 ] - ], - "name" : "Neil Bowers", - "id" : "Neil Bowers" + ] }, { + "id" : "Walt Mankowski", "data" : [ [ "Perl 5", 9 ] ], - "name" : "Walt Mankowski", - "id" : "Walt Mankowski" + "name" : "Walt Mankowski" }, { + "name" : "Colin Crain", "data" : [ [ "Perl 5", 8 ] ], - "name" : "Colin Crain", "id" : "Colin Crain" }, { - "id" : "Donald Hunter", - "name" : "Donald Hunter", "data" : [ [ "Blog", @@ -899,30 +883,32 @@ "Perl 6", 4 ] - ] + ], + "id" : "Donald Hunter", + "name" : "Donald Hunter" }, { + "id" : "Pete Houston", "data" : [ [ "Perl 5", 8 ] ], - "name" : "Pete Houston", - "id" : "Pete Houston" + "name" : "Pete Houston" }, { + "name" : "Robert Gratza", "data" : [ - [ - "Perl 5", - 2 - ], [ "Perl 6", 6 + ], + [ + "Perl 5", + 2 ] ], - "name" : "Robert Gratza", "id" : "Robert Gratza" }, { @@ -932,13 +918,15 @@ 7 ] ], - "name" : "John Barrett", - "id" : "John Barrett" + "id" : "John Barrett", + "name" : "John Barrett" }, { - "name" : "Khalid", - "id" : "Khalid", "data" : [ + [ + "Perl 6", + 2 + ], [ "Perl 5", 4 @@ -946,16 +934,14 @@ [ "Blog", 1 - ], - [ - "Perl 6", - 2 ] - ] + ], + "id" : "Khalid", + "name" : "Khalid" }, { - "id" : "Aaron Sherman", "name" : "Aaron Sherman", + "id" : "Aaron Sherman", "data" : [ [ "Perl 6", @@ -964,15 +950,29 @@ ] }, { - "name" : "Kivanc Yazan", "id" : "Kivanc Yazan", "data" : [ [ "Perl 5", 6 ] - ] + ], + "name" : "Kivanc Yazan" } ] + }, + "yAxis" : { + "title" : { + "text" : "Total Score" + } + }, + "subtitle" : { + "text" : "Click the columns to drilldown the score breakdown. Last updated at 2019-09-26 19:17:02 GMT" + }, + "legend" : { + "enabled" : "false" + }, + "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 f62c94c3ca..05b56ded84 100644 --- a/stats/pwc-summary-1-30.json +++ b/stats/pwc-summary-1-30.json @@ -1,8 +1,13 @@ { - "plotOptions" : { - "column" : { - "stacking" : "percent" - } + "subtitle" : { + "text" : "[Champions: 30] Last updated at 2019-09-26 19:16:59 GMT" + }, + "chart" : { + "type" : "column" + }, + "tooltip" : { + "pointFormat" : "{series.name}: {point.y}
", + "shared" : 1 }, "yAxis" : { "title" : { @@ -10,8 +15,10 @@ }, "min" : 0 }, - "title" : { - "text" : "Perl Weekly Challenge - 2019" + "plotOptions" : { + "column" : { + "stacking" : "percent" + } }, "xAxis" : { "categories" : [ @@ -47,15 +54,12 @@ "E. Choroba" ] }, - "subtitle" : { - "text" : "[Champions: 30] Last updated at 2019-09-26 11:42:20 GMT" - }, - "tooltip" : { - "pointFormat" : "{series.name}: {point.y}
", - "shared" : 1 + "title" : { + "text" : "Perl Weekly Challenge - 2019" }, "series" : [ { + "name" : "Perl 5", "data" : [ 0, 2, @@ -87,8 +91,7 @@ 27, 46, 46 - ], - "name" : "Perl 5" + ] }, { "name" : "Perl 6", @@ -160,8 +163,5 @@ ], "name" : "Blog" } - ], - "chart" : { - "type" : "column" - } + ] } diff --git a/stats/pwc-summary-31-60.json b/stats/pwc-summary-31-60.json index 06ff8fe88c..236972ed40 100644 --- a/stats/pwc-summary-31-60.json +++ b/stats/pwc-summary-31-60.json @@ -1,58 +1,4 @@ { - "plotOptions" : { - "column" : { - "stacking" : "percent" - } - }, - "xAxis" : { - "categories" : [ - "Eddy HS", - "Feng Chang", - "Finley", - "Francis Whittle", - "Fred Zinn", - "Freddie B", - "Guillermo Ramos", - "Gustavo Chaves", - "Hauke Dampfling", - "Jacques Guinnebault", - "Jaime Corchado", - "Jaldhar H. Vyas", - "Dr James A. Smith", - "Jeff", - "Jeremy Carman", - "Jim Bacon", - "JJ Merelo", - "Jo Christian Oterhals", - "Joe Tym", - "Joelle Maslak", - "John Barrett", - "Juan Caballero", - "Kevin Colyer", - "Khalid", - "Kian-Meng Ang", - "Kiran Kumar", - "Kivanc Yazan", - "Lars Balker", - "Laurent Rosenfeld", - "Lubos Kolouch" - ] - }, - "subtitle" : { - "text" : "[Champions: 30] Last updated at 2019-09-26 11:42:20 GMT" - }, - "title" : { - "text" : "Perl Weekly Challenge - 2019" - }, - "yAxis" : { - "title" : { - "text" : "" - }, - "min" : 0 - }, - "chart" : { - "type" : "column" - }, "series" : [ { "name" : "Perl 5", @@ -90,7 +36,6 @@ ] }, { - "name" : "Perl 6", "data" : [ 0, 21, @@ -114,7 +59,7 @@ 66, 0, 0, - 25, + 27, 2, 0, 0, @@ -122,9 +67,11 @@ 4, 51, 0 - ] + ], + "name" : "Perl 6" }, { + "name" : "Blog", "data" : [ 0, 0, @@ -156,12 +103,65 @@ 0, 56, 0 - ], - "name" : "Blog" + ] } ], + "title" : { + "text" : "Perl Weekly Challenge - 2019" + }, + "xAxis" : { + "categories" : [ + "Eddy HS", + "Feng Chang", + "Finley", + "Francis Whittle", + "Fred Zinn", + "Freddie B", + "Guillermo Ramos", + "Gustavo Chaves", + "Hauke Dampfling", + "Jacques Guinnebault", + "Jaime Corchado", + "Jaldhar H. Vyas", + "Dr James A. Smith", + "Jeff", + "Jeremy Carman", + "Jim Bacon", + "JJ Merelo", + "Jo Christian Oterhals", + "Joe Tym", + "Joelle Maslak", + "John Barrett", + "Juan Caballero", + "Kevin Colyer", + "Khalid", + "Kian-Meng Ang", + "Kiran Kumar", + "Kivanc Yazan", + "Lars Balker", + "Laurent Rosenfeld", + "Lubos Kolouch" + ] + }, + "chart" : { + "type" : "column" + }, + "subtitle" : { + "text" : "[Champions: 30] Last updated at 2019-09-26 19:16:59 GMT" + }, + "plotOptions" : { + "colum