<commit_before>var React = require("react"),
    t = require("tcomb-form");

var Recipe = require("../schemas/recipe.jsx");

var ingredients = function(locals) {
  var inputs = locals.inputs;

  return (
    <fieldset className="form-struct ingredient">
      <div className="form-row quantity">
        {inputs.quantity}
      </div>
      <div className="form-row item">
        {inputs.item}
      </div>
    </fieldset>
  );
};

var struct = function(locals) {
  if (locals.config.type === "ingredients") return ingredients(locals);

  var inputs = locals.inputs;
  console.log(locals);

  return (
    <fieldset className="form-struct recipe">
      <div className="form-row name">
        {inputs.name}
      </div>
      <div className="form-row description">
        {inputs.description}
      </div>
      <div className="form-row ingredients">
        <label>
          <strong>Ingredients</strong>
        </label>
        {inputs.ingredients}
      </div><commit_msg>:fire: console.log<commit_after>var React = require("react"),
    t = require("tcomb-form");

var Recipe = require("../schemas/recipe.jsx");

var ingredients = function(locals) {
  var inputs = locals.inputs;

  return (
    <fieldset className="form-struct ingredient">
      <div className="form-row quantity">
        {inputs.quantity}
      </div>
      <div className="form-row item">
        {inputs.item}
      </div>
    </fieldset>
  );
};

var struct = function(locals) {
  if (locals.config.type === "ingredients") return ingredients(locals);

  var inputs = locals.inputs;

  return (
    <fieldset className="form-struct recipe">
      <div className="form-row name">
        {inputs.name}
      </div>
      <div className="form-row description">
        {inputs.description}
      </div>
      <div className="form-row ingredients">
        <label>
          <strong>Ingredients</strong>
        </label>
        {inputs.ingredients}
      </div>
{'fraction_non_alphanumeric': 0.15206185567010308, 'fraction_numerical': 0.0, 'mean_word_length': 2.6145251396648046, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, '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': '3741002', 'n_tokens_mistral': 599, 'n_tokens_neox': 580, 'n_words': 125}