[PR #189] [MERGED] Support fuzzy matches #270

Closed
opened 2026-02-15 15:55:30 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/RPCS3/discord-bot/pull/189
Author: @13xforever
Created: 1/25/2019
Status: Merged
Merged: 1/25/2019
Merged by: @13xforever

Base: masterHead: vnext


📝 Commits (10+)

  • 95809c7 reduce upload log explanation spam
  • d7bbc04 simplify and unify getting the spam response channel
  • ca0b02e update deps
  • f2d4fed implement fuzzy string comparison for sorting compat results
  • fffd9f6 refine scoring to include acronyms
  • c6b7fd0 use fuzzy matches to answer if the game is playable
  • f465f82 do not search for game status on how?
  • 895e778 implement fuzzy matching for !explain
  • 6a044f0 tweak game title extraction further
  • 95482fd fix gpu detection in multirun logs

📊 Changes

12 files changed (+213 additions, -57 deletions)

View changed files

📝 CompatBot/Commands/CompatList.cs (+19 -10)
📝 CompatBot/Commands/Explain.cs (+57 -29)
📝 CompatBot/Commands/Pr.cs (+1 -1)
📝 CompatBot/CompatBot.csproj (+9 -8)
📝 CompatBot/EventHandlers/IsTheGamePlayableHandler.cs (+6 -5)
📝 CompatBot/EventHandlers/LogParsing/LogParser.LogSections.cs (+5 -1)
📝 CompatBot/EventHandlers/NewBuildsMonitor.cs (+1 -1)
📝 CompatBot/EventHandlers/PostLogHelpHandler.cs (+4 -2)
📝 CompatBot/Utils/CommandContextExtensions.cs (+6 -0)
CompatBot/Utils/CompatApiResultUtils.cs (+39 -0)
📝 CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs (+5 -0)
📝 CompatBot/Utils/StringUtils.cs (+61 -0)

📄 Description

  • fuzzy matches for !explain
  • sort !compat results
  • new and improved issue detections in log parser
  • improvements to reduce bot spam in different scenarios

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/RPCS3/discord-bot/pull/189 **Author:** [@13xforever](https://github.com/13xforever) **Created:** 1/25/2019 **Status:** ✅ Merged **Merged:** 1/25/2019 **Merged by:** [@13xforever](https://github.com/13xforever) **Base:** `master` ← **Head:** `vnext` --- ### 📝 Commits (10+) - [`95809c7`](https://github.com/RPCS3/discord-bot/commit/95809c7c53dd69973277dde3c609eb150c2d77ef) reduce upload log explanation spam - [`d7bbc04`](https://github.com/RPCS3/discord-bot/commit/d7bbc04d41b31634e97dd2af59cd994ab8de29e4) simplify and unify getting the spam response channel - [`ca0b02e`](https://github.com/RPCS3/discord-bot/commit/ca0b02e75f52f0096f78836890a53334a59999e3) update deps - [`f2d4fed`](https://github.com/RPCS3/discord-bot/commit/f2d4fed20b06cb0c61270b74dc9ebba14d27d4af) implement fuzzy string comparison for sorting compat results - [`fffd9f6`](https://github.com/RPCS3/discord-bot/commit/fffd9f631187323c03e3bad1389ba65d78212305) refine scoring to include acronyms - [`c6b7fd0`](https://github.com/RPCS3/discord-bot/commit/c6b7fd0ccfb68f1fc3ed698e1d81741fd254ee20) use fuzzy matches to answer if the game is playable - [`f465f82`](https://github.com/RPCS3/discord-bot/commit/f465f82798e6fab28e1f7197e7fe748e9d1fdd3b) do not search for game status on `how?` - [`895e778`](https://github.com/RPCS3/discord-bot/commit/895e7788d09cdd000bbb2af163bdc3eb42622952) implement fuzzy matching for !explain - [`6a044f0`](https://github.com/RPCS3/discord-bot/commit/6a044f0c88ecc30fe3f441d6d67ddfbe2c628839) tweak game title extraction further - [`95482fd`](https://github.com/RPCS3/discord-bot/commit/95482fd0ee2e640f965fcdaec8bf9c1a385867d4) fix gpu detection in multirun logs ### 📊 Changes **12 files changed** (+213 additions, -57 deletions) <details> <summary>View changed files</summary> 📝 `CompatBot/Commands/CompatList.cs` (+19 -10) 📝 `CompatBot/Commands/Explain.cs` (+57 -29) 📝 `CompatBot/Commands/Pr.cs` (+1 -1) 📝 `CompatBot/CompatBot.csproj` (+9 -8) 📝 `CompatBot/EventHandlers/IsTheGamePlayableHandler.cs` (+6 -5) 📝 `CompatBot/EventHandlers/LogParsing/LogParser.LogSections.cs` (+5 -1) 📝 `CompatBot/EventHandlers/NewBuildsMonitor.cs` (+1 -1) 📝 `CompatBot/EventHandlers/PostLogHelpHandler.cs` (+4 -2) 📝 `CompatBot/Utils/CommandContextExtensions.cs` (+6 -0) ➕ `CompatBot/Utils/CompatApiResultUtils.cs` (+39 -0) 📝 `CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs` (+5 -0) 📝 `CompatBot/Utils/StringUtils.cs` (+61 -0) </details> ### 📄 Description * fuzzy matches for `!explain` * sort `!compat` results * new and improved issue detections in log parser * improvements to reduce bot spam in different scenarios --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 15:55:30 -05:00
yindo closed this issue 2026-02-15 15:55:30 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: RPCS3/discord-bot#270