<commit_before>﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Media;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace AlarmApp
{
    public partial class MainForm : Form
    {
        WMPLib.WindowsMediaPlayer wmPlayer;
        Challenge challengeForm;

        public MainForm()
        {
            InitializeComponent();
            soundFileDialog.InitialDirectory = System.Environment.GetFolderPath(Environment.SpecialFolder.MyMusic);
            wmPlayer = new WMPLib.WindowsMediaPlayer();
        }

        private void btn_SetAlarm_Click(object sender, EventArgs e)
        {
            SetAlarm();
        }

        private void btn_BrowseSoundFile_Click(object sender, EventArgs e)
        {
            soundFileDialog.ShowDialog();
        }

        private void btn_BrowseChallengeFile_Click(object sender, EventArgs e)
        {
            challengeFileDialog.ShowDialog();
        }

        private void btn_TryChallenge_Click(object sender, EventArgs e)
        {
            PlaySound();<commit_msg>set challenge file init dir to %USERPROFILE%<commit_after>﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Media;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace AlarmApp
{
    public partial class MainForm : Form
    {
        WMPLib.WindowsMediaPlayer wmPlayer;
        Challenge challengeForm;

        public MainForm()
        {
            InitializeComponent();
            soundFileDialog.InitialDirectory = System.Environment.GetFolderPath(Environment.SpecialFolder.MyMusic);
            challengeFileDialog.InitialDirectory = System.Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
            wmPlayer = new WMPLib.WindowsMediaPlayer();
        }

        private void btn_SetAlarm_Click(object sender, EventArgs e)
        {
            SetAlarm();
        }

        private void btn_BrowseSoundFile_Click(object sender, EventArgs e)
        {
            soundFileDialog.ShowDialog();
        }

        private void btn_BrowseChallengeFile_Click(object sender, EventArgs e)
        {
            challengeFileDialog.ShowDialog();
        }

        private void btn_TryChallenge_Click(object sender, EventArgs e)
        {
            PlaySound();
{'fraction_non_alphanumeric': 0.0735826296743064, 'fraction_numerical': 0.0, 'mean_word_length': 2.6534508076358296, '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': '6112541', 'n_tokens_mistral': 648, 'n_tokens_neox': 641, 'n_words': 141}