<commit_before>import { isValidForSchema, isInvalidForSchema } from "../helpers/Validator";

describe("ProgramValidationResponse", () => {
  const schemaPath: string = "jobs/ReferralImportLine.schema.json";
  isValidForSchema(
    schemaPath,
    "jobs/referral/ReferralStartedNoRewards",
    "jobs/referral/ValidRewardRedemption"
  );
  isInvalidForSchema(
    schemaPath,
    "jobs/referral/NoProgramId",
    "jobs/referral/InvalidRewardRedemption"
  );
});
<commit_msg>EM these didn't work on cloud build for some reason - investigate later<commit_after>import { isValidForSchema, isInvalidForSchema } from "../helpers/Validator";

describe("ProgramValidationResponse", () => {
  const schemaPath: string = "jobs/ReferralImportLine.schema.json";
  isValidForSchema(
    schemaPath,
    "jobs/referral/ReferralStartedNoRewards",
    // "jobs/referral/ReferredAndReferrerReward",
    // "jobs/referral/ReferrerReward",
    "jobs/referral/ValidRewardRedemption"
  );
  isInvalidForSchema(
    schemaPath,
    "jobs/referral/NoProgramId",
    "jobs/referral/InvalidRewardRedemption"
  );
});

{'fraction_non_alphanumeric': 0.1228230980751604, 'fraction_numerical': 0.0, 'mean_word_length': 4.808510638297872, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '2115171', 'n_tokens_mistral': 364, 'n_tokens_neox': 340, 'n_words': 49}