<commit_before>// --------------------
// Sequelize virtual fields
// Instance#get replacement function
// --------------------

// modules
var _ = require('lodash');

// exports
module.exports = function(key, options) {
	var Sequelize = this.sequelize.Sequelize;
	
	// parse options<commit_msg>Usual sequelize behaviour until initVirtualFields<commit_after>// --------------------
// Sequelize virtual fields
// Instance#get replacement function
// --------------------

// modules
var _ = require('lodash');

// exports
module.exports = function(key, options) {
	var sequelize = this.sequelize,
		Sequelize = sequelize.Sequelize;
	
	// if Sequelize#initVirtualFields() not called yet, display usual Sequelize behaviour
	if (!sequelize.options.virtualFields.active) return this.getVirtual(key, options);
	
	// parse options
{'fraction_non_alphanumeric': 0.20266990291262135, 'fraction_numerical': 0.0, 'mean_word_length': 2.6995515695067263, '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': '7105515', 'n_tokens_mistral': 232, 'n_tokens_neox': 221, 'n_words': 57}