<commit_before>using System;
using System.Collections.Generic;
using System.IO;

public class BaseAppContentAssetCustomItems<T> : DataObjects<T> where T : new() {
    private static T current;
    private static volatile BaseAppContentAssetCustomItems<T> instance;
    private static object syncRoot = new Object();

    private string BASE_DATA_KEY = "app-content-asset-custom-item-data";

    public static T BaseCurrent {
        get {
            if (current == null) {
                lock (syncRoot) {
                    if (current == null)
                        current = new T();
                }
            }

            return current;
        }
        set {
            current = value;
        }
    }

    public static BaseAppContentAssetCustomItems<T> BaseInstance {
        get {
            if (instance == null) {
                lock (syncRoot) {
                    if (instance == null)
                        instance = new BaseAppContentAssetCustomItems<T>(true);
                }
            }

            return instance;
        }
        set {
            instance = value;
        }
    }

    public BaseAppContentAssetCustomItems() {
        Reset();
    }

    public BaseAppContentAssetCustomItems(bool loadData) {
        Reset();
        path = "data/" + BASE_DATA_KEY + ".json";
        pathKey = BASE_DATA_KEY;
        LoadData();
    }

    public AppContentAssetCustomItem GetListByCodeAndType(string code, string type) {
        return AppContentAssetCustomItems.Instance.GetAll().Find(
            u => u.code == code && u.type == type);
    }
}

public class AppContentAssetCustomItemProperty : GameDataObject {
    //public List<string> types = new List<string>();
    //public string code = "";

    public virtual List<string> types {
        get {
            return Get<List<string>>(BaseDataObjectKeys.types);
        }
        
        set {
            Set<List<string>>(BaseDataObjectKeys.types, value);<commit_msg>Custom updates.  Team updates.  Data updates. custom item filtering.  game teams etc.<commit_after>using System;
using System.Collections.Generic;
using System.IO;

public class BaseAppContentAssetCustomItems<T> : DataObjects<T> where T : new() {
    private static T current;
    private static volatile BaseAppContentAssetCustomItems<T> instance;
    private static object syncRoot = new Object();

    private string BASE_DATA_KEY = "app-content-asset-custom-item-data";

    public static T BaseCurrent {
        get {
            if (current == null) {
                lock (syncRoot) {
                    if (current == null)
                        current = new T();
                }
            }

            return current;
        }
        set {
            current = value;
        }
    }

    public static BaseAppContentAssetCustomItems<T> BaseInstance {
        get {
            if (instance == null) {
                lock (syncRoot) {
                    if (instance == null)
                        instance = new BaseAppContentAssetCustomItems<T>(true);
                }
            }

            return instance;
        }
        set {
            instance = value;
        }
    }

    public BaseAppContentAssetCustomItems() {
        Reset();
    }

    public BaseAppContentAssetCustomItems(bool loadData) {
        Reset();
        path = "data/" + BASE_DATA_KEY + ".json";
        pathKey = BASE_DATA_KEY;
        LoadData();
    }

    public AppContentAssetCustomItem GetByCodeAndType(string code, string type) {
        return AppContentAssetCustomItems.Instance.GetAll().Find(
            u => u.code == code && u.type == type);
    }
}

public class AppContentAssetCustomItemProperty : GameDataObject {
    //public List<string> types = new List<string>();
    //public string code = "";

    public virtual List<string> types {
        get {
            return Get<List<string>>(BaseDataObjectKeys.types);
        }
        
        set {
            Set<List<string>>(BaseDataObjectKeys.types, value);
{'fraction_non_alphanumeric': 0.09427860696517414, 'fraction_numerical': 0.0, 'mean_word_length': 1.8001392757660166, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 29, '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': '3016242', 'n_tokens_mistral': 1059, 'n_tokens_neox': 1023, 'n_words': 256}