<commit_before>var busesUpdateIntervalId;

var loadFunction = function loadOneBusAway(stopId){
    $.post("http://localhost:8080/mirrormirror/service/doAgentGet", "http://api.pugetsound.onebusaway.org/api/where/arrivals-and-departures-for-stop/1_" + stopId + ".json?key={oba.key}",
    function(json) {
        var date = new Date();

        var stopName;
        var stops = json['data']['references']['stops'];
        for (index in stops) {
            if (stops[index]['id'] === stopId) {
                stopName = stops[index]['name'];
            }
        }

        var html = '<div class="bussTitle">' + stopName + '</div>';
        html +='<table>';

        var arrivals = json['data']['entry']['arrivalsAndDepartures'];<commit_msg>Fixed stop number handling<commit_after>var busesUpdateIntervalId;

var loadFunction = function loadOneBusAway(stopId){
    stopId = "1_" + stopId;
    $.post("http://localhost:8080/mirrormirror/service/doAgentGet", "http://api.pugetsound.onebusaway.org/api/where/arrivals-and-departures-for-stop/" + stopId + ".json?key={oba.key}",
    function(json) {
        console.log(json);
        var date = new Date();

        var stopName;
        var stops = json['data']['references']['stops'];
        for (index in stops) {
            if (stops[index]['id'] === stopId) {
                stopName = stops[index]['name'];
            }
        }

        var html = '<div class="bussTitle">' + stopName + '</div>';
        html +='<table>';

        var arrivals = json['data']['entry']['arrivalsAndDepartures'];
{'fraction_non_alphanumeric': 0.17544987146529564, 'fraction_numerical': 0.006426735218508998, 'mean_word_length': 2.806845965770171, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '5096811', 'n_tokens_mistral': 496, 'n_tokens_neox': 477, 'n_words': 86}