<commit_before>import Moment from "moment";
import "moment-duration-format";
import React from "react";

import ListeningView from "../listening_view.js";

class TransmissionDelayReadout extends ListeningView {
  componentDidMount() {
    super.componentDidMount();

    window.setInterval(() => {this.forceUpdate();}, 1000);
  }

  render() {
    const unixTime = this.state.data.length > 0 ? this.state.data[0].t : 0;
    const time = Moment.unix(unixTime).utc();
    const now = Moment().utc();
    const delta = now.diff(time, "milliseconds");
    const rangeAlarm = Math.abs(delta) > 30000;
    const formatted = Moment.duration(delta, "milliseconds").format("HH:mm:ss", { trim: false });<commit_msg>Remove crossfilter from microcharts, fix atmo means, and clarify ground time label.<commit_after>import Moment from "moment";
import "moment-duration-format";
import React from "react";

import ListeningView from "../listening_view.js";

class TransmissionDelayReadout extends ListeningView {
  componentDidMount() {
    super.componentDidMount();

    window.setInterval(() => {this.forceUpdate();}, 1000);
  }

  render() {
    const unixTime = this.state.data ? this.state.data.t : 0;
    const time = Moment.unix(unixTime).utc();
    const now = Moment().utc();
    const delta = now.diff(time, "milliseconds");
    const rangeAlarm = Math.abs(delta) > 30000;
    const formatted = Moment.duration(delta, "milliseconds").format("HH:mm:ss", { trim: false });
{'fraction_non_alphanumeric': 0.1480218281036835, 'fraction_numerical': 0.015006821282401092, 'mean_word_length': 4.433333333333334, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2269794', 'n_tokens_mistral': 474, 'n_tokens_neox': 436, 'n_words': 110}