<commit_before>using Engine.Pipelines;

namespace Engine
{
    public class Engine
    {
        public Engine(params PipelineBase[] pipelines)
        {
            this.frameGenerator = new FrameGenerator();
            this.pipelines = pipelines;
        }

        private FrameGenerator frameGenerator;
        private PipelineBase[] pipelines;

        public void Loop()
        {
            foreach (var frame in frameGenerator)
                foreach (var pipeline in pipelines)
                    if (pipeline.ProcessFrame(frame)) continue;
        }
    }
}<commit_msg>The Loop should break not continue to stop processing pipelines for the given frame.<commit_after>using Engine.Pipelines;

namespace Engine
{
    public class Engine
    {
        public Engine(params PipelineBase[] pipelines)
        {
            this.frameGenerator = new FrameGenerator();
            this.pipelines = pipelines;
        }

        private FrameGenerator frameGenerator;
        private PipelineBase[] pipelines;

        public void Loop()
        {
            foreach (var frame in frameGenerator)
                foreach (var pipeline in pipelines)
                    if (pipeline.ProcessFrame(frame)) break;
        }
    }
}
{'fraction_non_alphanumeric': 0.06726094003241491, 'fraction_numerical': 0.0, 'mean_word_length': 1.9474940334128878, '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': '5852515', 'n_tokens_mistral': 302, 'n_tokens_neox': 280, 'n_words': 89}