<commit_before>"use strict";

import React from "react";
import { FunctionExport } from "./FunctionExport";

export class Module extends React.Component {
    renderExports () {
        return this.props.module.exports.map((exp) => {
            if ( exp.type === "Function" ) {
                return (<FunctionExport
                    key={exp.name}
                    function={exp}
                    categoryName={this.props.categoryName}
                    moduleName={this.props.module.module}
                    importTarget={this.props.module.importTarget}
                />);
            }
        });
    }

    render () {
        const id = "categories-" + this.props.categoryName + "-modules-" + this.props.module.module;

        return (<section id={id}>
            <h3>
                { this.props.module.module }
                <a className="anchor" href={"#" + id}>{"#"}</a>
            </h3><commit_msg>Added missing whitespace before anchor for module definitions.<commit_after>"use strict";

import React from "react";
import { FunctionExport } from "./FunctionExport";

export class Module extends React.Component {
    renderExports () {
        return this.props.module.exports.map((exp) => {
            if ( exp.type === "Function" ) {
                return (<FunctionExport
                    key={exp.name}
                    function={exp}
                    categoryName={this.props.categoryName}
                    moduleName={this.props.module.module}
                    importTarget={this.props.module.importTarget}
                />);
            }
        });
    }

    render () {
        const id = "categories-" + this.props.categoryName + "-modules-" + this.props.module.module;

        return (<section id={id}>
            <h3>
                <span>{ this.props.module.module }</span>
                { " " }
                <a className="anchor" href={"#" + id}>{"#"}</a>
            </h3>
{'fraction_non_alphanumeric': 0.13934426229508196, 'fraction_numerical': 0.0020491803278688526, 'mean_word_length': 1.61096256684492, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 19, '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': '7313752', 'n_tokens_mistral': 522, 'n_tokens_neox': 490, 'n_words': 98}