<commit_before>
import Foundation


public class UserData {
    
//    static var id:String {
//        get {
//            let standart = UserDefaults.standard
//            guard standart.string(forKey: "user_id") != nil else {
//                return ""
//            }
//            return standart.string(forKey: "user_id")!
//        }
//        
//        set {
//            let standart = UserDefaults.standard
//            standart.set(newValue, forKey: "user_id")
//        }
//    }
//    
//    static var isFirstTime:Bool {
//        get {
//            let standart = UserDefaults.standard
//            guard standart.string(forKey: "firstUp") != nil else {
//                return true
//            }
//            return standart.string(forKey: "firstUp") == "1"
//        }
//        
//        set {
//            let standart = UserDefaults.standard
//            standart.set(newValue ? "1" : "0", forKey: "firstUp")
//        }
//    }
    
    public static var url:String? {
        get {
            let standart = UserDefaults.standard
            return standart.string(forKey: "cur_url")
        }
        
        set {
            let standart = UserDefaults.standard
            standart.set(newValue, forKey: "cur_url")
        }<commit_msg>Open access rule for UserData<commit_after>
import Foundation


open class UserData {
    
    public static let standart = UserDefaults.standard
    
//    static var id:String {
//        get {
//            let standart = UserDefaults.standard
//            guard standart.string(forKey: "user_id") != nil else {
//                return ""
//            }
//            return standart.string(forKey: "user_id")!
//        }
//        
//        set {
//            let standart = UserDefaults.standard
//            standart.set(newValue, forKey: "user_id")
//        }
//    }
//    
//    static var isFirstTime:Bool {
//        get {
//            let standart = UserDefaults.standard
//            guard standart.string(forKey: "firstUp") != nil else {
//                return true
//            }
//            return standart.string(forKey: "firstUp") == "1"
//        }
//        
//        set {
//            let standart = UserDefaults.standard
//            standart.set(newValue ? "1" : "0", forKey: "firstUp")
//        }
//    }
    
    public static var url:String? {
        get {
            return standart.string(forKey: "cur_url")
        }
        
        set {
            standart.set(newValue, forKey: "cur_url")
        }
{'fraction_non_alphanumeric': 0.13112164296998421, 'fraction_numerical': 0.002369668246445498, 'mean_word_length': 1.275831087151842, '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': '2117084', 'n_tokens_mistral': 737, 'n_tokens_neox': 718, 'n_words': 151}