<commit_before>import { CompositeDisposable, TextEditor } from "atom";
import React from "react";
import { Provider } from "@nteract/mathjax";
import { mathJaxPath } from "mathjax-electron";
import { reactFactory } from "./../../utils";
import OutputStore from "./../../store/output";
import ResultViewComponent from "./result-view";
import type MarkerStore from "./../../store/markers";
import type Kernel from "./../../kernel";
export default class ResultView {
  disposer: CompositeDisposable;
  marker: atom$Marker;
  outputStore: OutputStore;
  destroy = () => {
    const editor = atom.workspace.getActiveTextEditor();

    if (editor != null) {
      editor.element.focus();
    }

    this.disposer.dispose();
    this.marker.destroy();
  };

  constructor(
    markerStore: MarkerStore,
    kernel: Kernel | null | undefined,<commit_msg>Replace atom$Marker with imported Marker<commit_after>import { CompositeDisposable, TextEditor, Marker } from "atom";
import React from "react";
import { Provider } from "@nteract/mathjax";
import { mathJaxPath } from "mathjax-electron";
import { reactFactory } from "./../../utils";
import OutputStore from "./../../store/output";
import ResultViewComponent from "./result-view";
import type MarkerStore from "./../../store/markers";
import type Kernel from "./../../kernel";
export default class ResultView {
  disposer: CompositeDisposable;
  marker: Marker;
  outputStore: OutputStore;
  destroy = () => {
    const editor = atom.workspace.getActiveTextEditor();

    if (editor != null) {
      editor.element.focus();
    }

    this.disposer.dispose();
    this.marker.destroy();
  };

  constructor(
    markerStore: MarkerStore,
    kernel: Kernel | null | undefined,
{'fraction_non_alphanumeric': 0.15040650406504066, 'fraction_numerical': 0.0, 'mean_word_length': 3.682065217391304, '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': '2539290', 'n_tokens_mistral': 494, 'n_tokens_neox': 479, 'n_words': 136}