<commit_before>import { extend, isNil, isObject, isInteger, hasOwn, sign } from '../../core/util';
import Coordinate from '../../geo/Coordinate';
import Extent from '../../geo/Extent';
import * as projections from '../../geo/projection';
import Transformation from '../../geo/transformation/Transformation';
import { Measurer } from '../../geo/measurer';

const DefaultSpatialRef = {
    'EPSG:3857': {
        'resolutions': (function () {
            const resolutions = [];
            const d = 2 * 6378137 * Math.PI;
            for (let i = 0; i < 20; i++) {
                resolutions[i] = d / (256 * Math.pow(2, i));
            }
            return resolutions;<commit_msg>set max zoom of 3857 to 20<commit_after>import { extend, isNil, isObject, isInteger, hasOwn, sign } from '../../core/util';
import Coordinate from '../../geo/Coordinate';
import Extent from '../../geo/Extent';
import * as projections from '../../geo/projection';
import Transformation from '../../geo/transformation/Transformation';
import { Measurer } from '../../geo/measurer';

const DefaultSpatialRef = {
    'EPSG:3857': {
        'resolutions': (function () {
            const resolutions = [];
            const d = 2 * 6378137 * Math.PI;
            for (let i = 0; i < 21; i++) {
                resolutions[i] = d / (256 * Math.pow(2, i));
            }
            return resolutions;
{'fraction_non_alphanumeric': 0.17403915881073242, 'fraction_numerical': 0.03190717911530094, 'mean_word_length': 2.2018561484918795, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '5705234', 'n_tokens_mistral': 431, 'n_tokens_neox': 398, 'n_words': 117}