hexsha string | size int64 | ext string | lang string | max_stars_repo_path string | max_stars_repo_name string | max_stars_repo_head_hexsha string | max_stars_repo_licenses list | max_stars_count int64 | max_stars_repo_stars_event_min_datetime string | max_stars_repo_stars_event_max_datetime string | max_issues_repo_path string | max_issues_repo_name string | max_issues_repo_head_hexsha string | max_issues_repo_licenses list | max_issues_count int64 | max_issues_repo_issues_event_min_datetime string | max_issues_repo_issues_event_max_datetime string | max_forks_repo_path string | max_forks_repo_name string | max_forks_repo_head_hexsha string | max_forks_repo_licenses list | max_forks_count int64 | max_forks_repo_forks_event_min_datetime string | max_forks_repo_forks_event_max_datetime string | content string | avg_line_length float64 | max_line_length int64 | alphanum_fraction float64 | qsc_code_num_words_quality_signal int64 | qsc_code_num_chars_quality_signal float64 | qsc_code_mean_word_length_quality_signal float64 | qsc_code_frac_words_unique_quality_signal float64 | qsc_code_frac_chars_top_2grams_quality_signal float64 | qsc_code_frac_chars_top_3grams_quality_signal float64 | qsc_code_frac_chars_top_4grams_quality_signal float64 | qsc_code_frac_chars_dupe_5grams_quality_signal float64 | qsc_code_frac_chars_dupe_6grams_quality_signal float64 | qsc_code_frac_chars_dupe_7grams_quality_signal float64 | qsc_code_frac_chars_dupe_8grams_quality_signal float64 | qsc_code_frac_chars_dupe_9grams_quality_signal float64 | qsc_code_frac_chars_dupe_10grams_quality_signal float64 | qsc_code_frac_chars_replacement_symbols_quality_signal float64 | qsc_code_frac_chars_digital_quality_signal float64 | qsc_code_frac_chars_whitespace_quality_signal float64 | qsc_code_size_file_byte_quality_signal float64 | qsc_code_num_lines_quality_signal float64 | qsc_code_num_chars_line_max_quality_signal float64 | qsc_code_num_chars_line_mean_quality_signal float64 | qsc_code_frac_chars_alphabet_quality_signal float64 | qsc_code_frac_chars_comments_quality_signal float64 | qsc_code_cate_xml_start_quality_signal float64 | qsc_code_frac_lines_dupe_lines_quality_signal float64 | qsc_code_cate_autogen_quality_signal float64 | qsc_code_frac_lines_long_string_quality_signal float64 | qsc_code_frac_chars_string_length_quality_signal float64 | qsc_code_frac_chars_long_word_length_quality_signal float64 | qsc_code_frac_lines_string_concat_quality_signal float64 | qsc_code_cate_encoded_data_quality_signal float64 | qsc_code_frac_chars_hex_words_quality_signal float64 | qsc_code_frac_lines_prompt_comments_quality_signal float64 | qsc_code_frac_lines_assert_quality_signal float64 | qsc_codepython_cate_ast_quality_signal float64 | qsc_codepython_frac_lines_func_ratio_quality_signal float64 | qsc_codepython_cate_var_zero_quality_signal bool | qsc_codepython_frac_lines_pass_quality_signal float64 | qsc_codepython_frac_lines_import_quality_signal float64 | qsc_codepython_frac_lines_simplefunc_quality_signal float64 | qsc_codepython_score_lines_no_logic_quality_signal float64 | qsc_codepython_frac_lines_print_quality_signal float64 | qsc_code_num_words int64 | qsc_code_num_chars int64 | qsc_code_mean_word_length int64 | qsc_code_frac_words_unique null | qsc_code_frac_chars_top_2grams int64 | qsc_code_frac_chars_top_3grams int64 | qsc_code_frac_chars_top_4grams int64 | qsc_code_frac_chars_dupe_5grams int64 | qsc_code_frac_chars_dupe_6grams int64 | qsc_code_frac_chars_dupe_7grams int64 | qsc_code_frac_chars_dupe_8grams int64 | qsc_code_frac_chars_dupe_9grams int64 | qsc_code_frac_chars_dupe_10grams int64 | qsc_code_frac_chars_replacement_symbols int64 | qsc_code_frac_chars_digital int64 | qsc_code_frac_chars_whitespace int64 | qsc_code_size_file_byte int64 | qsc_code_num_lines int64 | qsc_code_num_chars_line_max int64 | qsc_code_num_chars_line_mean int64 | qsc_code_frac_chars_alphabet int64 | qsc_code_frac_chars_comments int64 | qsc_code_cate_xml_start int64 | qsc_code_frac_lines_dupe_lines int64 | qsc_code_cate_autogen int64 | qsc_code_frac_lines_long_string int64 | qsc_code_frac_chars_string_length int64 | qsc_code_frac_chars_long_word_length int64 | qsc_code_frac_lines_string_concat null | qsc_code_cate_encoded_data int64 | qsc_code_frac_chars_hex_words int64 | qsc_code_frac_lines_prompt_comments int64 | qsc_code_frac_lines_assert int64 | qsc_codepython_cate_ast int64 | qsc_codepython_frac_lines_func_ratio int64 | qsc_codepython_cate_var_zero int64 | qsc_codepython_frac_lines_pass int64 | qsc_codepython_frac_lines_import int64 | qsc_codepython_frac_lines_simplefunc int64 | qsc_codepython_score_lines_no_logic int64 | qsc_codepython_frac_lines_print int64 | effective string | hits int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ad8a641638c537924f23dfa6d00051975e4ccead | 6,353 | py | Python | test/python/test_circuit_combine_extend.py | niefermar/CuanticaProgramacion | cf066149b4bd769673e83fd774792e9965e5dbc0 | [
"Apache-2.0"
] | null | null | null | test/python/test_circuit_combine_extend.py | niefermar/CuanticaProgramacion | cf066149b4bd769673e83fd774792e9965e5dbc0 | [
"Apache-2.0"
] | null | null | null | test/python/test_circuit_combine_extend.py | niefermar/CuanticaProgramacion | cf066149b4bd769673e83fd774792e9965e5dbc0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2018, IBM.
#
# This source code is licensed under the Apache License, Version 2.0 found in
# the LICENSE.txt file in the root directory of this source tree.
# pylint: disable=invalid-name, unused-import
"""Tests for combining and extending circuits across width and depth"""
impor... | 35.892655 | 85 | 0.621439 | 735 | 6,353 | 5.258503 | 0.183673 | 0.049677 | 0.037257 | 0.031048 | 0.827426 | 0.782924 | 0.755498 | 0.755498 | 0.755498 | 0.755498 | 0 | 0.04766 | 0.270109 | 6,353 | 176 | 86 | 36.096591 | 0.785853 | 0.164017 | 0 | 0.84127 | 0 | 0 | 0.031316 | 0.008838 | 0 | 0 | 0 | 0 | 0.095238 | 1 | 0.063492 | false | 0 | 0.031746 | 0 | 0.103175 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d100b58ee3e62b2fb5f04b6aed9be9c48570ba5b | 204 | py | Python | qset/utils/__init__.py | QsetAI/qset-python-client | 9fe2cb409bcb9597780c358504f084d011fd6fcb | [
"MIT"
] | null | null | null | qset/utils/__init__.py | QsetAI/qset-python-client | 9fe2cb409bcb9597780c358504f084d011fd6fcb | [
"MIT"
] | null | null | null | qset/utils/__init__.py | QsetAI/qset-python-client | 9fe2cb409bcb9597780c358504f084d011fd6fcb | [
"MIT"
] | null | null | null | from .pandas_writer import PandasCSVWriter
from .coder import *
from .pandas_writer import *
from .time import *
from .tqdm import *
from .split_file import *
from .builtin import *
from .numeric import * | 25.5 | 42 | 0.77451 | 28 | 204 | 5.535714 | 0.428571 | 0.387097 | 0.206452 | 0.283871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151961 | 204 | 8 | 43 | 25.5 | 0.895954 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
d13f721a69fbd8cb9aecb68720b685ec5808c348 | 21,385 | py | Python | tests/hwsim/test_radius.py | vanhoefm/apbleed | 32a78e257170f3adc8ad2e9f7fc3cf221721cab0 | [
"Unlicense"
] | 19 | 2015-04-02T13:50:00.000Z | 2022-01-19T02:45:18.000Z | tests/hwsim/test_radius.py | vanhoefm/apbleed | 32a78e257170f3adc8ad2e9f7fc3cf221721cab0 | [
"Unlicense"
] | null | null | null | tests/hwsim/test_radius.py | vanhoefm/apbleed | 32a78e257170f3adc8ad2e9f7fc3cf221721cab0 | [
"Unlicense"
] | 11 | 2015-05-18T07:37:12.000Z | 2021-11-12T10:28:50.000Z | # RADIUS tests
# Copyright (c) 2013-2014, Jouni Malinen <j@w1.fi>
#
# This software may be distributed under the terms of the BSD license.
# See README for more details.
import logging
logger = logging.getLogger()
import time
import hostapd
def connect(dev, ssid, wait_connect=True):
dev.connect(ssid, key_mgmt="W... | 43.911704 | 95 | 0.627309 | 2,573 | 21,385 | 5.099495 | 0.102215 | 0.062953 | 0.058532 | 0.03704 | 0.807179 | 0.784087 | 0.77174 | 0.746361 | 0.724487 | 0.69263 | 0 | 0.023765 | 0.24246 | 21,385 | 486 | 96 | 44.002058 | 0.786173 | 0.023287 | 0 | 0.70892 | 0 | 0 | 0.305743 | 0.054076 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021127 | false | 0.011737 | 0.030516 | 0 | 0.056338 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d172989417627bb938ab44782edc52713c20130d | 53,663 | py | Python | awx/main/south_migrations/0038_v148_changes.py | alexander-bauer/awx | d1319b739406dad988f97c41cb92093f180ba822 | [
"Apache-2.0"
] | 1 | 2021-06-11T20:01:06.000Z | 2021-06-11T20:01:06.000Z | awx/main/south_migrations/0038_v148_changes.py | alexander-bauer/awx | d1319b739406dad988f97c41cb92093f180ba822 | [
"Apache-2.0"
] | 4 | 2020-04-29T23:03:16.000Z | 2022-03-01T23:56:09.000Z | awx/main/south_migrations/0038_v148_changes.py | alexander-bauer/awx | d1319b739406dad988f97c41cb92093f180ba822 | [
"Apache-2.0"
] | 1 | 2018-06-06T08:47:22.000Z | 2018-06-06T08:47:22.000Z | # -*- coding: utf-8 -*-
from south.utils import datetime_utils as datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
'''
Rename tables/columns to be consistent with model/field names.
'''
def forwards(self, orm):
... | 107.111776 | 274 | 0.600991 | 5,715 | 53,663 | 5.464392 | 0.049694 | 0.084024 | 0.146595 | 0.209421 | 0.875116 | 0.848762 | 0.837267 | 0.805469 | 0.740241 | 0.667489 | 0 | 0.005374 | 0.153868 | 53,663 | 500 | 275 | 107.326 | 0.682399 | 0.001584 | 0 | 0.294606 | 0 | 0 | 0.604197 | 0.316717 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004149 | false | 0.008299 | 0.008299 | 0 | 0.018672 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
0f02045d7f8adc811c8ccf3d79fc65211614afab | 377,639 | py | Python | dataStore.py | lpmi-13/tinderflow-python | be7c923fec0ffb1054112fb246b102fe476472e4 | [
"MIT"
] | 1 | 2018-01-09T20:01:39.000Z | 2018-01-09T20:01:39.000Z | dataStore.py | lpmi-13/tinderflow-python | be7c923fec0ffb1054112fb246b102fe476472e4 | [
"MIT"
] | 1 | 2021-06-03T22:34:56.000Z | 2021-06-03T22:34:56.000Z | dataStore.py | lpmi-13/tinderflow-python | be7c923fec0ffb1054112fb246b102fe476472e4 | [
"MIT"
] | null | null | null | textArray = ['Improve description', 'Explain a bit better what the extension does.', 'Update icons', 'Fix lint problems', "Don't record time when the window is not active", 'Merge pull request #1 from andreea-lucau/add_watch', 'Update based on comments', 'Update based on comments', 'More stuff', 'Move all url manipulat... | 188,819.5 | 377,638 | 0.753068 | 60,564 | 377,639 | 4.667162 | 0.088204 | 0.022999 | 0.015216 | 0.012166 | 0.187906 | 0.166329 | 0.152203 | 0.137404 | 0.112817 | 0.084907 | 0 | 0.025069 | 0.142401 | 377,639 | 1 | 377,639 | 377,639 | 0.847713 | 0 | 0 | 0 | 0 | 286 | 0.86079 | 0.0394 | 0 | 0 | 0.000053 | 0 | 1 | 1 | 0 | false | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 10 |
0f1bc60c2a2a8208300da06c1e2305f1ec3e5903 | 322 | py | Python | wpdatabase/exceptions/__init__.py | cariad/py-wordpress-database | 6b88f31531d084bad466a4236f75b15f8aa98599 | [
"MIT"
] | 1 | 2019-07-02T21:48:10.000Z | 2019-07-02T21:48:10.000Z | wpdatabase/exceptions/__init__.py | cariad/py-wordpress-database | 6b88f31531d084bad466a4236f75b15f8aa98599 | [
"MIT"
] | null | null | null | wpdatabase/exceptions/__init__.py | cariad/py-wordpress-database | 6b88f31531d084bad466a4236f75b15f8aa98599 | [
"MIT"
] | 1 | 2020-09-07T13:56:21.000Z | 2020-09-07T13:56:21.000Z | """ wpdatabase exceptions. """
from wpdatabase.exceptions.invalid_arguments import InvalidArgumentsError # pylint: disable=line-too-long
from wpdatabase.exceptions.invalid_database_name import InvalidDatabaseNameError # pylint: disable=line-too-long
from wpdatabase.exceptions.region_not_known import RegionNotKnownErro... | 53.666667 | 112 | 0.857143 | 35 | 322 | 7.742857 | 0.542857 | 0.295203 | 0.265683 | 0.228782 | 0.354244 | 0.354244 | 0.354244 | 0.354244 | 0 | 0 | 0 | 0 | 0.071429 | 322 | 5 | 113 | 64.4 | 0.906355 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
0f5f78b0f66c974b7c992ca7f715790502131612 | 15,645 | py | Python | src/scraping/covid_scraping/test_dump_to_schema.py | mfleming99/scraping-qas | 922e54d89965d735efa5a26afd59163129b25328 | [
"Apache-2.0"
] | 4 | 2020-08-01T01:29:29.000Z | 2021-04-26T10:11:34.000Z | src/scraping/covid_scraping/test_dump_to_schema.py | mfleming99/scraping-qas | 922e54d89965d735efa5a26afd59163129b25328 | [
"Apache-2.0"
] | 23 | 2020-03-26T00:48:09.000Z | 2020-10-20T01:20:45.000Z | src/scraping/covid_scraping/test_dump_to_schema.py | mfleming99/scraping-qas | 922e54d89965d735efa5a26afd59163129b25328 | [
"Apache-2.0"
] | 4 | 2020-06-04T04:17:40.000Z | 2021-07-08T10:58:37.000Z | import json
import uuid
import pdb
def check_keys(idx, obj):
check_keys_v1(idx, obj)
def check_values(idx, obj):
check_values_v1(idx, obj)
def check_keys_v1(idx, obj):
assert 'topic' in obj, "'topic' in the %d example is missing" % idx
assert 'sourceUrl' in obj, "'source' in the %d example is missing... | 68.021739 | 134 | 0.687312 | 2,232 | 15,645 | 4.793459 | 0.066308 | 0.06309 | 0.075708 | 0.164034 | 0.904384 | 0.881671 | 0.875035 | 0.875035 | 0.871857 | 0.861856 | 0 | 0.003173 | 0.194183 | 15,645 | 229 | 135 | 68.318777 | 0.845483 | 0.052924 | 0 | 0.805263 | 0 | 0 | 0.529364 | 0.012492 | 0 | 0 | 0 | 0 | 0.710526 | 1 | 0.063158 | false | 0 | 0.015789 | 0 | 0.163158 | 0.005263 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
0f76c38d46e2efabe5af4786c348a1daa5e097b3 | 16,890 | py | Python | tests/scanner/scanners/retention_scanner_test.py | aarontp/forseti-security | 6d03c14114468ff6170846392b7d14a0619fa9f0 | [
"Apache-2.0"
] | 921 | 2017-03-09T01:01:24.000Z | 2019-04-16T11:38:25.000Z | tests/scanner/scanners/retention_scanner_test.py | aarontp/forseti-security | 6d03c14114468ff6170846392b7d14a0619fa9f0 | [
"Apache-2.0"
] | 1,996 | 2017-03-03T22:07:50.000Z | 2019-04-17T00:02:28.000Z | tests/scanner/scanners/retention_scanner_test.py | aarontp/forseti-security | 6d03c14114468ff6170846392b7d14a0619fa9f0 | [
"Apache-2.0"
] | 241 | 2017-03-09T01:00:04.000Z | 2019-04-15T18:53:35.000Z | # Copyright 2018 The Forseti Security Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by ap... | 34.896694 | 93 | 0.590527 | 1,807 | 16,890 | 5.258439 | 0.124516 | 0.044201 | 0.035782 | 0.048832 | 0.815723 | 0.783098 | 0.748369 | 0.736582 | 0.723637 | 0.6988 | 0 | 0.017538 | 0.314683 | 16,890 | 483 | 94 | 34.968944 | 0.803369 | 0.069686 | 0 | 0.724599 | 0 | 0 | 0.16688 | 0.002174 | 0 | 0 | 0 | 0 | 0.010695 | 1 | 0.029412 | false | 0 | 0.034759 | 0 | 0.085562 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7e88127cb7b32380762e9df2fde0f1a32a16e618 | 186 | py | Python | post-release-data.py | virgilwashere/easy-aws-login | 00fb36756381d2e99218b7f0a5a3bcd01239890f | [
"BSD-2-Clause"
] | 6 | 2019-04-19T14:48:19.000Z | 2020-02-19T16:04:02.000Z | post-release-data.py | virgilwashere/easy-aws-login | 00fb36756381d2e99218b7f0a5a3bcd01239890f | [
"BSD-2-Clause"
] | null | null | null | post-release-data.py | virgilwashere/easy-aws-login | 00fb36756381d2e99218b7f0a5a3bcd01239890f | [
"BSD-2-Clause"
] | 1 | 2019-09-05T06:37:29.000Z | 2019-09-05T06:37:29.000Z | #!/usr/bin/env python
import os
print(f'{{"tag_name": "v{os.environ["CODE_VERSION"]}", "name": "{os.environ["CODE_VERSION"]}", "body": "Release number {os.environ["CODE_VERSION"]}"}}')
| 37.2 | 152 | 0.655914 | 27 | 186 | 4.37037 | 0.62963 | 0.228814 | 0.330508 | 0.508475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069892 | 186 | 4 | 153 | 46.5 | 0.682081 | 0.107527 | 0 | 0 | 0 | 0.5 | 0.865854 | 0.573171 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 11 |
7e89b849d35406b47fd9d97b0dd1bb84ac6431e3 | 22,959 | py | Python | tests/unit/ppr/test_change_statement.py | doug-lovett/test-schemas-dl | a05e87b983f2c3559c081dd65aff05e2c67e6186 | [
"Apache-2.0"
] | null | null | null | tests/unit/ppr/test_change_statement.py | doug-lovett/test-schemas-dl | a05e87b983f2c3559c081dd65aff05e2c67e6186 | [
"Apache-2.0"
] | null | null | null | tests/unit/ppr/test_change_statement.py | doug-lovett/test-schemas-dl | a05e87b983f2c3559c081dd65aff05e2c67e6186 | [
"Apache-2.0"
] | null | null | null | # Copyright © 2020 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agr... | 29.933507 | 126 | 0.702295 | 2,539 | 22,959 | 6.233557 | 0.069319 | 0.124344 | 0.032855 | 0.053074 | 0.909332 | 0.905225 | 0.901055 | 0.888734 | 0.875845 | 0.836608 | 0 | 0.003548 | 0.202099 | 22,959 | 766 | 127 | 29.972585 | 0.860364 | 0.1754 | 0 | 0.876228 | 0 | 0 | 0.204595 | 0.053647 | 0 | 0 | 0 | 0 | 0.078585 | 1 | 0.076621 | false | 0 | 0.005894 | 0 | 0.082515 | 0.157171 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7e9c5ec0971c011cdc0602f1eacdd8dac86f3831 | 176 | py | Python | faebryk/exporters/netlist/__init__.py | ruben-iteng/faebryk | 58810da4cb24581f421c39784ccf61e1a4ea8ae5 | [
"MIT"
] | 7 | 2021-11-22T20:02:14.000Z | 2022-03-04T19:35:04.000Z | faebryk/exporters/netlist/__init__.py | ruben-iteng/faebryk | 58810da4cb24581f421c39784ccf61e1a4ea8ae5 | [
"MIT"
] | 45 | 2021-11-22T20:24:40.000Z | 2022-03-25T11:01:28.000Z | faebryk/exporters/netlist/__init__.py | ruben-iteng/faebryk | 58810da4cb24581f421c39784ccf61e1a4ea8ae5 | [
"MIT"
] | 3 | 2021-11-22T19:58:08.000Z | 2021-12-17T16:14:08.000Z | # This file is part of the faebryk project
# SPDX-License-Identifier: MIT
import faebryk.exporters.netlist.kicad
import faebryk.exporters.netlist.graph
from .netlist import *
| 25.142857 | 42 | 0.806818 | 25 | 176 | 5.68 | 0.72 | 0.183099 | 0.309859 | 0.408451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119318 | 176 | 6 | 43 | 29.333333 | 0.916129 | 0.392045 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
0e22fd731d59bed7ba584b654941d6f1717d240b | 81 | py | Python | brs_data/__init__.py | harwiltz/bach-robot-suite | 1126a665266cc5819d331af79effd03f3efe043f | [
"MIT"
] | null | null | null | brs_data/__init__.py | harwiltz/bach-robot-suite | 1126a665266cc5819d331af79effd03f3efe043f | [
"MIT"
] | null | null | null | brs_data/__init__.py | harwiltz/bach-robot-suite | 1126a665266cc5819d331af79effd03f3efe043f | [
"MIT"
] | null | null | null | import os
def getDataPath():
return os.path.join(os.path.dirname(__file__))
| 16.2 | 50 | 0.728395 | 12 | 81 | 4.583333 | 0.75 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135802 | 81 | 4 | 51 | 20.25 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
0e7ed59d5679c568d1087485ca2eb821046402e7 | 167 | py | Python | forward_api/forward_app/views/__init__.py | shiningsunnyday/demodraft | 20f0b67a1b0c37efb74a2b48af99ceb45663315d | [
"MIT"
] | null | null | null | forward_api/forward_app/views/__init__.py | shiningsunnyday/demodraft | 20f0b67a1b0c37efb74a2b48af99ceb45663315d | [
"MIT"
] | null | null | null | forward_api/forward_app/views/__init__.py | shiningsunnyday/demodraft | 20f0b67a1b0c37efb74a2b48af99ceb45663315d | [
"MIT"
] | null | null | null | from .user_views import *
from .helper_views import *
from .stance_views import *
from .scoring_views import *
from .policy_views import *
from .comment_views import * | 27.833333 | 28 | 0.790419 | 24 | 167 | 5.25 | 0.375 | 0.52381 | 0.595238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137725 | 167 | 6 | 29 | 27.833333 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
7efef0875594ece931f8cccb635c24bfceca0984 | 149 | py | Python | Part_2_intermediate/mod_1/lesson_6/ex_3_packages_modules/home_budget/data_parsers/excel.py | Mikma03/InfoShareacademy_Python_Courses | 3df1008c8c92831bebf1625f960f25b39d6987e6 | [
"MIT"
] | null | null | null | Part_2_intermediate/mod_1/lesson_6/ex_3_packages_modules/home_budget/data_parsers/excel.py | Mikma03/InfoShareacademy_Python_Courses | 3df1008c8c92831bebf1625f960f25b39d6987e6 | [
"MIT"
] | null | null | null | Part_2_intermediate/mod_1/lesson_6/ex_3_packages_modules/home_budget/data_parsers/excel.py | Mikma03/InfoShareacademy_Python_Courses | 3df1008c8c92831bebf1625f960f25b39d6987e6 | [
"MIT"
] | null | null | null |
def load_expenditures():
return "Expenditures from excel"
def load_expenditures_categories():
return "Expenditures categories from excel"
| 18.625 | 47 | 0.771812 | 16 | 149 | 7 | 0.4375 | 0.125 | 0.339286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161074 | 149 | 7 | 48 | 21.285714 | 0.896 | 0 | 0 | 0 | 0 | 0 | 0.385135 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
7d1303a658c946898777040c5f25f39e15dfe1b9 | 5,350 | py | Python | tests/unit/transformer/converter/test_converter.py | SimpleConstructs/fixed-width-parser | b9bb4953e66dcea2b6ce3aeb2fed58a3f34a784b | [
"Apache-2.0"
] | null | null | null | tests/unit/transformer/converter/test_converter.py | SimpleConstructs/fixed-width-parser | b9bb4953e66dcea2b6ce3aeb2fed58a3f34a784b | [
"Apache-2.0"
] | 3 | 2021-07-18T14:34:38.000Z | 2021-07-25T12:49:09.000Z | tests/unit/transformer/converter/test_converter.py | SimpleConstructs/fixed-width-transformer | b9bb4953e66dcea2b6ce3aeb2fed58a3f34a784b | [
"Apache-2.0"
] | null | null | null | import pandas as pd
import pytest
from transformer.converter import ConverterConfig, converter
from transformer.library.exceptions import ConversionError
class TestStrConverter:
class TestSuccess:
def test_int_to_str(self):
config = ConverterConfig(
segment="body",
... | 36.394558 | 108 | 0.494953 | 463 | 5,350 | 5.609071 | 0.140389 | 0.076242 | 0.123989 | 0.156334 | 0.874471 | 0.874471 | 0.874471 | 0.87139 | 0.87139 | 0.869465 | 0 | 0.014625 | 0.386542 | 5,350 | 147 | 109 | 36.394558 | 0.776661 | 0 | 0 | 0.716418 | 0 | 0 | 0.069707 | 0 | 0 | 0 | 0 | 0 | 0.089552 | 1 | 0.059701 | false | 0 | 0.029851 | 0 | 0.119403 | 0.044776 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7d3e0b1e9287cbe5b679a2691f13d76dfb971bed | 3,595 | py | Python | examples/test_samples.py | BachFive/GammaGo_3 | 3eb8e82eef01718684ba8594be49fdac04503e5e | [
"MIT"
] | null | null | null | examples/test_samples.py | BachFive/GammaGo_3 | 3eb8e82eef01718684ba8594be49fdac04503e5e | [
"MIT"
] | null | null | null | examples/test_samples.py | BachFive/GammaGo_3 | 3eb8e82eef01718684ba8594be49fdac04503e5e | [
"MIT"
] | 1 | 2020-06-11T21:55:31.000Z | 2020-06-11T21:55:31.000Z | ('KGS-2003-19-7582-.tar.gz', 4996)
('KGS-2009-19-18837-.tar.gz', 6007)
('KGS-2014-19-13029-.tar.gz', 9375)
('KGS-2008-19-14002-.tar.gz', 9208)
('KGS-2001-19-2298-.tar.gz', 673)
('KGS-2003-19-7582-.tar.gz', 297)
('KGS-2009-19-18837-.tar.gz', 10404)
('KGS-2011-19-19099-.tar.gz', 2985)
('KGS-2009-19-18837-.tar.gz', 1993)
... | 35.594059 | 36 | 0.638387 | 700 | 3,595 | 3.278571 | 0.19 | 0.217865 | 0.047059 | 0.073203 | 0.8122 | 0.8122 | 0 | 0 | 0 | 0 | 0 | 0.440353 | 0.055633 | 3,595 | 100 | 37 | 35.95 | 0.235641 | 0 | 0 | 0 | 0 | 0 | 0.690403 | 0.690403 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
adb39e8916a3647e7d15699f98dda4b0ef64ba79 | 226,138 | py | Python | reports/report_builder.py | CodeForAfrica/gmmp | d7ffe2dac16bd57e81bb3555ddea9df1fe7e9ebf | [
"Apache-2.0"
] | 4 | 2020-01-05T09:14:19.000Z | 2022-02-17T03:22:09.000Z | reports/report_builder.py | CodeForAfrica/gmmp | d7ffe2dac16bd57e81bb3555ddea9df1fe7e9ebf | [
"Apache-2.0"
] | 68 | 2019-12-23T02:19:55.000Z | 2021-04-23T06:13:36.000Z | reports/report_builder.py | CodeForAfrica/gmmp | d7ffe2dac16bd57e81bb3555ddea9df1fe7e9ebf | [
"Apache-2.0"
] | 2 | 2020-11-07T12:23:21.000Z | 2021-11-07T18:21:31.000Z | # Python
import io
from collections import Counter, OrderedDict
import logging
import datetime
# Django
from django.conf import settings
from django.db import connection
from django.db.models import Count, FieldDoesNotExist
# 3rd Party
from django_countries import countries
import xlsxwriter
# Project
from forms.mod... | 42.419434 | 253 | 0.554321 | 27,043 | 226,138 | 4.38742 | 0.025589 | 0.025108 | 0.023835 | 0.021711 | 0.856172 | 0.834065 | 0.805173 | 0.781979 | 0.758228 | 0.740259 | 0 | 0.009586 | 0.329246 | 226,138 | 5,330 | 254 | 42.427392 | 0.772631 | 0.069962 | 0 | 0.718455 | 0 | 0 | 0.054668 | 0.006636 | 0 | 0 | 0 | 0.000375 | 0 | 1 | 0.048927 | false | 0 | 0.004578 | 0.000286 | 0.0598 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
adc7678cc305cd0d7691944961e2ee5f3b0339d2 | 8,718 | py | Python | architecture_tool_django/modeling/forms.py | goldginkgo/architecture_tool_django | e4229c5938a4dd01d0877afa7b93daf68e09283b | [
"MIT"
] | 1 | 2021-08-13T01:37:29.000Z | 2021-08-13T01:37:29.000Z | architecture_tool_django/modeling/forms.py | goldginkgo/architecture_tool_django | e4229c5938a4dd01d0877afa7b93daf68e09283b | [
"MIT"
] | null | null | null | architecture_tool_django/modeling/forms.py | goldginkgo/architecture_tool_django | e4229c5938a4dd01d0877afa7b93daf68e09283b | [
"MIT"
] | 1 | 2021-07-19T07:57:54.000Z | 2021-07-19T07:57:54.000Z | from crispy_forms.helper import FormHelper
from crispy_forms.layout import HTML, Column, Div, Field, Layout, Row, Submit
from django import forms
from django.core.exceptions import ValidationError
from jsonschema import Draft4Validator
from .models import Edgetype, Nodetype, Schema
class NodeTypeCreateForm(forms.Mod... | 30.805654 | 113 | 0.488988 | 777 | 8,718 | 5.333333 | 0.137709 | 0.091699 | 0.034749 | 0.030405 | 0.857143 | 0.843388 | 0.833012 | 0.814913 | 0.755792 | 0.746139 | 0 | 0.005968 | 0.384951 | 8,718 | 282 | 114 | 30.914894 | 0.766878 | 0.003212 | 0 | 0.821429 | 0 | 0.027778 | 0.205916 | 0.022099 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031746 | false | 0 | 0.02381 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
add904ff341eab5865a6690dbeff982f9f24b6e3 | 103 | py | Python | intelligent-optimization-programs/GA/gaft/plugin_interfaces/__init__.py | taotao1234abcd/machine-learning-and-artificial-intelligence-python | 04095d03a9bbe6b6189824a6a0f63b939ea04b65 | [
"Apache-2.0"
] | null | null | null | intelligent-optimization-programs/GA/gaft/plugin_interfaces/__init__.py | taotao1234abcd/machine-learning-and-artificial-intelligence-python | 04095d03a9bbe6b6189824a6a0f63b939ea04b65 | [
"Apache-2.0"
] | null | null | null | intelligent-optimization-programs/GA/gaft/plugin_interfaces/__init__.py | taotao1234abcd/machine-learning-and-artificial-intelligence-python | 04095d03a9bbe6b6189824a6a0f63b939ea04b65 | [
"Apache-2.0"
] | null | null | null | from ..plugin_interfaces.operators import *
from ..plugin_interfaces.analysis import OnTheFlyAnalysis
| 25.75 | 57 | 0.84466 | 11 | 103 | 7.727273 | 0.636364 | 0.235294 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087379 | 103 | 3 | 58 | 34.333333 | 0.904255 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
bc106bc4f8daaca2cb0f3517a4401b548c82a908 | 4,972 | py | Python | sample_code/08_re.py | CIS-UO/UO-CIS211.github.io | f036ee35d23c8393d80ccfe556b54523527f9458 | [
"CC-BY-4.0"
] | null | null | null | sample_code/08_re.py | CIS-UO/UO-CIS211.github.io | f036ee35d23c8393d80ccfe556b54523527f9458 | [
"CC-BY-4.0"
] | null | null | null | sample_code/08_re.py | CIS-UO/UO-CIS211.github.io | f036ee35d23c8393d80ccfe556b54523527f9458 | [
"CC-BY-4.0"
] | 1 | 2021-12-27T20:28:58.000Z | 2021-12-27T20:28:58.000Z | """Regular expression examples for week 8 chapter"""
import re
print("Example 1, strings match themselves")
cat_pat = "cat"
s = "My cat's name is Nora"
m = re.search(cat_pat, s)
if m:
print(f"Matched {m.start()}..{m.end()}")
else:
print("*** No Match ***")
print("Example 2, 'match' means 'match the whole st... | 29.247059 | 66 | 0.582261 | 778 | 4,972 | 3.717224 | 0.131105 | 0.107884 | 0.090249 | 0.127248 | 0.802559 | 0.795297 | 0.764523 | 0.764523 | 0.764523 | 0.761411 | 0 | 0.004002 | 0.195897 | 4,972 | 169 | 67 | 29.420118 | 0.71936 | 0.046862 | 0 | 0.726667 | 0 | 0.006667 | 0.509318 | 0.013977 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.006667 | 0 | 0.006667 | 0.42 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
bc169823b939e366f7403d1b4df05d7146ac0c08 | 14,882 | py | Python | 2016-def-con-quals/baby-re/baby-re.py | integeruser/on-pwning | 9674b8629d80499eb4c24b729529fb8d4b3f5f88 | [
"MIT"
] | 104 | 2017-08-24T12:54:06.000Z | 2022-02-22T05:27:09.000Z | 2016-def-con-quals/baby-re/baby-re.py | integeruser/on-pwning | 9674b8629d80499eb4c24b729529fb8d4b3f5f88 | [
"MIT"
] | 1 | 2018-06-30T18:59:37.000Z | 2018-06-30T18:59:37.000Z | 2016-def-con-quals/baby-re/baby-re.py | integeruser/on-pwning | 9674b8629d80499eb4c24b729529fb8d4b3f5f88 | [
"MIT"
] | 14 | 2018-04-05T04:59:33.000Z | 2022-02-06T04:34:42.000Z | #!/usr/bin/env python2
# -*- coding: utf-8 -*-
import struct
import sys
import z3
def LODWORD(n):
return n & 0xffffffff
solver = z3.Solver()
table = [
0x926d, 0x5475, 0x0752, 0xb4c1, 0xc5c9, 0xa89e, 0x7372, 0x4004, 0xe15d, 0x3922, 0x5262, 0x99ae, 0xd5e5, 0xc6f8,
0x12c9, 0x1783, 0x9832, 0x39ca, 0x5847,... | 209.605634 | 1,006 | 0.673431 | 2,105 | 14,882 | 4.759145 | 0.192399 | 0.43881 | 0.286784 | 0.280295 | 0.778599 | 0.778599 | 0.778599 | 0.778599 | 0.778599 | 0.25015 | 0 | 0.177962 | 0.074923 | 14,882 | 70 | 1,007 | 212.6 | 0.54972 | 0.00383 | 0 | 0 | 0 | 0 | 0.000202 | 0 | 0 | 0 | 0.226555 | 0 | 0.017544 | 0 | null | null | 0 | 0.052632 | null | null | 0.017544 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
70c746671844a4d773125f81fc741219354e4186 | 212 | py | Python | unitorch/models/xprophetnet/__init__.py | fuliucansheng/UniTorch | 47038321593ce4e7eabda555bd58c0cf89482146 | [
"MIT"
] | 2 | 2022-02-05T08:52:00.000Z | 2022-03-27T07:01:34.000Z | unitorch/models/xprophetnet/__init__.py | Lixin-Qian/unitorch | 47038321593ce4e7eabda555bd58c0cf89482146 | [
"MIT"
] | null | null | null | unitorch/models/xprophetnet/__init__.py | Lixin-Qian/unitorch | 47038321593ce4e7eabda555bd58c0cf89482146 | [
"MIT"
] | 1 | 2022-03-27T07:01:13.000Z | 2022-03-27T07:01:13.000Z | # Copyright (c) FULIUCANSHENG.
# Licensed under the MIT License.
from unitorch.models.xprophetnet.modeling import XProphetNetForGeneration
from unitorch.models.xprophetnet.processing import XProphetNetProcessor
| 35.333333 | 73 | 0.853774 | 22 | 212 | 8.227273 | 0.772727 | 0.132597 | 0.198895 | 0.320442 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089623 | 212 | 5 | 74 | 42.4 | 0.937824 | 0.283019 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
cb583aa40228627190193c5270fa4616586229b4 | 2,128 | py | Python | store/migrations/0033_auto_20200525_1929.py | MelanieFJNR/Blitz-API | 9a6daecd158fe07a6aeb80cbf586781eb688f0f9 | [
"MIT"
] | 3 | 2019-10-22T00:16:49.000Z | 2021-07-15T07:44:43.000Z | store/migrations/0033_auto_20200525_1929.py | MelanieFJNR/Blitz-API | 9a6daecd158fe07a6aeb80cbf586781eb688f0f9 | [
"MIT"
] | 1,183 | 2018-04-19T18:40:30.000Z | 2022-03-31T21:05:05.000Z | store/migrations/0033_auto_20200525_1929.py | MelanieFJNR/Blitz-API | 9a6daecd158fe07a6aeb80cbf586781eb688f0f9 | [
"MIT"
] | 12 | 2018-04-17T19:16:42.000Z | 2022-01-27T00:19:59.000Z | # Generated by Django 2.2.12 on 2020-05-25 23:29
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('store', '0032_auto_20191112_1128'),
]
operations = [
migrations.AddField(
model_name='coupon',
name='is_applicable_... | 39.407407 | 100 | 0.650376 | 205 | 2,128 | 6.502439 | 0.209756 | 0.144036 | 0.138035 | 0.162041 | 0.888222 | 0.888222 | 0.888222 | 0.888222 | 0.888222 | 0.858965 | 0 | 0.020177 | 0.254699 | 2,128 | 53 | 101 | 40.150943 | 0.820303 | 0.021617 | 0 | 0.851064 | 1 | 0 | 0.313462 | 0.161058 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021277 | 0 | 0.085106 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
cb5eb8c04bd52702413ec8e3af5e31bf669d35f9 | 21 | py | Python | tempCodeRunnerFile.py | cze3/Longest-palindromic-substring-in-python | 8f964b458c45ce4a3a40e71736a41dff91cf5f1f | [
"MIT"
] | null | null | null | tempCodeRunnerFile.py | cze3/Longest-palindromic-substring-in-python | 8f964b458c45ce4a3a40e71736a41dff91cf5f1f | [
"MIT"
] | null | null | null | tempCodeRunnerFile.py | cze3/Longest-palindromic-substring-in-python | 8f964b458c45ce4a3a40e71736a41dff91cf5f1f | [
"MIT"
] | null | null | null |
r+=1 | 10.5 | 20 | 0.095238 | 2 | 21 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.809524 | 21 | 2 | 20 | 10.5 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
cb6e3054eb3e5338f15b9807245b9d8d39e6ae6a | 2,452 | py | Python | script.py | lizlu95/Sineplex | a1f0ad0a8abeefedf6a357167ca0ea025e41a35e | [
"MIT"
] | 2 | 2020-11-27T03:45:12.000Z | 2020-11-27T03:46:05.000Z | script.py | lizlu95/Sineplex | a1f0ad0a8abeefedf6a357167ca0ea025e41a35e | [
"MIT"
] | null | null | null | script.py | lizlu95/Sineplex | a1f0ad0a8abeefedf6a357167ca0ea025e41a35e | [
"MIT"
] | null | null | null | import os
import sys
from random import randint
with open('theatres.txt') as f:
for line in f:
for i in range(1,30):
print("INSERT INTO `arrange` (`ArrangeId`, `Showtime`, `Location`, `Name`, `SeatsLeft`) VALUES (NULL, '2019-{}-{} {}:00:00', (SELECT Location from theater WHERE Location LIKE '%{}%'), (SELECT Name ... | 188.615385 | 342 | 0.648858 | 337 | 2,452 | 4.721068 | 0.195846 | 0.048397 | 0.065996 | 0.096794 | 0.874293 | 0.874293 | 0.874293 | 0.874293 | 0.874293 | 0.874293 | 0 | 0.065868 | 0.1146 | 2,452 | 13 | 343 | 188.615385 | 0.666974 | 0 | 0 | 0 | 0 | 0.538462 | 0.729311 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.230769 | 0 | 0.230769 | 0.538462 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 10 |
cbdcd5d52c8b90a87fbb4f8644edfe115910f505 | 2,490 | py | Python | Filter.py | GHGDev-11/swearfilter | 6a67e303e8d7a3401f33f5da1c379b792cf5168c | [
"MIT"
] | null | null | null | Filter.py | GHGDev-11/swearfilter | 6a67e303e8d7a3401f33f5da1c379b792cf5168c | [
"MIT"
] | null | null | null | Filter.py | GHGDev-11/swearfilter | 6a67e303e8d7a3401f33f5da1c379b792cf5168c | [
"MIT"
] | null | null | null | class Filter:
def DefaultFilter(self, StringName):
UpperList = []
WordList = ['fucker', 'arse', 'ass', 'asshole', 'bastard', 'bitch', 'bollocks', 'bugger', 'child-fucker', 'child fucker', 'Christ on a bike', 'Christ on a cracker', 'crap', 'cunt', 'damn', 'effing', 'frigger', 'fuck', 'fucking', 's... | 57.906977 | 644 | 0.531727 | 257 | 2,490 | 5.151751 | 0.330739 | 0.022659 | 0.02719 | 0.033233 | 0.847432 | 0.847432 | 0.847432 | 0.847432 | 0.847432 | 0.847432 | 0 | 0.001125 | 0.285944 | 2,490 | 43 | 645 | 57.906977 | 0.743532 | 0 | 0 | 0.8 | 0 | 0 | 0.326664 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0 | 0 | 0.2 | 0.025 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1dbdb476db08cfd4ad37049acbd707322a1ffc45 | 123 | py | Python | backend/__init__.py | sleepingAnt/viewfinder | 9caf4e75faa8070d85f605c91d4cfb52c4674588 | [
"Apache-2.0"
] | 645 | 2015-01-03T02:03:59.000Z | 2021-12-03T08:43:16.000Z | backend/__init__.py | hoowang/viewfinder | 9caf4e75faa8070d85f605c91d4cfb52c4674588 | [
"Apache-2.0"
] | null | null | null | backend/__init__.py | hoowang/viewfinder | 9caf4e75faa8070d85f605c91d4cfb52c4674588 | [
"Apache-2.0"
] | 222 | 2015-01-07T05:00:52.000Z | 2021-12-06T09:54:26.000Z | assert __name__ == 'viewfinder.backend', \
'import the backend module as viewfinder.backend, not as a top-level module.'
| 41 | 79 | 0.747967 | 17 | 123 | 5.176471 | 0.705882 | 0.386364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 123 | 2 | 80 | 61.5 | 0.838095 | 0 | 0 | 0 | 0 | 0 | 0.756098 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
1ded71e1c9862f10c32a06c68f910d51b4f12689 | 22,834 | py | Python | rb/similarity/string_kernels.py | readerbench/ReaderBench | f0588a9a63ba21e3b8c2e5e5bc474904c07f6897 | [
"Apache-2.0"
] | 1 | 2020-12-05T15:45:48.000Z | 2020-12-05T15:45:48.000Z | rb/similarity/string_kernels.py | rwth-acis/readerbenchpy | 1a070ae678f58ccd6f358c0802bdf0b3b3dde9d3 | [
"Apache-2.0"
] | 2 | 2021-10-17T14:00:52.000Z | 2021-10-17T14:00:52.000Z | rb/similarity/string_kernels.py | rwth-acis/readerbenchpy | 1a070ae678f58ccd6f358c0802bdf0b3b3dde9d3 | [
"Apache-2.0"
] | null | null | null | import numpy as np
import random
import math
import time
from collections import Counter
class StringKernel():
def __init__(self):
pass
@staticmethod
def compute_kernel_two_strings(string1, string2, ngram_range_min, ngram_range_max, clusters=None):
pass
@staticmethod
def compute_... | 41.216606 | 196 | 0.568013 | 2,645 | 22,834 | 4.666919 | 0.061248 | 0.103694 | 0.067401 | 0.08895 | 0.955768 | 0.932275 | 0.919313 | 0.919313 | 0.918179 | 0.918179 | 0 | 0.021401 | 0.347202 | 22,834 | 553 | 197 | 41.291139 | 0.806722 | 0.016686 | 0 | 0.914097 | 0 | 0.004405 | 0.015503 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057269 | false | 0.011013 | 0.011013 | 0 | 0.123348 | 0.017621 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
698f4574a1a64f049e4069fc0aadf6a81cb511df | 743 | py | Python | clean.py | deut-erium/Mal-det-cal | dea1d77aecfbb7afe5129c21c9feb9df77fdf56a | [
"MIT"
] | 6 | 2020-11-25T07:30:21.000Z | 2022-01-23T19:05:18.000Z | clean.py | p0i5on8/Mal-det-cal | 5ec186aec38b6a4031bebe02d2737c62290ec3d5 | [
"MIT"
] | 4 | 2021-06-08T22:17:14.000Z | 2022-01-13T03:13:08.000Z | clean.py | p0i5on8/Mal-det-cal | 5ec186aec38b6a4031bebe02d2737c62290ec3d5 | [
"MIT"
] | 1 | 2020-08-10T02:58:13.000Z | 2020-08-10T02:58:13.000Z | import sys
import os
if len(sys.argv) == 1: #no arguments provided, just remove temp_features.csv, output.csv, and temp_test_filtered
os.remove('temp_features.csv')
os.remove('output.csv')
for root, dirs, files in os.walk('temp_test_filtered'):
for file in files:
os.remove(os.path.join(root, file))
e... | 32.304348 | 114 | 0.690444 | 123 | 743 | 4.065041 | 0.300813 | 0.16 | 0.088 | 0.126 | 0.78 | 0.78 | 0.78 | 0.78 | 0.78 | 0.676 | 0 | 0.007899 | 0.148048 | 743 | 22 | 115 | 33.772727 | 0.781991 | 0.118439 | 0 | 0.736842 | 0 | 0 | 0.272152 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.105263 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
69ad59d053fb7b12adc4bd9f966c29a9e1b8e383 | 15,800 | py | Python | tests/unit/anteater/test_main.py | mike0615/curie | e25691f465c23cf53c39be157fcfa2eea4978b26 | [
"MIT"
] | 4 | 2019-02-26T05:18:13.000Z | 2020-07-15T00:34:41.000Z | tests/unit/anteater/test_main.py | nutanix/curie | e25691f465c23cf53c39be157fcfa2eea4978b26 | [
"MIT"
] | 3 | 2021-03-31T18:55:50.000Z | 2021-04-20T17:13:31.000Z | tests/unit/anteater/test_main.py | mike0615/curie | e25691f465c23cf53c39be157fcfa2eea4978b26 | [
"MIT"
] | 2 | 2020-01-09T02:24:00.000Z | 2020-11-04T23:09:02.000Z | #
# Copyright (c) 2018 Nutanix Inc. All rights reserved.
#
#
import unittest
from mock import MagicMock, call, patch, sentinel as sen
from ansible.errors import AnsibleError
from ansible.executor.stats import AggregateStats
from ansible.executor.playbook_executor import PlaybookExecutor
from ansible.parsing.dataloade... | 48.318043 | 106 | 0.661266 | 1,928 | 15,800 | 5.133299 | 0.088174 | 0.055572 | 0.056381 | 0.06891 | 0.860463 | 0.836516 | 0.831868 | 0.793877 | 0.7864 | 0.772658 | 0 | 0.010201 | 0.230633 | 15,800 | 326 | 107 | 48.466258 | 0.803965 | 0.056203 | 0 | 0.740458 | 0 | 0 | 0.124488 | 0.065637 | 0 | 0 | 0 | 0 | 0.206107 | 1 | 0.041985 | false | 0.026718 | 0.030534 | 0 | 0.076336 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
389942fc96b9477f3ca3e2db9b48504e316095f4 | 6,048 | py | Python | tests/base/test_endpoints_pagination.py | rapydo/http-api | ef0a299173195145303069534d45d446ea4da93a | [
"MIT"
] | 8 | 2018-07-04T09:54:46.000Z | 2022-03-17T08:21:06.000Z | tests/base/test_endpoints_pagination.py | rapydo/http-api | ef0a299173195145303069534d45d446ea4da93a | [
"MIT"
] | 19 | 2018-04-18T07:24:55.000Z | 2022-03-04T01:03:15.000Z | tests/base/test_endpoints_pagination.py | rapydo/http-api | ef0a299173195145303069534d45d446ea4da93a | [
"MIT"
] | 7 | 2018-07-03T12:17:50.000Z | 2021-05-05T04:33:32.000Z | from restapi.tests import API_URI, BaseTests, FlaskClient
# from restapi.utilities.logs import log
class TestApp(BaseTests):
def test_GET_specs(self, client: FlaskClient) -> None:
r = client.get(f"{API_URI}/tests/pagination")
assert r.status_code == 200
content = self.get_content(r)
... | 36.654545 | 88 | 0.597222 | 794 | 6,048 | 4.433249 | 0.094458 | 0.051705 | 0.096023 | 0.125568 | 0.921023 | 0.906818 | 0.906818 | 0.89375 | 0.884943 | 0.860227 | 0 | 0.04763 | 0.270999 | 6,048 | 164 | 89 | 36.878049 | 0.750737 | 0.056217 | 0 | 0.793651 | 0 | 0 | 0.137217 | 0.109493 | 0 | 0 | 0 | 0 | 0.603175 | 1 | 0.007937 | false | 0 | 0.007937 | 0 | 0.02381 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
38d231670be348017e72d1394e83ee8011cc8fb2 | 661,116 | py | Python | vod-20170321/python/alibabacloud_vod20170321/models.py | atptro/alibabacloud-sdk | 65d4a000e4f4059b58ca1bc3d032853aedef4f3f | [
"Apache-2.0"
] | null | null | null | vod-20170321/python/alibabacloud_vod20170321/models.py | atptro/alibabacloud-sdk | 65d4a000e4f4059b58ca1bc3d032853aedef4f3f | [
"Apache-2.0"
] | null | null | null | vod-20170321/python/alibabacloud_vod20170321/models.py | atptro/alibabacloud-sdk | 65d4a000e4f4059b58ca1bc3d032853aedef4f3f | [
"Apache-2.0"
] | null | null | null | # This file is auto-generated, don't edit it. Thanks.
from Tea.model import TeaModel
class SubmitMediaDNADeleteJobRequest(TeaModel):
def __init__(self, access_key_id=None, owner_id=None, resource_owner_id=None, resource_owner_account=None, owner_account=None, media_id=None, fp_dbid=None):
self.access_key_... | 38.113456 | 537 | 0.644581 | 77,271 | 661,116 | 5.259709 | 0.015724 | 0.03549 | 0.07598 | 0.091176 | 0.848446 | 0.816794 | 0.778999 | 0.752214 | 0.723684 | 0.700718 | 0 | 0.000073 | 0.250124 | 661,116 | 17,345 | 538 | 38.115653 | 0.819734 | 0.000077 | 0 | 0.814554 | 1 | 0 | 0.101251 | 0.00454 | 0 | 0 | 0 | 0 | 0 | 1 | 0.122921 | false | 0.001862 | 0.000067 | 0 | 0.215179 | 0.000333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
2a1b8cca5f9d571e4b1124558209e546d60df3f1 | 585,710 | py | Python | yt/visualization/_colormap_data.py | Xarthisius/yt | 321643c3abff64a6f132d98d0747f3558f7552a3 | [
"BSD-3-Clause-Clear"
] | 1 | 2021-05-20T13:03:57.000Z | 2021-05-20T13:03:57.000Z | yt/visualization/_colormap_data.py | Xarthisius/yt | 321643c3abff64a6f132d98d0747f3558f7552a3 | [
"BSD-3-Clause-Clear"
] | 31 | 2017-04-19T21:07:18.000Z | 2017-04-20T01:08:43.000Z | yt/visualization/_colormap_data.py | stonnes/yt | aad3cfa3b4ebab7838352ab467275a27c26ff363 | [
"BSD-3-Clause-Clear"
] | 2 | 2020-08-12T15:46:11.000Z | 2021-02-09T13:09:17.000Z | ### Auto-generated colormap tables, taken from Matplotlib ###
import numpy as np
from numpy import array
color_map_luts = {}
### RdBu ###
color_map_luts['RdBu'] = \
(
array([ 0.40392157, 0.4154556 , 0.42698963, 0.43852365, 0.45005768,
0.4615917 , 0.47312573, 0.48465976, 0.49619378, 0.50772781,
... | 69.372261 | 86 | 0.587268 | 102,353 | 585,710 | 3.357801 | 0.062324 | 0.061109 | 0.091262 | 0.121683 | 0.821189 | 0.785624 | 0.782804 | 0.752745 | 0.750894 | 0.716455 | 0 | 0.752546 | 0.231785 | 585,710 | 8,442 | 87 | 69.380479 | 0.011272 | 0.002737 | 0 | 0.527771 | 1 | 0 | 0.001574 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.000241 | 0 | 0.000241 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
2a8930576924323d28ca7907ba47bf5b2178a5bf | 7,576 | py | Python | tests/unit/test_decorator.py | hackerrdave/signalfx-python-tracing | 55f50c7b71cea642bb18733e452988a32f899fbb | [
"Apache-2.0"
] | null | null | null | tests/unit/test_decorator.py | hackerrdave/signalfx-python-tracing | 55f50c7b71cea642bb18733e452988a32f899fbb | [
"Apache-2.0"
] | null | null | null | tests/unit/test_decorator.py | hackerrdave/signalfx-python-tracing | 55f50c7b71cea642bb18733e452988a32f899fbb | [
"Apache-2.0"
] | null | null | null | # Copyright (C) 2018 SignalFx, Inc. All rights reserved.
import pytest
from opentracing.mocktracer import MockTracer
from opentracing.ext import tags as ext_tags
import opentracing
from signalfx_tracing.utils import trace
class DecoratorTest(object):
@pytest.fixture(autouse=True)
def _setup_tracer(self):
... | 34.280543 | 76 | 0.600317 | 886 | 7,576 | 4.93228 | 0.08465 | 0.032037 | 0.06865 | 0.044622 | 0.889245 | 0.876888 | 0.870481 | 0.870481 | 0.786728 | 0.785584 | 0 | 0.028597 | 0.275343 | 7,576 | 220 | 77 | 34.436364 | 0.767395 | 0.007128 | 0 | 0.8 | 0 | 0 | 0.074867 | 0 | 0 | 0 | 0 | 0 | 0.464706 | 1 | 0.135294 | false | 0.029412 | 0.029412 | 0 | 0.264706 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
aab1c79596669f057100a8f64cf829bb5401f878 | 36,348 | py | Python | src/OYTX_Recog/Hierarchical_Attn_With_Senti_Map.py | Ruiver/CTCNet | 539e55ec9fed06028379d35dfd5cd4074755ffd8 | [
"Apache-2.0"
] | 6 | 2020-09-17T06:30:41.000Z | 2021-11-07T14:19:23.000Z | src/OYTX_Recog/Hierarchical_Attn_With_Senti_Map.py | Ruiver/CTCNet | 539e55ec9fed06028379d35dfd5cd4074755ffd8 | [
"Apache-2.0"
] | null | null | null | src/OYTX_Recog/Hierarchical_Attn_With_Senti_Map.py | Ruiver/CTCNet | 539e55ec9fed06028379d35dfd5cd4074755ffd8 | [
"Apache-2.0"
] | 3 | 2020-09-21T13:00:47.000Z | 2021-10-30T07:32:05.000Z | """
author: ouyangtianxiong
date: 2019/12/23
des: implements attention-based emotion recognition
Based on code from https://github.com/KaihuaTang/VQA2.0-Recent-Approachs-2018.pytorch
"""
import sys
sys.path.append('../')
__author__ = 'ouyangtianxiong.bupt.edu.cn'
from sklearn.metrics import classification_report, confu... | 46.126904 | 166 | 0.578931 | 4,536 | 36,348 | 4.3653 | 0.090388 | 0.012121 | 0.016312 | 0.00909 | 0.810363 | 0.78693 | 0.767335 | 0.757335 | 0.751225 | 0.746073 | 0 | 0.020734 | 0.308683 | 36,348 | 788 | 167 | 46.126904 | 0.767272 | 0.107241 | 0 | 0.723051 | 0 | 0.003317 | 0.06546 | 0.012074 | 0 | 0 | 0 | 0 | 0.00995 | 1 | 0.024876 | false | 0 | 0.036484 | 0 | 0.08126 | 0.072968 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
aac86f7de7b2cba67310de0df3235bfba3413252 | 8,533 | py | Python | botmother/Conversation.py | InsightLab/BotMother-Python | 56f79ad5defb6a6250573deed29f417357e9c9f3 | [
"MIT"
] | null | null | null | botmother/Conversation.py | InsightLab/BotMother-Python | 56f79ad5defb6a6250573deed29f417357e9c9f3 | [
"MIT"
] | null | null | null | botmother/Conversation.py | InsightLab/BotMother-Python | 56f79ad5defb6a6250573deed29f417357e9c9f3 | [
"MIT"
] | null | null | null | """
Module conataining the Conversation class.
This class is used to create a conversation flow to the bot
"""
from .exception.Exceptions import *
from telegram.ext import Filters,ConversationHandler
class Conversation():
#static value to represent the end of a conversation
END = ConversationHandler.END
def __i... | 36.780172 | 103 | 0.747217 | 1,225 | 8,533 | 5.116735 | 0.09551 | 0.074186 | 0.059668 | 0.050255 | 0.911615 | 0.911615 | 0.911615 | 0.911615 | 0.911615 | 0.911615 | 0 | 0.000858 | 0.180476 | 8,533 | 232 | 104 | 36.780172 | 0.895467 | 0.711239 | 0 | 0.54386 | 0 | 0 | 0.110697 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.175439 | false | 0.210526 | 0.035088 | 0 | 0.298246 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
aacdf80433d05642d72e4a622220f4d4bc3c34ab | 3,746 | py | Python | Maple/search_indexes.py | ShinJJang/Podium | 6a335a70a51b33438c541100a04554c04ad8ced6 | [
"MIT"
] | null | null | null | Maple/search_indexes.py | ShinJJang/Podium | 6a335a70a51b33438c541100a04554c04ad8ced6 | [
"MIT"
] | null | null | null | Maple/search_indexes.py | ShinJJang/Podium | 6a335a70a51b33438c541100a04554c04ad8ced6 | [
"MIT"
] | null | null | null | from haystack import indexes
from django.contrib.auth.models import User
from .models import Posts, Groups, HighSchools, University, Teams, Companies, Hobbies, PLanguages
class PostIndex(indexes.SearchIndex, indexes.Indexable):
text = indexes.CharField(document=True, use_template=True)
post = indexes.EdgeNgra... | 33.150442 | 97 | 0.709824 | 463 | 3,746 | 5.634989 | 0.140389 | 0.055194 | 0.099655 | 0.114987 | 0.796857 | 0.759678 | 0.759678 | 0.759678 | 0.759678 | 0.759678 | 0 | 0.000326 | 0.181527 | 3,746 | 113 | 98 | 33.150442 | 0.85062 | 0.117459 | 0 | 0.602941 | 0 | 0 | 0.019013 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.264706 | false | 0 | 0.044118 | 0.132353 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
aae2f5a705e6dfeb999768faf0eb29171d70a6bc | 8,184 | py | Python | models.py | gray-li/maddpg | afd93f8d36812e0ddddd5c8267900aa9babdc378 | [
"MIT"
] | null | null | null | models.py | gray-li/maddpg | afd93f8d36812e0ddddd5c8267900aa9babdc378 | [
"MIT"
] | null | null | null | models.py | gray-li/maddpg | afd93f8d36812e0ddddd5c8267900aa9babdc378 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.optim as optim
import torch.nn.functional as F
def hidden_init(layer):
fan_in = layer.weight.data.size()[0]
lim = 1. / np.sqrt(fan_in)
return (-lim, lim)
class MADDPGModel(nn.Module):
def __init__(self, n_agents, state_dims, ... | 41.543147 | 134 | 0.612903 | 1,000 | 8,184 | 4.755 | 0.106 | 0.076341 | 0.07571 | 0.050473 | 0.879285 | 0.863091 | 0.851314 | 0.851314 | 0.851314 | 0.851314 | 0 | 0.009774 | 0.312439 | 8,184 | 197 | 135 | 41.543147 | 0.835259 | 0.143573 | 0 | 0.759399 | 0 | 0 | 0.00574 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075188 | false | 0 | 0.030075 | 0 | 0.180451 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2abecc9fc8d83881ef70d762f202af564272384d | 50,735 | py | Python | scripts/ccg2lambda_tools_test.py | BlackNat5937/ccg2lambda | fd59fd541cfceb82ac55273e3b437792b467b9a6 | [
"Apache-2.0"
] | 1 | 2019-04-21T16:14:00.000Z | 2019-04-21T16:14:00.000Z | scripts/ccg2lambda_tools_test.py | BlackNat5937/ccg2lambda | fd59fd541cfceb82ac55273e3b437792b467b9a6 | [
"Apache-2.0"
] | null | null | null | scripts/ccg2lambda_tools_test.py | BlackNat5937/ccg2lambda | fd59fd541cfceb82ac55273e3b437792b467b9a6 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python3
# -*- coding: utf-8 -*-
#
# Copyright 2015 Pascual Martinez-Gomez
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
... | 46.291058 | 155 | 0.558175 | 6,381 | 50,735 | 4.275035 | 0.052656 | 0.018146 | 0.05968 | 0.030793 | 0.890392 | 0.881924 | 0.873236 | 0.87089 | 0.867114 | 0.846805 | 0 | 0.038337 | 0.277126 | 50,735 | 1,095 | 156 | 46.333333 | 0.70544 | 0.023238 | 0 | 0.807692 | 0 | 0.110454 | 0.460672 | 0.030687 | 0 | 0 | 0 | 0 | 0.04931 | 1 | 0.045365 | false | 0 | 0.005917 | 0 | 0.055227 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2ac473b400731d4fdef86b09785b88d0089e9e45 | 20,627 | py | Python | expyct/collection.py | mthaak/expyct | 1af2b3ed63c4445a5ec6f4a5c3b3207943c229ac | [
"MIT"
] | 1 | 2022-03-02T09:12:20.000Z | 2022-03-02T09:12:20.000Z | expyct/collection.py | mthaak/expyct | 1af2b3ed63c4445a5ec6f4a5c3b3207943c229ac | [
"MIT"
] | null | null | null | expyct/collection.py | mthaak/expyct | 1af2b3ed63c4445a5ec6f4a5c3b3207943c229ac | [
"MIT"
] | null | null | null | import typing
from collections import Counter
from dataclasses import dataclass
from expyct.base import Equals, MapBefore, Satisfies, Optional, BaseMatcher
from expyct.base import Instance
@dataclass(repr=False, eq=False)
class AllOrAny(BaseMatcher):
"""Mixin for matching a collection object by checking that al... | 36.124343 | 97 | 0.616183 | 2,625 | 20,627 | 4.722667 | 0.054095 | 0.093732 | 0.085505 | 0.046382 | 0.860692 | 0.843188 | 0.813987 | 0.802372 | 0.773413 | 0.743406 | 0 | 0.001115 | 0.30431 | 20,627 | 570 | 98 | 36.187719 | 0.862787 | 0.256169 | 0 | 0.725248 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05198 | false | 0 | 0.012376 | 0.009901 | 0.30198 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6324d673709389849e8968c86723be8630e32eeb | 1,463 | py | Python | sample_test.py | m3hrdadfi/rouge-metric | 0c8da39bd52891fe328a2555b82d7147c6e423f7 | [
"Apache-2.0"
] | null | null | null | sample_test.py | m3hrdadfi/rouge-metric | 0c8da39bd52891fe328a2555b82d7147c6e423f7 | [
"Apache-2.0"
] | null | null | null | sample_test.py | m3hrdadfi/rouge-metric | 0c8da39bd52891fe328a2555b82d7147c6e423f7 | [
"Apache-2.0"
] | 1 | 2021-11-05T18:25:09.000Z | 2021-11-05T18:25:09.000Z | from datasets import load_metric
metric = load_metric("./rouge")
# Language: en-English
references = ["The quick brown fox jumps over the lazy dog"]
predictions = ["The quick brown fox jumps over the lazy dog"]
result = metric.compute(predictions=predictions, references=references, language="en")
result = {key: roun... | 48.766667 | 86 | 0.738893 | 221 | 1,463 | 4.914027 | 0.226244 | 0.029466 | 0.044199 | 0.058932 | 0.878453 | 0.878453 | 0.878453 | 0.878453 | 0.878453 | 0.853591 | 0 | 0.012529 | 0.127136 | 1,463 | 30 | 87 | 48.766667 | 0.83242 | 0.028025 | 0 | 0.727273 | 0 | 0 | 0.342254 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.045455 | 0.181818 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2ddada57cf35c5d85ef0ba39076bbd29ef0ac3c0 | 144 | py | Python | darwinian_shift/reference_data/__init__.py | michaelhall28/darwinian_shift | 7554532379d1650e9174fdf3ab0a0f0074b4d2c5 | [
"MIT"
] | null | null | null | darwinian_shift/reference_data/__init__.py | michaelhall28/darwinian_shift | 7554532379d1650e9174fdf3ab0a0f0074b4d2c5 | [
"MIT"
] | null | null | null | darwinian_shift/reference_data/__init__.py | michaelhall28/darwinian_shift | 7554532379d1650e9174fdf3ab0a0f0074b4d2c5 | [
"MIT"
] | null | null | null | from .reference_utils import get_source_genome_reference_file_paths, download_reference_data_from_latest_ensembl, download_grch37_reference_data | 144 | 144 | 0.944444 | 20 | 144 | 6.1 | 0.7 | 0.213115 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014388 | 0.034722 | 144 | 1 | 144 | 144 | 0.863309 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
2dfa5359ec506e3753b62a88ecd733aab925024f | 8,106 | py | Python | osmchadjango/roulette_integration/tests/test_views.py | jbronn/osmcha-django | 0de03fa081205f3a43114c5eb25211217f2dc0af | [
"BSD-2-Clause"
] | 27 | 2015-09-06T00:39:39.000Z | 2021-12-09T10:30:52.000Z | osmchadjango/roulette_integration/tests/test_views.py | jbronn/osmcha-django | 0de03fa081205f3a43114c5eb25211217f2dc0af | [
"BSD-2-Clause"
] | 494 | 2015-09-10T19:39:38.000Z | 2022-03-29T08:07:37.000Z | osmchadjango/roulette_integration/tests/test_views.py | jbronn/osmcha-django | 0de03fa081205f3a43114c5eb25211217f2dc0af | [
"BSD-2-Clause"
] | 17 | 2015-08-10T22:58:56.000Z | 2021-09-24T17:03:16.000Z | from django.urls import reverse
from social_django.models import UserSocialAuth
from rest_framework.test import APITestCase
from ...users.models import User
from ...changeset.tests.modelfactories import SuspicionReasonsFactory
from ..models import ChallengeIntegration
class TestChallengeIntegrationListCreateView(AP... | 40.328358 | 100 | 0.637306 | 860 | 8,106 | 5.851163 | 0.10814 | 0.09539 | 0.082273 | 0.097973 | 0.85155 | 0.85155 | 0.813792 | 0.802266 | 0.767488 | 0.747218 | 0 | 0.032495 | 0.24451 | 8,106 | 200 | 101 | 40.53 | 0.78919 | 0 | 0 | 0.640449 | 0 | 0 | 0.081298 | 0.002591 | 0 | 0 | 0 | 0 | 0.185393 | 1 | 0.089888 | false | 0.073034 | 0.033708 | 0 | 0.134831 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
fa75defea1e1e894c5da64fb2801fac579437184 | 1,050 | py | Python | tests/utils/test_utils.py | maxxiefjv/privpack | b6bff78588362e57bc3f1268ab864026db4a1afa | [
"MIT"
] | null | null | null | tests/utils/test_utils.py | maxxiefjv/privpack | b6bff78588362e57bc3f1268ab864026db4a1afa | [
"MIT"
] | 1 | 2020-11-06T16:02:51.000Z | 2020-11-06T16:02:51.000Z | tests/utils/test_utils.py | maxxiefjv/privpack | b6bff78588362e57bc3f1268ab864026db4a1afa | [
"MIT"
] | null | null | null | # import torch
# from privpack import compute_released_data_metrics, binary_bivariate_mutual_information_statistic
# from privpack import hamming_distance
# from privpack import binary_bivariate_mutual_information_zx, binary_bivariate_mutual_information_zy, binary_bivariate_distortion_zy
#
# def test_compute_released_d... | 28.378378 | 133 | 0.660952 | 116 | 1,050 | 5.508621 | 0.25 | 0.234742 | 0.230047 | 0.350548 | 0.58529 | 0.478873 | 0.428795 | 0.29734 | 0.29734 | 0.29734 | 0 | 0.022556 | 0.24 | 1,050 | 36 | 134 | 29.166667 | 0.778195 | 0.902857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
fac5afb61881ebc24f0d0d18522ad18af835ad72 | 417 | py | Python | test/res/example.include.mkcommit.py | kjczarne/mkcommit | 84745a4e30af2b5bbc4cbc770a75cb3f81fab38d | [
"MIT"
] | 2 | 2021-09-30T10:02:14.000Z | 2021-11-11T13:53:36.000Z | test/res/example.include.mkcommit.py | kjczarne/mkcommit | 84745a4e30af2b5bbc4cbc770a75cb3f81fab38d | [
"MIT"
] | 16 | 2021-09-18T13:52:10.000Z | 2022-02-04T10:22:27.000Z | test/res/example.include.mkcommit.py | kjczarne/mkcommit | 84745a4e30af2b5bbc4cbc770a75cb3f81fab38d | [
"MIT"
] | null | null | null | from mkcommit import to_stdout, include
commit, on_commit = include(
"https://raw.githubusercontent.com/kjczarne/mkcommit/master/test/res/example.semantic.mkcommit.py") # noqa: E501
commit, on_commit = include(
"https://raw.githubusercontent.com/kjczarne/mkcommit/master/test/res/example.semantic.mkcommit.py",... | 32.076923 | 117 | 0.741007 | 53 | 417 | 5.603774 | 0.471698 | 0.10101 | 0.094276 | 0.141414 | 0.747475 | 0.747475 | 0.747475 | 0.747475 | 0.747475 | 0.747475 | 0 | 0.016304 | 0.117506 | 417 | 12 | 118 | 34.75 | 0.790761 | 0.05036 | 0 | 0.222222 | 0 | 0.222222 | 0.559796 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e2144beabab2712ee705a4bf506aecec2c08471c | 2,007 | py | Python | test/unit/test_getters.py | cspeidel/napalm-s350 | c26a86503ee79b1c21b183f499a5178b17aec995 | [
"Apache-2.0"
] | 1 | 2019-11-07T17:40:15.000Z | 2019-11-07T17:40:15.000Z | test/unit/test_getters.py | cspeidel/napalm-s350 | c26a86503ee79b1c21b183f499a5178b17aec995 | [
"Apache-2.0"
] | null | null | null | test/unit/test_getters.py | cspeidel/napalm-s350 | c26a86503ee79b1c21b183f499a5178b17aec995 | [
"Apache-2.0"
] | 1 | 2019-11-07T17:40:36.000Z | 2019-11-07T17:40:36.000Z | """Tests for getters."""
from napalm.base.test.getters import BaseTestGetters
import pytest
@pytest.mark.usefixtures("set_device_parameters")
class TestGetter(BaseTestGetters):
"""Test get_* methods."""
@pytest.mark.skip
def test_get_interfaces(self, test_case):
"""Need to implement."""
... | 26.407895 | 56 | 0.663677 | 230 | 2,007 | 5.56087 | 0.204348 | 0.109461 | 0.142299 | 0.172791 | 0.823299 | 0.823299 | 0.823299 | 0.796716 | 0.756841 | 0.756841 | 0 | 0 | 0.231689 | 2,007 | 75 | 57 | 26.76 | 0.829442 | 0.142003 | 0 | 0.604651 | 0 | 0 | 0.012758 | 0.012758 | 0 | 0 | 0 | 0 | 0 | 1 | 0.302326 | false | 0 | 0.046512 | 0 | 0.372093 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ea2774b3fec0d883c817c7b5bcbfaeb7ed9b8972 | 451,805 | py | Python | QUBEKit/proteins/protein_tools.py | cole-group/QUBEK | 50f8a9c06396f2222a6fe058bf764a6bd7021e38 | [
"MIT"
] | 14 | 2018-10-19T12:32:39.000Z | 2022-01-07T05:06:06.000Z | QUBEKit/proteins/protein_tools.py | cole-group/QUBEK | 50f8a9c06396f2222a6fe058bf764a6bd7021e38 | [
"MIT"
] | null | null | null | QUBEKit/proteins/protein_tools.py | cole-group/QUBEK | 50f8a9c06396f2222a6fe058bf764a6bd7021e38 | [
"MIT"
] | 6 | 2019-02-26T13:32:58.000Z | 2021-06-01T15:11:27.000Z | #!/usr/bin/env python3
import numpy as np
import simtk.openmm as mm
def apply_opls_combo(system, switching_distance=None):
"""Apply the opls combination rules to a OpenMM system and return the new system."""
# Get the system information from the openmm system
forces = {system.getForce(index).__class__.... | 98.197131 | 270 | 0.653924 | 66,328 | 451,805 | 4.453474 | 0.031163 | 0.123335 | 0.046027 | 0.057632 | 0.950658 | 0.941342 | 0.922123 | 0.840069 | 0.83859 | 0.830228 | 0 | 0.2864 | 0.120266 | 451,805 | 4,600 | 271 | 98.218478 | 0.456779 | 0.001826 | 0 | 0.389072 | 0 | 0.312925 | 0.993376 | 0.145265 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000878 | false | 0 | 0.000658 | 0 | 0.001756 | 0.000439 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
ea530c5d9061ed01a139d105ec8130026637d236 | 1,135 | py | Python | staffjoy/exceptions.py | itworxs/suite | 36a6f354a826862c50d5e5f218eafb6c14152295 | [
"MIT"
] | 890 | 2017-02-25T07:11:09.000Z | 2022-03-08T05:49:20.000Z | staffjoy/exceptions.py | itworxs/suite | 36a6f354a826862c50d5e5f218eafb6c14152295 | [
"MIT"
] | 12 | 2016-02-21T21:23:44.000Z | 2017-04-03T22:44:03.000Z | staffjoy/exceptions.py | nfriedly/suite | c58c772d98d1476cad0531b8a296f27ad2ab945c | [
"MIT"
] | 276 | 2017-02-25T09:01:23.000Z | 2022-03-19T02:24:02.000Z | class UnauthorizedException(Exception):
def __init__(self, code=401, response={}):
self.code = code
# We envelope error messages like this
self.message = response.get("message", "Unknown Error")
super(UnauthorizedException, self).__init__()
def __str__(self):
return "\n... | 32.428571 | 78 | 0.639648 | 129 | 1,135 | 5.348837 | 0.209302 | 0.104348 | 0.069565 | 0.086957 | 0.814493 | 0.710145 | 0.710145 | 0.710145 | 0.710145 | 0.710145 | 0 | 0.010239 | 0.225551 | 1,135 | 34 | 79 | 33.382353 | 0.774744 | 0.096916 | 0 | 0.571429 | 0 | 0 | 0.143976 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 8 |
57925bd5b8c964b3cb7f7f4d1875d03c12ec8cda | 2,765 | py | Python | tests/test_udb_index_when_get_cover_key.py | akaterra/udb.py | 3c04fa788e4b2fc8356c1210b9d81004aa932c0b | [
"MIT"
] | 2 | 2020-01-04T12:04:58.000Z | 2020-02-15T16:32:12.000Z | tests/test_udb_index_when_get_cover_key.py | akaterra/udb.py | 3c04fa788e4b2fc8356c1210b9d81004aa932c0b | [
"MIT"
] | null | null | null | tests/test_udb_index_when_get_cover_key.py | akaterra/udb.py | 3c04fa788e4b2fc8356c1210b9d81004aa932c0b | [
"MIT"
] | null | null | null | import pytest
from udb_py.common import FieldRequiredError, required, type_formatter_iter
from udb_py.udb_index import UdbIndex
def test_should_get_cover_key_on_full_covered_data():
i = UdbIndex(['a', 'b', 'c'])
d = {'a': 1, 'b': 2, 'c': 3}
assert i.get_cover_key(d) == ''.join(type_formatter_iter([1, 2,... | 31.067416 | 92 | 0.662206 | 469 | 2,765 | 3.490405 | 0.113006 | 0.117288 | 0.154551 | 0.087966 | 0.885156 | 0.86683 | 0.855223 | 0.838729 | 0.833842 | 0.819792 | 0 | 0.020583 | 0.1566 | 2,765 | 88 | 93 | 31.420455 | 0.681389 | 0 | 0 | 0.607843 | 0 | 0 | 0.020976 | 0 | 0 | 0 | 0 | 0 | 0.215686 | 1 | 0.235294 | false | 0 | 0.058824 | 0 | 0.294118 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
17efbc0cad83d6a2e2238aa2e3384ff67fbb9841 | 3,497 | py | Python | pyfcopy_test/functional/test_merge.py | arnegroskurth/pyfcopy | 4249497a614e9a2c287969f0070072eb4e16fd86 | [
"MIT"
] | null | null | null | pyfcopy_test/functional/test_merge.py | arnegroskurth/pyfcopy | 4249497a614e9a2c287969f0070072eb4e16fd86 | [
"MIT"
] | 3 | 2020-05-27T21:19:17.000Z | 2020-05-27T21:20:01.000Z | pyfcopy_test/functional/test_merge.py | arnegroskurth/pyfcopy | 4249497a614e9a2c287969f0070072eb4e16fd86 | [
"MIT"
] | null | null | null |
from pathlib import Path
import pytest
from pyfcopy import index, merge
from pyfcopy_test.index_assertions import assert_same_index
def test_empty(tmp_path: Path):
(tmp_path / "source").mkdir()
(tmp_path / "target").mkdir()
merge(tmp_path / "source", tmp_path / "target")
assert_same_index(index(... | 26.293233 | 88 | 0.645982 | 461 | 3,497 | 4.618221 | 0.114967 | 0.253171 | 0.195397 | 0.093001 | 0.802724 | 0.771254 | 0.768436 | 0.768436 | 0.691404 | 0.663222 | 0 | 0.005198 | 0.174721 | 3,497 | 132 | 89 | 26.492424 | 0.732502 | 0 | 0 | 0.551282 | 0 | 0 | 0.17706 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 1 | 0.128205 | false | 0 | 0.051282 | 0 | 0.179487 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a4c1e38a138be3378b40a9f8544efacc4a03ecc3 | 18,931 | py | Python | avionix/kube/admissionregistration.py | Maxiimeeb/avionix | c149e4319c8c8c00d50450ec1644545340ff7322 | [
"BSD-3-Clause"
] | 51 | 2020-07-17T11:42:44.000Z | 2022-03-17T23:51:28.000Z | avionix/kube/admissionregistration.py | Maxiimeeb/avionix | c149e4319c8c8c00d50450ec1644545340ff7322 | [
"BSD-3-Clause"
] | 55 | 2020-07-14T21:21:14.000Z | 2022-03-04T22:43:10.000Z | avionix/kube/admissionregistration.py | Maxiimeeb/avionix | c149e4319c8c8c00d50450ec1644545340ff7322 | [
"BSD-3-Clause"
] | 9 | 2021-01-05T01:52:14.000Z | 2022-02-16T12:42:18.000Z | """
Various webhook configurations
"""
from typing import List, Optional
from avionix.kube.apiextensions import WebhookClientConfig
from avionix.kube.base_objects import AdmissionRegistration
from avionix.kube.meta import LabelSelector, ObjectMeta
from avionix.yaml.yaml_handling import HelmYaml
class RuleWithOperat... | 60.098413 | 109 | 0.688606 | 2,322 | 18,931 | 5.569767 | 0.16236 | 0.024743 | 0.009279 | 0.005567 | 0.822624 | 0.813655 | 0.809789 | 0.809789 | 0.802211 | 0.802211 | 0 | 0.004766 | 0.246263 | 18,931 | 314 | 110 | 60.289809 | 0.901605 | 0.795256 | 0 | 0.730337 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05618 | false | 0 | 0.05618 | 0 | 0.168539 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a4ca41b68bc96a37909d805f38f7c8fe9c586f8d | 1,211 | py | Python | tests/iterators/drop_right_while_test.py | SSouik/pyutil | d2250fb585679e49eb9056a3051bf239a58c2e8b | [
"MIT"
] | null | null | null | tests/iterators/drop_right_while_test.py | SSouik/pyutil | d2250fb585679e49eb9056a3051bf239a58c2e8b | [
"MIT"
] | 21 | 2022-01-05T04:51:33.000Z | 2022-01-28T05:45:57.000Z | tests/iterators/drop_right_while_test.py | SSouik/pyutil | d2250fb585679e49eb9056a3051bf239a58c2e8b | [
"MIT"
] | null | null | null | import pytest
from pyutil import drop_right_while
def test_drop_right_while_when_list_is_empty():
lst = []
drop_right_while(lst, lambda x: x)
assert lst == []
def test_drop_right_while_when_func_should_remove_one_value():
lst = [1, 2, 3, 4, 5]
func = lambda x: x % 2 == 1
drop_right_while(ls... | 22.849057 | 64 | 0.678778 | 195 | 1,211 | 3.830769 | 0.205128 | 0.204819 | 0.318608 | 0.171352 | 0.811245 | 0.811245 | 0.742972 | 0.599732 | 0.599732 | 0.313253 | 0 | 0.032292 | 0.207267 | 1,211 | 52 | 65 | 23.288462 | 0.745833 | 0 | 0 | 0.30303 | 0 | 0 | 0.002477 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 1 | 0.242424 | false | 0 | 0.060606 | 0 | 0.30303 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a4d13a105094bdea943b544b506fe5ef9180dbe1 | 186 | py | Python | src/masoniteorm/commands/Command.py | alfonsocv12/orm | 87b2532c7673a28c143600329df68e0343607f55 | [
"MIT"
] | 94 | 2020-02-08T21:08:56.000Z | 2022-03-28T15:24:52.000Z | src/masoniteorm/commands/Command.py | alfonsocv12/orm | 87b2532c7673a28c143600329df68e0343607f55 | [
"MIT"
] | 441 | 2020-02-09T06:17:44.000Z | 2022-03-30T07:27:39.000Z | src/masoniteorm/commands/Command.py | alfonsocv12/orm | 87b2532c7673a28c143600329df68e0343607f55 | [
"MIT"
] | 28 | 2020-02-26T10:29:05.000Z | 2022-03-30T19:08:28.000Z | from .CanOverrideConfig import CanOverrideConfig
from .CanOverrideOptionsDefault import CanOverrideOptionsDefault
class Command(CanOverrideOptionsDefault, CanOverrideConfig):
pass
| 26.571429 | 64 | 0.870968 | 13 | 186 | 12.461538 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 186 | 6 | 65 | 31 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
a4f255040909a41b1697ab9800681ed58f20edb6 | 195 | py | Python | hTools2.roboFontExt/lib/Scripts/current font/glyphs/batch rename.py | frankrolf/hTools2_extension | 9d73b8640c85209853a72f8d4b167768de5e0d60 | [
"BSD-3-Clause"
] | 2 | 2019-12-18T16:12:07.000Z | 2019-12-21T01:19:23.000Z | hTools2.roboFontExt/lib/Scripts/current font/glyphs/batch rename.py | frankrolf/hTools2_extension | 9d73b8640c85209853a72f8d4b167768de5e0d60 | [
"BSD-3-Clause"
] | null | null | null | hTools2.roboFontExt/lib/Scripts/current font/glyphs/batch rename.py | frankrolf/hTools2_extension | 9d73b8640c85209853a72f8d4b167768de5e0d60 | [
"BSD-3-Clause"
] | null | null | null | # [h] batch rename glyphs
import hTools2.dialogs.font.glyphs_rename
import importlib
importlib.reload(hTools2.dialogs.font.glyphs_rename)
hTools2.dialogs.font.glyphs_rename.batchRenameGlyphs()
| 24.375 | 54 | 0.841026 | 25 | 195 | 6.44 | 0.44 | 0.26087 | 0.335404 | 0.447205 | 0.559006 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016484 | 0.066667 | 195 | 7 | 55 | 27.857143 | 0.868132 | 0.117949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
3514627e75dfba3cc070d2ad384dead138e34df0 | 148 | py | Python | variations/processors/__init__.py | dldevinc/variations | 2614f27bddf0f16fcfca418aa45974dda2ef5658 | [
"BSD-3-Clause"
] | 1 | 2019-12-27T07:08:56.000Z | 2019-12-27T07:08:56.000Z | variations/processors/__init__.py | dldevinc/variations | 2614f27bddf0f16fcfca418aa45974dda2ef5658 | [
"BSD-3-Clause"
] | null | null | null | variations/processors/__init__.py | dldevinc/variations | 2614f27bddf0f16fcfca418aa45974dda2ef5658 | [
"BSD-3-Clause"
] | null | null | null | from .base import * # noqa
from .crop import * # noqa
from .filters import * # noqa
from .overlay import * # noqa
from .resize import * # noqa
| 24.666667 | 30 | 0.662162 | 20 | 148 | 4.9 | 0.4 | 0.510204 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236486 | 148 | 5 | 31 | 29.6 | 0.867257 | 0.162162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
35216ddedfc0c0dbd5019568592cb6cc7554ba3f | 61,856 | py | Python | multiple-languages/python/ros-cdk-kms-1.0.4/src/ros_cdk_kms/__init__.py | piotr-kalanski/Resource-Orchestration-Service-Cloud-Development-Kit | 2a12deea757ac69e69708dd9fd159fba12cfba0e | [
"Apache-2.0"
] | null | null | null | multiple-languages/python/ros-cdk-kms-1.0.4/src/ros_cdk_kms/__init__.py | piotr-kalanski/Resource-Orchestration-Service-Cloud-Development-Kit | 2a12deea757ac69e69708dd9fd159fba12cfba0e | [
"Apache-2.0"
] | null | null | null | multiple-languages/python/ros-cdk-kms-1.0.4/src/ros_cdk_kms/__init__.py | piotr-kalanski/Resource-Orchestration-Service-Cloud-Development-Kit | 2a12deea757ac69e69708dd9fd159fba12cfba0e | [
"Apache-2.0"
] | null | null | null | '''
## Aliyun ROS KMS Construct Library
This module is part of the AliCloud ROS Cloud Development Kit (ROS CDK) project.
```python
import * as KMS from '@alicloud/ros-cdk-kms';
```
'''
import abc
import builtins
import datetime
import enum
import typing
import jsii
import publication
import typing_extensions
from .... | 43.407719 | 340 | 0.677024 | 7,587 | 61,856 | 5.337287 | 0.038619 | 0.032449 | 0.050625 | 0.09957 | 0.941522 | 0.935102 | 0.931866 | 0.930829 | 0.928384 | 0.925742 | 0 | 0.003537 | 0.213771 | 61,856 | 1,424 | 341 | 43.438202 | 0.829108 | 0.260799 | 0 | 0.825056 | 0 | 0 | 0.107414 | 0.037705 | 0 | 0 | 0 | 0 | 0.011287 | 1 | 0.143341 | false | 0 | 0.011287 | 0.025959 | 0.273138 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
353a6738ef31ba24f0a13840599fd2f53b951625 | 31,821 | py | Python | benchmark/packagejson/protobuf/schema_pb2.py | jviotti/binary-json-size-benchmark | a515dfd05736204fb36d3571a6a6b17e5f6e4916 | [
"Apache-2.0"
] | 2 | 2022-01-14T06:09:26.000Z | 2022-02-04T02:13:03.000Z | benchmark/packagejson/protobuf/schema_pb2.py | jviotti/binary-json-size-benchmark | a515dfd05736204fb36d3571a6a6b17e5f6e4916 | [
"Apache-2.0"
] | null | null | null | benchmark/packagejson/protobuf/schema_pb2.py | jviotti/binary-json-size-benchmark | a515dfd05736204fb36d3571a6a6b17e5f6e4916 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: schema.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf... | 45.008487 | 2,410 | 0.737783 | 4,186 | 31,821 | 5.305303 | 0.059484 | 0.060519 | 0.091544 | 0.076594 | 0.751846 | 0.713662 | 0.708619 | 0.706817 | 0.688581 | 0.686735 | 0 | 0.039977 | 0.130574 | 31,821 | 706 | 2,411 | 45.072238 | 0.762741 | 0.019735 | 0 | 0.724771 | 1 | 0.007645 | 0.105055 | 0.044556 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.006116 | 0 | 0.006116 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1071492b8d949984373ca494468fcd09e76ab98a | 7,030 | py | Python | karabo/test/test_source_detection.py | i4Ds/Karabo-Pipeline | c9a7f120b08b56af93bb953e284b33c107fd865c | [
"MIT"
] | null | null | null | karabo/test/test_source_detection.py | i4Ds/Karabo-Pipeline | c9a7f120b08b56af93bb953e284b33c107fd865c | [
"MIT"
] | 42 | 2022-01-27T14:12:46.000Z | 2022-03-31T14:21:26.000Z | karabo/test/test_source_detection.py | i4Ds/Karabo-Pipeline | c9a7f120b08b56af93bb953e284b33c107fd865c | [
"MIT"
] | null | null | null | import unittest
from karabo.Imaging import source_detection
from karabo.Imaging.source_detection import read_detection_from_sources_file_csv
from karabo.simulation.sky_model import read_sky_model_from_csv
from karabo.test import data_path
class TestSourceDetection(unittest.TestCase):
# TODO: move these on to CS... | 52.857143 | 106 | 0.554765 | 744 | 7,030 | 4.91129 | 0.200269 | 0.009852 | 0.006568 | 0.013136 | 0.854132 | 0.829502 | 0.798577 | 0.798577 | 0.798577 | 0.798577 | 0 | 0.079516 | 0.341679 | 7,030 | 132 | 107 | 53.257576 | 0.710026 | 0.781508 | 0 | 0 | 0 | 0 | 0.055437 | 0.055437 | 0 | 0 | 0 | 0.007576 | 0.066667 | 1 | 0.133333 | false | 0 | 0.333333 | 0 | 0.533333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
52a59934ab9e51e71eecb3a7669ddc51bb376146 | 313 | py | Python | temboo/core/Library/Salesforce/Searching/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Salesforce/Searching/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Salesforce/Searching/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Salesforce.Searching.Search import Search, SearchInputSet, SearchResultSet, SearchChoreographyExecution
from temboo.Library.Salesforce.Searching.SearchScopeAndOrder import SearchScopeAndOrder, SearchScopeAndOrderInputSet, SearchScopeAndOrderResultSet, SearchScopeAndOrderChoreographyExecution
| 104.333333 | 188 | 0.910543 | 22 | 313 | 12.954545 | 0.636364 | 0.070175 | 0.119298 | 0.189474 | 0.252632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044728 | 313 | 2 | 189 | 156.5 | 0.953177 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
52d7470e92ba1d1eb3d44e6895c1aa22968960b9 | 8,232 | py | Python | 1.Behavior-FitModels/Functions/fitModels.py | const7/MoralStrategiesFMRI | 520541fd5fb4ff707d8b5da96cbc8a987282abc7 | [
"MIT"
] | 17 | 2019-04-03T10:22:42.000Z | 2022-01-31T10:07:27.000Z | 1.Behavior-FitModels/Functions/fitModels.py | const7/MoralStrategiesFMRI | 520541fd5fb4ff707d8b5da96cbc8a987282abc7 | [
"MIT"
] | null | null | null | 1.Behavior-FitModels/Functions/fitModels.py | const7/MoralStrategiesFMRI | 520541fd5fb4ff707d8b5da96cbc8a987282abc7 | [
"MIT"
] | 7 | 2019-04-03T23:16:00.000Z | 2022-01-18T07:39:23.000Z | import sys, glob, os, scipy
import numpy as np
import pandas as pd
from scipy.optimize import least_squares
from scipy.io import loadmat
import costFunctions
import choiceModels
import penalizedModelFit
base_dir = 'yourprojectfolderhere'
# Arguments
sub = int(sys.argv[1]) # This takes the subject number
niter = int(... | 41.16 | 106 | 0.681487 | 1,219 | 8,232 | 4.522559 | 0.130435 | 0.04571 | 0.030473 | 0.038092 | 0.831852 | 0.818066 | 0.818066 | 0.805188 | 0.788863 | 0.788863 | 0 | 0.030007 | 0.153912 | 8,232 | 199 | 107 | 41.366834 | 0.761522 | 0.099976 | 0 | 0.745342 | 0 | 0.018634 | 0.117934 | 0.016267 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.055901 | null | null | 0.118012 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
eac29e98e017851043115f4239563840768db3ff | 9,175 | py | Python | test/inheritance_query/test.py | katonori/cxxtags | 2730adb040d1334caa1a9ae7e468f498e094d254 | [
"BSD-3-Clause"
] | null | null | null | test/inheritance_query/test.py | katonori/cxxtags | 2730adb040d1334caa1a9ae7e468f498e094d254 | [
"BSD-3-Clause"
] | null | null | null | test/inheritance_query/test.py | katonori/cxxtags | 2730adb040d1334caa1a9ae7e468f498e094d254 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/python
import sys
import os
import sqlite3
import commands
sys.path.append("../../src/")
import cxxtags_util as cxxtags
sys.path.append("../util/")
import clang.cindex # for kind types
import common as test_util
err = 0
#test_util.DebugOn()
if len(sys.argv) != 2:
print "usage: cmd db_file"
exit(1)... | 44.97549 | 108 | 0.644796 | 1,677 | 9,175 | 3.400716 | 0.096601 | 0.150973 | 0.18236 | 0.237068 | 0.836753 | 0.790637 | 0.769069 | 0.72681 | 0.673505 | 0.623356 | 0 | 0.071308 | 0.099728 | 9,175 | 203 | 109 | 45.197044 | 0.619128 | 0.021689 | 0 | 0.295858 | 0 | 0 | 0.373466 | 0.174738 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.04142 | null | null | 0.053254 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
dc5c23e7d7e4255c10c8015b183a8a2f302b3b7b | 10,572 | py | Python | dashboard/migrations/0016_utf8_conversion.py | lsloan/myla | f288ad3c77c3911f1831bf484a2ff275194e768b | [
"Apache-2.0"
] | 31 | 2018-11-28T16:45:01.000Z | 2022-01-21T15:28:07.000Z | dashboard/migrations/0016_utf8_conversion.py | lsloan/myla | f288ad3c77c3911f1831bf484a2ff275194e768b | [
"Apache-2.0"
] | 901 | 2018-11-01T21:11:37.000Z | 2022-03-30T18:58:20.000Z | dashboard/migrations/0016_utf8_conversion.py | lsloan/myla | f288ad3c77c3911f1831bf484a2ff275194e768b | [
"Apache-2.0"
] | 37 | 2018-11-02T16:53:20.000Z | 2022-03-18T16:45:55.000Z | # Migration to convert all tables and text columns as of 2020-07-22 to utf8mb4
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
# Go after this converstion in MyLA
('dashboard', '0015_auto_20200116_1408'),
# Django dependencies
('sites', '0... | 93.557522 | 158 | 0.731082 | 1,317 | 10,572 | 5.627183 | 0.103265 | 0.119822 | 0.189718 | 0.259614 | 0.863041 | 0.863041 | 0.852517 | 0.852517 | 0.839428 | 0.825665 | 0 | 0.053642 | 0.206489 | 10,572 | 112 | 159 | 94.392857 | 0.829777 | 0.023269 | 0 | 0.102041 | 0 | 0.387755 | 0.949108 | 0.044009 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.010204 | 0.010204 | 0 | 0.040816 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
dc7e163204d88441573ba582fd0028caa49265c5 | 110 | py | Python | src/mylib/__init__.py | takedarts/swgridnet | e2fede53a60047b40abeaf016a1c52d51a3e3e48 | [
"MIT"
] | 8 | 2017-09-25T08:54:18.000Z | 2018-10-18T11:47:43.000Z | src/mylib/__init__.py | takedarts/swgridnet | e2fede53a60047b40abeaf016a1c52d51a3e3e48 | [
"MIT"
] | null | null | null | src/mylib/__init__.py | takedarts/swgridnet | e2fede53a60047b40abeaf016a1c52d51a3e3e48 | [
"MIT"
] | null | null | null | from mylib import datasets
from mylib import functions
from mylib import links
from mylib import training
| 22 | 28 | 0.818182 | 16 | 110 | 5.625 | 0.4375 | 0.4 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 110 | 4 | 29 | 27.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
f49fa251264869e3dcf3b41419502885e858fb2e | 27,529 | py | Python | losantrest/flow.py | Losant/losant-rest-python | 50a6ce13dfef7acefb930fe45893c7bae862f784 | [
"MIT"
] | 5 | 2016-06-16T20:18:11.000Z | 2022-03-09T11:41:59.000Z | losantrest/flow.py | Losant/losant-rest-python | 50a6ce13dfef7acefb930fe45893c7bae862f784 | [
"MIT"
] | 4 | 2021-07-13T06:09:16.000Z | 2022-03-07T14:24:49.000Z | losantrest/flow.py | Losant/losant-rest-python | 50a6ce13dfef7acefb930fe45893c7bae862f784 | [
"MIT"
] | 6 | 2016-11-18T03:19:17.000Z | 2022-03-09T11:41:47.000Z | """
The MIT License (MIT)
Copyright (c) 2021 Losant IoT, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, me... | 44.473344 | 163 | 0.632969 | 3,073 | 27,529 | 5.574032 | 0.094045 | 0.039232 | 0.036429 | 0.053243 | 0.851538 | 0.845 | 0.840329 | 0.838052 | 0.833849 | 0.828128 | 0 | 0.005263 | 0.26147 | 27,529 | 618 | 164 | 44.545307 | 0.837244 | 0.487777 | 0 | 0.86747 | 0 | 0 | 0.264389 | 0.045862 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048193 | false | 0 | 0.004016 | 0 | 0.100402 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7627772179f0b8fe45b55349b8a7192eb4964985 | 978 | py | Python | utils/string_utils.py | greglan/python_scripts | f2e98ed3fd975d79b0a6b569b65c850a7f4f3ab3 | [
"MIT"
] | null | null | null | utils/string_utils.py | greglan/python_scripts | f2e98ed3fd975d79b0a6b569b65c850a7f4f3ab3 | [
"MIT"
] | null | null | null | utils/string_utils.py | greglan/python_scripts | f2e98ed3fd975d79b0a6b569b65c850a7f4f3ab3 | [
"MIT"
] | null | null | null | def compress(s):
"""
Compress a string by replacing n contiguous characters c by cn
:param s: string to compress
:type s: str
:return: str
"""
n = len(s)
i = 0
j = 1
compressed_str = ""
while j < len(s):
if s[j] == s[i]:
j += 1
else:
c... | 19.56 | 67 | 0.47955 | 142 | 978 | 3.239437 | 0.239437 | 0.226087 | 0.104348 | 0.130435 | 0.865217 | 0.865217 | 0.865217 | 0.865217 | 0.865217 | 0.865217 | 0 | 0.015437 | 0.403885 | 978 | 50 | 68 | 19.56 | 0.773585 | 0.280164 | 0 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068966 | false | 0 | 0 | 0 | 0.137931 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5280d921c9b55a209c4f82806ca89cdd8ba58519 | 4,454 | py | Python | tests/test_dict.py | koodaa-team/redis-natives-py | dbe3ee65527a7a1b0b1dc35ae968588635732718 | [
"MIT"
] | 1 | 2022-02-17T20:02:51.000Z | 2022-02-17T20:02:51.000Z | tests/test_dict.py | koodaa-team/redis-natives-py | dbe3ee65527a7a1b0b1dc35ae968588635732718 | [
"MIT"
] | null | null | null | tests/test_dict.py | koodaa-team/redis-natives-py | dbe3ee65527a7a1b0b1dc35ae968588635732718 | [
"MIT"
] | null | null | null | from redis import Redis
from redis_natives import Dict
from tests import RedisWrapper
class TestDict(object):
def setup_method(self, method):
self.redis = RedisWrapper(Redis())
self.redis.flushdb()
self.test_key = 'test_key'
self.dict = Dict(self.redis, self.test_key)
def test... | 26.831325 | 63 | 0.547822 | 623 | 4,454 | 3.789727 | 0.083467 | 0.25413 | 0.125794 | 0.148666 | 0.926726 | 0.916561 | 0.904278 | 0.826768 | 0.813638 | 0.813638 | 0 | 0.008184 | 0.286709 | 4,454 | 165 | 64 | 26.993939 | 0.73497 | 0 | 0 | 0.873016 | 0 | 0 | 0.03278 | 0 | 0 | 0 | 0 | 0 | 0.261905 | 1 | 0.261905 | false | 0 | 0.02381 | 0 | 0.309524 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
871383a5b7ca6a4d3c600deface09e3240109fe8 | 228 | py | Python | evaluation_framework/DocumentSimilarity/__init__.py | janothan/Evaluation-Framework | e53847bc352f657953933e1d7c97b68ac890c852 | [
"Apache-2.0"
] | 5 | 2020-02-12T13:11:14.000Z | 2021-01-28T12:45:22.000Z | evaluation_framework/DocumentSimilarity/__init__.py | charyeezy/Evaluation-Framework | ddfd4ea654a3d7d2abd58f062ec98a8a736f8f51 | [
"Apache-2.0"
] | 9 | 2019-07-29T17:45:30.000Z | 2022-03-17T12:24:47.000Z | evaluation_framework/DocumentSimilarity/__init__.py | charyeezy/Evaluation-Framework | ddfd4ea654a3d7d2abd58f062ec98a8a736f8f51 | [
"Apache-2.0"
] | 7 | 2020-02-12T13:22:49.000Z | 2021-11-29T01:08:50.000Z | from evaluation_framework.DocumentSimilarity.documentSimilarity_model import (
DocumentSimilarityModel,
)
from evaluation_framework.DocumentSimilarity.documentSimilarity_taskManager import (
DocumentSimilarityManager,
)
| 32.571429 | 84 | 0.868421 | 16 | 228 | 12.125 | 0.5625 | 0.14433 | 0.237113 | 0.42268 | 0.608247 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087719 | 228 | 6 | 85 | 38 | 0.932692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
875a0a16179324cc82e78ef539254663941e1147 | 28,824 | py | Python | test/integration/test_context.py | buddly27/nomenclator-nuke | 783a9ff9bba0a974cf4532ca5c14bb3fc0312af9 | [
"MIT"
] | 11 | 2021-09-06T15:41:28.000Z | 2022-03-21T23:52:59.000Z | test/integration/test_context.py | buddly27/nomenclator-nuke | 783a9ff9bba0a974cf4532ca5c14bb3fc0312af9 | [
"MIT"
] | 2 | 2021-09-14T02:56:55.000Z | 2021-09-14T03:00:03.000Z | test/integration/test_context.py | buddly27/nomenclator-nuke | 783a9ff9bba0a974cf4532ca5c14bb3fc0312af9 | [
"MIT"
] | 2 | 2021-09-07T06:53:06.000Z | 2021-09-13T19:20:22.000Z | # -*- coding: utf-8 -*-
import os
import pytest
@pytest.fixture(autouse=True)
def mock_fetch_next_version(mocker):
"""Mock 'nomenclator.utilities.fetch_next_version' function."""
import nomenclator.utilities
return mocker.patch.object(
nomenclator.utilities, "fetch_next_version", return_value=2
... | 34.769602 | 93 | 0.549438 | 2,785 | 28,824 | 5.448474 | 0.064991 | 0.059971 | 0.034071 | 0.055358 | 0.937722 | 0.924674 | 0.913734 | 0.906682 | 0.895347 | 0.895347 | 0 | 0.018329 | 0.331842 | 28,824 | 828 | 94 | 34.811594 | 0.769562 | 0.06734 | 0 | 0.906475 | 0 | 0 | 0.161223 | 0.091875 | 0 | 0 | 0 | 0 | 0.100719 | 1 | 0.015827 | false | 0.057554 | 0.031655 | 0 | 0.048921 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
5e547d1e53380362ef3913a99e44e8f9d9a51953 | 4,295 | py | Python | location_register/models/ratu_models.py | OlexandrTopuzov/Data_converter | 0ac2319ccaae790af35ab2202724c65d83d32ecc | [
"MIT"
] | null | null | null | location_register/models/ratu_models.py | OlexandrTopuzov/Data_converter | 0ac2319ccaae790af35ab2202724c65d83d32ecc | [
"MIT"
] | null | null | null | location_register/models/ratu_models.py | OlexandrTopuzov/Data_converter | 0ac2319ccaae790af35ab2202724c65d83d32ecc | [
"MIT"
] | null | null | null | from django.db import models
from django.utils.translation import ugettext_lazy as _
from data_ocean.models import DataOceanModel
from location_register.models.koatuu_models import KoatuuCategory
class RatuRegion(DataOceanModel):
name = models.CharField(_('name'), max_length=30, unique=True, help_text='Name of t... | 55.779221 | 145 | 0.606985 | 438 | 4,295 | 5.783105 | 0.141553 | 0.078168 | 0.066325 | 0.099487 | 0.837347 | 0.830636 | 0.807738 | 0.807738 | 0.791946 | 0.77497 | 0 | 0.011299 | 0.299418 | 4,295 | 76 | 146 | 56.513158 | 0.830508 | 0 | 0 | 0.491803 | 0 | 0 | 0.182771 | 0.024214 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.065574 | 0 | 0.639344 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
5e5dd83fe571090a018d343c8b991cd1cf2ea8dd | 9,178 | py | Python | ASCIIkull.py | Tom-Li1/Others | 0aab564e1ad6df21f3132f6872521565a769a7ba | [
"MIT"
] | null | null | null | ASCIIkull.py | Tom-Li1/Others | 0aab564e1ad6df21f3132f6872521565a769a7ba | [
"MIT"
] | null | null | null | ASCIIkull.py | Tom-Li1/Others | 0aab564e1ad6df21f3132f6872521565a769a7ba | [
"MIT"
] | null | null | null | import os
import time
from winsound import Beep
r"""
string = r'''
_,.-------.,_
,;~' '~;,
,; ;,
... | 44.338164 | 104 | 0.105796 | 1,665 | 9,178 | 1.518919 | 0.046847 | 0.855674 | 1.166074 | 1.420324 | 0.819692 | 0.788849 | 0.758007 | 0.71728 | 0.673784 | 0.641756 | 0 | 0.007783 | 0.45402 | 9,178 | 207 | 105 | 44.338164 | 0.108761 | 0 | 0 | 0.571429 | 0 | 0 | 0.923077 | 0.013448 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02521 | 0 | 0.02521 | 0.042017 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
5ec5e51de1caabf24e1ac5fd5fb9e8661dce9f2e | 20,378 | py | Python | openmixup/models/backbones/resnext.py | Westlake-AI/openmixup | ea81250819e740dd823e30cb7ce382d14a3c1b91 | [
"Apache-2.0"
] | 10 | 2021-12-30T10:22:27.000Z | 2022-03-30T02:31:38.000Z | openmixup/models/backbones/resnext.py | Westlake-AI/openmixup | ea81250819e740dd823e30cb7ce382d14a3c1b91 | [
"Apache-2.0"
] | 3 | 2022-01-20T21:02:48.000Z | 2022-03-19T13:49:45.000Z | openmixup/models/backbones/resnext.py | Westlake-AI/openmixup | ea81250819e740dd823e30cb7ce382d14a3c1b91 | [
"Apache-2.0"
] | null | null | null | # reference: https://github.com/open-mmlab/mmclassification/tree/master/mmcls/models/backbones
# modified from mmclassification resnext.py
import random
import torch.nn as nn
from mmcv.cnn import build_conv_layer, build_norm_layer
from ..registry import BACKBONES
from .resnet_mmcls import Bottleneck as _Bottleneck
fro... | 41.758197 | 97 | 0.587644 | 2,699 | 20,378 | 4.250093 | 0.119674 | 0.019528 | 0.031732 | 0.014907 | 0.835062 | 0.817627 | 0.79932 | 0.780577 | 0.772121 | 0.763839 | 0 | 0.024125 | 0.314506 | 20,378 | 487 | 98 | 41.843943 | 0.797051 | 0.400334 | 0 | 0.801471 | 0 | 0 | 0.014484 | 0 | 0 | 0 | 0 | 0 | 0.047794 | 1 | 0.055147 | false | 0 | 0.025735 | 0.007353 | 0.150735 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0d5856d272a973791b102401657f1a1822f8c781 | 145,280 | py | Python | sdk/python/pulumi_opsgenie/outputs.py | pulumi/pulumi-opsgenie | 4bc7d0cbb5b0437c59422a5977a61468baa2c4a7 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-12-01T20:57:42.000Z | 2021-12-01T20:57:42.000Z | sdk/python/pulumi_opsgenie/outputs.py | pulumi/pulumi-opsgenie | 4bc7d0cbb5b0437c59422a5977a61468baa2c4a7 | [
"ECL-2.0",
"Apache-2.0"
] | 34 | 2021-02-03T20:15:32.000Z | 2022-03-25T19:57:20.000Z | sdk/python/pulumi_opsgenie/outputs.py | pulumi/pulumi-opsgenie | 4bc7d0cbb5b0437c59422a5977a61468baa2c4a7 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2021-07-08T15:16:09.000Z | 2021-07-20T11:12:44.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 37.327852 | 291 | 0.620643 | 15,925 | 145,280 | 5.474662 | 0.032402 | 0.023204 | 0.038619 | 0.056444 | 0.839592 | 0.82132 | 0.804161 | 0.77185 | 0.760105 | 0.735078 | 0 | 0.001531 | 0.267036 | 145,280 | 3,891 | 292 | 37.337445 | 0.817214 | 0.276122 | 0 | 0.805892 | 1 | 0.012107 | 0.155938 | 0.069909 | 0 | 0 | 0 | 0 | 0 | 1 | 0.168281 | false | 0 | 0.002421 | 0.029863 | 0.326877 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0d686dc9ef7836d9dcd1a98c972cedbc4f4e6b66 | 161 | py | Python | command_handler/stats.py | felippemr/simple_kv | 3be53ce328d5749ffa0a3c2ccb2f2be60201e6cf | [
"BSD-3-Clause"
] | 16 | 2015-12-04T18:36:16.000Z | 2022-03-29T21:52:31.000Z | command_handler/stats.py | felippemr/simple_kv | 3be53ce328d5749ffa0a3c2ccb2f2be60201e6cf | [
"BSD-3-Clause"
] | null | null | null | command_handler/stats.py | felippemr/simple_kv | 3be53ce328d5749ffa0a3c2ccb2f2be60201e6cf | [
"BSD-3-Clause"
] | null | null | null | from settings import STATS_DICT
def handle_stats():
"""Return a tuple containing True and the contents of the STATS dict."""
return (True, STATS_DICT)
| 23 | 76 | 0.726708 | 24 | 161 | 4.75 | 0.666667 | 0.236842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192547 | 161 | 6 | 77 | 26.833333 | 0.876923 | 0.409938 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
0d82b90cc315f19b41cd80b23354708ab0229874 | 6,240 | py | Python | perms.py | dudkin-2005/PilotTelegramBot | 3f92599de011aa63dc739712972637b781b5c4ae | [
"Apache-2.0"
] | null | null | null | perms.py | dudkin-2005/PilotTelegramBot | 3f92599de011aa63dc739712972637b781b5c4ae | [
"Apache-2.0"
] | null | null | null | perms.py | dudkin-2005/PilotTelegramBot | 3f92599de011aa63dc739712972637b781b5c4ae | [
"Apache-2.0"
] | null | null | null | import telebot
bot = telebot.TeleBot('1073948237:AAGKs3HzRBZwBZGkoQ5moJIakWQn39nQtX4')
def restrict(message):
try:
member = bot.get_chat_member(chat_id=message.chat.id,
user_id=message.from_user.id)
if member.status == 'creator' or member.status == 'administrat... | 48.75 | 103 | 0.511218 | 639 | 6,240 | 4.70266 | 0.131455 | 0.063894 | 0.090849 | 0.090516 | 0.81198 | 0.784692 | 0.784692 | 0.784692 | 0.784692 | 0.784692 | 0 | 0.004925 | 0.414263 | 6,240 | 127 | 104 | 49.133858 | 0.817237 | 0.004968 | 0 | 0.728972 | 0 | 0 | 0.108605 | 0.007412 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046729 | false | 0 | 0.009346 | 0 | 0.056075 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0d883a2bfdddbed4a07d5a8b567441b596d8ba08 | 3,658 | py | Python | DQM/TrackingMonitorSource/python/pset4GenericTriggerEventFlag_cfi.py | PKUfudawei/cmssw | 8fbb5ce74398269c8a32956d7c7943766770c093 | [
"Apache-2.0"
] | 1 | 2021-11-30T16:24:46.000Z | 2021-11-30T16:24:46.000Z | DQM/TrackingMonitorSource/python/pset4GenericTriggerEventFlag_cfi.py | PKUfudawei/cmssw | 8fbb5ce74398269c8a32956d7c7943766770c093 | [
"Apache-2.0"
] | 4 | 2021-11-29T13:57:56.000Z | 2022-03-29T06:28:36.000Z | DQM/TrackingMonitorSource/python/pset4GenericTriggerEventFlag_cfi.py | PKUfudawei/cmssw | 8fbb5ce74398269c8a32956d7c7943766770c093 | [
"Apache-2.0"
] | 1 | 2021-11-23T09:25:45.000Z | 2021-11-23T09:25:45.000Z | import FWCore.ParameterSet.Config as cms
genericTriggerEventFlag4fullTracker = cms.PSet(
andOr = cms.bool( False ),
dcsInputTag = cms.InputTag( "scalersRawToDigi" ),
dcsRecordInputTag = cms.InputTag("onlineMetaDataDigis"),
dcsPartitions = cms.vint32 ( 24, 25, 26, 27, 28, 29 ),
andOrDcs = ... | 44.609756 | 80 | 0.667031 | 350 | 3,658 | 6.911429 | 0.168571 | 0.075238 | 0.079372 | 0.037205 | 0.845804 | 0.822654 | 0.797024 | 0.797024 | 0.738322 | 0.693675 | 0 | 0.033447 | 0.199016 | 3,658 | 81 | 81 | 45.160494 | 0.79215 | 0.082285 | 0 | 0.766234 | 0 | 0 | 0.129148 | 0.013752 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012987 | 0 | 0.012987 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0dab71e44d19e1a5e77798e515a3353c6d5c4b65 | 25,479 | py | Python | sdk/python/pulumi_sumologic/scheduled_view.py | pulumi/pulumi-sumologic | 962fa056ee4b96e61a200e7bf2308bfad723c3af | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-10-13T03:50:41.000Z | 2021-10-13T03:50:41.000Z | sdk/python/pulumi_sumologic/scheduled_view.py | pulumi/pulumi-sumologic | 962fa056ee4b96e61a200e7bf2308bfad723c3af | [
"ECL-2.0",
"Apache-2.0"
] | 28 | 2021-05-21T11:00:45.000Z | 2022-03-31T15:47:13.000Z | sdk/python/pulumi_sumologic/scheduled_view.py | pulumi/pulumi-sumologic | 962fa056ee4b96e61a200e7bf2308bfad723c3af | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 56.245033 | 514 | 0.692296 | 3,251 | 25,479 | 5.242387 | 0.071363 | 0.085372 | 0.055037 | 0.046471 | 0.89949 | 0.883823 | 0.877838 | 0.861468 | 0.853195 | 0.838819 | 0 | 0.003136 | 0.224028 | 25,479 | 452 | 515 | 56.369469 | 0.858884 | 0.437851 | 0 | 0.722433 | 1 | 0 | 0.118689 | 0.034061 | 0 | 0 | 0 | 0 | 0 | 1 | 0.159696 | false | 0.003802 | 0.019011 | 0 | 0.273764 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0de1f940fc4bc7f5faadcf0b88c3569a16720129 | 44,776 | py | Python | rlkit/launchers/rl_exp_launcher_util_old.py | Asap7772/railrl_evalsawyer | baba8ce634d32a48c7dfe4dc03b123e18e96e0a3 | [
"MIT"
] | 1 | 2020-10-23T14:40:09.000Z | 2020-10-23T14:40:09.000Z | rlkit/launchers/rl_exp_launcher_util_old.py | Asap7772/railrl_evalsawyer | baba8ce634d32a48c7dfe4dc03b123e18e96e0a3 | [
"MIT"
] | null | null | null | rlkit/launchers/rl_exp_launcher_util_old.py | Asap7772/railrl_evalsawyer | baba8ce634d32a48c7dfe4dc03b123e18e96e0a3 | [
"MIT"
] | 1 | 2021-05-27T20:38:45.000Z | 2021-05-27T20:38:45.000Z | from rlkit.samplers.data_collector import VAEWrappedEnvPathCollector
from rlkit.visualization.video import VideoSaveFunction
from rlkit.torch.her.her import HERTrainer
from rlkit.torch.sac.policies import MakeDeterministic
from rlkit.torch.sac.sac import SACTrainer
from rlkit.torch.vae.online_vae_algorithm import Onlin... | 32.778917 | 90 | 0.655664 | 4,957 | 44,776 | 5.553157 | 0.048618 | 0.030261 | 0.046282 | 0.033967 | 0.919352 | 0.911941 | 0.896574 | 0.889163 | 0.873542 | 0.864097 | 0 | 0.00676 | 0.259938 | 44,776 | 1,365 | 91 | 32.80293 | 0.823943 | 0.011435 | 0 | 0.793881 | 0 | 0 | 0.09755 | 0.018466 | 0 | 0 | 0 | 0 | 0.004831 | 1 | 0.008052 | false | 0 | 0.066828 | 0 | 0.074879 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0df977d7b93c280609b83f8c7407e780209f5280 | 3,501 | py | Python | backend/ibutsu_server/test/test_importers.py | RonnyPfannschmidt/ibutsu-server | eb4a6dfcbdd33ccc6dbf10f35978e092376679d1 | [
"MIT"
] | null | null | null | backend/ibutsu_server/test/test_importers.py | RonnyPfannschmidt/ibutsu-server | eb4a6dfcbdd33ccc6dbf10f35978e092376679d1 | [
"MIT"
] | null | null | null | backend/ibutsu_server/test/test_importers.py | RonnyPfannschmidt/ibutsu-server | eb4a6dfcbdd33ccc6dbf10f35978e092376679d1 | [
"MIT"
] | null | null | null | from pathlib import Path
from unittest.mock import call
from unittest.mock import MagicMock
from unittest.mock import patch
from ibutsu_server.test import BaseTestCase
XML_FILE = Path(__file__).parent / "res" / "empty-testsuite.xml"
XML_FILE_COMBINED = Path(__file__).parent / "res" / "combined.xml"
class TestImpor... | 43.222222 | 97 | 0.720366 | 425 | 3,501 | 5.614118 | 0.2 | 0.065381 | 0.085499 | 0.130763 | 0.745599 | 0.745599 | 0.730511 | 0.730511 | 0.711651 | 0.711651 | 0 | 0.007679 | 0.181662 | 3,501 | 80 | 98 | 43.7625 | 0.825131 | 0.095116 | 0 | 0.568966 | 0 | 0 | 0.155238 | 0.115873 | 0 | 0 | 0 | 0 | 0.189655 | 1 | 0.051724 | false | 0 | 0.724138 | 0 | 0.793103 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
21e471824751e8af9bd25739b53726fcca933cea | 13,846 | py | Python | src/genie/libs/parser/sros/tests/test_show_isis.py | svautour/genieparser | 7416c9a4b44582be835a0646fb7fad92a5181c7d | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/sros/tests/test_show_isis.py | svautour/genieparser | 7416c9a4b44582be835a0646fb7fad92a5181c7d | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/sros/tests/test_show_isis.py | svautour/genieparser | 7416c9a4b44582be835a0646fb7fad92a5181c7d | [
"Apache-2.0"
] | null | null | null | import unittest
import time
from unittest.mock import Mock
from pyats.topology import Device
from genie.metaparser.util.exceptions import SchemaEmptyParserError,\
SchemaMissingKeyError
from genie.libs.parser.sros.show_isis import ShowRouterIsisAdjacency,\
... | 46.619529 | 84 | 0.336776 | 967 | 13,846 | 4.695967 | 0.157187 | 0.017617 | 0.015856 | 0.019379 | 0.838141 | 0.819643 | 0.743669 | 0.732658 | 0.727813 | 0.717243 | 0 | 0.091735 | 0.530767 | 13,846 | 297 | 85 | 46.619529 | 0.607203 | 0 | 0 | 0.701754 | 0 | 0 | 0.461442 | 0.054018 | 0 | 0 | 0 | 0 | 0.014035 | 1 | 0.014035 | false | 0 | 0.021053 | 0 | 0.070175 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
df4af87ae35f03a39ee054e5b6298723ceaa70df | 15,866 | py | Python | MasterServer/MasterServer_pb2_grpc.py | wangtl175/Distributed-Key-Value-Store-System | c6661686474ef2660a6c4e62c2db6d1f924ebf29 | [
"MIT"
] | 1 | 2021-03-13T12:43:12.000Z | 2021-03-13T12:43:12.000Z | MasterServer/MasterServer_pb2_grpc.py | wangtl175/Distributed-Key-Value-Store-System | c6661686474ef2660a6c4e62c2db6d1f924ebf29 | [
"MIT"
] | null | null | null | MasterServer/MasterServer_pb2_grpc.py | wangtl175/Distributed-Key-Value-Store-System | c6661686474ef2660a6c4e62c2db6d1f924ebf29 | [
"MIT"
] | null | null | null | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
import MasterServer_pb2 as MasterServer__pb2
class MasterServerStub(object):
"""Missing associated documentation comment in .proto file."""
def __init... | 43.587912 | 107 | 0.645279 | 1,408 | 15,866 | 6.983665 | 0.072443 | 0.094579 | 0.050849 | 0.048917 | 0.87664 | 0.854978 | 0.798434 | 0.779111 | 0.708634 | 0.687278 | 0 | 0.005415 | 0.278331 | 15,866 | 363 | 108 | 43.707989 | 0.853362 | 0.0612 | 0 | 0.657051 | 1 | 0 | 0.090583 | 0.05239 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070513 | false | 0 | 0.00641 | 0.032051 | 0.11859 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
df810f766ac032bd1a8acd76c0bfff2a5f05effa | 397 | py | Python | 303.range-sum-query-immutable.py | tsonglew/leetcode-solution | abce0c36def55a8d3bf86fca531246a29920e771 | [
"Unlicense"
] | null | null | null | 303.range-sum-query-immutable.py | tsonglew/leetcode-solution | abce0c36def55a8d3bf86fca531246a29920e771 | [
"Unlicense"
] | null | null | null | 303.range-sum-query-immutable.py | tsonglew/leetcode-solution | abce0c36def55a8d3bf86fca531246a29920e771 | [
"Unlicense"
] | null | null | null | class NumArray:
def __init__(self, nums: List[int]):
self.nums_sum = [0]*len(nums)
for i, _ in enumerate(nums):
self.nums_sum[i] = self.nums_sum[i-1] + (nums[i] if i > 0 else nums[i])
def sumRange(self, left: int, right: int) -> int:
return self.nums_sum[right] - self.nums_... | 39.7 | 124 | 0.607053 | 67 | 397 | 3.41791 | 0.328358 | 0.279476 | 0.336245 | 0.196507 | 0.196507 | 0.196507 | 0.196507 | 0.196507 | 0 | 0 | 0 | 0.019737 | 0.234257 | 397 | 9 | 125 | 44.111111 | 0.733553 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
10c78dc6410c3747583e9c4164a76821855cd1e1 | 116 | py | Python | Web/utils/functions.py | CabbSir/CAU_Graduate_Course_Schedule | 63765875a413c2fc9a13eaeda26271325ceea2d0 | [
"MIT"
] | null | null | null | Web/utils/functions.py | CabbSir/CAU_Graduate_Course_Schedule | 63765875a413c2fc9a13eaeda26271325ceea2d0 | [
"MIT"
] | null | null | null | Web/utils/functions.py | CabbSir/CAU_Graduate_Course_Schedule | 63765875a413c2fc9a13eaeda26271325ceea2d0 | [
"MIT"
] | null | null | null | from flask import request
def get_real_ip():
return request.environ.get('HTTP_X_REAL_IP', request.remote_addr) | 23.2 | 69 | 0.784483 | 19 | 116 | 4.473684 | 0.736842 | 0.141176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 116 | 5 | 69 | 23.2 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.119658 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
802b48e84d76a8785f59939db8669bb4e6dff6ad | 86,974 | py | Python | vendor/github.com/avinetworks/sdk/python/avi/migrationtools/f5_converter/profile_converter.py | avinetworks/servicemesh | 4b4864e1327f09fa0bc047770af7e477a32f9d94 | [
"Apache-2.0"
] | 4 | 2017-06-16T18:51:52.000Z | 2020-02-11T15:22:42.000Z | vendor/github.com/avinetworks/sdk/python/avi/migrationtools/f5_converter/profile_converter.py | sudswasavi/servicemesh | 4f07c228e9b62c9b621cb0bfc464c75e85351f7f | [
"Apache-2.0"
] | 17 | 2019-01-11T05:57:35.000Z | 2019-08-29T05:33:38.000Z | vendor/github.com/avinetworks/sdk/python/avi/migrationtools/f5_converter/profile_converter.py | sudswasavi/servicemesh | 4f07c228e9b62c9b621cb0bfc464c75e85351f7f | [
"Apache-2.0"
] | 8 | 2017-06-26T18:15:58.000Z | 2021-04-12T08:09:03.000Z | import copy
import logging
import os
import yaml
import avi.migrationtools.f5_converter.converter_constants as final
from avi.migrationtools.f5_converter.conversion_util import F5Util
from avi.migrationtools.avi_migration_utils import update_count
LOG = logging.getLogger(__name__)
ssl_count = {'count': 0}
# Creating f... | 49.699429 | 80 | 0.563042 | 9,267 | 86,974 | 4.962447 | 0.049315 | 0.024137 | 0.02355 | 0.025442 | 0.839172 | 0.807467 | 0.780481 | 0.757323 | 0.739731 | 0.72838 | 0 | 0.005711 | 0.349748 | 86,974 | 1,750 | 81 | 49.699429 | 0.807426 | 0.022731 | 0 | 0.681907 | 0 | 0 | 0.146045 | 0.029237 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.013063 | 0.004572 | null | null | 0.001306 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1d71d0d9ea9a6a26f4c379575e424de0468d5cd5 | 70 | py | Python | core/outfits/__init__.py | ChrisLR/BasicDungeonRL | b293d40bd9a0d3b7aec41b5e1d58441165997ff1 | [
"MIT"
] | 3 | 2017-10-28T11:28:38.000Z | 2018-09-12T09:47:00.000Z | core/outfits/__init__.py | ChrisLR/BasicDungeonRL | b293d40bd9a0d3b7aec41b5e1d58441165997ff1 | [
"MIT"
] | null | null | null | core/outfits/__init__.py | ChrisLR/BasicDungeonRL | b293d40bd9a0d3b7aec41b5e1d58441165997ff1 | [
"MIT"
] | null | null | null | from core.outfits import listing
from core.outfits.base import Outfit
| 23.333333 | 36 | 0.842857 | 11 | 70 | 5.363636 | 0.636364 | 0.271186 | 0.508475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 70 | 2 | 37 | 35 | 0.951613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
d53073e705435fd593bab86acb36702d868262ae | 157 | py | Python | expenseReimbursementProject1/exceptions/value_type_error.py | Basdanso/reimbursementApi | e0e1ef9b1198421884d21ac014fa85767b4f62e2 | [
"MIT"
] | null | null | null | expenseReimbursementProject1/exceptions/value_type_error.py | Basdanso/reimbursementApi | e0e1ef9b1198421884d21ac014fa85767b4f62e2 | [
"MIT"
] | null | null | null | expenseReimbursementProject1/exceptions/value_type_error.py | Basdanso/reimbursementApi | e0e1ef9b1198421884d21ac014fa85767b4f62e2 | [
"MIT"
] | null | null | null | class ValueTypeError(Exception):
description: str = 'Occurs when type does not match'
def __str__(self):
return "Value type does not match"
| 26.166667 | 56 | 0.694268 | 20 | 157 | 5.25 | 0.75 | 0.152381 | 0.209524 | 0.304762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229299 | 157 | 5 | 57 | 31.4 | 0.867769 | 0 | 0 | 0 | 0 | 0 | 0.356688 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
d581c7865172c3d3afbc5893affb2782540a00a3 | 5,177 | py | Python | pymapadmin/grpc/admin_grpc.py | icgood/pymap-admin | 6cde908af84f52d4cd591a80503a19f784e47a35 | [
"MIT"
] | 2 | 2021-11-17T22:28:46.000Z | 2021-11-18T14:47:07.000Z | pymapadmin/grpc/admin_grpc.py | icgood/pymap-admin | 6cde908af84f52d4cd591a80503a19f784e47a35 | [
"MIT"
] | null | null | null | pymapadmin/grpc/admin_grpc.py | icgood/pymap-admin | 6cde908af84f52d4cd591a80503a19f784e47a35 | [
"MIT"
] | null | null | null | # Generated by the Protocol Buffers compiler. DO NOT EDIT!
# source: pymapadmin/grpc/admin.proto
# plugin: grpclib.plugin.main
import abc
import typing
import grpclib.const
import grpclib.client
if typing.TYPE_CHECKING:
import grpclib.server
import pymapadmin.grpc.admin_pb2
class SystemBase(abc.ABC):
@abc.... | 35.703448 | 157 | 0.639946 | 508 | 5,177 | 6.387795 | 0.137795 | 0.215716 | 0.222496 | 0.250847 | 0.792604 | 0.792604 | 0.735901 | 0.651464 | 0.64037 | 0.483205 | 0 | 0.009653 | 0.25961 | 5,177 | 144 | 158 | 35.951389 | 0.836942 | 0.023179 | 0 | 0.547826 | 1 | 0.052174 | 0.192757 | 0.191569 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052174 | false | 0.052174 | 0.052174 | 0.026087 | 0.182609 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
63439e6172bf80edaf0341030b779950b0eec1a7 | 165 | py | Python | python_runtime/exonum_runtime/merkledb/indices/__init__.py | alekseysidorov/exonum-python-backend | fae38042acba4c7fd9ca05f6afa1e9bec54dd86d | [
"Apache-2.0"
] | 2 | 2019-10-06T17:23:08.000Z | 2019-10-07T09:35:59.000Z | python_runtime/exonum_runtime/merkledb/indices/__init__.py | alekseysidorov/exonum-python-backend | fae38042acba4c7fd9ca05f6afa1e9bec54dd86d | [
"Apache-2.0"
] | null | null | null | python_runtime/exonum_runtime/merkledb/indices/__init__.py | alekseysidorov/exonum-python-backend | fae38042acba4c7fd9ca05f6afa1e9bec54dd86d | [
"Apache-2.0"
] | 1 | 2020-01-18T09:29:30.000Z | 2020-01-18T09:29:30.000Z | """TODO"""
from .list_index import ListIndex
from .map_index import MapIndex
from .proof_list_index import ProofListIndex
from .proof_map_index import ProofMapIndex
| 27.5 | 44 | 0.836364 | 23 | 165 | 5.73913 | 0.478261 | 0.333333 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10303 | 165 | 5 | 45 | 33 | 0.891892 | 0.024242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
6358b66597519efb625eaca18ac93b55e3628738 | 9,050 | py | Python | parser/fase2/team07/Tytus_SQLPARSER_G8/Instrucciones/plpgsql/condicional_case.py | Josue-Zea/tytus | f9e4be9a8c03eb698fade7a748972e4f52d46685 | [
"MIT"
] | 35 | 2020-12-07T03:11:43.000Z | 2021-04-15T17:38:16.000Z | parser/fase2/team07/Tytus_SQLPARSER_G8/Instrucciones/plpgsql/condicional_case.py | Josue-Zea/tytus | f9e4be9a8c03eb698fade7a748972e4f52d46685 | [
"MIT"
] | 47 | 2020-12-09T01:29:09.000Z | 2021-01-13T05:37:50.000Z | parser/fase2/team07/Tytus_SQLPARSER_G8/Instrucciones/plpgsql/condicional_case.py | Josue-Zea/tytus | f9e4be9a8c03eb698fade7a748972e4f52d46685 | [
"MIT"
] | 556 | 2020-12-07T03:13:31.000Z | 2021-06-17T17:41:10.000Z | from Instrucciones.TablaSimbolos.Instruccion import Instruccion
from Instrucciones.TablaSimbolos.Tipo import Tipo_Dato
from Instrucciones.Excepcion import Excepcion
from Instrucciones.Expresiones import Relacional
class Case(Instruccion):
'''
La clase Case, recibe una lista de condiciones y cada una de ellas t... | 40.765766 | 121 | 0.631713 | 927 | 9,050 | 6.039914 | 0.122977 | 0.039293 | 0.030005 | 0.024647 | 0.800321 | 0.790677 | 0.77496 | 0.774067 | 0.774067 | 0.774067 | 0 | 0.002171 | 0.287514 | 9,050 | 222 | 122 | 40.765766 | 0.86616 | 0.173481 | 0 | 0.739437 | 0 | 0 | 0.028987 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.126761 | false | 0.042254 | 0.028169 | 0 | 0.316901 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
89423055c6b1874719a9ee46af208da9b3e24736 | 16,641 | py | Python | report.py | reniericorreia/MTVCodeSmellCheck | 4f1deb7f117effcdffbf7cff49047d153319769d | [
"MIT"
] | null | null | null | report.py | reniericorreia/MTVCodeSmellCheck | 4f1deb7f117effcdffbf7cff49047d153319769d | [
"MIT"
] | null | null | null | report.py | reniericorreia/MTVCodeSmellCheck | 4f1deb7f117effcdffbf7cff49047d153319769d | [
"MIT"
] | 3 | 2018-05-14T20:25:31.000Z | 2020-07-23T01:27:36.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
import csv
import pandas as pd
def export_csv(head=[], datalist=[], filename='export_csv.csv', delimitator=';'):
c = csv.writer(open(filename, "wb"))
c.writerow(head)
for data in datalist:
c.writerow(data.__str__().split(delimitator)... | 69.627615 | 104 | 0.728802 | 1,874 | 16,641 | 6.234258 | 0.053362 | 0.221861 | 0.178721 | 0.124283 | 0.919798 | 0.895832 | 0.875289 | 0.845502 | 0.840024 | 0.813147 | 0 | 0.008898 | 0.142299 | 16,641 | 238 | 105 | 69.920168 | 0.809641 | 0.001262 | 0 | 0.684211 | 0 | 0 | 0.333935 | 0.033219 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.013158 | null | null | 0.692982 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 9 |
894a5779f5981fbc1930b87d14c0f1e033ccc8d3 | 35,418 | py | Python | tests/test_interface_ats.py | alliedtelesis/py-networking | 6c5d4bdafabfb4feef235a02344432e1f0336e48 | [
"Apache-2.0"
] | 4 | 2015-04-24T20:36:56.000Z | 2021-05-03T20:21:54.000Z | tests/test_interface_ats.py | alliedtelesis/py-networking | 6c5d4bdafabfb4feef235a02344432e1f0336e48 | [
"Apache-2.0"
] | 1 | 2019-07-14T07:07:21.000Z | 2019-07-14T07:07:21.000Z | tests/test_interface_ats.py | alliedtelesis/py-networking | 6c5d4bdafabfb4feef235a02344432e1f0336e48 | [
"Apache-2.0"
] | 3 | 2015-04-24T20:37:04.000Z | 2017-03-02T15:14:46.000Z | # -*- coding: utf-8 -*-
import pytest
from pynetworking.Device import Device
ats_supported_sw_version = '3.0.0.44'
ats_supported_boot_version = '1.0.1.07'
ats_basic_supported_model = 'AT-8000S'
ats_supported_model = [ats_basic_supported_model + '/' + '24', ats_basic_supported_model + '/' + '48']
ats_model_port_number... | 38.372698 | 138 | 0.448557 | 4,252 | 35,418 | 3.696378 | 0.047742 | 0.114526 | 0.136667 | 0.227779 | 0.909143 | 0.899408 | 0.888083 | 0.888083 | 0.882993 | 0.882993 | 0 | 0.131623 | 0.407956 | 35,418 | 922 | 139 | 38.414317 | 0.617912 | 0.000593 | 0 | 0.923429 | 0 | 0 | 0.854104 | 0.004746 | 0 | 0 | 0 | 0 | 0.027429 | 1 | 0.008 | false | 0 | 0.002286 | 0 | 0.010286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
899c649ad362d748354372855604277acccc2bd6 | 8,909 | py | Python | dataset.py | xuweigogogo/DSACA | 7b7de22bd770c3cc2856fcb6dc58ff07cd2a3571 | [
"MIT"
] | 8 | 2021-04-12T08:54:48.000Z | 2022-03-14T06:27:12.000Z | dataset.py | xuweigogogo/DSACA | 7b7de22bd770c3cc2856fcb6dc58ff07cd2a3571 | [
"MIT"
] | null | null | null | dataset.py | xuweigogogo/DSACA | 7b7de22bd770c3cc2856fcb6dc58ff07cd2a3571 | [
"MIT"
] | null | null | null | import torch
from torch.utils.data import Dataset
import os
from image import *
import random
import time
import torch
from config import args
from torchvision import datasets, transforms
import numpy as np
from PIL import Image, ImageEnhance
import numbers
from torch.multiprocessing import Pool, Process,... | 37.590717 | 134 | 0.547536 | 1,140 | 8,909 | 4.022807 | 0.10614 | 0.076319 | 0.042739 | 0.032708 | 0.863934 | 0.863934 | 0.834278 | 0.822503 | 0.822503 | 0.822503 | 0 | 0.033265 | 0.338646 | 8,909 | 236 | 135 | 37.75 | 0.745078 | 0.192502 | 0 | 0.748201 | 0 | 0 | 0.005683 | 0 | 0 | 0 | 0 | 0 | 0.014388 | 1 | 0.043165 | false | 0.007194 | 0.093525 | 0.014388 | 0.179856 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
89a998ffaac4df7af10d76701e5a83608039387b | 229 | py | Python | python/scrutiny/server/protocol/commands/__init__.py | scrutinydebugger/scrutiny | 7530790ae40f20c3008fe196e39cab07c4b73445 | [
"MIT"
] | 1 | 2021-04-18T02:58:59.000Z | 2021-04-18T02:58:59.000Z | python/scrutiny/server/protocol/commands/__init__.py | scrutinydebugger/scrutiny | 7530790ae40f20c3008fe196e39cab07c4b73445 | [
"MIT"
] | null | null | null | python/scrutiny/server/protocol/commands/__init__.py | scrutinydebugger/scrutiny | 7530790ae40f20c3008fe196e39cab07c4b73445 | [
"MIT"
] | null | null | null | from .base_command import DatalogControl
from .base_command import GetInfo
from .base_command import MemoryControl
from .base_command import CommControl
from .base_command import UserCommand
from .base_command import DummyCommand | 38.166667 | 40 | 0.873362 | 30 | 229 | 6.466667 | 0.333333 | 0.247423 | 0.463918 | 0.649485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100437 | 229 | 6 | 41 | 38.166667 | 0.941748 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
983092fd7cd3bc6824b23f7203f539b42bec1abe | 713 | py | Python | ULA/testeULA.py | RicardoFedrigo/ULA_PYTHON | 23c746b2076cf2bc637aa34330e54db49d7a8554 | [
"MIT"
] | null | null | null | ULA/testeULA.py | RicardoFedrigo/ULA_PYTHON | 23c746b2076cf2bc637aa34330e54db49d7a8554 | [
"MIT"
] | null | null | null | ULA/testeULA.py | RicardoFedrigo/ULA_PYTHON | 23c746b2076cf2bc637aa34330e54db49d7a8554 | [
"MIT"
] | null | null | null | from ula import Ula
ula=Ula(4)
A = [1,0,0,0,1,0,0,1]
B = [1,0,0,0,1,0,0,1]
C = [1,1,1,1,1,1,1,1]
ula.setA(A)
ula.setB(B)
ula.setInstrucao([0,0,0,1])
ula.selecao()
print(ula.getSaida())
ula.setInstrucao([0,0,1,0])
ula.selecao()
print(ula.getSaida())
ula.setInstrucao([0,0,1,1])
ula.selecao()
print(ula.getSaida())
... | 13.980392 | 27 | 0.660589 | 139 | 713 | 3.388489 | 0.107914 | 0.059448 | 0.286624 | 0.343949 | 0.876858 | 0.876858 | 0.876858 | 0.859873 | 0.766454 | 0.762208 | 0 | 0.093272 | 0.082749 | 713 | 51 | 28 | 13.980392 | 0.626911 | 0 | 0 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.029412 | 0 | 0.029412 | 0.264706 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7f2bb676e5135ebdf8b615c0ce9ba1c6a5bc6581 | 4,505 | py | Python | test/observer/test_observer.py | a1trl9/MQBench | 279c5a9e6e48778fe2913ba708b53ab9c2b0520c | [
"Apache-2.0"
] | 51 | 2021-08-20T01:28:50.000Z | 2021-09-22T05:34:39.000Z | test/observer/test_observer.py | a1trl9/MQBench | 279c5a9e6e48778fe2913ba708b53ab9c2b0520c | [
"Apache-2.0"
] | 7 | 2021-08-24T09:46:31.000Z | 2021-09-22T05:43:06.000Z | test/observer/test_observer.py | a1trl9/MQBench | 279c5a9e6e48778fe2913ba708b53ab9c2b0520c | [
"Apache-2.0"
] | 6 | 2021-08-20T09:18:48.000Z | 2021-09-19T04:35:13.000Z | import torch
import unittest
from mqbench.prepare_by_platform import prepare_by_platform, BackendType
from mqbench.convert_deploy import convert_deploy
from mqbench.utils.state import enable_calibration, enable_quantization
class TestObserver(unittest.TestCase):
def test_quantile_observer(self):
model_to... | 45.969388 | 113 | 0.685905 | 480 | 4,505 | 6.04375 | 0.139583 | 0.11203 | 0.077559 | 0.079283 | 0.869355 | 0.869355 | 0.869355 | 0.869355 | 0.869355 | 0.869355 | 0 | 0.014205 | 0.218646 | 4,505 | 98 | 114 | 45.969388 | 0.809943 | 0 | 0 | 0.747253 | 0 | 0 | 0.170661 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054945 | false | 0 | 0.054945 | 0 | 0.120879 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7f89ef2283ab13bb046619397b197275189da323 | 24,174 | py | Python | swagger_client/apis/organization_api.py | ESIPFed/corpy | e1eec577f15934c6969784c4025d2c29eb7c32ca | [
"Apache-2.0"
] | null | null | null | swagger_client/apis/organization_api.py | ESIPFed/corpy | e1eec577f15934c6969784c4025d2c29eb7c32ca | [
"Apache-2.0"
] | null | null | null | swagger_client/apis/organization_api.py | ESIPFed/corpy | e1eec577f15934c6969784c4025d2c29eb7c32ca | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
ORR API Documentation
The main ORR documentation is located at: https://mmisw.org/orrdoc/ __Please note__: - The ORR API is approaching a stable version but is still work in progress. Please [let us know](https://github.com/mmisw/mmiorr-docs/issues) if you have any questions or sugges... | 43.090909 | 1,710 | 0.577108 | 2,535 | 24,174 | 5.289941 | 0.116371 | 0.027666 | 0.02088 | 0.026846 | 0.863087 | 0.851902 | 0.851902 | 0.833706 | 0.830276 | 0.82692 | 0 | 0.000253 | 0.344957 | 24,174 | 560 | 1,711 | 43.167857 | 0.846606 | 0.381402 | 0 | 0.775735 | 0 | 0 | 0.145354 | 0.024336 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040441 | false | 0 | 0.025735 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f696efa59729939ba926957507833fcd86d29ed3 | 288,902 | py | Python | google/ads/google_ads/v6/proto/services/google_ads_service_pb2.py | jphanwebstaurant/google-ads-python | 600812b2afcc4d57f00b47dfe436620ce50bfe9b | [
"Apache-2.0"
] | 1 | 2021-04-09T04:28:47.000Z | 2021-04-09T04:28:47.000Z | google/ads/google_ads/v6/proto/services/google_ads_service_pb2.py | jphanwebstaurant/google-ads-python | 600812b2afcc4d57f00b47dfe436620ce50bfe9b | [
"Apache-2.0"
] | null | null | null | google/ads/google_ads/v6/proto/services/google_ads_service_pb2.py | jphanwebstaurant/google-ads-python | 600812b2afcc4d57f00b47dfe436620ce50bfe9b | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/ads/googleads_v6/proto/services/google_ads_service.proto
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from g... | 89.3051 | 38,948 | 0.833279 | 39,538 | 288,902 | 5.577748 | 0.028605 | 0.059506 | 0.042152 | 0.051149 | 0.855124 | 0.826353 | 0.799803 | 0.765591 | 0.729419 | 0.670584 | 0 | 0.032439 | 0.082554 | 288,902 | 3,234 | 38,949 | 89.332715 | 0.799598 | 0.003697 | 0 | 0.522082 | 1 | 0.003155 | 0.286416 | 0.198625 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.000315 | 0.053312 | 0 | 0.053312 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f6ae515cfe79c68afb075360cf5f75341ab00831 | 1,497 | py | Python | tests/test_wrappers.py | chrisbrake/aerial | 6a33cf048820aab948dd24d5867e53f0f1eaa11d | [
"BSD-3-Clause"
] | null | null | null | tests/test_wrappers.py | chrisbrake/aerial | 6a33cf048820aab948dd24d5867e53f0f1eaa11d | [
"BSD-3-Clause"
] | 1 | 2018-09-20T04:39:02.000Z | 2018-09-21T04:19:15.000Z | tests/test_wrappers.py | chrisbrake/aerial | 6a33cf048820aab948dd24d5867e53f0f1eaa11d | [
"BSD-3-Clause"
] | null | null | null | import signal as s
from aerial import Feed, wrappers as w
def test_feed_init():
""" Confirm feed is initialized if it is None """
w.feed = None
w.received(s.SIGINT)
assert isinstance(w.feed, Feed)
def test_received_false():
""" Confirm the method returns False if no signal recieved """
asser... | 29.352941 | 78 | 0.678023 | 232 | 1,497 | 4.267241 | 0.185345 | 0.127273 | 0.141414 | 0.226263 | 0.787879 | 0.765657 | 0.765657 | 0.765657 | 0.765657 | 0.724242 | 0 | 0 | 0.205745 | 1,497 | 50 | 79 | 29.94 | 0.832632 | 0.261857 | 0 | 0.6875 | 0 | 0 | 0.01885 | 0 | 0 | 0 | 0 | 0 | 0.3125 | 1 | 0.1875 | true | 0 | 0.0625 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f6ec0f45efebd772f014a2bd9b91bd010caa2083 | 201 | py | Python | conan/tools/google/__init__.py | Mu-L/conan | 7c24ec4bbd6e8c16cdcd879403aae742689bc36a | [
"MIT"
] | 1 | 2019-11-04T17:23:09.000Z | 2019-11-04T17:23:09.000Z | conan/tools/google/__init__.py | Mu-L/conan | 7c24ec4bbd6e8c16cdcd879403aae742689bc36a | [
"MIT"
] | 1 | 2020-11-05T16:16:49.000Z | 2020-11-05T16:16:49.000Z | conan/tools/google/__init__.py | Mattlk13/conan | 005fc53485557b0a570bb71670f2ca9c66082165 | [
"MIT"
] | null | null | null | from conan.tools.google.toolchain import BazelToolchain
from conan.tools.google.bazeldeps import BazelDeps
from conan.tools.google.bazel import Bazel
from conan.tools.google.layout import bazel_layout
| 40.2 | 55 | 0.860697 | 29 | 201 | 5.931034 | 0.344828 | 0.209302 | 0.325581 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079602 | 201 | 4 | 56 | 50.25 | 0.92973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
100d9789f6e6312613e49c7a269082eb46397dd5 | 3,832 | py | Python | chapter21casestudy2/GuessingApp/GuessingGame/wordgenerator.py | bpbpublications/Question-Bank-for-Exam-Success-Computer-Science-with-Python-Class-XII-CBSE-083- | c2ad485b5f9b7a304d4398539770c3a5916b2248 | [
"MIT"
] | null | null | null | chapter21casestudy2/GuessingApp/GuessingGame/wordgenerator.py | bpbpublications/Question-Bank-for-Exam-Success-Computer-Science-with-Python-Class-XII-CBSE-083- | c2ad485b5f9b7a304d4398539770c3a5916b2248 | [
"MIT"
] | null | null | null | chapter21casestudy2/GuessingApp/GuessingGame/wordgenerator.py | bpbpublications/Question-Bank-for-Exam-Success-Computer-Science-with-Python-Class-XII-CBSE-083- | c2ad485b5f9b7a304d4398539770c3a5916b2248 | [
"MIT"
] | 1 | 2020-12-17T22:49:47.000Z | 2020-12-17T22:49:47.000Z | words=['about','above','abuse','actor','acute','admit','adopt','adult','after','again','agent','agree','ahead','alarm','album','alert','alike','alive','allow','alone','along','alter','among','anger','Angle','angry','apart','apple','apply','arena','argue','arise','array','aside','asset','audio','audit','avoid','award','... | 547.428571 | 3,763 | 0.626305 | 479 | 3,832 | 5.010438 | 0.995825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004436 | 3,832 | 6 | 3,764 | 638.666667 | 0.629096 | 0 | 0 | 0 | 0 | 0 | 0.613856 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
63fcf04b9b9a8d66be7df9996321e5a3e5b4d7e9 | 9,145 | py | Python | test/test_SM/test_ploshadki/test_ploshadka_b2b_center.py | IrinaSlobodchikova/marker | 72f981134fb025a94348cd2bc829fa8430a01372 | [
"Apache-2.0"
] | null | null | null | test/test_SM/test_ploshadki/test_ploshadka_b2b_center.py | IrinaSlobodchikova/marker | 72f981134fb025a94348cd2bc829fa8430a01372 | [
"Apache-2.0"
] | null | null | null | test/test_SM/test_ploshadki/test_ploshadka_b2b_center.py | IrinaSlobodchikova/marker | 72f981134fb025a94348cd2bc829fa8430a01372 | [
"Apache-2.0"
] | null | null | null |
def test_sm_b2b_center_include_eic_yestoday(app):
app.testhelpersm.refresh_page()
app.session.open_SM_page(app.smPurchases)
app.session.ensure_login_sm(app.username, app.password)
app.session.ensure_login_sm(app.username, app.password)
app.session.open_SM_page(app.smPurchases)
app.testHelperS... | 48.386243 | 113 | 0.774522 | 1,207 | 9,145 | 5.603977 | 0.060481 | 0.23906 | 0.092401 | 0.047309 | 1 | 1 | 1 | 0.992164 | 0.988468 | 0.988468 | 0 | 0.023597 | 0.128814 | 9,145 | 188 | 114 | 48.643617 | 0.825405 | 0.15298 | 0 | 0.931034 | 0 | 0 | 0.014245 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 1 | 0.068966 | false | 0.137931 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.