<commit_before>import React from 'react';

/**
 * Boilerplate for a "leaf" view -- one without sub-views.
 */
let HomeView = React.createClass({

    render: function() {

        return (
            <div className="hero-unit">
                <h1>This is DLP Class!</h1>
                <p>This is a module.</p>
            </div>
        );
    }
});

export default HomeView;<commit_msg>Module preview view<commit_after>import React from 'react';
import {Panel, PageHeader} from 'react-bootstrap';

/**
 * Previews a module when the teacher is just browsing for modules.
 */
let ModulePreviewView = React.createClass({

    render: function() {
        return (
            <div>
                <PageHeader>
                    "Cool Module"
                    <small>By Neel</small>
                </PageHeader>

                {/* TODO(neel): display # of module uses, stars here */}
                <Panel>
                    <h3>Module Preview</h3>
                </Panel>
            </div>
        );
    }
});

export default ModulePreviewView;
{'fraction_non_alphanumeric': 0.12158341187558906, 'fraction_numerical': 0.003770028275212064, 'mean_word_length': 1.6093366093366093, 'pattern_counts': {'":': 0, '<': 19, '<?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': '3309326', 'n_tokens_mistral': 303, 'n_tokens_neox': 284, 'n_words': 81}