<commit_before>﻿using BitSharp.Common;
using BitSharp.Common.ExtensionMethods;
using NLog;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks.Dataflow;

namespace BitSharp.Core.Builders
{
    public class WorkQueueDictionary<TKey, TValue> : IEnumerable<KeyValuePair<TKey, TValue>>
    {
        private static readonly Logger logger = LogManager.GetCurrentClassLogger();

        private readonly DeferredDictionary<TKey, TValue> parentDictionary;

        private readonly BufferBlock<WorkItem> workQueue;
        private readonly Dictionary<TKey, WorkItem> workByKey;

        private bool disposed;
<commit_msg>cleanup unused variable<commit_after>﻿using BitSharp.Common;
using BitSharp.Common.ExtensionMethods;
using NLog;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks.Dataflow;

namespace BitSharp.Core.Builders
{
    public class WorkQueueDictionary<TKey, TValue> : IEnumerable<KeyValuePair<TKey, TValue>>
    {
        private static readonly Logger logger = LogManager.GetCurrentClassLogger();

        private readonly DeferredDictionary<TKey, TValue> parentDictionary;

        private readonly BufferBlock<WorkItem> workQueue;
        private readonly Dictionary<TKey, WorkItem> workByKey;

{'fraction_non_alphanumeric': 0.07586705202312138, 'fraction_numerical': 0.0, 'mean_word_length': 5.155555555555556, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6029228', 'n_tokens_mistral': 369, 'n_tokens_neox': 360, 'n_words': 93}