<commit_before>﻿namespace Muffin.Pictures.Archiver

open System

module Domain =

    type File = {FullPath:string; Name:string}

    type TimeTaken = DateTimeOffset

    type Picture = {File:File; TakenOn:TimeTaken} with
        member this.formatTakenOn : string =
            sprintf "%i-%02i" this.TakenOn.Year this.TakenOn.Month
<commit_msg>Use AutoOpen on Domain types<commit_after>﻿namespace Muffin.Pictures.Archiver

open System

[<AutoOpen>]
module Domain =

    type File = {FullPath:string; Name:string}

    type TimeTaken = DateTimeOffset

    type Picture = {File:File; TakenOn:TimeTaken} with
        member this.formatTakenOn : string =
            sprintf "%i-%02i" this.TakenOn.Year this.TakenOn.Month

{'fraction_non_alphanumeric': 0.09444444444444444, 'fraction_numerical': 0.005555555555555556, 'mean_word_length': 3.5632911392405062, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '657487', 'n_tokens_mistral': 239, 'n_tokens_neox': 225, 'n_words': 55}