{
  "type": "Program",
  "body": [
    {
      "type": "ImportDeclaration",
      "specifiers": [
        {
          "type": "ImportDefaultSpecifier",
          "local": {
            "type": "Identifier",
            "name": "Collector",
            "range": [
              7,
              16
            ],
            "loc": {
              "start": {
                "line": 1,
                "column": 7
              },
              "end": {
                "line": 1,
                "column": 16
              }
            }
          },
          "range": [
            7,
            16
          ],
          "loc": {
            "start": {
              "line": 1,
              "column": 7
            },
            "end": {
              "line": 1,
              "column": 16
            }
          }
        }
      ],
      "source": {
        "type": "Literal",
        "value": "../Collector",
        "raw": "'../Collector'",
        "range": [
          22,
          36
        ],
        "loc": {
          "start": {
            "line": 1,
            "column": 22
          },
          "end": {
            "line": 1,
            "column": 36
          }
        }
      },
      "range": [
        0,
        37
      ],
      "loc": {
        "start": {
          "line": 1,
          "column": 0
        },
        "end": {
          "line": 1,
          "column": 37
        }
      },
      "trailingComments": [
        {
          "type": "Block",
          "value": "*\n * A collector that captures `varianceStable`\n ",
          "range": [
            39,
            92
          ],
          "loc": {
            "start": {
              "line": 3,
              "column": 0
            },
            "end": {
              "line": 5,
              "column": 3
            }
          }
        }
      ]
    },
    {
      "type": "ExportDefaultDeclaration",
      "declaration": {
        "type": "ClassDeclaration",
        "id": {
          "type": "Identifier",
          "name": "VarianceStable",
          "range": [
            114,
            128
          ],
          "loc": {
            "start": {
              "line": 6,
              "column": 21
            },
            "end": {
              "line": 6,
              "column": 35
            }
          }
        },
        "superClass": {
          "type": "Identifier",
          "name": "Collector",
          "range": [
            137,
            146
          ],
          "loc": {
            "start": {
              "line": 6,
              "column": 44
            },
            "end": {
              "line": 6,
              "column": 53
            }
          }
        },
        "body": {
          "type": "ClassBody",
          "body": [
            {
              "type": "MethodDefinition",
              "key": {
                "type": "Identifier",
                "name": "constructor",
                "range": [
                  151,
                  162
                ],
                "loc": {
                  "start": {
                    "line": 7,
                    "column": 2
                  },
                  "end": {
                    "line": 7,
                    "column": 13
                  }
                }
              },
              "value": {
                "type": "FunctionExpression",
                "id": null,
                "params": [],
                "body": {
                  "type": "BlockStatement",
                  "body": [
                    {
                      "type": "ExpressionStatement",
                      "expression": {
                        "type": "CallExpression",
                        "callee": {
                          "type": "Super",
                          "range": [
                            171,
                            176
                          ],
                          "loc": {
                            "start": {
                              "line": 8,
                              "column": 4
                            },
                            "end": {
                              "line": 8,
                              "column": 9
                            }
                          }
                        },
                        "arguments": [
                          {
                            "type": "Literal",
                            "value": "varianceStable",
                            "raw": "'varianceStable'",
                            "range": [
                              177,
                              193
                            ],
                            "loc": {
                              "start": {
                                "line": 8,
                                "column": 10
                              },
                              "end": {
                                "line": 8,
                                "column": 26
                              }
                            }
                          },
                          {
                            "type": "Literal",
                            "value": 0,
                            "raw": "0",
                            "range": [
                              195,
                              196
                            ],
                            "loc": {
                              "start": {
                                "line": 8,
                                "column": 28
                              },
                              "end": {
                                "line": 8,
                                "column": 29
                              }
                            }
                          },
                          {
                            "type": "ArrayExpression",
                            "elements": [
                              {
                                "type": "Literal",
                                "value": "values",
                                "raw": "'values'",
                                "range": [
                                  199,
                                  207
                                ],
                                "loc": {
                                  "start": {
                                    "line": 8,
                                    "column": 32
                                  },
                                  "end": {
                                    "line": 8,
                                    "column": 40
                                  }
                                }
                              },
                              {
                                "type": "Literal",
                                "value": "sumOfSquaredDeviationsStable",
                                "raw": "'sumOfSquaredDeviationsStable'",
                                "range": [
                                  209,
                                  239
                                ],
                                "loc": {
                                  "start": {
                                    "line": 8,
                                    "column": 42
                                  },
                                  "end": {
                                    "line": 8,
                                    "column": 72
                                  }
                                }
                              }
                            ],
                            "range": [
                              198,
                              240
                            ],
                            "loc": {
                              "start": {
                                "line": 8,
                                "column": 31
                              },
                              "end": {
                                "line": 8,
                                "column": 73
                              }
                            }
                          }
                        ],
                        "range": [
                          171,
                          241
                        ],
                        "loc": {
                          "start": {
                            "line": 8,
                            "column": 4
                          },
                          "end": {
                            "line": 8,
                            "column": 74
                          }
                        }
                      },
                      "range": [
                        171,
                        242
                      ],
                      "loc": {
                        "start": {
                          "line": 8,
                          "column": 4
                        },
                        "end": {
                          "line": 8,
                          "column": 75
                        }
                      }
                    }
                  ],
                  "range": [
                    165,
                    246
                  ],
                  "loc": {
                    "start": {
                      "line": 7,
                      "column": 16
                    },
                    "end": {
                      "line": 9,
                      "column": 3
                    }
                  }
                },
                "generator": false,
                "expression": false,
                "range": [
                  162,
                  246
                ],
                "loc": {
                  "start": {
                    "line": 7,
                    "column": 13
                  },
                  "end": {
                    "line": 9,
                    "column": 3
                  }
                }
              },
              "kind": "constructor",
              "computed": false,
              "range": [
                151,
                246
              ],
              "loc": {
                "start": {
                  "line": 7,
                  "column": 2
                },
                "end": {
                  "line": 9,
                  "column": 3
                }
              },
              "static": false
            },
            {
              "type": "MethodDefinition",
              "key": {
                "type": "Identifier",
                "name": "handleGet",
                "range": [
                  249,
                  258
                ],
                "loc": {
                  "start": {
                    "line": 10,
                    "column": 2
                  },
                  "end": {
                    "line": 10,
                    "column": 11
                  }
                }
              },
              "value": {
                "type": "FunctionExpression",
                "id": null,
                "params": [
                  {
                    "type": "Identifier",
                    "name": "state",
                    "range": [
                      259,
                      264
                    ],
                    "loc": {
                      "start": {
                        "line": 10,
                        "column": 12
                      },
                      "end": {
                        "line": 10,
                        "column": 17
                      }
                    }
                  }
                ],
                "body": {
                  "type": "BlockStatement",
                  "body": [
                    {
                      "type": "VariableDeclaration",
                      "declarations": [
                        {
                          "type": "VariableDeclarator",
                          "id": {
                            "type": "Identifier",
                            "name": "len",
                            "range": [
                              278,
                              281
                            ],
                            "loc": {
                              "start": {
                                "line": 11,
                                "column": 10
                              },
                              "end": {
                                "line": 11,
                                "column": 13
                              }
                            }
                          },
                          "init": {
                            "type": "CallExpression",
                            "callee": {
                              "type": "MemberExpression",
                              "computed": false,
                              "object": {
                                "type": "Identifier",
                                "name": "Math",
                                "range": [
                                  284,
                                  288
                                ],
                                "loc": {
                                  "start": {
                                    "line": 11,
                                    "column": 16
                                  },
                                  "end": {
                                    "line": 11,
                                    "column": 20
                                  }
                                }
                              },
                              "property": {
                                "type": "Identifier",
                                "name": "max",
                                "range": [
                                  289,
                                  292
                                ],
                                "loc": {
                                  "start": {
                                    "line": 11,
                                    "column": 21
                                  },
                                  "end": {
                                    "line": 11,
                                    "column": 24
                                  }
                                }
                              },
                              "range": [
                                284,
                                292
                              ],
                              "loc": {
                                "start": {
                                  "line": 11,
                                  "column": 16
                                },
                                "end": {
                                  "line": 11,
                                  "column": 24
                                }
                              }
                            },
                            "arguments": [
                              {
                                "type": "Literal",
                                "value": 1,
                                "raw": "1",
                                "range": [
                                  293,
                                  294
                                ],
                                "loc": {
                                  "start": {
                                    "line": 11,
                                    "column": 25
                                  },
                                  "end": {
                                    "line": 11,
                                    "column": 26
                                  }
                                }
                              },
                              {
                                "type": "BinaryExpression",
                                "operator": "-",
                                "left": {
                                  "type": "MemberExpression",
                                  "computed": false,
                                  "object": {
                                    "type": "MemberExpression",
                                    "computed": false,
                                    "object": {
                                      "type": "Identifier",
                                      "name": "state",
                                      "range": [
                                        296,
                                        301
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 11,
                                          "column": 28
                                        },
                                        "end": {
                                          "line": 11,
                                          "column": 33
                                        }
                                      }
                                    },
                                    "property": {
                                      "type": "Identifier",
                                      "name": "values",
                                      "range": [
                                        302,
                                        308
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 11,
                                          "column": 34
                                        },
                                        "end": {
                                          "line": 11,
                                          "column": 40
                                        }
                                      }
                                    },
                                    "range": [
                                      296,
                                      308
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 11,
                                        "column": 28
                                      },
                                      "end": {
                                        "line": 11,
                                        "column": 40
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "length",
                                    "range": [
                                      309,
                                      315
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 11,
                                        "column": 41
                                      },
                                      "end": {
                                        "line": 11,
                                        "column": 47
                                      }
                                    }
                                  },
                                  "range": [
                                    296,
                                    315
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 11,
                                      "column": 28
                                    },
                                    "end": {
                                      "line": 11,
                                      "column": 47
                                    }
                                  }
                                },
                                "right": {
                                  "type": "Literal",
                                  "value": 1,
                                  "raw": "1",
                                  "range": [
                                    318,
                                    319
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 11,
                                      "column": 50
                                    },
                                    "end": {
                                      "line": 11,
                                      "column": 51
                                    }
                                  }
                                },
                                "range": [
                                  296,
                                  319
                                ],
                                "loc": {
                                  "start": {
                                    "line": 11,
                                    "column": 28
                                  },
                                  "end": {
                                    "line": 11,
                                    "column": 51
                                  }
                                }
                              }
                            ],
                            "range": [
                              284,
                              320
                            ],
                            "loc": {
                              "start": {
                                "line": 11,
                                "column": 16
                              },
                              "end": {
                                "line": 11,
                                "column": 52
                              }
                            }
                          },
                          "range": [
                            278,
                            320
                          ],
                          "loc": {
                            "start": {
                              "line": 11,
                              "column": 10
                            },
                            "end": {
                              "line": 11,
                              "column": 52
                            }
                          }
                        }
                      ],
                      "kind": "const",
                      "range": [
                        272,
                        321
                      ],
                      "loc": {
                        "start": {
                          "line": 11,
                          "column": 4
                        },
                        "end": {
                          "line": 11,
                          "column": 53
                        }
                      }
                    },
                    {
                      "type": "ReturnStatement",
                      "argument": {
                        "type": "BinaryExpression",
                        "operator": "/",
                        "left": {
                          "type": "MemberExpression",
                          "computed": false,
                          "object": {
                            "type": "Identifier",
                            "name": "state",
                            "range": [
                              333,
                              338
                            ],
                            "loc": {
                              "start": {
                                "line": 12,
                                "column": 11
                              },
                              "end": {
                                "line": 12,
                                "column": 16
                              }
                            }
                          },
                          "property": {
                            "type": "Identifier",
                            "name": "sumOfSquaredDeviationsStable",
                            "range": [
                              339,
                              367
                            ],
                            "loc": {
                              "start": {
                                "line": 12,
                                "column": 17
                              },
                              "end": {
                                "line": 12,
                                "column": 45
                              }
                            }
                          },
                          "range": [
                            333,
                            367
                          ],
                          "loc": {
                            "start": {
                              "line": 12,
                              "column": 11
                            },
                            "end": {
                              "line": 12,
                              "column": 45
                            }
                          }
                        },
                        "right": {
                          "type": "Identifier",
                          "name": "len",
                          "range": [
                            370,
                            373
                          ],
                          "loc": {
                            "start": {
                              "line": 12,
                              "column": 48
                            },
                            "end": {
                              "line": 12,
                              "column": 51
                            }
                          }
                        },
                        "range": [
                          333,
                          373
                        ],
                        "loc": {
                          "start": {
                            "line": 12,
                            "column": 11
                          },
                          "end": {
                            "line": 12,
                            "column": 51
                          }
                        }
                      },
                      "range": [
                        326,
                        374
                      ],
                      "loc": {
                        "start": {
                          "line": 12,
                          "column": 4
                        },
                        "end": {
                          "line": 12,
                          "column": 52
                        }
                      }
                    }
                  ],
                  "range": [
                    266,
                    378
                  ],
                  "loc": {
                    "start": {
                      "line": 10,
                      "column": 19
                    },
                    "end": {
                      "line": 13,
                      "column": 3
                    }
                  }
                },
                "generator": false,
                "expression": false,
                "range": [
                  258,
                  378
                ],
                "loc": {
                  "start": {
                    "line": 10,
                    "column": 11
                  },
                  "end": {
                    "line": 13,
                    "column": 3
                  }
                }
              },
              "kind": "method",
              "computed": false,
              "range": [
                249,
                378
              ],
              "loc": {
                "start": {
                  "line": 10,
                  "column": 2
                },
                "end": {
                  "line": 13,
                  "column": 3
                }
              },
              "static": false
            }
          ],
          "range": [
            147,
            380
          ],
          "loc": {
            "start": {
              "line": 6,
              "column": 54
            },
            "end": {
              "line": 14,
              "column": 1
            }
          }
        },
        "range": [
          108,
          380
        ],
        "loc": {
          "start": {
            "line": 6,
            "column": 15
          },
          "end": {
            "line": 14,
            "column": 1
          }
        },
        "leadingComments": [
          {
            "type": "Block",
            "value": "*\n * A collector that captures `varianceStable`\n ",
            "range": [
              39,
              92
            ],
            "loc": {
              "start": {
                "line": 3,
                "column": 0
              },
              "end": {
                "line": 5,
                "column": 3
              }
            }
          }
        ],
        "trailingComments": []
      },
      "range": [
        93,
        380
      ],
      "loc": {
        "start": {
          "line": 6,
          "column": 0
        },
        "end": {
          "line": 14,
          "column": 1
        }
      },
      "leadingComments": [
        {
          "type": "Block",
          "value": "*\n * A collector that captures `varianceStable`\n ",
          "range": [
            39,
            92
          ],
          "loc": {
            "start": {
              "line": 3,
              "column": 0
            },
            "end": {
              "line": 5,
              "column": 3
            }
          }
        }
      ]
    }
  ],
  "sourceType": "module",
  "range": [
    0,
    380
  ],
  "loc": {
    "start": {
      "line": 1,
      "column": 0
    },
    "end": {
      "line": 14,
      "column": 1
    }
  },
  "comments": [
    {
      "type": "Block",
      "value": "*\n * A collector that captures `varianceStable`\n ",
      "range": [
        39,
        92
      ],
      "loc": {
        "start": {
          "line": 3,
          "column": 0
        },
        "end": {
          "line": 5,
          "column": 3
        }
      }
    }
  ]
}