<commit_before>var client = require("./Database.js").client;
var table = "enrollment";

/**
 * Enrollment model tracks the students' enrollment in the courses.
 */

/**
 *  Get an enrollment record by its unique id
 */
exports.get = function (id, cb) {
  client
    .get(table)
    .where("id='" + id + "'")
    .limit(1)
    .execute(cb);
};

/**
 *  Get all students in a course
 */
exports.get = function (courseId, cb) {
  client
    .get(table)
	.where("course_id = " + courseId)<commit_msg>just some aesthetic changes to Enrollment.js<commit_after>var client = require("./Database.js").client;
var table = "enrollment";

/**
 * Enrollment.js
 * Enrollment model tracks the students' enrollment in the courses.
 */


/**
 *  Get an enrollment record by its unique id
 */
exports.get = function (id, cb) {
  client
    .get(table)
    .where("id='" + id + "'")
    .limit(1)
    .execute(cb);
};

/**
 *  Get all students in a course
 */
exports.get = function (courseId, cb) {
  client
    .get(table)
	.where("course_id = " + courseId)
{'fraction_non_alphanumeric': 0.16234390009606148, 'fraction_numerical': 0.0019212295869356388, 'mean_word_length': 3.0387596899224807, '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': '2725974', 'n_tokens_mistral': 350, 'n_tokens_neox': 349, 'n_words': 99}