<commit_before>﻿using System;
namespace BAC_Tracker.Model
{

public class BeverageVolume
    {
        public double Amount { get; set; }
        public double Volume_percentage_completed { get; set; }

        public BAC_Tracker.Model.Beverage DetailsForTotalConsumedAlcohol;


        public BeverageVolume(BAC_Tracker.Model.Beverage beverage, double amount, double volume_percentage_completed)
        {
            Amount = amount;
            Volume_percentage_completed = volume_percentage_completed;

            
            DetailsForTotalConsumedAlcohol = beverage;

            //TotalConsumedAlcohol(x);
        }


        public double TotalConsumedAlcohol()
        {
           
            return DetailsForTotalConsumedAlcohol.Details.Alcohol_percentage*Amount*Volume_percentage_completed;
        }


        /*
        public double TotalConsumedAlcohol(Beverage x)<commit_msg>Little change in beverageVolume class with constructor<commit_after>﻿using System;
namespace BAC_Tracker.Model
{

public class BeverageVolume
    {
        public double Amount { get; set; }
        public double Volume_percentage_completed { get; set; }

        public BAC_Tracker.Model.BeverageDetails DetailsForTotalConsumedAlcohol;


        public BeverageVolume(BAC_Tracker.Model.BeverageDetails beverage, double amount, double volume_percentage_completed)
        {
            Amount = amount;
            Volume_percentage_completed = volume_percentage_completed;

            
            DetailsForTotalConsumedAlcohol = beverage;

            //TotalConsumedAlcohol(x);
        }


        public double TotalConsumedAlcohol()
        {
           
            return DetailsForTotalConsumedAlcohol.Alcohol_percentage*Amount*Volume_percentage_completed;
        }


        /*
        public double TotalConsumedAlcohol(Beverage x)
{'fraction_non_alphanumeric': 0.054861488321564365, 'fraction_numerical': 0.0, 'mean_word_length': 2.59765625, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1458717', 'n_tokens_mistral': 500, 'n_tokens_neox': 462, 'n_words': 91}