<commit_before># Copyright 2015-2018 <NAME>.
# This file is part of the overpass-api-python-wrapper project
# which is licensed under Apache 2.0.
# See LICENSE.txt for the full license text.


class Utils(object):

    @classmethod
    def to_overpass_id(cls, osmid, area=False):
        if area:
            area_base = 2400000000
            return int(osmid) + area_base
        relation_base = 3600000000
        return int(osmid) + relation_base<commit_msg>class method to static method<commit_after># Copyright 2015-2018 <NAME>.
# This file is part of the overpass-api-python-wrapper project
# which is licensed under Apache 2.0.
# See LICENSE.txt for the full license text.


class Utils(object):

    @staticmethod
    def to_overpass_id(osmid, area=False):
        if area:
            area_base = 2400000000
            return int(osmid) + area_base
        relation_base = 3600000000
        return int(osmid) + relation_base
{'fraction_non_alphanumeric': 0.07799145299145299, 'fraction_numerical': 0.0641025641025641, 'mean_word_length': 2.904166666666667, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 4, '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': '1308479', 'n_tokens_mistral': 326, 'n_tokens_neox': 268, 'n_words': 90}