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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b20d0940f080070d49beccc7e32ff96208adbc54 | 97 | py | Python | back/api/models/__init__.py | QLevaslot/TheBigPicture | 98a37e619ba8e4dee6a4113742a652f3d7a928c4 | [
"MIT"
] | 2 | 2020-08-10T11:49:22.000Z | 2020-08-10T11:49:52.000Z | back/api/models/__init__.py | QLevaslot/TheBigPicture | 98a37e619ba8e4dee6a4113742a652f3d7a928c4 | [
"MIT"
] | null | null | null | back/api/models/__init__.py | QLevaslot/TheBigPicture | 98a37e619ba8e4dee6a4113742a652f3d7a928c4 | [
"MIT"
] | null | null | null |
from api.models.bigpicture import *
from api.models.vote import *
from api.models.user import *
| 19.4 | 35 | 0.773196 | 15 | 97 | 5 | 0.466667 | 0.28 | 0.52 | 0.506667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134021 | 97 | 4 | 36 | 24.25 | 0.892857 | 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 | 1 | 0 | 0 | 8 |
b7c71648fae0d898ab01c0d714ab42dbaa6d1cde | 6,407 | py | Python | tests/snapshots/snap_test_message.py | Dipeshtwis/gg-shield | 30c5dffc70f62e1f5d7eebca306966b2238cf495 | [
"MIT"
] | 3 | 2020-08-14T13:26:27.000Z | 2021-03-16T16:58:30.000Z | tests/snapshots/snap_test_message.py | GG-HH/gg-shield | 8e39fd46d172ffdfe606502015307c915ff57fe7 | [
"MIT"
] | null | null | null | tests/snapshots/snap_test_message.py | GG-HH/gg-shield | 8e39fd46d172ffdfe606502015307c915ff57fe7 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# snapshottest: v1 - https://goo.gl/zC4yUc
from __future__ import unicode_literals
from snapshottest import Snapshot
snapshots = Snapshot()
snapshots[
"test_message_no_secret 1"
] = """No secrets have been found
"""
snapshots[
"test_leak_message[_ONE_LINE_AND_MULTILINE_PATCH_CONTENT... | 36.611429 | 159 | 0.680037 | 635 | 6,407 | 6.606299 | 0.16378 | 0.068176 | 0.049583 | 0.068653 | 0.846007 | 0.835757 | 0.747318 | 0.717759 | 0.710369 | 0.673659 | 0 | 0.158958 | 0.142813 | 6,407 | 174 | 160 | 36.821839 | 0.59177 | 0.009677 | 0 | 0.613208 | 0 | 0.150943 | 0.922422 | 0.467833 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.018868 | 0 | 0.018868 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4d14b43eecb9c07df408d777d4266367fcca678d | 124 | py | Python | crawling_update(LED)/parc.py | ekqls3301/osscap2020 | 70be6116b43d9a165e25f719614fb1a2f43ef535 | [
"Apache-2.0"
] | null | null | null | crawling_update(LED)/parc.py | ekqls3301/osscap2020 | 70be6116b43d9a165e25f719614fb1a2f43ef535 | [
"Apache-2.0"
] | 11 | 2020-10-12T01:35:43.000Z | 2020-12-02T10:44:35.000Z | crawling_update(LED)/parc.py | ekqls3301/osscap2020 | 70be6116b43d9a165e25f719614fb1a2f43ef535 | [
"Apache-2.0"
] | null | null | null | arrow_array = [
[[0,1,0],
[1,1,1],
[0,1,0],
[0,1,0],
[0,1,0]]
]
print(arrow_array[0][0][0]) | 13.777778 | 27 | 0.362903 | 23 | 124 | 1.869565 | 0.217391 | 0.232558 | 0.27907 | 0.186047 | 0.209302 | 0.209302 | 0 | 0 | 0 | 0 | 0 | 0.219512 | 0.33871 | 124 | 9 | 27 | 13.777778 | 0.304878 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.125 | 1 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4d14e9ae6abadf88d9ed480f3749f6e123284252 | 30,164 | py | Python | build/code_generation/generate_traversers.py | jkeiren/mCRL2 | 3a60939f4e6dbc131e8ce87b1929bea9dbf90dd2 | [
"BSL-1.0"
] | 61 | 2018-05-24T13:14:05.000Z | 2022-03-29T11:35:03.000Z | build/code_generation/generate_traversers.py | jkeiren/mCRL2 | 3a60939f4e6dbc131e8ce87b1929bea9dbf90dd2 | [
"BSL-1.0"
] | 229 | 2018-05-28T08:31:09.000Z | 2022-03-21T11:02:41.000Z | build/code_generation/generate_traversers.py | jkeiren/mCRL2 | 3a60939f4e6dbc131e8ce87b1929bea9dbf90dd2 | [
"BSL-1.0"
] | 28 | 2018-04-11T14:09:39.000Z | 2022-02-25T15:57:39.000Z | #!/usr/bin/env python
#~ Copyright 2009-2013 Wieger Wesselink.
#~ Distributed under the Boost Software License, Version 1.0.
#~ (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
import os
import re
import sys
from functools import cmp_to_key
from mcrl2_classes import *
from mcrl2_utility... | 109.687273 | 356 | 0.757227 | 3,575 | 30,164 | 6.022098 | 0.04951 | 0.043198 | 0.045288 | 0.06187 | 0.884574 | 0.868038 | 0.835989 | 0.772446 | 0.731711 | 0.691811 | 0 | 0.006071 | 0.120806 | 30,164 | 274 | 357 | 110.087591 | 0.805732 | 0.057552 | 0 | 0.222222 | 0 | 0.005556 | 0.479275 | 0.381408 | 0 | 0 | 0 | 0.00365 | 0 | 1 | 0.016667 | false | 0 | 0.033333 | 0 | 0.072222 | 0 | 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 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4d2bf3613320843ec39867127c52c3f88607fcb2 | 141 | py | Python | module/__int__.py | ti-lei/iphone11 | f69e7050ecdc87651eab5e8fdb38e4f305a9257f | [
"bzip2-1.0.6"
] | null | null | null | module/__int__.py | ti-lei/iphone11 | f69e7050ecdc87651eab5e8fdb38e4f305a9257f | [
"bzip2-1.0.6"
] | null | null | null | module/__int__.py | ti-lei/iphone11 | f69e7050ecdc87651eab5e8fdb38e4f305a9257f | [
"bzip2-1.0.6"
] | null | null | null | from module import dailydata_to_weeklydata
from module import impose_none
from module import get_data_from_sql
from module import mail_module | 35.25 | 42 | 0.893617 | 23 | 141 | 5.173913 | 0.521739 | 0.336134 | 0.537815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 141 | 4 | 43 | 35.25 | 0.944444 | 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 |
4d3af51890e53347c11b1c4f09461378ca3422e4 | 174 | py | Python | src/baxter_projectyouth/__init__.py | mikebentley15/baxter_projectyouth | 71238d06b28a8c1a5a594ff494eb0c1527655157 | [
"MIT"
] | null | null | null | src/baxter_projectyouth/__init__.py | mikebentley15/baxter_projectyouth | 71238d06b28a8c1a5a594ff494eb0c1527655157 | [
"MIT"
] | null | null | null | src/baxter_projectyouth/__init__.py | mikebentley15/baxter_projectyouth | 71238d06b28a8c1a5a594ff494eb0c1527655157 | [
"MIT"
] | null | null | null | '''
This module contains utilities for use with the Baxter demo for Project Youth.
'''
from baxter_projectyouth import util
from baxter_projectyouth import common_positions
| 24.857143 | 78 | 0.821839 | 24 | 174 | 5.833333 | 0.75 | 0.142857 | 0.314286 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 174 | 6 | 79 | 29 | 0.933333 | 0.448276 | 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 |
4d997ff6068e0cc176d2443317e7787d09ef9a04 | 161 | py | Python | app/sensors/__init__.py | frozenjava/TidePod-Pi | 3f74a1c087d3b067d5a82989773123d90606e362 | [
"MIT"
] | 1 | 2020-05-27T01:13:31.000Z | 2020-05-27T01:13:31.000Z | app/sensors/__init__.py | frozenjava/TidePod-Pi | 3f74a1c087d3b067d5a82989773123d90606e362 | [
"MIT"
] | null | null | null | app/sensors/__init__.py | frozenjava/TidePod-Pi | 3f74a1c087d3b067d5a82989773123d90606e362 | [
"MIT"
] | null | null | null | from app.sensors.sensor_factory import build_sensors, provide_sensors
from app.sensors.sensor_manager import SensorManager
from app.sensors.sensor import Sensor
| 40.25 | 69 | 0.875776 | 23 | 161 | 5.956522 | 0.434783 | 0.153285 | 0.306569 | 0.437956 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080745 | 161 | 3 | 70 | 53.666667 | 0.925676 | 0 | 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 |
4dba857923c9d6e2afa0366eba656c4354a71358 | 143 | py | Python | jenkins/python/virtualenv/src/sample/parsers.py | cicdenv/ci-samples | f42e9122bdafa791dabf2f99b50d4f29f208b66b | [
"MIT"
] | null | null | null | jenkins/python/virtualenv/src/sample/parsers.py | cicdenv/ci-samples | f42e9122bdafa791dabf2f99b50d4f29f208b66b | [
"MIT"
] | null | null | null | jenkins/python/virtualenv/src/sample/parsers.py | cicdenv/ci-samples | f42e9122bdafa791dabf2f99b50d4f29f208b66b | [
"MIT"
] | null | null | null | import re
ZIP_PATTERN = re.compile(r'(?P<zip_code>\d+),(?P<cc>[a-z]{2})')
LL_PATTERN = re.compile(r'(?P<lat>-*\d+\.\d+),(?P<lon>-*\d+\.\d+)')
| 28.6 | 67 | 0.538462 | 29 | 143 | 2.551724 | 0.551724 | 0.243243 | 0.432432 | 0.459459 | 0.486486 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007463 | 0.062937 | 143 | 4 | 68 | 35.75 | 0.544776 | 0 | 0 | 0 | 0 | 0 | 0.51049 | 0.51049 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
4dcac6ca60c149a76221e929a6ee7b13461e193b | 6,511 | py | Python | exp/fig15/logtable_def.py | SJTU-IPADS/fgnn-artifacts | c96e7ec8204d767152958dc63a764466e90424fd | [
"Apache-2.0"
] | 23 | 2022-01-25T13:28:51.000Z | 2022-03-23T07:05:47.000Z | exp/fig15/logtable_def.py | SJTU-IPADS/gnnlab | 5c73564e4a9bd5deeff7eed0b923c115ccba34d7 | [
"Apache-2.0"
] | null | null | null | exp/fig15/logtable_def.py | SJTU-IPADS/gnnlab | 5c73564e4a9bd5deeff7eed0b923c115ccba34d7 | [
"Apache-2.0"
] | 1 | 2022-02-28T18:48:56.000Z | 2022-02-28T18:48:56.000Z | import os
import sys
sys.path.append(os.path.join(os.getcwd(), '../common'))
from runner_helper2 import *
def get_fgnn_logtable():
return LogTable(
num_row=18,
num_col=4
).update_col_definition(
col_id=0,
definition='epoch_time:sample_total'
).update_col_definition(
... | 27.129167 | 55 | 0.593457 | 848 | 6,511 | 4.122642 | 0.0625 | 0.092677 | 0.195652 | 0.226545 | 0.930778 | 0.917048 | 0.900458 | 0.898169 | 0.890732 | 0.857551 | 0 | 0.044934 | 0.302718 | 6,511 | 239 | 56 | 27.242678 | 0.72511 | 0 | 0 | 0.92827 | 0 | 0 | 0.067732 | 0.010751 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004219 | true | 0 | 0.012658 | 0.004219 | 0.021097 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
12745a0c8eab5a91bcfb9faf9e05e9340665c8e6 | 11,739 | py | Python | src/asldro/data/affine_test_data.py | gold-standard-phantoms/asldro | 6ae82ed69d66fed64e1e54e5394cc3b5d8dbe1bd | [
"MIT"
] | 3 | 2021-03-09T15:51:32.000Z | 2021-05-19T13:05:18.000Z | src/asldro/data/affine_test_data.py | gold-standard-phantoms/asldro | 6ae82ed69d66fed64e1e54e5394cc3b5d8dbe1bd | [
"MIT"
] | null | null | null | src/asldro/data/affine_test_data.py | gold-standard-phantoms/asldro | 6ae82ed69d66fed64e1e54e5394cc3b5d8dbe1bd | [
"MIT"
] | null | null | null | """ Test data for test_resampling.py """
import numpy as np
ROT_X_TEST_DATA = (
(
0.00,
np.array(
(
(1.000000, 0.000000, 0.000000, 0.000000),
(0.000000, 1.000000, -0.000000, 0.000000),
(0.000000, 0.000000, 1.000000, 0.000000),
... | 29.056931 | 59 | 0.399949 | 1,344 | 11,739 | 3.482887 | 0.063988 | 0.56975 | 0.863704 | 0.753685 | 0.8464 | 0.8464 | 0.805811 | 0.782098 | 0.710318 | 0.610553 | 0 | 0.648876 | 0.431809 | 11,739 | 403 | 60 | 29.129032 | 0.052924 | 0.002726 | 0 | 0.505051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.002525 | 0 | 0.002525 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
1277fbc08400d6ad97b84d662021f4d3499ea6a7 | 14,549 | py | Python | main.py | chrismedinapy/prueba_tecnica | 229ad2026cb5210436d5c326faa03d0dbe8e372a | [
"Apache-2.0"
] | null | null | null | main.py | chrismedinapy/prueba_tecnica | 229ad2026cb5210436d5c326faa03d0dbe8e372a | [
"Apache-2.0"
] | null | null | null | main.py | chrismedinapy/prueba_tecnica | 229ad2026cb5210436d5c326faa03d0dbe8e372a | [
"Apache-2.0"
] | 1 | 2021-05-10T13:33:02.000Z | 2021-05-10T13:33:02.000Z | def zero(*args):
arguments = str(args)
current_number = 0
if '+' in arguments:
for elem in args:
number = current_number
if elem == '+None':
result = number + current_number
return result
number_2 = int(elem)
result = nu... | 30.122153 | 49 | 0.496323 | 1,506 | 14,549 | 4.648074 | 0.035857 | 0.171429 | 0.211714 | 0.081714 | 0.950714 | 0.932143 | 0.924714 | 0.924714 | 0.916714 | 0.907857 | 0 | 0.014649 | 0.42759 | 14,549 | 482 | 50 | 30.184647 | 0.825889 | 0.004811 | 0 | 0.923767 | 0 | 0 | 0.018762 | 0 | 0 | 0 | 0 | 0.002075 | 0 | 1 | 0.03139 | false | 0 | 0 | 0 | 0.242152 | 0.008969 | 0 | 0 | 0 | null | 0 | 1 | 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 |
12a075773770b8adb571dfce4d81504b3a1d6bbf | 407 | py | Python | tests/generate_tests_data.py | ZhenshengLee/cuosqp | 4e8dbdbdffdc673847b3e905fce3ac04ee660a77 | [
"Apache-2.0"
] | 1 | 2021-09-07T15:33:17.000Z | 2021-09-07T15:33:17.000Z | tests/generate_tests_data.py | ZhenshengLee/cuosqp | 4e8dbdbdffdc673847b3e905fce3ac04ee660a77 | [
"Apache-2.0"
] | null | null | null | tests/generate_tests_data.py | ZhenshengLee/cuosqp | 4e8dbdbdffdc673847b3e905fce3ac04ee660a77 | [
"Apache-2.0"
] | null | null | null | # Code to generate the unittests for OSQP C code
# import basic_qp.generate_problem
# import basic_qp2.generate_problem
import lin_alg.generate_problem
# import non_cvx.generate_problem
# import primal_dual_infeasibility.generate_problem
# import primal_infeasibility.generate_problem
# import solve_linsys.generate_pro... | 33.916667 | 51 | 0.864865 | 54 | 407 | 6.185185 | 0.462963 | 0.404192 | 0.502994 | 0.161677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002703 | 0.090909 | 407 | 11 | 52 | 37 | 0.9 | 0.872236 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
12db6f2fc880098ce67cbd822a469637721ab5e4 | 99 | py | Python | tests/test_django_pony_apple.py | techdragon/django-pony-apple | 0eec08d2044bd7bec351c072065dc10154c1453a | [
"BSD-2-Clause"
] | null | null | null | tests/test_django_pony_apple.py | techdragon/django-pony-apple | 0eec08d2044bd7bec351c072065dc10154c1453a | [
"BSD-2-Clause"
] | null | null | null | tests/test_django_pony_apple.py | techdragon/django-pony-apple | 0eec08d2044bd7bec351c072065dc10154c1453a | [
"BSD-2-Clause"
] | null | null | null |
import django_pony_apple
def test_main():
assert django_pony_apple # use your library here
| 14.142857 | 53 | 0.767677 | 15 | 99 | 4.733333 | 0.8 | 0.28169 | 0.422535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191919 | 99 | 6 | 54 | 16.5 | 0.8875 | 0.212121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
c40a00bd2cdd4e55f774e54e2f0691e98fafd671 | 3,688 | py | Python | vertx-web/src/test/sockjs-protocol/websocket/tests/test_cookiejar.py | yeikel/vertx-web | c3929196170a548d8c95d15eb5e25dfc425fbb35 | [
"Apache-2.0"
] | 1,553 | 2015-11-09T02:17:06.000Z | 2022-03-31T20:24:52.000Z | vertx-web/src/test/sockjs-protocol/websocket/tests/test_cookiejar.py | yeikel/vertx-web | c3929196170a548d8c95d15eb5e25dfc425fbb35 | [
"Apache-2.0"
] | 1,713 | 2015-05-19T14:32:45.000Z | 2022-03-29T10:05:48.000Z | vertx-web/src/test/sockjs-protocol/websocket/tests/test_cookiejar.py | yeikel/vertx-web | c3929196170a548d8c95d15eb5e25dfc425fbb35 | [
"Apache-2.0"
] | 640 | 2015-05-20T02:53:52.000Z | 2022-03-31T09:55:23.000Z | import unittest
from websocket._cookiejar import SimpleCookieJar
try:
import Cookie
except:
import http.cookies as Cookie
class CookieJarTest(unittest.TestCase):
def testAdd(self):
cookie_jar = SimpleCookieJar()
cookie_jar.add("")
self.assertFalse(cookie_jar.jar, "Cookie with no ... | 37.252525 | 96 | 0.616323 | 528 | 3,688 | 4.174242 | 0.094697 | 0.277677 | 0.027223 | 0.036298 | 0.926951 | 0.926951 | 0.908802 | 0.908802 | 0.908802 | 0.888838 | 0 | 0 | 0.220987 | 3,688 | 98 | 97 | 37.632653 | 0.767142 | 0 | 0 | 0.679487 | 0 | 0 | 0.20743 | 0 | 0 | 0 | 0 | 0 | 0.371795 | 1 | 0.038462 | false | 0 | 0.051282 | 0 | 0.102564 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c4286727c1d8402711ecebae9de99cb6316494f2 | 15,393 | py | Python | subsdownloader2/src/SourceCode/chardet/langthaimodel.py | builder08/enigma2-plugins_2 | f8f08b947e23c1c86b011492a7323125774c3482 | [
"OLDAP-2.3"
] | null | null | null | subsdownloader2/src/SourceCode/chardet/langthaimodel.py | builder08/enigma2-plugins_2 | f8f08b947e23c1c86b011492a7323125774c3482 | [
"OLDAP-2.3"
] | null | null | null | subsdownloader2/src/SourceCode/chardet/langthaimodel.py | builder08/enigma2-plugins_2 | f8f08b947e23c1c86b011492a7323125774c3482 | [
"OLDAP-2.3"
] | null | null | null | ######################## BEGIN LICENSE BLOCK ########################
# The Original Code is Mozilla Communicator client code.
#
# The Initial Developer of the Original Code is
# Netscape Communications Corporation.
# Portions created by the Initial Developer are Copyright (C) 1998
# the Initial Developer. All Rights R... | 76.58209 | 95 | 0.397129 | 4,609 | 15,393 | 1.326318 | 0.072684 | 0.638966 | 0.808768 | 0.944872 | 0.722231 | 0.696058 | 0.636022 | 0.545068 | 0.496319 | 0.459349 | 0 | 0.45373 | 0.305009 | 15,393 | 200 | 96 | 76.965 | 0.117686 | 0.094523 | 0 | 0.064103 | 0 | 0 | 0.006234 | 0.001522 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.00641 | null | null | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c469c5953f73a1402d7164180a1e23bcc62f4855 | 113 | py | Python | coordinator/SwitchOracles/oracle.py | TotalKnob/muse | 3c4a05d2a3ffc3bceb6827207a2a4a1a63aba503 | [
"Apache-2.0"
] | 122 | 2019-11-12T18:43:32.000Z | 2022-01-30T15:11:43.000Z | coordinator/SwitchOracles/oracle.py | TotalKnob/muse | 3c4a05d2a3ffc3bceb6827207a2a4a1a63aba503 | [
"Apache-2.0"
] | 14 | 2020-04-02T07:31:46.000Z | 2022-03-25T07:35:59.000Z | coordinator/SwitchOracles/oracle.py | TotalKnob/muse | 3c4a05d2a3ffc3bceb6827207a2a4a1a63aba503 | [
"Apache-2.0"
] | 34 | 2019-11-12T18:43:34.000Z | 2021-12-22T07:46:03.000Z | from switch_oracle import *
def get_switch_oracle(config, proj_dir):
return SwitchOracles(config, proj_dir)
| 22.6 | 42 | 0.79646 | 16 | 113 | 5.3125 | 0.6875 | 0.282353 | 0.305882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132743 | 113 | 4 | 43 | 28.25 | 0.867347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
672a3555b8b3bc219cd9f3e9d6b0a7661104977c | 9,959 | py | Python | base/bin/pyprivate.py | HackX07164/whatsapp-X | 28846e16f0e7a6c5ea0f47a0dc1ef0a9d2ba0593 | [
"MIT"
] | 1 | 2021-10-12T12:31:12.000Z | 2021-10-12T12:31:12.000Z | base/bin/pyprivate.py | HackX07164/HackerMode | 3e48fd742cb91916a62f3cf3044a8fc9f1a5ea30 | [
"MIT"
] | null | null | null | base/bin/pyprivate.py | HackX07164/HackerMode | 3e48fd742cb91916a62f3cf3044a8fc9f1a5ea30 | [
"MIT"
] | null | null | null | # Encoded by HackerMode tool...
# Copyright: PSH-TEAM
# Follow us on telegram ( @psh_team )
import marshal
exec(marshal.loads(b'\xe3\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x08\x00\x00\x00@\x00\x00\x00sl\x00\x00\x00d\x00Z\x00e\x00r\x10d\x01d\x02\x84!Z\x01e\x02e\x03d\x03\x83\x02\x8f(Z\x04e\x04\xa... | 1,659.833333 | 9,851 | 0.759414 | 2,142 | 9,959 | 3.492997 | 0.168534 | 0.267843 | 0.208099 | 0.170008 | 0.489441 | 0.461107 | 0.400428 | 0.341085 | 0.30981 | 0.287757 | 0 | 0.342436 | 0.018275 | 9,959 | 5 | 9,852 | 1,991.8 | 0.422829 | 0.008535 | 0 | 0 | 0 | 1 | 0.53384 | 0.458156 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 14 |
673d9e7f4eb8bde40c37eb2a18111cf24ea6eaec | 4,662 | py | Python | tests/test_document_editor.py | usernamedt/multitext-client | ebb9376fce0f001c6a887550fc33ffc764afdc71 | [
"MIT"
] | 1 | 2021-01-16T03:00:48.000Z | 2021-01-16T03:00:48.000Z | tests/test_document_editor.py | usernamedt/multitext-client | ebb9376fce0f001c6a887550fc33ffc764afdc71 | [
"MIT"
] | 1 | 2021-01-16T03:16:47.000Z | 2021-01-17T19:22:33.000Z | tests/test_document_editor.py | usernamedt/multitext-client | ebb9376fce0f001c6a887550fc33ffc764afdc71 | [
"MIT"
] | 1 | 2021-01-16T03:00:55.000Z | 2021-01-16T03:00:55.000Z | import unittest
from unittest import mock
from unittest.mock import PropertyMock
from prompt_toolkit.clipboard import ClipboardData
from prompt_toolkit.document import Document
from prompt_toolkit.selection import SelectionState, SelectionType
from docengine import Doc
from document_editor import DocumentEditor
@un... | 37.902439 | 74 | 0.728872 | 626 | 4,662 | 5.142173 | 0.135783 | 0.139174 | 0.069587 | 0.074557 | 0.880087 | 0.870767 | 0.842187 | 0.842187 | 0.842187 | 0.842187 | 0 | 0.003147 | 0.182111 | 4,662 | 122 | 75 | 38.213115 | 0.84107 | 0.057915 | 0 | 0.741935 | 0 | 0 | 0.125285 | 0.043131 | 0 | 0 | 0 | 0 | 0.064516 | 1 | 0.043011 | false | 0 | 0.086022 | 0 | 0.129032 | 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 |
6761f823174ec7a2130198e571af04b89b1a64f4 | 11,645 | py | Python | datmo/cli/command/tests/test_workspace.py | dmh43/datmo | e97aad4e2417a72d8f136f7afd9bfac1bf24d9f9 | [
"Apache-2.0"
] | 331 | 2018-03-30T14:33:59.000Z | 2022-01-10T19:43:32.000Z | datmo/cli/command/tests/test_workspace.py | KIMS-Github/datmo | a456d196006b67ce56af96cb4900682eab747bef | [
"MIT"
] | 274 | 2018-04-08T17:12:44.000Z | 2020-07-29T02:45:22.000Z | datmo/cli/command/tests/test_workspace.py | KIMS-Github/datmo | a456d196006b67ce56af96cb4900682eab747bef | [
"MIT"
] | 28 | 2018-05-03T21:57:22.000Z | 2020-12-31T04:18:42.000Z | """
Tests for Project Commands
"""
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
# TODO: include builtin libraries for the appropriate Python
# try:
# import __builtin__
# except ImportError:
# # Python 3
# import builtins as __builtin__
try:
... | 33.366762 | 89 | 0.628424 | 1,340 | 11,645 | 5.187313 | 0.121642 | 0.071357 | 0.096677 | 0.030211 | 0.805927 | 0.799885 | 0.797295 | 0.78852 | 0.775284 | 0.768091 | 0 | 0.00344 | 0.275998 | 11,645 | 348 | 90 | 33.462644 | 0.821018 | 0.191842 | 0 | 0.752336 | 0 | 0 | 0.078457 | 0.009003 | 0 | 0 | 0 | 0.002874 | 0.074766 | 1 | 0.070093 | false | 0.004673 | 0.070093 | 0.014019 | 0.186916 | 0.004673 | 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 |
676b97d970fc06ac4d6600d1f7e80befafe0aae3 | 5,035 | py | Python | mdx_truly_sane_lists/tests.py | thewoolleyman/mdx_truly_sane_lists | 8f0fe9de7c60a7c281eae816ff2cdf4dae986c8f | [
"MIT"
] | null | null | null | mdx_truly_sane_lists/tests.py | thewoolleyman/mdx_truly_sane_lists | 8f0fe9de7c60a7c281eae816ff2cdf4dae986c8f | [
"MIT"
] | null | null | null | mdx_truly_sane_lists/tests.py | thewoolleyman/mdx_truly_sane_lists | 8f0fe9de7c60a7c281eae816ff2cdf4dae986c8f | [
"MIT"
] | null | null | null | import unittest
from textwrap import dedent
from markdown import markdown
class TrulySaneListTest(unittest.TestCase):
def test_simple(self):
raw = '''
- Zero
- One
- Two
'''
expected = '<ul>\n<li>Zero</li>\n</ul>\n<ul>\n<li>One</li>\n<li>Two</li>\n</ul>'
... | 34.251701 | 327 | 0.550149 | 715 | 5,035 | 3.716084 | 0.097902 | 0.076778 | 0.0621 | 0.060971 | 0.786601 | 0.775311 | 0.745578 | 0.734663 | 0.719609 | 0.697779 | 0 | 0.003276 | 0.272493 | 5,035 | 146 | 328 | 34.486301 | 0.722086 | 0 | 0 | 0.732759 | 0 | 0.060345 | 0.70427 | 0.311619 | 0 | 0 | 0 | 0 | 0.060345 | 1 | 0.060345 | false | 0 | 0.025862 | 0 | 0.094828 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
679c2b826ec5ac02b5cc81ad5387cee783be37b0 | 7,692 | py | Python | c_amz/spiders/amazon.py | kieslee/c_amz | 94817eb9a3c92169376a3f9a4320a631806c3b4e | [
"MIT"
] | null | null | null | c_amz/spiders/amazon.py | kieslee/c_amz | 94817eb9a3c92169376a3f9a4320a631806c3b4e | [
"MIT"
] | null | null | null | c_amz/spiders/amazon.py | kieslee/c_amz | 94817eb9a3c92169376a3f9a4320a631806c3b4e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import scrapy
import re
import sys
import json
class AmazonSpider(scrapy.Spider):
name = "amazon_bs"
allowed_domains = ["amazon.com", "baidu.com"]
start_urls = (
'https://www.amazon.com/Best-Sellers/zgbs/ref=zg_mg_tab',
)
def parse(self, response):
lis = re... | 43.457627 | 125 | 0.584243 | 954 | 7,692 | 4.538784 | 0.118449 | 0.11224 | 0.063049 | 0.078984 | 0.911085 | 0.876674 | 0.876674 | 0.876674 | 0.868822 | 0.868822 | 0 | 0.007076 | 0.24675 | 7,692 | 176 | 126 | 43.704545 | 0.740249 | 0.032891 | 0 | 0.8 | 0 | 0.014286 | 0.245087 | 0.128264 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.028571 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
db24d8c560c4477542eaf124152e1b4bc6dfbea3 | 41,525 | py | Python | qark/test/test_critical_modules.py | pragyan1994/Jenkins_Integration | 747382d5c6d5cd835d0c7c3324956e8e352876ac | [
"Apache-2.0"
] | 1 | 2021-03-18T15:47:59.000Z | 2021-03-18T15:47:59.000Z | qark/test/test_critical_modules.py | pragyan1994/Jenkins_Integration | 747382d5c6d5cd835d0c7c3324956e8e352876ac | [
"Apache-2.0"
] | null | null | null | qark/test/test_critical_modules.py | pragyan1994/Jenkins_Integration | 747382d5c6d5cd835d0c7c3324956e8e352876ac | [
"Apache-2.0"
] | 1 | 2018-05-12T16:01:58.000Z | 2018-05-12T16:01:58.000Z | import pdb
import sys
import os
import mock
import pytest
from Queue import Queue
import ConfigParser
from modules import common
from modules import filePermissions
from modules import webviews
from modules import cryptoFlaws
from modules import certValidation
from modules import findPending
from modules import ... | 156.109023 | 1,297 | 0.73168 | 5,353 | 41,525 | 5.614795 | 0.088548 | 0.077489 | 0.108597 | 0.140271 | 0.90867 | 0.90867 | 0.907207 | 0.907207 | 0.905543 | 0.899454 | 0 | 0.007986 | 0.170765 | 41,525 | 266 | 1,298 | 156.109023 | 0.864872 | 0.002794 | 0 | 0.21519 | 0 | 0.337553 | 0.80868 | 0.369744 | 0 | 0 | 0 | 0 | 0.025316 | 1 | 0.050633 | false | 0.012658 | 0.063291 | 0.021097 | 0.135021 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
e1d24f6e79aea46c3b9c5cf10e21cf241e803d41 | 917,691 | py | Python | python/phonenumbers/geodata/data12.py | carljm/python-phonenumbers | 494044aaf75443dbfd62b8d1352b441af6a458ae | [
"Apache-2.0"
] | 1 | 2019-07-23T12:59:55.000Z | 2019-07-23T12:59:55.000Z | python/phonenumbers/geodata/data12.py | carljm/python-phonenumbers | 494044aaf75443dbfd62b8d1352b441af6a458ae | [
"Apache-2.0"
] | null | null | null | python/phonenumbers/geodata/data12.py | carljm/python-phonenumbers | 494044aaf75443dbfd62b8d1352b441af6a458ae | [
"Apache-2.0"
] | null | null | null | """Per-prefix data, mapping each prefix to a dict of locale:name.
Auto-generated file, do not edit by hand.
"""
from ..util import u
# Copyright (C) 2011-2017 The Libphonenumber Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the Licens... | 91.558515 | 139 | 0.647522 | 123,510 | 917,691 | 4.811149 | 0.087726 | 0.050486 | 0.016479 | 0.024814 | 0.850122 | 0.850021 | 0.850021 | 0.843372 | 0.843372 | 0.843372 | 0 | 0.315421 | 0.065847 | 917,691 | 10,022 | 140 | 91.567651 | 0.377744 | 0.000737 | 0 | 0 | 1 | 0.023193 | 0.727214 | 0.409592 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0001 | 0 | 0.0001 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
e1eb71443dbd92beaa62e8026d9a3de079087626 | 591 | py | Python | ports/stm32/boards/ONYX_L452RE_P/frozen_manifest.py | rlourette/micropython | dbaaed1697d22046e06a6f3f7ff9a1fbc1d73ee7 | [
"MIT"
] | null | null | null | ports/stm32/boards/ONYX_L452RE_P/frozen_manifest.py | rlourette/micropython | dbaaed1697d22046e06a6f3f7ff9a1fbc1d73ee7 | [
"MIT"
] | null | null | null | ports/stm32/boards/ONYX_L452RE_P/frozen_manifest.py | rlourette/micropython | dbaaed1697d22046e06a6f3f7ff9a1fbc1d73ee7 | [
"MIT"
] | null | null | null | freeze('../../../../../../Micropython-Library-Development/lib/', 'uasyncio/asyn.py')
freeze('../../../../../../Micropython-Library-Development/lib/', 'uasyncio/core.py')
freeze('../../../../../../Micropython-Library-Development/lib/', 'uasyncio/__init__.py')
freeze('../../../../../../Micropython-Library-Development/lib... | 73.875 | 88 | 0.612521 | 54 | 591 | 6.62963 | 0.259259 | 0.332402 | 0.469274 | 0.684358 | 0.888268 | 0.888268 | 0.536313 | 0 | 0 | 0 | 0 | 0 | 0.023689 | 591 | 7 | 89 | 84.428571 | 0.620451 | 0 | 0 | 0 | 0 | 0 | 0.822335 | 0.639594 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
2211f9de5b23354e55e66d9249fba655d3d172d7 | 3,160 | py | Python | messagebird/call_flow.py | smadivad/sreemessage | b9642c32bfea65ec7b523bffd7b23306b235e651 | [
"BSD-2-Clause"
] | 57 | 2015-04-07T21:20:12.000Z | 2022-03-30T17:27:48.000Z | messagebird/call_flow.py | smadivad/sreemessage | b9642c32bfea65ec7b523bffd7b23306b235e651 | [
"BSD-2-Clause"
] | 33 | 2015-09-24T21:29:48.000Z | 2022-02-11T22:17:29.000Z | messagebird/call_flow.py | smadivad/sreemessage | b9642c32bfea65ec7b523bffd7b23306b235e651 | [
"BSD-2-Clause"
] | 59 | 2015-01-08T13:00:13.000Z | 2022-03-09T16:55:46.000Z | from messagebird.base import Base
from messagebird.base_list import BaseList
class CallFlowList(BaseList):
def __init__(self):
self._data = None
self._pagination = None
super(CallFlowList, self).__init__(CallFlow)
@property
def data(self):
return self._data
@propert... | 22.733813 | 73 | 0.596203 | 357 | 3,160 | 5.117647 | 0.159664 | 0.052545 | 0.061303 | 0.032841 | 0.853859 | 0.853859 | 0.853859 | 0.853859 | 0.822113 | 0.822113 | 0 | 0.000911 | 0.305063 | 3,160 | 138 | 74 | 22.898551 | 0.831056 | 0.023101 | 0 | 0.86 | 0 | 0 | 0.005202 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.22 | false | 0 | 0.02 | 0.08 | 0.38 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
58f12ebb9145ba490a28b2ea804c6f34bb869c31 | 3,673 | py | Python | bin/scripts/split_reads_into_bins.py | seedpcseed/metaWRAP | 0c719380c71cae6d4e3979920cb430e0f6687010 | [
"MIT"
] | null | null | null | bin/scripts/split_reads_into_bins.py | seedpcseed/metaWRAP | 0c719380c71cae6d4e3979920cb430e0f6687010 | [
"MIT"
] | null | null | null | bin/scripts/split_reads_into_bins.py | seedpcseed/metaWRAP | 0c719380c71cae6d4e3979920cb430e0f6687010 | [
"MIT"
] | null | null | null | #!/usr/bin/env python2.7
# Usage: ./script mapping_file.dict reads_1.fastq reads_2.fastq output_dir
import sys, os
print "\nLoading in dictionary containing bin mapping of all the reads...\n"
mapping=eval(open(sys.argv[1]).readline())
print "\n\nParsing forward reads and splitting them into files..."
ct=3
line1=""
l... | 41.738636 | 135 | 0.55132 | 466 | 3,673 | 4.152361 | 0.141631 | 0.130233 | 0.144703 | 0.186047 | 0.886822 | 0.886822 | 0.886822 | 0.886822 | 0.882687 | 0.882687 | 0 | 0.031287 | 0.312551 | 3,673 | 87 | 136 | 42.218391 | 0.73505 | 0.026137 | 0 | 0.8 | 0 | 0 | 0.177902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.013333 | null | null | 0.12 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
4540c01e40c3ee04dd64953d0b657558f4036816 | 1,245 | py | Python | themelog/themes/eightbit.py | mjem/themelog | 415acbc1c9e730d27addf0d31db543c8d44f5494 | [
"Apache-2.0"
] | 1 | 2017-09-13T00:05:51.000Z | 2017-09-13T00:05:51.000Z | themelog/themes/eightbit.py | mjem/themelog | 415acbc1c9e730d27addf0d31db543c8d44f5494 | [
"Apache-2.0"
] | null | null | null | themelog/themes/eightbit.py | mjem/themelog | 415acbc1c9e730d27addf0d31db543c8d44f5494 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
"""Colour theme for terminals which support only 8-bit colors.
"""
from fabulous import color as col
messagefmt = {
None: '{asctime} {module} {levelname} {msg}'.format(
asctime=col.highlight_blue('{r.asctime}'),
module=col.cyan(('{r.module}')),
levelname=col.cyan('{r.levelname}'),
msg=... | 28.295455 | 62 | 0.631325 | 166 | 1,245 | 4.704819 | 0.240964 | 0.166453 | 0.06146 | 0.160051 | 0.81306 | 0.81306 | 0.81306 | 0.81306 | 0.81306 | 0.619718 | 0 | 0.000901 | 0.108434 | 1,245 | 43 | 63 | 28.953488 | 0.702703 | 0.064257 | 0 | 0.606061 | 0 | 0 | 0.353195 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.030303 | 0 | 0.030303 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
18bff5f85a406e5f9000928f610e5e1230fb44b9 | 1,555 | py | Python | project/migrations/0041_auto_20180731_1239.py | mmesiti/cogs3 | c48cd48629570f418b93aec73de49bc2fb59edc2 | [
"MIT"
] | null | null | null | project/migrations/0041_auto_20180731_1239.py | mmesiti/cogs3 | c48cd48629570f418b93aec73de49bc2fb59edc2 | [
"MIT"
] | 9 | 2019-08-01T09:50:34.000Z | 2019-08-14T16:24:31.000Z | project/migrations/0041_auto_20180731_1239.py | mmesiti/cogs3 | c48cd48629570f418b93aec73de49bc2fb59edc2 | [
"MIT"
] | null | null | null | # Generated by Django 2.0.2 on 2018-07-31 12:39
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('project', '0040_auto_20180731_1224'),
]
operations = [
migrations.AddField(
model_name='historicalproject',
name='su... | 35.340909 | 105 | 0.61672 | 161 | 1,555 | 5.78882 | 0.26087 | 0.106223 | 0.148069 | 0.17382 | 0.839056 | 0.839056 | 0.839056 | 0.703863 | 0.703863 | 0.703863 | 0 | 0.043172 | 0.270096 | 1,555 | 43 | 106 | 36.162791 | 0.777974 | 0.028939 | 0 | 0.810811 | 1 | 0 | 0.224138 | 0.015252 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027027 | 0 | 0.108108 | 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 |
7a00ae6a8e9596e1912e5eee5b9704e3c99d50a8 | 4,860 | py | Python | Day11.py | debjanibiswas/adventofcode2021 | 637632c0069698fb88c2e74f757111fd824fcd72 | [
"MIT"
] | null | null | null | Day11.py | debjanibiswas/adventofcode2021 | 637632c0069698fb88c2e74f757111fd824fcd72 | [
"MIT"
] | null | null | null | Day11.py | debjanibiswas/adventofcode2021 | 637632c0069698fb88c2e74f757111fd824fcd72 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import numpy
def part1():
data = open('day11_input.txt').read().splitlines()
matrix = []
for i in range(len(data)):
for j in range(len(data[i])):
matrix.append(int(data[i][j]))
shape = len(data[0])
matrix = numpy.reshape(matrix, (shape,shape))
... | 29.634146 | 89 | 0.33786 | 473 | 4,860 | 3.463002 | 0.160677 | 0.034188 | 0.029304 | 0.065934 | 0.842491 | 0.842491 | 0.842491 | 0.842491 | 0.842491 | 0.842491 | 0 | 0.056995 | 0.563169 | 4,860 | 164 | 90 | 29.634146 | 0.714555 | 0 | 0 | 0.865979 | 0 | 0 | 0.006769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.010309 | null | null | 0.020619 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
7a160ac4b4f2ef597753234243e29358ff19a56f | 54,424 | py | Python | gitea_api/api/admin_api.py | r7l/python-gitea-api | 31d3dba27ea7e551e2048a1230c4ab4d73365006 | [
"MIT"
] | 1 | 2022-02-09T23:43:26.000Z | 2022-02-09T23:43:26.000Z | gitea_api/api/admin_api.py | r7l/python-gitea-api | 31d3dba27ea7e551e2048a1230c4ab4d73365006 | [
"MIT"
] | null | null | null | gitea_api/api/admin_api.py | r7l/python-gitea-api | 31d3dba27ea7e551e2048a1230c4ab4d73365006 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Gitea API.
This documentation describes the Gitea API. # noqa: E501
OpenAPI spec version: 1.16.7
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility libra... | 39.323699 | 144 | 0.603484 | 6,200 | 54,424 | 5.056129 | 0.032419 | 0.046191 | 0.02501 | 0.032155 | 0.976841 | 0.97397 | 0.971067 | 0.964432 | 0.957764 | 0.952054 | 0 | 0.014773 | 0.302238 | 54,424 | 1,383 | 145 | 39.352133 | 0.810718 | 0.306078 | 0 | 0.812089 | 1 | 0 | 0.199519 | 0.051397 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038108 | false | 0 | 0.005256 | 0 | 0.099869 | 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 |
e18417b387c3df86f6aabe653f4b3a7e0c3d896a | 81,827 | py | Python | src/oscarcch/tests/test_cch.py | thelabnyc/django-oscar-cch | d98832c9cf642c6d241e3aaf4b1dc631c3d5ce0e | [
"0BSD"
] | null | null | null | src/oscarcch/tests/test_cch.py | thelabnyc/django-oscar-cch | d98832c9cf642c6d241e3aaf4b1dc631c3d5ce0e | [
"0BSD"
] | 14 | 2020-02-11T21:53:07.000Z | 2022-01-13T00:40:33.000Z | src/oscarcch/tests/test_cch.py | thelabnyc/django-oscar-cch | d98832c9cf642c6d241e3aaf4b1dc631c3d5ce0e | [
"0BSD"
] | 1 | 2016-05-31T10:02:38.000Z | 2016-05-31T10:02:38.000Z | from unittest import mock
from decimal import Decimal as D
from freezegun import freeze_time
from oscar.core.loading import get_model, get_class
from oscar.test import factories
from ..calculator import CCHTaxCalculator
from ..prices import ShippingCharge
from .base import BaseTest
from .base import p
import requests
i... | 38.798957 | 113 | 0.558202 | 7,535 | 81,827 | 5.906304 | 0.040478 | 0.073926 | 0.079206 | 0.100328 | 0.952386 | 0.948656 | 0.946904 | 0.9425 | 0.939017 | 0.930298 | 0 | 0.034095 | 0.335464 | 81,827 | 2,108 | 114 | 38.817362 | 0.784339 | 0.006831 | 0 | 0.775206 | 0 | 0 | 0.229841 | 0.185029 | 0 | 0 | 0 | 0 | 0.254115 | 1 | 0.016461 | false | 0.000514 | 0.005658 | 0 | 0.023148 | 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 |
e1b29a6f1f0c87919aab35f6b975d479dc13ad6c | 1,033 | py | Python | sh/210405_collect_atari.py | ondrejba/c-swm | 339959faf0cbbde291e77d515f4e1188fe5f66e6 | [
"MIT"
] | 1 | 2021-03-02T21:08:57.000Z | 2021-03-02T21:08:57.000Z | sh/210405_collect_atari.py | ondrejba/c-swm | 339959faf0cbbde291e77d515f4e1188fe5f66e6 | [
"MIT"
] | null | null | null | sh/210405_collect_atari.py | ondrejba/c-swm | 339959faf0cbbde291e77d515f4e1188fe5f66e6 | [
"MIT"
] | 1 | 2020-12-20T16:11:30.000Z | 2020-12-20T16:11:30.000Z | import subprocess
subprocess.call("python data_gen/env.py --env_id PongDeterministic-v4 --fname data/pong_train.h5 --num_episodes 1000 --atari --seed 1", shell=True)
subprocess.call("python data_gen/env.py --env_id PongDeterministic-v4 --fname data/pong_eval.h5 --num_episodes 100 --atari --seed 2 --save-state-ids", s... | 93.909091 | 185 | 0.778316 | 160 | 1,033 | 4.8625 | 0.2 | 0.107969 | 0.154242 | 0.18509 | 0.979434 | 0.979434 | 0.979434 | 0.979434 | 0.979434 | 0.979434 | 0 | 0.042017 | 0.078412 | 1,033 | 10 | 186 | 103.3 | 0.77521 | 0 | 0 | 0 | 0 | 0.857143 | 0.793804 | 0.184898 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
e1cd5c732538fe4a874872ab18c77aa57b9a2de5 | 9,697 | py | Python | Text2JSON/entity_named_recog/minute_entity_recognition.py | 1173710105/Text2JSON | 36a085dd12b5d97b4399ac2984d09635ed49dce7 | [
"MIT"
] | null | null | null | Text2JSON/entity_named_recog/minute_entity_recognition.py | 1173710105/Text2JSON | 36a085dd12b5d97b4399ac2984d09635ed49dce7 | [
"MIT"
] | null | null | null | Text2JSON/entity_named_recog/minute_entity_recognition.py | 1173710105/Text2JSON | 36a085dd12b5d97b4399ac2984d09635ed49dce7 | [
"MIT"
] | null | null | null | import sys
from os.path import dirname, abspath
path = dirname(dirname(dirname(abspath(__file__))))
sys.path.append(path)
import datetime
import re
from datetime import timedelta
from Text2JSON.entity_named_recog.hour_entity_recognition import hour_absolute_comfirm
from Text2JSON.entity_named_recog.entity_utils import ... | 37.878906 | 98 | 0.527998 | 1,151 | 9,697 | 4.258905 | 0.114683 | 0.05712 | 0.0306 | 0.065279 | 0.914117 | 0.898205 | 0.857405 | 0.857405 | 0.840269 | 0.824357 | 0 | 0.02512 | 0.355471 | 9,697 | 255 | 99 | 38.027451 | 0.7592 | 0.031041 | 0 | 0.824742 | 0 | 0 | 0.028422 | 0.01389 | 0 | 0 | 0 | 0 | 0.010309 | 1 | 0.015464 | false | 0 | 0.036082 | 0 | 0.06701 | 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 |
8357aa9d8a80637add18232bdd9baca9dc832d11 | 6,245 | py | Python | payu/utils.py | GearPlug/payu-python | 47ec5c9fc89f1f89a53ec0a68c84f358bbe3394e | [
"MIT"
] | 1 | 2019-11-11T20:06:27.000Z | 2019-11-11T20:06:27.000Z | payu/utils.py | GearPlug/payu-python | 47ec5c9fc89f1f89a53ec0a68c84f358bbe3394e | [
"MIT"
] | 1 | 2020-04-20T15:46:28.000Z | 2020-04-20T15:46:28.000Z | payu/utils.py | GearPlug/payu-python | 47ec5c9fc89f1f89a53ec0a68c84f358bbe3394e | [
"MIT"
] | 1 | 2020-06-17T23:34:32.000Z | 2020-06-17T23:34:32.000Z | from payu.enumerators import Country, Franchise as F, TransactionType as T
from payu.exceptions import InvalidCountryError
def get_available_franchise_for_payment(country, transaction_type):
"""
Args:
country:
transaction_type:
Returns:
List of available Franchises for a country ... | 37.848485 | 104 | 0.630745 | 811 | 6,245 | 4.80148 | 0.097411 | 0.100154 | 0.062147 | 0.067797 | 0.879558 | 0.865177 | 0.839753 | 0.839753 | 0.824345 | 0.792244 | 0 | 0.002706 | 0.289992 | 6,245 | 164 | 105 | 38.079268 | 0.875507 | 0.226581 | 0 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03 | false | 0 | 0.02 | 0 | 0.41 | 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 |
8366cd57de66916d0889d5d69c781acf8edfe6aa | 198,795 | py | Python | ionoscloud/api/nat_gateways_api.py | ionos-cloud/ionos-cloud-sdk-python | 3c5804697c262898e6f6a438dc40e1b45a4bb5c9 | [
"Apache-2.0"
] | null | null | null | ionoscloud/api/nat_gateways_api.py | ionos-cloud/ionos-cloud-sdk-python | 3c5804697c262898e6f6a438dc40e1b45a4bb5c9 | [
"Apache-2.0"
] | null | null | null | ionoscloud/api/nat_gateways_api.py | ionos-cloud/ionos-cloud-sdk-python | 3c5804697c262898e6f6a438dc40e1b45a4bb5c9 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
import re # noqa: F401
import six
from ionoscloud.api_client import ApiClient
from ionoscloud.exceptions import ( # noqa: F401
ApiTypeError,
ApiValueError
)
class NATGatewaysApi(object):
def __init__(self, api_client=None):
if api_client is None:
... | 60.240909 | 451 | 0.650047 | 24,192 | 198,795 | 5.078166 | 0.010747 | 0.048449 | 0.080683 | 0.024876 | 0.996068 | 0.996068 | 0.995954 | 0.994107 | 0.992153 | 0.990574 | 0 | 0.014109 | 0.279469 | 198,795 | 3,299 | 452 | 60.259169 | 0.843561 | 0.465409 | 0 | 0.799871 | 0 | 0.025178 | 0.267263 | 0.074562 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023886 | false | 0 | 0.003228 | 0 | 0.051001 | 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 |
55f476ced32bc62edd8acbba952f811c29fa6e1e | 49 | py | Python | snakeeyes/blueprints/page/__init__.py | cprey/boundtofail | ebe538fc1505ba915b70196ef97ce49a4de9bc73 | [
"MIT"
] | 881 | 2015-05-20T20:09:50.000Z | 2022-03-24T21:07:36.000Z | snakeeyes/blueprints/page/__init__.py | cprey/boundtofail | ebe538fc1505ba915b70196ef97ce49a4de9bc73 | [
"MIT"
] | 65 | 2015-05-21T15:58:22.000Z | 2022-02-12T21:57:48.000Z | snakeeyes/blueprints/page/__init__.py | cprey/boundtofail | ebe538fc1505ba915b70196ef97ce49a4de9bc73 | [
"MIT"
] | 212 | 2015-05-20T22:23:10.000Z | 2022-03-25T16:28:12.000Z | from snakeeyes.blueprints.page.views import page
| 24.5 | 48 | 0.857143 | 7 | 49 | 6 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
55fc820015138f841c51e3e07503d22c35572c64 | 2,571 | py | Python | tests/int/test_flashloans.py | keyko-io/defi-crawler-py | 132fd0a4f4e72cebafd40a884a882d184d9dfb5a | [
"Apache-2.0"
] | 45 | 2021-05-08T03:01:52.000Z | 2022-03-21T05:50:45.000Z | tests/int/test_flashloans.py | vv111y/defi-crawler-py | 135b3d4a89e9382b9f428f35c3fe7432ec03e581 | [
"Apache-2.0"
] | 22 | 2021-04-07T13:52:58.000Z | 2022-03-29T22:01:36.000Z | tests/int/test_flashloans.py | keyko-io/defi-crawler-py | 132fd0a4f4e72cebafd40a884a882d184d9dfb5a | [
"Apache-2.0"
] | 15 | 2021-06-25T16:06:15.000Z | 2022-02-23T02:36:54.000Z | from deficrawler.lending import Lending
def test_flashloans_aave_2_eth():
aave = Lending(protocol="Aave", chain="Ethereum", version=2)
flash_loans = aave.get_data_from_date_range(
'30/08/2021 00:00:01', '30/08/2021 18:01:00', "flashloans")
assert(flash_loans[0]['tx_id'] != "")
assert(flash_lo... | 38.954545 | 113 | 0.65811 | 344 | 2,571 | 4.686047 | 0.122093 | 0.192308 | 0.238213 | 0.253102 | 0.836849 | 0.819479 | 0.774814 | 0.774814 | 0.774814 | 0.774814 | 0 | 0.125463 | 0.15986 | 2,571 | 65 | 114 | 39.553846 | 0.620833 | 0 | 0 | 0.705882 | 0 | 0 | 0.255932 | 0.065344 | 0 | 0 | 0.065344 | 0 | 0.509804 | 1 | 0.098039 | false | 0 | 0.019608 | 0 | 0.117647 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 10 |
3673f763281d655349ce3a33cf40a00cd49602a5 | 223 | py | Python | SSREM/solvers/__init__.py | OpenXAIProject/Neural-Conversation-Models | 72c2e71f0a5068733762078dfbb5f1405ea0be00 | [
"MIT"
] | 11 | 2020-11-24T00:05:50.000Z | 2020-11-25T07:52:07.000Z | SSREM/solvers/__init__.py | OpenXAIProject/Neural-Conversation-Models-Response-Evaluation | 72c2e71f0a5068733762078dfbb5f1405ea0be00 | [
"MIT"
] | null | null | null | SSREM/solvers/__init__.py | OpenXAIProject/Neural-Conversation-Models-Response-Evaluation | 72c2e71f0a5068733762078dfbb5f1405ea0be00 | [
"MIT"
] | 1 | 2020-09-08T14:18:12.000Z | 2020-09-08T14:18:12.000Z | from .solver import *
from .convscore_solver import *
from .convscorenegsamp_solver import *
from .convscorenegv1_solver import *
from .convscorencev1_solver import *
from .ruberu_solver import *
from .adem_solver import *
| 27.875 | 38 | 0.811659 | 27 | 223 | 6.481481 | 0.333333 | 0.48 | 0.548571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010256 | 0.125561 | 223 | 7 | 39 | 31.857143 | 0.887179 | 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 |
36d8946496f6a6f81e472d006021bb4ad58d8698 | 4,059 | py | Python | platforms/hermes-python/tests/ontology/dialogue/test_intent.py | elbywan/hermes-protocol | da23326f026fbfb8a23413c78383301e523188f3 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 37 | 2018-12-07T16:32:32.000Z | 2021-07-08T17:43:27.000Z | platforms/hermes-python/tests/ontology/dialogue/test_intent.py | elbywan/hermes-protocol | da23326f026fbfb8a23413c78383301e523188f3 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 52 | 2018-12-28T11:10:05.000Z | 2019-11-13T02:01:41.000Z | platforms/hermes-python/tests/ontology/dialogue/test_intent.py | elbywan/hermes-protocol | da23326f026fbfb8a23413c78383301e523188f3 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 34 | 2019-03-21T21:53:35.000Z | 2020-07-31T16:50:43.000Z | from collections import defaultdict
import hermes_python
class TestSlotAccessFromIntent(object):
def test_slot_access_from_intent_message(self):
custom_slot_value = hermes_python.ontology.slot.CustomValue("custom_slot")
slot_value = hermes_python.ontology.slot.SlotValue(1, custom_slot_value)
... | 59.691176 | 122 | 0.649914 | 479 | 4,059 | 5.196242 | 0.11691 | 0.130173 | 0.208919 | 0.115709 | 0.913218 | 0.859381 | 0.796706 | 0.750904 | 0.750502 | 0.71595 | 0 | 0.011126 | 0.247105 | 4,059 | 67 | 123 | 60.58209 | 0.803338 | 0 | 0 | 0.54717 | 0 | 0 | 0.050751 | 0 | 0 | 0 | 0 | 0 | 0.283019 | 1 | 0.075472 | false | 0 | 0.037736 | 0 | 0.132075 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 0 | 0 | 0 | 7 |
36e92a18003fc8b669f804ca30ccc01cbf11f25c | 4,252 | py | Python | userbot/plugins/gmute.py | sameerbot705/SAVAGE705 | 754b046caab6b9c1317878f99ce087df06e79572 | [
"MIT"
] | null | null | null | userbot/plugins/gmute.py | sameerbot705/SAVAGE705 | 754b046caab6b9c1317878f99ce087df06e79572 | [
"MIT"
] | null | null | null | userbot/plugins/gmute.py | sameerbot705/SAVAGE705 | 754b046caab6b9c1317878f99ce087df06e79572 | [
"MIT"
] | 2 | 2020-12-30T14:20:38.000Z | 2021-06-01T07:08:13.000Z | #credits to @kraken _the_badass
from userbot.plugins.sql_helper.mute_sql import is_muted, mute, unmute
import asyncio
@command(outgoing=True, pattern=r"^.gmute ?(\d+)?")
async def startgmute(event):
private = False
if event.fwd_from:
return
elif event.is_private:
await event.edit("LegendBO... | 34.852459 | 104 | 0.651693 | 612 | 4,252 | 4.454248 | 0.147059 | 0.099046 | 0.102715 | 0.064563 | 0.933236 | 0.926999 | 0.917461 | 0.895818 | 0.882612 | 0.882612 | 0 | 0.003435 | 0.246943 | 4,252 | 121 | 105 | 35.140496 | 0.844785 | 0.007056 | 0 | 0.869565 | 0 | 0 | 0.203791 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017391 | 0 | 0.121739 | 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 |
7fe5b4a7691f9d208033f275f3b9e5887f293b2a | 95 | py | Python | tests/test_data/helpers.py | nielse63/alpaca-trading-scripts | 9c5efaa2ebc120c2a6b9137563cf71f518193505 | [
"Apache-2.0"
] | null | null | null | tests/test_data/helpers.py | nielse63/alpaca-trading-scripts | 9c5efaa2ebc120c2a6b9137563cf71f518193505 | [
"Apache-2.0"
] | 9 | 2021-06-25T02:23:11.000Z | 2021-07-18T09:56:40.000Z | tests/test_data/helpers.py | nielse63/alpaca-trading-scripts | 9c5efaa2ebc120c2a6b9137563cf71f518193505 | [
"Apache-2.0"
] | 1 | 2021-10-19T16:09:44.000Z | 2021-10-19T16:09:44.000Z | import faker.providers.misc as misc
def get_uuid() -> str:
return str(misc.uuid.uuid4())
| 15.833333 | 35 | 0.694737 | 15 | 95 | 4.333333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012658 | 0.168421 | 95 | 5 | 36 | 19 | 0.810127 | 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 | 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 |
7ff5a4bec5a6b25a4d81cf5d8ab237aae1803382 | 204 | py | Python | rpmvenv/extensions/files/__init__.py | oleynikandrey/rpmvenv | 694c32b2d240285bbae9eee590a39dcb34ef1e2c | [
"MIT"
] | 150 | 2015-03-11T15:38:36.000Z | 2022-02-16T10:00:47.000Z | rpmvenv/extensions/files/__init__.py | oleynikandrey/rpmvenv | 694c32b2d240285bbae9eee590a39dcb34ef1e2c | [
"MIT"
] | 70 | 2015-03-11T15:40:59.000Z | 2022-01-15T15:48:16.000Z | rpmvenv/extensions/files/__init__.py | oleynikandrey/rpmvenv | 694c32b2d240285bbae9eee590a39dcb34ef1e2c | [
"MIT"
] | 44 | 2015-03-22T22:26:15.000Z | 2021-12-05T19:56:05.000Z | """Extensions which provide a files block segment."""
from __future__ import division
from __future__ import absolute_import
from __future__ import print_function
from __future__ import unicode_literals
| 29.142857 | 53 | 0.848039 | 26 | 204 | 5.923077 | 0.615385 | 0.25974 | 0.415584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 204 | 6 | 54 | 34 | 0.855556 | 0.230392 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.25 | 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 |
3d06913040fb53aad09d2cdfca2c5d15429944f1 | 128 | py | Python | daisy/tasks/FASTQMetrics.py | tschoonj/cgat-daisy | f85a2c82ca04f352aad00660cfc14a9aa6773168 | [
"MIT"
] | 1 | 2020-06-29T14:39:42.000Z | 2020-06-29T14:39:42.000Z | daisy/tasks/FASTQMetrics.py | tschoonj/cgat-daisy | f85a2c82ca04f352aad00660cfc14a9aa6773168 | [
"MIT"
] | 1 | 2019-05-15T20:50:37.000Z | 2019-05-15T20:50:37.000Z | daisy/tasks/FASTQMetrics.py | tschoonj/cgat-daisy | f85a2c82ca04f352aad00660cfc14a9aa6773168 | [
"MIT"
] | 1 | 2021-11-11T13:22:56.000Z | 2021-11-11T13:22:56.000Z | from .BAMMetrics import run_metric_bam_fastqc
class run_metric_fastq_fastqc(run_metric_bam_fastqc):
name = "fastq_fastqc"
| 21.333333 | 53 | 0.828125 | 19 | 128 | 5.052632 | 0.526316 | 0.28125 | 0.25 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117188 | 128 | 5 | 54 | 25.6 | 0.849558 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
3d1962857619c75179469f9d85606fa7b30b475a | 12,887 | py | Python | ivy_tests/test_array_api/array_api_tests/special_cases/test_atan2.py | djl11/ivy | 209f74b5a1a82ca69ad712788ae0469c3f8614d9 | [
"Apache-2.0"
] | null | null | null | ivy_tests/test_array_api/array_api_tests/special_cases/test_atan2.py | djl11/ivy | 209f74b5a1a82ca69ad712788ae0469c3f8614d9 | [
"Apache-2.0"
] | null | null | null | ivy_tests/test_array_api/array_api_tests/special_cases/test_atan2.py | djl11/ivy | 209f74b5a1a82ca69ad712788ae0469c3f8614d9 | [
"Apache-2.0"
] | null | null | null | """
Special cases tests for atan2.
These tests are generated from the special cases listed in the spec.
NOTE: This file is generated automatically by the generate_stubs.py script. Do
not modify it directly.
"""
from ..array_helpers import (NaN, assert_exactly_equal, exactly_equal, greater, infinity, isfinite,
... | 40.911111 | 163 | 0.658881 | 1,868 | 12,887 | 4.320664 | 0.046574 | 0.084748 | 0.075703 | 0.10482 | 0.947095 | 0.944369 | 0.937306 | 0.933094 | 0.933094 | 0.933094 | 0 | 0.049248 | 0.174362 | 12,887 | 314 | 164 | 41.041401 | 0.709305 | 0.931171 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 11 |
e9e359fa94dd5ad5157dad57ddfbdb76d65c8b8c | 237,593 | py | Python | mmtbx/tls/perm13.py | dperl-sol/cctbx_project | b9e390221a2bc4fd00b9122e97c3b79c632c6664 | [
"BSD-3-Clause-LBNL"
] | 155 | 2016-11-23T12:52:16.000Z | 2022-03-31T15:35:44.000Z | mmtbx/tls/perm13.py | dperl-sol/cctbx_project | b9e390221a2bc4fd00b9122e97c3b79c632c6664 | [
"BSD-3-Clause-LBNL"
] | 590 | 2016-12-10T11:31:18.000Z | 2022-03-30T23:10:09.000Z | mmtbx/tls/perm13.py | dperl-sol/cctbx_project | b9e390221a2bc4fd00b9122e97c3b79c632c6664 | [
"BSD-3-Clause-LBNL"
] | 115 | 2016-11-15T08:17:28.000Z | 2022-02-09T15:30:14.000Z | from __future__ import absolute_import, division, print_function
res=[[[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], [12]], [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], [11, 12]], [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], [11], [12]], [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9], [10, 11, 12]], [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9], [10, 11], [12]], [[0, 1... | 59,398.25 | 237,526 | 0.276018 | 53,244 | 237,593 | 1.231575 | 0.000394 | 0.124897 | 0.187346 | 0.249794 | 0.999177 | 0.999177 | 0.999177 | 0.999177 | 0.999177 | 0.999177 | 0 | 0.355409 | 0.224089 | 237,593 | 3 | 237,527 | 79,197.666667 | 0.000293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 1 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 16 |
183532a229e8a0111466c3f5f08b729fcd5f4904 | 4,326 | py | Python | tests/test_002-exclusive_jets.py | lgray/fastjet | 9c0de3aaeb5948ef15dfa2aad8620dad2e51912b | [
"BSD-3-Clause"
] | null | null | null | tests/test_002-exclusive_jets.py | lgray/fastjet | 9c0de3aaeb5948ef15dfa2aad8620dad2e51912b | [
"BSD-3-Clause"
] | null | null | null | tests/test_002-exclusive_jets.py | lgray/fastjet | 9c0de3aaeb5948ef15dfa2aad8620dad2e51912b | [
"BSD-3-Clause"
] | null | null | null | import awkward as ak # noqa: F401
import numpy as np # noqa: F401
import pytest # noqa: F401
import fastjet._pyjet # noqa: F401
vector = pytest.importorskip("vector") # noqa: F401
def test_exclusive_single():
array = ak.Array(
[
{"px": 1.2, "py": 3.2, "pz": 5.4, "E": 2.5, "ex": 0.78},
... | 38.972973 | 88 | 0.464401 | 666 | 4,326 | 2.929429 | 0.103604 | 0.035366 | 0.064582 | 0.043055 | 0.866735 | 0.858534 | 0.834956 | 0.834956 | 0.796515 | 0.796515 | 0 | 0.18705 | 0.293111 | 4,326 | 110 | 89 | 39.327273 | 0.450948 | 0.012483 | 0 | 0.51 | 0 | 0 | 0.065635 | 0 | 0 | 0 | 0 | 0 | 0.06 | 1 | 0.04 | false | 0 | 0.05 | 0 | 0.09 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a12c4a6bd5fabe416dcd33728166ad684284036c | 265 | py | Python | federated_aggregations/channels/__init__.py | tf-encrypted/federated-aggregations | b4ab7a15c2719d4119db7d9d609f8c06d9df8958 | [
"Apache-2.0"
] | 16 | 2020-08-07T05:40:09.000Z | 2022-01-08T20:32:07.000Z | federated_aggregations/channels/__init__.py | tf-encrypted/federated-aggregations | b4ab7a15c2719d4119db7d9d609f8c06d9df8958 | [
"Apache-2.0"
] | 1 | 2020-10-14T00:18:39.000Z | 2020-10-19T14:13:03.000Z | federated_aggregations/channels/__init__.py | tf-encrypted/federated-aggregations | b4ab7a15c2719d4119db7d9d609f8c06d9df8958 | [
"Apache-2.0"
] | 2 | 2020-09-08T10:16:28.000Z | 2021-01-14T12:33:01.000Z | from federated_aggregations.channels.channel_grid import ChannelGrid
from federated_aggregations.channels.channel import Channel
from federated_aggregations.channels.channel import PlaintextChannel
from federated_aggregations.channels.channel import EasyBoxChannel
| 53 | 68 | 0.909434 | 29 | 265 | 8.137931 | 0.344828 | 0.220339 | 0.423729 | 0.559322 | 0.754237 | 0.584746 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060377 | 265 | 4 | 69 | 66.25 | 0.947791 | 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 | 1 | 0 | 0 | 8 |
a13bdc0990f67679ba01338ff8726ccf8cdbdd46 | 161 | py | Python | pychess/util/__init__.py | mpunkenhofer/pychess | 29e48d3ec68ba55e87b8d5a07544d96bc14ab558 | [
"MIT"
] | null | null | null | pychess/util/__init__.py | mpunkenhofer/pychess | 29e48d3ec68ba55e87b8d5a07544d96bc14ab558 | [
"MIT"
] | null | null | null | pychess/util/__init__.py | mpunkenhofer/pychess | 29e48d3ec68ba55e87b8d5a07544d96bc14ab558 | [
"MIT"
] | null | null | null | # Mathias Punkenhofer
# code.mpunkenhofer@gmail.com
#
import pychess.util.board
import pychess.util.move
import pychess.util.position
import pychess.util.rules
| 17.888889 | 29 | 0.819876 | 22 | 161 | 6 | 0.590909 | 0.393939 | 0.515152 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093168 | 161 | 8 | 30 | 20.125 | 0.90411 | 0.291925 | 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 |
a1977ca1a54bfedfcc945774e93ec444fbcb4549 | 29,421 | py | Python | pipeline/test_dataformat_csv.py | streamsets/datacollector-tests | 6c3e908768e1d4a586e9183e2141096921ecd5be | [
"Apache-2.0"
] | 14 | 2019-03-04T10:12:39.000Z | 2021-11-24T16:17:09.000Z | pipeline/test_dataformat_csv.py | Pragatibs/datacollector-tests | aac53b2f0e056009ef0e437c8430651e3cf4d502 | [
"Apache-2.0"
] | 48 | 2019-03-08T14:59:06.000Z | 2021-08-13T14:49:56.000Z | pipeline/test_dataformat_csv.py | Pragatibs/datacollector-tests | aac53b2f0e056009ef0e437c8430651e3cf4d502 | [
"Apache-2.0"
] | 23 | 2018-09-24T20:49:17.000Z | 2021-11-24T16:17:11.000Z | # Copyright 2021 StreamSets Inc.
#
# 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 agreed to in writi... | 32.617517 | 139 | 0.679651 | 3,994 | 29,421 | 4.76665 | 0.061843 | 0.088087 | 0.044858 | 0.060878 | 0.872203 | 0.85697 | 0.854922 | 0.835487 | 0.829184 | 0.822408 | 0 | 0.026364 | 0.181333 | 29,421 | 901 | 140 | 32.653718 | 0.764054 | 0.060195 | 0 | 0.802115 | 0 | 0 | 0.100558 | 0.007066 | 0 | 0 | 0 | 0 | 0.231118 | 1 | 0.031722 | false | 0 | 0.009063 | 0 | 0.042296 | 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 |
1a291c8b3badb359bf6dd4095ae747ef09bf5a93 | 10,106 | py | Python | src/prefect/tasks/core/operators.py | cris-l-castaneda/prefect | 25ac43f1ac973c023b1a48432a98ab203e9df31f | [
"Apache-2.0"
] | null | null | null | src/prefect/tasks/core/operators.py | cris-l-castaneda/prefect | 25ac43f1ac973c023b1a48432a98ab203e9df31f | [
"Apache-2.0"
] | null | null | null | src/prefect/tasks/core/operators.py | cris-l-castaneda/prefect | 25ac43f1ac973c023b1a48432a98ab203e9df31f | [
"Apache-2.0"
] | null | null | null | """
The tasks in this module can be used to represent builtin operations, including math,
indexing, and logical comparisons.
In general, users will not instantiate these tasks by hand; they will automatically be
applied when users apply inline Python operators to a task and another value.
"""
from operator import attr... | 22.761261 | 92 | 0.484366 | 1,148 | 10,106 | 4.133275 | 0.093206 | 0.070179 | 0.113804 | 0.144152 | 0.842782 | 0.833509 | 0.833509 | 0.813277 | 0.813277 | 0.813277 | 0 | 0 | 0.354641 | 10,106 | 443 | 93 | 22.812641 | 0.727231 | 0.48961 | 0 | 0.548387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.387097 | false | 0 | 0.032258 | 0 | 0.806452 | 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 | 1 | 0 | 0 | 8 |
c5071bc6e01b5802831547516dc431b2a2fa5b54 | 12,842 | py | Python | src/plot.py | CovidTrackerFr/forecast | 69e97e16daae95e2e3debe0fcdcc1f0643aabdb9 | [
"MIT"
] | null | null | null | src/plot.py | CovidTrackerFr/forecast | 69e97e16daae95e2e3debe0fcdcc1f0643aabdb9 | [
"MIT"
] | null | null | null | src/plot.py | CovidTrackerFr/forecast | 69e97e16daae95e2e3debe0fcdcc1f0643aabdb9 | [
"MIT"
] | null | null | null | from plotly.subplots import make_subplots
from plotly import graph_objects as go
from plotly import offline
import numpy as np
def plot_and_export(df=None, df_dlog_all=None, yhat_mean=None, yhat_conf_int_0=None, yhat_conf_int_1=None, yhat_conf_int_2=None, yhat_conf_int_3=None, yhat_conf_int_75_0=None, yhat_conf_int_75... | 28.858427 | 310 | 0.503115 | 1,560 | 12,842 | 3.929487 | 0.126923 | 0.052202 | 0.071778 | 0.050897 | 0.818597 | 0.784502 | 0.761664 | 0.711419 | 0.70832 | 0.703915 | 0 | 0.058824 | 0.351347 | 12,842 | 445 | 311 | 28.858427 | 0.676951 | 0.001869 | 0 | 0.760599 | 0 | 0.004988 | 0.170155 | 0.014837 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002494 | false | 0 | 0.009975 | 0 | 0.012469 | 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 |
c521712c271b431812eb243f80fccad589092fa2 | 48,720 | py | Python | csheet3d.py | jmshi/reconnection | f1f0c21d119dd2aff3ef2a61fc3d915cbd0916a6 | [
"MIT"
] | null | null | null | csheet3d.py | jmshi/reconnection | f1f0c21d119dd2aff3ef2a61fc3d915cbd0916a6 | [
"MIT"
] | null | null | null | csheet3d.py | jmshi/reconnection | f1f0c21d119dd2aff3ef2a61fc3d915cbd0916a6 | [
"MIT"
] | null | null | null | import athena_read as ath
import matplotlib
import matplotlib.pyplot as plt
from matplotlib import gridspec
from mpl_toolkits.axes_grid1 import make_axes_locatable
import numpy as np
import cPickle as pickle
from my_colors import get_jhcolors
############################################
import matplotlib.gridspec as gr... | 37.563608 | 148 | 0.520936 | 6,891 | 48,720 | 3.634886 | 0.079814 | 0.034374 | 0.025032 | 0.01054 | 0.804855 | 0.790363 | 0.764173 | 0.747205 | 0.709039 | 0.698778 | 0 | 0.049956 | 0.283025 | 48,720 | 1,296 | 149 | 37.592593 | 0.667115 | 0.155521 | 0 | 0.781373 | 0 | 0 | 0.094166 | 0.028187 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.012745 | null | null | 0.039216 | 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 |
c56221544b5065964057941006ff5271b2641dcb | 21,009 | py | Python | napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/bgp/global_/config/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 64 | 2016-10-20T15:47:18.000Z | 2021-11-11T11:57:32.000Z | napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/bgp/global_/config/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 126 | 2016-10-05T10:36:14.000Z | 2019-05-15T08:43:23.000Z | napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/bgp/global_/config/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 63 | 2016-11-07T15:23:08.000Z | 2021-09-22T14:41:16.000Z | # -*- coding: utf-8 -*-
from operator import attrgetter
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType
from pyangbind.lib.yangtypes import RestrictedClassType
from pyangbind.lib.yangtypes import TypedListType
from pyangbind.lib.yangtypes import YANGBool
from pyangbind.lib.yangtypes import YANGListTy... | 40.953216 | 536 | 0.573088 | 2,498 | 21,009 | 4.615693 | 0.082066 | 0.013877 | 0.041284 | 0.048395 | 0.967476 | 0.948656 | 0.948656 | 0.948656 | 0.948656 | 0.948656 | 0 | 0.033032 | 0.305441 | 21,009 | 512 | 537 | 41.033203 | 0.757127 | 0.192822 | 0 | 0.871795 | 0 | 0.025641 | 0.277771 | 0.126615 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041026 | false | 0 | 0.038462 | 0 | 0.135897 | 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 |
c562850c68a9eb3979a9a0bfad836e804220a31b | 5,546 | py | Python | tests/ros_test_pathplan_units.py | gramaziokohler/integral_timber_joints | 70e75a66e13b5ada580fcffc58879f5fcb8fce32 | [
"MIT"
] | 3 | 2021-09-16T13:08:32.000Z | 2022-02-21T17:20:21.000Z | tests/ros_test_pathplan_units.py | gramaziokohler/integral_timber_joints | 70e75a66e13b5ada580fcffc58879f5fcb8fce32 | [
"MIT"
] | 80 | 2021-09-06T09:55:38.000Z | 2022-03-22T18:44:24.000Z | tests/ros_test_pathplan_units.py | gramaziokohler/integral_timber_joints | 70e75a66e13b5ada580fcffc58879f5fcb8fce32 | [
"MIT"
] | null | null | null | from compas.geometry import Frame
from compas_fab.backends import RosClient
from compas_fab.robots import Configuration
import math
group = "robot11_eaXYZ"
frame_WCF = Frame([19.823254, 6.008556, 0.922020],
[-1.0, 0.0, 0.0],
[0.0, 1.0, 0.0])
frame_WCF_mm = Frame([19823.254, 6008.5... | 34.880503 | 123 | 0.564371 | 707 | 5,546 | 4.083451 | 0.179632 | 0.066505 | 0.078975 | 0.077589 | 0.805681 | 0.805681 | 0.805681 | 0.805681 | 0.805681 | 0.805681 | 0 | 0.128123 | 0.321673 | 5,546 | 158 | 124 | 35.101266 | 0.639288 | 0.018031 | 0 | 0.796875 | 0 | 0 | 0.274499 | 0.009928 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03125 | 0 | 0.03125 | 0.046875 | 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 |
c5670f6bac87361f2a2439b25ed40c55d354d32c | 107 | py | Python | tests/parser/builtins.ground.2.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/builtins.ground.2.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/builtins.ground.2.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | input = """
true.
a | b :- true, 1 < 2.
:- a.
"""
output = """
true.
a | b :- true, 1 < 2.
:- a.
"""
| 9.727273 | 22 | 0.345794 | 16 | 107 | 2.3125 | 0.4375 | 0.27027 | 0.324324 | 0.540541 | 0.702703 | 0.702703 | 0.702703 | 0 | 0 | 0 | 0 | 0.056338 | 0.336449 | 107 | 10 | 23 | 10.7 | 0.464789 | 0 | 0 | 0.8 | 0 | 0 | 0.693069 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
9a98beb17f08a1f1082d067060108f96b2402811 | 160 | py | Python | ipeds/__init__.py | Btibert3/ipeds | bf542aec16ff0cc7376ca083d51338272bbb6b4d | [
"MIT"
] | null | null | null | ipeds/__init__.py | Btibert3/ipeds | bf542aec16ff0cc7376ca083d51338272bbb6b4d | [
"MIT"
] | null | null | null | ipeds/__init__.py | Btibert3/ipeds | bf542aec16ff0cc7376ca083d51338272bbb6b4d | [
"MIT"
] | null | null | null | def joke():
return (u'Wenn ist das Nunst\u00fcck git und Slotermeyer? Ja! ... '
u'Beiherhund das Oder die Flipperwaldt gersput.')
| 26.666667 | 71 | 0.59375 | 20 | 160 | 4.75 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018018 | 0.30625 | 160 | 5 | 72 | 32 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0.63125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0.333333 | 0.666667 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
9ade6e950de07d054dc11fbbf256bf8770428f5b | 255 | py | Python | python-variables/06-escape-sequences.py | oviniciusoliveira/python-bootcamp | cd08ec4ec30049822c283a656307a5dcb25b5d99 | [
"MIT"
] | null | null | null | python-variables/06-escape-sequences.py | oviniciusoliveira/python-bootcamp | cd08ec4ec30049822c283a656307a5dcb25b5d99 | [
"MIT"
] | null | null | null | python-variables/06-escape-sequences.py | oviniciusoliveira/python-bootcamp | cd08ec4ec30049822c283a656307a5dcb25b5d99 | [
"MIT"
] | null | null | null | # Escape the ' caracter
story_description = 'It\'s a touching story'
print(story_description)
# Escape the \ caracter
story_description = "It\\'s a touching story"
print(story_description)
# Break Line
story_description = 'It\'s a \n touching \n story'
| 23.181818 | 50 | 0.74902 | 37 | 255 | 5.027027 | 0.351351 | 0.430108 | 0.290323 | 0.306452 | 0.870968 | 0.763441 | 0.763441 | 0.763441 | 0.763441 | 0.763441 | 0 | 0 | 0.145098 | 255 | 10 | 51 | 25.5 | 0.853211 | 0.211765 | 0 | 0.4 | 0 | 0 | 0.147208 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | null | 1 | 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 | 9 |
b1079b7ceda1532ce012af7f1bc66fab15560453 | 111 | py | Python | List-1/make_ends.py | VivekM27/Coding-Bat-Python-Solutions | 14d5c6ccaa2129e56a5898374dec60740fe6761b | [
"Apache-2.0"
] | null | null | null | List-1/make_ends.py | VivekM27/Coding-Bat-Python-Solutions | 14d5c6ccaa2129e56a5898374dec60740fe6761b | [
"Apache-2.0"
] | null | null | null | List-1/make_ends.py | VivekM27/Coding-Bat-Python-Solutions | 14d5c6ccaa2129e56a5898374dec60740fe6761b | [
"Apache-2.0"
] | null | null | null | # MAKE_ENDS
def make_ends(nums):
return [nums[0], nums[0]] if len(nums)<2 else [nums[0], nums[len(nums)-1]] | 37 | 76 | 0.648649 | 22 | 111 | 3.181818 | 0.5 | 0.214286 | 0.257143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052083 | 0.135135 | 111 | 3 | 76 | 37 | 0.677083 | 0.081081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
b1332d9bc8b46a040fa1fae0245923ae1ac49713 | 75,758 | py | Python | Media/common/Build/build_assets.py | dmacka/MultiverseClientServer | b64d7d754a0b2b1a3e5acabd4d6ebb80ab1d9379 | [
"MIT"
] | 5 | 2020-04-29T19:14:57.000Z | 2022-02-18T08:48:37.000Z | Media/common/Build/build_assets.py | dmacka/MultiverseClientServer | b64d7d754a0b2b1a3e5acabd4d6ebb80ab1d9379 | [
"MIT"
] | null | null | null | Media/common/Build/build_assets.py | dmacka/MultiverseClientServer | b64d7d754a0b2b1a3e5acabd4d6ebb80ab1d9379 | [
"MIT"
] | 2 | 2021-03-09T06:53:30.000Z | 2021-03-27T12:02:39.000Z | import sha
import time
from patch_tool import *
def add_assets(asset_tree):
asset_tree.add_ignore("mv.patch")
asset_tree.add_ignore("mv.patch.cur")
# Directories for main assets
asset_tree.add_asset_path("Base", "Fonts")
asset_tree.add_asset_path("Base", "GpuPrograms")
asset_tree.add_asset_pa... | 67.460374 | 105 | 0.782122 | 10,572 | 75,758 | 5.179342 | 0.045403 | 0.163872 | 0.216963 | 0.302086 | 0.929414 | 0.921707 | 0.912211 | 0.872032 | 0.740832 | 0.55214 | 0 | 0.006796 | 0.085166 | 75,758 | 1,122 | 106 | 67.520499 | 0.783266 | 0.013424 | 0 | 0.011988 | 0 | 0 | 0.488694 | 0.367806 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002997 | false | 0 | 0.002997 | 0 | 0.005994 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 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 |
b15450661ae652d4acf47a1ec8f8975f20e9fd17 | 87 | py | Python | deep_rl/network/__init__.py | bchidamb/DeepRL | 4810e8caf4c790f200a5d5453b4b43c4b8e612b4 | [
"Apache-2.0"
] | 5 | 2019-09-15T19:58:31.000Z | 2022-02-01T10:10:26.000Z | deep_rl/network/__init__.py | bchidamb/DeepRL | 4810e8caf4c790f200a5d5453b4b43c4b8e612b4 | [
"Apache-2.0"
] | 5 | 2020-06-04T05:06:51.000Z | 2022-03-12T00:33:08.000Z | deep_rl/network/__init__.py | bchidamb/DeepRL | 4810e8caf4c790f200a5d5453b4b43c4b8e612b4 | [
"Apache-2.0"
] | 3 | 2018-12-25T23:40:00.000Z | 2020-06-27T04:29:00.000Z | from .network_utils import *
from .network_bodies import *
from .network_heads import * | 29 | 29 | 0.804598 | 12 | 87 | 5.583333 | 0.5 | 0.492537 | 0.507463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126437 | 87 | 3 | 30 | 29 | 0.881579 | 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 |
b16aec1256709adc567e9b59b77f3ecf89b4e3a2 | 6,908 | py | Python | alltestcases/test_login.py | xinlinger/datadrivertestexample | 95580fc2363c894c326b16f1b8f5cbb89cc56642 | [
"MIT"
] | null | null | null | alltestcases/test_login.py | xinlinger/datadrivertestexample | 95580fc2363c894c326b16f1b8f5cbb89cc56642 | [
"MIT"
] | null | null | null | alltestcases/test_login.py | xinlinger/datadrivertestexample | 95580fc2363c894c326b16f1b8f5cbb89cc56642 | [
"MIT"
] | null | null | null |
# import unittest
# from selenium import webdriver
# from common.create_driver import getDriver
# def add(x,y):
# return x+y
# class UserActionTest(unittest.TestCase):
# # driver = getDriver()
# # def test_add(self):
# # expect_val = 3
# # self.assertEqual(add(1,2),expect_val)... | 29.648069 | 143 | 0.648523 | 877 | 6,908 | 4.859749 | 0.150513 | 0.110277 | 0.143595 | 0.160488 | 0.863914 | 0.846551 | 0.826138 | 0.813702 | 0.802909 | 0.764899 | 0 | 0.046486 | 0.202808 | 6,908 | 233 | 144 | 29.648069 | 0.727438 | 0.717284 | 0 | 0.045455 | 0 | 0.022727 | 0.101425 | 0.013158 | 0 | 0 | 0 | 0 | 0.045455 | 1 | 0.136364 | false | 0.090909 | 0.159091 | 0 | 0.363636 | 0.022727 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
b18a490e91c354ff1a9790f904742e540a67599b | 111,374 | py | Python | ciscoisesdk/api/v3_0_0/certificates.py | oianson/ciscoisesdk | c8fe9d80416048dd0ff2241209c4f78ab78c1a4a | [
"MIT"
] | null | null | null | ciscoisesdk/api/v3_0_0/certificates.py | oianson/ciscoisesdk | c8fe9d80416048dd0ff2241209c4f78ab78c1a4a | [
"MIT"
] | null | null | null | ciscoisesdk/api/v3_0_0/certificates.py | oianson/ciscoisesdk | c8fe9d80416048dd0ff2241209c4f78ab78c1a4a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Cisco Identity Services Engine Certificates API wrapper.
Copyright (c) 2021 Cisco and/or its affiliates.
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 restric... | 42.623039 | 128 | 0.550748 | 10,997 | 111,374 | 5.37192 | 0.051287 | 0.036056 | 0.033517 | 0.036564 | 0.874075 | 0.855116 | 0.84689 | 0.836716 | 0.819416 | 0.813373 | 0 | 0.010643 | 0.392614 | 111,374 | 2,612 | 129 | 42.639357 | 0.86264 | 0.4469 | 0 | 0.774142 | 0 | 0 | 0.07982 | 0.055906 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019952 | false | 0.021548 | 0.008779 | 0 | 0.046289 | 0.000798 | 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 |
b1952e02093038b8f0cf2e7715525b5d584bb4a5 | 260 | py | Python | python/testData/override/dunderNewPy3k_after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/override/dunderNewPy3k_after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/override/dunderNewPy3k_after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class BaseMeta(type):
def __new__(cls, name, bases, namespace):
return super().__new__(cls, name, bases, namespace)
class MyMeta(BaseMeta):
def __new__(cls, name, bases, namespace):
return super().__new__(cls, name, bases, namespace)
| 28.888889 | 59 | 0.676923 | 32 | 260 | 5 | 0.375 | 0.15 | 0.25 | 0.375 | 0.775 | 0.775 | 0.775 | 0.775 | 0.775 | 0.775 | 0 | 0 | 0.192308 | 260 | 8 | 60 | 32.5 | 0.761905 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 10 |
b19bcea29db48c9a1c3b77215dad1e34d47b0b72 | 3,301 | py | Python | test/test_octopus_server_nodes_api.py | cvent/octopus-deploy-api-client | 0e03e842e1beb29b132776aee077df570b88366a | [
"Apache-2.0"
] | null | null | null | test/test_octopus_server_nodes_api.py | cvent/octopus-deploy-api-client | 0e03e842e1beb29b132776aee077df570b88366a | [
"Apache-2.0"
] | null | null | null | test/test_octopus_server_nodes_api.py | cvent/octopus-deploy-api-client | 0e03e842e1beb29b132776aee077df570b88366a | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Octopus Server API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 2019.6.7+Branch.tags-2019.6.7.Sha.aa18dc6809953218c66f57eff7d26481d9b23d6a
Generated by: https://github.com/swagger-api... | 37.511364 | 130 | 0.79279 | 398 | 3,301 | 6.025126 | 0.213568 | 0.178899 | 0.155963 | 0.145955 | 0.778148 | 0.778148 | 0.778148 | 0.69558 | 0.69558 | 0.655129 | 0 | 0.022695 | 0.159043 | 3,301 | 87 | 131 | 37.942529 | 0.841138 | 0.467737 | 0 | 0.321429 | 1 | 0 | 0.005009 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0.321429 | 0.178571 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
4969d545a27f9f8021bbcc5927c20bbd6b08ea02 | 158 | py | Python | test/test_knights_tour.py | erichaase/topcoder-python | de285d8092a94f2ec1b5c0c33eba55b5c27a5390 | [
"MIT"
] | 1 | 2017-03-25T17:40:57.000Z | 2017-03-25T17:40:57.000Z | test/test_knights_tour.py | erichaase/topcoder-python | de285d8092a94f2ec1b5c0c33eba55b5c27a5390 | [
"MIT"
] | null | null | null | test/test_knights_tour.py | erichaase/topcoder-python | de285d8092a94f2ec1b5c0c33eba55b5c27a5390 | [
"MIT"
] | null | null | null | from test.assert_json import assert_json
from topcoder.knights_tour import solution
def test_knights_tour ():
assert_json('knights_tour', solution)
| 26.333333 | 45 | 0.791139 | 22 | 158 | 5.363636 | 0.454545 | 0.254237 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14557 | 158 | 5 | 46 | 31.6 | 0.874074 | 0 | 0 | 0 | 0 | 0 | 0.075949 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 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 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
497276d0b561a28cc0558bb2df95f5660028d95c | 58,764 | py | Python | project2/CARP_solver.py | lhwzds/CS303-project | e1a4e7965b759c2c9583df3b731b19a0b2a198d6 | [
"MIT"
] | null | null | null | project2/CARP_solver.py | lhwzds/CS303-project | e1a4e7965b759c2c9583df3b731b19a0b2a198d6 | [
"MIT"
] | null | null | null | project2/CARP_solver.py | lhwzds/CS303-project | e1a4e7965b759c2c9583df3b731b19a0b2a198d6 | [
"MIT"
] | null | null | null | import sys
import queue
import random
import time
import copy
import numpy as np
from multiprocessing import Process,Queue
file_path=sys.argv[1]
termin_time=sys.argv[3]
random_seed=sys.argv[5]
start=time.time()
random.seed(random_seed)
f=open(file_path,encoding='utf-8')
sentimentlist = []
for line in f:
s = line... | 36.796493 | 177 | 0.460163 | 7,001 | 58,764 | 3.642051 | 0.035566 | 0.051337 | 0.067652 | 0.025414 | 0.810417 | 0.785513 | 0.756491 | 0.730096 | 0.718331 | 0.700761 | 0 | 0.0309 | 0.434416 | 58,764 | 1,597 | 178 | 36.796493 | 0.73628 | 0.021152 | 0 | 0.709294 | 0 | 0 | 0.002557 | 0.0012 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026555 | false | 0.002795 | 0.004892 | 0.000699 | 0.055206 | 0.001398 | 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 |
b8ff00120527dd8cf4f5b04de3d20a40bde6d4a1 | 23,926 | py | Python | examples/few_shot/efl/data.py | wzzju/PaddleNLP | 1757a4fc2a3cd5a45f75c6482746777752b414d8 | [
"Apache-2.0"
] | 2 | 2021-06-11T07:35:33.000Z | 2021-06-11T08:37:27.000Z | examples/few_shot/efl/data.py | xihuanafeng/PaddleNLP | 14c3209118b2cadcce9a8f66b760c9cddb3a02ad | [
"Apache-2.0"
] | null | null | null | examples/few_shot/efl/data.py | xihuanafeng/PaddleNLP | 14c3209118b2cadcce9a8f66b760c9cddb3a02ad | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2021 PaddlePaddle 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 appli... | 41.180723 | 85 | 0.554794 | 2,287 | 23,926 | 5.573677 | 0.09401 | 0.112968 | 0.087864 | 0.067781 | 0.83604 | 0.83196 | 0.828195 | 0.81831 | 0.809995 | 0.809995 | 0 | 0.007117 | 0.359901 | 23,926 | 580 | 86 | 41.251724 | 0.825204 | 0.112388 | 0 | 0.828979 | 0 | 0 | 0.066363 | 0 | 0 | 0 | 0 | 0.001724 | 0 | 1 | 0.035629 | false | 0 | 0.019002 | 0 | 0.114014 | 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 |
620408cda1206f6f2656417d87aa369854e41176 | 42,620 | py | Python | pytests/rebalance_new/rebalance_in_out.py | cgghali/TAF | 1de8dec77ad781c373e18d9c285befd534ac203a | [
"Apache-2.0"
] | null | null | null | pytests/rebalance_new/rebalance_in_out.py | cgghali/TAF | 1de8dec77ad781c373e18d9c285befd534ac203a | [
"Apache-2.0"
] | null | null | null | pytests/rebalance_new/rebalance_in_out.py | cgghali/TAF | 1de8dec77ad781c373e18d9c285befd534ac203a | [
"Apache-2.0"
] | null | null | null | from membase.api.rest_client import RestConnection
from membase.helper.rebalance_helper import RebalanceHelper
from rebalance_new.rebalance_base import RebalanceBaseTest
from BucketLib.BucketOperations import BucketHelper
from rebalance_new import rebalance_base
from sdk_exceptions import SDKException
class Rebalance... | 53.610063 | 144 | 0.650868 | 5,518 | 42,620 | 4.771475 | 0.069409 | 0.042159 | 0.059022 | 0.023244 | 0.851305 | 0.832846 | 0.818945 | 0.801436 | 0.788484 | 0.77333 | 0 | 0.006757 | 0.277733 | 42,620 | 794 | 145 | 53.677582 | 0.848553 | 0.03245 | 0 | 0.74 | 0 | 0 | 0.057681 | 0.00485 | 0 | 0 | 0 | 0.001259 | 0.036364 | 0 | null | null | 0.005455 | 0.010909 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
620a4f62216147fa0038fba03a8de598a5a61e8a | 167 | py | Python | mxlive/utils/context_processors.py | katyjg/mxlive | e4aeb8141242d5a5b5b72d980dc5fe9edfe7fa13 | [
"BSD-3-Clause"
] | null | null | null | mxlive/utils/context_processors.py | katyjg/mxlive | e4aeb8141242d5a5b5b72d980dc5fe9edfe7fa13 | [
"BSD-3-Clause"
] | null | null | null | mxlive/utils/context_processors.py | katyjg/mxlive | e4aeb8141242d5a5b5b72d980dc5fe9edfe7fa13 | [
"BSD-3-Clause"
] | null | null | null | from django.conf import settings
def version_context_processor(request):
"""
Version context processor
"""
return {'version': settings.APP_VERSION}
| 16.7 | 44 | 0.706587 | 18 | 167 | 6.388889 | 0.666667 | 0.243478 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197605 | 167 | 9 | 45 | 18.555556 | 0.858209 | 0.149701 | 0 | 0 | 0 | 0 | 0.056 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
620c8adb4632d283e8533a8fbc884fb572864734 | 2,590 | py | Python | foursquare_v1/main/migrations/0009_auto_20191130_1829.py | HelloPKJ/foursquare_wx | 5cfa0e7e5c49c1076d5354e8a734055bafb77970 | [
"BSD-3-Clause"
] | null | null | null | foursquare_v1/main/migrations/0009_auto_20191130_1829.py | HelloPKJ/foursquare_wx | 5cfa0e7e5c49c1076d5354e8a734055bafb77970 | [
"BSD-3-Clause"
] | 6 | 2021-03-19T11:29:08.000Z | 2022-02-10T12:40:05.000Z | foursquare_v1/main/migrations/0009_auto_20191130_1829.py | HelloPKJ/foursquare_wx | 5cfa0e7e5c49c1076d5354e8a734055bafb77970 | [
"BSD-3-Clause"
] | null | null | null | # Generated by Django 2.2.7 on 2019-11-30 18:29
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('main', '0008_auto_20191130_1825'),
]
operations = [
migrations.AlterField(
model_name='customertable',
name='custome... | 32.78481 | 62 | 0.577606 | 240 | 2,590 | 6.045833 | 0.2125 | 0.179187 | 0.223983 | 0.259821 | 0.842178 | 0.842178 | 0.842178 | 0.804962 | 0.777395 | 0.777395 | 0 | 0.039282 | 0.311969 | 2,590 | 78 | 63 | 33.205128 | 0.774972 | 0.017375 | 0 | 0.722222 | 1 | 0 | 0.156508 | 0.018482 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.013889 | 0 | 0.055556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 10 |
624215c3e3f64a991e26e4777144331ab9d35aab | 32,514 | py | Python | tests/app/v2_position_straightbondmytokens_test.py | BoostryJP/ibet-Wallet-API | da7323a298bdb746e93da8a9b57a5da1dd6f14ac | [
"Apache-2.0"
] | 6 | 2021-06-16T02:06:21.000Z | 2021-09-20T09:50:56.000Z | tests/app/v2_position_straightbondmytokens_test.py | BoostryJP/ibet-Wallet-API | da7323a298bdb746e93da8a9b57a5da1dd6f14ac | [
"Apache-2.0"
] | 68 | 2021-04-06T03:44:54.000Z | 2022-03-29T02:00:02.000Z | tests/app/v2_position_straightbondmytokens_test.py | BoostryJP/ibet-Wallet-API | da7323a298bdb746e93da8a9b57a5da1dd6f14ac | [
"Apache-2.0"
] | null | null | null | """
Copyright BOOSTRY Co., Ltd.
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 agreed to in writing,
software distr... | 38.29682 | 92 | 0.569324 | 2,904 | 32,514 | 6.061295 | 0.112603 | 0.071583 | 0.020282 | 0.019998 | 0.897114 | 0.888876 | 0.877457 | 0.875412 | 0.875412 | 0.868083 | 0 | 0.056211 | 0.319893 | 32,514 | 848 | 93 | 38.341981 | 0.739429 | 0.045304 | 0 | 0.86976 | 0 | 0 | 0.282965 | 0.082642 | 0 | 0 | 0.001324 | 0 | 0.049401 | 1 | 0.022455 | false | 0 | 0.007485 | 0 | 0.035928 | 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 |
656456bdb85d6b3f23b358f728abf0b7ba41febe | 3,437 | py | Python | belarus_city_administrative_region_borders.py | opendataby/osm-geodata | bfa85480805b16788118a41912fe8049a1db80a5 | [
"MIT"
] | 3 | 2015-03-02T08:18:02.000Z | 2015-12-18T22:51:32.000Z | belarus_city_administrative_region_borders.py | opendataby/osm-geodata | bfa85480805b16788118a41912fe8049a1db80a5 | [
"MIT"
] | 1 | 2015-04-24T17:06:12.000Z | 2015-04-24T17:06:12.000Z | belarus_city_administrative_region_borders.py | opendataby/osm-geodata | bfa85480805b16788118a41912fe8049a1db80a5 | [
"MIT"
] | null | null | null | from _helpers import cursor_wrap, dump
@cursor_wrap
def main(cursor):
sql = """
SELECT cr.osm_id,
c.tags->'int_name' AS country, '' AS region, '' AS subregion, ct.tags->'int_name' AS city, cr.tags->'int_name' AS cityAdministrativeRegion,
c.tags->'name:be' AS countryBy, '' AS ... | 55.435484 | 191 | 0.62991 | 505 | 3,437 | 4.156436 | 0.136634 | 0.091472 | 0.062887 | 0.074321 | 0.822773 | 0.795617 | 0.795617 | 0.795617 | 0.788947 | 0.765603 | 0 | 0.010169 | 0.227524 | 3,437 | 61 | 192 | 56.344262 | 0.780414 | 0 | 0 | 0.415094 | 0 | 0.207547 | 0.90224 | 0.091068 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018868 | false | 0 | 0.018868 | 0 | 0.037736 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
02a227a93664ab7f697f5a2f5ecfafed636e0114 | 7,767 | py | Python | test/rxd/ecs/test_ecs_pure_diffusion.py | shhong/nrn | 0d64e94330c6072529e31033d579b270f742454e | [
"BSD-3-Clause"
] | null | null | null | test/rxd/ecs/test_ecs_pure_diffusion.py | shhong/nrn | 0d64e94330c6072529e31033d579b270f742454e | [
"BSD-3-Clause"
] | null | null | null | test/rxd/ecs/test_ecs_pure_diffusion.py | shhong/nrn | 0d64e94330c6072529e31033d579b270f742454e | [
"BSD-3-Clause"
] | null | null | null | import pytest
from testutils import compare_data, tol
@pytest.fixture
def ecs_diffusion(neuron_instance):
h, rxd, data, save_path = neuron_instance
def make_model(nx, ny, nz, alpha, lambd, d=1.0):
dx = 10
# the extracellular space
ecs = rxd.Extracellular(
-dx*nx/2.0, -dx*ny... | 31.962963 | 101 | 0.657268 | 1,272 | 7,767 | 3.783019 | 0.059748 | 0.15212 | 0.079801 | 0.113466 | 0.931837 | 0.927473 | 0.927473 | 0.921239 | 0.918329 | 0.918329 | 0 | 0.067734 | 0.228273 | 7,767 | 242 | 102 | 32.095041 | 0.735068 | 0.003605 | 0 | 0.812207 | 0 | 0 | 0.000129 | 0 | 0 | 0 | 0 | 0 | 0.093897 | 1 | 0.103286 | false | 0 | 0.00939 | 0 | 0.117371 | 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 |
02c849915ca04e778f12d893a672cf59d1a4fbda | 10,206 | py | Python | torch_geometric/laf/layer.py | giannipele/pytorch_geometric | 187d49dcce53a630e36c85c53138345f5bfdc876 | [
"MIT"
] | null | null | null | torch_geometric/laf/layer.py | giannipele/pytorch_geometric | 187d49dcce53a630e36c85c53138345f5bfdc876 | [
"MIT"
] | null | null | null | torch_geometric/laf/layer.py | giannipele/pytorch_geometric | 187d49dcce53a630e36c85c53138345f5bfdc876 | [
"MIT"
] | null | null | null | import torch
from torch.nn import Parameter, Module, Sigmoid, Linear, ReLU
_GRAD = True
class LAFLayer(Module):
def __init__(self, **kwargs):
super(LAFLayer, self).__init__()
if 'parameters' in kwargs.keys():
self.weights = Parameter(kwargs['parameters'], requires_grad=_GRAD)
... | 36.978261 | 123 | 0.594748 | 1,536 | 10,206 | 3.758464 | 0.067057 | 0.13338 | 0.062359 | 0.051966 | 0.803222 | 0.783302 | 0.754027 | 0.731855 | 0.718344 | 0.708817 | 0 | 0.051917 | 0.256418 | 10,206 | 275 | 124 | 37.112727 | 0.708789 | 0.041054 | 0 | 0.753769 | 0 | 0 | 0.015448 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060302 | false | 0 | 0.01005 | 0.005025 | 0.130653 | 0.020101 | 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 |
b270c99bc072455a33c1dedb1def5021dc0d7300 | 1,706 | py | Python | tests/wasp1/AllAnswerSets/grounding_ordering_10.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 19 | 2015-12-03T08:53:45.000Z | 2022-03-31T02:09:43.000Z | tests/wasp1/AllAnswerSets/grounding_ordering_10.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 80 | 2017-11-25T07:57:32.000Z | 2018-06-10T19:03:30.000Z | tests/wasp1/AllAnswerSets/grounding_ordering_10.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 6 | 2015-01-15T07:51:48.000Z | 2020-06-18T14:47:48.000Z | input = """
#maxint=100.
g(1,X):- #int(X).
s(1).
f(X) :- s(Y), g(Y,X), T=1+2.
"""
output = """
{f(0), f(1), f(10), f(100), f(11), f(12), f(13), f(14), f(15), f(16), f(17), f(18), f(19), f(2), f(20), f(21), f(22), f(23), f(24), f(25), f(26), f(27), f(28), f(29), f(3), f(30), f(31), f(32), f(33), f(34), f(35), f(36), f... | 155.090909 | 1,604 | 0.427902 | 528 | 1,706 | 1.382576 | 0.210227 | 0.279452 | 0.013699 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333558 | 0.130129 | 1,706 | 10 | 1,605 | 170.6 | 0.158356 | 0 | 0 | 0.222222 | 0 | 0.222222 | 0.981243 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b2777274cb6f342e180339399a9baf8624ceb2de | 18,459 | py | Python | tests/test_statuswriter.py | pji/statuswriter | 6fa491016c42cb624539a753a4af4c6c3d98602c | [
"MIT"
] | null | null | null | tests/test_statuswriter.py | pji/statuswriter | 6fa491016c42cb624539a753a4af4c6c3d98602c | [
"MIT"
] | null | null | null | tests/test_statuswriter.py | pji/statuswriter | 6fa491016c42cb624539a753a4af4c6c3d98602c | [
"MIT"
] | null | null | null | """
test_statuswriter
~~~~~~~~~~~~~~~~~
Unit tests for the statuswriter.statuswriter module.
"""
from collections import deque
from queue import Queue
import unittest as ut
from unittest.mock import call, patch
from statuswriter import statuswriter as sw
# Test classes.
class MakeProgressFrameTestCase(ut.TestCase):... | 30.260656 | 76 | 0.559727 | 2,145 | 18,459 | 4.685315 | 0.101166 | 0.029453 | 0.066368 | 0.027164 | 0.832637 | 0.79791 | 0.782687 | 0.77393 | 0.74597 | 0.719801 | 0 | 0.029161 | 0.327483 | 18,459 | 609 | 77 | 30.310345 | 0.776543 | 0.236037 | 0 | 0.72191 | 0 | 0 | 0.121699 | 0.059111 | 0 | 0 | 0 | 0 | 0.08427 | 1 | 0.058989 | false | 0 | 0.014045 | 0 | 0.089888 | 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 |
b28454147334740da95f9c5ab2c9ff32444ef686 | 61,545 | py | Python | AminoCrashBo.py | EternalYatagarasu/AminoCrashBo | 48c8fa0757df339c52b61efcce22cef62f654fc5 | [
"MIT"
] | 2 | 2021-10-05T19:09:00.000Z | 2022-01-16T07:53:54.000Z | AminoCrashBo.py | 0dayofficial/AminoCrashBo | 48c8fa0757df339c52b61efcce22cef62f654fc5 | [
"MIT"
] | null | null | null | AminoCrashBo.py | 0dayofficial/AminoCrashBo | 48c8fa0757df339c52b61efcce22cef62f654fc5 | [
"MIT"
] | null | null | null | # -*- coding: utf8 -*-
from colorama import init, Fore, Back, Style
init()
print(Back.BLACK)
print(Fore.WHITE)
print("Script by Zevi/Скрипт сделан Zevi")
print("┌────────────────────────────────────┐")
print("│Author : LilZevi │")
print("│Github : https://github.com/LilZevi │")
print("└─────... | 1,501.097561 | 60,051 | 0.01477 | 222 | 61,545 | 275.31982 | 0.536036 | 0.00054 | 0.000425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000212 | 0.003493 | 61,545 | 41 | 60,052 | 1,501.097561 | 0.014479 | 0.000325 | 0 | 0.052632 | 0 | 0 | 0.986777 | 0.977734 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.078947 | 0.078947 | 0 | 0.078947 | 0.421053 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 8 |
a231011f6c35ec55bd7c12130593ac86ed9ceb67 | 38 | py | Python | SourceCode/Regression/__init__.py | xuanyuansen/PyMachineLearning | c5b88c4d9aa2f5d59160d0824f7cee8377e7e16e | [
"Apache-2.0"
] | 1 | 2017-01-17T06:19:33.000Z | 2017-01-17T06:19:33.000Z | SourceCode/Regression/__init__.py | xuanyuansen/PyMachineLearning | c5b88c4d9aa2f5d59160d0824f7cee8377e7e16e | [
"Apache-2.0"
] | null | null | null | SourceCode/Regression/__init__.py | xuanyuansen/PyMachineLearning | c5b88c4d9aa2f5d59160d0824f7cee8377e7e16e | [
"Apache-2.0"
] | null | null | null | from RegressionClassification import * | 38 | 38 | 0.894737 | 3 | 38 | 11.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
a24f1ad0561e49cb2af5b7d2891731929482301c | 37 | py | Python | pcraster/pcraster-4.2.0/pcraster-4.2.0/source/fern/devbase/source/devbase/json.py | quanpands/wflow | b454a55e4a63556eaac3fbabd97f8a0b80901e5a | [
"MIT"
] | null | null | null | pcraster/pcraster-4.2.0/pcraster-4.2.0/source/fern/devbase/source/devbase/json.py | quanpands/wflow | b454a55e4a63556eaac3fbabd97f8a0b80901e5a | [
"MIT"
] | null | null | null | pcraster/pcraster-4.2.0/pcraster-4.2.0/source/fern/devbase/source/devbase/json.py | quanpands/wflow | b454a55e4a63556eaac3fbabd97f8a0b80901e5a | [
"MIT"
] | null | null | null | from .json_minify import json_minify
| 18.5 | 36 | 0.864865 | 6 | 37 | 5 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
a285d1e4c150d7e3532a433921af810177822cfc | 61 | py | Python | data/__init__.py | SuperBruceJia/EEG-BayesianCNN | fd1945a54156daaf4d7592fbb521fe3ef68ef21f | [
"MIT"
] | 21 | 2020-09-12T04:00:18.000Z | 2022-02-24T01:41:33.000Z | data/__init__.py | KisInfinite/EEG-BayesianCNN | fd1945a54156daaf4d7592fbb521fe3ef68ef21f | [
"MIT"
] | null | null | null | data/__init__.py | KisInfinite/EEG-BayesianCNN | fd1945a54156daaf4d7592fbb521fe3ef68ef21f | [
"MIT"
] | 5 | 2020-09-20T11:56:41.000Z | 2021-09-14T17:36:13.000Z | from .data import getDataset
from .data import getDataloader | 30.5 | 31 | 0.836066 | 8 | 61 | 6.375 | 0.625 | 0.313725 | 0.54902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 61 | 2 | 31 | 30.5 | 0.962264 | 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 |
a2b8942110f2be5c5a2c5e50020e75f8111c5fd6 | 1,857 | py | Python | tests/slice_tests.py | reasoned-ai/norm | 5e45d5917ce8745c9a757a0c6b5e689ea0cac19f | [
"Apache-2.0"
] | 8 | 2019-07-22T08:57:20.000Z | 2021-03-26T13:51:02.000Z | tests/slice_tests.py | xumiao/norm | 5e45d5917ce8745c9a757a0c6b5e689ea0cac19f | [
"Apache-2.0"
] | null | null | null | tests/slice_tests.py | xumiao/norm | 5e45d5917ce8745c9a757a0c6b5e689ea0cac19f | [
"Apache-2.0"
] | 1 | 2019-11-16T13:37:35.000Z | 2019-11-16T13:37:35.000Z | """Unit tests for Slice"""
from tests.utils import NormTestCase
class SliceTestCase(NormTestCase):
def test_slice_single(self):
self.execute("test(a: String, b: Integer);")
self.execute("test := ('test', 1)"
" | ('here', 2)"
" | ('there', 3)"
... | 37.14 | 60 | 0.432418 | 192 | 1,857 | 4.130208 | 0.161458 | 0.180328 | 0.245902 | 0.264817 | 0.799496 | 0.775536 | 0.746532 | 0.746532 | 0.746532 | 0.746532 | 0 | 0.022519 | 0.354335 | 1,857 | 49 | 61 | 37.897959 | 0.638866 | 0.01077 | 0 | 0.682927 | 0 | 0 | 0.252459 | 0 | 0 | 0 | 0 | 0 | 0.243902 | 1 | 0.097561 | false | 0 | 0.02439 | 0 | 0.146341 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0c57528fa2bde3247c76c579abf524d22cb0696e | 2,223 | py | Python | prep/mnist_samples_gen.py | neworldemancer/DSF5 | 6ab71305f12dd9e58cf29cd3d36cef146a5e8b8d | [
"CC0-1.0"
] | 5 | 2020-06-15T09:50:55.000Z | 2021-09-16T16:42:12.000Z | prep/mnist_samples_gen.py | habi/DSF5 | cdea666004af58a36985281405b8c475cfac463f | [
"CC0-1.0"
] | null | null | null | prep/mnist_samples_gen.py | habi/DSF5 | cdea666004af58a36985281405b8c475cfac463f | [
"CC0-1.0"
] | 5 | 2020-09-11T07:09:08.000Z | 2021-01-23T16:55:30.000Z | fashion_mnist = tf.keras.datasets.fashion_mnist
(train_images, train_labels), (test_images, test_labels) = fashion_mnist.load_data()
class_names = ['T-shirt/top', 'Trouser', 'Pullover', 'Dress', 'Coat',
'Sandal', 'Shirt', 'Sneaker', 'Bag', 'Ankle boot']
(train_images, train_labels), (test_images, test_la... | 30.875 | 84 | 0.670715 | 429 | 2,223 | 3.291375 | 0.221445 | 0.077904 | 0.021246 | 0.038952 | 0.90864 | 0.875354 | 0.875354 | 0.875354 | 0.875354 | 0.838527 | 0 | 0.052549 | 0.135403 | 2,223 | 72 | 85 | 30.875 | 0.682102 | 0.001799 | 0 | 0.821429 | 0 | 0 | 0.058611 | 0.020739 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
a74ece34186b688d5279a6518bfdc0223e75b69e | 16,418 | py | Python | QCircuit/QCircuit.py | AlexisStdp/QCSimulationPackage | 83ebbdb8d7d630be37b6fceb9af77c8d8cfb9750 | [
"MIT"
] | null | null | null | QCircuit/QCircuit.py | AlexisStdp/QCSimulationPackage | 83ebbdb8d7d630be37b6fceb9af77c8d8cfb9750 | [
"MIT"
] | null | null | null | QCircuit/QCircuit.py | AlexisStdp/QCSimulationPackage | 83ebbdb8d7d630be37b6fceb9af77c8d8cfb9750 | [
"MIT"
] | null | null | null | ### First draft of a Quantum Circuit object
import numpy as np
def kron(*args):
## multiple kronecker product
qb = np.array([[1.0]])
for q in args:
qb = np.kron(qb, q)
return qb
def n_kron(n, vector):
## n kronecker product with itself
ret = np.array([[1.0]])
for _... | 41.882653 | 121 | 0.503472 | 2,274 | 16,418 | 3.533861 | 0.093228 | 0.029119 | 0.031359 | 0.031857 | 0.801767 | 0.769413 | 0.750124 | 0.73656 | 0.720259 | 0.699602 | 0 | 0.035701 | 0.360214 | 16,418 | 391 | 122 | 41.98977 | 0.729341 | 0.121208 | 0 | 0.713333 | 0 | 0 | 0.042787 | 0 | 0.013333 | 0 | 0 | 0 | 0 | 1 | 0.093333 | false | 0 | 0.006667 | 0 | 0.126667 | 0.053333 | 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 |
a7b40804a6dfaf67e8c8808e4f37f7b5e5b35dba | 24,820 | py | Python | rlkit/torch/vae/conditional_vae_trainer.py | Asap7772/railrl_evalsawyer | baba8ce634d32a48c7dfe4dc03b123e18e96e0a3 | [
"MIT"
] | 1 | 2020-10-23T14:40:09.000Z | 2020-10-23T14:40:09.000Z | rlkit/torch/vae/conditional_vae_trainer.py | Asap7772/railrl_evalsawyer | baba8ce634d32a48c7dfe4dc03b123e18e96e0a3 | [
"MIT"
] | null | null | null | rlkit/torch/vae/conditional_vae_trainer.py | Asap7772/railrl_evalsawyer | baba8ce634d32a48c7dfe4dc03b123e18e96e0a3 | [
"MIT"
] | 1 | 2021-05-27T20:38:45.000Z | 2021-05-27T20:38:45.000Z | from collections import OrderedDict
import os
from os import path as osp
import numpy as np
import torch
from torch import optim
from torch.distributions import Normal
from torch.utils.data import DataLoader
from torch.nn import functional as F
from torchvision.utils import save_image
from rlkit.data_management.images ... | 37.89313 | 143 | 0.570306 | 2,961 | 24,820 | 4.567038 | 0.075988 | 0.04289 | 0.041263 | 0.04289 | 0.853509 | 0.843156 | 0.835096 | 0.828736 | 0.824521 | 0.798048 | 0 | 0.015465 | 0.312208 | 24,820 | 654 | 144 | 37.95107 | 0.776697 | 0.003868 | 0 | 0.821429 | 0 | 0 | 0.033856 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035714 | false | 0 | 0.035714 | 0 | 0.091837 | 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 |
a7d0ecbb7f8754223c6bcb9a25b36e68dbff7550 | 816,424 | py | Python | boto3_type_annotations_with_docs/boto3_type_annotations/apigateway/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 119 | 2018-12-01T18:20:57.000Z | 2022-02-02T10:31:29.000Z | boto3_type_annotations_with_docs/boto3_type_annotations/apigateway/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 15 | 2018-11-16T00:16:44.000Z | 2021-11-13T03:44:18.000Z | boto3_type_annotations_with_docs/boto3_type_annotations/apigateway/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 11 | 2019-05-06T05:26:51.000Z | 2021-09-28T15:27:59.000Z | from typing import Optional
from botocore.client import BaseClient
from typing import Dict
from botocore.paginate import Paginator
from typing import IO
from botocore.waiter import Waiter
from typing import Union
from typing import List
class Client(BaseClient):
def can_paginate(self, operation_name: str = None):... | 84.419812 | 11,986 | 0.620519 | 90,888 | 816,424 | 5.537398 | 0.016746 | 0.00754 | 0.01123 | 0.014688 | 0.956388 | 0.943598 | 0.931635 | 0.920977 | 0.914388 | 0.908165 | 0 | 0.015392 | 0.267415 | 816,424 | 9,670 | 11,987 | 84.428542 | 0.826078 | 0.915993 | 0 | 0.48249 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.48249 | false | 0.486381 | 0.042802 | 0 | 0.529183 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 11 |
ac00e58e3172e323855f0d3aeff80cb0ad3b21e0 | 132,925 | py | Python | sdk/python/pulumi_rke/cluster.py | pulumi/pulumi-rke | 192a8eb9cde0b58332aa59e8d8362061a2927efb | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2021-08-31T11:42:08.000Z | 2021-09-13T13:54:00.000Z | sdk/python/pulumi_rke/cluster.py | pulumi/pulumi-rke | 192a8eb9cde0b58332aa59e8d8362061a2927efb | [
"ECL-2.0",
"Apache-2.0"
] | 22 | 2021-05-13T15:02:54.000Z | 2022-03-31T15:45:34.000Z | sdk/python/pulumi_rke/cluster.py | pulumi/pulumi-rke | 192a8eb9cde0b58332aa59e8d8362061a2927efb | [
"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 ... | 50.909613 | 229 | 0.682076 | 14,586 | 132,925 | 5.967229 | 0.02523 | 0.090868 | 0.096268 | 0.034709 | 0.964441 | 0.949505 | 0.932317 | 0.918013 | 0.90495 | 0.877732 | 0 | 0.002926 | 0.208005 | 132,925 | 2,610 | 230 | 50.929119 | 0.823834 | 0.252706 | 0 | 0.835802 | 1 | 0 | 0.187664 | 0.091755 | 0 | 0 | 0 | 0 | 0 | 1 | 0.164198 | false | 0.000617 | 0.004321 | 0.001852 | 0.269136 | 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 |
ac0414730d58653100226257999c5a623857129c | 258 | py | Python | mlreflect/xrrloader/footprint/__init__.py | schreiber-lab/mlreflect | 88a80ccac48461cc8934a46041726b70e469c6b8 | [
"MIT"
] | null | null | null | mlreflect/xrrloader/footprint/__init__.py | schreiber-lab/mlreflect | 88a80ccac48461cc8934a46041726b70e469c6b8 | [
"MIT"
] | null | null | null | mlreflect/xrrloader/footprint/__init__.py | schreiber-lab/mlreflect | 88a80ccac48461cc8934a46041726b70e469c6b8 | [
"MIT"
] | null | null | null | from .footprint import apply_footprint_correction, remove_footprint_correction
from .normalization import normalize_to_max, normalize_to_first
__all__ = ['apply_footprint_correction', 'remove_footprint_correction', 'normalize_to_first', 'normalize_to_max']
| 51.6 | 113 | 0.864341 | 31 | 258 | 6.548387 | 0.387097 | 0.374384 | 0.236453 | 0.295567 | 0.482759 | 0.482759 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065891 | 258 | 4 | 114 | 64.5 | 0.842324 | 0 | 0 | 0 | 0 | 0 | 0.337209 | 0.205426 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
02592f16d9a610028b338c4cdf33addaca9b17e4 | 7,226 | py | Python | example/test/core/material/pattern/unit.py | dmilos/IceRay | 4e01f141363c0d126d3c700c1f5f892967e3d520 | [
"MIT-0"
] | 2 | 2020-09-04T12:27:15.000Z | 2022-01-17T14:49:40.000Z | example/test/core/material/pattern/unit.py | dmilos/IceRay | 4e01f141363c0d126d3c700c1f5f892967e3d520 | [
"MIT-0"
] | null | null | null | example/test/core/material/pattern/unit.py | dmilos/IceRay | 4e01f141363c0d126d3c700c1f5f892967e3d520 | [
"MIT-0"
] | 1 | 2020-09-04T12:27:52.000Z | 2020-09-04T12:27:52.000Z | import os
import IceRayCpp
def name( ):
return "box"
def hexagon( P_light ):
surface_cargo = {}
surface_cargo['this'] = IceRayCpp.MaterialSurface()
surface_cargo['hexagon']={}
surface_cargo['hexagon']['function'] = IceRayCpp.FunctionSizeHexagon()
surface_cargo['1'] = IceRayC... | 38.641711 | 123 | 0.671326 | 784 | 7,226 | 6.006378 | 0.093112 | 0.328732 | 0.122319 | 0.135485 | 0.832236 | 0.804842 | 0.797622 | 0.722871 | 0.707581 | 0.707581 | 0 | 0.031146 | 0.169112 | 7,226 | 186 | 124 | 38.849462 | 0.753165 | 0.016192 | 0 | 0.639344 | 0 | 0 | 0.080468 | 0.008524 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081967 | false | 0 | 0.016393 | 0.008197 | 0.180328 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5a03121c05c4c9fad7abb74d800085c11bb495bd | 4,645 | py | Python | src/light_profiles.py | Jammy2211/Probabilistic_Programming_CDT | 9d765dbc1aca38b20076a3e650f231f144c937d3 | [
"MIT"
] | null | null | null | src/light_profiles.py | Jammy2211/Probabilistic_Programming_CDT | 9d765dbc1aca38b20076a3e650f231f144c937d3 | [
"MIT"
] | null | null | null | src/light_profiles.py | Jammy2211/Probabilistic_Programming_CDT | 9d765dbc1aca38b20076a3e650f231f144c937d3 | [
"MIT"
] | null | null | null | from src import geometry_profiles as gp
import typing
import numpy as np
class LightProfile(gp.GeometryProfile):
def __init__(
self,
centre: typing.Tuple[float, float] = (0.0, 0.0),
axis_ratio: float = 1.0,
angle: float = 0.0,
normalization: float = 0.1,
... | 33.178571 | 115 | 0.575027 | 526 | 4,645 | 4.95057 | 0.184411 | 0.051843 | 0.034946 | 0.030722 | 0.858679 | 0.848694 | 0.848694 | 0.824885 | 0.824885 | 0.789555 | 0 | 0.022302 | 0.343595 | 4,645 | 139 | 116 | 33.417266 | 0.831748 | 0.398062 | 0 | 0.745763 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.084746 | false | 0 | 0.050847 | 0 | 0.220339 | 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 |
5a0c5d587900855609965165da8dc2f78875a7f8 | 2,443 | py | Python | bento/__config_py.py | EnjoyLifeFund/macHighSierra-py36-pkgs | 5668b5785296b314ea1321057420bcd077dba9ea | [
"BSD-3-Clause",
"BSD-2-Clause",
"MIT"
] | null | null | null | bento/__config_py.py | EnjoyLifeFund/macHighSierra-py36-pkgs | 5668b5785296b314ea1321057420bcd077dba9ea | [
"BSD-3-Clause",
"BSD-2-Clause",
"MIT"
] | null | null | null | bento/__config_py.py | EnjoyLifeFund/macHighSierra-py36-pkgs | 5668b5785296b314ea1321057420bcd077dba9ea | [
"BSD-3-Clause",
"BSD-2-Clause",
"MIT"
] | null | null | null | BINDIR = '/usr/local/Cellar/python3/3.6.2_1/Frameworks/Python.framework/Versions/3.6/bin'
DATADIR = '/usr/local/Cellar/python3/3.6.2_1/Frameworks/Python.framework/Versions/3.6/share'
DATAROOTDIR = '/usr/local/Cellar/python3/3.6.2_1/Frameworks/Python.framework/Versions/3.6/share'
DESTDIR ... | 97.72 | 125 | 0.70569 | 376 | 2,443 | 4.521277 | 0.146277 | 0.052941 | 0.181176 | 0.271765 | 0.835882 | 0.835882 | 0.835882 | 0.835882 | 0.835882 | 0.835882 | 0 | 0.074353 | 0.130168 | 2,443 | 25 | 126 | 97.72 | 0.725647 | 0 | 0 | 0 | 0 | 0.88 | 0.754501 | 0.750818 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
5a2ac4c1ac1dc0cce464968d243e9cdb2b95d076 | 29,172 | py | Python | server/apis/backstage_api.py | mofengboy/Chain-of-all-beings | b7f9750391a702b83728118f5db533ecb4d38bf0 | [
"Apache-2.0"
] | 2 | 2022-03-26T15:20:40.000Z | 2022-03-26T15:24:02.000Z | server/apis/backstage_api.py | mofengboy/Chain-of-all-beings | b7f9750391a702b83728118f5db533ecb4d38bf0 | [
"Apache-2.0"
] | null | null | null | server/apis/backstage_api.py | mofengboy/Chain-of-all-beings | b7f9750391a702b83728118f5db533ecb4d38bf0 | [
"Apache-2.0"
] | 1 | 2022-03-26T15:20:45.000Z | 2022-03-26T15:20:45.000Z | from flask import request, Blueprint
from flask_cors import cross_origin
from server.apis.api_init import auth, backstageInfo, blockOfBeings, blockOfTimes, blockOfGarbage, mainNodeManager, vote
from server.utils.message import HttpMessage
from server.config import Allow_Url_List
backstage = Blueprint('backstage', __na... | 30.198758 | 120 | 0.605375 | 3,071 | 29,172 | 5.557148 | 0.069684 | 0.114731 | 0.114731 | 0.125161 | 0.825442 | 0.81636 | 0.812668 | 0.799074 | 0.786652 | 0.76585 | 0 | 0.010269 | 0.268922 | 29,172 | 965 | 121 | 30.230052 | 0.789938 | 0.162999 | 0 | 0.762452 | 0 | 0 | 0.085028 | 0.042403 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0.003831 | 0.009579 | 0 | 0.235632 | 0.057471 | 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 |
5a81dddb5ecc72cf747de86e7595002cff41844f | 333 | py | Python | zeromcmp.py | zhouyuanzhen/ZeroMCMP | d28b5e1b7204f70243df72e1c49b85682b83b65a | [
"Apache-2.0"
] | 1 | 2021-06-01T10:55:27.000Z | 2021-06-01T10:55:27.000Z | zeromcmp.py | zhouyuanzhen/ZeroMCMP | d28b5e1b7204f70243df72e1c49b85682b83b65a | [
"Apache-2.0"
] | null | null | null | zeromcmp.py | zhouyuanzhen/ZeroMCMP | d28b5e1b7204f70243df72e1c49b85682b83b65a | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
if __name__ == '__main__':
print("************************************************************************")
print("* WELCOME TO ZEROMCMP (OpenSource MultiCloud Management Platform) *")
print("**************************************************************... | 37 | 85 | 0.339339 | 20 | 333 | 5.25 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003425 | 0.123123 | 333 | 8 | 86 | 41.625 | 0.356164 | 0.126126 | 0 | 0.5 | 0 | 0 | 0.775087 | 0.49827 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.75 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
ce5f9d70ef755dcd5d117cfb5ff1f7d37430a75d | 50 | py | Python | hitch/mockcode/mockemailchecker.py | hitchtest/hitchstory | 9cd44ec1078c4e6b7fd8ca0a237159ef6257d302 | [
"MIT"
] | 24 | 2018-02-24T23:09:00.000Z | 2021-11-25T17:22:47.000Z | hitch/mockcode/mockemailchecker.py | hitchtest/hitchstory | 9cd44ec1078c4e6b7fd8ca0a237159ef6257d302 | [
"MIT"
] | 3 | 2021-08-14T11:00:55.000Z | 2022-03-04T15:27:52.000Z | hitch/mockcode/mockemailchecker.py | hitchtest/hitchstory | 9cd44ec1078c4e6b7fd8ca0a237159ef6257d302 | [
"MIT"
] | 2 | 2019-05-01T17:05:41.000Z | 2022-01-13T12:17:06.000Z | def email_was_sent():
print("Email was sent")
| 16.666667 | 27 | 0.68 | 8 | 50 | 4 | 0.625 | 0.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18 | 50 | 2 | 28 | 25 | 0.780488 | 0 | 0 | 0 | 0 | 0 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
ceb5885645f8a04287233e77b4d90acf40e96ce0 | 22,634 | py | Python | legoirblaster/tests/test_core.py | kristofvbk/legotraincontroller | 08afb1287f8b90354d2919b3517a9cdc60e8991c | [
"MIT"
] | 6 | 2018-01-14T15:10:02.000Z | 2020-11-15T22:12:31.000Z | legoirblaster/tests/test_core.py | kristofvbk/legotraincontroller | 08afb1287f8b90354d2919b3517a9cdc60e8991c | [
"MIT"
] | null | null | null | legoirblaster/tests/test_core.py | kristofvbk/legotraincontroller | 08afb1287f8b90354d2919b3517a9cdc60e8991c | [
"MIT"
] | null | null | null | from unittest import TestCase
from unittest.mock import MagicMock
import subprocess
from .. import core, exceptions
class CoreTestCase(TestCase):
"""
Unit tests for the core of the Lego IR Blaster
"""
def setUp(self):
CoreTestCase.call_method_backup = subprocess.call
def tearDown(self):
... | 41.760148 | 113 | 0.686092 | 3,218 | 22,634 | 4.572094 | 0.025792 | 0.229729 | 0.114864 | 0.176714 | 0.970094 | 0.762931 | 0.759464 | 0.74859 | 0.74859 | 0.695168 | 0 | 0.040883 | 0.182999 | 22,634 | 541 | 114 | 41.837338 | 0.754759 | 0.002032 | 0 | 0 | 0 | 0 | 0.033581 | 0 | 0 | 0 | 0 | 0 | 0.327543 | 1 | 0.332506 | false | 0 | 0.009926 | 0 | 0.344913 | 0 | 0 | 0 | 0 | null | 1 | 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 | 9 |
cecdee4c4f142d8ffd68c2c50e59d42d5dd69130 | 13,313 | py | Python | platform/layuiAdmin/mock.py | Strugglingrookie/oldboy2 | 8ed6723cab1f54f2ff8ea0947c6f982aef7e1b47 | [
"Apache-2.0"
] | 1 | 2021-06-15T07:01:23.000Z | 2021-06-15T07:01:23.000Z | platform/layuiAdmin/mock.py | Strugglingrookie/oldboy2 | 8ed6723cab1f54f2ff8ea0947c6f982aef7e1b47 | [
"Apache-2.0"
] | 3 | 2020-02-13T14:35:36.000Z | 2021-06-10T21:27:14.000Z | platform/layuiAdmin/mock.py | Strugglingrookie/oldboy2 | 8ed6723cab1f54f2ff8ea0947c6f982aef7e1b47 | [
"Apache-2.0"
] | 1 | 2020-04-09T02:13:12.000Z | 2020-04-09T02:13:12.000Z | import flask
from flask_cors import CORS
server = flask.Flask(__name__)
CORS(server, supports_credentials=True)
@server.route("/api/project", methods=["get", "put", "post", "delete"])
def project():
print(flask.request.args)
if flask.request.method == "GET":
data = {"code": 0,
"count"... | 40.588415 | 108 | 0.348006 | 1,140 | 13,313 | 3.947368 | 0.121053 | 0.058667 | 0.073333 | 0.08 | 0.832 | 0.815111 | 0.774222 | 0.761778 | 0.749333 | 0.749333 | 0 | 0.108191 | 0.48832 | 13,313 | 327 | 109 | 40.712538 | 0.552408 | 0 | 0 | 0.75 | 0 | 0 | 0.296928 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026316 | false | 0.019737 | 0.006579 | 0 | 0.059211 | 0.029605 | 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 |
ced8387b48f748a13ec4dd7709efb439491dddda | 545 | py | Python | shepherd/sheep/welcome.py | iterait/shepherd | 0847c9885584378dd68a48c40d03f9bb02b2b57c | [
"MIT"
] | 5 | 2018-10-13T19:03:07.000Z | 2019-02-25T06:44:27.000Z | shepherd/sheep/welcome.py | iterait/shepherd | 0847c9885584378dd68a48c40d03f9bb02b2b57c | [
"MIT"
] | 62 | 2018-09-13T08:03:39.000Z | 2022-01-03T09:05:54.000Z | shepherd/sheep/welcome.py | iterait/shepherd | 0847c9885584378dd68a48c40d03f9bb02b2b57c | [
"MIT"
] | null | null | null | import logging
def welcome():
logging.info('')
logging.info(' ,@;@,')
logging.info(' ,@;@;@;@;@;@/ )@;@;')
logging.info(' ,;@;@;@;@;@;@|_/@\' e\\')
logging.info(' (|@;@:@\\@;@;@;@:@( \\ ')
logging.info(' \'@;@;@|@;@;@;@;\'`"--\' ')
logging.info(... | 32.058824 | 52 | 0.288073 | 29 | 545 | 5.37931 | 0.206897 | 0.846154 | 1.153846 | 1.410256 | 0.846154 | 0.846154 | 0.846154 | 0.846154 | 0.564103 | 0.564103 | 0 | 0 | 0.33945 | 545 | 16 | 53 | 34.0625 | 0.433333 | 0 | 0 | 0.142857 | 0 | 0 | 0.40367 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | true | 0 | 0.071429 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
0c94a9694bf373bded3d97c4d5d416fdcde11050 | 36,095 | py | Python | sdk/python/pulumi_oci/mysql/mysql_backup.py | EladGabay/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2021-08-17T11:14:46.000Z | 2021-12-31T02:07:03.000Z | sdk/python/pulumi_oci/mysql/mysql_backup.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-09-06T11:21:29.000Z | 2021-09-06T11:21:29.000Z | sdk/python/pulumi_oci/mysql/mysql_backup.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2021-08-24T23:31:30.000Z | 2022-01-02T19:26:54.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... | 44.018293 | 224 | 0.650173 | 4,371 | 36,095 | 5.109128 | 0.05445 | 0.082751 | 0.068332 | 0.068959 | 0.888546 | 0.855678 | 0.838438 | 0.819944 | 0.810989 | 0.759672 | 0 | 0.000182 | 0.240837 | 36,095 | 819 | 225 | 44.072039 | 0.814795 | 0.307827 | 0 | 0.670996 | 1 | 0 | 0.11645 | 0.01435 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.002165 | 0.015152 | 0 | 0.285714 | 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 |
0cdda9f61e4e45373e79907b12d9148c302b2559 | 76 | py | Python | FastAutoAugment/pointaug/__init__.py | ironluffy/fast-autoaugment | eaae5a6172afe28ba3053021c97e2cb09d170969 | [
"MIT"
] | null | null | null | FastAutoAugment/pointaug/__init__.py | ironluffy/fast-autoaugment | eaae5a6172afe28ba3053021c97e2cb09d170969 | [
"MIT"
] | 12 | 2020-11-08T16:51:28.000Z | 2020-11-15T16:31:57.000Z | FastAutoAugment/pointaug/__init__.py | ironluffy/fast-autoaugment | eaae5a6172afe28ba3053021c97e2cb09d170969 | [
"MIT"
] | null | null | null | from .train import train
from .test import test
from .test import test_model | 25.333333 | 28 | 0.815789 | 13 | 76 | 4.692308 | 0.384615 | 0.262295 | 0.459016 | 0.590164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144737 | 76 | 3 | 28 | 25.333333 | 0.938462 | 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 | 1 | 0 | 0 | 8 |
0ce22a9534818e4f7c3e25c12f05d6e390fedb95 | 15,843 | py | Python | src/generator/AutoRest.Python.Tests/Expected/AcceptanceTests/BodyDateTimeRfc1123/autorestrfc1123datetimetestservice/operations/datetimerfc1123_operations.py | fhoering/autorest | b36c77ebb6a5c92aca72eea0894a683506af5817 | [
"MIT"
] | null | null | null | src/generator/AutoRest.Python.Tests/Expected/AcceptanceTests/BodyDateTimeRfc1123/autorestrfc1123datetimetestservice/operations/datetimerfc1123_operations.py | fhoering/autorest | b36c77ebb6a5c92aca72eea0894a683506af5817 | [
"MIT"
] | null | null | null | src/generator/AutoRest.Python.Tests/Expected/AcceptanceTests/BodyDateTimeRfc1123/autorestrfc1123datetimetestservice/operations/datetimerfc1123_operations.py | fhoering/autorest | b36c77ebb6a5c92aca72eea0894a683506af5817 | [
"MIT"
] | null | null | null | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes ... | 36.337156 | 99 | 0.655179 | 1,571 | 15,843 | 6.448122 | 0.089115 | 0.046199 | 0.040869 | 0.031589 | 0.92231 | 0.921718 | 0.921718 | 0.921718 | 0.921718 | 0.903159 | 0 | 0.019718 | 0.257338 | 15,843 | 435 | 100 | 36.42069 | 0.841237 | 0.376633 | 0 | 0.862857 | 0 | 0 | 0.075639 | 0.017481 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057143 | false | 0 | 0.011429 | 0 | 0.165714 | 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 |
0cede0d0e1e912dbc9a0a13da210ebd32e1e6195 | 1,361 | py | Python | services/tests/test_admin.py | City-of-Helsinki/atv | dca73dab09ab0f3a051a9f691aec5674c6369bde | [
"MIT"
] | null | null | null | services/tests/test_admin.py | City-of-Helsinki/atv | dca73dab09ab0f3a051a9f691aec5674c6369bde | [
"MIT"
] | 34 | 2021-05-28T06:23:38.000Z | 2022-03-08T12:42:01.000Z | services/tests/test_admin.py | City-of-Helsinki/atv | dca73dab09ab0f3a051a9f691aec5674c6369bde | [
"MIT"
] | 1 | 2021-05-27T10:37:42.000Z | 2021-05-27T10:37:42.000Z | from django.urls import reverse
def test_admin_service_list_view_query_count_not_too_big(
admin_client, django_assert_max_num_queries, service_api_key_factory
):
admin_view_url = reverse("admin:services_service_changelist")
with django_assert_max_num_queries(10):
admin_client.get(admin_view_url)
... | 29.586957 | 81 | 0.796473 | 202 | 1,361 | 4.767327 | 0.183168 | 0.102804 | 0.140187 | 0.168224 | 0.905504 | 0.905504 | 0.905504 | 0.905504 | 0.838006 | 0.838006 | 0 | 0.015385 | 0.140338 | 1,361 | 45 | 82 | 30.244444 | 0.807692 | 0 | 0 | 0.633333 | 0 | 0 | 0.078619 | 0.078619 | 0 | 0 | 0 | 0 | 0.3 | 1 | 0.1 | false | 0 | 0.033333 | 0 | 0.133333 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.