<commit_before><?php
$servername = "localhost";
$username = "iqromedi";
$password = "<PASSWORD>";
$dbname = "iqromedi";
// Create connection
$conn = new mysqli($servername, $username, $password,$dbname);
// Check connection
if ($conn->connect_error) {
    die("Connection failed: " . $conn->connect_error);
} 
$cur_date_start = date('Y-m')."-01"." 00:00:00";
$cur_date_end = date('Y-m')."-31"." 23:59:59";
$bulan_ayeuna = "AND call_start_time BETWEEN '".$cur_date_start."' AND '".$cur_date_end."' ";
$start_date = $_GET["s"]." 00:00:00";
$end_date = $_GET["e"]." 23:59:59";
$status = "SendingOKNoReport";
$sql = "SELECT SendingDateTime, DestinationNumber, TextDecoded, Status FROM cdrs WHERE Status = ".$status." AND call_start_time BETWEEN '".$start_date."' AND '".$end_date."' ";
$result = $conn->query($sql);
if ($result->num_rows > 0) {
    // output data of each row
    while($row = $result->fetch_assoc()) {<commit_msg>add status<commit_after><?php
$servername = "localhost";
$username = "iqromedi";
$password = "<PASSWORD>";
$dbname = "iqromedi";
// Create connection
$conn = new mysqli($servername, $username, $password,$dbname);
// Check connection
if ($conn->connect_error) {
    die("Connection failed: " . $conn->connect_error);
} 
$cur_date_start = date('Y-m')."-01"." 00:00:00";
$cur_date_end = date('Y-m')."-31"." 23:59:59";
$bulan_ayeuna = "AND call_start_time BETWEEN '".$cur_date_start."' AND '".$cur_date_end."' ";
$start_date = $_GET["s"]." 00:00:00";
$end_date = $_GET["e"]." 23:59:59";
//$status = "SendingOKNoReport";
$status = $_GET["stat"];
$sql = "SELECT SendingDateTime, DestinationNumber, TextDecoded, Status FROM cdrs WHERE Status = ".$status." AND call_start_time BETWEEN '".$start_date."' AND '".$end_date."' ";
$result = $conn->query($sql);
if ($result->num_rows > 0) {
    // output data of each row
    while($row = $result->fetch_assoc()) {
{'fraction_non_alphanumeric': 0.21855010660980811, 'fraction_numerical': 0.03091684434968017, 'mean_word_length': 5.36271186440678, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 17, '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': '1702099', 'n_tokens_mistral': 738, 'n_tokens_neox': 689, 'n_words': 149}