<commit_before><?php
namespace GoRemote\Controller;

use Silex\Application;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;

class HomepageController
{
    public function indexAction(Request $request, Application $app)
    {
    	$latestJobs = $app['db']->fetchAll('select jobs.*, unix_timestamp(jobs.dateadded) as dateadded_unixtime, companies.name as companyname, companies.url as companyurl, sources.name as sourcename from jobs inner join companies using(companyid) inner join sources using(sourceid) order by dateadded desc limit 30');
        $render = $app['twig']->render('index.html.twig', [ 'latestJobs' => $latestJobs ]);

        return $render;
    }<commit_msg>only show a maximum of 80 jobs from the past month<commit_after><?php
namespace GoRemote\Controller;

use Silex\Application;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;

class HomepageController
{
    public function indexAction(Request $request, Application $app)
    {
    	$latestJobs = $app['db']->fetchAll('select jobs.*, unix_timestamp(jobs.dateadded) as dateadded_unixtime, companies.name as companyname, companies.url as companyurl, sources.name as sourcename from jobs inner join companies using(companyid) inner join sources using(sourceid) where dateadded > UTC_TIMESTAMP() - INTERVAL 1 MONTH order by dateadded desc limit 70');
        $render = $app['twig']->render('index.html.twig', [ 'latestJobs' => $latestJobs ]);

        return $render;
    }
{'fraction_non_alphanumeric': 0.10835509138381201, 'fraction_numerical': 0.0045691906005221935, 'mean_word_length': 5.181451612903226, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 10, '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': '7651427', 'n_tokens_mistral': 447, 'n_tokens_neox': 433, 'n_words': 124}