<commit_before>const assert = require('assert');

// Have the func CheckNums(num1,num2) take both parameters being 
// passed and return the string true if num2 is greater than num1, 
// otherwise return the string false. 
// If the parameter values are equal to each other then return the string -1.
// Test Cases
// Input:3 & num2 = 122
// Output:"true"
  
// Input:67 & num2 = 67
// Output:"-1"*/
// function CheckNums(num1,num2){
//  if (num2 > num1)
//  return 'true';
//  if (num1 === num2)
//  return '-1';
//  else
//  return 'false' }
function CheckNums(num1,num2) {
    if (num1===num2) return '-1'
    return (num2 > num1).toString()
}

// console.log(3);
const a1 = CheckNums(1,3);
const r1 = "false";

assert(r1);
<commit_msg>update function to es6/7<commit_after>const assert = require('assert');

// Have the func CheckNums(num1,num2) take both parameters being
// passed and return the string true if num2 is greater than num1,
// otherwise return the string false.
// If the parameter values are equal to each other then return the string -1.
const CheckNums = (num1, num2) => {
  if (num1 === num2) return '-1';
  return (num2 > num1).toString();
};

// console.log(3);
const a1 = CheckNums(1, 3);
const r1 = 'false';

assert(r1, a1);

// Test Cases
// Input:3 & num2 = 122
// Output:"true"

// Input:67 & num2 = 67
// Output:"-1"*/
// function CheckNums(num1,num2){
//  if (num2 > num1)
//  return 'true';
//  if (num1 === num2)
//  return '-1';
//  else
//  return 'false' }

{'fraction_non_alphanumeric': 0.16856187290969898, 'fraction_numerical': 0.05016722408026756, 'mean_word_length': 3.0986301369863014, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, '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': '1514303', 'n_tokens_mistral': 546, 'n_tokens_neox': 530, 'n_words': 176}