<commit_before>---
title: Review Class Submissions
---
-dont_cache

%h1 Review class submissions

-submissions = []
-DB[:forms].where(kind:'ClassSubmission', review:nil).limit(40).each do |i|
  -submissions << JSON.parse(i[:data]).merge(secret: i[:secret])

-if submissions.nil_or_empty?
  %p There are no class submissions available for review<commit_msg>Increased number of class submissions returned.<commit_after>---
title: Review Class Submissions
---
-dont_cache

%h1 Review class submissions

-submissions = []
-DB[:forms].where(kind:'ClassSubmission', review:nil).limit(1000).each do |i|
  -submissions << JSON.parse(i[:data]).merge(secret: i[:secret])

-if submissions.nil_or_empty?
  %p There are no class submissions available for review
{'fraction_non_alphanumeric': 0.14572192513368984, 'fraction_numerical': 0.0106951871657754, 'mean_word_length': 5.294117647058823, 'pattern_counts': {'":': 0, '<': 7, '<?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': '532046', 'n_tokens_mistral': 249, 'n_tokens_neox': 230, 'n_words': 62}