<commit_before>#!/usr/bin/env python
# encoding: utf-8

from wand.image import Image

def run_cmd(args):
    """Run shell command."""
    subprocess.run(args, stderr=subprocess.STDOUT)


def scan(output_directory):
    """Run scanimage in batch mode.

    Return resulting image filename."""
    command = [<commit_msg>Correct scan doc comment<commit_after>#!/usr/bin/env python
# encoding: utf-8

from wand.image import Image

def run_cmd(args):
    """Run shell command."""
    subprocess.run(args, stderr=subprocess.STDOUT)


def scan(output_directory):
    """Run scanimage in batch mode."""
    command = [
{'fraction_non_alphanumeric': 0.132569558101473, 'fraction_numerical': 0.0032733224222585926, 'mean_word_length': 4.016393442622951, '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': '542433', 'n_tokens_mistral': 197, 'n_tokens_neox': 187, 'n_words': 53}