aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--challenge-106/colin-crain/perl/ch-1.pl61
-rw-r--r--challenge-106/colin-crain/perl/ch-2.pl149
-rw-r--r--challenge-106/colin-crain/python/ch-1.py49
-rw-r--r--challenge-106/colin-crain/raku/ch-1.raku47
-rw-r--r--challenge-106/colin-crain/raku/ch-2.raku33
-rw-r--r--stats/pwc-current.json275
-rw-r--r--stats/pwc-language-breakdown-summary.json70
-rw-r--r--stats/pwc-language-breakdown.json1524
-rw-r--r--stats/pwc-leaders.json394
-rw-r--r--stats/pwc-summary-1-30.json42
-rw-r--r--stats/pwc-summary-121-150.json38
-rw-r--r--stats/pwc-summary-151-180.json114
-rw-r--r--stats/pwc-summary-181-210.json114
-rw-r--r--stats/pwc-summary-211-240.json62
-rw-r--r--stats/pwc-summary-31-60.json110
-rw-r--r--stats/pwc-summary-61-90.json118
-rw-r--r--stats/pwc-summary-91-120.json36
-rw-r--r--stats/pwc-summary.json490
18 files changed, 2042 insertions, 1684 deletions
diff --git a/challenge-106/colin-crain/perl/ch-1.pl b/challenge-106/colin-crain/perl/ch-1.pl
new file mode 100644
index 0000000000..5d1c9918da
--- /dev/null
+++ b/challenge-106/colin-crain/perl/ch-1.pl
@@ -0,0 +1,61 @@
+#! /opt/local/bin/perl
+#
+# max-gap.pl
+#
+# TASK #1 › Maximum Gap
+# Submitted by: Mohammad S Anwar
+# You are given an array of integers @N.
+#
+# Write a script to display the maximum difference between two successive
+# elements once the array is sorted.
+#
+# If the array contains only 1 element then display 0.
+#
+# Example
+#
+# Input: @N = (2, 9, 3, 5)
+# Output: 4
+#
+# Input: @N = (1, 3, 8, 2, 0)
+# Output: 5
+#
+# Input: @N = (5)
+# Output: 0
+#
+# © 2021 colin crain
+## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
+
+
+
+use warnings;
+use strict;
+use feature ":5.26";
+use feature qw(signatures);
+no warnings 'experimental::signatures';
+use List::Util qw(reduce max);
+
+my @input = (2, 19, 13, 15);
+
+my $gap = 0;
+
+## version 1 - reduce
+sub gap_reduce (@list) {
+ my $gap = 0;
+ reduce { $gap = $b - $a if $b - $a > $gap; $b } sort {$a<=>$b} @list;
+ return $gap;
+}
+
+say gap_reduce(@input);
+
+
+## version 2 - map over indices
+sub gap_map (@list) {
+ @list = sort {$a<=>$b} @list;
+
+ my $gap = max (map { $list[$_] - $list[$_-1] } (1..$#list));
+ return $gap;
+}
+
+say gap_map(@input);
+
+
diff --git a/challenge-106/colin-crain/perl/ch-2.pl b/challenge-106/colin-crain/perl/ch-2.pl
new file mode 100644
index 0000000000..955ee0fc23
--- /dev/null
+++ b/challenge-106/colin-crain/perl/ch-2.pl
@@ -0,0 +1,149 @@
+#! /opt/local/bin/perl
+#
+# reptend.pl
+#
+# TASK #2 › Decimal String
+# Submitted by: Mohammad S Anwar
+# You are given numerator and denominator i.e. $N and $D.
+#
+# Write a script to convert the fraction into decimal string. If the fractional part is recurring then put it in parenthesis.
+#
+# Example
+# Input: $N = 1, $D = 3
+# Output: "0.(3)"
+#
+# Input: $N = 1, $D = 2
+# Output: "0.5"
+#
+# Input: $N = 5, $D = 66
+# Output: "0.0(75)"
+#
+# method:
+# break down standard long-division algorithm into successive steps
+# of Euclidean Division
+# (https://en.wikipedia.org/wiki/Euclidean_division) until adding
+# additional 0s causes the new incremental digits of the quotient to
+# repeat.
+#
+# When evaluating each index position for the quotient in the
+# division, check the remainder being evaluated against a lookup hash
+# of previously seen remainders. If it is found we are repeating and
+# the current position and the position saved in the lookup
+# determine the start and end indices of the repeating segment. If a
+# lookup fails, add the remainder at that moment and the current
+# position to the lookup.
+#
+# © 2021 colin crain
+## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
+
+
+
+use warnings;
+use strict;
+use feature ":5.26";
+use feature qw(signatures);
+no warnings 'experimental::signatures';
+
+sub get_decimal_string ($num, $den) {
+ ## fraction is numerator over denominator
+ ## division is dividend over divisor yielding integer quotient and remainder
+ ## we'll keep to num and den as they make better variable names
+
+ ## extract the whole-number portion of the quotient in one step
+ ## and start the decimal portion with the remainder
+ my ($whole, $r) = ediv( $num, $den );
+
+ my $pos = 0;
+ my %seen;
+ my @q;
+
+ while ($r != 0) {
+
+ ## add one 0 to remainder
+ ## add remainder at every index position to %seen hash
+ $r .= 0;
+ exists $seen{$r} ? last : ($seen{$r} = $pos);
+
+ ## add additional 0s to remainder and quotient until num > den
+ ## with each 0 increment index position and add to seen hash
+ until ($r - $den >= 0) {
+ $pos++;
+ $r .= 0;
+ exists $seen{$r} ? last : ($seen{$r} = $pos);
+ push @q, 0;
+ }
+
+ ## the long division step
+ my $q;
+ ($q, $r) = ediv($r, $den);
+ push @q => $q;
+
+ $pos++;
+ }
+
+ my $out;
+
+ ## OUTPUT
+ ## three cases:
+ ## * whole number, no decimal
+ ## * isolate and present repeating fraction in parens
+ ## * finishes neatly, join with decimal point
+ if (@q == 0) {
+ $out = $whole;
+ }
+ elsif ($r) {
+ my $start = $seen{$r};
+ my $end = $pos-1;
+ my @pre = @q[0..$start-1];
+ my @rep = @q[$start..$end];
+ $out = join '', $whole, '.', @pre, '(', @rep, ')';
+ }
+ else {
+ $out = join '', ($whole, '.', @q);
+ }
+}
+
+sub ediv ( $num, $den ) {
+## Euclidean division of $num by $den returns quotient and remainder
+ (int( $num / $den ), $num % $den);
+}
+
+
+
+use Test::More;
+is get_decimal_string(2,1), "2", '2/1';
+is get_decimal_string(2,2), "1", '2/2';
+
+is get_decimal_string(1,2), "0.5", '1/2';
+is get_decimal_string(1,3), "0.(3)", '1/3';
+is get_decimal_string(1,4), "0.25", '1/4';
+is get_decimal_string(1,5), "0.2", '1/5';
+is get_decimal_string(1,6), "0.1(6)", '1/6';
+is get_decimal_string(1,7), "0.(142857)", '1/7';
+is get_decimal_string(1,8), "0.125", '1/8';
+is get_decimal_string(1,9), "0.(1)", '1/9';
+
+is get_decimal_string(1,10), "0.1", '1/10';
+is get_decimal_string(1,11), "0.(09)", '1/11';
+is get_decimal_string(1,12), "0.08(3)", '1/12';
+is get_decimal_string(1,13), "0.(076923)", '1/13';
+is get_decimal_string(1,14), "0.0(714285)", '1/14';
+is get_decimal_string(1,15), "0.0(6)", '1/15';
+is get_decimal_string(1,16), "0.0625", '1/16';
+is get_decimal_string(1,17), "0.(0588235294117647)", '1/17';
+is get_decimal_string(1,18), "0.0(5)", '1/18';
+is get_decimal_string(1,19), "0.(052631578947368421)", '1/19';
+is get_decimal_string(1,20), "0.05", '1/20';
+is get_decimal_string(1,21), "0.(047619)", '1/21';
+is get_decimal_string(1,22), "0.0(45)", '1/22';
+is get_decimal_string(1,23), "0.(0434782608695652173913)", '1/23';
+is get_decimal_string(1,24), "0.041(6)", '1/24';
+is get_decimal_string(1,25), "0.04", '1/25';
+
+is get_decimal_string(1,100), "0.01", '1/100';
+is get_decimal_string(1,101), "0.(0099)", '1/101';
+is get_decimal_string(1,102), "0.0(0980392156862745)", '1/102';
+is get_decimal_string(1,103), "0.(0097087378640776699029126213592233)", '1/103';
+
+
+done_testing();
diff --git a/challenge-106/colin-crain/python/ch-1.py b/challenge-106/colin-crain/python/ch-1.py
new file mode 100644
index 0000000000..2018d64960
--- /dev/null
+++ b/challenge-106/colin-crain/python/ch-1.py
@@ -0,0 +1,49 @@
+#!/usr/bin/env python3
+#
+#
+# max-gap.py
+#
+# TASK #1 › Maximum Gap
+# Submitted by: Mohammad S Anwar
+# You are given an array of integers @N.
+#
+# Write a script to display the maximum difference between two successive
+# elements once the array is sorted.
+#
+# If the array contains only 1 element then display 0.
+#
+# Example
+#
+# Input: @N = (2, 9, 3, 5)
+# Output: 4
+#
+# Input: @N = (1, 3, 8, 2, 0)
+# Output: 5
+#
+# Input: @N = (5)
+# Output: 0
+#
+#
+# © 2021 colin crain
+## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
+
+
+
+import sys
+
+def gapIndexed( list ):
+ list = sorted(list)
+ i = 1
+ gap = 0
+ while i < len(list):
+ gap = max( gap, int(list[i]) - int(list[i-1]) )
+ i += 1
+ return gap
+
+input = sys.argv[1:]
+print( "input array: ", input )
+gap = gapIndexed( input );
+print( "maximum gap: ", gap )
+
+
+
diff --git a/challenge-106/colin-crain/raku/ch-1.raku b/challenge-106/colin-crain/raku/ch-1.raku
new file mode 100644
index 0000000000..8672064456
--- /dev/null
+++ b/challenge-106/colin-crain/raku/ch-1.raku
@@ -0,0 +1,47 @@
+#!/usr/bin/env perl6
+#
+#
+# max-gap.raku
+#
+# TASK #1 › Maximum Gap
+# Submitted by: Mohammad S Anwar
+# You are given an array of integers @N.
+#
+# Write a script to display the maximum difference between two successive
+# elements once the array is sorted.
+#
+# If the array contains only 1 element then display 0.
+#
+# Example
+#
+# Input: @N = (2, 9, 3, 5)
+# Output: 4
+#
+# Input: @N = (1, 3, 8, 2, 0)
+# Output: 5
+#
+# Input: @N = (5)
+# Output: 0
+#
+#
+# © 2021 colin crain
+## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
+
+use Test;
+
+is max-gap(2,9,14,5) , 5, 'last';
+is max-gap(2,19,13,15), 11, '1st';
+is max-gap(22,19,13,15), 4, 'mid';
+
+
+sub max-gap ( *@input ) {
+ my $gap;
+ @input.sort
+ .reduce: {$gap = max( $^b-$^a, $gap); $b} ;
+ return $gap;
+}
+
+
+
+
+
diff --git a/challenge-106/colin-crain/raku/ch-2.raku b/challenge-106/colin-crain/raku/ch-2.raku
new file mode 100644
index 0000000000..1981876745
--- /dev/null
+++ b/challenge-106/colin-crain/raku/ch-2.raku
@@ -0,0 +1,33 @@
+#!/usr/bin/env perl6
+#
+#
+# reptend.raku
+#
+# TASK #2 › Decimal String
+# Submitted by: Mohammad S Anwar
+# You are given numerator and denominator i.e. $N and $D.
+#
+# Write a script to convert the fraction into decimal string. If the fractional part is recurring then put it in parenthesis.
+#
+# Example
+# Input: $N = 1, $D = 3
+# Output: "0.(3)"
+#
+# Input: $N = 1, $D = 2
+# Output: "0.5"
+#
+# Input: $N = 5, $D = 66
+# Output: "0.0(75)"
+#
+#
+#
+# © 2021 colin crain
+## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
+
+
+
+unit sub MAIN (Int $num = 1, Int $den = 24) ;
+
+my ($real, $reptend) = ($num/$den).base-repeating(10);
+printf '%s(%s)', $real, $reptend;
+
diff --git a/stats/pwc-current.json b/stats/pwc-current.json
index bfd9aa725d..d2d8e18235 100644
--- a/stats/pwc-current.json
+++ b/stats/pwc-current.json
@@ -1,4 +1,7 @@
{
+ "xAxis" : {
+ "type" : "category"
+ },
"yAxis" : {
"title" : {
"text" : "Total Solutions"
@@ -7,8 +10,10 @@
"chart" : {
"type" : "column"
},
- "xAxis" : {
- "type" : "category"
+ "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
},
"drilldown" : {
"series" : [
@@ -27,6 +32,8 @@
"id" : "Aaron Smith"
},
{
+ "name" : "Abigail",
+ "id" : "Abigail",
"data" : [
[
"Perl",
@@ -36,9 +43,7 @@
"Blog",
2
]
- ],
- "id" : "Abigail",
- "name" : "Abigail"
+ ]
},
{
"data" : [
@@ -51,10 +56,12 @@
1
]
],
- "id" : "Adam Russell",
- "name" : "Adam Russell"
+ "name" : "Adam Russell",
+ "id" : "Adam Russell"
},
{
+ "name" : "Arne Sommer",
+ "id" : "Arne Sommer",
"data" : [
[
"Raku",
@@ -64,9 +71,7 @@
"Blog",
1
]
- ],
- "id" : "Arne Sommer",
- "name" : "Arne Sommer"
+ ]
},
{
"data" : [
@@ -83,24 +88,38 @@
"id" : "Athanasius"
},
{
+ "id" : "Ben Davies",
+ "name" : "Ben Davies",
"data" : [
[
"Raku",
2
]
- ],
- "id" : "Ben Davies",
- "name" : "Ben Davies"
+ ]
},
{
+ "id" : "Cheok-Yin Fung",
+ "name" : "Cheok-Yin Fung",
"data" : [
[
"Perl",
2
]
+ ]
+ },
+ {
+ "data" : [
+ [
+ "Perl",
+ 2
+ ],
+ [
+ "Raku",
+ 2
+ ]
],
- "id" : "Cheok-Yin Fung",
- "name" : "Cheok-Yin Fung"
+ "id" : "Colin Crain",
+ "name" : "Colin Crain"
},
{
"id" : "Cristina Heredia",
@@ -123,18 +142,18 @@
1
]
],
- "name" : "Dave Jacoby",
- "id" : "Dave Jacoby"
+ "id" : "Dave Jacoby",
+ "name" : "Dave Jacoby"
},
{
+ "id" : "E. Choroba",
+ "name" : "E. Choroba",
"data" : [
[
"Perl",
2
]
- ],
- "name" : "E. Choroba",
- "id" : "E. Choroba"
+ ]
},
{
"id" : "Flavio Poletti",
@@ -157,38 +176,38 @@
2
]
],
- "id" : "James Smith",
- "name" : "James Smith"
+ "name" : "James Smith",
+ "id" : "James Smith"
},
{
+ "name" : "Jan Krnavek",
+ "id" : "Jan Krnavek",
"data" : [
[
"Raku",
2
]
- ],
- "id" : "Jan Krnavek",
- "name" : "Jan Krnavek"
+ ]
},
{
- "name" : "Joan Mimosinnet",
- "id" : "Joan Mimosinnet",
"data" : [
[
"Raku",
2
]
- ]
+ ],
+ "id" : "Joan Mimosinnet",
+ "name" : "Joan Mimosinnet"
},
{
- "name" : "Jorg Sommrey",
- "id" : "Jorg Sommrey",
"data" : [
[
"Perl",
2
]
- ]
+ ],
+ "id" : "Jorg Sommrey",
+ "name" : "Jorg Sommrey"
},
{
"name" : "Lance Wicks",
@@ -225,12 +244,12 @@
1
]
],
- "name" : "Lubos Kolouch",
- "id" : "Lubos Kolouch"
+ "id" : "Lubos Kolouch",
+ "name" : "Lubos Kolouch"
},
{
- "name" : "Luca Ferrari",
"id" : "Luca Ferrari",
+ "name" : "Luca Ferrari",
"data" : [
[
"Raku",
@@ -243,14 +262,14 @@
]
},
{
- "name" : "Mark Anderson",
- "id" : "Mark Anderson",
"data" : [
[
"Raku",
2
]
- ]
+ ],
+ "id" : "Mark Anderson",
+ "name" : "Mark Anderson"
},
{
"data" : [
@@ -277,8 +296,8 @@
]
},
{
- "id" : "Paulo Custodio",
"name" : "Paulo Custodio",
+ "id" : "Paulo Custodio",
"data" : [
[
"Perl",
@@ -303,10 +322,12 @@
1
]
],
- "name" : "Peter Mayr",
- "id" : "Peter Mayr"
+ "id" : "Peter Mayr",
+ "name" : "Peter Mayr"
},
{
+ "id" : "Roger Bell_West",
+ "name" : "Roger Bell_West",
"data" : [
[
"Perl",
@@ -320,11 +341,11 @@
"Blog",
1
]
- ],
- "name" : "Roger Bell_West",
- "id" : "Roger Bell_West"
+ ]
},
{
+ "name" : "Simon Green",
+ "id" : "Simon Green",
"data" : [
[
"Perl",
@@ -334,19 +355,17 @@
"Blog",
1
]
- ],
- "id" : "Simon Green",
- "name" : "Simon Green"
+ ]
},
{
+ "id" : "Simon Proctor",
+ "name" : "Simon Proctor",
"data" : [
[
"Raku",
1
]
- ],
- "name" : "Simon Proctor",
- "id" : "Simon Proctor"
+ ]
},
{
"name" : "Stuart Little",
@@ -363,8 +382,6 @@
]
},
{
- "name" : "Ulrich Rieke",
- "id" : "Ulrich Rieke",
"data" : [
[
"Perl",
@@ -374,11 +391,11 @@
"Raku",
2
]
- ]
+ ],
+ "name" : "Ulrich Rieke",
+ "id" : "Ulrich Rieke"
},
{
- "name" : "W. Luis Mochan",
- "id" : "W. Luis Mochan",
"data" : [
[
"Perl",
@@ -388,11 +405,13 @@
"Blog",
1
]
- ]
+ ],
+ "id" : "W. Luis Mochan",
+ "name" : "W. Luis Mochan"
},
{
- "id" : "Wanderdoc",
"name" : "Wanderdoc",
+ "id" : "Wanderdoc",
"data" : [
[
"Perl",
@@ -402,77 +421,68 @@
}
]
},
- "legend" : {
- "enabled" : 0
- },
- "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: 32] Last updated at 2021-04-05 00:01:13 GMT"
- },
- "title" : {
- "text" : "Perl Weekly Challenge - 106"
- },
"series" : [
{
"data" : [
{
"y" : 3,
- "drilldown" : "Aaron Smith",
- "name" : "Aaron Smith"
+ "name" : "Aaron Smith",
+ "drilldown" : "Aaron Smith"
},
{
- "name" : "Abigail",
"drilldown" : "Abigail",
+ "name" : "Abigail",
"y" : 4
},
{
- "y" : 3,
"name" : "Adam Russell",
+ "y" : 3,
"drilldown" : "Adam Russell"
},
{
"y" : 3,
- "drilldown" : "Arne Sommer",
- "name" : "Arne Sommer"
+ "name" : "Arne Sommer",
+ "drilldown" : "Arne Sommer"
},
{
- "drilldown" : "Athanasius",
+ "y" : 4,
"name" : "Athanasius",
- "y" : 4
+ "drilldown" : "Athanasius"
},
{
+ "y" : 2,
"name" : "Ben Davies",
- "drilldown" : "Ben Davies",
- "y" : 2
+ "drilldown" : "Ben Davies"
},
{
- "y" : 2,
"drilldown" : "Cheok-Yin Fung",
+ "y" : 2,
"name" : "Cheok-Yin Fung"
},
{
+ "name" : "Colin Crain",
+ "y" : 4,
+ "drilldown" : "Colin Crain"
+ },
+ {
+ "y" : 1,
"name" : "Cristina Heredia",
- "drilldown" : "Cristina Heredia",
- "y" : 1
+ "drilldown" : "Cristina Heredia"
},
{
+ "name" : "Dave Jacoby",
"y" : 3,
- "drilldown" : "Dave Jacoby",
- "name" : "Dave Jacoby"
+ "drilldown" : "Dave Jacoby"
},
{
"name" : "E. Choroba",
- "drilldown" : "E. Choroba",
- "y" : 2
+ "y" : 2,
+ "drilldown" : "E. Choroba"
},
{
"drilldown" : "Flavio Poletti",
- "name" : "Flavio Poletti",
- "y" : 4
+ "y" : 4,
+ "name" : "Flavio Poletti"
},
{
"y" : 2,
@@ -480,34 +490,34 @@
"drilldown" : "James Smith"
},
{
+ "y" : 2,
"name" : "Jan Krnavek",
- "drilldown" : "Jan Krnavek",
- "y" : 2
+ "drilldown" : "Jan Krnavek"
},
{
+ "name" : "Joan Mimosinnet",
"y" : 2,
- "drilldown" : "Joan Mimosinnet",
- "name" : "Joan Mimosinnet"
+ "drilldown" : "Joan Mimosinnet"
},
{
- "y" : 2,
+ "drilldown" : "Jorg Sommrey",
"name" : "Jorg Sommrey",
- "drilldown" : "Jorg Sommrey"
+ "y" : 2
},
{
+ "drilldown" : "Lance Wicks",
"y" : 1,
- "name" : "Lance Wicks",
- "drilldown" : "Lance Wicks"
+ "name" : "Lance Wicks"
},
{
+ "y" : 5,
"name" : "Laurent Rosenfeld",
- "drilldown" : "Laurent Rosenfeld",
- "y" : 5
+ "drilldown" : "Laurent Rosenfeld"
},
{
"name" : "Lubos Kolouch",
- "drilldown" : "Lubos Kolouch",
- "y" : 1
+ "y" : 1,
+ "drilldown" : "Lubos Kolouch"
},
{
"y" : 4,
@@ -515,39 +525,39 @@
"drilldown" : "Luca Ferrari"
},
{
- "y" : 2,
"drilldown" : "Mark Anderson",
- "name" : "Mark Anderson"
+ "name" : "Mark Anderson",
+ "y" : 2
},
{
- "y" : 2,
"drilldown" : "Mohammad S Anwar",
- "name" : "Mohammad S Anwar"
+ "name" : "Mohammad S Anwar",
+ "y" : 2
},
{
- "y" : 2,
"drilldown" : "Niels van Dijke",
+ "y" : 2,
"name" : "Niels van Dijke"
},
{
+ "y" : 2,
"name" : "Paulo Custodio",
- "drilldown" : "Paulo Custodio",
- "y" : 2
+ "drilldown" : "Paulo Custodio"
},
{
- "drilldown" : "Pete Houston",
+ "y" : 2,
"name" : "Pete Houston",
- "y" : 2
+ "drilldown" : "Pete Houston"
},
{
- "y" : 1,
+ "drilldown" : "Peter Mayr",
"name" : "Peter Mayr",
- "drilldown" : "Peter Mayr"
+ "y" : 1
},
{
- "y" : 5,
"drilldown" : "Roger Bell_West",
- "name" : "Roger Bell_West"
+ "name" : "Roger Bell_West",
+ "y" : 5
},
{
"drilldown" : "Simon Green",
@@ -555,42 +565,51 @@
"y" : 3
},
{
- "y" : 1,
+ "drilldown" : "Simon Proctor",
"name" : "Simon Proctor",
- "drilldown" : "Simon Proctor"
+ "y" : 1
},
{
+ "name" : "Stuart Little",
"y" : 4,
- "drilldown" : "Stuart Little",
- "name" : "Stuart Little"
+ "drilldown" : "Stuart Little"
},
{
- "drilldown" : "Ulrich Rieke",
"name" : "Ulrich Rieke",
- "y" : 4
+ "y" : 4,
+ "drilldown" : "Ulrich Rieke"
},
{
- "y" : 3,
"drilldown" : "W. Luis Mochan",
- "name" : "W. Luis Mochan"
+ "name" : "W. Luis Mochan",
+ "y" : 3
},
{
- "name" : "Wanderdoc",
"drilldown" : "Wanderdoc",
- "y" : 2
+ "y" : 2,
+ "name" : "Wanderdoc"
}
],
"colorByPoint" : 1,
"name" : "Perl Weekly Challenge - 106"
}
],
+ "legend" : {
+ "enabled" : 0
+ },
"plotOptions" : {
"series" : {
- "borderWidth" : 0,
"dataLabels" : {
- "format" : "{point.y}",
- "enabled" : 1
- }
+ "enabled" : 1,
+ "format" : "{point.y}"
+ },
+ "borderWidth" : 0
}
+ },
+ "subtitle" : {
+ "text" : "[Champions: 33] Last updated at 2021-04-05 00:51:47 GMT"
+ },
+ "title" : {
+ "text" : "Perl Weekly Challenge - 106"
}
}
diff --git a/stats/pwc-language-breakdown-summary.json b/stats/pwc-language-breakdown-summary.json
index cbb18072d0..92781234aa 100644
--- a/stats/pwc-language-breakdown-summary.json
+++ b/stats/pwc-language-breakdown-summary.json
@@ -1,10 +1,34 @@
{
+ "chart" : {
+ "type" : "column"
+ },
"tooltip" : {
"pointFormat" : "<b>{point.y:.0f}</b>"
},
+ "yAxis" : {
+ "title" : {
+ "text" : null
+ },
+ "min" : 0
+ },
+ "xAxis" : {
+ "labels" : {
+ "style" : {
+ "fontFamily" : "Verdana, sans-serif",
+ "fontSize" : "13px"
+ }
+ },
+ "type" : "category"
+ },
"legend" : {
"enabled" : "false"
},
+ "title" : {
+ "text" : "Perl Weekly Challenge Contributions [2019 - 2020]"
+ },
+ "subtitle" : {
+ "text" : "Last updated at 2021-04-05 00:51:47 GMT"
+ },
"series" : [
{
"data" : [
@@ -14,50 +38,26 @@
],
[
"Perl",
- 4996
+ 4998
],
[
"Raku",
- 3186
+ 3188
]
],
"dataLabels" : {
+ "rotation" : -90,
+ "format" : "{point.y:.0f}",
"color" : "#FFFFFF",
- "style" : {
- "fontSize" : "13px",
- "fontFamily" : "Verdana, sans-serif"
- },
- "align" : "right",
- "y" : 10,
"enabled" : "true",
- "format" : "{point.y:.0f}",
- "rotation" : -90
+ "y" : 10,
+ "align" : "right",
+ "style" : {
+ "fontFamily" : "Verdana, sans-serif",
+ "fontSize" : "13px"
+ }
},
"name" : "Contributions"
}
- ],
- "title" : {
- "text" : "Perl Weekly Challenge Contributions [2019 - 2020]"
- },
- "subtitle" : {
- "text" : "Last updated at 2021-04-05 00:01:13 GMT"
- },
- "chart" : {
- "type" : "column"
- },
- "yAxis" : {
- "min" : 0,
- "title" : {
- "text" : null
- }
- },
- "xAxis" : {