From 2c00c8317e49b81cb207c862c0cc03ea36f0b04b Mon Sep 17 00:00:00 2001 From: Mohammad Sajid Anwar Date: Sat, 7 Sep 2024 15:54:46 +0100 Subject: - Added solutions by Peter Meszaros. - Added solutions by Matthew Neleigh. - Added solutions by Jorg Sommrey. - Added solutions by Robbie Hatley. - Added solutions by Robert Ransbottom. - Added solutions by Torgny Lyon. - Added solutions by Peter Pentchev. - Added solutions by Laurent Rosenfeld. --- challenge-285/laurent-rosenfeld/blog1.txt | 1 + challenge-285/laurent-rosenfeld/perl/ch-2.pl | 30 + challenge-285/laurent-rosenfeld/raku/ch-2.raku | 24 + challenge-285/ppentchev/rust/src/ch-1.rs | 49 + challenge-285/ppentchev/rust/src/ch-2.rs | 188 +++ guests.json | 1 + stats/pwc-challenge-203.json | 317 ++-- stats/pwc-challenge-204.json | 351 +++-- stats/pwc-current.json | 273 ++-- stats/pwc-language-breakdown-2019.json | 614 ++++---- stats/pwc-language-breakdown-2020.json | 404 ++--- stats/pwc-language-breakdown-2021.json | 776 +++++----- stats/pwc-language-breakdown-2022.json | 764 ++++----- stats/pwc-language-breakdown-2023.json | 750 ++++----- stats/pwc-language-breakdown-2024.json | 546 +++---- stats/pwc-language-breakdown-summary.json | 50 +- stats/pwc-leaders.json | 454 +++--- stats/pwc-summary-1-30.json | 36 +- stats/pwc-summary-121-150.json | 42 +- stats/pwc-summary-151-180.json | 50 +- stats/pwc-summary-181-210.json | 40 +- stats/pwc-summary-211-240.json | 32 +- stats/pwc-summary-241-270.json | 108 +- stats/pwc-summary-271-300.json | 106 +- stats/pwc-summary-301-330.json | 80 +- stats/pwc-summary-31-60.json | 38 +- stats/pwc-summary-61-90.json | 54 +- stats/pwc-summary-91-120.json | 32 +- stats/pwc-summary.json | 1956 ++++++++++++------------ stats/pwc-yearly-language-summary.json | 114 +- 30 files changed, 4345 insertions(+), 3935 deletions(-) create mode 100644 challenge-285/laurent-rosenfeld/blog1.txt create mode 100644 challenge-285/laurent-rosenfeld/perl/ch-2.pl create mode 100644 challenge-285/laurent-rosenfeld/raku/ch-2.raku create mode 100644 challenge-285/ppentchev/rust/src/ch-1.rs create mode 100644 challenge-285/ppentchev/rust/src/ch-2.rs diff --git a/challenge-285/laurent-rosenfeld/blog1.txt b/challenge-285/laurent-rosenfeld/blog1.txt new file mode 100644 index 0000000000..5c4f2fc8f5 --- /dev/null +++ b/challenge-285/laurent-rosenfeld/blog1.txt @@ -0,0 +1 @@ +https://blogs.perl.org/users/laurent_r/2024/09/perl-weekly-challenge-285-making-change.html diff --git a/challenge-285/laurent-rosenfeld/perl/ch-2.pl b/challenge-285/laurent-rosenfeld/perl/ch-2.pl new file mode 100644 index 0000000000..b3274f4d81 --- /dev/null +++ b/challenge-285/laurent-rosenfeld/perl/ch-2.pl @@ -0,0 +1,30 @@ +use strict; +use warnings; +no warnings 'recursion'; +use feature 'say'; + +my @coins = (50, 25, 10, 5, 1); +my $count; + +sub make_change { + my ($amount, $limit) = @_; + for my $coin (@coins) { + next if $coin > $amount; + # Prevent duplicate combinations in different orders + next if $coin > $limit; + my $rest = $amount - $coin; + if ($rest == 0) { + $count++; + } else { + make_change($rest, $coin); + } + } + return $count; +} + +my @tests = (9, 15, 50, 100); +for my $test (@tests) { + $count = 0; + printf "%-5d => ", $test; + say make_change $test, 50; +} diff --git a/challenge-285/laurent-rosenfeld/raku/ch-2.raku b/challenge-285/laurent-rosenfeld/raku/ch-2.raku new file mode 100644 index 0000000000..ccc486d834 --- /dev/null +++ b/challenge-285/laurent-rosenfeld/raku/ch-2.raku @@ -0,0 +1,24 @@ +my @coins = 50, 25, 10, 5, 1; +my $count; + +sub make-change ($amount, $limit) { + for @coins -> $coin { + next if $coin > $amount; + # Prevent duplicate combinations in different orders + next if $coin > $limit; + my $rest = $amount - $coin; + if $rest == 0 { + $count++; + } else { + make-change($rest, $coin); + } + } + return $count; +} + +my @tests = 9, 15, 100; +for @tests -> $test { + $count = 0; + printf "%-5d => ", $test; + say make-change $test, 50; +} diff --git a/challenge-285/ppentchev/rust/src/ch-1.rs b/challenge-285/ppentchev/rust/src/ch-1.rs new file mode 100644 index 0000000000..18ba2b98f9 --- /dev/null +++ b/challenge-285/ppentchev/rust/src/ch-1.rs @@ -0,0 +1,49 @@ +// SPDX-FileCopyrightText: Peter Pentchev +// SPDX-License-Identifier: BSD-2-Clause +//! Solve the first task for week 285, "No Connection". + +use std::collections::HashSet; + +use tracing::{debug, trace}; + +use crate::defs::Error; + +/// Week 285 task 1: No Connection. +/// +/// # Errors +/// +/// [`Error::NotImplemented`] so far. +#[tracing::instrument(skip(routes))] +#[inline] +pub fn solve_no_connection(routes: &[(String, String)]) -> Result { + debug!( + "About to look for a leaf destination in {count} routes", + count = routes.len() + ); + let (set_from, set_to) = routes.iter().fold( + (HashSet::new(), HashSet::new()), + |(mut set_from, mut set_to): (HashSet<&str>, HashSet<&str>), + &(ref route_from, ref route_to)| { + set_from.insert(route_from.as_ref()); + set_to.insert(route_to.as_ref()); + (set_from, set_to) + }, + ); + trace!("from: {count}", count = set_from.len()); + trace!("to: {count}", count = set_to.len()); + + let mut diff = set_to.difference(&set_from); + let first = diff + .next() + .ok_or_else(|| Error::NoSolution("Not even a single leaf destination".to_owned()))?; + trace!(first); + diff.next().map_or_else( + || Ok((*first).to_owned()), + |second| { + trace!(second); + Err(Error::NoSolution( + "More than one leaf destination".to_owned(), + )) + }, + ) +} diff --git a/challenge-285/ppentchev/rust/src/ch-2.rs b/challenge-285/ppentchev/rust/src/ch-2.rs new file mode 100644 index 0000000000..0f44915c39 --- /dev/null +++ b/challenge-285/ppentchev/rust/src/ch-2.rs @@ -0,0 +1,188 @@ +// SPDX-FileCopyrightText: Peter Pentchev +// SPDX-License-Identifier: BSD-2-Clause +//! Solve the second for week 285, "Making Change". + +use std::collections::HashMap; +use std::fmt::{Display, Formatter, Result as FmtResult}; + +use anyhow::{anyhow, Context}; +use itertools::Itertools; +use tracing::{debug, trace}; + +use crate::defs::Error; + +/// The coin denominations. +#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[allow(clippy::exhaustive_enums)] +pub enum Coin { + /// A penny (1c). + Penny, + + /// A nickel (5c). + Nickel, + + /// A dime (10c). + Dime, + + /// A quarter (25c). + Quarter, + + /// A half-dollar (50c). + HalfDollar, +} + +impl Coin { + /// The coin denominations from highest to lowest, except for the penny. + /// + /// The penny is excluded because we don't want to return it in the recursive + /// breakdown processing. + const ORDER_ABP: [Self; 4] = [Self::HalfDollar, Self::Quarter, Self::Dime, Self::Nickel]; + + /// The name of a penny. + pub const PENNY: &'static str = "penny"; + + /// The name of a nickel. + pub const NICKEL: &'static str = "nickel"; + + /// The name of a dime. + pub const DIME: &'static str = "dime"; + + /// The name of a quarter. + pub const QUARTER: &'static str = "quarter"; + + /// The name of a half dollar. + pub const HALF_DOLLAR: &'static str = "half dollar"; + + /// The numeric value of a coin. + #[inline] + #[must_use] + pub const fn value(&self) -> u32 { + match *self { + Self::Penny => 1, + Self::Nickel => 5, + Self::Dime => 10, + Self::Quarter => 25, + Self::HalfDollar => 50, + } + } + + /// The next step down. + /// + /// # Errors + /// + /// [`Error::InternalError`] if this is invoked for [`Coin::Penny`]. + #[inline] + pub fn lower(&self) -> Result { + match *self { + Self::Penny => Err(Error::InternalError(anyhow!( + "Coin::lower() should never be asked about a penny" + ))), + Self::Nickel => Ok(Self::Penny), + Self::Dime => Ok(Self::Nickel), + Self::Quarter => Ok(Self::Dime), + Self::HalfDollar => Ok(Self::Quarter), + } + } +} + +impl AsRef for Coin { + #[inline] + fn as_ref(&self) -> &str { + match *self { + Self::Penny => Self::PENNY, + Self::Nickel => Self::NICKEL, + Self::Dime => Self::DIME, + Self::Quarter => Self::QUARTER, + Self::HalfDollar => Self::HALF_DOLLAR, + } + } +} + +impl Display for Coin { + #[inline] + #[allow(clippy::min_ident_chars)] + fn fmt(&self, f: &mut Formatter<'_>) -> FmtResult { + write!(f, "{value}", value = self.as_ref()) + } +} + +/// Prepare to recurse into breaking an amount of money down into parts. +/// +/// Return the different ways of breaking down into smaller coins except for pennies-only. +#[tracing::instrument] +pub fn break_down_ways(amount: u32, highest: Coin) -> Result, Error> { + Coin::ORDER_ABP + .iter() + .filter(|coin| **coin <= highest) + .map(|coin| -> Result, Error> { + trace!(?coin); + let value = coin.value(); + trace!(value); + let lower = coin.lower()?; + trace!(?lower); + let step = usize::try_from(value) + .with_context(|| format!("Could not convert {value} to usize")) + .map_err(Error::InternalError)?; + Ok((value..) + .step_by(step) + .map_while(|used| amount.checked_sub(used).map(|rem| (rem, lower))) + .collect()) + }) + .flatten_ok() + .collect::>() +} + +/// Figure out whether the set of parameters trivially resolves to a single solution. +fn trivial(amount: u32, highest: Coin) -> bool { + highest == Coin::Penny || amount == 0 +} + +/// Recurse into breaking an amount of money down into parts. +/// +/// Count the different ways of breaking down into smaller coins, pennies-only included. +#[tracing::instrument] +pub fn make_change_rec( + amount: u32, + highest: Coin, + cache: &mut HashMap<(u32, Coin), u32>, +) -> Result { + if trivial(amount, highest) { + return Ok(1); + } + if let Some(seen) = cache.get(&(amount, highest)) { + return Ok(*seen); + } + + let ways = break_down_ways(amount, highest)?; + trace!(?ways); + let (sum, upd_cache) = ways.into_iter().try_fold( + (1_u32, cache), + |(sum, current_cache), (b_amount, b_highest)| { + let current = if trivial(b_amount, b_highest) { + 1_u32 + } else { + make_change_rec(b_amount, b_highest, current_cache)? + }; + + let upd_sum = sum + .checked_add(current) + .ok_or_else(|| Error::InternalError(anyhow!("Could not add {current} to {sum}")))?; + Ok((upd_sum, current_cache)) + }, + )?; + trace!(sum); + upd_cache.insert((amount, highest), sum); + Ok(sum) +} + +/// Week 285 task 2: Making Change. +/// +/// # Errors +/// +/// [`Error::NotImplemented`] so far. +#[tracing::instrument] +#[inline] +pub fn solve_making_change(amount: u32) -> Result { + debug!("About to break {amount} cents down"); + make_change_rec(amount, Coin::HalfDollar, &mut HashMap::new()) +} diff --git a/guests.json b/guests.json index 5887d2baaf..987caa137a 100644 --- a/guests.json +++ b/guests.json @@ -17,6 +17,7 @@ "mfoda" : "Mohammad Foda", "michael-dicicco" : "Michael DiCicco", "orestis-zekai" : "Orestis Zekai", + "ppentchev" : "Peter Pentchev", "pieviero" : "Tymoteusz Moryto", "probablyfine" : "Alex Wilson", "geekruthie" : "Ruth Holloway", diff --git a/stats/pwc-challenge-203.json b/stats/pwc-challenge-203.json index a951eb0993..a611ed83d9 100644 --- a/stats/pwc-challenge-203.json +++ b/stats/pwc-challenge-203.json @@ -1,42 +1,31 @@ { "subtitle" : { - "text" : "[Champions: 36] Last updated at 2024-07-29 17:29:09 GMT" + "text" : "[Champions: 37] Last updated at 2024-09-07 14:50:53 GMT" }, - "tooltip" : { - "headerFormat" : "{series.name}
", - "followPointer" : 1, - "pointFormat" : "{point.name}: {point.y:f}
" + "chart" : { + "type" : "column" }, "xAxis" : { "type" : "category" }, - "title" : { - "text" : "The Weekly Challenge - 203" - }, - "plotOptions" : { - "series" : { - "dataLabels" : { - "enabled" : 1, - "format" : "{point.y}" - }, - "borderWidth" : 0 + "yAxis" : { + "title" : { + "text" : "Total Solutions" } }, - "chart" : { - "type" : "column" - }, "series" : [ { + "name" : "The Weekly Challenge - 203", "data" : [ { "drilldown" : "Adam Russell", - "y" : 2, - "name" : "Adam Russell" + "name" : "Adam Russell", + "y" : 2 }, { - "name" : "Arne Sommer", "y" : 3, - "drilldown" : "Arne Sommer" + "drilldown" : "Arne Sommer", + "name" : "Arne Sommer" }, { "name" : "Athanasius", @@ -45,43 +34,43 @@ }, { "name" : "BarrOff", - "y" : 2, - "drilldown" : "BarrOff" + "drilldown" : "BarrOff", + "y" : 2 }, { - "name" : "Bob Lied", + "y" : 2, "drilldown" : "Bob Lied", - "y" : 2 + "name" : "Bob Lied" }, { "drilldown" : "Carlos Oliveira", - "y" : 2, - "name" : "Carlos Oliveira" + "name" : "Carlos Oliveira", + "y" : 2 }, { - "name" : "Cheok-Yin Fung", + "y" : 1, "drilldown" : "Cheok-Yin Fung", - "y" : 1 + "name" : "Cheok-Yin Fung" }, { + "name" : "Chicagoist", "drilldown" : "Chicagoist", - "y" : 2, - "name" : "Chicagoist" + "y" : 2 }, { - "name" : "Colin Crain", "y" : 2, + "name" : "Colin Crain", "drilldown" : "Colin Crain" }, { "y" : 3, - "drilldown" : "Dave Jacoby", - "name" : "Dave Jacoby" + "name" : "Dave Jacoby", + "drilldown" : "Dave Jacoby" }, { "y" : 2, - "drilldown" : "David Ferrone", - "name" : "David Ferrone" + "name" : "David Ferrone", + "drilldown" : "David Ferrone" }, { "y" : 2, @@ -89,33 +78,33 @@ "name" : "Duncan C. White" }, { - "drilldown" : "E. Choroba", "y" : 2, + "drilldown" : "E. Choroba", "name" : "E. Choroba" }, { + "y" : 2, "name" : "Feng Chang", - "drilldown" : "Feng Chang", - "y" : 2 + "drilldown" : "Feng Chang" }, { - "y" : 6, "drilldown" : "Flavio Poletti", - "name" : "Flavio Poletti" + "name" : "Flavio Poletti", + "y" : 6 }, { "y" : 3, - "drilldown" : "James Smith", - "name" : "James Smith" + "name" : "James Smith", + "drilldown" : "James Smith" }, { "y" : 2, - "drilldown" : "Jan Krnavek", - "name" : "Jan Krnavek" + "name" : "Jan Krnavek", + "drilldown" : "Jan Krnavek" }, { - "drilldown" : "Jorg Sommrey", "y" : 2, + "drilldown" : "Jorg Sommrey", "name" : "Jorg Sommrey" }, { @@ -124,39 +113,44 @@ "y" : 2 }, { + "name" : "Laurent Rosenfeld", "drilldown" : "Laurent Rosenfeld", - "y" : 5, - "name" : "Laurent Rosenfeld" + "y" : 5 }, { - "name" : "Lubos Kolouch", "y" : 2, - "drilldown" : "Lubos Kolouch" + "drilldown" : "Lubos Kolouch", + "name" : "Lubos Kolouch" }, { - "y" : 8, "drilldown" : "Luca Ferrari", - "name" : "Luca Ferrari" + "name" : "Luca Ferrari", + "y" : 8 }, { + "name" : "Mariano Spadaccini", "drilldown" : "Mariano Spadaccini", - "y" : 2, - "name" : "Mariano Spadaccini" + "y" : 2 }, { - "name" : "Mark Anderson", "y" : 2, + "name" : "Mark Anderson", "drilldown" : "Mark Anderson" }, { - "drilldown" : "Paulo Custodio", "y" : 2, + "drilldown" : "Paulo Custodio", "name" : "Paulo Custodio" }, { + "y" : 3, "name" : "Peter Campbell Smith", - "drilldown" : "Peter Campbell Smith", - "y" : 3 + "drilldown" : "Peter Campbell Smith" + }, + { + "drilldown" : "Peter Meszaros", + "name" : "Peter Meszaros", + "y" : 2 }, { "name" : "Pip Stuart", @@ -164,14 +158,14 @@ "y" : 4 }, { - "name" : "Robbie Hatley", "y" : 3, - "drilldown" : "Robbie Hatley" + "drilldown" : "Robbie Hatley", + "name" : "Robbie Hatley" }, { + "drilldown" : "Robert DiCicco", "name" : "Robert DiCicco", - "y" : 2, - "drilldown" : "Robert DiCicco" + "y" : 2 }, { "name" : "Robert Ransbottom", @@ -179,24 +173,24 @@ "y" : 2 }, { - "name" : "Roger Bell_West", + "y" : 5, "drilldown" : "Roger Bell_West", - "y" : 5 + "name" : "Roger Bell_West" }, { "y" : 1, - "drilldown" : "Simon Green", - "name" : "Simon Green" + "name" : "Simon Green", + "drilldown" : "Simon Green" }, { - "drilldown" : "Solathian", "y" : 2, - "name" : "Solathian" + "name" : "Solathian", + "drilldown" : "Solathian" }, { + "y" : 4, "name" : "Thomas Kohler", - "drilldown" : "Thomas Kohler", - "y" : 4 + "drilldown" : "Thomas Kohler" }, { "y" : 2, @@ -209,26 +203,35 @@ "y" : 3 } ], - "name" : "The Weekly Challenge - 203", "colorByPoint" : 1 } ], + "title" : { + "text" : "The Weekly Challenge - 203" + }, + "tooltip" : { + "pointFormat" : "{point.name}: {point.y:f}
", + "followPointer" : 1, + "headerFormat" : "{series.name}
" + }, "legend" : { "enabled" : 0 }, "drilldown" : { "series" : [ { - "id" : "Adam Russell", - "name" : "Adam Russell", "data" : [ [ "Perl", 2 ] - ] + ], + "id" : "Adam Russell", + "name" : "Adam Russell" }, { + "name" : "Arne Sommer", + "id" : "Arne Sommer", "data" : [ [ "Raku", @@ -238,9 +241,7 @@ "Blog", 1 ] - ], - "name" : "Arne Sommer", - "id" : "Arne Sommer" + ] }, { "name" : "Athanasius", @@ -257,54 +258,54 @@ ] }, { + "name" : "BarrOff", + "id" : "BarrOff", "data" : [ [ "Raku", 2 ] - ], - "name" : "BarrOff", - "id" : "BarrOff" + ] }, { - "id" : "Bob Lied", - "name" : "Bob Lied", "data" : [ [ "Perl", 2 ] - ] + ], + "name" : "Bob Lied", + "id" : "Bob Lied" }, { - "id" : "Carlos Oliveira", - "name" : "Carlos Oliveira", "data" : [ [ "Perl", 2 ] - ] + ], + "id" : "Carlos Oliveira", + "name" : "Carlos Oliveira" }, { - "name" : "Cheok-Yin Fung", - "id" : "Cheok-Yin Fung", "data" : [ [ "Perl", 1 ] - ] + ], + "name" : "Cheok-Yin Fung", + "id" : "Cheok-Yin Fung" }, { - "id" : "Chicagoist", - "name" : "Chicagoist", "data" : [ [ "Perl", 2 ] - ] + ], + "id" : "Chicagoist", + "name" : "Chicagoist" }, { "data" : [ @@ -317,8 +318,6 @@ "name" : "Colin Crain" }, { - "name" : "Dave Jacoby", - "id" : "Dave Jacoby", "data" : [ [ "Perl", @@ -328,11 +327,13 @@ "Blog", 1 ] - ] + ], + "name" : "Dave Jacoby", + "id" : "Dave Jacoby" }, { - "id" : "David Ferrone", "name" : "David Ferrone", + "id" : "David Ferrone", "data" : [ [ "Perl", @@ -341,24 +342,24 @@ ] }, { + "id" : "Duncan C. White", + "name" : "Duncan C. White", "data" : [ [ "Perl", 2 ] - ], - "name" : "Duncan C. White", - "id" : "Duncan C. White" + ] }, { - "name" : "E. Choroba", - "id" : "E. Choroba", "data" : [ [ "Perl", 2 ] - ] + ], + "name" : "E. Choroba", + "id" : "E. Choroba" }, { "data" : [ @@ -371,6 +372,8 @@ "id" : "Feng Chang" }, { + "id" : "Flavio Poletti", + "name" : "Flavio Poletti", "data" : [ [ "Perl", @@ -384,11 +387,11 @@ "Blog", 2 ] - ], - "id" : "Flavio Poletti", - "name" : "Flavio Poletti" + ] }, { + "name" : "James Smith", + "id" : "James Smith", "data" : [ [ "Perl", @@ -398,9 +401,7 @@ "Blog", 1 ] - ], - "name" : "James Smith", - "id" : "James Smith" + ] }, { "data" : [ @@ -423,14 +424,14 @@ ] }, { + "id" : "Kjetil Skotheim", + "name" : "Kjetil Skotheim", "data" : [ [ "Perl", 2 ] - ], - "name" : "Kjetil Skotheim", - "id" : "Kjetil Skotheim" + ] }, { "data" : [ @@ -451,18 +452,16 @@ "name" : "Laurent Rosenfeld" }, { - "id" : "Lubos Kolouch", - "name" : "Lubos Kolouch", "data" : [ [ "Perl", 2 ] - ] + ], + "id" : "Lubos Kolouch", + "name" : "Lubos Kolouch" }, { - "id" : "Luca Ferrari", - "name" : "Luca Ferrari", "data" : [ [ "Raku", @@ -472,7 +471,9 @@ "Blog", 6 ] - ] + ], + "id" : "Luca Ferrari", + "name" : "Luca Ferrari" }, { "data" : [ @@ -485,28 +486,28 @@ "name" : "Mariano Spadaccini" }, { - "id" : "Mark Anderson", - "name" : "Mark Anderson", "data" : [ [ "Raku", 2 ] - ] + ], + "id" : "Mark Anderson", + "name" : "Mark Anderson" }, { + "id" : "Paulo Custodio", + "name" : "Paulo Custodio", "data" : [ [ "Perl", 2 ] - ], - "name" : "Paulo Custodio", - "id" : "Paulo Custodio" + ] }, { - "name" : "Peter Campbell Smith", "id" : "Peter Campbell Smith", + "name" : "Peter Campbell Smith", "data" : [ [ "Perl", @@ -518,6 +519,16 @@ ] ] }, + { + "data" : [ + [ + "Perl", + 2 + ] + ], + "id" : "Peter Meszaros", + "name" : "Peter Meszaros" + }, { "data" : [ [ @@ -543,10 +554,12 @@ 1 ] ], - "id" : "Robbie Hatley", - "name" : "Robbie Hatley" + "name" : "Robbie Hatley", + "id" : "Robbie Hatley" }, { + "id" : "Robert DiCicco", + "name" : "Robert DiCicco", "data" : [ [ "Perl", @@ -556,21 +569,21 @@ "Raku", 1 ] - ], - "name" : "Robert DiCicco", - "id" : "Robert DiCicco" + ] }, { + "name" : "Robert Ransbottom", + "id" : "Robert Ransbottom", "data" : [ [ "Raku", 2 ] - ], - "name" : "Robert Ransbottom", - "id" : "Robert Ransbottom" + ] }, { + "name" : "Roger Bell_West", + "id" : "Roger Bell_West", "data" : [ [ "Perl", @@ -584,33 +597,29 @@ "Blog", 1 ] - ], - "id" : "Roger Bell_West", - "name" : "Roger Bell_West" + ] }, { - "id" : "Simon Green", - "name" : "Simon Green", "data" : [ [ "Perl", 1 ] - ] + ], + "name" : "Simon Green", + "id" : "Simon Green" }, { + "name" : "Solathian", + "id" : "Solathian", "data" : [ [ "Perl", 2 ] - ], - "id" : "Solathian", - "name" : "Solathian" + ] }, { - "id" : "Thomas Kohler", - "name" : "Thomas Kohler", "data" : [ [ "Perl", @@ -620,7 +629,9 @@ "Blog", 2 ] - ] + ], + "name" : "Thomas Kohler", + "id" : "Thomas Kohler" }, { "data" : [ @@ -637,8 +648,6 @@ "id" : "Ulrich Rieke" }, { - "name" : "W. Luis Mochan", - "id" : "W. Luis Mochan", "data" : [ [ "Perl", @@ -648,13 +657,19 @@ "Blog", 1 ] - ] + ], + "name" : "W. Luis Mochan", + "id" : "W. Luis Mochan" } ] }, - "yAxis" : { - "title" : { - "text" : "Total Solutions" + "plotOptions" : { + "series" : { + "borderWidth" : 0, + "dataLabels" : { + "format" : "{point.y}", + "enabled" : 1 + } } } } diff --git a/stats/pwc-challenge-204.json b/stats/pwc-challenge-204.json index 87e8b6091c..c9fd51c1f3 100644 --- a/stats/pwc-challenge-204.json +++ b/stats/pwc-challenge-204.json @@ -1,39 +1,22 @@ { - "chart" : { - "type" : "column" - }, - "plotOptions" : { - "series" : { - "dataLabels" : { - "enabled" : 1, - "format" : "{point.y}" - }, - "borderWidth" : 0 - } - }, - "title" : { - "text" : "The Weekly Challenge - 204" - }, - "xAxis" : { - "type" : "category" - }, "series" : [ { + "name" : "The Weekly Challenge - 204", "data" : [ { - "y" : 4, + "name" : "Andrew Shitov", "drilldown" : "Andrew Shitov", - "name" : "Andrew Shitov" + "y" : 4 }, { - "drilldown" : "Arne Sommer", "y" : 3, - "name" : "Arne Sommer" + "name" : "Arne Sommer", + "drilldown" : "Arne Sommer" }, { - "y" : 4, "drilldown" : "Athanasius", - "name" : "Athanasius" + "name" : "Athanasius", + "y" : 4 }, { "y" : 2, @@ -42,23 +25,23 @@ }, { "drilldown" : "Bob Lied", - "y" : 2, - "name" : "Bob Lied" + "name" : "Bob Lied", + "y" : 2 }, { + "name" : "Bruce Gray", "drilldown" : "Bruce Gray", - "y" : 2, - "name" : "Bruce Gray" + "y" : 2 }, { - "drilldown" : "Carlos Oliveira", "y" : 2, - "name" : "Carlos Oliveira" + "name" : "Carlos Oliveira", + "drilldown" : "Carlos Oliveira" }, { - "name" : "Cheok-Yin Fung", + "y" : 1, "drilldown" : "Cheok-Yin Fung", - "y" : 1 + "name" : "Cheok-Yin Fung" }, { "name" : "Dave Jacoby", @@ -66,14 +49,14 @@ "y" : 2 }, { + "name" : "David Ferrone", "drilldown" : "David Ferrone", - "y" : 2, - "name" : "David Ferrone" + "y" : 2 }, { "name" : "Duncan C. White", - "y" : 2, - "drilldown" : "Duncan C. White" + "drilldown" : "Duncan C. White", + "y" : 2 }, { "y" : 2, @@ -81,14 +64,14 @@ "name" : "E. Choroba" }, { - "y" : 2, "drilldown" : "Feng Chang", - "name" : "Feng Chang" + "name" : "Feng Chang", + "y" : 2 }, { "y" : 6, - "drilldown" : "Flavio Poletti", - "name" : "Flavio Poletti" + "name" : "Flavio Poletti", + "drilldown" : "Flavio Poletti" }, { "name" : "Jaldhar H. Vyas", @@ -96,74 +79,79 @@ "y" : 5 }, { + "y" : 3, "name" : "James Smith", - "drilldown" : "James Smith", - "y" : 3 + "drilldown" : "James Smith" }, { + "name" : "Jan Krnavek", "drilldown" : "Jan Krnavek", - "y" : 2, - "name" : "Jan Krnavek" + "y" : 2 }, { "name" : "Jorg Sommrey", - "y" : 2, - "drilldown" : "Jorg Sommrey" + "drilldown" : "Jorg Sommrey", + "y" : 2 }, { "y" : 5, - "drilldown" : "Laurent Rosenfeld", - "name" : "Laurent Rosenfeld" + "name" : "Laurent Rosenfeld", + "drilldown" : "Laurent Rosenfeld" }, { "name" : "Lubos Kolouch", - "y" : 2, - "drilldown" : "Lubos Kolouch" + "drilldown" : "Lubos Kolouch", + "y" : 2 }, { + "name" : "Luca Ferrari", "drilldown" : "Luca Ferrari", - "y" : 8, - "name" : "Luca Ferrari" + "y" : 8 }, { "y" : 2, - "drilldown" : "Mariano Spadaccini", - "name" : "Mariano Spadaccini" + "name" : "Mariano Spadaccini", + "drilldown" : "Mariano Spadaccini" }, { + "name" : "Mark Anderson", "drilldown" : "Mark Anderson", - "y" : 2, - "name" : "Mark Anderson" + "y" : 2 }, { - "drilldown" : "Matthew Neleigh", "y" : 2, + "drilldown" : "Matthew Neleigh", "name" : "Matthew Neleigh" }, { - "y" : 3, "drilldown" : "Matthias Muth", - "name" : "Matthias Muth" + "name" : "Matthias Muth", + "y" : 3 }, { + "name" : "Paulo Custodio", "drilldown" : "Paulo Custodio", - "y" : 2, - "name" : "Paulo Custodio" + "y" : 2 }, { "name" : "Peter Campbell Smith", - "y" : 3, - "drilldown" : "Peter Campbell Smith" + "drilldown" : "Peter Campbell Smith", + "y" : 3 + }, + { + "y" : 2, + "drilldown" : "Peter Meszaros", + "name" : "Peter Meszaros" }, { "name" : "Pip Stuart", - "y" : 4, - "drilldown" : "Pip Stuart" + "drilldown" : "Pip Stuart", + "y" : 4 }, { - "name" : "Robbie Hatley", "y" : 3, - "drilldown" : "Robbie Hatley" + "drilldown" : "Robbie Hatley", + "name" : "Robbie Hatley" }, { "name" : "Robert DiCicco", @@ -171,66 +159,54 @@ "y" : 2 }, { - "drilldown" : "Robert Ransbottom", "y" : 2, - "name" : "Robert Ransbottom" + "name" : "Robert Ransbottom", + "drilldown" : "Robert Ransbottom" }, { - "drilldown" : "Roger Bell_West", "y" : 5, - "name" : "Roger Bell_West" + "name" : "Roger Bell_West", + "drilldown" : "Roger Bell_West" }, { "name" : "Simon Green", - "y" : 3, - "drilldown" : "Simon Green" + "drilldown" : "Simon Green", + "y" : 3 }, { "name" : "Thomas Kohler", - "y" : 4, - "drilldown" : "Thomas Kohler" + "drilldown" : "Thomas Kohler", + "y" : 4 }, { + "drilldown" : "Tyler Bird", "name" : "Tyler Bird", - "y" : 2, - "drilldown" : "Tyler Bird" + "y" : 2 }, { "name" : "Ulrich Rieke", - "y" : 4, - "drilldown" : "Ulrich Rieke" + "drilldown" : "Ulrich Rieke", + "y" : 4 }, { "y" : 2, - "drilldown" : "Vamsi Meenavilli", - "name" : "Vamsi Meenavilli" + "name" : "Vamsi Meenavilli", + "drilldown" : "Vamsi Meenavilli" }, { + "name" : "W. Luis Mochan", "drilldown" : "W. Luis Mochan", - "y" : 3, - "name" : "W. Luis Mochan" + "y" : 3 } ], - "colorByPoint" : 1, - "name" : "The Weekly Challenge - 204" + "colorByPoint" : 1 } ], - "subtitle" : { - "text" : "[Champions: 38] Last updated at 2024-07-29 17:29:09 GMT" - }, - "tooltip" : { - "headerFormat" : "{series.name}
", - "followPointer" : 1, - "pointFormat" : "{point.name}: {point.y:f}
" - }, "yAxis" : { "title" : { "text" : "Total Solutions" } }, - "legend" : { - "enabled" : 0 - }, "drilldown" : { "series" : [ { @@ -258,8 +234,8 @@ 1 ] ], - "name" : "Arne Sommer", - "id" : "Arne Sommer" + "id" : "Arne Sommer", + "name" : "Arne Sommer" }, { "id" : "Athanasius", @@ -276,14 +252,14 @@ ] }, { - "id" : "BarrOff", - "name" : "BarrOff", "data" : [ [ "Raku", 2 ] - ] + ], + "name" : "BarrOff", + "id" : "BarrOff" }, { "id" : "Bob Lied", @@ -306,18 +282,18 @@ ] }, { + "name" : "Carlos Oliveira", + "id" : "Carlos Oliveira", "data" : [ [ "Perl", 2 ] - ], - "id" : "Carlos Oliveira", - "name" : "Carlos Oliveira" + ] }, { - "id" : "Cheok-Yin Fung", "name" : "Cheok-Yin Fung", + "id" : "Cheok-Yin Fung", "data" : [ [ "Perl", @@ -326,14 +302,14 @@ ] }, { - "name" : "Dave Jacoby", - "id" : "Dave Jacoby", "data" : [ [ "Perl", 2 ] - ] + ], + "id" : "Dave Jacoby", + "name" : "Dave Jacoby" }, { "id" : "David Ferrone", @@ -356,28 +332,26 @@ ] }, { + "name" : "E. Choroba", + "id" : "E. Choroba", "data" : [ [ "Perl", 2 ] - ], - "name" : "E. Choroba", - "id" : "E. Choroba" + ] }, { + "name" : "Feng Chang", + "id" : "Feng Chang", "data" : [ [ "Raku", 2 ] - ], - "id" : "Feng Chang", - "name" : "Feng Chang" + ] }, { - "name" : "Flavio Poletti", - "id" : "Flavio Poletti", "data" : [ [ "Perl", @@ -391,9 +365,13 @@ "Blog", 2 ] - ] + ], + "name" : "Flavio Poletti", + "id" : "Flavio Poletti" }, { + "name" : "Jaldhar H. Vyas", + "id" : "Jaldhar H. Vyas", "data" : [ [ "Perl", @@ -407,11 +385,11 @@ "Blog", 1 ] - ], - "id" : "Jaldhar H. Vyas", - "name" : "Jaldhar H. Vyas" + ] }, { + "name" : "James Smith", + "id" : "James Smith", "data" : [ [ "Perl", @@ -421,31 +399,31 @@ "Blog", 1 ] - ], - "id" : "James Smith", - "name" : "James Smith" + ] }, { + "id" : "Jan Krnavek", + "name" : "Jan Krnavek", "data" : [ [ "Raku", 2 ] - ], - "name" : "Jan Krnavek", - "id" : "Jan Krnavek" + ] }, { - "id" : "Jorg Sommrey", - "name" : "Jorg Sommrey", "data" : [ [ "Perl", 2 ] - ] + ], + "name" : "Jorg Sommrey", + "id" : "Jorg Sommrey" }, { + "id" : "Laurent Rosenfeld", + "name" : "Laurent Rosenfeld", "data" : [ [ "Perl", @@ -459,9 +437,7 @@ "Blog", 1 ] - ], - "name" : "Laurent Rosenfeld", - "id" : "Laurent Rosenfeld" + ] }, { "data" : [ @@ -474,8 +450,6 @@ "id" : "Lubos Kolouch" }, { - "name" : "Luca Ferrari", - "id" : "Luca Ferrari", "data" : [ [ "Raku", @@ -485,17 +459,19 @@ "Blog", 6 ] - ] + ], + "name" : "Luca Ferrari", + "id" : "Luca Ferrari" }, { - "name" : "Mariano Spadaccini", - "id" : "Mariano Spadaccini", "data" : [ [ "Perl", 2 ] - ] + ], + "id" : "Mariano Spadaccini", + "name" : "Mariano Spadaccini" }, { "id" : "Mark Anderson", @@ -508,18 +484,18 @@ ] }, { + "id" : "Matthew Neleigh", + "name" : "Matthew Neleigh", "data" : [ [ "Perl", 2 ] - ], - "id" : "Matthew Neleigh", - "name" : "Matthew Neleigh" + ] }, { - "name" : "Matthias Muth", "id" : "Matthias Muth", + "name" : "Matthias Muth", "data" : [ [ "Perl", @@ -532,18 +508,16 @@ ] }, { + "name" : "Paulo Custodio", + "id" : "Paulo Custodio", "data" : [ [ "Perl", 2 ] - ], - "id" : "Paulo Custodio", - "name" : "Paulo Custodio" + ] }, { - "name" : "Peter Campbell Smith", - "id" : "Peter Campbell Smith", "data" : [ [ "Perl", @@ -553,9 +527,23 @@ "Blog", 1 ] - ] + ], + "id" : "Peter Campbell Smith", + "name" : "Peter Campbell Smith" }, { + "data" : [ + [ + "Perl", + 2 + ] + ], + "name" : "Peter Meszaros", + "id" : "Peter Meszaros" + }, + { + "id" : "Pip Stuart", + "name" : "Pip Stuart", "data" : [ [ "Perl", @@ -565,9 +553,7 @@ "Raku", 2 ] - ], - "name" : "Pip Stuart", - "id" : "Pip Stuart" + ] }, { "data" : [ @@ -594,22 +580,20 @@ 1 ] ], - "id" : "Robert DiCicco", - "name" : "Robert DiCicco" + "name" : "Robert DiCicco", + "id" : "Robert DiCicco" }, { - "id" : "Robert Ransbottom", - "name" : "Robert Ransbottom", "data" : [ [ "Raku", 2 ] - ] + ], + "name" : "Robert Ransbottom", + "id" : "Robert Ransbottom" }, { - "id" : "Roger Bell_West", - "name" : "Roger Bell_West", "data" : [ [ "Perl", @@ -623,9 +607,13 @@ "Blog", 1 ] - ] + ], + "name" : "Roger Bell_West", + "id" : "Roger Bell_West" }, { + "name" : "Simon Green", + "id" : "Simon Green", "data" : [ [ "Perl", @@ -635,13 +623,9 @@ "Blog", 1 ] - ], - "id" : "Simon Green", - "name" : "Simon Green" + ] }, { - "id" : "Thomas Kohler", - "name" : "Thomas Kohler", "data" : [ [ "Perl", @@ -651,7 +635,9 @@ "Blog", 2 ] - ] + ], + "id" : "Thomas Kohler", + "name" : "Thomas Kohler" }, { "id" : "Tyler Bird", @@ -678,14 +664,14 @@ ] }, { - "name" : "Vamsi Meenavilli", - "id" : "Vamsi Meenavilli", "data" : [ [ "Perl", 2 ] - ] + ], + "name" : "Vamsi Meenavilli", + "id" : "Vamsi Meenavilli" }, { "data" : [ @@ -702,5 +688,34 @@ "name" : "W. Luis Mochan" } ] + }, + "plotOptions" : { + "series" : { + "borderWidth" : 0, + "dataLabels" : { + "format" : "{point.y}", + "enabled" : 1 + } + } + }, + "tooltip" : { + "headerFormat" : "{series.name}
", + "followPointer" : 1, + "pointFormat" : "{point.name}: {point.y:f}
" + }, + "title" : { + "text" : "The Weekly Challenge - 204" + }, + "legend" : { + "enabled" : 0 + }, + "chart" : { + "type" : "column" + }, + "xAxis" : { + "type" : "category" + }, + "subtitle" : { + "text" : "[Champions: 39] Last updated at 2024-09-07 14:50:53 GMT" } } diff --git a/stats/pwc-current.json b/stats/pwc-current.json index b1a40b210c..fffc7fd1d2 100644 --- a/stats/pwc-current.json +++ b/stats/pwc-current.json @@ -1,37 +1,29 @@ { - "plotOptions" : { - "series" : { - "borderWidth" : 0, - "dataLabels" : { - "enabled" : 1, - "format" : "{point.y}" - } - } + "xAxis" : { + "type" : "category" }, "legend" : { "enabled" : 0 }, - "title" : { - "text" : "The Weekly Challenge - 285" - }, "series" : [ { "name" : "The Weekly Challenge - 285", + "colorByPoint" : 1, "data" : [ { - "name" : "Ali Moradi", "y" : 3, - "drilldown" : "Ali Moradi" + "drilldown" : "Ali Moradi", + "name" : "Ali Moradi" }, { - "y" : 2, "name" : "Dave Jacoby", - "drilldown" : "Dave Jacoby" + "drilldown" : "Dave Jacoby", + "y" : 2 }, { - "y" : 3, + "drilldown" : "David Ferrone", "name" : "David Ferrone", - "drilldown" : "David Ferrone" + "y" : 3 }, { "y" : 2, @@ -39,29 +31,39 @@ "drilldown" : "E. Choroba" }, { - "drilldown" : "Feng Chang", + "y" : 2, "name" : "Feng Chang", - "y" : 2 + "drilldown" : "Feng Chang" }, { + "y" : 3, + "name" : "Jorg Sommrey", + "drilldown" : "Jorg Sommrey" + }, + { + "name" : "Kjetil Skotheim", "drilldown" : "Kjetil Skotheim", - "y" : 2, - "name" : "Kjetil Skotheim" + "y" : 2 }, { - "drilldown" : "Laurent Rosenfeld", - "y" : 3, - "name" : "Laurent Rosenfeld" + "y" : 6, + "name" : "Laurent Rosenfeld", + "drilldown" : "Laurent Rosenfeld" }, { + "name" : "Mark Anderson", "drilldown" : "Mark Anderson", - "y" : 2, - "name" : "Mark Anderson" + "y" : 2 }, { - "drilldown" : "Matthias Muth", + "drilldown" : "Matthew Neleigh", + "name" : "Matthew Neleigh", + "y" : 2 + }, + { + "y" : 3, "name" : "Matthias Muth", - "y" : 3 + "drilldown" : "Matthias Muth" }, { "y" : 5, @@ -74,18 +76,28 @@ "drilldown" : "Paulo Custodio" }, { - "drilldown" : "Peter Campbell Smith", "y" : 3, - "name" : "Peter Campbell Smith" + "name" : "Peter Campbell Smith", + "drilldown" : "Peter Campbell Smith" }, { - "drilldown" : "Peter Meszaros", "y" : 2, + "drilldown" : "Peter Meszaros", "name" : "Peter Meszaros" }, { - "drilldown" : "Reinier Maliepaard", + "y" : 2, "name" : "Reinier Maliepaard", + "drilldown" : "Reinier Maliepaard" + }, + { + "name" : "Robbie Hatley", + "drilldown" : "Robbie Hatley", + "y" : 3 + }, + { + "drilldown" : "Robert Ransbottom", + "name" : "Robert Ransbottom", "y" : 2 }, { @@ -94,31 +106,61 @@ "y" : 4 }, { - "drilldown" : "Thomas Kohler", "y" : 4, + "drilldown" : "Thomas Kohler", "name" : "Thomas Kohler" }, { + "y" : 3, + "name" : "Torgny Lyon", + "drilldown" : "Torgny Lyon" + }, + { + "drilldown" : "Ulrich Rieke", "name" : "Ulrich Rieke", - "y" : 4, - "drilldown" : "Ulrich Rieke" + "y" : 4 }, { + "y" : 3, "drilldown" : "W. Luis Mochan", - "name" : "W. Luis Mochan", - "y" : 3 + "name" : "W. Luis Mochan" } - ], - "colorByPoint" : 1 + ] } ], + "tooltip" : { + "followPointer" : 1, + "pointFormat" : "{point.name}: {point.y:f}
", + "headerFormat" : "{series.name}
" + }, + "title" : { + "text" : "The Weekly Challenge - 285" + }, + "yAxis" : { + "title" : { + "text" : "Total Solutions" + } + }, + "plotOptions" : { + "series" : { + "dataLabels" : { + "enabled" : 1, + "format" : "{point.y}" + }, + "borderWidth" : 0 + } + }, "subtitle" : { - "text" : "[Champions: 18] Last updated at 2024-09-05 19:35:40 GMT" + "text" : "[Champions: 23] Last updated at 2024-09-07 14:54:13 GMT" + }, + "chart" : { + "type" : "column" }, "drilldown" : { "series" : [ { "name" : "Ali Moradi", + "id" : "Ali Moradi", "data" : [ [ "Perl", @@ -128,21 +170,21 @@ "Blog", 1 ] - ], - "id" : "Ali Moradi" + ] }, { "id" : "Dave Jacoby", + "name" : "Dave Jacoby", "data" : [ [ "Perl", 2 ] - ], - "name" : "Dave Jacoby" + ] }, { "id" : "David Ferrone", + "name" : "David Ferrone", "data" : [ [ "Perl", @@ -152,18 +194,17 @@ "Blog", 1 ] - ], - "name" : "David Ferrone" + ] }, { - "id" : "E. Choroba", - "name" : "E. Choroba", "data" : [ [ "Perl", 2 ] - ] + ], + "id" : "E. Choroba", + "name" : "E. Choroba" }, { "data" : [ @@ -176,42 +217,66 @@ "id" : "Feng Chang" }, { - "id" : "Kjetil Skotheim", - "name" : "Kjetil Skotheim", "data" : [ [ "Perl", 2 + ], + [ + "Blog", + 1 ] - ] + ], + "id" : "Jorg Sommrey", + "name" : "Jorg Sommrey" + }, + { + "data" : [ + [ + "Perl", + 2 + ] + ], + "id" : "Kjetil Skotheim", + "name" : "Kjetil Skotheim" }, { - "id" : "Laurent Rosenfeld", "name" : "Laurent Rosenfeld", + "id" : "Laurent Rosenfeld", "data" : [ [ "Perl", - 1 + 2 ], [ "Raku", - 1 + 2 ], [ "Blog", - 1 + 2 ] ] }, { + "name" : "Mark Anderson", + "id" : "Mark Anderson", "data" : [ [ "Raku", 2 ] - ], - "name" : "Mark Anderson", - "id" : "Mark Anderson" + ] + }, + { + "id" : "Matthew Neleigh", + "name" : "Matthew Neleigh", + "data" : [ + [ + "Perl", + 2 + ] + ] }, { "data" : [ @@ -224,11 +289,10 @@ 1 ] ], - "name" : "Matthias Muth", - "id" : "Matthias Muth" + "id" : "Matthias Muth", + "name" : "Matthias Muth" }, { - "name" : "Packy Anderson", "data" : [ [ "Perl", @@ -243,21 +307,20 @@ 1 ] ], - "id" : "Packy Anderson" + "id" : "Packy Anderson", + "name" : "Packy Anderson" }, { - "id" : "Paulo Custodio", - "name" : "Paulo Custodio", "data" : [ [ "Perl", 2 ] - ] + ], + "id" : "Paulo Custodio", + "name" : "Paulo Custodio" }, { - "id" : "Peter Campbell Smith", - "name" : "Peter Campbell Smith", "data" : [ [ "Perl", @@ -267,17 +330,19 @@ "Blog", 1 ] - ] + ], + "name" : "Peter Campbell Smith", + "id" : "Peter Campbell Smith" }, { "id" : "Peter Meszaros", + "name" : "Peter Meszaros", "data" : [ [ "Perl", 2 ] - ], - "name" : "Peter Meszaros" + ] }, { "data" : [ @@ -293,6 +358,30 @@ "name" : "Reinier Maliepaard", "id" : "Reinier Maliepaard" }, + { + "name" : "Robbie Hatley", + "id" : "Robbie Hatley", + "data" : [ + [ + "Perl", + 2 + ], + [ + "Blog", + 1 + ] + ] + }, + { + "data" : [ + [ + "Raku", + 2 + ] + ], + "name" : "Robert Ransbottom", + "id" : "Robert Ransbottom" + }, { "data" : [ [ @@ -304,8 +393,8 @@ 2 ] ], - "name" : "Roger Bell_West", - "id" : "Roger Bell_West" + "id" : "Roger Bell_West", + "name" : "Roger Bell_West" }, { "data" : [ @@ -318,8 +407,22 @@ 2 ] ], - "name" : "Thomas Kohler", - "id" : "Thomas Kohler" + "id" : "Thomas Kohler", + "name" : "Thomas Kohler" + }, + { + "data" : [ + [ + "Perl", + 2 + ], + [ + "Blog", + 1 + ] + ], + "name" : "Torgny Lyon", + "id" : "Torgny Lyon" }, { "id" : "Ulrich Rieke", @@ -336,7 +439,6 @@ ] }, { - "name" : "W. Luis Mochan", "data" : [ [ "Perl", @@ -347,24 +449,9 @@ 1 ] ], - "id" : "W. Luis Mochan" + "id" : "W. Luis Mochan", + "name" : "W. Luis Mochan" } ] - }, - "tooltip" : { - "pointFormat" : "{point.name}: {point.y:f}
", - "headerFormat" : "{series.name}
", - "followPointer" : 1 - }, - "xAxis" : { - "type" : "category" - }, - "yAxis" : { - "title" : { - "text" : "Total Solutions" - } - }, - "chart" : { - "type" : "column" } } diff --git a/stats/pwc-language-breakdown-2019.json b/stats/pwc-language-breakdown-2019.json index f794e86961..071c74f776 100644 --- a/stats/pwc-language-breakdown-2019.json +++ b/stats/pwc-language-breakdown-2019.json @@ -1,21 +1,241 @@ { - "plotOptions" : { - "series" : { - "borderWidth" : 0, - "dataLabels" : { - "format" : "{point.y}", - "enabled" : 1 - } - } + "tooltip" : { + "pointFormat" : "Challenge {point.name}: {point.y:f}
", + "headerFormat" : "", + "followPointer" : "true" }, "title" : { "text" : "The Weekly Challenge Language" }, + "yAxis" : { + "title" : { + "text" : "Total Solutions" + } + }, + "xAxis" : { + "type" : "category" + }, "legend" : { "enabled" : "false" }, + "series" : [ + { + "name" : "The Weekly Challenge Languages", + "colorByPoint" : "true", + "data" : [ + { + "y" : 80, + "drilldown" : "041", + "name" : "041" + }, + { + "y" : 77, + "name" : "040", + "drilldown" : "040" + }, + { + "y" : 68, + "name" : "039", + "drilldown" : "039" + }, + { + "name" : "038", + "drilldown" : "038", + "y" : 74 + }, + { + "name" : "037", + "drilldown" : "037", + "y" : 70 + }, + { + "drilldown" : "036", + "name" : "036", + "y" : 70 + }, + { + "name" : "035", + "drilldown" : "035", + "y" : 68 +