<commit_before>package edu.oregonstate.mist.locations

import edu.oregonstate.mist.api.jsonapi.ResourceIdentifierObject
import edu.oregonstate.mist.api.jsonapi.ResourceObject
import edu.oregonstate.mist.locations.core.CampusMapLocation
import edu.oregonstate.mist.locations.db.CampusMapDAO
import edu.oregonstate.mist.locations.db.ExtraDataDAO
import edu.oregonstate.mist.locations.db.LibraryDAO
import org.slf4j.Logger
import org.slf4j.LoggerFactory

class MergeUtil {
    LibraryDAO libraryDAO
    ExtraDataDAO extraDataDAO
    CampusMapDAO campusMapDAO
    private static final Logger LOGGER = LoggerFactory.getLogger(MergeUtil.class)

    // Ratio of how many locations are allowed be missing from campus map data
    private static final float MISSING_LOCATIONS_THRESHOLD = 0.85
<commit_msg>Update campus maps threshold<commit_after>package edu.oregonstate.mist.locations

import edu.oregonstate.mist.api.jsonapi.ResourceIdentifierObject
import edu.oregonstate.mist.api.jsonapi.ResourceObject
import edu.oregonstate.mist.locations.core.CampusMapLocation
import edu.oregonstate.mist.locations.db.CampusMapDAO
import edu.oregonstate.mist.locations.db.ExtraDataDAO
import edu.oregonstate.mist.locations.db.LibraryDAO
import org.slf4j.Logger
import org.slf4j.LoggerFactory

class MergeUtil {
    LibraryDAO libraryDAO
    ExtraDataDAO extraDataDAO
    CampusMapDAO campusMapDAO
    private static final Logger LOGGER = LoggerFactory.getLogger(MergeUtil.class)

    // Ratio of how many locations are allowed be missing from campus map data
    private static final float MISSING_LOCATIONS_THRESHOLD = 0.9

{'fraction_non_alphanumeric': 0.062266500622665005, 'fraction_numerical': 0.00560398505603985, 'mean_word_length': 5.376984126984127, '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': '5216601', 'n_tokens_mistral': 533, 'n_tokens_neox': 501, 'n_words': 105}