aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xchallenge-162/pete-houston/perl/ch-1.pl25
-rwxr-xr-xchallenge-162/pete-houston/perl/ch-2.pl143
-rw-r--r--stats/pwc-current.json521
-rw-r--r--stats/pwc-language-breakdown-summary.json50
-rw-r--r--stats/pwc-language-breakdown.json2142
-rw-r--r--stats/pwc-leaders.json410
-rw-r--r--stats/pwc-summary-1-30.json96
-rw-r--r--stats/pwc-summary-121-150.json44
-rw-r--r--stats/pwc-summary-151-180.json42
-rw-r--r--stats/pwc-summary-181-210.json36
-rw-r--r--stats/pwc-summary-211-240.json94
-rw-r--r--stats/pwc-summary-241-270.json92
-rw-r--r--stats/pwc-summary-31-60.json42
-rw-r--r--stats/pwc-summary-61-90.json114
-rw-r--r--stats/pwc-summary-91-120.json112
-rw-r--r--stats/pwc-summary.json60
16 files changed, 2103 insertions, 1920 deletions
diff --git a/challenge-162/pete-houston/perl/ch-1.pl b/challenge-162/pete-houston/perl/ch-1.pl
new file mode 100755
index 0000000000..f729bdd1d3
--- /dev/null
+++ b/challenge-162/pete-houston/perl/ch-1.pl
@@ -0,0 +1,25 @@
+#!/usr/bin/env perl
+#===============================================================================
+#
+# FILE: 16201.pl
+#
+# USAGE: ./16201.pl ISBN
+#
+# DESCRIPTION: Calculate the check digit for the given ISBN
+#
+# REQUIREMENTS: List::Util (core)
+# AUTHOR: Pete Houston (pete), cpan@openstrike.co.uk
+# ORGANIZATION: Openstrike
+# VERSION: 1.0
+# CREATED: 25/04/22
+#===============================================================================
+
+use strict;
+use warnings;
+use List::Util qw/sum pairmap/;
+
+my @digits = (my $in = shift) =~ /(\d)/gaa;
+my $sum = sum pairmap { $a + 3 * $b } @digits[0..11];
+my $check = (0 - $sum) % 10;
+
+print "ISBN-13 check digit for '$in' is $check\n";
diff --git a/challenge-162/pete-houston/perl/ch-2.pl b/challenge-162/pete-houston/perl/ch-2.pl
new file mode 100755
index 0000000000..901cb48659
--- /dev/null
+++ b/challenge-162/pete-houston/perl/ch-2.pl
@@ -0,0 +1,143 @@
+#!/usr/bin/env perl
+#===============================================================================
+#
+# FILE: 16202.pl
+#
+# USAGE: ./16202.pl [ -d ] -k KEYSTRING [ -t TEXT | INFILE ]
+#
+# DESCRIPTION: Encrypt/decrypt usng the Wheatstone-Playfair cipher
+#
+# OPTIONS: Use -d to decrypt (default is to encrypt)
+# OPTIONS: Use -t to provide a text string as an argument
+# without -t, use the argument as the filename to read from
+# with no argument at all, read from STDIN
+# REQUIREMENTS: Getopt::Long::Modern
+# AUTHOR: Pete Houston (pete), cpan@openstrike.co.uk
+# ORGANIZATION: Openstrike
+# VERSION: 1.0
+# CREATED: 26/04/22
+#===============================================================================
+
+use strict;
+use warnings;
+
+package ACME::Crypt::Playfair;
+
+sub new {
+ my ($class, $key, $opts) = @_;
+
+ my $self = {
+ key => $key,
+ split_char => $opts->{split_char} // 'x',
+ };
+ bless $self, $class;
+ $self->build;
+ return $self;
+}
+
+sub build {
+ my $self = shift;
+
+ # Normalise the key;
+ my $key = lc $self->{key};
+ $key =~ s/[^a-z]//g;
+
+ my %seen;
+ my $i = 0;
+ my $j = 0;
+ my @grid;
+ my @chars = (split (//, $key), grep { $_ ne 'j' } map { chr } 97 .. 122);
+ for my $c (@chars) {
+ $c = 'i' if $c eq 'j';
+ next if exists $seen{$c};
+ push @grid, $c;
+ $seen{$c} = [ $j, $i ];
+ $i++;
+ $j++, $i = 0 if $i > 4;
+ }
+ {
+ my $kc = scalar keys %seen;
+ die "letter count is $kc! Should be 25.\n" unless $kc == 25;
+ }
+
+ # Construct the 5x5 grid
+ $self->{grid} = [];
+ for my $x (0 .. 4) {
+ $self->{grid}[$x] = [@grid[(5 * $x) .. (5 * $x + 4)]];
+ }
+ $self->{pos} = \%seen;
+ return;
+}
+
+sub encrypt {
+ my ($self, $in) = @_;
+ $self->crypto ($in, 1, [0, 1]);
+}
+
+sub decrypt {
+ my ($self, $in) = @_;
+ $self->crypto ($in, -1, [1, 0]);
+}
+
+sub crypto {
+ my ($self, $in, $dir, $order) = @_;
+
+ my $out = '';
+ $in = lc $in;
+ $in =~ tr /a-z//cd;
+ $in =~ tr/j/i/;
+ while (length $in) {
+ my $buf = substr $in, 0, 2, '';
+ my @bc = split //, $buf;
+ $bc[1] //= $self->{split_char};
+ if ($bc[0] eq $bc[1]) {
+ $in = $bc[1] . $in;
+ $bc[1] = $self->{split_char};
+ }
+
+ if ($self->{pos}{$bc[0]}[0] == $self->{pos}{$bc[1]}[0]) {
+ # Same row
+ my $r = $self->{grid}[$self->{pos}{$bc[0]}[0]];
+ $bc[$_] = $r->[($self->{pos}{$bc[$_]}[1] + $dir) % 5] for 0, 1;
+ } elsif ($self->{pos}{$bc[0]}[1] == $self->{pos}{$bc[1]}[1]) {
+ # Same col
+ my $cn = $self->{pos}{$bc[0]}[1];
+ $bc[$_] = $self->{grid}[($self->{pos}{$bc[$_]}[0] + $dir) % 5][$cn]
+ for 0, 1;
+ } else {
+ # Copy the old one to avoid clobbering
+ my @obc = @bc;
+ $bc[$_] = $self->{grid}[
+ $self->{pos}{$obc[$_] }[0]]
+ [$self->{pos}{$obc[1 - $_]}[1]] for @$order;
+ }
+ $out .= $bc[0] . $bc[1];
+ }
+ return $out;
+}
+
+################################################################################
+
+package main;
+
+use Getopt::Long::Modern;
+
+GetOptions (
+ 'd|decrypt' => \my $decrypt,
+ 'k|key=s' => \my $key,
+ 't|text=s' => \my $text
+);
+
+my $action = defined ($decrypt) ? 'decrypt' : 'encrypt';
+unless (defined $text) {
+ my $fh = \*STDIN;
+ if (defined $_[0]) {
+ open $fh, '<', $_[0] or die "Cannot open $_[0]: $!";
+ }
+ local $/ = undef;
+ $text = <$fh>;
+}
+
+my $engine = ACME::Crypt::Playfair->new ($key);
+my $output = $engine->$action ($text);
+print "$output\n";
diff --git a/stats/pwc-current.json b/stats/pwc-current.json
index 9f0a4fb6a1..8e11f3bc7d 100644
--- a/stats/pwc-current.json
+++ b/stats/pwc-current.json
@@ -1,10 +1,203 @@
{
+ "chart" : {
+ "type" : "column"
+ },
+ "subtitle" : {
+ "text" : "[Champions: 35] Last updated at 2022-05-04 08:53:12 GMT"
+ },
+ "series" : [
+ {
+ "colorByPoint" : 1,
+ "data" : [
+ {
+ "drilldown" : "Adam Russell",
+ "name" : "Adam Russell",
+ "y" : 3
+ },
+ {
+ "name" : "Alexander Pankoff",
+ "y" : 2,
+ "drilldown" : "Alexander Pankoff"
+ },
+ {
+ "y" : 3,
+ "name" : "Arne Sommer",
+ "drilldown" : "Arne Sommer"
+ },
+ {
+ "drilldown" : "Athanasius",
+ "name" : "Athanasius",
+ "y" : 4
+ },
+ {
+ "y" : 3,
+ "name" : "Cheok-Yin Fung",
+ "drilldown" : "Cheok-Yin Fung"
+ },
+ {
+ "y" : 4,
+ "name" : "Colin Crain",
+ "drilldown" : "Colin Crain"
+ },
+ {
+ "drilldown" : "Dave Jacoby",
+ "name" : "Dave Jacoby",
+ "y" : 3
+ },
+ {
+ "drilldown" : "Duncan C. White",
+ "y" : 2,
+ "name" : "Duncan C. White"
+ },
+ {
+ "drilldown" : "E. Choroba",
+ "y" : 2,
+ "name" : "E. Choroba"
+ },
+ {
+ "name" : "Flavio Poletti",
+ "y" : 6,
+ "drilldown" : "Flavio Poletti"
+ },
+ {
+ "drilldown" : "Jaldhar H. Vyas",
+ "y" : 3,
+ "name" : "Jaldhar H. Vyas"
+ },
+ {
+ "drilldown" : "James Smith",
+ "name" : "James Smith",
+ "y" : 3
+ },
+ {
+ "name" : "Jan Krnavek",
+ "y" : 1,
+ "drilldown" : "Jan Krnavek"
+ },
+ {
+ "y" : 2,
+ "name" : "Jorg Sommrey",
+ "drilldown" : "Jorg Sommrey"
+ },
+ {
+ "drilldown" : "Julien Fiegehenn",
+ "y" : 2,
+ "name" : "Julien Fiegehenn"
+ },
+ {
+ "y" : 2,
+ "name" : "Kueppo Wesley",
+ "drilldown" : "Kueppo Wesley"
+ },
+ {
+ "drilldown" : "Laurent Rosenfeld",
+ "name" : "Laurent Rosenfeld",
+ "y" : 5
+ },
+ {
+ "name" : "Lubos Kolouch",
+ "y" : 1,
+ "drilldown" : "Lubos Kolouch"
+ },
+ {
+ "name" : "Luca Ferrari",
+ "y" : 2,
+ "drilldown" : "Luca Ferrari"
+ },
+ {
+ "name" : "Mark Anderson",
+ "y" : 2,
+ "drilldown" : "Mark Anderson"
+ },
+ {
+ "drilldown" : "Marton Polgar",
+ "y" : 2,
+ "name" : "Marton Polgar"
+ },
+ {
+ "y" : 2,
+ "name" : "Matthew Neleigh",
+ "drilldown" : "Matthew Neleigh"
+ },
+ {
+ "drilldown" : "Mohammad S Anwar",
+ "y" : 1,
+ "name" : "Mohammad S Anwar"
+ },
+ {
+ "name" : "Niels van Dijke",
+ "y" : 2,
+ "drilldown" : "Niels van Dijke"
+ },
+ {
+ "name" : "Paulo Custodio",
+ "y" : 2,
+ "drilldown" : "Paulo Custodio"
+ },
+ {
+ "drilldown" : "Pete Houston",
+ "name" : "Pete Houston",
+ "y" : 2
+ },
+ {
+ "drilldown" : "Peter Campbell Smith",
+ "y" : 3,
+ "name" : "Peter Campbell Smith"
+ },
+ {
+ "name" : "PokGoPun",
+ "y" : 2,
+ "drilldown" : "PokGoPun"
+ },
+ {
+ "drilldown" : "Rick Bychowski",
+ "y" : 2,
+ "name" : "Rick Bychowski"
+ },
+ {
+ "drilldown" : "Robert DiCicco",
+ "name" : "Robert DiCicco",
+ "y" : 2
+ },
+ {
+ "y" : 2,
+ "name" : "Robert Ransbottom",
+ "drilldown" : "Robert Ransbottom"
+ },
+ {
+ "y" : 5,
+ "name" : "Roger Bell_West",
+ "drilldown" : "Roger Bell_West"
+ },
+ {
+ "name" : "Ryan Thompson",
+ "y" : 4,
+ "drilldown" : "Ryan Thompson"
+ },
+ {
+ "name" : "Ulrich Rieke",
+ "y" : 3,
+ "drilldown" : "Ulrich Rieke"
+ },
+ {
+ "y" : 3,
+ "name" : "W. Luis Mochan",
+ "drilldown" : "W. Luis Mochan"
+ }
+ ],
+ "name" : "The Weekly Challenge - 162"
+ }
+ ],
+ "xAxis" : {
+ "type" : "category"
+ },
"legend" : {
"enabled" : 0
},
"drilldown" : {
"series" : [
{
+ "name" : "Adam Russell",
"data" : [
[
"Perl",
@@ -15,21 +208,20 @@
2
]
],
- "name" : "Adam Russell",
"id" : "Adam Russell"
},
{
+ "id" : "Alexander Pankoff",
"data" : [
[
"Perl",
2
]
],
- "name" : "Alexander Pankoff",
- "id" : "Alexander Pankoff"
+ "name" : "Alexander Pankoff"
},
{
- "id" : "Arne Sommer",
+ "name" : "Arne Sommer",
"data" : [
[
"Raku",
@@ -40,7 +232,7 @@
1
]
],
- "name" : "Arne Sommer"
+ "id" : "Arne Sommer"
},
{
"data" : [
@@ -53,10 +245,11 @@
2
]
],
- "id" : "Athanasius",
- "name" : "Athanasius"
+ "name" : "Athanasius",
+ "id" : "Athanasius"
},
{
+ "id" : "Cheok-Yin Fung",
"data" : [
[
"Perl",
@@ -67,11 +260,9 @@
1
]
],
- "name" : "Cheok-Yin Fung",
- "id" : "Cheok-Yin Fung"
+ "name" : "Cheok-Yin Fung"
},
{
- "name" : "Colin Crain",
"data" : [
[
"Perl",
@@ -82,6 +273,7 @@
2
]
],
+ "name" : "Colin Crain",
"id" : "Colin Crain"
},
{
@@ -99,26 +291,27 @@
"name" : "Dave Jacoby"
},
{
+ "id" : "Duncan C. White",
+ "name" : "Duncan C. White",
"data" : [
[
"Perl",
2
]
- ],
- "name" : "Duncan C. White",
- "id" : "Duncan C. White"
+ ]
},
{
"id" : "E. Choroba",
+ "name" : "E. Choroba",
"data" : [
[
"Perl",
2
]
- ],
- "name" : "E. Choroba"
+ ]
},
{
+ "name" : "Flavio Poletti",
"data" : [
[
"Perl",
@@ -133,11 +326,9 @@
2
]
],
- "name" : "Flavio Poletti",
"id" : "Flavio Poletti"
},
{
- "name" : "Jaldhar H. Vyas",
"data" : [
[
"Perl",
@@ -152,9 +343,11 @@
1
]
],
+ "name" : "Jaldhar H. Vyas",
"id" : "Jaldhar H. Vyas"
},
{
+ "id" : "James Smith",
"name" : "James Smith",
"data" : [
[
@@ -165,18 +358,17 @@
"Blog",
1
]
- ],
- "id" : "James Smith"
+ ]
},
{
+ "id" : "Jan Krnavek",
"name" : "Jan Krnavek",
"data" : [
[
"Raku",
1
]
- ],
- "id" : "Jan Krnavek"
+ ]
},
{
"data" : [
@@ -185,30 +377,32 @@
2
]
],
- "id" : "Jorg Sommrey",
- "name" : "Jorg Sommrey"
+ "name" : "Jorg Sommrey",
+ "id" : "Jorg Sommrey"
},
{
+ "id" : "Julien Fiegehenn",
"data" : [
[
"Perl",
2
]
],
- "name" : "Julien Fiegehenn",
- "id" : "Julien Fiegehenn"
+ "name" : "Julien Fiegehenn"
},
{
- "id" : "Kueppo Wesley",
+ "name" : "Kueppo Wesley",
"data" : [
[
"Perl",
2
]
],
- "name" : "Kueppo Wesley"
+ "id" : "Kueppo Wesley"
},
{
+ "id" : "Laurent Rosenfeld",
+ "name" : "Laurent Rosenfeld",
"data" : [
[
"Perl",
@@ -222,92 +416,101 @@
"Blog",
1
]
- ],
- "id" : "Laurent Rosenfeld",
- "name" : "Laurent Rosenfeld"
+ ]
},
{
"id" : "Lubos Kolouch",
+ "name" : "Lubos Kolouch",
"data" : [
[
"Perl",
1
]
- ],
- "name" : "Lubos Kolouch"
+ ]
},
{
- "id" : "Luca Ferrari",
+ "name" : "Luca Ferrari",
"data" : [
[
"Raku",
2
]
],
- "name" : "Luca Ferrari"
+ "id" : "Luca Ferrari"
},
{
- "id" : "Mark Anderson",
+ "name" : "Mark Anderson",
"data" : [
[
"Raku",
2
]
],
- "name" : "Mark Anderson"
+ "id" : "Mark Anderson"
},
{
- "id" : "Marton Polgar",
+ "name" : "Marton Polgar",
"data" : [
[
"Raku",
2
]
],
- "name" : "Marton Polgar"
+ "id" : "Marton Polgar"
},
{
- "id" : "Matthew Neleigh",
+ "name" : "Matthew Neleigh",
"data" : [
[
"Perl",
2
]
],
- "name" : "Matthew Neleigh"
+ "id" : "Matthew Neleigh"
},
{
+ "name" : "Mohammad S Anwar",
"data" : [
[
"Perl",
1
]
],
- "name" : "Mohammad S Anwar",
"id" : "Mohammad S Anwar"
},
{
- "id" : "Niels van Dijke",
+ "name" : "Niels van Dijke",
"data" : [
[
"Perl",
2
]
],
- "name" : "Niels van Dijke"
+ "id" : "Niels van Dijke"
},
{
- "id" : "Paulo Custodio",
"data" : [
[
"Perl",
2
]
],
- "name" : "Paulo Custodio"
+ "name" : "Paulo Custodio",
+ "id" : "Paulo Custodio"
+ },
+ {
+ "id" : "Pete Houston",
+ "data" : [
+ [
+ "Perl",
+ 2
+ ]
+ ],
+ "name" : "Pete Houston"
},
{
"id" : "Peter Campbell Smith",
+ "name" : "Peter Campbell Smith",
"data" : [
[
"Perl",
@@ -317,30 +520,30 @@
"Blog",
1
]
- ],
- "name" : "Peter Campbell Smith"
+ ]
},
{
"id" : "PokGoPun",
+ "name" : "PokGoPun",
"data" : [
[
"Perl",
2
]
- ],
- "name" : "PokGoPun"
+ ]
},
{
"id" : "Rick Bychowski",
+ "name" : "Rick Bychowski",
"data" : [
[
"Raku",
2
]
- ],
- "name" : "Rick Bychowski"
+ ]
},
{
+ "name" : "Robert DiCicco",
"data" : [
[
"Perl",
@@ -351,7 +554,6 @@
1
]
],
- "name" : "Robert DiCicco",
"id" : "Robert DiCicco"
},
{
@@ -365,7 +567,6 @@
"name" : "Robert Ransbottom"
},
{
- "id" : "Roger Bell_West",
"data" : [
[
"Perl",
@@ -380,9 +581,11 @@
1
]
],
- "name" : "Roger Bell_West"
+ "name" : "Roger Bell_West",
+ "id" : "Roger Bell_West"
},
{
+ "name" : "Ryan Thompson",
"data" : [
[
"Perl",
@@ -393,8 +596,7 @@
2
]
],
- "id" : "Ryan Thompson",
- "name" : "Ryan Thompson"
+ "id" : "Ryan Thompson"
},
{
"data" : [
@@ -411,6 +613,7 @@
"id" : "Ulrich Rieke"
},
{
+ "name" : "W. Luis Mochan",
"data" : [
[
"Perl",
@@ -421,218 +624,30 @@
1
]
],
- "name" : "W. Luis Mochan",
"id" : "W. Luis Mochan"
}
]
},
- "series" : [
- {
- "data" : [
- {
- "y" : 3,
- "drilldown" : "Adam Russell",
- "name" : "Adam Russell"
- },
- {
- "y" : 2,
- "drilldown" : "Alexander Pankoff",
- "name" : "Alexander Pankoff"
- },
- {
- "name" : "Arne Sommer",
- "y" : 3,
- "drilldown" : "Arne Sommer"
- },
- {
- "drilldown" : "Athanasius",
- "y" : 4,
- "name" : "Athanasius"
- },
- {
- "name" : "Cheok-Yin Fung",
- "y" : 3,
- "drilldown" : "Cheok-Yin Fung"
- },
- {
- "name" : "Colin Crain",
- "y" : 4,
- "drilldown" : "Colin Crain"
- },
- {
- "name" : "Dave Jacoby",
- "drilldown" : "Dave Jacoby",
- "y" : 3
- },
- {
- "y" : 2,
- "drilldown" : "Duncan C. White",
- "name" : "Duncan C. White"
- },
- {
- "name" : "E. Choroba",
- "drilldown" : "E. Choroba",
- "y" : 2
- },
- {
- "name" : "Flavio Poletti",
- "drilldown" : "Flavio Poletti",
- "y" : 6
- },
- {
- "y" : 3,
- "drilldown" : "Jaldhar H. Vyas",
- "name" : "Jaldhar H. Vyas"
- },
- {
- "y" : 3,
- "drilldown" : "James Smith",
- "name" : "James Smith"
- },
- {
- "y" : 1,
- "drilldown" : "Jan Krnavek",
- "name" : "Jan Krnavek"
- },
- {
- "name" : "Jorg Sommrey",
- "drilldown" : "Jorg Sommrey",
- "y" : 2
- },
- {
- "drilldown" : "Julien Fiegehenn",
- "y" : 2,
- "name" : "Julien Fiegehenn"
- },
- {
- "y" : 2,
- "drilldown" : "Kueppo Wesley",
- "name" : "Kueppo Wesley"
- },
- {
- "drilldown" : "Laurent Rosenfeld",
- "y" : 5,
- "name" : "Laurent Rosenfeld"
- },
- {
- "name" : "Lubos Kolouch",
- "y" : 1,
- "drilldown" : "Lubos Kolouch"
- },
- {
- "name" : "Luca Ferrari",
- "y" : 2,
- "drilldown" : "Luca Ferrari"
- },
- {
- "y" : 2,
- "drilldown" : "Mark Anderson",
- "name" : "Mark Anderson"
- },
- {
- "y" : 2,
- "drilldown" : "Marton Polgar",
- "name" : "Marton Polgar"
- },
- {
- "name" : "Matthew Neleigh",
- "y" : 2,
- "drilldown" : "Matthew Neleigh"
- },
- {
- "name" : "Mohammad S Anwar",
- "y" : 1,
- "drilldown" : "Mohammad S Anwar"
- },
- {
- "y" : 2,
- "drilldown" : "Niels van Dijke",
- "name" : "Niels van Dijke"
- },
- {
- "drilldown" : "Paulo Custodio",
- "y" : 2,
- "name" : "Paulo Custodio"
- },
- {
- "name" : "Peter Campbell Smith",
- "drilldown" : "Peter Campbell Smith",
- "y" : 3
- },
- {
- "y" : 2,
- "drilldown" : "PokGoPun",
- "name" : "PokGoPun"
- },
- {
- "drilldown" : "Rick Bychowski",
- "y" : 2,
- "name" : "Rick Bychowski"
- },
- {
- "drilldown" : "Robert DiCicco",
- "y" : 2,
- "name" : "Robert DiCicco"
- },
- {
- "name" : "Robert Ransbottom",
- "y" : 2,
- "drilldown" : "Robert Ransbottom"
- },
- {
- "y" : 5,
- "drilldown" : "Roger Bell_West",
- "name" : "Roger Bell_West"
- },
- {
- "name" : "Ryan Thompson",
- "drilldown" : "Ryan Thompson",
- "y" : 4
- },
- {
- "name" : "Ulrich Rieke",
- "y" : 3,
- "drilldown" : "Ulrich Rieke"
- },
- {
- "y" : 3,
- "drilldown" : "W. Luis Mochan",
- "name" : "W. Luis Mochan"
- }
- ],
- "name" : "The Weekly Challenge - 162",
- "colorByPoint" : 1
- }
- ],
"tooltip" : {
"headerFormat" : "<span style='font-size:11px'>{series.name}</span><br/>",
"pointFormat" : "<span style='color:{point.color}'>{point.name}</span>: <b>{point.y:f}</b><br/>",
"followPointer" : 1
},
- "subtitle" : {
- "text" : "[Champions: 34] Last updated at 2022-05-02 07:10:34 GMT"
+ "yAxis" : {
+ "title" : {
+ "text" : "Total Solutions"
+ }
+ },
+ "title" : {
+ "text" : "The Weekly Challenge - 162"
},
"plotOptions" : {
"series" : {
- "borderWidth" : 0,
"dataLabels" : {
"enabled" : 1,
"format" : "{point.y}"
- }
- }
- },
- "xAxis" : {
- "type" : "category"
- },
- "chart" : {
- "type" : "column"
- },
- "title" : {
- "text" : "The Weekly Challenge - 162"
- },
- "yAxis" : {
- "title" : {
- "text" : "Total Solutions"
+ },
+ "borderWidth" : 0
}
}
}
diff --git a/stats/pwc-language-breakdown-summary.json b/stats/pwc-language-breakdown-summary.json
index ee3f2c891c..afae0db3ff 100644
--- a/stats/pwc-language-breakdown-summary.json
+++ b/stats/pwc-language-breakdown-summary.json
@@ -2,14 +2,11 @@
"title" : {
"text" : "The Weekly Challenge Contributions [2019 - 2022]"
},
- "chart" : {
- "type" : "column"
- },
"yAxis" : {
- "min" : 0,
"title" : {
"text" : null
- }
+ },
+ "min" : 0
},
"xAxis" : {
"labels" : {
@@ -20,8 +17,26 @@
},
"type" : "category"
},
+ "legend" : {
+ "enabled" : "false"
+ },
+ "tooltip" : {
+ "pointFormat" : "<b>{point.y:.0f}</b>"
+ },
"series" : [
{
+ "dataLabels" : {
+ "style" : {
+ "fontSize" : "13px",
+ "fontFamily" : "Verdana, sans-serif"
+ },
+ "rotation" : -90,
+ "color" : "#FFFFFF",
+ "enabled" : "true",
+ "align" : "right",
+ "format" : "{point.y:.0f}",
+ "y" : 10
+ },
"name" : "Contributions",
"data" : [
[
@@ -30,34 +45,19 @@
],
[
"Perl",
- 7925
+ 7927
],
[
"Raku",
4696
]
- ],
- "dataLabels" : {
- "format" : "{point.y:.0f}",
- "enabled" : "true",
- "color" : "#FFFFFF",
- "y" : 10,
- "style" : {
- "fontFamily" : "Verdana, sans-serif",
- "fontSize" : "13px"
- },
- "align" : "right",
- "rotation" : -90
- }
+ ]
}
],
- "tooltip" : {
- "pointFormat" : "<b>{point.y:.0f}</b>"
+ "chart" : {
+ "type" : "column"
},
"subtitle" : {
- "text" : "Last updated at 2022-05-02 07:10:34 GMT"
- },
- "legend" : {
- "enabled" : "false"
+ "text" : "Last updated at 2022-05-04 08:53:12 GMT"
}
}
diff --git a/stats/pwc-language-breakdown.json b/stats/pwc-language-breakdown.json
index 3668bb0de7..21807108f5 100644
--- a/stats/pwc-language-breakdown.json
+++ b/stats/pwc-language-breakdown.json
@@ -1,11 +1,832 @@
{
- "legend" : {
- "enabled" : "false"
+ "subtitle" : {
+ "text" : "Click the columns to drilldown the language breakdown. Last updated at 2022-05-04 08:53:12 GMT"
+ },
+ "chart" : {