text
stringlengths
19
585k
label
stringclasses
2 values
category
stringclasses
2 values
language
stringclasses
14 values
repo
stringclasses
932 values
sha
stringlengths
40
40
@@ -477,76 +477,113 @@ public bool ChangeTheme(string theme = null) public void AddDropShadowEffectToCurrentTheme() { - var dict = GetCurrentResourceDictionary(); + // Get current theme's WindowBorderStyle + var theme = _settings.Theme; + var dict = GetThe...
bad
review
csharp
Flow-Launcher/Flow.Launcher
3c8266126268f4e0aa6144cbcb6f331d6412bfb8
diff --git a/Flow.Launcher.Core/Resource/Theme.cs b/Flow.Launcher.Core/Resource/Theme.cs index fb463b4d4c0..a32a59b486e 100644 --- a/Flow.Launcher.Core/Resource/Theme.cs +++ b/Flow.Launcher.Core/Resource/Theme.cs @@ -477,76 +477,114 @@ public bool ChangeTheme(string theme = null) public void AddDropShadowEff...
good
review_fixed
csharp
Flow-Launcher/Flow.Launcher
3c8266126268f4e0aa6144cbcb6f331d6412bfb8
@@ -477,76 +477,113 @@ public bool ChangeTheme(string theme = null) public void AddDropShadowEffectToCurrentTheme() { - var dict = GetCurrentResourceDictionary(); + // Get current theme's WindowBorderStyle + var theme = _settings.Theme; + var dict = GetThe...
bad
review
csharp
Flow-Launcher/Flow.Launcher
3c8266126268f4e0aa6144cbcb6f331d6412bfb8
diff --git a/Flow.Launcher.Core/Resource/Theme.cs b/Flow.Launcher.Core/Resource/Theme.cs index fb463b4d4c0..a32a59b486e 100644 --- a/Flow.Launcher.Core/Resource/Theme.cs +++ b/Flow.Launcher.Core/Resource/Theme.cs @@ -477,76 +477,114 @@ public bool ChangeTheme(string theme = null) public void AddDropShadowEff...
good
review_fixed
csharp
Flow-Launcher/Flow.Launcher
3c8266126268f4e0aa6144cbcb6f331d6412bfb8
@@ -477,76 +477,113 @@ public bool ChangeTheme(string theme = null) public void AddDropShadowEffectToCurrentTheme() { - var dict = GetCurrentResourceDictionary(); + // Get current theme's WindowBorderStyle + var theme = _settings.Theme; + var dict = GetThe...
bad
review
csharp
Flow-Launcher/Flow.Launcher
3c8266126268f4e0aa6144cbcb6f331d6412bfb8
diff --git a/Flow.Launcher.Core/Resource/Theme.cs b/Flow.Launcher.Core/Resource/Theme.cs index fb463b4d4c0..a32a59b486e 100644 --- a/Flow.Launcher.Core/Resource/Theme.cs +++ b/Flow.Launcher.Core/Resource/Theme.cs @@ -477,76 +477,114 @@ public bool ChangeTheme(string theme = null) public void AddDropShadowEff...
good
review_fixed
csharp
Flow-Launcher/Flow.Launcher
3c8266126268f4e0aa6144cbcb6f331d6412bfb8
@@ -477,76 +477,113 @@ public bool ChangeTheme(string theme = null) public void AddDropShadowEffectToCurrentTheme() { - var dict = GetCurrentResourceDictionary(); + // Get current theme's WindowBorderStyle + var theme = _settings.Theme; + var dict = GetThe...
bad
review
csharp
Flow-Launcher/Flow.Launcher
3c8266126268f4e0aa6144cbcb6f331d6412bfb8
diff --git a/Flow.Launcher.Core/Resource/Theme.cs b/Flow.Launcher.Core/Resource/Theme.cs index fb463b4d4c0..a32a59b486e 100644 --- a/Flow.Launcher.Core/Resource/Theme.cs +++ b/Flow.Launcher.Core/Resource/Theme.cs @@ -477,76 +477,114 @@ public bool ChangeTheme(string theme = null) public void AddDropShadowEff...
good
review_fixed
csharp
Flow-Launcher/Flow.Launcher
3c8266126268f4e0aa6144cbcb6f331d6412bfb8
@@ -477,76 +477,113 @@ public bool ChangeTheme(string theme = null) public void AddDropShadowEffectToCurrentTheme() { - var dict = GetCurrentResourceDictionary(); + // Get current theme's WindowBorderStyle + var theme = _settings.Theme; + var dict = GetThe...
bad
review
csharp
Flow-Launcher/Flow.Launcher
3c8266126268f4e0aa6144cbcb6f331d6412bfb8
diff --git a/Flow.Launcher.Core/Resource/Theme.cs b/Flow.Launcher.Core/Resource/Theme.cs index fb463b4d4c0..a32a59b486e 100644 --- a/Flow.Launcher.Core/Resource/Theme.cs +++ b/Flow.Launcher.Core/Resource/Theme.cs @@ -477,76 +477,114 @@ public bool ChangeTheme(string theme = null) public void AddDropShadowEff...
good
review_fixed
csharp
Flow-Launcher/Flow.Launcher
3c8266126268f4e0aa6144cbcb6f331d6412bfb8
@@ -477,76 +477,113 @@ public bool ChangeTheme(string theme = null) public void AddDropShadowEffectToCurrentTheme() { - var dict = GetCurrentResourceDictionary(); + // Get current theme's WindowBorderStyle + var theme = _settings.Theme; + var dict = GetThe...
bad
review
csharp
Flow-Launcher/Flow.Launcher
3c8266126268f4e0aa6144cbcb6f331d6412bfb8
diff --git a/Flow.Launcher.Core/Resource/Theme.cs b/Flow.Launcher.Core/Resource/Theme.cs index fb463b4d4c0..a32a59b486e 100644 --- a/Flow.Launcher.Core/Resource/Theme.cs +++ b/Flow.Launcher.Core/Resource/Theme.cs @@ -477,76 +477,114 @@ public bool ChangeTheme(string theme = null) public void AddDropShadowEff...
good
review_fixed
csharp
Flow-Launcher/Flow.Launcher
3c8266126268f4e0aa6144cbcb6f331d6412bfb8
@@ -477,76 +477,113 @@ public bool ChangeTheme(string theme = null) public void AddDropShadowEffectToCurrentTheme() { - var dict = GetCurrentResourceDictionary(); + // Get current theme's WindowBorderStyle + var theme = _settings.Theme; + var dict = GetThe...
bad
review
csharp
Flow-Launcher/Flow.Launcher
3c8266126268f4e0aa6144cbcb6f331d6412bfb8
diff --git a/Flow.Launcher.Core/Resource/Theme.cs b/Flow.Launcher.Core/Resource/Theme.cs index fb463b4d4c0..a32a59b486e 100644 --- a/Flow.Launcher.Core/Resource/Theme.cs +++ b/Flow.Launcher.Core/Resource/Theme.cs @@ -477,76 +477,114 @@ public bool ChangeTheme(string theme = null) public void AddDropShadowEff...
good
review_fixed
csharp
Flow-Launcher/Flow.Launcher
3c8266126268f4e0aa6144cbcb6f331d6412bfb8
@@ -477,76 +477,114 @@ public bool ChangeTheme(string theme = null) public void AddDropShadowEffectToCurrentTheme() { - var dict = GetCurrentResourceDictionary(); + // Get current theme's WindowBorderStyle + var theme = _settings.Theme; + var dict = GetThe...
bad
review
csharp
Flow-Launcher/Flow.Launcher
3c8266126268f4e0aa6144cbcb6f331d6412bfb8
diff --git a/Flow.Launcher.Core/Resource/Theme.cs b/Flow.Launcher.Core/Resource/Theme.cs index fb463b4d4c0..a32a59b486e 100644 --- a/Flow.Launcher.Core/Resource/Theme.cs +++ b/Flow.Launcher.Core/Resource/Theme.cs @@ -477,76 +477,114 @@ public bool ChangeTheme(string theme = null) public void AddDropShadowEff...
good
review_fixed
csharp
Flow-Launcher/Flow.Launcher
3c8266126268f4e0aa6144cbcb6f331d6412bfb8
@@ -673,13 +673,17 @@ private void SetBlurForWindow(string theme, BackdropTypes backdropType) // If the BackdropType is Mica or MicaAlt, set the windowborderstyle's background to transparent if (backdropType == BackdropTypes.Mica || backdropType == BackdropTypes.MicaAlt) ...
bad
review
csharp
Flow-Launcher/Flow.Launcher
7766d7053da399ec1dabeb752566dd6a86066592
diff --git a/Flow.Launcher.Core/Resource/Theme.cs b/Flow.Launcher.Core/Resource/Theme.cs index c3bb6190f01..4d15857e6fa 100644 --- a/Flow.Launcher.Core/Resource/Theme.cs +++ b/Flow.Launcher.Core/Resource/Theme.cs @@ -673,13 +673,13 @@ private void SetBlurForWindow(string theme, BackdropTypes backdropType) ...
good
review_fixed
csharp
Flow-Launcher/Flow.Launcher
7766d7053da399ec1dabeb752566dd6a86066592
@@ -673,13 +673,17 @@ private void SetBlurForWindow(string theme, BackdropTypes backdropType) // If the BackdropType is Mica or MicaAlt, set the windowborderstyle's background to transparent if (backdropType == BackdropTypes.Mica || backdropType == BackdropTypes.MicaAlt) ...
bad
review
csharp
Flow-Launcher/Flow.Launcher
7766d7053da399ec1dabeb752566dd6a86066592
diff --git a/Flow.Launcher.Core/Resource/Theme.cs b/Flow.Launcher.Core/Resource/Theme.cs index c3bb6190f01..4d15857e6fa 100644 --- a/Flow.Launcher.Core/Resource/Theme.cs +++ b/Flow.Launcher.Core/Resource/Theme.cs @@ -673,13 +673,13 @@ private void SetBlurForWindow(string theme, BackdropTypes backdropType) ...
good
review_fixed
csharp
Flow-Launcher/Flow.Launcher
7766d7053da399ec1dabeb752566dd6a86066592
@@ -673,13 +673,13 @@ private void SetBlurForWindow(string theme, BackdropTypes backdropType) // If the BackdropType is Mica or MicaAlt, set the windowborderstyle's background to transparent if (backdropType == BackdropTypes.Mica || backdropType == BackdropTypes.MicaAlt) ...
bad
review
csharp
Flow-Launcher/Flow.Launcher
7766d7053da399ec1dabeb752566dd6a86066592
diff --git a/Flow.Launcher.Core/Resource/Theme.cs b/Flow.Launcher.Core/Resource/Theme.cs index c3bb6190f01..4d15857e6fa 100644 --- a/Flow.Launcher.Core/Resource/Theme.cs +++ b/Flow.Launcher.Core/Resource/Theme.cs @@ -673,13 +673,13 @@ private void SetBlurForWindow(string theme, BackdropTypes backdropType) ...
good
review_fixed
csharp
Flow-Launcher/Flow.Launcher
7766d7053da399ec1dabeb752566dd6a86066592
@@ -706,30 +706,27 @@ private void SetBlurForWindow(string theme, BackdropTypes backdropType) private void AutoDropShadow(bool useDropShadowEffect) { - SetWindowCornerPreference("Default"); - RemoveDropShadowEffectFromCurrentTheme(); if (useDropShadowEffect) ...
bad
review
csharp
Flow-Launcher/Flow.Launcher
b5d372ed4b9369019674551330920e71ab92ff8b
diff --git a/Flow.Launcher.Core/Resource/Theme.cs b/Flow.Launcher.Core/Resource/Theme.cs index fb463b4d4c0..bcb7f268515 100644 --- a/Flow.Launcher.Core/Resource/Theme.cs +++ b/Flow.Launcher.Core/Resource/Theme.cs @@ -706,30 +706,27 @@ private void SetBlurForWindow(string theme, BackdropTypes backdropType) pr...
good
review_fixed
csharp
Flow-Launcher/Flow.Launcher
b5d372ed4b9369019674551330920e71ab92ff8b
@@ -432,7 +427,8 @@ public bool ChangeTheme(string theme = null) } // Check if blur is enabled - BlurEnabled = Win32Helper.IsBackdropSupported() && IsThemeBlurEnabled(resourceDict); + var dict = GetThemeResourceDictionary(theme); + BlurEna...
bad
review
csharp
Flow-Launcher/Flow.Launcher
c0134d56921f994f3578edaf03dfc10c9437d47a
diff --git a/Flow.Launcher.Core/Resource/Theme.cs b/Flow.Launcher.Core/Resource/Theme.cs index fb463b4d4c0..dd5762a08fe 100644 --- a/Flow.Launcher.Core/Resource/Theme.cs +++ b/Flow.Launcher.Core/Resource/Theme.cs @@ -418,11 +418,6 @@ public bool ChangeTheme(string theme = null) if (string.IsNullOrEmpty...
good
review_fixed
csharp
Flow-Launcher/Flow.Launcher
c0134d56921f994f3578edaf03dfc10c9437d47a
@@ -432,7 +427,8 @@ public bool ChangeTheme(string theme = null) } // Check if blur is enabled - BlurEnabled = Win32Helper.IsBackdropSupported() && IsThemeBlurEnabled(resourceDict); + var dict = GetThemeResourceDictionary(theme); + BlurEna...
bad
review
csharp
Flow-Launcher/Flow.Launcher
c0134d56921f994f3578edaf03dfc10c9437d47a
diff --git a/Flow.Launcher.Core/Resource/Theme.cs b/Flow.Launcher.Core/Resource/Theme.cs index fb463b4d4c0..dd5762a08fe 100644 --- a/Flow.Launcher.Core/Resource/Theme.cs +++ b/Flow.Launcher.Core/Resource/Theme.cs @@ -418,11 +418,6 @@ public bool ChangeTheme(string theme = null) if (string.IsNullOrEmpty...
good
review_fixed
csharp
Flow-Launcher/Flow.Launcher
c0134d56921f994f3578edaf03dfc10c9437d47a
@@ -432,7 +427,8 @@ public bool ChangeTheme(string theme = null) } // Check if blur is enabled - BlurEnabled = Win32Helper.IsBackdropSupported() && IsThemeBlurEnabled(resourceDict); + var dict = GetThemeResourceDictionary(theme); + BlurEna...
bad
review
csharp
Flow-Launcher/Flow.Launcher
c0134d56921f994f3578edaf03dfc10c9437d47a
diff --git a/Flow.Launcher.Core/Resource/Theme.cs b/Flow.Launcher.Core/Resource/Theme.cs index fb463b4d4c0..dd5762a08fe 100644 --- a/Flow.Launcher.Core/Resource/Theme.cs +++ b/Flow.Launcher.Core/Resource/Theme.cs @@ -418,11 +418,6 @@ public bool ChangeTheme(string theme = null) if (string.IsNullOrEmpty...
good
review_fixed
csharp
Flow-Launcher/Flow.Launcher
c0134d56921f994f3578edaf03dfc10c9437d47a
@@ -208,5 +209,55 @@ public static async Task IncrementRunCounterAsync(string fileOrFolder) } finally { _semaphore.Release(); } } + + /// <summary> + /// Convert the highlighted string from Everything API to a list of highlight indexes for our Result. + /// </summ...
bad
review
csharp
Flow-Launcher/Flow.Launcher
205f433f5359e67375d2a6a0a9e6124477908254
diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Search/Everything/EverythingAPI.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Search/Everything/EverythingAPI.cs index a4e959dd9c4..a786284699b 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Search/Everything/EverythingAPI.cs +++ b/Plugins/Flow.Launcher.Plugin.Explore...
good
review_fixed
csharp
Flow-Launcher/Flow.Launcher
205f433f5359e67375d2a6a0a9e6124477908254
@@ -208,5 +209,55 @@ public static async Task IncrementRunCounterAsync(string fileOrFolder) } finally { _semaphore.Release(); } } + + /// <summary> + /// Convert the highlighted string from Everything API to a list of highlight indexes for our Result. + /// </summ...
bad
review
csharp
Flow-Launcher/Flow.Launcher
205f433f5359e67375d2a6a0a9e6124477908254
diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Search/Everything/EverythingAPI.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Search/Everything/EverythingAPI.cs index a4e959dd9c4..a786284699b 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Search/Everything/EverythingAPI.cs +++ b/Plugins/Flow.Launcher.Plugin.Explore...
good
review_fixed
csharp
Flow-Launcher/Flow.Launcher
205f433f5359e67375d2a6a0a9e6124477908254
@@ -1,11 +1,18 @@ +using System.Collections.Generic; + namespace Flow.Launcher.Plugin.Explorer.Search { public record struct SearchResult { + public SearchResult() + { + } +
bad
review
csharp
Flow-Launcher/Flow.Launcher
205f433f5359e67375d2a6a0a9e6124477908254
diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Search/SearchResult.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Search/SearchResult.cs index 3cd97df8277..e2ff216cafd 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Search/SearchResult.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Search/SearchResult.cs @@ -1,11 +1...
good
review_fixed
csharp
Flow-Launcher/Flow.Launcher
205f433f5359e67375d2a6a0a9e6124477908254
@@ -208,5 +209,55 @@ public static async Task IncrementRunCounterAsync(string fileOrFolder) } finally { _semaphore.Release(); } } + + /// <summary> + /// Convert the highlighted string from Everything API to a list of highlight indexes for our Result. + /// </summ...
bad
review
csharp
Flow-Launcher/Flow.Launcher
205f433f5359e67375d2a6a0a9e6124477908254
diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Search/Everything/EverythingAPI.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Search/Everything/EverythingAPI.cs index a4e959dd9c4..a786284699b 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Search/Everything/EverythingAPI.cs +++ b/Plugins/Flow.Launcher.Plugin.Explore...
good
review_fixed
csharp
Flow-Launcher/Flow.Launcher
205f433f5359e67375d2a6a0a9e6124477908254
@@ -92,15 +93,15 @@ internal static void ShowNativeContextMenu(string path, ResultType type) } } - internal static Result CreateFolderResult(string title, string subtitle, string path, Query query, int score = 0, bool windowsIndexed = false) + internal static Result CreateFolderRes...
bad
review
csharp
Flow-Launcher/Flow.Launcher
205f433f5359e67375d2a6a0a9e6124477908254
diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Search/ResultManager.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Search/ResultManager.cs index 7bfe30a287a..6c33f5ffb63 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Search/ResultManager.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Search/ResultManager.cs @@ -106...
good
review_fixed
csharp
Flow-Launcher/Flow.Launcher
205f433f5359e67375d2a6a0a9e6124477908254
@@ -282,7 +283,7 @@ internal static Result CreateOpenCurrentFolderResult(string path, string actionK }; } - internal static Result CreateFileResult(string filePath, Query query, int score = 0, bool windowsIndexed = false) + internal static Result CreateFileResult(string filePath, Q...
bad
review
csharp
Flow-Launcher/Flow.Launcher
205f433f5359e67375d2a6a0a9e6124477908254
diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Search/ResultManager.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Search/ResultManager.cs index 7bfe30a287a..6c33f5ffb63 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Search/ResultManager.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Search/ResultManager.cs @@ -106...
good
review_fixed
csharp
Flow-Launcher/Flow.Launcher
205f433f5359e67375d2a6a0a9e6124477908254
@@ -1,11 +1,18 @@ +using System.Collections.Generic; + namespace Flow.Launcher.Plugin.Explorer.Search { public record struct SearchResult { + public SearchResult() + { + } + public string FullPath { get; init; } public ResultType Type { get; init; } public in...
bad
review
csharp
Flow-Launcher/Flow.Launcher
205f433f5359e67375d2a6a0a9e6124477908254
diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Search/SearchResult.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Search/SearchResult.cs index 3cd97df8277..e2ff216cafd 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Search/SearchResult.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Search/SearchResult.cs @@ -1,11 +1...
good
review_fixed
csharp
Flow-Launcher/Flow.Launcher
205f433f5359e67375d2a6a0a9e6124477908254
@@ -157,7 +157,8 @@ public static async IAsyncEnumerable<SearchResult> SearchAsync(EverythingSearchO Type = EverythingApiDllImport.Everything_IsFolderResult(idx) ? ResultType.Folder : EverythingApiDllImport.Everything_IsFileResult(idx) ? ResultType.File : ...
bad
review
csharp
Flow-Launcher/Flow.Launcher
205f433f5359e67375d2a6a0a9e6124477908254
diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Search/Everything/EverythingAPI.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Search/Everything/EverythingAPI.cs index a4e959dd9c4..a786284699b 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Search/Everything/EverythingAPI.cs +++ b/Plugins/Flow.Launcher.Plugin.Explore...
good
review_fixed
csharp
Flow-Launcher/Flow.Launcher
205f433f5359e67375d2a6a0a9e6124477908254
@@ -157,7 +157,8 @@ public static async IAsyncEnumerable<SearchResult> SearchAsync(EverythingSearchO Type = EverythingApiDllImport.Everything_IsFolderResult(idx) ? ResultType.Folder : EverythingApiDllImport.Everything_IsFileResult(idx) ? ResultType.File : ...
bad
review
csharp
Flow-Launcher/Flow.Launcher
205f433f5359e67375d2a6a0a9e6124477908254
diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Search/Everything/EverythingAPI.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Search/Everything/EverythingAPI.cs index a4e959dd9c4..a786284699b 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Search/Everything/EverythingAPI.cs +++ b/Plugins/Flow.Launcher.Plugin.Explore...
good
review_fixed
csharp
Flow-Launcher/Flow.Launcher
205f433f5359e67375d2a6a0a9e6124477908254
@@ -147,7 +147,7 @@ public static void Load(string directory) [DllImport(DLL)] public static extern bool Everything_GetResultDateRecentlyChanged(uint nIndex, out long lpFileTime); [DllImport(DLL, CharSet = CharSet.Unicode)] - public static extern IntPtr Everything_GetResultHighlightedF...
bad
review
csharp
Flow-Launcher/Flow.Launcher
205f433f5359e67375d2a6a0a9e6124477908254
diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Search/Everything/EverythingApiDllImport.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Search/Everything/EverythingApiDllImport.cs index 70c02cd87aa..344c1a42c16 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Search/Everything/EverythingApiDllImport.cs +++ b/Plugins/F...
good
review_fixed
csharp
Flow-Launcher/Flow.Launcher
205f433f5359e67375d2a6a0a9e6124477908254
@@ -92,15 +93,15 @@ internal static void ShowNativeContextMenu(string path, ResultType type) } } - internal static Result CreateFolderResult(string title, string subtitle, string path, Query query, int score = 0, bool windowsIndexed = false) + internal static Result CreateFolderRes...
bad
review
csharp
Flow-Launcher/Flow.Launcher
205f433f5359e67375d2a6a0a9e6124477908254
diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Search/ResultManager.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Search/ResultManager.cs index 7bfe30a287a..6c33f5ffb63 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Search/ResultManager.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Search/ResultManager.cs @@ -106...
good
review_fixed
csharp
Flow-Launcher/Flow.Launcher
205f433f5359e67375d2a6a0a9e6124477908254
@@ -82,7 +82,7 @@ VerticalAlignment="Center" DataObject.Pasting="TextBox_Pasting" PreviewKeyDown="TxtCurrentActionKeyword_OnKeyDown" - Text="{Binding ActionKeyword}" /> + Text="{Binding ActionKeyword...
bad
review
Flow-Launcher/Flow.Launcher
531b45210ae2c5d8b68db3e0770b0fa8d00f14df
diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Views/ActionKeywordSetting.xaml b/Plugins/Flow.Launcher.Plugin.Explorer/Views/ActionKeywordSetting.xaml index ae0f91d93a8..10a701061d5 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Views/ActionKeywordSetting.xaml +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Views/A...
good
review_fixed
Flow-Launcher/Flow.Launcher
531b45210ae2c5d8b68db3e0770b0fa8d00f14df
@@ -38,9 +38,20 @@ private static string GetIssuesUrl(string website) private void SetException(Exception exception) { - var path = DataLocation.VersionLogDirectory; - var directory = new DirectoryInfo(path); - var log = directory.GetFiles().OrderByDescending(f => f....
bad
review
csharp
Flow-Launcher/Flow.Launcher
b1d98f60dd1d4c60bc848a8131e787244a8e0cfc
diff --git a/Flow.Launcher/ReportWindow.xaml.cs b/Flow.Launcher/ReportWindow.xaml.cs index bb0ce0073cf..b2c95cbe2e8 100644 --- a/Flow.Launcher/ReportWindow.xaml.cs +++ b/Flow.Launcher/ReportWindow.xaml.cs @@ -38,9 +38,20 @@ private static string GetIssuesUrl(string website) private void SetException(Exceptio...
good
review_fixed
csharp
Flow-Launcher/Flow.Launcher
b1d98f60dd1d4c60bc848a8131e787244a8e0cfc
@@ -535,9 +535,6 @@ public interface IPublicAPI /// <summary> /// Get the plugin manifest. /// </summary> - /// <remarks> - /// If Flow cannot get manifest data, this could be null - /// </remarks> /// <returns></returns> public IReadOnlyList<UserPlugin>...
bad
review
csharp
Flow-Launcher/Flow.Launcher
015c32ed9c113b714307a72a36ca0a9b7df3506b
diff --git a/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs b/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs index 93844159f75..0af37d9d59b 100644 --- a/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs +++ b/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs @@ -533,12 +533,12 @@ public interface IPublicAPI public Task<...
good
review_fixed
csharp
Flow-Launcher/Flow.Launcher
015c32ed9c113b714307a72a36ca0a9b7df3506b
@@ -533,12 +533,12 @@ public interface IPublicAPI public Task<bool> UpdatePluginManifestAsync(bool usePrimaryUrlOnly = false, CancellationToken token = default); /// <summary> - /// Get the plugin manifest. + /// Get the current plugin manifest entries known to Flow Launcher. ...
bad
review
csharp
Flow-Launcher/Flow.Launcher
015c32ed9c113b714307a72a36ca0a9b7df3506b
diff --git a/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs b/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs index 93844159f75..0af37d9d59b 100644 --- a/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs +++ b/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs @@ -533,12 +533,12 @@ public interface IPublicAPI public Task<...
good
review_fixed
csharp
Flow-Launcher/Flow.Launcher
015c32ed9c113b714307a72a36ca0a9b7df3506b
@@ -2,7 +2,7 @@ <PropertyGroup> <OutputType>Exe</OutputType> - <TargetFramework>net8.0</TargetFramework> + <TargetFramework>net10.0</TargetFramework>
bad
review
FluentValidation/FluentValidation
c93d2009287c303fa725289d125613c995f730d9
diff --git a/src/FluentValidation.Tests.Benchmarks/FluentValidation.Tests.Benchmarks.csproj b/src/FluentValidation.Tests.Benchmarks/FluentValidation.Tests.Benchmarks.csproj index e56ad720d..63fcf00ac 100644 --- a/src/FluentValidation.Tests.Benchmarks/FluentValidation.Tests.Benchmarks.csproj +++ b/src/FluentValidation.T...
good
review_fixed
FluentValidation/FluentValidation
c93d2009287c303fa725289d125613c995f730d9
@@ -1,6 +1,6 @@ <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> - <TargetFrameworks>net8.0;net9.0</TargetFrameworks> + <TargetFrameworks>net10.0</TargetFrameworks>
bad
review
FluentValidation/FluentValidation
c93d2009287c303fa725289d125613c995f730d9
diff --git a/src/FluentValidation.Tests/FluentValidation.Tests.csproj b/src/FluentValidation.Tests/FluentValidation.Tests.csproj index 43f9f1e8a..6ae063b82 100644 --- a/src/FluentValidation.Tests/FluentValidation.Tests.csproj +++ b/src/FluentValidation.Tests/FluentValidation.Tests.csproj @@ -1,6 +1,6 @@ <Project Sdk=...
good
review_fixed
FluentValidation/FluentValidation
c93d2009287c303fa725289d125613c995f730d9
@@ -30,8 +30,7 @@ jobs: uses: actions/setup-dotnet@v2 with: dotnet-version: | - 9.0.x - 8.0.x + 10.0.x
bad
review
FluentValidation/FluentValidation
c93d2009287c303fa725289d125613c995f730d9
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 114977eab..3c9346040 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,6 +30,7 @@ jobs: uses: actions/setup-dotnet@v2 with: dotnet-version: | + 10.0.x 9.0.x 8.0.x ...
good
review_fixed
FluentValidation/FluentValidation
c93d2009287c303fa725289d125613c995f730d9
@@ -1,6 +1,6 @@ { "sdk": { - "version": "9.0.0", + "version": "10.0.0",
bad
review
FluentValidation/FluentValidation
c93d2009287c303fa725289d125613c995f730d9
diff --git a/global.json b/global.json index 43559321b..7ba72713c 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "9.0.0", + "version": "10.0.0", "rollForward": "latestFeature", "allowPrerelease": true }
good
review_fixed
FluentValidation/FluentValidation
c93d2009287c303fa725289d125613c995f730d9
@@ -397,6 +397,20 @@ public static IRuleBuilderInitialCollection<T, TCollectionElement> Where<T, TCol return rule; } + /// <summary> + /// Applies an asynchronous filter to a collection property. + /// </summary> + /// <param name="rule">The current rule</param> + /// <param name="predicate">The condition...
bad
review
csharp
FluentValidation/FluentValidation
c57ec479a5c83c86fc1d45070fa4de7b5f497f0e
diff --git a/src/FluentValidation/DefaultValidatorOptions.cs b/src/FluentValidation/DefaultValidatorOptions.cs index 118b3a20e..3d185ed27 100644 --- a/src/FluentValidation/DefaultValidatorOptions.cs +++ b/src/FluentValidation/DefaultValidatorOptions.cs @@ -397,6 +397,20 @@ public static IRuleBuilderInitialCollection<T,...
good
review_fixed
csharp
FluentValidation/FluentValidation
c57ec479a5c83c86fc1d45070fa4de7b5f497f0e
@@ -108,64 +108,6 @@ async def test_async_base_llm(): # assert resp == default_resp_cont -@pytest.mark.parametrize("compress_type", list(CompressType)) -def test_compress_messages_no_effect(compress_type): - base_llm = MockBaseLLM() - messages = [ - {"role": "system", "content": "first system msg"...
bad
review
python
FoundationAgents/MetaGPT
cfb578fe5a234519cfa478aa144456338683d77c
diff --git a/tests/metagpt/provider/test_base_llm.py b/tests/metagpt/provider/test_base_llm.py index 62083a769e..d1a4bd66dc 100644 --- a/tests/metagpt/provider/test_base_llm.py +++ b/tests/metagpt/provider/test_base_llm.py @@ -175,7 +175,7 @@ def test_format_msg(mocker): def test_format_msg_w_images(mocker): ba...
good
review_fixed
python
FoundationAgents/MetaGPT
cfb578fe5a234519cfa478aa144456338683d77c
@@ -4,6 +4,7 @@ llm: api_key: "YOUR_API_KEY" model: "gpt-4-turbo-preview" # or gpt-3.5-turbo-1106 / gpt-4-1106-preview proxy: "YOUR_PROXY" # for LLM API requests + # timeout: 600 # Optional.
bad
review
FoundationAgents/MetaGPT
c6b9e234bf03497c58ed065846b3b175a6e86df2
diff --git a/config/config2.example.yaml b/config/config2.example.yaml index 3a5cc35855..c5454ec323 100644 --- a/config/config2.example.yaml +++ b/config/config2.example.yaml @@ -4,6 +4,7 @@ llm: api_key: "YOUR_API_KEY" model: "gpt-4-turbo-preview" # or gpt-3.5-turbo-1106 / gpt-4-1106-preview proxy: "YOUR_PRO...
good
review_fixed
FoundationAgents/MetaGPT
c6b9e234bf03497c58ed065846b3b175a6e86df2
@@ -1,17 +1,18 @@ +from metagpt.const import EXAMPLE_DATA_PATH from metagpt.roles.di.data_interpreter import DataInterpreter async def main(): # Notice: pip install metagpt[ocr] before using this example - image_path = "image.jpg" + image_path = EXAMPLE_DATA_PATH / "di/receipt_shopping.jpg" langua...
bad
review
python
FoundationAgents/MetaGPT
a553be61c55d5034ade4eb67d09f1c39b9f724e3
diff --git a/examples/di/ocr_receipt.py b/examples/di/ocr_receipt.py index af54d519ba..bf32f5722c 100644 --- a/examples/di/ocr_receipt.py +++ b/examples/di/ocr_receipt.py @@ -1,17 +1,17 @@ +from metagpt.const import EXAMPLE_DATA_PATH from metagpt.roles.di.data_interpreter import DataInterpreter async def main(): ...
good
review_fixed
python
FoundationAgents/MetaGPT
a553be61c55d5034ade4eb67d09f1c39b9f724e3
@@ -0,0 +1,78 @@ +from metagpt.logs import logger +from metagpt.roles.di.team_leader import TeamLeader +import fire
bad
review
python
FoundationAgents/MetaGPT
e6523779fd2eb5b3dc450301da094443aae913b3
diff --git a/examples/di/atomization_capacity_plan.py b/examples/di/atomization_capacity_plan.py new file mode 100644 index 0000000000..eb86f9bd25 --- /dev/null +++ b/examples/di/atomization_capacity_plan.py @@ -0,0 +1,65 @@ +import fire + +from metagpt.logs import logger +from metagpt.roles.di.team_leader import TeamL...
good
review_fixed
python
FoundationAgents/MetaGPT
e6523779fd2eb5b3dc450301da094443aae913b3
@@ -0,0 +1,78 @@ +from metagpt.logs import logger +from metagpt.roles.di.team_leader import TeamLeader +import fire + + +async def main(): + tl = TeamLeader() + logger.info("\n=== Adding Initial Tasks ===") + tl.planner.plan.append_task( + task_id="T1", + dependent_task_ids=[], + instructi...
bad
review
python
FoundationAgents/MetaGPT
e6523779fd2eb5b3dc450301da094443aae913b3
diff --git a/examples/di/atomization_capacity_plan.py b/examples/di/atomization_capacity_plan.py new file mode 100644 index 0000000000..eb86f9bd25 --- /dev/null +++ b/examples/di/atomization_capacity_plan.py @@ -0,0 +1,65 @@ +import fire + +from metagpt.logs import logger +from metagpt.roles.di.team_leader import TeamL...
good
review_fixed
python
FoundationAgents/MetaGPT
e6523779fd2eb5b3dc450301da094443aae913b3
@@ -0,0 +1,24 @@ +import asyncio
bad
review
python
FoundationAgents/MetaGPT
e6523779fd2eb5b3dc450301da094443aae913b3
diff --git a/examples/write_game_code.py b/examples/write_game_code.py new file mode 100644 index 0000000000..86412a0931 --- /dev/null +++ b/examples/write_game_code.py @@ -0,0 +1,42 @@ +import asyncio +import time + +from metagpt.environment.mgx.mgx_env import MGXEnv +from metagpt.roles.di.engineer2 import Engineer2 +...
good
review_fixed
python
FoundationAgents/MetaGPT
e6523779fd2eb5b3dc450301da094443aae913b3
@@ -0,0 +1,97 @@ +# SPO 🤖 | Self-Supervised Prompt Optimizer + +An automated prompt engineering tool for Large Language Models (LLMs), designed for universal domain adaptation. + +A next-generation prompt engineering system implementing **Self-Supervised Prompt Optimization (SPO)**. Achieves state-of-the-art performan...
bad
review
FoundationAgents/MetaGPT
62dda60c126481ff8e0ea35ddbbd90eb6046179f
diff --git a/examples/spo/README.md b/examples/spo/README.md new file mode 100644 index 0000000000..08ed6f804d --- /dev/null +++ b/examples/spo/README.md @@ -0,0 +1,184 @@ +# SPO | Self-Supervised Prompt Optimization <img src="../../docs/resources/spo/SPO-logo.png" width="60" height="60" style="vertical-align: middle; ...
good
review_fixed
FoundationAgents/MetaGPT
62dda60c126481ff8e0ea35ddbbd90eb6046179f
@@ -0,0 +1,97 @@ +# SPO 🤖 | Self-Supervised Prompt Optimizer + +An automated prompt engineering tool for Large Language Models (LLMs), designed for universal domain adaptation. + +A next-generation prompt engineering system implementing **Self-Supervised Prompt Optimization (SPO)**. Achieves state-of-the-art performan...
bad
review
FoundationAgents/MetaGPT
62dda60c126481ff8e0ea35ddbbd90eb6046179f
diff --git a/examples/spo/README.md b/examples/spo/README.md new file mode 100644 index 0000000000..08ed6f804d --- /dev/null +++ b/examples/spo/README.md @@ -0,0 +1,184 @@ +# SPO | Self-Supervised Prompt Optimization <img src="../../docs/resources/spo/SPO-logo.png" width="60" height="60" style="vertical-align: middle; ...
good
review_fixed
FoundationAgents/MetaGPT
62dda60c126481ff8e0ea35ddbbd90eb6046179f
@@ -0,0 +1,97 @@ +# SPO 🤖 | Self-Supervised Prompt Optimizer + +An automated prompt engineering tool for Large Language Models (LLMs), designed for universal domain adaptation. + +A next-generation prompt engineering system implementing **Self-Supervised Prompt Optimization (SPO)**. Achieves state-of-the-art performan...
bad
review
FoundationAgents/MetaGPT
62dda60c126481ff8e0ea35ddbbd90eb6046179f
diff --git a/examples/spo/README.md b/examples/spo/README.md new file mode 100644 index 0000000000..08ed6f804d --- /dev/null +++ b/examples/spo/README.md @@ -0,0 +1,184 @@ +# SPO | Self-Supervised Prompt Optimization <img src="../../docs/resources/spo/SPO-logo.png" width="60" height="60" style="vertical-align: middle; ...
good
review_fixed
FoundationAgents/MetaGPT
62dda60c126481ff8e0ea35ddbbd90eb6046179f
@@ -0,0 +1,97 @@ +# SPO 🤖 | Self-Supervised Prompt Optimizer + +An automated prompt engineering tool for Large Language Models (LLMs), designed for universal domain adaptation. + +A next-generation prompt engineering system implementing **Self-Supervised Prompt Optimization (SPO)**. Achieves state-of-the-art performan...
bad
review
FoundationAgents/MetaGPT
62dda60c126481ff8e0ea35ddbbd90eb6046179f
diff --git a/examples/spo/README.md b/examples/spo/README.md new file mode 100644 index 0000000000..08ed6f804d --- /dev/null +++ b/examples/spo/README.md @@ -0,0 +1,184 @@ +# SPO | Self-Supervised Prompt Optimization <img src="../../docs/resources/spo/SPO-logo.png" width="60" height="60" style="vertical-align: middle; ...
good
review_fixed
FoundationAgents/MetaGPT
62dda60c126481ff8e0ea35ddbbd90eb6046179f
@@ -0,0 +1,97 @@ +# SPO 🤖 | Self-Supervised Prompt Optimizer + +An automated prompt engineering tool for Large Language Models (LLMs), designed for universal domain adaptation. + +A next-generation prompt engineering system implementing **Self-Supervised Prompt Optimization (SPO)**. Achieves state-of-the-art performan...
bad
review
FoundationAgents/MetaGPT
62dda60c126481ff8e0ea35ddbbd90eb6046179f
diff --git a/examples/spo/README.md b/examples/spo/README.md new file mode 100644 index 0000000000..08ed6f804d --- /dev/null +++ b/examples/spo/README.md @@ -0,0 +1,184 @@ +# SPO | Self-Supervised Prompt Optimization <img src="../../docs/resources/spo/SPO-logo.png" width="60" height="60" style="vertical-align: middle; ...
good
review_fixed
FoundationAgents/MetaGPT
62dda60c126481ff8e0ea35ddbbd90eb6046179f
@@ -0,0 +1,97 @@ +# SPO 🤖 | Self-Supervised Prompt Optimizer + +An automated prompt engineering tool for Large Language Models (LLMs), designed for universal domain adaptation. + +A next-generation prompt engineering system implementing **Self-Supervised Prompt Optimization (SPO)**. Achieves state-of-the-art performan...
bad
review
FoundationAgents/MetaGPT
62dda60c126481ff8e0ea35ddbbd90eb6046179f
diff --git a/examples/spo/README.md b/examples/spo/README.md new file mode 100644 index 0000000000..08ed6f804d --- /dev/null +++ b/examples/spo/README.md @@ -0,0 +1,184 @@ +# SPO | Self-Supervised Prompt Optimization <img src="../../docs/resources/spo/SPO-logo.png" width="60" height="60" style="vertical-align: middle; ...
good
review_fixed
FoundationAgents/MetaGPT
62dda60c126481ff8e0ea35ddbbd90eb6046179f
@@ -0,0 +1,97 @@ +# SPO 🤖 | Self-Supervised Prompt Optimizer + +An automated prompt engineering tool for Large Language Models (LLMs), designed for universal domain adaptation. + +A next-generation prompt engineering system implementing **Self-Supervised Prompt Optimization (SPO)**. Achieves state-of-the-art performan...
bad
review
FoundationAgents/MetaGPT
62dda60c126481ff8e0ea35ddbbd90eb6046179f
diff --git a/examples/spo/README.md b/examples/spo/README.md new file mode 100644 index 0000000000..08ed6f804d --- /dev/null +++ b/examples/spo/README.md @@ -0,0 +1,184 @@ +# SPO | Self-Supervised Prompt Optimization <img src="../../docs/resources/spo/SPO-logo.png" width="60" height="60" style="vertical-align: middle; ...
good
review_fixed
FoundationAgents/MetaGPT
62dda60c126481ff8e0ea35ddbbd90eb6046179f
@@ -0,0 +1,97 @@ +# SPO 🤖 | Self-Supervised Prompt Optimizer + +An automated prompt engineering tool for Large Language Models (LLMs), designed for universal domain adaptation. + +A next-generation prompt engineering system implementing **Self-Supervised Prompt Optimization (SPO)**. Achieves state-of-the-art performan...
bad
review
FoundationAgents/MetaGPT
62dda60c126481ff8e0ea35ddbbd90eb6046179f
diff --git a/examples/spo/README.md b/examples/spo/README.md new file mode 100644 index 0000000000..08ed6f804d --- /dev/null +++ b/examples/spo/README.md @@ -0,0 +1,184 @@ +# SPO | Self-Supervised Prompt Optimization <img src="../../docs/resources/spo/SPO-logo.png" width="60" height="60" style="vertical-align: middle; ...
good
review_fixed
FoundationAgents/MetaGPT
62dda60c126481ff8e0ea35ddbbd90eb6046179f
@@ -0,0 +1,32 @@ +PROMPT_OPTIMIZE_PROMPT = """ +You are building a prompt to address user requirement.Based on the given prompt,
bad
review
python
FoundationAgents/MetaGPT
62dda60c126481ff8e0ea35ddbbd90eb6046179f
diff --git a/metagpt/ext/spo/prompts/optimize_prompt.py b/metagpt/ext/spo/prompts/optimize_prompt.py new file mode 100644 index 0000000000..f6ca81e334 --- /dev/null +++ b/metagpt/ext/spo/prompts/optimize_prompt.py @@ -0,0 +1,32 @@ +PROMPT_OPTIMIZE_PROMPT = """ +You are building a prompt to address user requirement. Bas...
good
review_fixed
python
FoundationAgents/MetaGPT
62dda60c126481ff8e0ea35ddbbd90eb6046179f