From 0a679e620d26dada25376d49bd64a0e8c7c03c13 Mon Sep 17 00:00:00 2001 From: JerrettDavis Date: Sun, 26 Apr 2026 19:24:24 -0500 Subject: [PATCH] fix(training): use string interpolation to satisfy CA1305 Replace discrepancies.Count.ToString() with $"{discrepancies.Count}" to avoid CA1305 (locale-sensitive int format) compiler error. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- tools/JD.AI.Workflows.Training/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/JD.AI.Workflows.Training/Program.cs b/tools/JD.AI.Workflows.Training/Program.cs index a1362aba..30d47d82 100644 --- a/tools/JD.AI.Workflows.Training/Program.cs +++ b/tools/JD.AI.Workflows.Training/Program.cs @@ -119,7 +119,7 @@ await AnsiConsole.Progress() }); } - await File.WriteAllTextAsync("validate_summary.txt", discrepancies.Count.ToString()); + await File.WriteAllTextAsync("validate_summary.txt", $"{discrepancies.Count}"); AnsiConsole.MarkupLine($"[cyan]Validation complete — {discrepancies.Count}/{prompts.Count} disagreements[/]"); return 0; }