<commit_before>var CongroupProvider2 = require('../models/CongroupProvider2').CongroupProvider2

/* Get 'home' page */
module.exports.homelist = function(req, res) {
    CongroupProvider2.getCongroups(function (err,results) {
        if (err) return err
        res.render('index', {
            title: 'Signtyp Imaging Project Concept Groups',
            congrp:results
        })
    })
}

/* GET 'concept group' page */
module.exports.conceptGroup = function(req, res) {
    res.render('index', { title: 'Concept Group'} )
}<commit_msg>Begin displaying list of concept groups -- sixth attempt to list groups. Using new app2.js and CongroupProvider2.js.<commit_after>CongroupProvider2 = require('../models/CongroupProvider2').CongroupProvider2

/* Get 'home' page */
module.exports.homelist = function(req, res) {

    var cgroups = new CongroupProvider2(db)

    cgroups.getCongroups(function (err,results) {
        if (err) return err
        res.render('index', {
            title: 'Signtyp Imaging Project Concept Groups',
            congrp:results
        })
    })
}

/* GET 'concept group' page */
module.exports.conceptGroup = function(req, res) {
    res.render('index', { title: 'Concept Group'} )
}
{'fraction_non_alphanumeric': 0.1308641975308642, 'fraction_numerical': 0.00823045267489712, 'mean_word_length': 3.207612456747405, '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': '3288117', 'n_tokens_mistral': 373, 'n_tokens_neox': 351, 'n_words': 86}