<commit_before>//
//  Constants.swift
//  LayoutResearch
//
//  Created by <NAME> on 24.07.17.
//  Copyright © 2017 <NAME>. All rights reserved.
//

import UIKit

struct Const {
    struct Identifiers {
        static let consetReviewStep = "ConsentReviewStep"
        static let eligibilityStep = "EligibilityStep"
        static let eligibilityItemAge = "EligibilityItemAge"
        static let eligibilityItemGender = "EligibilityItemGender"
        static let visualConsentStep = "VisualConsentStep"
        static let layoutSurveyStep = "LayoutSurveyStep"
        static let selectionCell = "SelectionCell"
        static let profileDataCell = "ProfileDataCell"
        static let activityCell = "ActivityCell"
        static let toSelectionSegue = "toSelection"
    }
    struct Interface {
        static let iconInsetDiameterRatio: CGFloat = 3.8
        static let descriptionItemMargin: CGFloat = 50
        static let searchLayoutMargin: CGFloat = 50
        static let introLayoutMargin: CGFloat = 0
        static let shapeCount: Int = 27
        static let graphOffset: Double = 0.2
    }
    struct StudyParameters {
        static let rowCount = 6
        static let columnCount = 4
        static let itemDiameter: CGFloat = 50.0
        static let itemDistance: CGFloat = 10
        static let practiceTrialCount = 3
        static let targetFreqLowCount = 2
        static let targetFreqHighCount = 6
        static let distractorColorLowCount = 2
        static let distractorColorHighCount = 6
        static let colorIdFarApartCondition1 = 5
        static let colorIdFarApartCondition2 = 6
        static let colorIdApartCondition = 2
        static let itemDistanceApartCondition = 1
        static let itemDistanceFurtherApartCondition = 2...3
        static let searchActivityCount = 5
    }
}

enum SettingsString: String {
    case versionOfLastRun
    case isParticipating
    case consentPath
    case searchResultWasUploaded
    case surveyResultWasUploaded
    case participantsEmailWasUploaded
    case lastActivityCompletionDate
    case lastActivityNumber
    case isParticipantGroupAssigned
    case preferredLayout
    case participantGivenName
    case participantFamilyName
    case participantEmail
    case participantAge
    case participantGender<commit_msg>reduce number of activities to 3<commit_after>//
//  Constants.swift
//  LayoutResearch
//
//  Created by <NAME> on 24.07.17.
//  Copyright © 2017 <NAME>. All rights reserved.
//

import UIKit

struct Const {
    struct Identifiers {
        static let consetReviewStep = "ConsentReviewStep"
        static let eligibilityStep = "EligibilityStep"
        static let eligibilityItemAge = "EligibilityItemAge"
        static let eligibilityItemGender = "EligibilityItemGender"
        static let visualConsentStep = "VisualConsentStep"
        static let layoutSurveyStep = "LayoutSurveyStep"
        static let selectionCell = "SelectionCell"
        static let profileDataCell = "ProfileDataCell"
        static let activityCell = "ActivityCell"
        static let toSelectionSegue = "toSelection"
    }
    struct Interface {
        static let iconInsetDiameterRatio: CGFloat = 3.8
        static let descriptionItemMargin: CGFloat = 50
        static let searchLayoutMargin: CGFloat = 50
        static let introLayoutMargin: CGFloat = 0
        static let shapeCount: Int = 27
        static let graphOffset: Double = 0.2
    }
    struct StudyParameters {
        static let rowCount = 6
        static let columnCount = 4
        static let itemDiameter: CGFloat = 50.0
        static let itemDistance: CGFloat = 10
        static let practiceTrialCount = 3
        static let targetFreqLowCount = 2
        static let targetFreqHighCount = 6
        static let distractorColorLowCount = 2
        static let distractorColorHighCount = 6
        static let colorIdFarApartCondition1 = 5
        static let colorIdFarApartCondition2 = 6
        static let colorIdApartCondition = 2
        static let itemDistanceApartCondition = 1
        static let itemDistanceFurtherApartCondition = 2...3
        static let searchActivityCount = 3
    }
}

enum SettingsString: String {
    case versionOfLastRun
    case isParticipating
    case consentPath
    case searchResultWasUploaded
    case surveyResultWasUploaded
    case participantsEmailWasUploaded
    case lastActivityCompletionDate
    case lastActivityNumber
    case isParticipantGroupAssigned
    case preferredLayout
    case participantGivenName
    case participantFamilyName
    case participantEmail
    case participantAge
    case participantGender
{'fraction_non_alphanumeric': 0.04461771713233702, 'fraction_numerical': 0.018410223088585663, 'mean_word_length': 2.8291873963515752, 'pattern_counts': {'":': 0, '<': 7, '<?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': '4713779', 'n_tokens_mistral': 1283, 'n_tokens_neox': 1153, 'n_words': 384}