The repository contains a small library for batch importing strings in .NET 8. After a change related to reusing a prepared list and recalculating totals, deviations appeared in the report and in cancellation behavior. You need to find 2–3 independent problems in the code and describe exactly what breaks.
Environment: C# 12, .NET 8, run as a console application with dotnet run.
Contract: the program reads a fixed set of input strings from code, normalizes them, skips empty values, ignores duplicates within a single run, and prints exactly one line in the format processed=X; skipped=Y; cancelled=Z.
A deterministic stdout is expected for the given input in Program.cs. No external input, network, or runtime time dependencies.
C# 12, .NET 8; execution mode: dotnet run for a console app; no external packages beyond the standard library.
Use line comments to explain the problem, its impact, the fix and how to test it.