<commit_before>json.extract!(
  project,
  :status, :id, :blueprint_id, :data, :slug, :title, :created_at, :updated_at,
  :preview_url, :publish_url, :user_id, :published_at, :data_updated_at,
  :blueprint_version, :blueprint_config)

json.blueprint_title project.blueprint.title
json.theme project.theme.value
json.created_by project.user.name

# Only send build script output to superusers
json.output project.output if role? :superuser
<commit_msg>edit to jbuilder for adding type to project object - ref #234<commit_after>json.extract!(
  project,
  :status, :id, :blueprint_id, :data, :slug, :title, :created_at, :updated_at,
  :preview_url, :publish_url, :user_id, :published_at, :data_updated_at,
  :blueprint_version, :blueprint_config)

json.type project.blueprint.type
json.blueprint_title project.blueprint.title
json.theme project.theme.value
json.created_by project.user.name

# Only send build script output to superusers
json.output project.output if role? :superuser

{'fraction_non_alphanumeric': 0.10885045778229908, 'fraction_numerical': 0.003051881993896236, 'mean_word_length': 6.343283582089552, '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': '5894314', 'n_tokens_mistral': 328, 'n_tokens_neox': 327, 'n_words': 82}