<commit_before>﻿using System;

namespace NSubstitute.Acceptance.Specs.Infrastructure
{
    public delegate void OverheatingEvent(int temperatureInCelcius);

    public interface IEngine
    {
        void Start();
        void Rev();
        void Stop();
        void Idle();
        void RevAt(int rpm);
        void FillPetrolTankTo(int percent);
        float GetCapacityInLitres();
        event Action Started;
        event Action<int> RevvedAt;
        event Action<int, int> PetrolTankFilled;
        event EventHandler<IdlingEventArgs> Idling;
        event EventHandler Stopped;
        event EventHandler<EventArgs> Broken;
        event EventHandler<LowFuelWarningEventArgs> LowFuelWarning;
        event OverheatingEvent Overheating;
    }

    public class IdlingEventArgs : EventArgs
    {
        public int Rpm;
    }

    public class LowFuelWarningEventArgs : EventArgs
    {
        public int PercentLeft { get; private set; }
        public LowFuelWarningEventArgs(int percentLeft)
        {
            PercentLeft = percentLeft;
        }
    }
}<commit_msg>Removing unrequired events from IEngine sample<commit_after>﻿using System;

namespace NSubstitute.Acceptance.Specs.Infrastructure
{
    public interface IEngine
    {
        void Start();
        void Rev();
        void Stop();
        void Idle();
        void RevAt(int rpm);
        void FillPetrolTankTo(int percent);
        float GetCapacityInLitres();
        event Action Started;
    }
}
{'fraction_non_alphanumeric': 0.07162162162162163, 'fraction_numerical': 0.0, 'mean_word_length': 2.5011820330969265, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '676502', 'n_tokens_mistral': 409, 'n_tokens_neox': 394, 'n_words': 106}