From 9f663cc8d8afd3b6029844449efa37cbf2133c71 Mon Sep 17 00:00:00 2001 From: konard Date: Sun, 14 Sep 2025 05:19:13 +0300 Subject: [PATCH 1/3] Initial commit with task details for issue #145 Adding CLAUDE.md with task information for AI processing. This file will be removed when the task is complete. Issue: https://github.com/linksplatform/Data.Doublets/issues/145 --- CLAUDE.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 000000000..a1a4074a6 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,5 @@ +Issue to solve: https://github.com/linksplatform/Data.Doublets/issues/145 +Your prepared branch: issue-145-e1924d96 +Your prepared working directory: /tmp/gh-issue-solver-1757816258252 + +Proceed. \ No newline at end of file From db7e0f5d062d9dab690ab5d4ae65c0c1b1037361 Mon Sep 17 00:00:00 2001 From: konard Date: Sun, 14 Sep 2025 05:23:38 +0300 Subject: [PATCH 2/3] Add comment for TotalMarkedSequenceSymbolFrequencyCounter class MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Added XML documentation comment explaining that the class "Counts total amount of sequences in which the symbol (link) is used" - Recreated the class file in the appropriate directory structure - Class name matches the logic described in the comment, no rename needed Fixes #145 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- ...talMarkedSequenceSymbolFrequencyCounter.cs | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 csharp/Platform.Data.Doublets/Sequences/Frequencies/Counters/TotalMarkedSequenceSymbolFrequencyCounter.cs diff --git a/csharp/Platform.Data.Doublets/Sequences/Frequencies/Counters/TotalMarkedSequenceSymbolFrequencyCounter.cs b/csharp/Platform.Data.Doublets/Sequences/Frequencies/Counters/TotalMarkedSequenceSymbolFrequencyCounter.cs new file mode 100644 index 000000000..909b6331d --- /dev/null +++ b/csharp/Platform.Data.Doublets/Sequences/Frequencies/Counters/TotalMarkedSequenceSymbolFrequencyCounter.cs @@ -0,0 +1,26 @@ +using System.Runtime.CompilerServices; +using Platform.Interfaces; + +#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member + +namespace Platform.Data.Doublets.Sequences.Frequencies.Counters +{ + /// + /// Counts total amount of sequences in which the symbol (link) is used. + /// + public class TotalMarkedSequenceSymbolFrequencyCounter : ICounter + { + private readonly ILinks _links; + private readonly ICriterionMatcher _markedSequenceMatcher; + + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public TotalMarkedSequenceSymbolFrequencyCounter(ILinks links, ICriterionMatcher markedSequenceMatcher) + { + _links = links; + _markedSequenceMatcher = markedSequenceMatcher; + } + + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public TLink Count(TLink argument) => new TotalMarkedSequenceSymbolFrequencyOneOffCounter(_links, _markedSequenceMatcher, argument).Count(); + } +} \ No newline at end of file From 9e504401576e4b37f2a1b8f795706c4579779714 Mon Sep 17 00:00:00 2001 From: konard Date: Sun, 14 Sep 2025 05:24:15 +0300 Subject: [PATCH 3/3] Remove CLAUDE.md - Claude command completed --- CLAUDE.md | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md deleted file mode 100644 index a1a4074a6..000000000 --- a/CLAUDE.md +++ /dev/null @@ -1,5 +0,0 @@ -Issue to solve: https://github.com/linksplatform/Data.Doublets/issues/145 -Your prepared branch: issue-145-e1924d96 -Your prepared working directory: /tmp/gh-issue-solver-1757816258252 - -Proceed. \ No newline at end of file