<commit_before><?php

require_once 'cron_jobs/helper.php';
require_once 'actions/jc_admin.php';


////////////////////////////////////////////////////////////////////////////
// JOURNAL CLUB

echo "<p>Scheduling JCs </p>";

$jcs = getActiveJCs( );
foreach( $jcs as $jc )
{
    $jcID = $jc[ 'id' ];

    $jcDay =  'This ' . $jc[ 'day' ];
    $nWeeksFromjcDay = strtotime($jcDay) + 3 * 7 * 24 * 3600;  // Three weeks from this monday.

    if( isNowEqualsGivenDayAndTime( $jcDay, '12:00' ) )
    {
        echo printInfo( "JcID is $jcID with $jcDay." );
        error_log( "Scheduling for $jcID" );
        echo printInfo( "Scheduling for $jcID" );<commit_msg>Pick JC next prester on JC time.<commit_after><?php

require_once 'cron_jobs/helper.php';
require_once 'actions/jc_admin.php';


////////////////////////////////////////////////////////////////////////////
// JOURNAL CLUB

echo "<p>Scheduling JCs </p>";

$jcs = getActiveJCs( );
foreach( $jcs as $jc )
{
    $jcID = $jc[ 'id' ];

    $jcDay =  'This ' . $jc[ 'day' ];
    $nWeeksFromjcDay = strtotime($jcDay) + 3 * 7 * 24 * 3600;  // Three weeks from this monday.

    if( isNowEqualsGivenDayAndTime( $jcDay, dbTime( $jc['time'] ) ) )
    {
        echo printInfo( "JcID is $jcID with $jcDay." );
        error_log( "Scheduling for $jcID" );
        echo printInfo( "Scheduling for $jcID" );
{'fraction_non_alphanumeric': 0.2601927353595256, 'fraction_numerical': 0.014825796886582653, 'mean_word_length': 2.013392857142857, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, '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': '5313616', 'n_tokens_mistral': 532, 'n_tokens_neox': 471, 'n_words': 117}