diff --git a/chat/UserView.vue b/chat/UserView.vue index 5210851..d6366df 100644 --- a/chat/UserView.vue +++ b/chat/UserView.vue @@ -72,7 +72,7 @@ export function getStatusClasses( const cache = core.cache.profileCache.getSync(character.name); if (cache) { - if ((cache.match.searchScore > kinkMatchWeights.unicornThreshold) && (cache.match.matchScore === Scoring.MATCH)) { + if ((cache.match.searchScore >= kinkMatchWeights.unicornThreshold) && (cache.match.matchScore === Scoring.MATCH)) { matchClass = 'match-found unicorn'; matchScore = 'unicorn'; } else { diff --git a/learn/matcher-types.ts b/learn/matcher-types.ts index f3e4496..234d5e8 100644 --- a/learn/matcher-types.ts +++ b/learn/matcher-types.ts @@ -149,7 +149,7 @@ export const postLengthPreferenceScoreMapping = { [PostLengthPreference.MultiParagraph_14_25]: Scoring.MATCH, [PostLengthPreference.StrongParagraph_10_14]: Scoring.MATCH, [PostLengthPreference.Paragraph_7_10]: Scoring.MATCH, - [PostLengthPreference.SemiParagraph_4_7]: Scoring.WEAK_MISMATCH, + [PostLengthPreference.SemiParagraph_4_7]: Scoring.WEAK_MATCH, [PostLengthPreference.Short_2_4]: Scoring.MISMATCH, [PostLengthPreference.VeryShort_1_2]: Scoring.MISMATCH }, @@ -158,7 +158,7 @@ export const postLengthPreferenceScoreMapping = { [PostLengthPreference.MultiParagraph_14_25]: Scoring.WEAK_MATCH, [PostLengthPreference.StrongParagraph_10_14]: Scoring.MATCH, [PostLengthPreference.Paragraph_7_10]: Scoring.MATCH, - [PostLengthPreference.SemiParagraph_4_7]: Scoring.WEAK_MATCH, + [PostLengthPreference.SemiParagraph_4_7]: Scoring.MATCH, [PostLengthPreference.Short_2_4]: Scoring.MISMATCH, [PostLengthPreference.VeryShort_1_2]: Scoring.MISMATCH }, @@ -166,7 +166,7 @@ export const postLengthPreferenceScoreMapping = { [PostLengthPreference.SemiParagraph_4_7]: { [PostLengthPreference.MultiParagraph_14_25]: Scoring.MISMATCH, [PostLengthPreference.StrongParagraph_10_14]: Scoring.WEAK_MISMATCH, - [PostLengthPreference.Paragraph_7_10]: Scoring.WEAK_MATCH, + [PostLengthPreference.Paragraph_7_10]: Scoring.MATCH, [PostLengthPreference.SemiParagraph_4_7]: Scoring.MATCH, [PostLengthPreference.Short_2_4]: Scoring.MATCH, [PostLengthPreference.VeryShort_1_2]: Scoring.WEAK_MATCH @@ -176,7 +176,7 @@ export const postLengthPreferenceScoreMapping = { [PostLengthPreference.MultiParagraph_14_25]: Scoring.MISMATCH, [PostLengthPreference.StrongParagraph_10_14]: Scoring.MISMATCH, [PostLengthPreference.Paragraph_7_10]: Scoring.WEAK_MISMATCH, - [PostLengthPreference.SemiParagraph_4_7]: Scoring.WEAK_MATCH, + [PostLengthPreference.SemiParagraph_4_7]: Scoring.MATCH, [PostLengthPreference.Short_2_4]: Scoring.MATCH, [PostLengthPreference.VeryShort_1_2]: Scoring.MATCH }, @@ -185,7 +185,7 @@ export const postLengthPreferenceScoreMapping = { [PostLengthPreference.MultiParagraph_14_25]: Scoring.MISMATCH, [PostLengthPreference.StrongParagraph_10_14]: Scoring.MISMATCH, [PostLengthPreference.Paragraph_7_10]: Scoring.MISMATCH, - [PostLengthPreference.SemiParagraph_4_7]: Scoring.WEAK_MATCH, + [PostLengthPreference.SemiParagraph_4_7]: Scoring.WEAK_MISMATCH, [PostLengthPreference.Short_2_4]: Scoring.MATCH, [PostLengthPreference.VeryShort_1_2]: Scoring.MATCH } diff --git a/learn/matcher.ts b/learn/matcher.ts index 6f71d63..0aefb12 100644 --- a/learn/matcher.ts +++ b/learn/matcher.ts @@ -1204,6 +1204,8 @@ export class Matcher { log.debug( 'report.score.search', + match.you.you.name, + match.them.you.name, { you: match.you.you.name, them: match.them.you.name,