<commit_before>﻿using System.Collections.Generic;
using System.Linq;
using UpdateControls.Fields;

namespace Bowling.DOF
{
    public class Game
    {
        private readonly Frame[] _frames;

        public Game()
        {
            _frames = Enumerable
                .Range(0, 10)
                .Select(i => new Frame(this, i))
                .ToArray();
        }

        public IEnumerable<Frame> Frames => _frames;

        public int FirstExtra { get; set; }
        public int SecondExtra { get; set; }

        public int Score => _frames.Sum(f => f.Score);
<commit_msg>Position independent fields at the top.<commit_after>﻿using System.Collections.Generic;
using System.Linq;
using UpdateControls.Fields;

namespace Bowling.DOF
{
    public class Game
    {
        private readonly Frame[] _frames;

        public int FirstExtra { get; set; }
        public int SecondExtra { get; set; }

        public Game()
        {
            _frames = Enumerable
                .Range(0, 10)
                .Select(i => new Frame(this, i))
                .ToArray();
        }

        public IEnumerable<Frame> Frames => _frames;

        public int Score => _frames.Sum(f => f.Score);

{'fraction_non_alphanumeric': 0.10066555740432612, 'fraction_numerical': 0.004991680532445923, 'mean_word_length': 1.8848920863309353, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, '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': '5857409', 'n_tokens_mistral': 344, 'n_tokens_neox': 325, 'n_words': 95}