def highestAverage(requestContext, seriesList, n=1):
    return sorted(seriesList, key=safeAvg)[-n:]
Write the closing </stream> tag to make this XML well formed.
dataset/ETHPy150Open brutasse/graphite-api/graphite_api/functions.py/highestAverage--crossover with--dataset/ETHPy150Open splunk/splunk-app-twitter/twitter2/bin/splunklib/modularinput/event_writer.py/EventWriter.close