<commit_before>﻿using PPTail.Entities;
using PPTail.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace PPTail.SiteGenerator
{
    public class Builder
    {
        public Builder(IContentRepository contentRepo, IPageGenerator pageGen)
        {
        }

        public IEnumerable<SiteFile> Build()
        {
            var result = new List<SiteFile>();

            //TODO: Implement

            return result;
        }
    }
}<commit_msg>RequestAllPagesFromTheRepository and RequestAllPostsFromTheRepository - Green<commit_after>﻿using PPTail.Entities;
using PPTail.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace PPTail.SiteGenerator
{
    public class Builder
    {
        private readonly IContentRepository _contentRepo;
        private readonly IPageGenerator _pageGen;

        public Builder(IContentRepository contentRepo, IPageGenerator pageGen)
        {
            _contentRepo = contentRepo;
        }

        public IEnumerable<SiteFile> Build()
        {
            var result = new List<SiteFile>();

            var posts = _contentRepo.GetAllPosts();
            // TODO: Add all post pages to the results

            var pages = _contentRepo.GetAllPages();
            // TODO: All all content pages to the results

            return result;
        }
    }
}
{'fraction_non_alphanumeric': 0.07257501744591766, 'fraction_numerical': 0.0, 'mean_word_length': 2.4721549636803872, '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': '1685514', 'n_tokens_mistral': 375, 'n_tokens_neox': 379, 'n_words': 99}