<commit_before>//
//  RecordingStore.swift
//  Meet
//
//  Created by <NAME> on 12/1/15.
//  Copyright © 2015 DigiTales. All rights reserved.
//

import Foundation
import SwiftFlow

public class RecordingMainStore: MainStore {

    typealias RecordedActions = [[String : AnyObject]]

    var recordedActions: RecordedActions = []
    var initialState: StateType
    var computedStates: [StateType] = []
    var actionsToReplay: Int?
    let recordingPath: String?

    /// Position of the rewind/replay control from the bottom of the screen
    /// defaults to -100
    public var rewindControlYOffset: CGFloat = -100

    var loadedActions: [Action] = [] {
        didSet {
            stateHistoryView?.statesCount = loadedActions.count
        }
    }

    var stateHistoryView: StateHistorySliderView?<commit_msg>Fix control frame calculation<commit_after>//
//  RecordingStore.swift
//  Meet
//
//  Created by <NAME> on 12/1/15.
//  Copyright © 2015 DigiTales. All rights reserved.
//

import Foundation
import SwiftFlow

public class RecordingMainStore: MainStore {

    typealias RecordedActions = [[String : AnyObject]]

    var recordedActions: RecordedActions = []
    var initialState: StateType
    var computedStates: [StateType] = []
    var actionsToReplay: Int?
    let recordingPath: String?

    /// Position of the rewind/replay control from the bottom of the screen
    /// defaults to 100
    public var rewindControlYOffset: CGFloat = 100

    var loadedActions: [Action] = [] {
        didSet {
            stateHistoryView?.statesCount = loadedActions.count
        }
    }

    var stateHistoryView: StateHistorySliderView?
{'fraction_non_alphanumeric': 0.09101941747572816, 'fraction_numerical': 0.01820388349514563, 'mean_word_length': 2.9075829383886256, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5092697', 'n_tokens_mistral': 494, 'n_tokens_neox': 457, 'n_words': 142}