<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using Nwazet.Commerce.Models;
using Orchard;
using Orchard.ContentManagement;

namespace Nwazet.Commerce.Services {
    public class PriceService : IPriceService {
        private const double Epsilon = 0.001;
        private readonly IEnumerable<IPriceProvider> _priceProviders;
        private readonly ITieredPriceProvider _tieredPriceProvider;

        public PriceService(IEnumerable<IPriceProvider> priceProviders, IWorkContextAccessor wca, ITieredPriceProvider tieredPriceProvider = null) {
            _priceProviders = priceProviders;
            _tieredPriceProvider = tieredPriceProvider;
        }<commit_msg>Removed unused work context accessor<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using Nwazet.Commerce.Models;
using Orchard;
using Orchard.ContentManagement;

namespace Nwazet.Commerce.Services {
    public class PriceService : IPriceService {
        private const double Epsilon = 0.001;
        private readonly IEnumerable<IPriceProvider> _priceProviders;
        private readonly ITieredPriceProvider _tieredPriceProvider;

        public PriceService(IEnumerable<IPriceProvider> priceProviders, ITieredPriceProvider tieredPriceProvider = null) {
            _priceProviders = priceProviders;
            _tieredPriceProvider = tieredPriceProvider;
        }
{'fraction_non_alphanumeric': 0.05765124555160142, 'fraction_numerical': 0.0056939501779359435, 'mean_word_length': 4.346007604562738, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '1516883', 'n_tokens_mistral': 380, 'n_tokens_neox': 364, 'n_words': 88}