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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6a24acdff36405cdc0967a1a91d28743150747f5 | 17,149 | py | Python | vip_hci/exlib/iuwt.py | ChrisDelaX/VIP | 7b728bdc78fdeb693e19de269ddfffba15064fb4 | [
"MIT"
] | 2 | 2017-02-10T02:02:17.000Z | 2018-02-16T16:07:24.000Z | vip_hci/exlib/iuwt.py | ChrisDelaX/VIP | 7b728bdc78fdeb693e19de269ddfffba15064fb4 | [
"MIT"
] | null | null | null | vip_hci/exlib/iuwt.py | ChrisDelaX/VIP | 7b728bdc78fdeb693e19de269ddfffba15064fb4 | [
"MIT"
] | 2 | 2020-07-18T19:31:03.000Z | 2022-01-24T21:11:20.000Z | """
Code with the Isotropic Undecimated Wavelet Transform, taken (Aug 24, 2015) from
https://github.com/ratt-ru/PyMORESANE/
Credits to J. S. Kenyon
"""
import numpy as np
import multiprocessing as mp
import ctypes
def iuwt_decomposition(in1, scale_count, scale_adjust=0, mode='ser', core_count=2, store_smoothed=Fal... | 45.609043 | 120 | 0.651408 | 2,412 | 17,149 | 4.508292 | 0.112769 | 0.035314 | 0.025749 | 0.036785 | 0.833824 | 0.807247 | 0.791337 | 0.765312 | 0.739286 | 0.727699 | 0 | 0.026787 | 0.23809 | 17,149 | 375 | 121 | 45.730667 | 0.805449 | 0.509534 | 0 | 0.449275 | 0 | 0 | 0.003915 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065217 | false | 0 | 0.021739 | 0 | 0.173913 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6a2d8de0d9cf0449104de12969acc71501ef6530 | 166 | py | Python | quetz/tasks/assertions.py | davidbrochart/quetz | fd9b95add5b8f7a1c0863e7e08bf5a6ab5b84984 | [
"BSD-3-Clause"
] | null | null | null | quetz/tasks/assertions.py | davidbrochart/quetz | fd9b95add5b8f7a1c0863e7e08bf5a6ab5b84984 | [
"BSD-3-Clause"
] | null | null | null | quetz/tasks/assertions.py | davidbrochart/quetz | fd9b95add5b8f7a1c0863e7e08bf5a6ab5b84984 | [
"BSD-3-Clause"
] | null | null | null | def can_channel_synchronize(channel):
return channel.mirror_channel_url and (channel.mirror_mode == "mirror")
def can_channel_reindex(channel):
return True
| 23.714286 | 75 | 0.783133 | 22 | 166 | 5.590909 | 0.5 | 0.097561 | 0.211382 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13253 | 166 | 6 | 76 | 27.666667 | 0.854167 | 0 | 0 | 0 | 0 | 0 | 0.036145 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6a4188f15a851af7b5ab597ce37a03d010067358 | 3,831 | py | Python | scripts/aggregating_profile.py | chaconnewu/repohunter | f83a7e4cad945071c80853696d82a8762bc8ae44 | [
"Apache-2.0"
] | null | null | null | scripts/aggregating_profile.py | chaconnewu/repohunter | f83a7e4cad945071c80853696d82a8762bc8ae44 | [
"Apache-2.0"
] | null | null | null | scripts/aggregating_profile.py | chaconnewu/repohunter | f83a7e4cad945071c80853696d82a8762bc8ae44 | [
"Apache-2.0"
] | null | null | null | import MySQLdb
from collections import defaultdict
from datetime import date, timedelta
from pymongo import MongoClient, Connection
con = MySQLdb.connect('localhost', '', '', '')
cur = con.cursor()
yesterday = date.today() - timedelta(1)
repo_dict = defaultdict(dict)
# # past month
past_month = date.today() - timed... | 37.194175 | 168 | 0.68024 | 514 | 3,831 | 4.797665 | 0.161479 | 0.05515 | 0.053528 | 0.071371 | 0.803325 | 0.799676 | 0.785888 | 0.785888 | 0.785888 | 0.785888 | 0 | 0.020126 | 0.16993 | 3,831 | 102 | 169 | 37.558824 | 0.755346 | 0.118768 | 0 | 0.580645 | 0 | 0.032258 | 0.330952 | 0.025893 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.064516 | 0 | 0.064516 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
167f71919a181e6dc75cf233f056f8ed1d163c21 | 75,150 | py | Python | corehq/apps/user_importer/tests/test_importer.py | akashkj/commcare-hq | b00a62336ec26cea1477dfb8c048c548cc462831 | [
"BSD-3-Clause"
] | null | null | null | corehq/apps/user_importer/tests/test_importer.py | akashkj/commcare-hq | b00a62336ec26cea1477dfb8c048c548cc462831 | [
"BSD-3-Clause"
] | null | null | null | corehq/apps/user_importer/tests/test_importer.py | akashkj/commcare-hq | b00a62336ec26cea1477dfb8c048c548cc462831 | [
"BSD-3-Clause"
] | null | null | null | from copy import deepcopy
from django.contrib.admin.models import LogEntry
from django.test import SimpleTestCase, TestCase
from unittest.mock import patch
from corehq.apps.accounting.tests.utils import DomainSubscriptionMixin
from corehq.apps.commtrack.tests.util import make_loc
from corehq.apps.enterprise.tests.ut... | 39.909719 | 115 | 0.617099 | 8,258 | 75,150 | 5.323565 | 0.049891 | 0.041399 | 0.047132 | 0.033165 | 0.847823 | 0.818639 | 0.797621 | 0.774578 | 0.755721 | 0.730813 | 0 | 0.008427 | 0.278377 | 75,150 | 1,882 | 116 | 39.930925 | 0.802231 | 0.022236 | 0 | 0.683855 | 0 | 0 | 0.077949 | 0.023993 | 0 | 0 | 0 | 0 | 0.126458 | 1 | 0.052179 | false | 0.023941 | 0.082259 | 0.001842 | 0.141191 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
168e35c199631755e815ac3f1156afed8bd3022d | 32 | py | Python | glearn/envs/ant/__init__.py | glennpow/glearn | e50046cb76173668fec12c20b446be7457482528 | [
"MIT"
] | null | null | null | glearn/envs/ant/__init__.py | glennpow/glearn | e50046cb76173668fec12c20b446be7457482528 | [
"MIT"
] | null | null | null | glearn/envs/ant/__init__.py | glennpow/glearn | e50046cb76173668fec12c20b446be7457482528 | [
"MIT"
] | null | null | null | from .ant import AntEnv # noqa
| 16 | 31 | 0.71875 | 5 | 32 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 32 | 1 | 32 | 32 | 0.92 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 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 | 0 | 0 | 6 |
16c36a1523dd08b0920612d6cc929e18f90de26a | 222 | py | Python | yyutil/key.py | moonfruit/yysite | 92196d76edb8a30afbb7c7a59cb95a1b909fa22a | [
"MIT"
] | null | null | null | yyutil/key.py | moonfruit/yysite | 92196d76edb8a30afbb7c7a59cb95a1b909fa22a | [
"MIT"
] | null | null | null | yyutil/key.py | moonfruit/yysite | 92196d76edb8a30afbb7c7a59cb95a1b909fa22a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import random
import string
def generate(length=50):
return ''.join([random.SystemRandom().choice(
string.ascii_letters + string.digits + string.punctuation) for i in range(length)])
| 22.2 | 91 | 0.684685 | 28 | 222 | 5.392857 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016216 | 0.166667 | 222 | 9 | 92 | 24.666667 | 0.8 | 0.094595 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
bc58cd2637bccf9e285c0dd68c8bda49f2435e45 | 23 | py | Python | lib/nms/tmp.py | sumaliqinghua/DSPNet | e82cc1938af65234471b6a139a8ac51f22de32a6 | [
"MIT"
] | 5 | 2020-12-04T05:50:09.000Z | 2022-01-14T12:37:44.000Z | lib/nms/tmp.py | sumaliqinghua/DSPNet | e82cc1938af65234471b6a139a8ac51f22de32a6 | [
"MIT"
] | 1 | 2021-01-28T03:20:00.000Z | 2021-01-28T03:20:00.000Z | lib/nms/tmp.py | sumaliqinghua/DSPNet | e82cc1938af65234471b6a139a8ac51f22de32a6 | [
"MIT"
] | 3 | 2020-12-02T03:18:59.000Z | 2021-09-12T11:29:19.000Z | import torch
print(3+2) | 11.5 | 12 | 0.782609 | 5 | 23 | 3.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0.086957 | 23 | 2 | 13 | 11.5 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 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 | 0 | 1 | 0 | 6 |
bc63fab703c70868f45c49c104eb1cbc9a8ec4a6 | 30 | py | Python | sgactions/browsers/__init__.py | VFXetc/sgactions | e2c6ee14a1f8092e97f57a501650581428a6ac6e | [
"BSD-3-Clause"
] | 9 | 2017-09-27T00:09:49.000Z | 2021-08-18T03:22:33.000Z | sgactions/browsers/__init__.py | vfxetc/sgactions | e2c6ee14a1f8092e97f57a501650581428a6ac6e | [
"BSD-3-Clause"
] | null | null | null | sgactions/browsers/__init__.py | vfxetc/sgactions | e2c6ee14a1f8092e97f57a501650581428a6ac6e | [
"BSD-3-Clause"
] | 2 | 2019-07-19T01:21:07.000Z | 2021-04-26T17:31:09.000Z | from .native.runtime import *
| 15 | 29 | 0.766667 | 4 | 30 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 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 | 0 | 0 | 6 |
bcb2a9b69fa994d9722c109fd86140ab89055d4a | 82 | py | Python | test/Ad1/__init__.py | profwellington/fundamentos_de_programacao | 7572e3a81429136e5596fc762ae77628528c186b | [
"MIT"
] | null | null | null | test/Ad1/__init__.py | profwellington/fundamentos_de_programacao | 7572e3a81429136e5596fc762ae77628528c186b | [
"MIT"
] | null | null | null | test/Ad1/__init__.py | profwellington/fundamentos_de_programacao | 7572e3a81429136e5596fc762ae77628528c186b | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from .test_q1 import Test_q1
from .test_q2 import Test_q2
| 13.666667 | 28 | 0.768293 | 16 | 82 | 3.6875 | 0.5625 | 0.271186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0.146341 | 82 | 5 | 29 | 16.4 | 0.785714 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d5eef3e15a004485257654ca69fe82aed00ff29d | 261 | py | Python | src/waldur_mastermind/support/utils.py | geant-multicloud/MCMS-mastermind | 81333180f5e56a0bc88d7dad448505448e01f24e | [
"MIT"
] | 26 | 2017-10-18T13:49:58.000Z | 2021-09-19T04:44:09.000Z | src/waldur_mastermind/support/utils.py | geant-multicloud/MCMS-mastermind | 81333180f5e56a0bc88d7dad448505448e01f24e | [
"MIT"
] | 14 | 2018-12-10T14:14:51.000Z | 2021-06-07T10:33:39.000Z | src/waldur_mastermind/support/utils.py | geant-multicloud/MCMS-mastermind | 81333180f5e56a0bc88d7dad448505448e01f24e | [
"MIT"
] | 32 | 2017-09-24T03:10:45.000Z | 2021-10-16T16:41:09.000Z | from waldur_core.core.utils import format_homeport_link
def get_feedback_link(token, evaluation=''):
return format_homeport_link(
'support/feedback/?token={token}&evaluation={evaluation}',
token=token,
evaluation=evaluation,
)
| 26.1 | 66 | 0.712644 | 29 | 261 | 6.172414 | 0.517241 | 0.251397 | 0.201117 | 0.335196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180077 | 261 | 9 | 67 | 29 | 0.836449 | 0 | 0 | 0 | 0 | 0 | 0.210728 | 0.210728 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0.142857 | 0.428571 | 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 | 0 | 1 | 0 | 0 | 0 | 6 |
d5f2f544466a675a14b885d6dc587fbf2f25bf67 | 68 | py | Python | 01-PythonAlgorithms/random/zeros_matrix.py | spendyala/deeplearning-docker | 1dcd03e2e65cb1897daf9dfffeab018f97fc0780 | [
"MIT"
] | null | null | null | 01-PythonAlgorithms/random/zeros_matrix.py | spendyala/deeplearning-docker | 1dcd03e2e65cb1897daf9dfffeab018f97fc0780 | [
"MIT"
] | 1 | 2021-02-02T22:47:32.000Z | 2021-02-02T22:47:32.000Z | 01-PythonAlgorithms/random/zeros_matrix.py | spendyala/deeplearning-docker | 1dcd03e2e65cb1897daf9dfffeab018f97fc0780 | [
"MIT"
] | null | null | null | matrix = [
[1, 2, 3, 4],
[5, 6, 0, 8],
[9, 0, 2, 4],
[4, 5, 6, 7]
]
| 9.714286 | 13 | 0.323529 | 17 | 68 | 1.294118 | 0.647059 | 0.181818 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.294118 | 68 | 6 | 14 | 11.333333 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 1 | 0 | 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 | 6 |
9143f9341992c1c932798f856981f720bf99b4d2 | 15,293 | py | Python | idaes/models_extra/column_models/tests/test_solvent_column.py | aladshaw3/idaes-pse | 23d627958cfd934e91fc6cfc2c82661c67237bb5 | [
"RSA-MD"
] | null | null | null | idaes/models_extra/column_models/tests/test_solvent_column.py | aladshaw3/idaes-pse | 23d627958cfd934e91fc6cfc2c82661c67237bb5 | [
"RSA-MD"
] | null | null | null | idaes/models_extra/column_models/tests/test_solvent_column.py | aladshaw3/idaes-pse | 23d627958cfd934e91fc6cfc2c82661c67237bb5 | [
"RSA-MD"
] | null | null | null | #################################################################################
# The Institute for the Design of Advanced Energy Systems Integrated Platform
# Framework (IDAES IP) was produced under the DOE Institute for the
# Design of Advanced Energy Systems (IDAES), and is copyright (c) 2018-2021
# by the softwar... | 38.042289 | 83 | 0.606879 | 1,974 | 15,293 | 4.519757 | 0.137285 | 0.05918 | 0.056714 | 0.03497 | 0.848352 | 0.847456 | 0.838489 | 0.808899 | 0.788949 | 0.782224 | 0 | 0.040621 | 0.267573 | 15,293 | 401 | 84 | 38.137157 | 0.755915 | 0.083633 | 0 | 0.597403 | 0 | 0 | 0.044171 | 0 | 0 | 0 | 0 | 0 | 0.165584 | 1 | 0.051948 | false | 0 | 0.042208 | 0 | 0.107143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e674d6b563444fe784039c8c9815232710c22ae5 | 2,302 | py | Python | tests/test_02_remove_liquidity.py | PlentiFi/plenti-weth-usdt-005-vault | 2c70f1acbdf36cbea1c78bb4e61c520d7689a60f | [
"Apache-2.0"
] | null | null | null | tests/test_02_remove_liquidity.py | PlentiFi/plenti-weth-usdt-005-vault | 2c70f1acbdf36cbea1c78bb4e61c520d7689a60f | [
"Apache-2.0"
] | null | null | null | tests/test_02_remove_liquidity.py | PlentiFi/plenti-weth-usdt-005-vault | 2c70f1acbdf36cbea1c78bb4e61c520d7689a60f | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python3
import pytest
def test_add_liquidity_ETH(USDT, WETH, accounts, SwapRouter, CellarPoolShareContract):
SwapRouter.exactOutputSingle([WETH, USDT, 500, accounts[0], 2 ** 256 - 1, 6000 * 10 ** 6, 6 * 10 ** 18, 0], {"from": accounts[0], "value": 6 * 10 ** 18})
SwapRouter.exactOutputSingle([WETH, ... | 71.9375 | 157 | 0.701998 | 251 | 2,302 | 6.38247 | 0.159363 | 0.073034 | 0.056804 | 0.23221 | 0.845818 | 0.820849 | 0.763421 | 0.763421 | 0.697253 | 0.697253 | 0 | 0.085787 | 0.144222 | 2,302 | 32 | 158 | 71.9375 | 0.727411 | 0.007385 | 0 | 0.444444 | 0 | 0 | 0.038512 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.111111 | false | 0 | 0.037037 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e6b3c8c3faee38ba93821e4aa33938dfbdc4fb80 | 98 | py | Python | tests/func/packageA/packageB/package_b_func3.py | hiroki0525/autoload_module | f3e10dc02d0fd24b8caa872f8c71f8902dc44f83 | [
"MIT"
] | 10 | 2020-08-28T13:08:06.000Z | 2021-12-21T12:03:05.000Z | tests/func/packageA/packageB/package_b_func3.py | hiroki0525/autoload_module | f3e10dc02d0fd24b8caa872f8c71f8902dc44f83 | [
"MIT"
] | null | null | null | tests/func/packageA/packageB/package_b_func3.py | hiroki0525/autoload_module | f3e10dc02d0fd24b8caa872f8c71f8902dc44f83 | [
"MIT"
] | null | null | null | from tests.func.testfunction import test_function
@test_function
def package_b_func3():
pass | 16.333333 | 49 | 0.806122 | 14 | 98 | 5.357143 | 0.857143 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 0.132653 | 98 | 6 | 50 | 16.333333 | 0.870588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
e6e7e9d71a242780a2d798bfe6a88c2b024876b4 | 37 | py | Python | code/dpp/models/__init__.py | yamacisik/ifl-tpp | 7076f43ed359d4e04816b7cc3c39fdb8d8b97ada | [
"MIT"
] | 53 | 2019-09-27T04:46:01.000Z | 2022-02-25T17:59:49.000Z | code/dpp/models/__init__.py | yamacisik/ifl-tpp | 7076f43ed359d4e04816b7cc3c39fdb8d8b97ada | [
"MIT"
] | 17 | 2019-12-12T18:38:05.000Z | 2022-03-25T00:24:40.000Z | code/dpp/models/__init__.py | yamacisik/ifl-tpp | 7076f43ed359d4e04816b7cc3c39fdb8d8b97ada | [
"MIT"
] | 26 | 2019-10-23T21:53:26.000Z | 2022-03-05T04:03:15.000Z | from .log_norm_mix import LogNormMix
| 18.5 | 36 | 0.864865 | 6 | 37 | 5 | 1 | 0 | 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 | 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 | 6 |
e6e9dc86101884006410fc5f4ef9d30bfb6a542a | 4,199 | py | Python | tests/components/smarthab/test_config_flow.py | andersop91/core | 0e0ef0aa17073609eae7c974cf4c73306b7c414b | [
"Apache-2.0"
] | 22,481 | 2020-03-02T13:09:59.000Z | 2022-03-31T23:34:28.000Z | tests/components/smarthab/test_config_flow.py | andersop91/core | 0e0ef0aa17073609eae7c974cf4c73306b7c414b | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | tests/components/smarthab/test_config_flow.py | andersop91/core | 0e0ef0aa17073609eae7c974cf4c73306b7c414b | [
"Apache-2.0"
] | 11,411 | 2020-03-02T14:19:20.000Z | 2022-03-31T22:46:07.000Z | """Test the SmartHab config flow."""
from unittest.mock import patch
import pysmarthab
from homeassistant import config_entries
from homeassistant.components.smarthab import DOMAIN
from homeassistant.const import CONF_EMAIL, CONF_PASSWORD
async def test_form(hass):
"""Test we get the form."""
result = awai... | 33.062992 | 88 | 0.662539 | 493 | 4,199 | 5.413793 | 0.148073 | 0.073061 | 0.050581 | 0.074185 | 0.772199 | 0.737729 | 0.737729 | 0.713001 | 0.713001 | 0.695392 | 0 | 0.00573 | 0.210288 | 4,199 | 126 | 89 | 33.325397 | 0.799156 | 0.007145 | 0 | 0.604167 | 0 | 0 | 0.219342 | 0.110419 | 0 | 0 | 0 | 0 | 0.1875 | 1 | 0 | false | 0.083333 | 0.083333 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
e6f769a93d59ad858ce0c163c8ec5c4067680c46 | 26,312 | py | Python | statsmodels/nonparametric/kernels_asymmetric.py | CCHiggins/statsmodels | 300b6fba90c65c8e94b4f83e04f7ae1b0ceeac2e | [
"BSD-3-Clause"
] | 6,931 | 2015-01-01T11:41:55.000Z | 2022-03-31T17:03:24.000Z | statsmodels/nonparametric/kernels_asymmetric.py | CCHiggins/statsmodels | 300b6fba90c65c8e94b4f83e04f7ae1b0ceeac2e | [
"BSD-3-Clause"
] | 6,137 | 2015-01-01T00:33:45.000Z | 2022-03-31T22:53:17.000Z | statsmodels/nonparametric/kernels_asymmetric.py | CCHiggins/statsmodels | 300b6fba90c65c8e94b4f83e04f7ae1b0ceeac2e | [
"BSD-3-Clause"
] | 2,608 | 2015-01-02T21:32:31.000Z | 2022-03-31T07:38:30.000Z | # -*- coding: utf-8 -*-
"""Asymmetric kernels for R+ and unit interval
References
----------
.. [1] Bouezmarni, Taoufik, and Olivier Scaillet. 2005. “Consistency of
Asymmetric Kernel Density Estimators and Smoothed Histograms with
Application to Income Data.” Econometric Theory 21 (2): 390–412.
.. [2] Chen, So... | 31.854722 | 79 | 0.636288 | 3,598 | 26,312 | 4.563369 | 0.098388 | 0.033437 | 0.015896 | 0.025458 | 0.916986 | 0.909069 | 0.894269 | 0.855472 | 0.815275 | 0.785127 | 0 | 0.054534 | 0.25152 | 26,312 | 825 | 80 | 31.893333 | 0.777242 | 0.283863 | 0 | 0.647856 | 0 | 0 | 0.506724 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060948 | false | 0 | 0.004515 | 0.018059 | 0.126411 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fc36197e9b5f7a39f94875fa5f46ff8640aed7c6 | 5,903 | py | Python | Packs/CommonScripts/Scripts/DateStringToISOFormat/DateStringToISOFormat_test.py | diCagri/content | c532c50b213e6dddb8ae6a378d6d09198e08fc9f | [
"MIT"
] | 799 | 2016-08-02T06:43:14.000Z | 2022-03-31T11:10:11.000Z | Packs/CommonScripts/Scripts/DateStringToISOFormat/DateStringToISOFormat_test.py | diCagri/content | c532c50b213e6dddb8ae6a378d6d09198e08fc9f | [
"MIT"
] | 9,317 | 2016-08-07T19:00:51.000Z | 2022-03-31T21:56:04.000Z | Packs/CommonScripts/Scripts/DateStringToISOFormat/DateStringToISOFormat_test.py | diCagri/content | c532c50b213e6dddb8ae6a378d6d09198e08fc9f | [
"MIT"
] | 1,297 | 2016-08-04T13:59:00.000Z | 2022-03-31T23:43:06.000Z | from DateStringToISOFormat import parse_datestring_to_iso
import demistomock as demisto
import pytest
# date_value, day_first, year_first, fuzzy, expected_output
testdata = [
('05-11-2929', True, True, True, True, '2929-11-05T00:00:00+00:00'),
('05-11-2929', True, False, True, True, '2929-11-05T00:00:00+00:00... | 71.120482 | 118 | 0.655429 | 1,011 | 5,903 | 3.789318 | 0.130564 | 0.043853 | 0.063169 | 0.074654 | 0.782563 | 0.762203 | 0.742104 | 0.708692 | 0.705038 | 0.665623 | 0 | 0.27959 | 0.174149 | 5,903 | 82 | 119 | 71.987805 | 0.506256 | 0.20786 | 0 | 0.037037 | 0 | 0 | 0.512966 | 0.275877 | 0 | 0 | 0 | 0 | 0.018519 | 1 | 0.018519 | false | 0 | 0.055556 | 0 | 0.074074 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 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 | 6 |
fc5bc0822685b72448f5796f4a0a004658e36cbf | 187 | py | Python | common/aist_common/grammar/equivalence_class/learned_equivalence.py | sfahad1414/AGENT | 84069edc96b6190bb03ffd5099cbc8966061a563 | [
"Apache-2.0"
] | 15 | 2020-05-06T16:17:56.000Z | 2022-03-30T12:25:16.000Z | common/aist_common/grammar/equivalence_class/learned_equivalence.py | dionny/AGENT | 8a833406b590e23623fcc67db99f6f964d002396 | [
"Apache-2.0"
] | 2 | 2021-08-25T16:17:16.000Z | 2022-02-10T06:35:58.000Z | common/aist_common/grammar/equivalence_class/learned_equivalence.py | dionny/AGENT | 8a833406b590e23623fcc67db99f6f964d002396 | [
"Apache-2.0"
] | 7 | 2020-04-07T18:47:55.000Z | 2022-03-30T12:14:58.000Z |
class LearnedEquivalence:
def __init__(self, eq_class):
self.equivalence_class = eq_class
def __str__(self):
return "LEARNED_EQCLASS_" + self.equivalence_class
| 20.777778 | 58 | 0.705882 | 21 | 187 | 5.619048 | 0.52381 | 0.118644 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219251 | 187 | 8 | 59 | 23.375 | 0.808219 | 0 | 0 | 0 | 0 | 0 | 0.086486 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
fc63e81c551ed6d5db139e5ad5da702a5b71a6c8 | 28 | py | Python | vnpy/api/ihq/__init__.py | xiumingxu/vnpy-xx | 8b2d9ecdabcb7931d46fd92fad2d3701b7e66975 | [
"MIT"
] | null | null | null | vnpy/api/ihq/__init__.py | xiumingxu/vnpy-xx | 8b2d9ecdabcb7931d46fd92fad2d3701b7e66975 | [
"MIT"
] | null | null | null | vnpy/api/ihq/__init__.py | xiumingxu/vnpy-xx | 8b2d9ecdabcb7931d46fd92fad2d3701b7e66975 | [
"MIT"
] | null | null | null | from .ihq_constant import *
| 14 | 27 | 0.785714 | 4 | 28 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 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 | 0 | 0 | 6 |
5dc5b8a32082fb6d40da09bfcf3e46310b44b4fa | 146 | py | Python | tests/test_wx.py | yueranyuan/pyscreenshot | 3287b798691de8791bc3b3314f2545f7b0b1cb99 | [
"BSD-2-Clause"
] | null | null | null | tests/test_wx.py | yueranyuan/pyscreenshot | 3287b798691de8791bc3b3314f2545f7b0b1cb99 | [
"BSD-2-Clause"
] | null | null | null | tests/test_wx.py | yueranyuan/pyscreenshot | 3287b798691de8791bc3b3314f2545f7b0b1cb99 | [
"BSD-2-Clause"
] | null | null | null | from ref import backend_ref
from size import backend_size
def test_size_wx():
backend_size('wx')
def test_ref_wx():
backend_ref('wx')
| 13.272727 | 29 | 0.726027 | 24 | 146 | 4.083333 | 0.333333 | 0.265306 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178082 | 146 | 10 | 30 | 14.6 | 0.816667 | 0 | 0 | 0 | 0 | 0 | 0.027397 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5dd3af9e52fa2bdc1bb61e70650ffd58d16a15df | 96 | py | Python | python_adtpulsedotcom/__init__.py | mariniertje/python_adtpulsedotcom | c21af82a9a86390fcbd02bde46f214975c9db9ca | [
"MIT"
] | null | null | null | python_adtpulsedotcom/__init__.py | mariniertje/python_adtpulsedotcom | c21af82a9a86390fcbd02bde46f214975c9db9ca | [
"MIT"
] | null | null | null | python_adtpulsedotcom/__init__.py | mariniertje/python_adtpulsedotcom | c21af82a9a86390fcbd02bde46f214975c9db9ca | [
"MIT"
] | null | null | null | #from .pyadtpulsedotcom import AdtPulsedotcom
from .python_adtpulsedotcom import AdtPulsedotcom
| 32 | 49 | 0.885417 | 9 | 96 | 9.333333 | 0.555556 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 96 | 2 | 50 | 48 | 0.954545 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f8d45acd9757854d31626f54a9e9f06f6b9e2ea1 | 144 | py | Python | VowelCatApp/admin.py | drchangliu/VisualPhonetics | f022628a00b806db64477457f4e901ba21cda2a2 | [
"MIT"
] | 2 | 2015-01-29T21:19:43.000Z | 2015-03-24T01:36:56.000Z | VowelCatApp/admin.py | drchangliu/VisualPhonetics | f022628a00b806db64477457f4e901ba21cda2a2 | [
"MIT"
] | null | null | null | VowelCatApp/admin.py | drchangliu/VisualPhonetics | f022628a00b806db64477457f4e901ba21cda2a2 | [
"MIT"
] | null | null | null | from django.contrib import admin
from models import MyUser
class UserAdmin(admin.ModelAdmin):
pass
admin.site.register(MyUser, UserAdmin)
| 18 | 38 | 0.798611 | 19 | 144 | 6.052632 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131944 | 144 | 7 | 39 | 20.571429 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 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 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
5d2b6f0f0f962606759a6a0a95f0f346ff1f4322 | 171 | py | Python | webdjango/utils/money.py | myog-io/WebDjangular | 73d3c40aa449eec5acc59d4493ee94059bddabbd | [
"MIT"
] | 1 | 2018-09-14T15:17:19.000Z | 2018-09-14T15:17:19.000Z | webdjango/utils/money.py | MyOwnGamesLLC/WebDjangular | 73d3c40aa449eec5acc59d4493ee94059bddabbd | [
"MIT"
] | 41 | 2018-12-16T16:58:54.000Z | 2019-02-22T20:08:58.000Z | webdjango/utils/money.py | myog-io/WebDjangular | 73d3c40aa449eec5acc59d4493ee94059bddabbd | [
"MIT"
] | 1 | 2019-12-10T09:32:49.000Z | 2019-12-10T09:32:49.000Z | from libs.plugins.store.api import defaults
from prices import Money
ZERO_MONEY = Money(0, defaults.DEFAULT_CURRENCY)
def zero_money():
return ZERO_MONEY
| 17.1 | 49 | 0.74269 | 24 | 171 | 5.125 | 0.625 | 0.219512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007246 | 0.192982 | 171 | 9 | 50 | 19 | 0.884058 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
5d3e2b25adf6f06aabc663852bc4c2481812c37b | 26 | py | Python | petrophysics/reserves/__init__.py | petroGG/petrophysics | 953023d89969f7970f584604146118ad7123ce30 | [
"MIT"
] | 47 | 2016-06-30T20:04:02.000Z | 2021-12-11T17:01:04.000Z | petrophysics/reserves/__init__.py | Khalilsqu/petrophysics | 953023d89969f7970f584604146118ad7123ce30 | [
"MIT"
] | null | null | null | petrophysics/reserves/__init__.py | Khalilsqu/petrophysics | 953023d89969f7970f584604146118ad7123ce30 | [
"MIT"
] | 35 | 2016-09-30T17:28:48.000Z | 2022-01-06T02:24:53.000Z | from . import volumetrics
| 13 | 25 | 0.807692 | 3 | 26 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 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 | 0 | 0 | 6 |
5372e4726e7e9f637ed3735e0488ac48e70bbbc9 | 120 | py | Python | blogApp/users/admin.py | laxmanGhoghol/BlogApp | e3049a3d7669ad5a836a353a885a5310df329be4 | [
"MIT"
] | 2 | 2021-08-15T07:55:15.000Z | 2021-12-01T05:17:11.000Z | blogApp/users/admin.py | laxmanGhoghol/BlogApp | e3049a3d7669ad5a836a353a885a5310df329be4 | [
"MIT"
] | null | null | null | blogApp/users/admin.py | laxmanGhoghol/BlogApp | e3049a3d7669ad5a836a353a885a5310df329be4 | [
"MIT"
] | null | null | null | from django.contrib import admin
from django.db import models
from .models import Profile
admin.site.register(Profile)
| 20 | 32 | 0.825 | 18 | 120 | 5.5 | 0.555556 | 0.20202 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 120 | 5 | 33 | 24 | 0.933962 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 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 | 6 |
539c92b94b33f6d10891f2d6d4fa760a83e0ae27 | 24 | py | Python | mocksurvey/climber/kcorrect/__init__.py | valentinalatorre/mocksurvey | 644390dbaa098161f5d53c79d41a6525fc18c840 | [
"MIT"
] | 4 | 2020-03-26T18:05:10.000Z | 2021-12-02T03:08:56.000Z | mocksurvey/climber/kcorrect/__init__.py | valentinalatorre/mocksurvey | 644390dbaa098161f5d53c79d41a6525fc18c840 | [
"MIT"
] | null | null | null | mocksurvey/climber/kcorrect/__init__.py | valentinalatorre/mocksurvey | 644390dbaa098161f5d53c79d41a6525fc18c840 | [
"MIT"
] | 1 | 2021-08-30T20:28:25.000Z | 2021-08-30T20:28:25.000Z | from .kcorrect import *
| 12 | 23 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 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 | 0 | 0 | 6 |
53bc1dea83ec92603a43c8908a817339f348bc37 | 144 | py | Python | hiro_robot_envs/envs/__init__.py | HIRO-group/hiro-robot-envs | d9fed889e8fb75fd5bf299d01c9e2606a83a7e84 | [
"MIT"
] | 1 | 2020-11-13T04:58:49.000Z | 2020-11-13T04:58:49.000Z | hiro_robot_envs/envs/__init__.py | watakandai/hiro-robot-envs | 5705c6fa562d64d31e08aa06a6bd109619e0bd21 | [
"MIT"
] | null | null | null | hiro_robot_envs/envs/__init__.py | watakandai/hiro-robot-envs | 5705c6fa562d64d31e08aa06a6bd109619e0bd21 | [
"MIT"
] | 1 | 2020-11-08T07:17:58.000Z | 2020-11-08T07:17:58.000Z | from hiro_robot_envs.envs.ant_envs import AntEnvWithGoal # NOQA
from hiro_robot_envs.envs.ant_envs.create_maze_env import create_maze_env # NOQA | 72 | 80 | 0.875 | 25 | 144 | 4.64 | 0.44 | 0.137931 | 0.224138 | 0.293103 | 0.482759 | 0.482759 | 0.482759 | 0 | 0 | 0 | 0 | 0 | 0.076389 | 144 | 2 | 80 | 72 | 0.87218 | 0.0625 | 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 | 0 | 0 | 0 | 6 |
53bfb853e0a608b78385bcce3e502c845e6ce0a9 | 23 | py | Python | python/openpose/__init__.py | Clanatia/Openpose_Multi_scale_moudle | 2e3a8cedf66765867f527f70870f4d06780dcf92 | [
"DOC",
"MIT-CMU"
] | 1 | 2019-10-17T07:20:25.000Z | 2019-10-17T07:20:25.000Z | python/openpose/__init__.py | Clanatia/openpose_python_add | 2e3a8cedf66765867f527f70870f4d06780dcf92 | [
"DOC",
"MIT-CMU"
] | null | null | null | python/openpose/__init__.py | Clanatia/openpose_python_add | 2e3a8cedf66765867f527f70870f4d06780dcf92 | [
"DOC",
"MIT-CMU"
] | 1 | 2020-01-06T08:16:01.000Z | 2020-01-06T08:16:01.000Z | from openpose import *
| 11.5 | 22 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 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 | 0 | 0 | 6 |
53e415017353c161654080d6cf599ffe024ad7e8 | 5,489 | py | Python | selection.py | danielmcorreia/CIFO_project | f61820eede7f4537621073e56d01ce318e745ce8 | [
"MIT"
] | 1 | 2022-01-16T19:54:55.000Z | 2022-01-16T19:54:55.000Z | selection.py | danielmcorreia/Computational_Intelligence_Optimization_Project | f61820eede7f4537621073e56d01ce318e745ce8 | [
"MIT"
] | null | null | null | selection.py | danielmcorreia/Computational_Intelligence_Optimization_Project | f61820eede7f4537621073e56d01ce318e745ce8 | [
"MIT"
] | 1 | 2021-05-28T16:28:51.000Z | 2021-05-28T16:28:51.000Z | from random import uniform, sample
from operator import attrgetter
def tournament(population, size=10):
"""Tournament selection implementation.
Requires: population we want to select from; size of tournaments
Ensures: selected individual
"""
# Select individuals based on tourna... | 34.30625 | 116 | 0.616141 | 596 | 5,489 | 5.604027 | 0.174497 | 0.071856 | 0.064671 | 0.047904 | 0.791916 | 0.782934 | 0.746108 | 0.717964 | 0.717964 | 0.670359 | 0 | 0.015839 | 0.309893 | 5,489 | 160 | 117 | 34.30625 | 0.865892 | 0.234469 | 0 | 0.813953 | 0 | 0 | 0.066715 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046512 | false | 0 | 0.023256 | 0 | 0.151163 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
53fcbaa7aa55ba0c9f988e372b7b497d960c56b7 | 2,161 | py | Python | gen_pkl.py | thanh-tl/Pytorch-Handwritten-Mathematical-Expression-Recognition | b944b25630c5e902825d60c85d7560756cff41dc | [
"MIT"
] | null | null | null | gen_pkl.py | thanh-tl/Pytorch-Handwritten-Mathematical-Expression-Recognition | b944b25630c5e902825d60c85d7560756cff41dc | [
"MIT"
] | null | null | null | gen_pkl.py | thanh-tl/Pytorch-Handwritten-Mathematical-Expression-Recognition | b944b25630c5e902825d60c85d7560756cff41dc | [
"MIT"
] | null | null | null | '''
Python 3.6
Pytorch 0.4
Written by Hongyu Wang in Beihang university
'''
import os
import sys
import pandas as pd
import pickle as pkl
import numpy
from scipy.misc import imread, imresize, imsave
print("GEN PKL TEST......");
image_path='./off_image_test/'
outFile='offline-test.pkl'
oupFp_feature=open(outFile,'wb'... | 24.83908 | 78 | 0.612217 | 290 | 2,161 | 4.458621 | 0.296552 | 0.055684 | 0.04331 | 0.055684 | 0.787316 | 0.787316 | 0.787316 | 0.787316 | 0.787316 | 0.787316 | 0 | 0.023058 | 0.23739 | 2,161 | 86 | 79 | 25.127907 | 0.761529 | 0.048589 | 0 | 0.78125 | 0 | 0 | 0.152493 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.09375 | 0 | 0.09375 | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
54cf3c67627d8c749795d741f3d40cb5bc03db34 | 9,829 | py | Python | tests/test_index_to_search_service.py | jonodrew/digitalmarketplace-scripts | bb4b3f06b2da7b279ff875b9eb73604da643e524 | [
"MIT"
] | null | null | null | tests/test_index_to_search_service.py | jonodrew/digitalmarketplace-scripts | bb4b3f06b2da7b279ff875b9eb73604da643e524 | [
"MIT"
] | 44 | 2018-11-27T15:33:44.000Z | 2019-01-10T12:43:24.000Z | tests/test_index_to_search_service.py | jonodrew/digitalmarketplace-scripts | bb4b3f06b2da7b279ff875b9eb73604da643e524 | [
"MIT"
] | null | null | null | import mock
import pytest
from dmapiclient import HTTPError
from dmscripts.index_to_search_service import (
do_index, BriefIndexer, ServiceIndexer
)
class TestIndexers:
def setup(self):
# Ensure we don't make any real API calls
self.data_api_client_patch = mock.patch(
'dmscripts... | 45.087156 | 119 | 0.662733 | 1,146 | 9,829 | 5.369983 | 0.113438 | 0.068736 | 0.077998 | 0.103997 | 0.832629 | 0.800617 | 0.769906 | 0.733019 | 0.731069 | 0.683133 | 0 | 0.007226 | 0.225659 | 9,829 | 217 | 120 | 45.294931 | 0.80134 | 0.035711 | 0 | 0.448649 | 0 | 0 | 0.190411 | 0.051009 | 0 | 0 | 0 | 0 | 0.118919 | 1 | 0.081081 | false | 0 | 0.021622 | 0 | 0.108108 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
54d3fc47caf243a785819701ffe465fbad9a5913 | 36,324 | py | Python | tests/api/v1_3_3/test_sda.py | nonstdout/dnacentersdk | dbbbc4baa5300aa9e5c9193f2ea71438018095f5 | [
"MIT"
] | null | null | null | tests/api/v1_3_3/test_sda.py | nonstdout/dnacentersdk | dbbbc4baa5300aa9e5c9193f2ea71438018095f5 | [
"MIT"
] | null | null | null | tests/api/v1_3_3/test_sda.py | nonstdout/dnacentersdk | dbbbc4baa5300aa9e5c9193f2ea71438018095f5 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""DNACenterAPI sda API fixtures and tests.
Copyright (c) 2019-2020 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 restriction, inclu... | 27.643836 | 457 | 0.73194 | 4,655 | 36,324 | 5.289581 | 0.051343 | 0.072777 | 0.045567 | 0.051984 | 0.914876 | 0.908216 | 0.896195 | 0.884295 | 0.832677 | 0.765991 | 0 | 0.014084 | 0.198574 | 36,324 | 1,313 | 458 | 27.66489 | 0.831747 | 0.031412 | 0 | 0.595459 | 0 | 0 | 0.087816 | 0.038208 | 0 | 0 | 0 | 0 | 0.066047 | 1 | 0.165119 | false | 0 | 0.002064 | 0 | 0.266254 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
07469887c0f95d613dae2e0e96ccdad07518ac5e | 40 | py | Python | cvt/__init__.py | wangjie-ruc/cvt | 52c7f07e5a50baa8e184a2c362e5c0905b176f0e | [
"BSD-3-Clause"
] | null | null | null | cvt/__init__.py | wangjie-ruc/cvt | 52c7f07e5a50baa8e184a2c362e5c0905b176f0e | [
"BSD-3-Clause"
] | null | null | null | cvt/__init__.py | wangjie-ruc/cvt | 52c7f07e5a50baa8e184a2c362e5c0905b176f0e | [
"BSD-3-Clause"
] | null | null | null | from .config import from_dict, from_file | 40 | 40 | 0.85 | 7 | 40 | 4.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 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 | 0 | 0 | 6 |
4afd85aff0adafb33f9ff25521d1a35fe7866f58 | 17,293 | py | Python | bip39.py | Fisherman386/FishLib | cab99ad2dea97fbc699d1df839d78bf00221e79c | [
"MIT"
] | 1 | 2021-12-29T11:33:17.000Z | 2021-12-29T11:33:17.000Z | bip39.py | Fisherman386/FishLib | cab99ad2dea97fbc699d1df839d78bf00221e79c | [
"MIT"
] | null | null | null | bip39.py | Fisherman386/FishLib | cab99ad2dea97fbc699d1df839d78bf00221e79c | [
"MIT"
] | null | null | null | # https://github.com/bitcoin/bips/blob/master/bip-0039/english.txt
bip39List = ["abandon","ability","able","about","above","absent","absorb","abstract","absurd","abuse","access","accident","account","accuse","achieve","acid","acoustic","acquire","across","act","action","actor","actress","actual","adapt","add","addict"... | 5,764.333333 | 17,225 | 0.643555 | 2,060 | 17,293 | 5.402427 | 0.999515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000347 | 0.000289 | 17,293 | 3 | 17,225 | 5,764.333333 | 0.643394 | 0.003701 | 0 | 0 | 0 | 0 | 0.642443 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 6 |
ab4b623bf410a89d021f981f74a6d1e618c3d408 | 1,041 | py | Python | tensorcv/image/__init__.py | Hourout/tensorcv | 620559ee90921e036c8a84877d806a5c21010511 | [
"Apache-2.0"
] | 8 | 2018-12-06T05:02:29.000Z | 2021-08-25T07:09:29.000Z | tensorcv/image/__init__.py | Hourout/keras-cv | 620559ee90921e036c8a84877d806a5c21010511 | [
"Apache-2.0"
] | null | null | null | tensorcv/image/__init__.py | Hourout/keras-cv | 620559ee90921e036c8a84877d806a5c21010511 | [
"Apache-2.0"
] | 4 | 2018-12-06T05:02:32.000Z | 2019-06-04T11:15:39.000Z | from tensorcv.image._image_ops import read_image
from tensorcv.image._image_ops import RandomBrightness
from tensorcv.image._image_ops import RandomContrast
from tensorcv.image._image_ops import RandomHue
from tensorcv.image._image_ops import RandomSaturation
from tensorcv.image._image_ops import RandomGamma
from tenso... | 52.05 | 61 | 0.89049 | 134 | 1,041 | 6.626866 | 0.179104 | 0.256757 | 0.363739 | 0.470721 | 0.663288 | 0.663288 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073007 | 1,041 | 19 | 62 | 54.789474 | 0.920207 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ab542a7f7a5321e8f9409355e5075e28253c6b84 | 56,974 | py | Python | api/management/commands/scrape_pdfs.py | IFRCGo/go-api | 6acd84df479f0cf46553029ababa1e7753f86550 | [
"MIT"
] | 11 | 2018-06-11T06:05:12.000Z | 2022-03-25T09:31:44.000Z | api/management/commands/scrape_pdfs.py | IFRCGo/go-api | 6acd84df479f0cf46553029ababa1e7753f86550 | [
"MIT"
] | 498 | 2017-11-07T21:20:13.000Z | 2022-03-31T14:37:18.000Z | api/management/commands/scrape_pdfs.py | IFRCGo/go-api | 6acd84df479f0cf46553029ababa1e7753f86550 | [
"MIT"
] | 6 | 2018-04-11T13:29:50.000Z | 2020-07-16T16:52:11.000Z | # Officially a work of Navin (toggle-corp/ifrc), modified some parts for Django Admin usage
import re
import urllib3
import xmltodict
import requests
import api.scrapers.cleaners as cleaners
from io import BytesIO
from bs4 import BeautifulSoup as bsoup
from pdfminer.converter import HTMLConverter
from pdfminer.pdfinter... | 81.624642 | 173 | 0.662706 | 6,927 | 56,974 | 5.015302 | 0.049083 | 0.079733 | 0.103279 | 0.107193 | 0.841254 | 0.831381 | 0.818457 | 0.797242 | 0.774963 | 0.755764 | 0 | 0.001919 | 0.204111 | 56,974 | 697 | 174 | 81.74175 | 0.764164 | 0.047004 | 0 | 0.567261 | 0 | 0.011345 | 0.081056 | 0.001585 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011345 | false | 0 | 0.027553 | 0 | 0.051864 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ab61edd887fe845d3c8ba6a77ccc837aa1272a68 | 76 | py | Python | mgba_gamedata/__init__.py | mgba-emu/gamedata | d8a167e61f1fade77d08db2f705e08c264208a44 | [
"BSD-2-Clause"
] | 2 | 2018-11-07T08:11:25.000Z | 2021-07-15T12:31:20.000Z | mgba_gamedata/__init__.py | mgba-emu/gamedata | d8a167e61f1fade77d08db2f705e08c264208a44 | [
"BSD-2-Clause"
] | null | null | null | mgba_gamedata/__init__.py | mgba-emu/gamedata | d8a167e61f1fade77d08db2f705e08c264208a44 | [
"BSD-2-Clause"
] | null | null | null | import mgba_gamedata.registry
registry = mgba_gamedata.registry.Registry()
| 19 | 44 | 0.842105 | 9 | 76 | 6.888889 | 0.444444 | 0.387097 | 0.645161 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 76 | 3 | 45 | 25.333333 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 6 |
db87e6557ada544f87554b3439da5accf3bde01c | 102 | py | Python | python/gigasecond/gigasecond.py | rootulp/exercism | 312a053ad1d375752acf0fce062ee7b9c643a149 | [
"MIT"
] | 41 | 2015-02-09T18:08:45.000Z | 2022-03-06T15:23:32.000Z | python/gigasecond/gigasecond.py | DucChuyenSoftwareEngineer/exercism | fb7820a1ba162b888a39f1b86cbe5d3ca3b15d4f | [
"MIT"
] | 21 | 2019-12-28T17:47:06.000Z | 2021-02-27T19:43:00.000Z | python/gigasecond/gigasecond.py | DucChuyenSoftwareEngineer/exercism | fb7820a1ba162b888a39f1b86cbe5d3ca3b15d4f | [
"MIT"
] | 18 | 2016-04-29T14:35:12.000Z | 2021-06-23T07:32:29.000Z | from datetime import timedelta
def add_gigasecond(date):
return date + timedelta(seconds=10**9)
| 17 | 42 | 0.754902 | 14 | 102 | 5.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034884 | 0.156863 | 102 | 5 | 43 | 20.4 | 0.848837 | 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 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
db8e1c676e539275f3e6f8cc127a101bfa9c72cf | 85 | py | Python | hexy/__init__.py | hajapy/Hexy | 06d920ac7882e41bbbd87a3b3e8131c2aa98dea5 | [
"MIT"
] | null | null | null | hexy/__init__.py | hajapy/Hexy | 06d920ac7882e41bbbd87a3b3e8131c2aa98dea5 | [
"MIT"
] | null | null | null | hexy/__init__.py | hajapy/Hexy | 06d920ac7882e41bbbd87a3b3e8131c2aa98dea5 | [
"MIT"
] | null | null | null | from errors import *
from hex_tile import *
from hexy import *
from hex_map import *
| 17 | 22 | 0.764706 | 14 | 85 | 4.5 | 0.5 | 0.47619 | 0.412698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188235 | 85 | 4 | 23 | 21.25 | 0.913043 | 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 | 0 | 0 | 0 | 6 |
9166ecc64945e8458fc73f1a2a67a6199377aeb1 | 45 | py | Python | readinglistlib/__init__.py | treese/ReadingListReader | d9e56ec2225400994706ad9c2e9d4815fe4f509d | [
"MIT"
] | 62 | 2015-01-08T03:22:03.000Z | 2021-12-22T00:46:30.000Z | readinglistlib/__init__.py | treese/ReadingListReader | d9e56ec2225400994706ad9c2e9d4815fe4f509d | [
"MIT"
] | 7 | 2015-02-16T14:12:02.000Z | 2021-07-22T06:03:47.000Z | readinglistlib/__init__.py | treese/ReadingListReader | d9e56ec2225400994706ad9c2e9d4815fe4f509d | [
"MIT"
] | 16 | 2015-04-19T22:15:24.000Z | 2021-09-14T13:08:57.000Z | from readinglistlib import ReadingListReader
| 22.5 | 44 | 0.911111 | 4 | 45 | 10.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 1 | 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 | 0 | 0 | 0 | 6 |
9168618c7200aab502c93c8a55fdfb4e8ef03377 | 191 | py | Python | app/utils.py | zaldis/SecretsManager | adf316a871bc1365a823478cbb292885f2fb908d | [
"MIT"
] | null | null | null | app/utils.py | zaldis/SecretsManager | adf316a871bc1365a823478cbb292885f2fb908d | [
"MIT"
] | null | null | null | app/utils.py | zaldis/SecretsManager | adf316a871bc1365a823478cbb292885f2fb908d | [
"MIT"
] | null | null | null | import random
from typing import List, Sequence
def create_password(symbols: Sequence[str] = [],
size: int = 5) -> List[str]:
return random.choices(symbols, k=size)
| 23.875 | 48 | 0.638743 | 24 | 191 | 5.041667 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006944 | 0.246073 | 191 | 7 | 49 | 27.285714 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.4 | 0.2 | 0.8 | 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 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 6 |
9169cb8bf2fe5e06c1a9cd1f5742ce153fb9f323 | 85,354 | py | Python | bigquery/tests/test_client.py | psinger/BigQuery-Python | f69fe34a1b7fe174bdf6cd4f1294eeb1ca77a6d3 | [
"Apache-2.0"
] | null | null | null | bigquery/tests/test_client.py | psinger/BigQuery-Python | f69fe34a1b7fe174bdf6cd4f1294eeb1ca77a6d3 | [
"Apache-2.0"
] | null | null | null | bigquery/tests/test_client.py | psinger/BigQuery-Python | f69fe34a1b7fe174bdf6cd4f1294eeb1ca77a6d3 | [
"Apache-2.0"
] | 1 | 2021-03-23T19:16:39.000Z | 2021-03-23T19:16:39.000Z | import unittest
import mock
import six
from nose.tools import raises
from apiclient.errors import HttpError
from bigquery import client
from bigquery.errors import (
JobInsertException, JobExecutingException,
BigQueryTimeoutException
)
class HttpResponse(object):
def __init__(self, status, reason='Ther... | 35.270248 | 79 | 0.542716 | 8,330 | 85,354 | 5.323409 | 0.063505 | 0.031932 | 0.018469 | 0.016101 | 0.840204 | 0.811316 | 0.789329 | 0.772619 | 0.751917 | 0.717572 | 0 | 0.024044 | 0.344143 | 85,354 | 2,419 | 80 | 35.284828 | 0.768096 | 0.061579 | 0 | 0.659091 | 0 | 0 | 0.127516 | 0.010303 | 0 | 0 | 0 | 0 | 0.101136 | 1 | 0.058523 | false | 0 | 0.016477 | 0.001705 | 0.091477 | 0.001705 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
916bc61f0f17847c656aea34afd8bbf4c83d3b2e | 4,664 | py | Python | tests/prices/test_chainlink.py | scottincrypto/yearn-exporter | 8addda383c70cb588005d3ef1ae8af750f0bb67d | [
"MIT"
] | 14 | 2020-10-05T06:47:05.000Z | 2021-02-28T04:43:17.000Z | tests/prices/test_chainlink.py | manifoldfinance/yearn-exporter | 5953266a072966638a60d76ea05c4fb3e976c588 | [
"MIT"
] | 9 | 2020-11-07T07:00:25.000Z | 2021-02-10T05:19:34.000Z | tests/prices/test_chainlink.py | manifoldfinance/yearn-exporter | 5953266a072966638a60d76ea05c4fb3e976c588 | [
"MIT"
] | 14 | 2020-10-11T13:54:21.000Z | 2021-02-24T23:12:56.000Z | import pytest
from brownie import ZERO_ADDRESS
from yearn.prices import chainlink
FEEDS = [
"0x0000000000000000000000000000000000000024",
"0x000000000000000000000000000000000000007c",
"0x000000000000000000000000000000000000009c",
"0x0000000000000000000000000000000000000164",
"0x00000000000000000000... | 42.788991 | 87 | 0.827187 | 176 | 4,664 | 21.829545 | 0.653409 | 0.007288 | 0.016658 | 0.022905 | 0.054659 | 0.041124 | 0.024466 | 0.024466 | 0 | 0 | 0 | 0.548387 | 0.109348 | 4,664 | 108 | 88 | 43.185185 | 0.376505 | 0.012007 | 0 | 0.061224 | 0 | 0 | 0.729918 | 0.720365 | 0 | 0 | 0.720365 | 0 | 0.040816 | 1 | 0.040816 | false | 0 | 0.030612 | 0 | 0.071429 | 0.010204 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
91c5494f56c0506b6a915643e81aaa2b623a47ff | 1,824 | py | Python | tests/integration/test_stitching.py | spmistry/crux-python | 15a6b705d1eec7e789f6f62819429f93e02349c1 | [
"MIT"
] | null | null | null | tests/integration/test_stitching.py | spmistry/crux-python | 15a6b705d1eec7e789f6f62819429f93e02349c1 | [
"MIT"
] | 2 | 2019-07-30T14:37:01.000Z | 2019-09-09T06:12:23.000Z | tests/integration/test_stitching.py | anshul-patel-infostretch/crux-python | e112a09ff61049b2396cf68f947c7583f67488c6 | [
"MIT"
] | null | null | null | import os
import pytest
@pytest.mark.usefixtures("dataset", "helpers")
def test_stitch_with_file_object(dataset, helpers):
stitch_file = os.path.join(
os.path.abspath(os.path.dirname(os.path.dirname(__file__))),
"data",
"twitter.avro",
)
file_1 = dataset.upload_file(
stit... | 28.5 | 84 | 0.658443 | 219 | 1,824 | 5.09589 | 0.196347 | 0.043011 | 0.046595 | 0.082437 | 0.896953 | 0.870968 | 0.870968 | 0.870968 | 0.738351 | 0.738351 | 0 | 0.017968 | 0.206689 | 1,824 | 63 | 85 | 28.952381 | 0.753283 | 0 | 0 | 0.5 | 0 | 0 | 0.20943 | 0.0625 | 0 | 0 | 0 | 0 | 0.041667 | 1 | 0.041667 | false | 0 | 0.041667 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
91cf8eb769c4f5012cf797672e72ed29f18a344e | 31,526 | py | Python | hackthebox/scripts/reverse-tools/retdec/build/external/src/yaramod-project/tests/python/test_parser.py | fortyfunbobby/security-projects | 1dd908e13acc8725f163fd0b291cef141e54de9d | [
"MIT"
] | 7 | 2017-12-23T04:15:24.000Z | 2019-11-02T15:02:16.000Z | hackthebox/scripts/reverse-tools/retdec/build/external/src/yaramod-project/tests/python/test_parser.py | fortyfunbobby/security-projects | 1dd908e13acc8725f163fd0b291cef141e54de9d | [
"MIT"
] | null | null | null | hackthebox/scripts/reverse-tools/retdec/build/external/src/yaramod-project/tests/python/test_parser.py | fortyfunbobby/security-projects | 1dd908e13acc8725f163fd0b291cef141e54de9d | [
"MIT"
] | 3 | 2017-12-22T13:55:28.000Z | 2018-11-22T01:00:37.000Z | import unittest
import yaramod
class ParserTests(unittest.TestCase):
def test_empty_input(self):
yara_file = yaramod.parse_string('')
self.assertEqual(yara_file.text, '')
def test_empty_rule(self):
yara_file = yaramod.parse_string('''
rule empty_rule {
condition:
true
}''... | 33.467091 | 98 | 0.679059 | 3,591 | 31,526 | 5.792815 | 0.055416 | 0.065378 | 0.069368 | 0.141333 | 0.846505 | 0.812278 | 0.787328 | 0.745025 | 0.718248 | 0.662581 | 0 | 0.014112 | 0.202055 | 31,526 | 941 | 99 | 33.502657 | 0.812808 | 0 | 0 | 0.586115 | 0 | 0 | 0.176553 | 0.020174 | 0 | 0 | 0 | 0 | 0.391188 | 1 | 0.076101 | false | 0 | 0.016021 | 0 | 0.093458 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
37e63fdc4553a4cc1682252a6971c89ff317bfbc | 4,327 | py | Python | auction_unittest.py | scottamoore/auction | e278a5e47591b788d7746f2b34c122bd3e426206 | [
"MIT"
] | null | null | null | auction_unittest.py | scottamoore/auction | e278a5e47591b788d7746f2b34c122bd3e426206 | [
"MIT"
] | null | null | null | auction_unittest.py | scottamoore/auction | e278a5e47591b788d7746f2b34c122bd3e426206 | [
"MIT"
] | null | null | null | import unittest
import utilities as util
class TestAuction(unittest.TestCase):
def test_round_away_from_zero(self):
self.assertEqual(util.round_away_from_zero(5.2), 6.0, "Should be 6.0")
self.assertEqual(util.round_away_from_zero(4.9), 5.0, "Should be 5.0")
self.assertEqual(util.round_awa... | 78.672727 | 117 | 0.604345 | 721 | 4,327 | 3.521498 | 0.130374 | 0.048838 | 0.047263 | 0.214258 | 0.838125 | 0.838125 | 0.758566 | 0.582907 | 0.578574 | 0.578574 | 0 | 0.207484 | 0.240351 | 4,327 | 55 | 118 | 78.672727 | 0.564953 | 0.013866 | 0 | 0 | 0 | 0 | 0.146845 | 0 | 0 | 0 | 0 | 0 | 0.510204 | 1 | 0.061224 | false | 0 | 0.040816 | 0 | 0.122449 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5309f1abae16b5c21a944c5bf420e00974cd9263 | 193 | py | Python | datasets/__init__.py | Tenvence/detection-transformer | f5345607621ed9ae8df7c523f42f4a5deb8d7b3b | [
"Apache-2.0"
] | 1 | 2021-01-06T08:00:11.000Z | 2021-01-06T08:00:11.000Z | datasets/__init__.py | Tenvence/detection-transformer | f5345607621ed9ae8df7c523f42f4a5deb8d7b3b | [
"Apache-2.0"
] | null | null | null | datasets/__init__.py | Tenvence/detection-transformer | f5345607621ed9ae8df7c523f42f4a5deb8d7b3b | [
"Apache-2.0"
] | null | null | null | from .coco_object_detection_test import CocoObjectDetectionTest
from .coco_object_detection_train import CocoObjectDetectionTrain
from .coco_tools import CLASSES, resize_img, pad_img, norm_img
| 48.25 | 65 | 0.891192 | 25 | 193 | 6.48 | 0.6 | 0.148148 | 0.17284 | 0.283951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07772 | 193 | 3 | 66 | 64.333333 | 0.910112 | 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 | 0 | 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 | 6 |
53152a15b68af869622ed132c1e0ba6edf3b8cf8 | 10,003 | py | Python | tests/integrational/asyncio/test_publish.py | natekspencer/pubnub-python | 453ba34104b4067077546d5d9ba3b206559494d1 | [
"MIT"
] | 146 | 2015-01-05T03:14:53.000Z | 2022-03-16T16:51:52.000Z | tests/integrational/asyncio/test_publish.py | natekspencer/pubnub-python | 453ba34104b4067077546d5d9ba3b206559494d1 | [
"MIT"
] | 48 | 2015-01-15T15:27:41.000Z | 2022-03-21T14:17:05.000Z | tests/integrational/asyncio/test_publish.py | natekspencer/pubnub-python | 453ba34104b4067077546d5d9ba3b206559494d1 | [
"MIT"
] | 128 | 2015-01-05T03:40:59.000Z | 2022-03-02T20:50:58.000Z | import logging
import asyncio
import pytest
import pubnub as pn
from unittest.mock import patch
from pubnub.exceptions import PubNubException
from pubnub.models.consumer.common import PNStatus
from pubnub.models.consumer.pubsub import PNPublishResult
from pubnub.pnconfiguration import PNConfiguration
from pubnub.pubn... | 37.464419 | 111 | 0.750275 | 1,286 | 10,003 | 5.532659 | 0.118974 | 0.060717 | 0.061841 | 0.064933 | 0.80773 | 0.799157 | 0.789318 | 0.768377 | 0.743219 | 0.709768 | 0 | 0.004341 | 0.124963 | 10,003 | 266 | 112 | 37.605263 | 0.808523 | 0 | 0 | 0.51 | 0 | 0 | 0.168749 | 0.102269 | 0 | 0 | 0 | 0 | 0.205 | 1 | 0.005 | false | 0.005 | 0.06 | 0 | 0.065 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
534e283887fc6cc4f2fac05e5236af0f54404dda | 25 | py | Python | ops/__init__.py | temi92/epic-kitchens-55-action-models | 40e984bbdcf502539b3569774cb6b5526eb71c3c | [
"Apache-2.0"
] | 62 | 2019-08-05T04:32:47.000Z | 2020-06-11T16:14:16.000Z | ops/__init__.py | temi92/epic-kitchens-55-action-models | 40e984bbdcf502539b3569774cb6b5526eb71c3c | [
"Apache-2.0"
] | 13 | 2019-08-05T11:10:07.000Z | 2020-06-21T21:01:38.000Z | ops/__init__.py | temi92/epic-kitchens-55-action-models | 40e984bbdcf502539b3569774cb6b5526eb71c3c | [
"Apache-2.0"
] | 8 | 2019-08-07T06:28:23.000Z | 2020-04-24T08:58:05.000Z | from .basic_ops import *
| 12.5 | 24 | 0.76 | 4 | 25 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 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 | 0 | 0 | 6 |
7255e6836fd7fd9f9c736b6f8503fecefe95ad63 | 2,941 | py | Python | filemapper/check/checkshowextension.py | AsiganTheSunk/python-multimedia-filemapper | 5daa07c51f3e85df48a0c336633ac150687fe24c | [
"Xnet",
"X11"
] | null | null | null | filemapper/check/checkshowextension.py | AsiganTheSunk/python-multimedia-filemapper | 5daa07c51f3e85df48a0c336633ac150687fe24c | [
"Xnet",
"X11"
] | null | null | null | filemapper/check/checkshowextension.py | AsiganTheSunk/python-multimedia-filemapper | 5daa07c51f3e85df48a0c336633ac150687fe24c | [
"Xnet",
"X11"
] | null | null | null | import re
class CheckShowExtension():
def __init__(self):
self.name = 'CheckShowExtension'
return
def check_show_directory(self, stream, debug=False):
'''
This function checks if the stream it's a show directory returning True, otherwise False
:param stream: It represe... | 41.422535 | 114 | 0.535532 | 316 | 2,941 | 4.886076 | 0.193038 | 0.031088 | 0.05829 | 0.03886 | 0.843912 | 0.843912 | 0.843912 | 0.843912 | 0.843912 | 0.843912 | 0 | 0.009489 | 0.354981 | 2,941 | 70 | 115 | 42.014286 | 0.804428 | 0.253315 | 0 | 0.638298 | 0 | 0.021277 | 0.142648 | 0.065239 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085106 | false | 0 | 0.021277 | 0 | 0.276596 | 0.06383 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
72b83d360d2453d6a068e53dbcc4efff15f9ab5e | 763 | py | Python | test/test_networking_project_ip_associate.py | hyperonecom/h1-client-python | 4ce355852ba3120ec1b8f509ab5894a5c08da730 | [
"MIT"
] | null | null | null | test/test_networking_project_ip_associate.py | hyperonecom/h1-client-python | 4ce355852ba3120ec1b8f509ab5894a5c08da730 | [
"MIT"
] | null | null | null | test/test_networking_project_ip_associate.py | hyperonecom/h1-client-python | 4ce355852ba3120ec1b8f509ab5894a5c08da730 | [
"MIT"
] | null | null | null | """
HyperOne
HyperOne API # noqa: E501
The version of the OpenAPI document: 0.1.0
Generated by: https://openapi-generator.tech
"""
import sys
import unittest
import h1
from h1.model.networking_project_ip_associate import NetworkingProjectIpAssociate
class TestNetworkingProjectIpAssociate(unittes... | 21.194444 | 81 | 0.705111 | 75 | 763 | 7.026667 | 0.653333 | 0.030361 | 0.041746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018395 | 0.216252 | 763 | 35 | 82 | 21.8 | 0.862876 | 0.428571 | 0 | 0.230769 | 1 | 0 | 0.02 | 0 | 0 | 0 | 0 | 0.028571 | 0 | 1 | 0.230769 | false | 0.461538 | 0.307692 | 0 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
72bd20e3644eb2ee25b2ee15fff5baa3b42b3804 | 59 | py | Python | package_eg_test.py | WarWarMyint/Python_exercises | 8823eee6936dece6032c4c5c65f88fb778b7cb94 | [
"MIT"
] | null | null | null | package_eg_test.py | WarWarMyint/Python_exercises | 8823eee6936dece6032c4c5c65f88fb778b7cb94 | [
"MIT"
] | null | null | null | package_eg_test.py | WarWarMyint/Python_exercises | 8823eee6936dece6032c4c5c65f88fb778b7cb94 | [
"MIT"
] | null | null | null | import package_example.ex41
package_example.ex41.convert()
| 19.666667 | 30 | 0.864407 | 8 | 59 | 6.125 | 0.625 | 0.571429 | 0.734694 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.050847 | 59 | 2 | 31 | 29.5 | 0.803571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 6 |
72ef8b79bf3ed905fb8ba8c633551594b15010d4 | 112 | py | Python | challenges/2020/01-reportRepair/python/common.py | codemicro/adventOfCode | 53574532ece1d19e5f5ba2f39e8e183c4c6225a1 | [
"MIT"
] | 9 | 2020-12-06T23:18:30.000Z | 2021-12-19T22:31:26.000Z | challenges/2020/01-reportRepair/python/common.py | codemicro/adventOfCode | 53574532ece1d19e5f5ba2f39e8e183c4c6225a1 | [
"MIT"
] | null | null | null | challenges/2020/01-reportRepair/python/common.py | codemicro/adventOfCode | 53574532ece1d19e5f5ba2f39e8e183c4c6225a1 | [
"MIT"
] | 3 | 2020-12-08T09:45:44.000Z | 2020-12-15T19:20:20.000Z | from typing import List
def parse(instr: str) -> List:
return [int(x) for x in instr.strip().split("\n")]
| 18.666667 | 54 | 0.642857 | 19 | 112 | 3.789474 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 112 | 5 | 55 | 22.4 | 0.791209 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
f4058ccbcdd08b228ff2961182b1bab597fd9165 | 55 | py | Python | testbrdir2/tstfile2.py | indranilabs/pyneta | bf73dcebe48af0507ae70478f9e9d0dc88583f74 | [
"Apache-2.0"
] | null | null | null | testbrdir2/tstfile2.py | indranilabs/pyneta | bf73dcebe48af0507ae70478f9e9d0dc88583f74 | [
"Apache-2.0"
] | null | null | null | testbrdir2/tstfile2.py | indranilabs/pyneta | bf73dcebe48af0507ae70478f9e9d0dc88583f74 | [
"Apache-2.0"
] | null | null | null | print ("Test file in test directory2 in test branch")
| 18.333333 | 53 | 0.745455 | 9 | 55 | 4.555556 | 0.666667 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.181818 | 55 | 2 | 54 | 27.5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.796296 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
f420ea26a253355da8fd087942a3d1bfa9c897eb | 383 | py | Python | example/app_with_dotenv/app.py | kedark3/dynaconf | 91805b8d94093057bdcad051b8f01d6892521850 | [
"MIT"
] | null | null | null | example/app_with_dotenv/app.py | kedark3/dynaconf | 91805b8d94093057bdcad051b8f01d6892521850 | [
"MIT"
] | null | null | null | example/app_with_dotenv/app.py | kedark3/dynaconf | 91805b8d94093057bdcad051b8f01d6892521850 | [
"MIT"
] | null | null | null | from dynaconf import settings
print(settings.MYSQL_HOST) # noqa
print(settings.MYSQL_PASSWD) # noqa
print(settings.EXAMPLE) # noqa # noqa
print(settings.MYSQL_HOST) # noqa
print(settings.MYSQL_PASSWD) # noqa
print(settings.EXAMPLE) # noqa
print(settings.MONEY_VALUE) # noqa
print(settings.BOOL_VALUE) # noqa
pr... | 29.461538 | 39 | 0.767624 | 52 | 383 | 5.519231 | 0.288462 | 0.452962 | 0.533101 | 0.229965 | 0.543554 | 0.543554 | 0.543554 | 0.543554 | 0.543554 | 0.543554 | 0 | 0 | 0.125326 | 383 | 12 | 40 | 31.916667 | 0.856716 | 0.146214 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.181818 | 0.090909 | 0 | 0.090909 | 0.909091 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 6 |
f478d14a3c1d148a060096c480abdbde3e03c3ec | 195 | py | Python | bindings/python/pinocchio/visualize/__init__.py | thanhndv212/pinocchio | 3b4d272bf4e8a231954b71201ee7e0963c944aef | [
"BSD-2-Clause-FreeBSD"
] | 716 | 2015-03-30T16:26:45.000Z | 2022-03-30T12:26:58.000Z | bindings/python/pinocchio/visualize/__init__.py | thanhndv212/pinocchio | 3b4d272bf4e8a231954b71201ee7e0963c944aef | [
"BSD-2-Clause-FreeBSD"
] | 1,130 | 2015-02-21T17:30:44.000Z | 2022-03-30T09:06:22.000Z | bindings/python/pinocchio/visualize/__init__.py | thanhndv212/pinocchio | 3b4d272bf4e8a231954b71201ee7e0963c944aef | [
"BSD-2-Clause-FreeBSD"
] | 239 | 2015-02-05T14:15:14.000Z | 2022-03-14T23:51:47.000Z |
from .base_visualizer import BaseVisualizer
from .gepetto_visualizer import GepettoVisualizer
from .meshcat_visualizer import MeshcatVisualizer
from .panda3d_visualizer import Panda3dVisualizer
| 32.5 | 49 | 0.892308 | 20 | 195 | 8.5 | 0.55 | 0.376471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.087179 | 195 | 5 | 50 | 39 | 0.94382 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f47c8833ef299423ed323fddb74307b52e289322 | 75 | py | Python | Py3DViewer/algorithms/__init__.py | chiarasharp/py3DViewer | c1bcd32f15e648cb7262ae25ae834d47ed9fd00d | [
"MIT"
] | null | null | null | Py3DViewer/algorithms/__init__.py | chiarasharp/py3DViewer | c1bcd32f15e648cb7262ae25ae834d47ed9fd00d | [
"MIT"
] | null | null | null | Py3DViewer/algorithms/__init__.py | chiarasharp/py3DViewer | c1bcd32f15e648cb7262ae25ae834d47ed9fd00d | [
"MIT"
] | 1 | 2020-09-23T13:14:34.000Z | 2020-09-23T13:14:34.000Z | from .smoothing import *
from .cleaning import *
from .subdivision import * | 25 | 26 | 0.773333 | 9 | 75 | 6.444444 | 0.555556 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146667 | 75 | 3 | 26 | 25 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
be4d80b3f9ff555fc147e5b1353e919b532d912b | 71,552 | py | Python | test/integration/pack/test_pack.py | BuildJet/cartridge-cli | 69fa5e3a89d44fd0df8f9e8d4c3fff7ec8e1fb40 | [
"BSD-2-Clause"
] | null | null | null | test/integration/pack/test_pack.py | BuildJet/cartridge-cli | 69fa5e3a89d44fd0df8f9e8d4c3fff7ec8e1fb40 | [
"BSD-2-Clause"
] | null | null | null | test/integration/pack/test_pack.py | BuildJet/cartridge-cli | 69fa5e3a89d44fd0df8f9e8d4c3fff7ec8e1fb40 | [
"BSD-2-Clause"
] | null | null | null | import hashlib
import os
import platform
import re
import shutil
import stat
import subprocess
import tarfile
import pytest
import yaml
from project import (remove_project_file, replace_project_file,
set_and_return_whoami_on_build)
from utils import (Archive, assert_dependencies_deb, assert_depend... | 32.791934 | 120 | 0.658053 | 9,301 | 71,552 | 4.815826 | 0.047414 | 0.046883 | 0.055724 | 0.025719 | 0.818673 | 0.794271 | 0.767659 | 0.744486 | 0.717829 | 0.690838 | 0 | 0.009014 | 0.220148 | 71,552 | 2,181 | 121 | 32.806969 | 0.79371 | 0.031446 | 0 | 0.659348 | 0 | 0.002509 | 0.178556 | 0.02532 | 0 | 0 | 0.000694 | 0 | 0.152447 | 1 | 0.040778 | false | 0.000627 | 0.007528 | 0.000627 | 0.051443 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
be5958f043c430eae0ac4459974d13a5213299b2 | 20 | py | Python | login/login/api/l2/__init__.py | maosplx/L2py | 5d81b2ea150c0096cfce184706fa226950f7f583 | [
"MIT"
] | 7 | 2020-09-01T21:52:37.000Z | 2022-02-25T16:00:08.000Z | login/login/api/l2/__init__.py | maosplx/L2py | 5d81b2ea150c0096cfce184706fa226950f7f583 | [
"MIT"
] | 4 | 2021-09-10T22:15:09.000Z | 2022-03-25T22:17:43.000Z | login/login/api/l2/__init__.py | maosplx/L2py | 5d81b2ea150c0096cfce184706fa226950f7f583 | [
"MIT"
] | 9 | 2020-09-01T21:53:39.000Z | 2022-03-30T12:03:04.000Z | from . import login
| 10 | 19 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 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 | 0 | 0 | 6 |
be7f2bd373934945d98af45a418f252d174fc1b1 | 273 | py | Python | angr/procedures/linux_kernel/getpid.py | mariusmue/angr | f8304c4b1f0097a721a6692b02a45cabaae137c5 | [
"BSD-2-Clause"
] | 2 | 2018-05-02T17:41:36.000Z | 2020-05-18T02:49:16.000Z | angr/procedures/linux_kernel/getpid.py | mariusmue/angr | f8304c4b1f0097a721a6692b02a45cabaae137c5 | [
"BSD-2-Clause"
] | null | null | null | angr/procedures/linux_kernel/getpid.py | mariusmue/angr | f8304c4b1f0097a721a6692b02a45cabaae137c5 | [
"BSD-2-Clause"
] | 1 | 2022-02-10T02:29:38.000Z | 2022-02-10T02:29:38.000Z | import angr
#pylint:disable=arguments-differ
class getpid(angr.SimProcedure):
IS_SYSCALL = True
def run(self):
return self.state.posix.pid
class getppid(angr.SimProcedure):
IS_SYSCALL = True
def run(self):
return self.state.posix.ppid
| 16.058824 | 36 | 0.688645 | 36 | 273 | 5.166667 | 0.583333 | 0.172043 | 0.193548 | 0.268817 | 0.634409 | 0.634409 | 0.634409 | 0.634409 | 0.634409 | 0.634409 | 0 | 0 | 0.216117 | 273 | 16 | 37 | 17.0625 | 0.869159 | 0.113553 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.222222 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
be847d67e5ab9df1f79b47e16012ed397ad230af | 1,028 | py | Python | migrations/versions/016_studies_owners_foreign_keys.py | LCBRU/lbrc_upload | be42fef97b67c1f25329db52ae3a88eb293a1203 | [
"MIT"
] | null | null | null | migrations/versions/016_studies_owners_foreign_keys.py | LCBRU/lbrc_upload | be42fef97b67c1f25329db52ae3a88eb293a1203 | [
"MIT"
] | null | null | null | migrations/versions/016_studies_owners_foreign_keys.py | LCBRU/lbrc_upload | be42fef97b67c1f25329db52ae3a88eb293a1203 | [
"MIT"
] | null | null | null | from sqlalchemy import MetaData, Table, Column, Integer, DateTime, NVARCHAR, String
from migrate.changeset.constraint import ForeignKeyConstraint, UniqueConstraint
meta = MetaData()
def upgrade(migrate_engine):
meta.bind = migrate_engine
studies_owners = Table("studies_owners", meta, autoload=True)
stu... | 30.235294 | 83 | 0.723735 | 131 | 1,028 | 5.496183 | 0.244275 | 0.144444 | 0.133333 | 0.188889 | 0.730556 | 0.730556 | 0.730556 | 0.730556 | 0.730556 | 0.730556 | 0 | 0 | 0.149805 | 1,028 | 33 | 84 | 31.151515 | 0.823799 | 0 | 0 | 0.571429 | 0 | 0 | 0.044747 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.095238 | 0 | 0.190476 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
be8a07a4e1f5180e112682ca9e2955d792f7ef21 | 121 | py | Python | tests/test_utilities.py | ChaseKnowlden/ChainedIterable | 4ad521a881afe8b3b15efc54610ae34809e9953e | [
"MIT"
] | null | null | null | tests/test_utilities.py | ChaseKnowlden/ChainedIterable | 4ad521a881afe8b3b15efc54610ae34809e9953e | [
"MIT"
] | null | null | null | tests/test_utilities.py | ChaseKnowlden/ChainedIterable | 4ad521a881afe8b3b15efc54610ae34809e9953e | [
"MIT"
] | null | null | null | from chained_iterable.utilities import sentinel
def test_sentinel() -> None:
assert repr(sentinel) == "<sentinel>"
| 20.166667 | 47 | 0.735537 | 14 | 121 | 6.214286 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14876 | 121 | 5 | 48 | 24.2 | 0.84466 | 0 | 0 | 0 | 0 | 0 | 0.082645 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fe2d7ff11f98aad47e5c4575fcc5ac55d248f9ba | 43 | py | Python | yumi_gym/envs/__init__.py | Voyager1403/yumi-gym | 1434d20506befa064efabf908218ff3313a1a026 | [
"MIT"
] | 12 | 2020-08-08T12:44:58.000Z | 2021-11-18T01:21:31.000Z | yumi_gym/envs/__init__.py | Voyager1403/yumi-gym | 1434d20506befa064efabf908218ff3313a1a026 | [
"MIT"
] | null | null | null | yumi_gym/envs/__init__.py | Voyager1403/yumi-gym | 1434d20506befa064efabf908218ff3313a1a026 | [
"MIT"
] | 3 | 2020-10-22T04:40:49.000Z | 2021-12-14T12:19:15.000Z | from yumi_gym.envs.yumi_env import YumiEnv
| 21.5 | 42 | 0.860465 | 8 | 43 | 4.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 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 | 0 | 0 | 6 |
fe738a8a46d7b07627cf434b0017e332cc57ad76 | 134 | py | Python | examples/simple_rpc/test_subscribe.py | lristar/vnpy | 8510110ce0587b25e1761af76318497df2a9f9cf | [
"MIT"
] | null | null | null | examples/simple_rpc/test_subscribe.py | lristar/vnpy | 8510110ce0587b25e1761af76318497df2a9f9cf | [
"MIT"
] | null | null | null | examples/simple_rpc/test_subscribe.py | lristar/vnpy | 8510110ce0587b25e1761af76318497df2a9f9cf | [
"MIT"
] | null | null | null | from __future__ import print_function
from __future__ import absolute_import
from time import sleep
from vnpy.rpc import RpcServer
| 16.75 | 38 | 0.850746 | 19 | 134 | 5.473684 | 0.578947 | 0.192308 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141791 | 134 | 7 | 39 | 19.142857 | 0.904348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.25 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fe8ea5be0661d5793bd46e04a9c99f0d1390b2e8 | 8,637 | py | Python | PINN_Survey/problems/poisson_2d_steep/benchmarks.py | roman-amici/PINN_Survey | f98374c4d8adcccb3a468b0904e4b2f2e9d19b90 | [
"MIT"
] | null | null | null | PINN_Survey/problems/poisson_2d_steep/benchmarks.py | roman-amici/PINN_Survey | f98374c4d8adcccb3a468b0904e4b2f2e9d19b90 | [
"MIT"
] | null | null | null | PINN_Survey/problems/poisson_2d_steep/benchmarks.py | roman-amici/PINN_Survey | f98374c4d8adcccb3a468b0904e4b2f2e9d19b90 | [
"MIT"
] | null | null | null | import PINN_Survey.benchmarking.benchmark as benchmark
import PINN_Survey.problems.poisson_2d_steep.v1 as poisson
from PINN_Survey.problems.poisson_2d_steep.data.load import load_poisson_bounds
import numpy as np
import os
import tensorflow as tf
import sys
problem_desc = {
"equation": "Poisson",
"description_... | 31.407273 | 113 | 0.671645 | 1,215 | 8,637 | 4.393416 | 0.093004 | 0.034657 | 0.052454 | 0.023979 | 0.869239 | 0.831585 | 0.779693 | 0.764144 | 0.755152 | 0.755152 | 0 | 0.026655 | 0.218131 | 8,637 | 274 | 114 | 31.521898 | 0.763809 | 0.045502 | 0 | 0.668478 | 0 | 0 | 0.053788 | 0.021612 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027174 | false | 0 | 0.038043 | 0 | 0.065217 | 0.038043 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2284e64d3ca52b78868fb24a25242f218f960419 | 90,595 | py | Python | keras/preprocessing/image_test.py | maybeLee/keras | 793620ae1bdda7e37edd485b034e8962fff57f3e | [
"Apache-2.0"
] | 1 | 2022-03-21T02:42:58.000Z | 2022-03-21T02:42:58.000Z | keras/preprocessing/image_test.py | maybeLee/keras | 793620ae1bdda7e37edd485b034e8962fff57f3e | [
"Apache-2.0"
] | 1 | 2022-03-31T16:40:51.000Z | 2022-03-31T16:40:51.000Z | keras/preprocessing/image_test.py | maybeLee/keras | 793620ae1bdda7e37edd485b034e8962fff57f3e | [
"Apache-2.0"
] | null | null | null | # Copyright 2016 The TensorFlow 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 applica... | 36.471417 | 80 | 0.649352 | 11,792 | 90,595 | 4.757802 | 0.049016 | 0.01925 | 0.020212 | 0.01417 | 0.842257 | 0.799408 | 0.77064 | 0.737256 | 0.703836 | 0.680397 | 0 | 0.029039 | 0.233313 | 90,595 | 2,483 | 81 | 36.486106 | 0.778701 | 0.07368 | 0 | 0.697201 | 0 | 0 | 0.036782 | 0.002319 | 0 | 0 | 0 | 0 | 0.166921 | 1 | 0.029517 | false | 0 | 0.008651 | 0 | 0.04631 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fe07949106c370c9d0d93ca72c2f857db13060d8 | 179 | py | Python | BitTorrent-5.2.2/BitTorrent/TorrentPolicy.py | jpabb7/p2pScrapper | 0fd57049606864223eb45f956a58adda1231af88 | [
"MIT"
] | 4 | 2016-04-26T03:43:54.000Z | 2016-11-17T08:09:04.000Z | BitTorrent-5.2.2/BitTorrent/TorrentPolicy.py | jpabb7/p2pScrapper | 0fd57049606864223eb45f956a58adda1231af88 | [
"MIT"
] | 17 | 2015-01-05T21:06:22.000Z | 2015-12-07T20:45:44.000Z | BitTorrent-5.2.2/BitTorrent/TorrentPolicy.py | jpabb7/p2pScrapper | 0fd57049606864223eb45f956a58adda1231af88 | [
"MIT"
] | 7 | 2015-07-28T09:17:17.000Z | 2021-11-07T02:29:41.000Z | from BitTorrent.Torrent import Feedback
class Policy(Feedback):
def __init__(self, multitorrent):
self.multitorrent = multitorrent
def butle(self):
pass
| 19.888889 | 40 | 0.698324 | 19 | 179 | 6.368421 | 0.684211 | 0.264463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22905 | 179 | 8 | 41 | 22.375 | 0.876812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
fe143358336794dada164496687316422b31a735 | 174 | py | Python | waio/rules/abc.py | dotX12/waio | 6bc41df2d650f31fdb11a1a2b67c6149afa0e11a | [
"MIT"
] | 24 | 2021-11-08T13:37:05.000Z | 2022-03-24T12:49:54.000Z | waio/rules/abc.py | dotX12/waio | 6bc41df2d650f31fdb11a1a2b67c6149afa0e11a | [
"MIT"
] | 1 | 2022-01-19T03:11:58.000Z | 2022-01-19T03:13:30.000Z | waio/rules/abc.py | dotX12/waio | 6bc41df2d650f31fdb11a1a2b67c6149afa0e11a | [
"MIT"
] | 5 | 2021-11-11T04:11:12.000Z | 2022-02-15T10:41:58.000Z | from abc import ABC, abstractmethod
from typing import Union
class ABCRule(ABC):
@abstractmethod
async def check(self, message) -> Union[dict, bool]:
pass
| 17.4 | 56 | 0.695402 | 22 | 174 | 5.5 | 0.727273 | 0.280992 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224138 | 174 | 9 | 57 | 19.333333 | 0.896296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
a3b3ab048b8c014fdb1bfaaba4d03cf6c9546422 | 249 | py | Python | pirates/leveleditor/worldData/testIsle.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 81 | 2018-04-08T18:14:24.000Z | 2022-01-11T07:22:15.000Z | pirates/leveleditor/worldData/testIsle.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 4 | 2018-09-13T20:41:22.000Z | 2022-01-08T06:57:00.000Z | pirates/leveleditor/worldData/testIsle.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 26 | 2018-05-26T12:49:27.000Z | 2021-09-11T09:11:59.000Z | from pandac.PandaModules import Point3, VBase3
objectStruct = {'Objects': {'1114124071.42jubutler': {'Type': 'Island','Name': 'testIsle','Objects': {}}},'Node Links': [],'ObjectIds': {'1114124071.42jubutler': '["Objects"]["1114124071.42jubutler"]'}} | 124.5 | 202 | 0.694779 | 23 | 249 | 7.521739 | 0.73913 | 0.346821 | 0.312139 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16309 | 0.064257 | 249 | 2 | 202 | 124.5 | 0.579399 | 0 | 0 | 0 | 0 | 0 | 0.532 | 0.312 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a3b6edcf98b5ebec85fdbe8e7202a43f64f09521 | 140 | py | Python | bin/__init__.py | chenyang582/pingtai | c009141a6e98712ed1803a74c27b6dbbc10c446c | [
"Unlicense"
] | null | null | null | bin/__init__.py | chenyang582/pingtai | c009141a6e98712ed1803a74c27b6dbbc10c446c | [
"Unlicense"
] | null | null | null | bin/__init__.py | chenyang582/pingtai | c009141a6e98712ed1803a74c27b6dbbc10c446c | [
"Unlicense"
] | null | null | null | from companytax.addedtax import addedtax, additional
from companytax.business import business_income_tax
from companytax.stamp import stamp
| 35 | 52 | 0.878571 | 18 | 140 | 6.722222 | 0.5 | 0.347107 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092857 | 140 | 3 | 53 | 46.666667 | 0.952756 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a3ba76c5a707bb22b80f9f88e22872816fbbc61e | 44 | py | Python | udidata/load/__init__.py | udiy/udidata | 8c3d5855532321e51b47a30dcf409e700f04d675 | [
"MIT"
] | null | null | null | udidata/load/__init__.py | udiy/udidata | 8c3d5855532321e51b47a30dcf409e700f04d675 | [
"MIT"
] | null | null | null | udidata/load/__init__.py | udiy/udidata | 8c3d5855532321e51b47a30dcf409e700f04d675 | [
"MIT"
] | null | null | null | from .raw import day, days
from . import agg | 22 | 26 | 0.75 | 8 | 44 | 4.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 27 | 22 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 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 | 0 | 0 | 6 |
4312f7b6830da3c244c6005e51440e4ccb019ccb | 3,488 | py | Python | python/mssql_c.py | mabangde/pentesttools | 0db14c490e62d5db4b184c46e0af2d2f8c1861f2 | [
"Linux-OpenIB"
] | 142 | 2019-09-09T01:34:31.000Z | 2022-01-21T14:24:22.000Z | python/mssql_c.py | gcxtx/pentesttools | 28cf92c4e2742dd260d40c149614daa022bad8ec | [
"Linux-OpenIB"
] | null | null | null | python/mssql_c.py | gcxtx/pentesttools | 28cf92c4e2742dd260d40c149614daa022bad8ec | [
"Linux-OpenIB"
] | 39 | 2019-09-09T02:03:07.000Z | 2022-03-22T03:22:19.000Z | # coding:utf-8
import socket
import binascii
def auth(host, port, username, password, timeout):
try:
socket.setdefaulttimeout(timeout)
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.connect((host, port))
hh = binascii.b2a_hex(host)
husername = binascii.b2a_hex... | 57.180328 | 1,193 | 0.706709 | 288 | 3,488 | 8.472222 | 0.361111 | 0.02582 | 0.028689 | 0.014754 | 0.056557 | 0 | 0 | 0 | 0 | 0 | 0 | 0.442913 | 0.188933 | 3,488 | 60 | 1,194 | 58.133333 | 0.419583 | 0.00344 | 0 | 0.145455 | 0 | 0 | 0.384571 | 0.338515 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0.218182 | 0.036364 | null | null | 0.018182 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
431b9c05591a0a90f3db4a75e11f375c637c7535 | 41 | py | Python | devilry/devilry_frontpage/tests/__init__.py | aless80/devilry-django | 416c262e75170d5662542f15e2d7fecf5ab84730 | [
"BSD-3-Clause"
] | 29 | 2015-01-18T22:56:23.000Z | 2020-11-10T21:28:27.000Z | devilry/devilry_frontpage/tests/__init__.py | aless80/devilry-django | 416c262e75170d5662542f15e2d7fecf5ab84730 | [
"BSD-3-Clause"
] | 786 | 2015-01-06T16:10:18.000Z | 2022-03-16T11:10:50.000Z | devilry/devilry_frontpage/tests/__init__.py | aless80/devilry-django | 416c262e75170d5662542f15e2d7fecf5ab84730 | [
"BSD-3-Clause"
] | 15 | 2015-04-06T06:18:43.000Z | 2021-02-24T12:28:30.000Z | from .test_frontpage import TestFrontpage | 41 | 41 | 0.902439 | 5 | 41 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 1 | 41 | 41 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 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 | 0 | 0 | 6 |
4325719551dc392cdf39da74ce8613e2dd6db7a8 | 27,369 | py | Python | openmoc/plotter.py | luisarose/OpenMOC | 0617c22c0e0aee32c6c972000f8b399f6c53a51f | [
"MIT"
] | null | null | null | openmoc/plotter.py | luisarose/OpenMOC | 0617c22c0e0aee32c6c972000f8b399f6c53a51f | [
"MIT"
] | null | null | null | openmoc/plotter.py | luisarose/OpenMOC | 0617c22c0e0aee32c6c972000f8b399f6c53a51f | [
"MIT"
] | null | null | null | #
# @file plotter.py
# @package openmoc.plotter
# @brief The plotter module provides utility functions to plot data from
# OpenMOCs C++ classes, in particular, the geomery, including Material,
# Cells and flat source regions, and fluxes and pin powers.
# @author William Boyd (wboyd@mit.edu)
# @date March ... | 34.909439 | 80 | 0.69312 | 3,824 | 27,369 | 4.89749 | 0.09022 | 0.017087 | 0.022213 | 0.032465 | 0.8184 | 0.794052 | 0.786202 | 0.774936 | 0.758917 | 0.755446 | 0 | 0.005016 | 0.213234 | 27,369 | 783 | 81 | 34.954023 | 0.864719 | 0.34751 | 0 | 0.630769 | 0 | 0 | 0.226502 | 0.001305 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020513 | false | 0 | 0.030769 | 0 | 0.051282 | 0.102564 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
432c899c7eda472e8f7ec407d8010c57f32aca30 | 37 | py | Python | backend/metric/ulca-metric-api/src/routes/__init__.py | agupta54/ulca | c1f570ac254ce2ac73f40c49716458f4f7cbaee2 | [
"MIT"
] | 3 | 2022-01-12T06:51:51.000Z | 2022-02-23T18:54:33.000Z | backend/metric/ulca-metric-api/src/routes/__init__.py | agupta54/ulca | c1f570ac254ce2ac73f40c49716458f4f7cbaee2 | [
"MIT"
] | 6 | 2021-08-31T19:21:26.000Z | 2022-01-03T05:53:42.000Z | backend/metric/ulca-metric-api/src/routes/__init__.py | agupta54/ulca | c1f570ac254ce2ac73f40c49716458f4f7cbaee2 | [
"MIT"
] | 8 | 2021-08-12T08:07:49.000Z | 2022-01-25T04:40:51.000Z | from .dataset import CORPUS_BLUEPRINT | 37 | 37 | 0.891892 | 5 | 37 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 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 | 0 | 0 | 6 |
4a708a1e4a8bc0110c08fe58166f3a2494a78f51 | 174 | py | Python | Osnove/5_1Integeri.py | Smajkan/PythonUcenjePonovo | 00982fb4caacb35ed11748dcc471f26257c8e5ed | [
"CC0-1.0"
] | null | null | null | Osnove/5_1Integeri.py | Smajkan/PythonUcenjePonovo | 00982fb4caacb35ed11748dcc471f26257c8e5ed | [
"CC0-1.0"
] | null | null | null | Osnove/5_1Integeri.py | Smajkan/PythonUcenjePonovo | 00982fb4caacb35ed11748dcc471f26257c8e5ed | [
"CC0-1.0"
] | null | null | null | w = 105
x = 78658965235632
y = -256
z = 0b00110011
print(type(w)) # <class 'int'>
print(type(x)) # <class 'int'>
print(type(y)) # <class 'int'>
print(type(z)) # <class 'int'> | 21.75 | 30 | 0.609195 | 28 | 174 | 3.785714 | 0.428571 | 0.339623 | 0.367925 | 0.481132 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197279 | 0.155172 | 174 | 8 | 31 | 21.75 | 0.52381 | 0.316092 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
43af17078748cc4d01fa175c6b4ff2fb2c115835 | 5,304 | py | Python | dfirtrack_api/tests/dfirtrack_main/contact/test_contact_api_views.py | thomas-kropeit/dfirtrack | b1e0e659af7bc8085cfe2d269ddc651f9f4ba585 | [
"Apache-2.0"
] | 273 | 2018-04-18T22:09:15.000Z | 2021-06-04T09:15:48.000Z | dfirtrack_api/tests/dfirtrack_main/contact/test_contact_api_views.py | stuhli/dfirtrack | 9260c91e4367b36d4cb1ae7efe4e2d2452f58e6e | [
"Apache-2.0"
] | 75 | 2018-08-31T11:05:37.000Z | 2021-06-08T14:15:07.000Z | dfirtrack_api/tests/dfirtrack_main/contact/test_contact_api_views.py | thomas-kropeit/dfirtrack | b1e0e659af7bc8085cfe2d269ddc651f9f4ba585 | [
"Apache-2.0"
] | 61 | 2018-11-12T22:55:48.000Z | 2021-06-06T15:16:16.000Z | import urllib.parse
from django.contrib.auth.models import User
from django.test import TestCase
from dfirtrack_main.models import Contact
class ContactAPIViewTestCase(TestCase):
"""contact API view tests"""
@classmethod
def setUpTestData(cls):
# create object
Contact.objects.create(
... | 31.571429 | 76 | 0.609163 | 550 | 5,304 | 5.64 | 0.154545 | 0.090264 | 0.06383 | 0.075435 | 0.840103 | 0.824952 | 0.775951 | 0.74178 | 0.654094 | 0.639265 | 0 | 0.020365 | 0.287142 | 5,304 | 167 | 77 | 31.760479 | 0.800053 | 0.129148 | 0 | 0.427083 | 0 | 0 | 0.154899 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 1 | 0.104167 | false | 0.083333 | 0.041667 | 0 | 0.15625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
43b3d474bafc0dec3424fc4e313c82f6853addbd | 26 | py | Python | terrascript/cloudstack/__init__.py | vfoucault/python-terrascript | fe82b3d7e79ffa72b7871538f999828be0a115d0 | [
"BSD-2-Clause"
] | null | null | null | terrascript/cloudstack/__init__.py | vfoucault/python-terrascript | fe82b3d7e79ffa72b7871538f999828be0a115d0 | [
"BSD-2-Clause"
] | null | null | null | terrascript/cloudstack/__init__.py | vfoucault/python-terrascript | fe82b3d7e79ffa72b7871538f999828be0a115d0 | [
"BSD-2-Clause"
] | null | null | null | """2017-11-28 18:07:11"""
| 13 | 25 | 0.538462 | 6 | 26 | 2.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.583333 | 0.076923 | 26 | 1 | 26 | 26 | 0 | 0.730769 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
78f2f0c0a4c4531dad253f6ce171fb30293965cf | 207 | py | Python | games/management/commands/update_switch_eu_age_tag.py | JeffersonBC/eshop-index-back | 66a11ad2ee86b9cd4dd49bcb34f676db3281153b | [
"MIT"
] | null | null | null | games/management/commands/update_switch_eu_age_tag.py | JeffersonBC/eshop-index-back | 66a11ad2ee86b9cd4dd49bcb34f676db3281153b | [
"MIT"
] | null | null | null | games/management/commands/update_switch_eu_age_tag.py | JeffersonBC/eshop-index-back | 66a11ad2ee86b9cd4dd49bcb34f676db3281153b | [
"MIT"
] | null | null | null | from django.core.management.base import BaseCommand
from games.tasks import update_switch_eu_age_tag
class Command(BaseCommand):
def handle(self, *args, **options):
update_switch_eu_age_tag()
| 23 | 51 | 0.772947 | 29 | 207 | 5.241379 | 0.724138 | 0.157895 | 0.184211 | 0.223684 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144928 | 207 | 8 | 52 | 25.875 | 0.858757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
78fc328976c41db2f6d2dd4c1fa8c2aad06e410e | 1,292 | py | Python | TrekBot2_WS/build/robot_localization/catkin_generated/pkg.develspace.context.pc.py | Rafcin/TrekBot | d3dc63e6c16a040b16170f143556ef358018b7da | [
"Unlicense"
] | 1 | 2019-11-07T08:06:26.000Z | 2019-11-07T08:06:26.000Z | TrekBot2_WS/build/robot_localization/catkin_generated/pkg.develspace.context.pc.py | Rafcin/TrekBot | d3dc63e6c16a040b16170f143556ef358018b7da | [
"Unlicense"
] | null | null | null | TrekBot2_WS/build/robot_localization/catkin_generated/pkg.develspace.context.pc.py | Rafcin/TrekBot | d3dc63e6c16a040b16170f143556ef358018b7da | [
"Unlicense"
] | null | null | null | # generated from catkin/cmake/template/pkg.context.pc.in
CATKIN_PACKAGE_PREFIX = ""
PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/xavier_ssd/TrekBot/TrekBot2_WS/devel/.private/robot_localization/include;/xavier_ssd/TrekBot/TrekBot2_WS/src/robot_localization/include;/usr/include/eigen3".split(';') if "/xavier_ssd/TrekBot/TrekBot2... | 143.555556 | 418 | 0.839783 | 173 | 1,292 | 5.872832 | 0.427746 | 0.133858 | 0.07874 | 0.11811 | 0.595472 | 0.595472 | 0.595472 | 0.595472 | 0.595472 | 0.541339 | 0 | 0.010375 | 0.030186 | 1,292 | 8 | 419 | 161.5 | 0.800479 | 0.041796 | 0 | 0 | 1 | 0.714286 | 0.782362 | 0.760518 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6021e149d392d8eb7591d2cb7ba987a8fdf5b43a | 43 | py | Python | ksmi/__main__.py | AM1ALI/kairos-smi | 743a61ef538e416ed63085d9177e5c5c72de869d | [
"MIT"
] | 23 | 2019-04-10T04:02:48.000Z | 2022-03-24T09:06:06.000Z | ksmi/__main__.py | AM1ALI/kairos-smi | 743a61ef538e416ed63085d9177e5c5c72de869d | [
"MIT"
] | 14 | 2019-04-08T06:53:41.000Z | 2019-09-19T04:46:47.000Z | ksmi/__main__.py | AM1ALI/kairos-smi | 743a61ef538e416ed63085d9177e5c5c72de869d | [
"MIT"
] | 7 | 2019-04-10T09:07:33.000Z | 2022-03-03T05:13:53.000Z | from . import kairos_smi
kairos_smi.main() | 14.333333 | 24 | 0.790698 | 7 | 43 | 4.571429 | 0.714286 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 3 | 25 | 14.333333 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 6 |
60b85db5507a5369bab269c9e53d4cb5ba17b4ef | 11,391 | py | Python | e2e_tests/tests/nightly/test_convergence.py | stoksc/determined | bab2337b0a7541362e5fb6f02c72fc6e2a6f1262 | [
"Apache-2.0"
] | null | null | null | e2e_tests/tests/nightly/test_convergence.py | stoksc/determined | bab2337b0a7541362e5fb6f02c72fc6e2a6f1262 | [
"Apache-2.0"
] | null | null | null | e2e_tests/tests/nightly/test_convergence.py | stoksc/determined | bab2337b0a7541362e5fb6f02c72fc6e2a6f1262 | [
"Apache-2.0"
] | null | null | null | import pytest
from tests import config as conf
from tests import experiment as exp
@pytest.mark.nightly # type: ignore
def test_mnist_pytorch_accuracy() -> None:
config = conf.load_config(conf.tutorials_path("mnist_pytorch/const.yaml"))
experiment_id = exp.run_basic_test_with_temp_config(
config, co... | 36.62701 | 100 | 0.692301 | 1,375 | 11,391 | 5.419636 | 0.068364 | 0.077295 | 0.05475 | 0.037574 | 0.946189 | 0.933038 | 0.920424 | 0.914654 | 0.862185 | 0.839238 | 0 | 0.014172 | 0.194715 | 11,391 | 310 | 101 | 36.745161 | 0.798212 | 0.013607 | 0 | 0.536 | 0 | 0 | 0.242716 | 0.059075 | 0 | 0 | 0 | 0 | 0.048 | 1 | 0.048 | false | 0 | 0.012 | 0 | 0.06 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
60f5662fd710f20d899c783f2f97084aa51c5cba | 43 | py | Python | installer/whimbrel/install/cfg/__init__.py | groboclown/whimbrel | 1968cccf4888ef893686a812ed729205a31d2a12 | [
"Apache-2.0"
] | null | null | null | installer/whimbrel/install/cfg/__init__.py | groboclown/whimbrel | 1968cccf4888ef893686a812ed729205a31d2a12 | [
"Apache-2.0"
] | null | null | null | installer/whimbrel/install/cfg/__init__.py | groboclown/whimbrel | 1968cccf4888ef893686a812ed729205a31d2a12 | [
"Apache-2.0"
] | null | null | null |
from .config import read_config, Config | 14.333333 | 39 | 0.767442 | 6 | 43 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 3 | 39 | 14.333333 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 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 | 0 | 0 | 6 |
88098d479b7520dec3c608673f390512cf9d3188 | 37,210 | py | Python | veros/core/friction.py | AkasDutta/veros | 9f530596a0148a398829050017de3e01a71261a0 | [
"MIT"
] | 115 | 2019-11-23T02:31:30.000Z | 2022-03-29T12:58:30.000Z | veros/core/friction.py | AkasDutta/veros | 9f530596a0148a398829050017de3e01a71261a0 | [
"MIT"
] | 207 | 2019-11-21T13:21:22.000Z | 2022-03-31T23:36:09.000Z | veros/core/friction.py | AkasDutta/veros | 9f530596a0148a398829050017de3e01a71261a0 | [
"MIT"
] | 21 | 2020-01-28T13:13:39.000Z | 2022-02-02T13:46:33.000Z | from veros.core.operators import numpy as npx
from veros import veros_routine, veros_kernel, KernelOutput
from veros.variables import allocate
from veros.core import numerics, utilities, isoneutral
from veros.core.operators import update, update_add, at
@veros_kernel
def explicit_vert_friction(state):
"""
ex... | 36.267057 | 120 | 0.479092 | 5,411 | 37,210 | 3.168176 | 0.032526 | 0.159832 | 0.021525 | 0.081666 | 0.920142 | 0.894184 | 0.879718 | 0.860759 | 0.840926 | 0.804877 | 0 | 0.056392 | 0.30946 | 37,210 | 1,025 | 121 | 36.302439 | 0.61078 | 0.019188 | 0 | 0.697044 | 0 | 0 | 0.003774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011084 | false | 0 | 0.006158 | 0 | 0.027094 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7154a03740b029ee473ef23c8eb6715a29c52e1a | 8,887 | py | Python | tests/test_models_GAN1v1.py | unit8co/vegans | 46ceebe917c3a58fec7a87644c3945a148cfc7c9 | [
"MIT"
] | 459 | 2019-01-30T17:04:40.000Z | 2022-03-23T08:28:24.000Z | tests/test_models_GAN1v1.py | unit8co/vegans | 46ceebe917c3a58fec7a87644c3945a148cfc7c9 | [
"MIT"
] | 7 | 2019-01-31T03:58:31.000Z | 2021-12-14T15:30:28.000Z | tests/test_models_GAN1v1.py | unit8co/vegans | 46ceebe917c3a58fec7a87644c3945a148cfc7c9 | [
"MIT"
] | 34 | 2019-01-30T18:20:33.000Z | 2022-01-25T06:24:26.000Z | import torch
import pytest
import numpy as np
from vegans.GAN import (
KLGAN,
LSGAN,
VanillaGAN,
WassersteinGAN,
WassersteinGANGP
)
from vegans.utils.layers import LayerReshape
networks = [
(KLGAN, torch.nn.Sigmoid),
(LSGAN, torch.nn.Sigmoid),
(VanillaGAN, torch.nn.Sigmoid),
(Wass... | 36.126016 | 119 | 0.667717 | 1,286 | 8,887 | 4.328149 | 0.09409 | 0.067912 | 0.043119 | 0.053899 | 0.815846 | 0.805426 | 0.794646 | 0.789256 | 0.775602 | 0.766978 | 0 | 0.033113 | 0.201418 | 8,887 | 245 | 120 | 36.273469 | 0.751162 | 0 | 0 | 0.552764 | 0 | 0 | 0.090919 | 0 | 0 | 0 | 0 | 0 | 0.090452 | 1 | 0.055276 | false | 0 | 0.025126 | 0 | 0.095477 | 0.030151 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
71b1c1871d22eabc4eef0c94106fab455ccb344a | 172 | py | Python | sdt_metrics/plotting/__init__.py | bollaking/sdt-metrics | 2132801c36e69102d5c7a042062ba80535cef0f1 | [
"BSD-3-Clause"
] | null | null | null | sdt_metrics/plotting/__init__.py | bollaking/sdt-metrics | 2132801c36e69102d5c7a042062ba80535cef0f1 | [
"BSD-3-Clause"
] | null | null | null | sdt_metrics/plotting/__init__.py | bollaking/sdt-metrics | 2132801c36e69102d5c7a042062ba80535cef0f1 | [
"BSD-3-Clause"
] | null | null | null | from ._poc_plot import poc_plot
from ._roc_plot import roc_plot
from ._mult_roc_plot import mult_roc_plot
from ._metric_validation_plot import metric_validation_plot
| 28.666667 | 60 | 0.848837 | 28 | 172 | 4.642857 | 0.285714 | 0.307692 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127907 | 172 | 5 | 61 | 34.4 | 0.866667 | 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 | 0 | 0 | 0 | 6 |
08ff575d4314684a7aa50aeafc9ee4570e5e9049 | 77 | py | Python | generalvector/__init__.py | ManderaGeneral/generalvector | f604fbe5c5f006f0ccdcb67b64e7ecfc615efc40 | [
"MIT"
] | null | null | null | generalvector/__init__.py | ManderaGeneral/generalvector | f604fbe5c5f006f0ccdcb67b64e7ecfc615efc40 | [
"MIT"
] | null | null | null | generalvector/__init__.py | ManderaGeneral/generalvector | f604fbe5c5f006f0ccdcb67b64e7ecfc615efc40 | [
"MIT"
] | null | null | null |
from generalvector.vector2 import Vec2
from generalvector.vector import Vec
| 19.25 | 38 | 0.857143 | 10 | 77 | 6.6 | 0.7 | 0.515152 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.116883 | 77 | 3 | 39 | 25.666667 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1c2a34111efada0faf97590e8caac71b57f54288 | 107 | py | Python | FRETlines/models/__init__.py | AndersBarth/FRETlines | 40701c8d5ee1f0639e3e3c0e2eae1c3b77ba63d7 | [
"MIT"
] | null | null | null | FRETlines/models/__init__.py | AndersBarth/FRETlines | 40701c8d5ee1f0639e3e3c0e2eae1c3b77ba63d7 | [
"MIT"
] | null | null | null | FRETlines/models/__init__.py | AndersBarth/FRETlines | 40701c8d5ee1f0639e3e3c0e2eae1c3b77ba63d7 | [
"MIT"
] | null | null | null | from .distance_distributions import normal_distribution, chi_distribution, worm_like_chain, gaussian_chain
| 53.5 | 106 | 0.897196 | 13 | 107 | 6.923077 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065421 | 107 | 1 | 107 | 107 | 0.9 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1c371aabba46c58425637f54217fa76dc4623b54 | 262 | py | Python | lopy4_firmware/lib/lorakeys.py | dnear1/smarterbham | 864215844e1017366c69b6c77119476d50c2e7c1 | [
"MIT"
] | 3 | 2020-01-03T18:24:19.000Z | 2020-06-06T22:38:34.000Z | lopy4_firmware/lib/lorakeys.py | alyssafrost/smarterbham | 6e5878ded0c31b418b2b3dfd561746e6b9e31da6 | [
"MIT"
] | 3 | 2019-07-06T16:50:46.000Z | 2020-03-26T21:28:56.000Z | lopy4_firmware/lib/lorakeys.py | alyssafrost/smarterbham | 6e5878ded0c31b418b2b3dfd561746e6b9e31da6 | [
"MIT"
] | 4 | 2020-02-13T02:39:14.000Z | 2020-06-06T22:38:21.000Z | #store Lora OTAA keys here - but don't back this up to Github
import struct
import ubinascii
_dev_eui = ubinascii.unhexlify('0000000000000000')
_app_eui = ubinascii.unhexlify('0000000000000000')
_app_key = ubinascii.unhexlify('00000000000000000000000000000000')
| 37.428571 | 66 | 0.820611 | 32 | 262 | 6.53125 | 0.71875 | 0.258373 | 0.200957 | 0.354067 | 0.382775 | 0 | 0 | 0 | 0 | 0 | 0 | 0.271186 | 0.099237 | 262 | 6 | 67 | 43.666667 | 0.614407 | 0.229008 | 0 | 0 | 0 | 0 | 0.318408 | 0.159204 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1c799406c58f10bb5fc7fb020fb0488c035008c0 | 1,408 | py | Python | src/qilib/configuration_helper/adapters/__init__.py | QuTech-Delft/qilib | a87892f8a9977ed338c36e8fb1e262b47449cf44 | [
"MIT"
] | 1 | 2019-02-20T16:56:30.000Z | 2019-02-20T16:56:30.000Z | src/qilib/configuration_helper/adapters/__init__.py | QuTech-Delft/qilib | a87892f8a9977ed338c36e8fb1e262b47449cf44 | [
"MIT"
] | 22 | 2019-02-16T06:10:55.000Z | 2022-02-15T18:52:34.000Z | src/qilib/configuration_helper/adapters/__init__.py | QuTech-Delft/qilib | a87892f8a9977ed338c36e8fb1e262b47449cf44 | [
"MIT"
] | 2 | 2020-02-04T08:46:21.000Z | 2020-10-18T16:31:58.000Z | from qilib.configuration_helper.adapters.common_instrument_adapter import CommonInstrumentAdapter
from qilib.configuration_helper.adapters.read_only_configuration_instrument_adapter import ReadOnlyConfigurationInstrumentAdapter
from qilib.configuration_helper.adapters.ami430_instrument_adapter import AMI430InstrumentAd... | 93.866667 | 129 | 0.930398 | 145 | 1,408 | 8.710345 | 0.275862 | 0.099762 | 0.243864 | 0.310372 | 0.4038 | 0.061758 | 0 | 0 | 0 | 0 | 0 | 0.025148 | 0.039773 | 1,408 | 14 | 130 | 100.571429 | 0.909024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
98d7d9af22a39d9ec97e21f369dc885e488bef94 | 96 | py | Python | venv/lib/python3.8/site-packages/virtualenv/create/via_global_ref/builtin/pypy/pypy2.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/virtualenv/create/via_global_ref/builtin/pypy/pypy2.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/virtualenv/create/via_global_ref/builtin/pypy/pypy2.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/92/2c/4e/e77232d5a6f4f8a28f584b901091e858490a5e30352e95480619f3f02f | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.489583 | 0 | 96 | 1 | 96 | 96 | 0.40625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c755c1872ae2a5a320e90798a2f9b4404ce2058c | 30 | py | Python | addons/event_sale/tests/__init__.py | jjiege/odoo | fd5b8ad387c1881f349d125cbd56433f4d49398f | [
"MIT"
] | null | null | null | addons/event_sale/tests/__init__.py | jjiege/odoo | fd5b8ad387c1881f349d125cbd56433f4d49398f | [
"MIT"
] | null | null | null | addons/event_sale/tests/__init__.py | jjiege/odoo | fd5b8ad387c1881f349d125cbd56433f4d49398f | [
"MIT"
] | null | null | null | from . import test_event_sale
| 15 | 29 | 0.833333 | 5 | 30 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 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 | 0 | 0 | 6 |
c764bd20ab5846f9ce020d099ef333b345a85b53 | 11,265 | py | Python | multi_stylegan/equalized_layer.py | ChristophReich1996/Multi-StyleGAN | 988f2dfea85b3205126b40c61edfb28107eb3173 | [
"MIT"
] | 7 | 2021-07-22T07:28:33.000Z | 2022-01-18T11:05:16.000Z | multi_stylegan/equalized_layer.py | ChristophReich1996/Multi-StyleGAN | 988f2dfea85b3205126b40c61edfb28107eb3173 | [
"MIT"
] | null | null | null | multi_stylegan/equalized_layer.py | ChristophReich1996/Multi-StyleGAN | 988f2dfea85b3205126b40c61edfb28107eb3173 | [
"MIT"
] | 1 | 2022-01-03T07:23:41.000Z | 2022-01-03T07:23:41.000Z | from typing import Union, Tuple
import torch
import torch.nn as nn
import torch.nn.functional as F
import numpy as np
class EqualizedConv2d(nn.Module):
"""
Implementation of a 2d equalized Convolution
"""
def __init__(self, in_channels: int, out_channels: int, kernel_size: Union[int, Tuple[int, int]... | 40.521583 | 120 | 0.591833 | 1,339 | 11,265 | 4.846901 | 0.0941 | 0.049307 | 0.030046 | 0.029584 | 0.857165 | 0.848536 | 0.82265 | 0.807858 | 0.798151 | 0.777966 | 0 | 0.009019 | 0.291345 | 11,265 | 277 | 121 | 40.66787 | 0.803958 | 0.250333 | 0 | 0.635714 | 0 | 0 | 0.029583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.035714 | 0 | 0.235714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c765704a3f7bc3fbcbbdfd965e0761486c77cd76 | 884 | py | Python | cupyx/scipy/special/__init__.py | andersk/cupy | c73a325dd034ee9abfac2c4af11aa9107ec89042 | [
"MIT"
] | 2 | 2020-02-28T09:27:58.000Z | 2020-10-12T07:10:24.000Z | cupyx/scipy/special/__init__.py | andersk/cupy | c73a325dd034ee9abfac2c4af11aa9107ec89042 | [
"MIT"
] | 1 | 2019-08-05T09:36:13.000Z | 2019-08-06T12:03:01.000Z | cupyx/scipy/special/__init__.py | andersk/cupy | c73a325dd034ee9abfac2c4af11aa9107ec89042 | [
"MIT"
] | 1 | 2022-03-24T13:19:55.000Z | 2022-03-24T13:19:55.000Z | from cupyx.scipy.special.bessel import i0 # NOQA
from cupyx.scipy.special.bessel import i1 # NOQA
from cupyx.scipy.special.bessel import j0 # NOQA
from cupyx.scipy.special.bessel import j1 # NOQA
from cupyx.scipy.special.bessel import y0 # NOQA
from cupyx.scipy.special.bessel import y1 # NOQA
from cupyx.scipy.sp... | 40.181818 | 59 | 0.783937 | 136 | 884 | 5.095588 | 0.183824 | 0.220779 | 0.343434 | 0.515152 | 0.776335 | 0.559885 | 0.512266 | 0 | 0 | 0 | 0 | 0.007884 | 0.13914 | 884 | 21 | 60 | 42.095238 | 0.90276 | 0.095023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c7784396c2f32a8ab1f358013a81b7a33c8dc5a3 | 1,533 | py | Python | nsd1904/py02/day01/try1.py | MrWangwf/nsd2019 | 5e859b4b1926dc098d236be3720779c50d0a55fc | [
"Apache-2.0"
] | 1 | 2019-09-19T04:53:22.000Z | 2019-09-19T04:53:22.000Z | nsd1904/py02/day01/try1.py | MrWangwf/nsd2019 | 5e859b4b1926dc098d236be3720779c50d0a55fc | [
"Apache-2.0"
] | null | null | null | nsd1904/py02/day01/try1.py | MrWangwf/nsd2019 | 5e859b4b1926dc098d236be3720779c50d0a55fc | [
"Apache-2.0"
] | 1 | 2021-12-28T04:26:02.000Z | 2021-12-28T04:26:02.000Z | # try:
# num = int(input("数字: "))
# result = 100 / num
# print(result)
# print('Done')
# except ValueError:
# print('无效的输入')
# except ZeroDivisionError:
# print('无效的输入')
# except KeyboardInterrupt:
# print('\nBye-bye')
# except EOFError:
# print('\nBye-bye')
############################... | 23.227273 | 59 | 0.524462 | 147 | 1,533 | 5.469388 | 0.197279 | 0.074627 | 0.089552 | 0.087065 | 0.835821 | 0.761194 | 0.761194 | 0.761194 | 0.761194 | 0.761194 | 0 | 0.012336 | 0.206784 | 1,533 | 65 | 60 | 23.584615 | 0.648849 | 0.644488 | 0 | 0 | 0 | 0 | 0.123123 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.384615 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c779c674a86547dc86212f0a0ca092745c925e29 | 13,531 | py | Python | utest/test/keywords/test_webdrivercreator_executable_path.py | andreagubellini/SeleniumLibrary | 8f1eb0fe612666fb9542ba83452b609b91e2fa8d | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-08-11T17:30:40.000Z | 2020-08-11T17:30:40.000Z | utest/test/keywords/test_webdrivercreator_executable_path.py | andreagubellini/SeleniumLibrary | 8f1eb0fe612666fb9542ba83452b609b91e2fa8d | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | utest/test/keywords/test_webdrivercreator_executable_path.py | andreagubellini/SeleniumLibrary | 8f1eb0fe612666fb9542ba83452b609b91e2fa8d | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-07-18T19:53:00.000Z | 2021-07-18T19:53:00.000Z | import inspect
import os
import unittest
import pytest
from mockito import mock, unstub, when, ANY
from selenium import webdriver
from SeleniumLibrary.keywords import WebDriverCreator
LOG_DIR = '/log/dir'
@pytest.fixture(scope='module')
def creator():
curr_dir = os.path.dirname(os.path.abspath(__file__))
... | 43.230032 | 116 | 0.73727 | 1,505 | 13,531 | 6.290365 | 0.070432 | 0.199641 | 0.066547 | 0.073519 | 0.877047 | 0.863315 | 0.8499 | 0.789902 | 0.757051 | 0.757051 | 0 | 0.001067 | 0.169019 | 13,531 | 312 | 117 | 43.36859 | 0.840893 | 0 | 0 | 0.567347 | 0 | 0 | 0.054024 | 0.025349 | 0 | 0 | 0 | 0 | 0.122449 | 1 | 0.118367 | false | 0 | 0.028571 | 0.004082 | 0.159184 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c79e9d82ac4c7d4a612ab9e699a13b7f9127634f | 16 | py | Python | src/test2.py | hyu1834/Static-Variable-Scope-Analyzer-for-Python-Programming-Language | 7cf4da67caec0f88b77bbaf3eed4065e255497bf | [
"Apache-2.0"
] | null | null | null | src/test2.py | hyu1834/Static-Variable-Scope-Analyzer-for-Python-Programming-Language | 7cf4da67caec0f88b77bbaf3eed4065e255497bf | [
"Apache-2.0"
] | null | null | null | src/test2.py | hyu1834/Static-Variable-Scope-Analyzer-for-Python-Programming-Language | 7cf4da67caec0f88b77bbaf3eed4065e255497bf | [
"Apache-2.0"
] | null | null | null | i = 10
i = i + 1 | 8 | 9 | 0.375 | 5 | 16 | 1.2 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.4375 | 16 | 2 | 9 | 8 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 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 | 6 |
c7a369abcb99bb04533edf7f54430d583e2c319e | 15,777 | py | Python | dfdatetime/posix_time.py | sydp/dfdatetime | fbb4ed335861a99e0c87802c51e9d1d58c276b98 | [
"Apache-2.0"
] | 17 | 2016-04-12T16:26:14.000Z | 2022-02-18T22:27:36.000Z | dfdatetime/posix_time.py | sydp/dfdatetime | fbb4ed335861a99e0c87802c51e9d1d58c276b98 | [
"Apache-2.0"
] | 149 | 2016-03-10T22:20:13.000Z | 2022-02-19T08:47:56.000Z | dfdatetime/posix_time.py | sydp/dfdatetime | fbb4ed335861a99e0c87802c51e9d1d58c276b98 | [
"Apache-2.0"
] | 15 | 2016-03-10T06:44:27.000Z | 2022-02-07T12:53:48.000Z | # -*- coding: utf-8 -*-
"""POSIX timestamp implementation."""
import decimal
from dfdatetime import definitions
from dfdatetime import factory
from dfdatetime import interface
class PosixTimeEpoch(interface.DateTimeEpoch):
"""POSIX time epoch."""
def __init__(self):
"""Initializes a POSIX time epoch."""
... | 34.751101 | 80 | 0.69652 | 2,029 | 15,777 | 5.213898 | 0.074421 | 0.040836 | 0.064845 | 0.049816 | 0.870593 | 0.853011 | 0.814444 | 0.814444 | 0.806125 | 0.789489 | 0 | 0.0171 | 0.214173 | 15,777 | 453 | 81 | 34.827815 | 0.836183 | 0.382265 | 0 | 0.699482 | 0 | 0.020725 | 0.051743 | 0.022802 | 0 | 0 | 0 | 0 | 0 | 1 | 0.119171 | false | 0 | 0.020725 | 0 | 0.274611 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c7a40da808cc888cfd226fe4f2bb0b113164afe5 | 17 | py | Python | flaskshop/dashboard/views/__init__.py | maquinuz/flask-shop | 78fc86ec5e9ebcd61f3eb69e8b1df33c82c6fe30 | [
"BSD-3-Clause"
] | 141 | 2018-08-14T09:38:30.000Z | 2022-03-24T14:17:14.000Z | flaskshop/dashboard/views/__init__.py | maquinuz/flask-shop | 78fc86ec5e9ebcd61f3eb69e8b1df33c82c6fe30 | [
"BSD-3-Clause"
] | 65 | 2019-06-20T06:10:04.000Z | 2022-01-29T07:10:06.000Z | flaskshop/dashboard/views/__init__.py | maquinuz/flask-shop | 78fc86ec5e9ebcd61f3eb69e8b1df33c82c6fe30 | [
"BSD-3-Clause"
] | 65 | 2019-03-18T13:55:34.000Z | 2022-03-23T05:55:27.000Z | from . import bp
| 8.5 | 16 | 0.705882 | 3 | 17 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 17 | 1 | 17 | 17 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 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 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.