<commit_before>__all__ = [
    'merge_image',
]

import contextlib
import logging
import tempfile
from pathlib import Path

from g1 import scripts
from g1.containers import models
from g1.containers import scripts as ctr_scripts

from . import utils

LOG = logging.getLogger(__name__)

_DEFAULT_FILTERS = (
    # Do not leak any source codes to the application image.
    # Keep this in sync with //bases:build.
    ('exclude', '/home/plumber/drydock'),
    ('exclude', '/usr/src'),
    # Include only relevant files under /etc.
    ('include', '/etc/'),
    # We use distro java at the moment.
    ('include', '/etc/alternatives/'),
    ('include', '/etc/alternatives/java'),<commit_msg>Exclude certain dot files from image<commit_after>__all__ = [
    'merge_image',
]

import contextlib
import logging
import tempfile
from pathlib import Path

from g1 import scripts
from g1.containers import models
from g1.containers import scripts as ctr_scripts

from . import utils

LOG = logging.getLogger(__name__)

_DEFAULT_FILTERS = (
    # Do not leak any source codes to the application image.
    # Keep drydock path in sync with //bases:build.
    ('exclude', '/home/plumber/drydock'),
    ('exclude', '/home/plumber/.gradle'),
    ('exclude', '/home/plumber/.python_history'),
    ('exclude', '/home/plumber/.wget-hsts'),
    ('exclude', '/root/.cache'),
    ('exclude', '/usr/src'),
    # Include only relevant files under /etc.
    ('include', '/etc/'),
    # We use distro java at the moment.
    ('include', '/etc/alternatives/'),
    ('include', '/etc/alternatives/java'),
{'fraction_non_alphanumeric': 0.1357006975269499, 'fraction_numerical': 0.003804692454026633, 'mean_word_length': 3.547550432276657, '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': '5823482', 'n_tokens_mistral': 490, 'n_tokens_neox': 475, 'n_words': 155}