<commit_before>import {
  EditAudioSource,
  ChangeVolume,
  ToggleAudioEnabled
} from '../actions/audio';
import { AudioSettings } from '../types';
import {
  EDIT_AUDIO_SOURCE,
  CHANGE_VOLUME,
  TOGGLE_AUDIO_ENABLED
} from '../constants';

const initial: AudioSettings = {
  enabled: true,
  volume: 0.5,
  audio1: new Audio(
    'http://k003.kiwi6.com/hotlink/vnu75u0sif/file-sounds-765-tweet.ogg'
  ),
  audio2: new Audio('http://k003.kiwi6.com/hotlink/85iq6xu5ul/coins.ogg')
};

type AudioAction = EditAudioSource | ChangeVolume | ToggleAudioEnabled;

export default (state = initial, action: AudioAction) => {
  let partialState: Partial<AudioSettings> | undefined;<commit_msg>Change default volume to 0.10.<commit_after>import {
  EditAudioSource,
  ChangeVolume,
  ToggleAudioEnabled
} from '../actions/audio';
import { AudioSettings } from '../types';
import {
  EDIT_AUDIO_SOURCE,
  CHANGE_VOLUME,
  TOGGLE_AUDIO_ENABLED
} from '../constants';

const initial: AudioSettings = {
  enabled: true,
  volume: 0.1,
  audio1: new Audio(
    'http://k003.kiwi6.com/hotlink/vnu75u0sif/file-sounds-765-tweet.ogg'
  ),
  audio2: new Audio('http://k003.kiwi6.com/hotlink/85iq6xu5ul/coins.ogg')
};

type AudioAction = EditAudioSource | ChangeVolume | ToggleAudioEnabled;

export default (state = initial, action: AudioAction) => {
  let partialState: Partial<AudioSettings> | undefined;
{'fraction_non_alphanumeric': 0.1328519855595668, 'fraction_numerical': 0.03393501805054152, 'mean_word_length': 4.52191235059761, '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': '336208', 'n_tokens_mistral': 505, 'n_tokens_neox': 481, 'n_words': 93}