From 3769573c95c6c8bd2b4eeffbf5019cf8dca46659 Mon Sep 17 00:00:00 2001 From: "Gustavo L. de M. Chaves" Date: Mon, 10 Jun 2019 21:50:56 -0300 Subject: Gustavo Chaves's solutions do challenge 012 --- challenge-012/gustavo-chaves/perl5/ch-1.pl | 65 ++++++++++++++++++++++++++++++ challenge-012/gustavo-chaves/perl5/ch-2.pl | 29 +++++++++++++ 2 files changed, 94 insertions(+) create mode 100755 challenge-012/gustavo-chaves/perl5/ch-1.pl create mode 100755 challenge-012/gustavo-chaves/perl5/ch-2.pl diff --git a/challenge-012/gustavo-chaves/perl5/ch-1.pl b/challenge-012/gustavo-chaves/perl5/ch-1.pl new file mode 100755 index 0000000000..02f1b8cb2a --- /dev/null +++ b/challenge-012/gustavo-chaves/perl5/ch-1.pl @@ -0,0 +1,65 @@ +#!/usr/bin/env perl + +# The numbers formed by adding one to the products of the smallest primes are +# called the Euclid Numbers (see +# https://en.wikipedia.org/wiki/Euclid_number). Write a script that finds the +# smallest Euclid Number that is not prime. This challenge was proposed by +# Laurent Rosenfeld. + +use 5.026; +use strict; +use autodie; +use warnings; +use List::Util qw(product); + +sub main { + for (my $n=1; ; ++$n) { + my $euclid = euclid($n); + unless (is_prime($euclid)) { + say $euclid; + return 0; + } + } +} + +sub euclid { + my ($n) = @_; + + return primorial($n) + 1; +} + +sub primorial { + my ($n) = @_; + + return product map {prime($_)} (1 .. $n); +} + +my @primes = (2, 3); +my %primes = map {$_ => undef} @primes; + +sub prime { + my ($n) = @_; + + NUMBER: + for (my $i = $primes[-1]+2; $n > @primes; $i += 2) { + foreach my $prime (@primes) { + next NUMBER if ($i % $prime) == 0; + } + push @primes, $i; + $primes{$i} = undef; + } + + return $primes[$n-1]; +} + +sub is_prime { + my ($n) = @_; + + while ($primes[-1] < $n) { + prime(@primes+1); + } + + return exists $primes{$n}; +} + +main(); diff --git a/challenge-012/gustavo-chaves/perl5/ch-2.pl b/challenge-012/gustavo-chaves/perl5/ch-2.pl new file mode 100755 index 0000000000..d1b43635a1 --- /dev/null +++ b/challenge-012/gustavo-chaves/perl5/ch-2.pl @@ -0,0 +1,29 @@ +#!/usr/bin/env perl + +# Write a script that finds the common directory path, given a collection of +# paths and directory separator. For example, if the following paths are +# supplied. + +use 5.026; +use strict; +use autodie; +use warnings; + +my $separator = shift + or die "Usage: $0 CHAR\n"; + +chomp(my $path = <>); +my @prefix = split $separator, $path; + +while (<>) { + chomp; + my @path = split $separator; + my $min = @prefix < @path ? @prefix : @path; + my $i=0; + while ($i<$min && $prefix[$i] eq $path[$i]) { + ++$i; + } + splice @prefix, $i; +} + +say join($separator, @prefix); -- cgit From 6ab75c09abab3ccd493a933481fc83c5dd6b506a Mon Sep 17 00:00:00 2001 From: Joelle Maslak Date: Mon, 10 Jun 2019 21:42:39 -0600 Subject: Joelle's solutions for 12.1 in P6 & P5 --- challenge-012/joelle-maslak/perl5/.gitignore | 1 + challenge-012/joelle-maslak/perl5/ch-1.pl | 62 ++++++++++++++++++++++++++ challenge-012/joelle-maslak/perl5/lib/Prime.pm | 56 +++++++++++++++++++++++ challenge-012/joelle-maslak/perl6/ch-1.p6 | 9 ++++ 4 files changed, 128 insertions(+) create mode 100644 challenge-012/joelle-maslak/perl5/.gitignore create mode 100755 challenge-012/joelle-maslak/perl5/ch-1.pl create mode 100644 challenge-012/joelle-maslak/perl5/lib/Prime.pm create mode 100755 challenge-012/joelle-maslak/perl6/ch-1.p6 diff --git a/challenge-012/joelle-maslak/perl5/.gitignore b/challenge-012/joelle-maslak/perl5/.gitignore new file mode 100644 index 0000000000..714f73c541 --- /dev/null +++ b/challenge-012/joelle-maslak/perl5/.gitignore @@ -0,0 +1 @@ +_Inline diff --git a/challenge-012/joelle-maslak/perl5/ch-1.pl b/challenge-012/joelle-maslak/perl5/ch-1.pl new file mode 100755 index 0000000000..7f44a9a60e --- /dev/null +++ b/challenge-012/joelle-maslak/perl5/ch-1.pl @@ -0,0 +1,62 @@ +#!/usr/bin/env perl + +use strict; +use warnings; + +use v5.22; + +# Turn on method signatures +use feature 'signatures'; +no warnings 'experimental::signatures'; + +# Well, let's optimize for speed. But not force the user to use Inline +# if they can't use it for some reason. So we need a fallback to a pure +# Perl implementation. +# +# This is a trivial enough problem we don't need to optimize for speed, +# but let's do so anyhow. +# +# This line will use lib/Prime.pm if it can be required (it'll require +# Inline::C to compile the C code), but if that fails, we'll fall back +# to the perl_isprime function. +# +# And, yes, it's actually slower running the "fast" int_isprime method +# because of the overhead to load it, but if we had to look at lots of +# primes, it would be faster. ;) +# +use FindBin; +use lib "$FindBin::Bin/lib"; +my $is_prime = eval { require Prime } ? \&Prime::int_isprime : \&perl_isprime; + +# The meat of the program - +while (1) { + state $i = 1; + state $product = 1; + + $i++; + + next unless $is_prime->($i); + $product *= $i; + + if ( !$is_prime->( $product + 1 ) ) { + say $product+ 1; + last; + } +} + +# Slow is_prime function, used if we can't load the lib/Prime.pm module. +sub perl_isprime($i) { + my $sqrt = int( sqrt($i) ); + + if ( $i <= 2 ) { return 1; } # negatives are wrong, at least for us + if ( $i % 2 == 0 ) { return 0; } + + my $div = 3; + while ( $div <= $sqrt ) { + if ( $i % $div == 0 ) { return 0; } + + $div += 2; # Test just evens + } + + return 1; +} diff --git a/challenge-012/joelle-maslak/perl5/lib/Prime.pm b/challenge-012/joelle-maslak/perl5/lib/Prime.pm new file mode 100644 index 0000000000..f98e88ec3e --- /dev/null +++ b/challenge-012/joelle-maslak/perl5/lib/Prime.pm @@ -0,0 +1,56 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use v5.22; + +package Prime 1.00; + +use base 'Exporter'; +our @EXPORT_OK = qw(int_isprime); + +use Inline + C => 'DATA', + name => 'Prime'; + +Inline->init(); + +1; + +__DATA__ +__C__ + +int isqrt(int y) { + int x = 2; + if (y < 4) { return 1; } + + while (1) { + int new = (x+y / x) / 2; + + if (new-x == 1) { + // We're in a cycle + if ((x*x <= y) && (new*new > y)) { + return x; + } + } + if (x == new) { return x; } + + x = new; + } +} + +int int_isprime(int i) { + int sqrt = isqrt(i); + + if (i <= 2) { return 1; } // Negatives are broken here + if (i % 2 == 0) { return 0; } + + int div = 3; + while (div <= sqrt) { + if (i % div == 0) { return 0; } + div += 2; // Just odds + } + + return 1; +} + diff --git a/challenge-012/joelle-maslak/perl6/ch-1.p6 b/challenge-012/joelle-maslak/perl6/ch-1.p6 new file mode 100755 index 0000000000..407acbc83b --- /dev/null +++ b/challenge-012/joelle-maslak/perl6/ch-1.p6 @@ -0,0 +1,9 @@ +#!/usr/bin/env perl6 +use v6; + +sub MAIN() { + my $product = 1; + my $euclids = (2..∞).grep(*.is-prime).map( { ($product *= $_).succ } ); + say $euclids.first(! *.is-prime); +} + -- cgit From 292683ecf5c6be30485ad17856c0847f2d1ff89a Mon Sep 17 00:00:00 2001 From: Aaron Sherman Date: Tue, 11 Jun 2019 00:14:55 -0400 Subject: Aaron's solutions for 012.1 and 012.2 in P6 --- challenge-012/aaron-sherman/README | 15 +++++++++++++ challenge-012/aaron-sherman/perl6/ch-1.p6 | 31 ++++++++++++++++++++++++++ challenge-012/aaron-sherman/perl6/ch-2.p6 | 37 +++++++++++++++++++++++++++++++ 3 files changed, 83 insertions(+) create mode 100755 challenge-012/aaron-sherman/perl6/ch-1.p6 create mode 100755 challenge-012/aaron-sherman/perl6/ch-2.p6 diff --git a/challenge-012/aaron-sherman/README b/challenge-012/aaron-sherman/README index 14ec31f570..08d5ec39d2 100644 --- a/challenge-012/aaron-sherman/README +++ b/challenge-012/aaron-sherman/README @@ -1 +1,16 @@ Solutions by Aaron Sherman. + +Challenge #1: The first Euclid non-prime + +This puzzle afforded me the opportunity to advertize a bit for the +Math::Sequences module by showing how a new entry would be defined. + +It otherwise simply prints the solution number uninterestingly. + +Challenge #2: Common path prefixes + +I thought that this would be a good chance to show off Perl 6's +user-defined operator features including the use of a user-defined +operator in a reduction meta-operator. + +The use of the program is simple and can be shown using --help diff --git a/challenge-012/aaron-sherman/perl6/ch-1.p6 b/challenge-012/aaron-sherman/perl6/ch-1.p6 new file mode 100755 index 0000000000..5f30300c62 --- /dev/null +++ b/challenge-012/aaron-sherman/perl6/ch-1.p6 @@ -0,0 +1,31 @@ +#!/usr/bin/env perl6 + +use v6.c; + +#Perl weekly challenge 012.1: + +# The numbers formed by adding one to the products of the smallest primes +# are called the Euclid Numbers (see wiki). Write a script that finds the +# smallest Euclid Number that is not prime. This challenge was proposed +# by Laurent Rosenfeld. + +# This solution serves two purposes. It both addresses the problem asked +# and demonstrates two sequences appropriate for inclusion in the +# Perl 6 OEIS library Math::Sequences + +#= OEIS sequence A010051: the primes +sub primes() { (2,3,*+2...*).grep: *.is-prime } +# Math::Sequences entry for the primes: +our @A010051 = lazy primes; + +#= OEIS sequence A057588: the Euclid numbers +sub euclids() { + gather for primes() -> $p { + take ((state $t=1) *= $p) + 1; + } +} +# Math::Sequences entry for the Euclids: +our @A057588 = lazy euclids; + +# Show the first non-prime Euclid number. +say euclids.grep(not *.is-prime).first; diff --git a/challenge-012/aaron-sherman/perl6/ch-2.p6 b/challenge-012/aaron-sherman/perl6/ch-2.p6 new file mode 100755 index 0000000000..a3e7d1fbbf --- /dev/null +++ b/challenge-012/aaron-sherman/perl6/ch-2.p6 @@ -0,0 +1,37 @@ +#!/usr/bin/env perl6 + +use v6.c; + +#Perl weekly challenge 012.2: + +# Write a script that finds the common directory path, given a collection +# of paths and directory separator. For example, if the following paths +# are supplied. + +# This solution demonstrates the creation of an infix operator and +# its use as a reduction meta-operator. Use --help for details + +use Test; + +sub infix:(@a, @b) { + gather for @a Z @b -> ($a, $b) { + ($a ~~ $b and take $a but True) or last; + } +} + +sub common-leading-paths(@paths, :$separator='/') { + return join $separator, [common-prefix] @paths.map: *.split($separator); +} + +proto MAIN(|) {*} +multi MAIN(Bool :$test!) { + ok ( common-prefix ) ~~ , "common-prefix infix op"; + ok ([common-prefix] [, , ]) ~~ , "common-prefix reduction"; + ok common-leading-paths(, :separator<$>) eq 'a', "common-leading-paths with sep"; + # Example from the puzzle + ok common-leading-paths() eq '/a/b', "puzzle sample"; +} + +multi MAIN(Str :$separator='/', *@paths) { + say common-leading-paths @paths, :$separator; +} -- cgit From 11d9fd2f7306c6df4003e258d316c25709c03871 Mon Sep 17 00:00:00 2001 From: Rakesh Kumar Shardiwal Date: Tue, 11 Jun 2019 12:03:44 +0530 Subject: Smallest Euclid Number that is not prime --- challenge-012/shardiwal/README | 1 + challenge-012/shardiwal/perl5/ch-1.pl | 44 +++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 challenge-012/shardiwal/README create mode 100644 challenge-012/shardiwal/perl5/ch-1.pl diff --git a/challenge-012/shardiwal/README b/challenge-012/shardiwal/README new file mode 100644 index 0000000000..c529c63c01 --- /dev/null +++ b/challenge-012/shardiwal/README @@ -0,0 +1 @@ +Solution by Rakesh Kumar Shardiwal diff --git a/challenge-012/shardiwal/perl5/ch-1.pl b/challenge-012/shardiwal/perl5/ch-1.pl new file mode 100644 index 0000000000..9ca638c94c --- /dev/null +++ b/challenge-012/shardiwal/perl5/ch-1.pl @@ -0,0 +1,44 @@ +#!/usr/bin/perl + +use warnings; +use strict; +use feature qw(say); + +# The numbers formed by adding one to the products of the smallest primes are +# called the Euclid Numbers (see wiki). Write a script that finds the smallest +# Euclid Number that is not prime. This challenge was proposed by Laurent +# Rosenfeld. + +say scan_not_prime_euclid_number(); + +sub scan_not_prime_euclid_number { + my $number = 1; + my $eucid_number; + while ( not $eucid_number ) { + $eucid_number = get_euclid_number($number); + $number++; + } + return $eucid_number; +} + +sub get_euclid_number { + my $num = shift; + my $product = prime_product($num); + my $eucid_number = $product + 1; + return if is_prime($eucid_number); + # Euclid Number that is not prime. + return $eucid_number; +} + +sub prime_product { + my $num = shift; + my $product = 1; + map { $product *= $_ if is_prime($_); } ( 1 .. $num ); + return $product; +} + +sub is_prime { + my $number = shift; + return 0 if grep { $number % $_ == 0 } ( 2 .. sqrt($number) ); + return 1; +} -- cgit From e3f3db62bac5133fc78b912bb7a79a530af69842 Mon Sep 17 00:00:00 2001 From: Rakesh Kumar Shardiwal Date: Tue, 11 Jun 2019 13:29:56 +0530 Subject: CH2: Finds the common directory path using hash lookup --- challenge-012/shardiwal/perl5/ch-2.pl | 58 +++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 challenge-012/shardiwal/perl5/ch-2.pl diff --git a/challenge-012/shardiwal/perl5/ch-2.pl b/challenge-012/shardiwal/perl5/ch-2.pl new file mode 100644 index 0000000000..7abbd7ee62 --- /dev/null +++ b/challenge-012/shardiwal/perl5/ch-2.pl @@ -0,0 +1,58 @@ +#!/usr/bin/perl + +use warnings; +use strict; +use feature qw(say); +use Data::Dumper; + +# Write a script that finds the common directory path, given a collection +# of paths and directory separator. For example, if the following paths +# are supplied. + +my @path_list = qw( + /a/b/c/d + /a/b/cd + /a/b/cc + /a/b/c/d/e +); + +say find_common_path( \@path_list, "/" ); + +sub find_common_path { + my ( $path_list, $separator ) = @_; + my $path_mapping = common_path_mapping( $path_list, $separator ); + my $common_path; + my $uses = 0; + while ( my ($path, $used) = each %$path_mapping ) { + my $used_no_of_times = scalar @$used; + if ( $used_no_of_times > $uses ){ + $uses = $used_no_of_times; + $common_path = $path; + } + } + return $separator . $common_path; +} + +sub common_path_mapping { + my ( $path_list, $separator ) = @_; + my %paths; + map { + my $line = $_; + my $dirs = _get_directories_in_path( $line, $separator ); + my $i = 1; + foreach my $dir ( @$dirs ) { + next unless $dirs->[$i]; + my $path_in_chunk = join( $separator, @$dirs[0..$i] ); + push( @{ $paths{$path_in_chunk} }, $line); + $i++; + } + } @$path_list; + return \%paths; +} + +sub _get_directories_in_path { + my ( $path, $separator ) = @_; + my @dirs = split /$separator/, $path; + shift @dirs; + return \@dirs; +} \ No newline at end of file -- cgit From 9cc5dbad2e5fb5f0a15a951a955b89ea72e40bea Mon Sep 17 00:00:00 2001 From: Mohammad S Anwar Date: Tue, 11 Jun 2019 11:06:37 +0100 Subject: - Added solutions by Kevin Colyer. --- challenge-012/kevin-colyer/perl6/ch-1.p6 | 19 ++ challenge-012/kevin-colyer/perl6/ch-2.p6 | 42 +++ stats/pwc-current.json | 99 ++++--- stats/pwc-language-breakdown-summary.json | 72 ++--- stats/pwc-language-breakdown.json | 202 +++++++------- stats/pwc-leaders.json | 450 +++++++++++++++--------------- stats/pwc-summary-1-30.json | 92 +++--- stats/pwc-summary-31-60.json | 104 +++---- stats/pwc-summary-61-90.json | 44 +-- stats/pwc-summary-91-120.json | 50 ++-- stats/pwc-summary.json | 216 +++++++------- 11 files changed, 733 insertions(+), 657 deletions(-) create mode 100644 challenge-012/kevin-colyer/perl6/ch-1.p6 create mode 100644 challenge-012/kevin-colyer/perl6/ch-2.p6 diff --git a/challenge-012/kevin-colyer/perl6/ch-1.p6 b/challenge-012/kevin-colyer/perl6/ch-1.p6 new file mode 100644 index 0000000000..1938454e68 --- /dev/null +++ b/challenge-012/kevin-colyer/perl6/ch-1.p6 @@ -0,0 +1,19 @@ +#!/usr/bin/perl6 +use v6; + +use Test; + +# 12.1 +my @primes = lazy (2,3,*+2 ... ∞).grep: *.is-prime; + +# from wikipedia: https://en.wikipedia.org/wiki/Euclid_number +# Write a script that finds the smallest Euclid Number that is not prime + +for ^∞ -> $n { + my $i = ( [*] @primes[0..$n] ) + 1; + if ! $i.is-prime { + say "12.1) (first $n primes + 1) -> $i is not prime"; + last; + } +}; + diff --git a/challenge-012/kevin-colyer/perl6/ch-2.p6 b/challenge-012/kevin-colyer/perl6/ch-2.p6 new file mode 100644 index 0000000000..c7d661a855 --- /dev/null +++ b/challenge-012/kevin-colyer/perl6/ch-2.p6 @@ -0,0 +1,42 @@ +#!/usr/bin/perl6 +use v6; + +use Test; + +my @input=("/a/b/c/d", "/a/b/cd", "/a/b/cc", "/a/b/c/d/e"); +my $output="/a/b"; +my $sep="/"; + +is shortestCDP(@input,$sep),$output,"Test of shortestCDP"; +is shortestCDP(("/a/b/c/d", "/a/b/cd", "/a/cc", "/a/b/c/d/e"),$sep),"/a","Test of shortestCDP"; +is shortestCDP(("/a/b/c/d", "/a/b/c", "/a/b/c/d/e"),$sep),"/a/b/c","Test of shortestCDP"; + +done-testing; + +say "12.2) shortest path is " ~ shortestCDP(@input,$sep); + + +sub shortestCDP(@input, $sep) { + my $l=@input[0].chars; + my @dirs; + for @input -> $i { + my $d=[$i.split($sep, :skip-empty)]; + $l=min($l, $d.elems); + @dirs.push($d); + } + my @found; + my $i=0; + while $i < $l { + my $alleq=True; + for @dirs -> $d { + next if $d[$i] eq @dirs[0][$i]; +$alleq=False; + last;; + } + $i++; + next if $alleq==False; + @found.push(@dirs[0][$i-1]); + } + return $sep ~ @found.join($sep); +} + diff --git a/stats/pwc-current.json b/stats/pwc-current.json index 5e0636d44c..115ea7adfb 100644 --- a/stats/pwc-current.json +++ b/stats/pwc-current.json @@ -1,78 +1,93 @@ { - "xAxis" : { - "type" : "category" - }, - "legend" : { - "enabled" : 0 - }, - "series" : [ - { - "colorByPoint" : 1, - "name" : "Champions", - "data" : [ - { - "drilldown" : "Ozzy", - "y" : 1, - "name" : "Ozzy" - }, - { - "name" : "Simon Proctor", - "y" : 2, - "drilldown" : "Simon Proctor" - } - ] + "plotOptions" : { + "series" : { + "dataLabels" : { + "enabled" : 1, + "format" : "{point.y}" + }, + "borderWidth" : 0 } - ], - "subtitle" : { - "text" : "[Champions: 2] Last updated at 2019-06-10 12:32:36 GMT" }, "drilldown" : { "series" : [ { + "name" : "Kevin Colyer", + "id" : "Kevin Colyer", + "data" : [ + [ + "Perl 6", + 2 + ] + ] + }, + { + "id" : "Ozzy", "data" : [ [ "Perl 6", 1 ] ], - "name" : "Ozzy", - "id" : "Ozzy" + "name" : "Ozzy" }, { - "id" : "Simon Proctor", "data" : [ [ "Perl 6", 2 ] ], + "id" : "Simon Proctor", "name" : "Simon Proctor" } ] }, - "tooltip" : { - "headerFormat" : "{series.name}
", - "followPointer" : 1, - "pointerFormat" : "{point.name}: {point.y:f}
" - }, - "plotOptions" : { - "series" : { - "borderWidth" : 0, - "dataLabels" : { - "enabled" : 1, - "format" : "{point.y}" - } + "series" : [ + { + "name" : "Champions", + "colorByPoint" : 1, + "data" : [ + { + "drilldown" : "Kevin Colyer", + "name" : "Kevin Colyer", + "y" : 2 + }, + { + "name" : "Ozzy", + "y" : 1, + "drilldown" : "Ozzy" + }, + { + "name" : "Simon Proctor", + "y" : 2, + "drilldown" : "Simon Proctor" + } + ] } + ], + "chart" : { + "type" : "column" }, "yAxis" : { "title" : { "text" : "Total Solutions" } }, + "subtitle" : { + "text" : "[Champions: 3] Last updated at 2019-06-11 10:06:06 GMT" + }, + "tooltip" : { + "followPointer" : 1, + "pointerFormat" : "{point.name}: {point.y:f}
", + "headerFormat" : "{series.name}
" + }, + "legend" : { + "enabled" : 0 + }, "title" : { "text" : "Perl Weekly Challenge - 012" }, - "chart" : { - "type" : "column" + "xAxis" : { + "type" : "category" } } diff --git a/stats/pwc-language-breakdown-summary.json b/stats/pwc-language-breakdown-summary.json index 7b45109344..efcc371c57 100644 --- a/stats/pwc-language-breakdown-summary.json +++ b/stats/pwc-language-breakdown-summary.json @@ -1,33 +1,6 @@ { - "chart" : { - "type" : "column" - }, - "title" : { - "text" : "Perl Weekly Challenge Contributions - 2019" - }, "subtitle" : { - "text" : "Last updated at 2019-06-10 12:32:50 GMT" - }, - "yAxis" : { - "title" : { - "text" : null - }, - "min" : 0 - }, - "xAxis" : { - "labels" : { - "style" : { - "fontFamily" : "Verdana, sans-serif", - "fontSize" : "13px" - } - }, - "type" : "category" - }, - "legend" : { - "enabled" : "false" - }, - "tooltip" : { - "pointFormat" : "{point.y:.0f}" + "text" : "Last updated at 2019-06-11 10:06:14 GMT" }, "series" : [ { @@ -42,22 +15,49 @@ ], [ "Perl 6", - 262 + 264 ] ], + "name" : "Contributions", "dataLabels" : { - "format" : "{point.y:.0f}", - "color" : "#FFFFFF", - "rotation" : -90, "y" : 10, + "rotation" : -90, + "enabled" : "true", "align" : "right", "style" : { "fontSize" : "13px", "fontFamily" : "Verdana, sans-serif" }, - "enabled" : "true" - }, - "name" : "Contributions" + "color" : "#FFFFFF", + "format" : "{point.y:.0f}" + } + } + ], + "yAxis" : { + "min" : 0, + "title" : { + "text" : null + } + }, + "legend" : { + "enabled" : "false" + }, + "tooltip" : { + "pointFormat" : "{point.y:.0f}" + }, + "title" : { + "text" : "Perl Weekly Challenge Contributions - 2019" + }, + "xAxis" : { + "type" : "category", + "labels" : { + "style" : { + "fontSize" : "13px", + "fontFamily" : "Verdana, sans-serif" + } } - ] + }, + "chart" : { + "type" : "column" + } } diff --git a/stats/pwc-language-breakdown.json b/stats/pwc-language-breakdown.json index a1c5f893ca..6b05294b4c 100644 --- a/stats/pwc-language-breakdown.json +++ b/stats/pwc-language-breakdown.json @@ -1,7 +1,80 @@ { - "title" : { - "text" : "Perl Weekly Challenge Language" + "yAxis" : { + "title" : { + "text" : "Total Solutions" + } + }, + "legend" : { + "enabled" : "false" }, + "series" : [ + { + "data" : [ + { + "drilldown" : "001", + "y" : 113, + "name" : "#001 [P5=76 P6=37]" + }, + { + "y" : 95, + "name" : "#002 [P5=63 P6=32]", + "drilldown" : "002" + }, + { + "drilldown" : "003", + "y" : 58, + "name" : "#003 [P5=32 P6=26]" + }, + { + "name" : "#004 [P5=46 P6=29]", + "y" : 75, + "drilldown" : "004" + }, + { + "drilldown" : "005", + "name" : "#005 [P5=33 P6=22]", + "y" : 55 + }, + { + "drilldown" : "006", + "y" : 41, + "name" : "#006 [P5=27 P6=14]" + }, + { + "drilldown" : "007", + "name" : "#007 [P5=26 P6=20]", + "y" : 46 + }, + { + "name" : "#008 [P5=38 P6=20]", + "y" : 58, + "drilldown" : "008" + }, + { + "name" : "#009 [P5=33 P6=18]", + "y" : 51, + "drilldown" : "009" + }, + { + "name" : "#010 [P5=32 P6=15]", + "y" : 47, + "drilldown" : "010" + }, + { + "drilldown" : "011", + "name" : "#011 [P5=41 P6=26]", + "y" : 67 + }, + { + "name" : "#012 [P5=0 P6=5]", + "y" : 5, + "drilldown" : "012" + } + ], + "colorByPoint" : "true", + "name" : "Perl Weekly Challenge Languages" + } + ], "drilldown" : { "series" : [ { @@ -19,7 +92,6 @@ ] }, { - "name" : "002", "data" : [ [ "Perl 5", @@ -30,7 +102,8 @@ 32 ] ], - "id" : "002" + "id" : "002", + "name" : "002" }, { "data" : [ @@ -61,8 +134,8 @@ ] }, { - "name" : "005", "id" : "005", + "name" : "005", "data" : [ [ "Perl 5", @@ -75,6 +148,7 @@ ] }, { + "name" : "006", "id" : "006", "data" : [ [ @@ -85,10 +159,10 @@ "Perl 6", 14 ] - ], - "name" : "006" + ] }, { + "id" : "007", "name" : "007", "data" : [ [ @@ -99,8 +173,7 @@ "Perl 6", 20 ] - ], - "id" : "007" + ] }, { "name" : "008", @@ -118,6 +191,7 @@ }, { "id" : "009", + "name" : "009", "data" : [ [ "Perl 5", @@ -127,10 +201,10 @@ "Perl 6", 18 ] - ], - "name" : "009" + ] }, { + "name" : "010", "id" : "010", "data" : [ [ @@ -141,12 +215,11 @@ "Perl 6", 15 ] - ], - "name" : "010" + ] }, { - "name" : "011", "id" : "011", + "name" : "011", "data" : [ [ "Perl 5", @@ -159,8 +232,6 @@ ] }, { - "name" : "012", - "id" : "012", "data" : [ [ "Perl 5", @@ -168,109 +239,38 @@ ], [ "Perl 6", - 3 + 5 ] - ] + ], + "name" : "012", + "id" : "012" } ] }, - "chart" : { - "type" : "column" - }, - "yAxis" : { - "title" : { - "text" : "Total Solutions" - } + "subtitle" : { + "text" : "Click the columns to drilldown the language breakdown. Last updated at 2019-06-11 10:06:14 GMT" }, "xAxis" : { "type" : "category" }, + "chart" : { + "type" : "column" + }, "plotOptions" : { "series" : { - "borderWidth" : 0, "dataLabels" : { "format" : "{point.y}", "enabled" : 1 - } + }, + "borderWidth" : 0 } }, - "subtitle" : { - "text" : "Click the columns to drilldown the language breakdown. Last updated at 2019-06-10 12:32:50 GMT" + "title" : { + "text" : "Perl Weekly Challenge Language" }, "tooltip" : { - "followPointer" : "true", "headerFormat" : "", + "followPointer" : "true", "pointFormat" : "{point.name}: {point.y:f}
" - }, - "series" : [ - { - "colorByPoint" : "true", - "data" : [ - { - "y" : 113, - "name" : "#001 [P5=76 P6=37]", - "drilldown" : "001" - }, - { - "drilldown" : "002", - "y" : 95, - "name" : "#002 [P5=63 P6=32]" - }, - { - "drilldown" : "003", - "name" : "#003 [P5=32 P6=26]", - "y" : 58 - }, - { - "drilldown" : "004", - "name" : "#004 [P5=46 P6=29]", - "y" : 75 - }, - { - "y" : 55, - "name" : "#005 [P5=33 P6=22]", - "drilldown" : "005" - }, - { - "drilldown" : "006", - "y" : 41, - "name" : "#006 [P5=27 P6=14]" - }, - { - "name" : "#007 [P5=26 P6=20]", - "y" : 46, - "drilldown" : "007" - }, - { - "name" : "#008 [P5=38 P6=20]", - "y" : 58, - "drilldown" : "008" - }, - { - "drilldown" : "009", - "name" : "#009 [P5=33 P6=18]", - "y" : 51 - }, - { - "drilldown" : "010", - "y" : 47, - "name" : "#010 [P5=32 P6=15]" - }, - { - "drilldown" : "011", - "y" : 67, - "name" : "#011 [P5=41 P6=26]" - }, - { - "drilldown" : "012", - "y" : 3, - "name" : "#012 [P5=0 P6=3]" - } - ], - "name" : "Perl Weekly Challenge Languages" - } - ], - "legend" : { - "enabled" : "false" } } diff --git a/stats/pwc-leaders.json b/stats/pwc-leaders.json index c2a403eb5e..f870525333 100644 --- a/stats/pwc-leaders.json +++ b/stats/pwc-leaders.json @@ -1,32 +1,21 @@ { - "plotOptions" : { - "series" : { - "borderWidth" : 0, - "dataLabels" : { - "enabled" : 1, - "format" : "{point.y}" - } - } - }, "series" : [ { - "name" : "Perl Weekly Challenge Leaders", - "colorByPoint" : "true", "data" : [ { - "name" : "#1: Laurent Rosenfeld", "drilldown" : "Laurent Rosenfeld", - "y" : 112 + "y" : 112, + "name" : "#1: Laurent Rosenfeld" }, { - "name" : "#2: Joelle Maslak", "drilldown" : "Joelle Maslak", - "y" : 110 + "y" : 110, + "name" : "#2: Joelle Maslak" }, { - "name" : "#3: Jaldhar H. Vyas", + "drilldown" : "Jaldhar H. Vyas", "y" : 88, - "drilldown" : "Jaldhar H. Vyas" + "name" : "#3: Jaldhar H. Vyas" }, { "y" : 76, @@ -34,9 +23,9 @@ "name" : "#4: Ruben Westerberg" }, { - "name" : "#5: Adam Russell", "y" : 66, - "drilldown" : "Adam Russell" + "drilldown" : "Adam Russell", + "name" : "#5: Adam Russell" }, { "drilldown" : "Simon Proctor", @@ -44,144 +33,144 @@ "name" : "#6: Simon Proctor" }, { - "name" : "#7: Arne Sommer", + "y" : 58, "drilldown" : "Arne Sommer", - "y" : 58 + "name" : "#7: Arne Sommer" }, { - "drilldown" : "Kian-Meng Ang", "y" : 58, + "drilldown" : "Kian-Meng Ang", "name" : "#8: Kian-Meng Ang" }, { - "name" : "#9: Jo Christian Oterhals", + "drilldown" : "Jo Christian Oterhals", "y" : 48, - "drilldown" : "Jo Christian Oterhals" + "name" : "#9: Jo Christian Oterhals" }, { + "name" : "#10: Athanasius", "drilldown" : "Athanasius", - "y" : 46, - "name" : "#10: Athanasius" + "y" : 46 }, { - "name" : "#11: Gustavo Chaves", "y" : 46, - "drilldown" : "Gustavo Chaves" + "drilldown" : "Gustavo Chaves", + "name" : "#11: Gustavo Chaves" }, { - "name" : "#12: Dr James A. Smith", "y" : 44, - "drilldown" : "Dr James A. Smith" + "drilldown" : "Dr James A. Smith", + "name" : "#12: Dr James A. Smith" }, { + "name" : "#13: Francis Whittle", "y" : 44, - "drilldown" : "Francis Whittle", - "name" : "#13: Francis Whittle" + "drilldown" : "Francis Whittle" }, { - "y" : 42, + "name" : "#14: Andrezgz", "drilldown" : "Andrezgz", - "name" : "#14: Andrezgz" + "y" : 42 }, { - "name" : "#15: E. Choroba", + "y" : 42, "drilldown" : "E. Choroba", - "y" : 42 + "name" : "#15: E. Choroba" }, { - "name" : "#16: Dave Jacoby", "drilldown" : "Dave Jacoby", - "y" : 36 + "y" : 36, + "name" : "#16: Dave Jacoby" }, { "name" : "#17: Daniel Mantovani", - "drilldown" : "Daniel Mantovani", - "y" : 32 + "y" : 32, + "drilldown" : "Daniel Mantovani" }, { - "y" : 32, "drilldown" : "Duncan C. White", + "y" : 32, "name" : "#18: Duncan C. White" }, { - "y" : 32, "drilldown" : "Nick Logan", + "y" : 32, "name" : "#19: Nick Logan" }, { - "drilldown" : "Lars Balker", "y" : 28, + "drilldown" : "Lars Balker", "name" : "#20: Lars Balker" }, { "name" : "#21: Mark Senn", - "y" : 26, - "drilldown" : "Mark Senn" + "drilldown" : "Mark Senn", + "y" : 26 }, { - "drilldown" : "Yozen Hernandez", "y" : 22, + "drilldown" : "Yozen Hernandez", "name" : "#22: Yozen Hernandez" }, { - "name" : "#23: Doug Schrag", + "drilldown" : "Doug Schrag", "y" : 20, - "drilldown" : "Doug Schrag" + "name" : "#23: Doug Schrag" }, { - "name" : "#24: Ozzy", + "y" : 20, "drilldown" : "Ozzy", - "y" : 20 + "name" : "#24: Ozzy" }, { "name" : "#25: Steven Wilson", - "drilldown" : "Steven Wilson", - "y" : 20 + "y" : 20, + "drilldown" : "Steven Wilson" }, { - "name" : "#26: Alicia Bielsa", "drilldown" : "Alicia Bielsa", - "y" : 18 + "y" : 18, + "name" : "#26: Alicia Bielsa" }, { - "name" : "#27: Guillermo Ramos", + "y" : 18, "drilldown" : "Guillermo Ramos", - "y" : 18 + "name" : "#27: Guillermo Ramos" }, { - "name" : "#28: Maxim Nechaev", "drilldown" : "Maxim Nechaev", - "y" : 18 + "y" : 18, + "name" : "#28: Maxim Nechaev" }, { - "drilldown" : "Robert Gratza", + "name" : "#29: Robert Gratza", "y" : 16, - "name" : "#29: Robert Gratza" + "drilldown" : "Robert Gratza" }, { - "y" : 14, + "name" : "#30: John Barrett", "drilldown" : "John Barrett", - "name" : "#30: John Barrett" + "y" : 14 }, { - "drilldown" : "Khalid", "y" : 14, + "drilldown" : "Khalid", "name" : "#31: Khalid" }, { - "y" : 12, + "name" : "#32: Kivanc Yazan", "drilldown" : "Kivanc Yazan", - "name" : "#32: Kivanc Yazan" + "y" : 12 }, { "name" : "#33: Maxim Kolodyazhny", - "drilldown" : "Maxim Kolodyazhny", - "y" : 12 + "y" : 12, + "drilldown" : "Maxim Kolodyazhny" }, { + "name" : "#34: Philippe Bruhat", "y" : 12, - "drilldown" : "Philippe Bruhat", - "name" : "#34: Philippe Bruhat" + "drilldown" : "Philippe Bruhat" }, { "name" : "#35: Sergio Iglesias", @@ -189,14 +178,14 @@ "y" : 12 }, { - "drilldown" : "Arpad Toth", + "name" : "#36: Arpad Toth", "y" : 10, - "name" : "#36: Arpad Toth" + "drilldown" : "Arpad Toth" }, { "name" : "#37: Feng Chang", - "drilldown" : "Feng Chang", - "y" : 10 + "y" : 10, + "drilldown" : "Feng Chang" }, { "drilldown" : "Steve Rogerson", @@ -210,8 +199,8 @@ }, { "name" : "#40: Alex Daniel", - "drilldown" : "Alex Daniel", - "y" : 8 + "y" : 8, + "drilldown" : "Alex Daniel" }, { "drilldown" : "Bob Kleemann", @@ -230,8 +219,8 @@ }, { "name" : "#44: Finley", - "y" : 8, - "drilldown" : "Finley" + "drilldown" : "Finley", + "y" : 8 }, { "name" : "#45: Jaime Corchado", @@ -239,51 +228,51 @@ "drilldown" : "Jaime Corchado" }, { - "name" : "#46: Luis F. Uceta", - "drilldown" : "Luis F. Uceta", - "y" : 8 + "y" : 8, + "drilldown" : "Kevin Colyer", + "name" : "#46: Kevin Colyer" }, { + "name" : "#47: Luis F. Uceta", "y" : 8, - "drilldown" : "Matt Latusek", - "name" : "#47: Matt Latusek" + "drilldown" : "Luis F. Uceta" }, { - "name" : "#48: Neil Bowers", - "drilldown" : "Neil Bowers", - "y" : 8 + "y" : 8, + "drilldown" : "Matt Latusek", + "name" : "#48: Matt Latusek" }, { + "name" : "#49: Neil Bowers", "y" : 8, - "drilldown" : "Pete Houston", - "name" : "#49: Pete Houston" + "drilldown" : "Neil Bowers" }, { - "y" : 8, - "drilldown" : "Simon Reinhardt", - "name" : "#50: Simon Reinhardt" + "name" : "#50: Pete Houston", + "drilldown" : "Pete Houston", + "y" : 8 } - ] + ], + "name" : "Perl Weekly Challenge Leaders", + "colorByPoint" : "true" } ], + "yAxis" : { + "title" : { + "text" : "Total Score" + } + }, "legend" : { "enabled" : "false" }, - "chart" : { - "type" : "column" - }, "tooltip" : { "headerFormat" : "", - "pointFormat" : "{point.name}: {point.y:f}
", - "followPointer" : "true" - }, - "xAxis" : { - "type" : "category" + "followPointer" : "true", + "pointFormat" : "{point.name}: {point.y:f}
" }, "drilldown" : { "series" : [ { - "name" : "Laurent Rosenfeld", "data" : [ [ "Perl 5", @@ -298,9 +287,11 @@ 21 ] ], - "id" : "Laurent Rosenfeld" + "id" : "Laurent Rosenfeld", + "name" : "Laurent Rosenfeld" }, { + "id" : "Joelle Maslak", "data" : [ [ "Blog", @@ -315,38 +306,39 @@ 26 ] ], - "id" : "Joelle Maslak", "name" : "Joelle Maslak" }, { - "id" : "Jaldhar H. Vyas", + "name" : "Jaldhar H. Vyas", "data" : [ [ - "Perl 6", + "Perl 5", 22 ], [ - "Perl 5", + "Perl 6", 22 ] ], - "name" : "Jaldhar H. Vyas" + "id" : "Jaldhar H. Vyas" }, { "id" : "Ruben Westerberg", "data" : [ [ - "Perl 5", + "Perl 6", 19 ], [ - "Perl 6", + "Perl 5", 19 ] ], "name" : "Ruben Westerberg" }, { + "name" : "Adam Russell", + "id" : "Adam Russell", "data" : [ [ "Blog", @@ -356,30 +348,27 @@ "Perl 5", 22 ] - ], - "id" : "Adam Russell", - "name" : "Adam Russell" + ] }, { "data" : [ [ - "Perl 6", - 20 + "Blog", + 6 ], [ "Perl 5", 4 ], [ - "Blog", - 6 + "Perl 6", + 20 ] ], "id" : "Simon Proctor", "name" : "Simon Proctor" }, { - "name" : "Arne Sommer", "data" : [ [ "Perl 6", @@ -390,7 +379,8 @@ 10 ] ], - "id" : "Arne Sommer" + "id" : "Arne Sommer", + "name" : "Arne Sommer" }, { "data" : [ @@ -407,60 +397,60 @@ "name" : "Kian-Meng Ang" }, { - "id" : "Jo Christian Oterhals", + "name" : "Jo Christian Oterhals", "data" : [ [ - "Perl 6", - 12 + "Perl 5", + 6 ], [ "Blog", 6 ], [ - "Perl 5", - 6 + "Perl 6", + 12 ] ], - "name" : "Jo Christian Oterhals" + "id" : "Jo Christian Oterhals" }, { - "name" : "Athanasius", + "id" : "Athanasius", "data" : [ [ "Perl 5", 23 ] ], - "id" : "Athanasius" + "name" : "Athanasius" }, { - "name" : "Gustavo Chaves", "data" : [ - [ - "Blog", - 4 - ], [ "Perl 5", 19 + ], + [ + "Blog", + 4 ] ], - "id" : "Gustavo Chaves" + "id" : "Gustavo Chaves", + "name" : "Gustavo Chaves" }, { "name" : "Dr James A. Smith", + "id" : "Dr James A. Smith", "data" : [ - [ - "Perl 5", - 12 - ], [ "Perl 6", 10 + ], + [ + "Perl 5", + 12 ] - ], - "id" : "Dr James A. Smith" + ] }, { "name" : "Francis Whittle", @@ -477,18 +467,16 @@ "id" : "Francis Whittle" }, { - "name" : "Andrezgz", "id" : "Andrezgz", "data" : [ [ "Perl 5", 21 ] - ] + ], + "name" : "Andrezgz" }, { - "name" : "E. Choroba", - "id" : "E. Choroba", "data" : [ [ "Perl 5", @@ -498,21 +486,23 @@ "Blog", 7 ] - ] + ], + "id" : "E. Choroba", + "name" : "E. Choroba" }, { - "id" : "Dave Jacoby", + "name" : "Dave Jacoby", "data" : [ [ - "Perl 5", + "Blog", 9 ], [ - "Blog", + "Perl 5", 9 ] ], - "name" : "Dave Jacoby" + "id" : "Dave Jacoby" }, { "name" : "Daniel Mantovani", @@ -525,56 +515,56 @@ "id" : "Daniel Mantovani" }, { + "name" : "Duncan C. White", "id" : "Duncan C. White", "data" : [ [ "Perl 5", 16 ] - ], - "name" : "Duncan C. White" + ] }, { + "name" : "Nick Logan", "id" : "Nick Logan", "data" : [ [ - "Perl 5", + "Perl 6", 8 ], [ - "Perl 6", + "Perl 5", 8 ] - ], - "name" : "Nick Logan" + ] }, { "name" : "Lars Balker", "data" : [ - [ - "Perl 6", - 4 - ], [ "Perl 5", 10 + ], + [ + "Perl 6", + 4 ] ], "id" : "Lars Balker" }, { - "name" : "Mark Senn", "data" : [ - [ - "Blog", - 3 - ], [ "Perl 6", 10 + ], + [ + "Blog", + 3 ] ], - "id" : "Mark Senn" + "id" : "Mark Senn", + "name" : "Mark Senn" }, { "name" : "Yozen Hernandez", @@ -592,73 +582,73 @@ }, { "name" : "Doug Schrag", - "id" : "Doug Schrag", "data" : [ [ "Perl 6", 10 ] - ] + ], + "id" : "Doug Schrag" }, { - "id" : "Ozzy", + "name" : "Ozzy", "data" : [ [ "Perl 6", 10 ] ], - "name" : "Ozzy" + "id" : "Ozzy" }, { - "id" : "Steven Wilson", + "name" : "Steven Wilson", "data" : [ [ "Perl 5", 10 ] ], - "name" : "Steven Wilson" + "id" : "Steven Wilson" }, { - "name" : "Alicia Bielsa", "id" : "Alicia Bielsa", "data" : [ [ "Perl 5", 9 ] - ] + ], + "name" : "Alicia Bielsa" }, { + "name" : "Guillermo Ramos", "id" : "Guillermo Ramos", "data" : [ [ "Perl 5", 9 ] - ], - "name" : "Guillermo Ramos" + ] }, { + "name" : "Maxim Nechaev", "data" : [ [ "Perl 5", 9 ] ], - "id" : "Maxim Nechaev", - "name" : "Maxim Nechaev" + "id" : "Maxim Nechaev" }, { "data" : [ - [ - "Perl 5", - 2 - ], [ "Perl 6", 6 + ], + [ + "Perl 5", + 2 ] ], "id" : "Robert Gratza", @@ -675,22 +665,22 @@ "name" : "John Barrett" }, { + "name" : "Khalid", "id" : "Khalid", "data" : [ [ - "Perl 6", - 2 + "Blog", + 1 ], [ "Perl 5", 4 ], [ - "Blog", - 1 + "Perl 6", + 2 ] - ], - "name" : "Khalid" + ] }, { "name" : "Kivanc Yazan", @@ -703,14 +693,14 @@ ] }, { + "name" : "Maxim Kolodyazhny", + "id" : "Maxim Kolodyazhny", "data" : [ [ "Perl 5", 6 ] - ], - "id" : "Maxim Kolodyazhny", - "name" : "Maxim Kolodyazhny" + ] }, { "name" : "Philippe Bruhat", @@ -737,32 +727,31 @@ "name" : "Sergio Iglesias" }, { + "name" : "Arpad Toth", "id" : "Arpad Toth", "data" : [ [ "Perl 5", 5 ] - ], - "name" : "Arpad Toth" + ] }, { - "name" : "Feng Chang", "data" : [ - [ - "Perl 5", - 2 - ], [ "Perl 6", 3 + ], + [ + "Perl 5", + 2 ] ], - "id" : "Feng Chang" + "id" : "Feng Chang", + "name" : "Feng Chang" }, { "name" : "Steve Rogerson", - "id" : "Steve Rogerson", "data" : [ [ "Perl 5", @@ -772,7 +761,8 @@ "Perl 6", 2 ] - ] + ], + "id" : "Steve Rogerson" }, { "name" : "Veesh Goldman", @@ -785,14 +775,14 @@ ] }, { + "name" : "Alex Daniel", "data" : [ [ "Perl 6", 4 ] ], - "id" : "Alex Daniel", - "name" : "Alex Daniel" + "id" : "Alex Daniel" }, { "name" : "Bob Kleemann", @@ -806,67 +796,67 @@ }, { "name" : "Chenyf", + "id" : "Chenyf", "data" : [ [ "Perl 6", 4 ] - ], - "id" : "Chenyf" + ] }, { + "name" : "David Kayal", + "id" : "David Kayal", "data" : [ [ "Perl 5", 4 ] - ], - "id" : "David Kayal", - "name" : "David Kayal" + ] }, { "name" : "Finley", - "id" : "Finley", "data" : [ [ "Perl 6", 4 ] - ] + ], + "id" : "Finley" }, { - "id" : "Jaime Corchado", + "name" : "Jaime Corchado", "data" : [ [ "Perl 5", 4 ] ], - "name" : "Jaime Corchado" + "id" : "Jaime Corchado" }, { - "name" : "Luis F. Uceta", + "id" : "Kevin Colyer", "data" : [ [ "Perl 6", 4 ] ], - "id" : "Luis F. Uceta" + "name" : "Kevin Colyer" }, { - "name" : "Matt Latusek", - "id" : "Matt Latusek", "data" : [ [ - "Perl 5", + "Perl 6", 4 ] - ] + ], + "id" : "Luis F. Uceta", + "name" : "Luis F. Uceta" }, { - "name" : "Neil Bowers", - "id" : "Neil Bowers", + "name" : "Matt Latusek", + "id" : "Matt Latusek", "data" : [ [ "Perl 5", @@ -875,36 +865,46 @@ ] }, { - "name" : "Pete Houston", + "name" : "Neil Bowers", "data" : [ [ "Perl 5", 4 ] ], - "id" : "Pete Houston" + "id" : "Neil Bowers" }, { - "name" : "Simon Reinhardt", + "id" : "Pete Houston", "data" : [ [ "Perl 5", 4 ] ], - "id" : "Simon Reinhardt" + "name" : "Pete Houston" } ] }, - "subtitle" : { - "text" : "Click the columns to drilldown the score breakdown. Last updated at 2019-06-10 12:32:45 GMT" + "xAxis" : { + "type" : "category" }, "title" : { "text" : "Perl Weekly Challenge Leaders (TOP 50)" }, - "yAxis" : { - "title" : { - "text" : "Total Score" + "plotOptions" : { + "series" : { + "borderWidth" : 0, + "dataLabels" : { + "format" : "{point.y}", + "enabled" : 1 + } } + }, + "subtitle" : { + "text" : "Click the columns to drilldown the score breakdown. Last updated at 2019-06-11 10:06:11 GMT" + }, + "chart" : { + "type" : "column" } } diff --git a/stats/pwc-summary-1-30.json b/stats/pwc-summary-1-30.json index 105262d8ee..8eac5d0683 100644 --- a/stats/pwc-summary-1-30.json +++ b/stats/pwc-summary-1-30.json @@ -1,14 +1,48 @@ { + "yAxis" : { + "min" : 0, + "title" : { + "text" : "" + } + }, "plotOptions" : { "column" : { "stacking" : "percent" } }, - "chart" : { - "type" : "column" - }, - "title" : { - "text" : "Perl Weekly Challenge - 2019" + "xAxis" : { + "categories" : [ + "Aaron Sherman", + "Abigail", + "Adam Russell", + "Ailbhe Tweedie", + "Alex Daniel", + "Alexander Karelas", + "Alexey Melezhik", + "Alicia Bielsa", + "Andrezgz", + "Antonio Gamiz", + "Arne Sommer", + "Arpad Toth", + "Athanasius", + "Aubrey Quarcoo", + "Bill Palmer", + "Bob Kleemann", + "Clive Holloway", + "Daniel Mantovani", + "Daniel Mita", + "Dave Cross", + "Dave Jacoby", + "David Kayal", + "Denis Yurashku", + "Donald Hunter", + "Doug Schrag", + "Duncan C. White", + "E. Choroba", + "Eddy HS", + "Feng Chang", + "Finley" + ] }, "series" : [ { @@ -82,51 +116,17 @@ ] } ], - "subtitle" : { - "text" : "[Champions: 30] Last updated at 2019-06-10 12:32:36 GMT" - }, - "xAxis" : { - "categories" : [ - "Aaron Sherman", - "Abigail", - "Adam Russell", - "Ailbhe Tweedie", - "Alex Daniel", - "Alexander Karelas", - "Alexey Melezhik", - "Alicia Bielsa", - "Andrezgz", - "Antonio Gamiz", - "Arne Sommer", - "Arpad Toth", - "Athanasius", - "Aubrey Quarcoo", - "Bill Palmer", - "Bob Kleemann", - "Clive Holloway", - "Daniel Mantovani", - "Daniel Mita", - "Dave Cross", - "Dave Jacoby", - "David Kayal", - "Denis Yurashku", - "Donald Hunter", - "Doug Schrag", - "Duncan C. White", - "E. Choroba", - "Eddy HS", - "Feng Chang", - "Finley" - ] + "title" : { + "text" : "Perl Weekly Challenge - 2019" }, "tooltip" : { "shared" : 1, "pointFormat" : "{series.name}: {point.y}
" }, - "yAxis" : { - "min" : 0, - "title" : { - "text" : "" - } + "subtitle" : { + "text" : "[Champions: 30] Last updated at 2019-06-11 10:06:06 GMT" + }, + "chart" : { + "type" : "column" } } diff --git a/stats/pwc-summary-31-60.json b/stats/pwc-summary-31-60.json index 06ce2c1f41..633bcd6222 100644 --- a/stats/pwc-summary-31-60.json +++ b/stats/pwc-summary-31-60.json @@ -1,51 +1,9 @@ { - "tooltip" : { - "shared" : 1, - "pointFormat" : "{series.name}: {point.y}
" - }, - "yAxis" : { - "min" : 0, - "title" : { - "text" : "" - } - }, - "xAxis" : { - "categories" : [ - "Francis Whittle", - "Fred Zinn", - "Freddie B", - "Guillermo Ramos", - "Gustavo Chaves", - "Jacques Guinnebault", - "Jaime Corchado", - "Jaldhar H. Vyas", - "Dr James A. Smith", - "Jeff", - "Jeremy Carman", - "Jim Bacon", - "JJ Merelo", - "Jo Christian Oterhals", - "Joelle Maslak", - "John Barrett", - "Juan Caballero", - "Kevin Colyer", - "Khalid", - "Kian-Meng Ang", - "Kivanc Yazan", - "Lars Balker", - "Laurent Rosenfeld", - "Magnus Woldrich", - "Mano Chandar", - "Mark Senn", - "Martin Barth", - "Martin Mugeni", - "Matt Latusek", - "Matthew O. Persico" - ] + "chart" : { + "type" : "column" }, "series" : [ { - "name" : "Perl 5", "data" : [ 0, 2, @@ -77,10 +35,10 @@ 0, 4, 0 - ] + ], + "name" : "Perl 5" }, { - "name" : "Perl 6", "data" : [ 16, 0, @@ -99,7 +57,7 @@ 26, 0, 0, - 2, + 4, 2, 0, 0, @@ -112,21 +70,63 @@ 2, 0, 0 - ] + ], + "name" : "Perl 6" } ], - "subtitle" : { - "text" : "[Champions: 30] Last updated at 2019-06-10 12:32:36 GMT" + "xAxis" : { + "categories" : [ + "Francis Whittle", + "Fred Zinn", + "Freddie B", + "Guillermo Ramos", + "Gustavo Chaves", + "Jacques Guinnebault", + "Jaime Corchado", + "Jaldhar H. Vyas", + "Dr James A. Smith", + "Jeff", + "Jeremy Carman", + "Jim Bacon", + "JJ Merelo", + "Jo Christian Oterhals", + "Joelle Maslak", + "John Barrett", + "Juan Caballero", + "Kevin Colyer", + "Khalid", + "Kian-Meng Ang", + "Kivanc Yazan", + "Lars Balker", + "Laurent Rosenfeld", + "Magnus Woldrich", + "Mano Chandar", + "Mark Senn", + "Martin Barth", + "Martin Mugeni", + "Matt Latusek", + "Matthew O. Persico" + ] + }, + "yAxis" : { + "min" : 0, + "title" : { + "text" : "" + } }, "plotOptions" : { "column" : { "stacking" : "percent" } }, + "subtitle" : { + "text" : "[Champions: 30] Last updated at 2019-06-11 10:06:06 GMT" + }, "title" : { "text" : "Perl Weekly Challenge - 2019" }, - "chart" : { - "type" : "column" + "tooltip" : { + "pointFormat" : "{series.name}: {point.y}
", + "shared" : 1 } } diff --git a/stats/pwc-summary-61-90.json b/stats/pwc-summary-61-90.json index 44b2e6209a..9af74e5df5 100644 --- a/stats/pwc-summary-61-90.json +++ b/stats/pwc-summary-61-90.json @@ -1,6 +1,24 @@ { + "tooltip" : { + "shared" : 1, + "pointFormat" : "{series.name}: {point.y}
" + }, + "title" : { + "text" : "Perl Weekly Challenge - 2019" + }, "subtitle" : { - "text" : "[Champions: 30] Last updated at 2019-06-10 12:32:36 GMT" +