<commit_before>
import { NSObject } from '$pirouette/foundation';
import { NSWindow, NSApplicationDelegate, NSApplication, NSButton, NSBezelStyle, NSSlider, NSTextField } from '$pirouette/appkit';
import { outlet } from '$pirouette/objc';

class Track {
    constructor() {
        this.volume = 0;
    }
}

let AppDelegate = NSObject.extendClass("AppDelegate", () => ({

    didFinishLaunching: function () {
        let window = this.window;
        let contentView = window.contentView;

        window.title = "Track Mix";
        window.frame = { x: 335, y: 390, width: 300, height: 480 };

        let button = NSButton.newWithFrame({ x: 107, y: 17, width: 82, height: 32 });
        button.title = "Mute";
        button.bezelStyle = NSBezelStyle.Rounded;
        button.clicked = () => this.mute();

        let slider = NSSlider.newWithFrame({ x:138, y: 62, width: 21, height: 321 });
        slider.minValue = 0;<commit_msg>Adjust the coded TrackMix's window to have the same height as the xib base done.<commit_after>
import { NSObject } from '$pirouette/foundation';
import { NSWindow, NSApplicationDelegate, NSApplication, NSButton, NSBezelStyle, NSSlider, NSTextField } from '$pirouette/appkit';
import { outlet } from '$pirouette/objc';

class Track {
    constructor() {
        this.volume = 0;
    }
}

let AppDelegate = NSObject.extendClass("AppDelegate", () => ({

    didFinishLaunching: function () {
        let window = this.window;
        let contentView = window.contentView;

        window.title = "Track Mix";
        window.frame = { x: 335, y: 390, width: 300, height: 460 };

        let button = NSButton.newWithFrame({ x: 107, y: 17, width: 82, height: 32 });
        button.title = "Mute";
        button.bezelStyle = NSBezelStyle.Rounded;
        button.clicked = () => this.mute();

        let slider = NSSlider.newWithFrame({ x:138, y: 62, width: 21, height: 321 });
        slider.minValue = 0;
{'fraction_non_alphanumeric': 0.13333333333333333, 'fraction_numerical': 0.034108527131782945, 'mean_word_length': 3.0502092050209204, 'pattern_counts': {'":': 0, '<': 3, '<?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': '4211667', 'n_tokens_mistral': 682, 'n_tokens_neox': 592, 'n_words': 165}