<commit_before>package org.timepedia.chronoscope.client.axis;

import org.timepedia.chronoscope.client.XYPlot;
import org.timepedia.chronoscope.client.canvas.View;
import org.timepedia.chronoscope.client.render.RangeAxisPanel;
import org.timepedia.chronoscope.client.util.Interval;
import org.timepedia.chronoscope.client.util.MathUtil;
import org.timepedia.exporter.client.Export;
import org.timepedia.exporter.client.ExportPackage;
import org.timepedia.exporter.client.Exportable;

/**
 * A RangeAxis is an ValueAxis that represents values, typically on the y-axis.
 *
 * @gwt.exportPackage chronoscope
 */
@ExportPackage("chronoscope")
public class RangeAxis extends ValueAxis implements Exportable {

  public static final int MAX_DIGITS = 5;

  private class DefaultTickLabelNumberFormatter implements TickLabelNumberFormatter {

    String labelFormat = null;

    public String format(double value) {
      computeLabelFormat(value);
      return view.numberFormat(labelFormat, value);
    }

    private void computeLabelFormat(double label) {
      double scale = getScale();
      scale = Double.isNaN(scale) ? 1 : scale;
<commit_msg>Removed unused input arg 'value' in RangeAxis.computeLabelFormat()<commit_after>package org.timepedia.chronoscope.client.axis;

import org.timepedia.chronoscope.client.XYPlot;
import org.timepedia.chronoscope.client.canvas.View;
import org.timepedia.chronoscope.client.render.RangeAxisPanel;
import org.timepedia.chronoscope.client.util.Interval;
import org.timepedia.chronoscope.client.util.MathUtil;
import org.timepedia.exporter.client.Export;
import org.timepedia.exporter.client.ExportPackage;
import org.timepedia.exporter.client.Exportable;

/**
 * A RangeAxis is an ValueAxis that represents values, typically on the y-axis.
 *
 * @gwt.exportPackage chronoscope
 */
@ExportPackage("chronoscope")
public class RangeAxis extends ValueAxis implements Exportable {

  public static final int MAX_DIGITS = 5;

  private class DefaultTickLabelNumberFormatter implements TickLabelNumberFormatter {

    String labelFormat = null;

    public String format(double value) {
      computeLabelFormat();
      return view.numberFormat(labelFormat, value);
    }

    private void computeLabelFormat() {
      double scale = getScale();
      scale = Double.isNaN(scale) ? 1 : scale;

{'fraction_non_alphanumeric': 0.08993115318416524, 'fraction_numerical': 0.0017211703958691911, 'mean_word_length': 4.976863753213368, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6892160', 'n_tokens_mistral': 691, 'n_tokens_neox': 654, 'n_words': 151}