<commit_before>import _ from "lodash";
import React from "react";

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

class DecimalReadout extends ListeningView {
  render() {
    let formatted;
    let raw;

    if (typeof this.state.data === "undefined" || this.state.data.length === 0) {
      raw = "-";

    } else {
      if (typeof this.props.quaternionId !== "undefined") {
        raw = this.state.data[0][this.props.eulerAxis];

      } else if (this.state.data.length > 1) {
        raw = _.max(this.state.data, "t").v;

      } else {
        raw = this.state.data[0].v;<commit_msg>Refix decimal readout; wtf git?<commit_after>import _ from "lodash";
import React from "react";

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

class DecimalReadout extends ListeningView {
  render() {
    let formatted;
    let raw;

    if (typeof this.state.data === "undefined" || this.state.data.length === 0) {
      formatted = "-";

    } else {
      if (typeof this.props.quaternionId !== "undefined") {
        raw = this.state.data[0][this.props.eulerAxis];

      } else if (this.state.data.length > 1) {
        raw = _.max(this.state.data, "t").v;

      } else {
        raw = this.state.data[0].v;
{'fraction_non_alphanumeric': 0.15841584158415842, 'fraction_numerical': 0.006600660066006601, 'mean_word_length': 2.68693009118541, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4879780', 'n_tokens_mistral': 413, 'n_tokens_neox': 394, 'n_words': 91}