<commit_before><!DOCTYPE html>
<html>
<head>
    <title>PyFarm:Agent - Assign</title>
    <link href="static/css/layout.css" rel="stylesheet">
</head>
<body>

    <!-- TODO: style/layout needs some work -->
    <h2>Agent Assignment Parameters</h2>
    <p>
        To assign work to this agent you may send a <i>POST</i> request to
        <a href="{{uri}}">{{uri}}</a>.  Below is a list of response codes you
        should normally expect to handle.  Any response code other than those
        listed below should be considered an unhandled error that warrants
        being retried.

        <ul>
            <li><b>201 ACCEPTED</b> -
                task was accepted successfully</li>
            <li><b>400 BAD REQUEST</b> -
                there's something wrong with the data that was provided.
                Check the response for help.</li>
            <li><b>409 CONFLICT</b> -
                The provided task is already running on this machine</li>
            <li><b>503 SERVICE UNAVAILABLE</b> -
                There are not enough available resources to handle the
                requested task at this time</li><commit_msg>adding missing 415 status<commit_after><!DOCTYPE html>
<html>
<head>
    <title>PyFarm:Agent - Assign</title>
    <link href="static/css/layout.css" rel="stylesheet">
</head>
<body>

    <!-- TODO: style/layout needs some work -->
    <h2>Agent Assignment Parameters</h2>
    <p>
        To assign work to this agent you may send a <i>POST</i> request to
        <a href="{{uri}}">{{uri}}</a>.  Below is a list of response codes you
        should normally expect to handle.  Any response code other than those
        listed below should be considered an unhandled error that warrants
        being retried.

        <ul>
            <li><b>201 ACCEPTED</b> -
                task was accepted successfully</li>
            <li><b>400 BAD REQUEST</b> -
                there's something wrong with the data that was provided.
                Check the response for help.</li>
            <li><b>409 CONFLICT</b> -
                The provided task is already running on this machine</li>
            <li><b>415 UNSUPPORTED MEDIA TYPE</b> -
                Be sure you've set application/json as the content type.</li>
            <li><b>503 SERVICE UNAVAILABLE</b> -
                There are not enough available resources to handle the
                requested task at this time</li>
{'fraction_non_alphanumeric': 0.10608552631578948, 'fraction_numerical': 0.013980263157894737, 'mean_word_length': 2.068095838587642, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 73, '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': '5383566', 'n_tokens_mistral': 712, 'n_tokens_neox': 661, 'n_words': 251}