<commit_before>import React from 'react'

import Knob from './Knob'

function formatInternalValue(v) {
  if (Math.abs(v) >= 1000) {
    return Knob.formatWithMinimumDigits(0.001*v, 3) + ' kHz';
  } else {
    return Knob.formatWithMinimumDigits(v, 3) + ' Hz';
  }
}

export default function FrequencyKnob(props) {
  return (
    <Knob value={props.value} label={props.label} width={props.width} onChange={props.onChange} formatInternalValue={formatInternalValue} />
  );
}<commit_msg>Fix missing props<commit_after>import React from 'react'

import Knob from './Knob'

function formatInternalValue(v) {
  if (Math.abs(v) >= 1000) {
    return Knob.formatWithMinimumDigits(0.001*v, 3) + ' kHz';
  } else {
    return Knob.formatWithMinimumDigits(v, 3) + ' Hz';
  }
}

export default function FrequencyKnob(props) {
  return (
    <Knob value={props.value} label={props.label} width={props.width} min={props.min} max={props.max} onChange={props.onChange} curve="log" formatInternalValue={formatInternalValue} />
  );
}
{'fraction_non_alphanumeric': 0.15059055118110237, 'fraction_numerical': 0.01968503937007874, 'mean_word_length': 4.778409090909091, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '3690402', 'n_tokens_mistral': 369, 'n_tokens_neox': 343, 'n_words': 71}