<commit_before><?php
include 'lib.php';

$userid = 'false';
$cid = 'false';

if(isset($_GET['userid'])) {
    $userid = intval($_GET['userid']);
}

if(isset($_GET['cid'])) {
    $cid = $_GET['cid'];
}

if($userid === 'false' || $cid === 'false') {
	die(json_encode(array(array("status"=>"error","message"=>"Missing params"))));
}

$info = getCollection($userid, $cid));
$assets = getCollectionAssetList($userid, $cid);

echo json_encode(array("info" => $info, "assets" => $assets));
?><commit_msg>Another syntax error<commit_after><?php
include 'lib.php';

$userid = 'false';
$cid = 'false';

if(isset($_GET['userid'])) {
    $userid = intval($_GET['userid']);
}

if(isset($_GET['cid'])) {
    $cid = $_GET['cid'];
}

if($userid === 'false' || $cid === 'false') {
	die(json_encode(array(array("status"=>"error","message"=>"Missing params"))));
}

$info = getCollection($userid, $cid);
$assets = getCollectionAssetList($userid, $cid);

echo json_encode(array("info" => $info, "assets" => $assets));
?>
{'fraction_non_alphanumeric': 0.267, 'fraction_numerical': 0.0, 'mean_word_length': 6.75968992248062, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, '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': '1353989', 'n_tokens_mistral': 368, 'n_tokens_neox': 382, 'n_words': 62}