<commit_before># coding = utf-8

import scrapy
import time
from ip_proxy.utils.log import log
import traceback
from ip_proxy.config import QUEUE_NUM, CHECK_TIMES

class CheckItem(scrapy.Item):
    delay = scrapy.Field()
    level = scrapy.Field()
    ip = scrapy.Field()
    port = scrapy.Field()
    scheme = scrapy.Field()
    times = scrapy.Field()

    def get_update_sql(self):
        try:
            logger = log.getLogger('development')
            if self['delay'] != -1:
                self['level'] = int(self['delay'] / 1000) + 1
                if self['level'] > (QUEUE_NUM - 1):<commit_msg>change level standard<commit_after># coding = utf-8

import scrapy
import time
from ip_proxy.utils.log import log
import traceback
from ip_proxy.config import QUEUE_NUM, CHECK_TIMES

class CheckItem(scrapy.Item):
    delay = scrapy.Field()
    level = scrapy.Field()
    ip = scrapy.Field()
    port = scrapy.Field()
    scheme = scrapy.Field()
    times = scrapy.Field()

    def get_update_sql(self):
        try:
            logger = log.getLogger('development')
            if self['delay'] != -1:
                self['level'] = int(self['delay'] / 10000) + 1
                if self['level'] > (QUEUE_NUM - 1):
{'fraction_non_alphanumeric': 0.12755519215044972, 'fraction_numerical': 0.013900245298446443, 'mean_word_length': 2.5478260869565217, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4115338', 'n_tokens_mistral': 408, 'n_tokens_neox': 382, 'n_words': 97}