<commit_before>json.partial! "division", division: @division

# Extra information that isn't in the summary
json.summary @division.motion
json.markdown @division.markdown?
json.votes @division.votes.order(:vote), partial: "api/v1/votes/vote", as: :vote

json.policy_divisions do
  json.array! @division.policy_divisions do |pd|
    json.policy do
      json.partial! "api/v1/policies/policy", policy: pd.policy
    end
    json.vote pd.vote_without_strong
    json.strong pd.strong_vote?
  end
end

json.bills @division.bills, partial: "api/v1/bills/bill", as: :bill<commit_msg>Don't return markdown in the api as it's always going to be true now<commit_after>json.partial! "division", division: @division

# Extra information that isn't in the summary
json.summary @division.motion
json.votes @division.votes.order(:vote), partial: "api/v1/votes/vote", as: :vote

json.policy_divisions do
  json.array! @division.policy_divisions do |pd|
    json.policy do
      json.partial! "api/v1/policies/policy", policy: pd.policy
    end
    json.vote pd.vote_without_strong
    json.strong pd.strong_vote?
  end
end

json.bills @division.bills, partial: "api/v1/bills/bill", as: :bill
{'fraction_non_alphanumeric': 0.12064570943075616, 'fraction_numerical': 0.005097706032285472, 'mean_word_length': 4.4036697247706424, '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': '2226033', 'n_tokens_mistral': 419, 'n_tokens_neox': 395, 'n_words': 102}