Add Tamil NER routing and WPF test harness for POC validation.
Introduce dual-script ONNX NER routing (English/Tamil/mixed), Tamil console samples and integration tests, model download scripts, and a resizable WPF MVVM harness with click-to-load prompts, batch validation, and runtime-adjustable detection panels.
This commit is contained in:
23
src/PiiRedaction.TestHarness.Wpf/Models/BatchRunResult.cs
Normal file
23
src/PiiRedaction.TestHarness.Wpf/Models/BatchRunResult.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
namespace PiiRedaction.TestHarness.Wpf.Models;
|
||||
|
||||
public sealed record RedactionOutcome(
|
||||
string OriginalPrompt,
|
||||
string SanitizedPrompt,
|
||||
IReadOnlyList<RedactionDisplayModel> DetectedEntities,
|
||||
IReadOnlyList<PlaceholderDisplayModel> Placeholders,
|
||||
long ElapsedMilliseconds,
|
||||
bool HasLeak);
|
||||
|
||||
public sealed record BatchScenarioResult(
|
||||
TestPromptScenario Scenario,
|
||||
bool Passed,
|
||||
string? FailureReason,
|
||||
int EntityCount,
|
||||
long ElapsedMilliseconds);
|
||||
|
||||
public sealed record BatchRunSummary(
|
||||
int Total,
|
||||
int Passed,
|
||||
int Failed,
|
||||
IReadOnlyList<BatchScenarioResult> Results,
|
||||
long TotalElapsedMilliseconds);
|
||||
Reference in New Issue
Block a user