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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
523f9700ed13c3bae87c8fbe0de30f129cc31497 | 45 | py | Python | server/util/__init__.py | jjojala/results | bfcf6820ff4b2dd05d8974bc98b0a59bc6c3585f | [
"Apache-2.0"
] | null | null | null | server/util/__init__.py | jjojala/results | bfcf6820ff4b2dd05d8974bc98b0a59bc6c3585f | [
"Apache-2.0"
] | 7 | 2015-11-25T22:26:25.000Z | 2016-10-18T22:14:35.000Z | server/util/__init__.py | jjojala/results | bfcf6820ff4b2dd05d8974bc98b0a59bc6c3585f | [
"Apache-2.0"
] | null | null | null | from .patch import patch, diff, PatchConflict | 45 | 45 | 0.822222 | 6 | 45 | 6.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 1 | 45 | 45 | 0.925 | 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 |
87797c782ed9e6a7b609e077090ffd33cb3f5483 | 134 | py | Python | Game/lib/interface/__init__.py | brunnossanttos/Game.JackPot | 323cbdaedbf3032dee438a37342bfa18a2f98c82 | [
"MIT"
] | null | null | null | Game/lib/interface/__init__.py | brunnossanttos/Game.JackPot | 323cbdaedbf3032dee438a37342bfa18a2f98c82 | [
"MIT"
] | null | null | null | Game/lib/interface/__init__.py | brunnossanttos/Game.JackPot | 323cbdaedbf3032dee438a37342bfa18a2f98c82 | [
"MIT"
] | null | null | null | def linha(tam=65):
return '\033[36m-' * tam
def cabecalho(txt):
print(linha())
print(txt.center(65))
print(linha())
| 14.888889 | 28 | 0.589552 | 19 | 134 | 4.157895 | 0.578947 | 0.253165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0.216418 | 134 | 8 | 29 | 16.75 | 0.666667 | 0 | 0 | 0.333333 | 0 | 0 | 0.067164 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.5 | 0.5 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 6 |
5e910efd3c321feafa27ff83a1356fc991d2cda2 | 7,860 | py | Python | t2vretrieval/models/criterion.py | aranciokov/ranp | ac9213e4f33b808258acd9dcf5ab08e3902642ed | [
"MIT"
] | 3 | 2022-03-18T08:09:41.000Z | 2022-03-23T08:42:03.000Z | t2vretrieval/models/criterion.py | aranciokov/ranp | ac9213e4f33b808258acd9dcf5ab08e3902642ed | [
"MIT"
] | null | null | null | t2vretrieval/models/criterion.py | aranciokov/ranp | ac9213e4f33b808258acd9dcf5ab08e3902642ed | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import framework.configbase
import framework.ops
def cosine_sim(im, s):
'''cosine similarity between all the image and sentence pairs
'''
inner_prod = im.mm(s.t())
im_norm = torch.sqrt((im**2).sum(1).view(-1, 1) + 1e-18)
s_norm = torch.sqrt((s**2).sum(1).view(1, -1) + 1e-1... | 37.075472 | 118 | 0.659796 | 1,186 | 7,860 | 4.12226 | 0.114671 | 0.047044 | 0.028636 | 0.016363 | 0.896093 | 0.878503 | 0.858867 | 0.812436 | 0.796482 | 0.769278 | 0 | 0.014262 | 0.24173 | 7,860 | 211 | 119 | 37.251185 | 0.80604 | 0.226972 | 0 | 0.647482 | 0 | 0 | 0.006051 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035971 | false | 0 | 0.028777 | 0 | 0.129496 | 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 |
0dc63506330fdc60018049e930eed55c9aea71d2 | 27 | py | Python | entity/__init__.py | tuannguyendang/montypython | c0b8ff7a8130e811ba16bfab8d5e013eac37f432 | [
"Apache-2.0"
] | null | null | null | entity/__init__.py | tuannguyendang/montypython | c0b8ff7a8130e811ba16bfab8d5e013eac37f432 | [
"Apache-2.0"
] | null | null | null | entity/__init__.py | tuannguyendang/montypython | c0b8ff7a8130e811ba16bfab8d5e013eac37f432 | [
"Apache-2.0"
] | null | null | null | from .user import User, db
| 13.5 | 26 | 0.740741 | 5 | 27 | 4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 27 | 1 | 27 | 27 | 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 |
216d4eb41692418c9a789beb8f220409a6f64736 | 17,825 | py | Python | polynomials_on_simplices/polynomial/polynomials_unit_simplex_bases.py | FAndersson/polynomials_on_simplices | f015a4772c817bfa99b0d6b726667a38a174b064 | [
"MIT"
] | 1 | 2021-03-17T11:41:21.000Z | 2021-03-17T11:41:21.000Z | polynomials_on_simplices/polynomial/polynomials_unit_simplex_bases.py | FAndersson/polynomials_on_simplices | f015a4772c817bfa99b0d6b726667a38a174b064 | [
"MIT"
] | null | null | null | polynomials_on_simplices/polynomial/polynomials_unit_simplex_bases.py | FAndersson/polynomials_on_simplices | f015a4772c817bfa99b0d6b726667a38a174b064 | [
"MIT"
] | null | null | null | """Functionality for working with different bases for polynomials on the unit simplex, and for converting between
these bases.
"""
import copy
import numpy as np
from polynomials_on_simplices.polynomial.polynomials_monomial_basis import (
dual_monomial_basis, dual_monomial_basis_fn, dual_vector_valued_monomial_b... | 46.419271 | 117 | 0.711585 | 2,587 | 17,825 | 4.68535 | 0.065327 | 0.084481 | 0.090092 | 0.068311 | 0.885158 | 0.827407 | 0.772131 | 0.757611 | 0.744906 | 0.70613 | 0 | 0.005209 | 0.192314 | 17,825 | 383 | 118 | 46.54047 | 0.836702 | 0.535091 | 0 | 0.36129 | 0 | 0 | 0.045328 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083871 | false | 0 | 0.03871 | 0 | 0.387097 | 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 |
21e379b33534f46cb9532ac14f5517f762186c3a | 1,640 | py | Python | S11/tensornet/data/downloader.py | abishek-raju/EVA4B2 | 189f4062c85d91f43c1381087a9c89ff794e5428 | [
"Apache-2.0"
] | null | null | null | S11/tensornet/data/downloader.py | abishek-raju/EVA4B2 | 189f4062c85d91f43c1381087a9c89ff794e5428 | [
"Apache-2.0"
] | null | null | null | S11/tensornet/data/downloader.py | abishek-raju/EVA4B2 | 189f4062c85d91f43c1381087a9c89ff794e5428 | [
"Apache-2.0"
] | null | null | null | import os
from torchvision import datasets
def download_cifar10(path=None, train=True, transform=None):
"""Download CIFAR10 dataset
Args:
path (str, optional): Path where dataset will be downloaded.
If no path provided, data will be downloaded in a pre-defined
directory. (def... | 32.8 | 82 | 0.64939 | 198 | 1,640 | 5.328283 | 0.247475 | 0.073934 | 0.060664 | 0.032227 | 0.872038 | 0.872038 | 0.872038 | 0.716588 | 0.716588 | 0.716588 | 0 | 0.006617 | 0.262805 | 1,640 | 49 | 83 | 33.469388 | 0.866005 | 0.581098 | 0 | 0.285714 | 0 | 0 | 0.020761 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.428571 | 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 |
df00c262f23c33cd0cc1256e7568ff28d540498f | 68 | py | Python | airbyte-integrations/bases/base-singer/base_singer/__init__.py | rajatariya21/airbyte | 11e70a7a96e2682b479afbe6f709b9a5fe9c4a8d | [
"MIT"
] | 6,215 | 2020-09-21T13:45:56.000Z | 2022-03-31T21:21:45.000Z | airbyte-integrations/bases/base-singer/base_singer/__init__.py | rajatariya21/airbyte | 11e70a7a96e2682b479afbe6f709b9a5fe9c4a8d | [
"MIT"
] | 8,448 | 2020-09-21T00:43:50.000Z | 2022-03-31T23:56:06.000Z | airbyte-integrations/bases/base-singer/base_singer/__init__.py | rajatariya21/airbyte | 11e70a7a96e2682b479afbe6f709b9a5fe9c4a8d | [
"MIT"
] | 1,251 | 2020-09-20T05:48:47.000Z | 2022-03-31T10:41:29.000Z | from .singer_helpers import * # noqa
from .source import * # noqa
| 22.666667 | 37 | 0.705882 | 9 | 68 | 5.222222 | 0.666667 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 68 | 2 | 38 | 34 | 0.87037 | 0.132353 | 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 |
df108d7aff5982e6c8f958d3b6117429d5e34a02 | 84 | py | Python | jeri/core/models/fields/value.py | fmorgner/jeri | 5b33411c0e25375e3e5928fc044581a24c56f3ad | [
"BSD-3-Clause"
] | null | null | null | jeri/core/models/fields/value.py | fmorgner/jeri | 5b33411c0e25375e3e5928fc044581a24c56f3ad | [
"BSD-3-Clause"
] | null | null | null | jeri/core/models/fields/value.py | fmorgner/jeri | 5b33411c0e25375e3e5928fc044581a24c56f3ad | [
"BSD-3-Clause"
] | null | null | null | from jeri.core.models.fields.base import Field
class StringField(Field):
pass
| 14 | 46 | 0.761905 | 12 | 84 | 5.333333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154762 | 84 | 5 | 47 | 16.8 | 0.901408 | 0 | 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 |
df2950ff51ae397a312852ed9352d7e50064ae54 | 1,698 | py | Python | run_evm.py | DarionRichie/simple_evm | bdcfbf7da345ba170db92cdd5ad7f62df7ead4d2 | [
"MIT"
] | null | null | null | run_evm.py | DarionRichie/simple_evm | bdcfbf7da345ba170db92cdd5ad7f62df7ead4d2 | [
"MIT"
] | null | null | null | run_evm.py | DarionRichie/simple_evm | bdcfbf7da345ba170db92cdd5ad7f62df7ead4d2 | [
"MIT"
] | null | null | null |
import binascii
from simple_evm import VM
ADDRESS = b'\x85\x82\xa2\x89\x02\xb9\xae\x93\xfc\x03\xdd\xb4\xae\xae\xe1\x8e\x85\x93\x12\xc1'
SENDER = b'\xae\x03\x02\x18\x87\xc2\x22\x37\x6f\x12\xca\xf0\x21\x44\xa1\x2f\x19\x19\x92\xcf'
code_hex = '60806040526004361061006c5763ffffffff7c01000000000000000000000000000000000000... | 43.538462 | 933 | 0.804476 | 112 | 1,698 | 12.151786 | 0.589286 | 0.010287 | 0.044085 | 0.045555 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.599735 | 0.111307 | 1,698 | 38 | 934 | 44.684211 | 0.302187 | 0 | 0 | 0.181818 | 0 | 0.060606 | 0.694166 | 0.636417 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.060606 | 0 | 0.060606 | 0.060606 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
10d01d525a3c1c0a70074c3623d6fbe9abfa11c0 | 583 | py | Python | stars/_import.py | Shimenrock/shimenrock.weblogic_toolset | 6b5e4637fae3c626f686248c6281e1856c802831 | [
"MIT"
] | null | null | null | stars/_import.py | Shimenrock/shimenrock.weblogic_toolset | 6b5e4637fae3c626f686248c6281e1856c802831 | [
"MIT"
] | null | null | null | stars/_import.py | Shimenrock/shimenrock.weblogic_toolset | 6b5e4637fae3c626f686248c6281e1856c802831 | [
"MIT"
] | null | null | null | from . import console
from . import cve_2014_4210
from . import cve_2016_0638
from . import cve_2016_3510
from . import cve_2017_3248
from . import cve_2017_3506
from . import cve_2017_10271
from . import cve_2018_2628
from . import cve_2018_2893
from . import cve_2018_2894
from . import cve_2018_3191
from . import cve... | 26.5 | 28 | 0.819897 | 103 | 583 | 4.252427 | 0.291262 | 0.479452 | 0.593607 | 0.232877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.322645 | 0.144082 | 583 | 21 | 29 | 27.761905 | 0.55511 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 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 |
8006e1afe921e09e3546c1c8dd18b0e8545d5440 | 445 | py | Python | pymysql/tests/__init__.py | mathieulongtin/PyMySQL | 41d9e6bff7e0a6d74d8aa327b6cb64d6e17baf7e | [
"MIT"
] | 1 | 2017-11-08T08:15:45.000Z | 2017-11-08T08:15:45.000Z | pymysql/tests/__init__.py | mathieulongtin/PyMySQL | 41d9e6bff7e0a6d74d8aa327b6cb64d6e17baf7e | [
"MIT"
] | null | null | null | pymysql/tests/__init__.py | mathieulongtin/PyMySQL | 41d9e6bff7e0a6d74d8aa327b6cb64d6e17baf7e | [
"MIT"
] | 4 | 2016-10-12T23:54:55.000Z | 2020-07-25T23:28:25.000Z | from pymysql.tests.test_issues import *
from pymysql.tests.test_basic import *
from pymysql.tests.test_nextset import *
from pymysql.tests.test_DictCursor import *
from pymysql.tests.test_connection import TestConnection
from pymysql.tests.test_SSCursor import *
from pymysql.tests.thirdparty import *
if __name__ == "... | 27.8125 | 56 | 0.770787 | 56 | 445 | 5.875 | 0.392857 | 0.234043 | 0.340426 | 0.364742 | 0.316109 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002681 | 0.161798 | 445 | 15 | 57 | 29.666667 | 0.879357 | 0 | 0 | 0 | 0 | 0 | 0.017978 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.769231 | 0 | 0.769231 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8019a04cc26ef5faf42c53e7d9cb20a7a8376b1c | 41 | py | Python | deepchem/models/tensorgraph/optimizers.py | hl2500/deepchem | 09ed9c04110eb822c2d6c9be61c27da4939896f6 | [
"MIT"
] | 1 | 2020-06-23T03:59:15.000Z | 2020-06-23T03:59:15.000Z | deepchem/models/tensorgraph/optimizers.py | evenhe/deepchem | 9d0fc5554b286117ae08b21b3f15877b06a1009e | [
"MIT"
] | null | null | null | deepchem/models/tensorgraph/optimizers.py | evenhe/deepchem | 9d0fc5554b286117ae08b21b3f15877b06a1009e | [
"MIT"
] | 1 | 2021-02-24T04:58:32.000Z | 2021-02-24T04:58:32.000Z | from deepchem.models.optimizers import *
| 20.5 | 40 | 0.829268 | 5 | 41 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 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 |
801c19f8b7796e5536631041f8089db4e399acf8 | 102 | py | Python | test/fixtures/use_function.py | python-rope/pylsp-rope | 431415560779881b57048dc563802705f7556bca | [
"MIT"
] | 16 | 2021-10-03T07:18:20.000Z | 2022-03-28T00:11:53.000Z | test/fixtures/use_function.py | python-rope/pylsp-rope | 431415560779881b57048dc563802705f7556bca | [
"MIT"
] | 7 | 2021-10-03T06:37:42.000Z | 2021-11-02T17:13:27.000Z | test/fixtures/use_function.py | python-rope/pylsp-rope | 431415560779881b57048dc563802705f7556bca | [
"MIT"
] | null | null | null | def add(a, b):
return a + b
def main():
a, b = 10, 20
print(f"{a} + {b} = {add(a, b)}")
| 12.75 | 37 | 0.411765 | 20 | 102 | 2.1 | 0.5 | 0.238095 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.333333 | 102 | 7 | 38 | 14.571429 | 0.558824 | 0 | 0 | 0 | 0 | 0 | 0.22549 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.6 | 0.2 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
802e91133d9af3bb060cf0a19a45a1e62b8451b5 | 11,090 | py | Python | spreadflow_xslt/test/test_xslt_proc.py | znerol/spreadflow-xslt | adb6d97d703d561f17878291e4a67130e101536a | [
"MIT"
] | null | null | null | spreadflow_xslt/test/test_xslt_proc.py | znerol/spreadflow-xslt | adb6d97d703d561f17878291e4a67130e101536a | [
"MIT"
] | null | null | null | spreadflow_xslt/test/test_xslt_proc.py | znerol/spreadflow-xslt | adb6d97d703d561f17878291e4a67130e101536a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
import codecs
import copy
import os
from twisted.internet import defer
from mock import Mock
from testtools import TestCase, run_test_with
from testtools.twistedsupport import Asynch... | 33.810976 | 118 | 0.588278 | 1,187 | 11,090 | 5.31171 | 0.103623 | 0.060904 | 0.036479 | 0.04885 | 0.84885 | 0.818715 | 0.800159 | 0.788422 | 0.788422 | 0.733069 | 0 | 0.01002 | 0.289089 | 11,090 | 327 | 119 | 33.914373 | 0.789701 | 0.058972 | 0 | 0.63786 | 0 | 0 | 0.106047 | 0.050083 | 0 | 0 | 0 | 0 | 0.065844 | 1 | 0.032922 | false | 0 | 0.053498 | 0 | 0.090535 | 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 |
8053ee9849cbada17bdf127f561a167ecdceeb4f | 30,174 | py | Python | src/pyensae/languages/PigLexer.py | mohamedelkansouli/Ensae_py2 | e54a05f90c6aa6e2a5065eac9f9ec10aca64b46a | [
"MIT"
] | null | null | null | src/pyensae/languages/PigLexer.py | mohamedelkansouli/Ensae_py2 | e54a05f90c6aa6e2a5065eac9f9ec10aca64b46a | [
"MIT"
] | null | null | null | src/pyensae/languages/PigLexer.py | mohamedelkansouli/Ensae_py2 | e54a05f90c6aa6e2a5065eac9f9ec10aca64b46a | [
"MIT"
] | null | null | null | # Generated from \Pig.g4 by ANTLR 4.7
from antlr4 import *
from io import StringIO
from typing.io import TextIO
import sys
def serializedATN():
with StringIO() as buf:
buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2\\")
buf.write("\u02e3\b\1\4\2\t\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\... | 61.831967 | 91 | 0.563697 | 6,505 | 30,174 | 2.607225 | 0.170023 | 0.131958 | 0.065625 | 0.067689 | 0.335731 | 0.21987 | 0.15855 | 0.139446 | 0.136616 | 0.132311 | 0 | 0.336534 | 0.157917 | 30,174 | 487 | 92 | 61.958932 | 0.330946 | 0.00116 | 0 | 0.004237 | 1 | 0.610169 | 0.630454 | 0.570661 | 0.002119 | 0 | 0 | 0 | 0 | 1 | 0.004237 | false | 0 | 0.008475 | 0 | 0.224576 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
33bb494b59105a91812f3254fe3c358e3ea18fe8 | 13,780 | py | Python | dfirtrack_config/tests/main/test_main_config_forms.py | thomas-kropeit/dfirtrack | b1e0e659af7bc8085cfe2d269ddc651f9f4ba585 | [
"Apache-2.0"
] | null | null | null | dfirtrack_config/tests/main/test_main_config_forms.py | thomas-kropeit/dfirtrack | b1e0e659af7bc8085cfe2d269ddc651f9f4ba585 | [
"Apache-2.0"
] | 6 | 2022-03-16T12:30:51.000Z | 2022-03-28T01:34:45.000Z | dfirtrack_config/tests/main/test_main_config_forms.py | thomas-kropeit/dfirtrack | b1e0e659af7bc8085cfe2d269ddc651f9f4ba585 | [
"Apache-2.0"
] | null | null | null | from django.test import TestCase
from dfirtrack_artifacts.models import Artifactstatus
from dfirtrack_config.forms import MainConfigForm
from dfirtrack_main.models import Casestatus
class MainConfigFormTestCase(TestCase):
"""main config form tests"""
@classmethod
def setUpTestData(cls):
pass
... | 33.045564 | 95 | 0.566981 | 1,189 | 13,780 | 6.27418 | 0.101766 | 0.038338 | 0.028016 | 0.043298 | 0.837802 | 0.785121 | 0.742359 | 0.742359 | 0.730831 | 0.704021 | 0 | 0.008777 | 0.346807 | 13,780 | 416 | 96 | 33.125 | 0.82002 | 0.070392 | 0 | 0.652733 | 0 | 0 | 0.223634 | 0.043338 | 0 | 0 | 0 | 0 | 0.096463 | 1 | 0.064309 | false | 0.003215 | 0.012862 | 0 | 0.080386 | 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 |
1d704f3d6ea83aef785f34d2b7fbf6956a2d9c5a | 188 | py | Python | cakechat/dialog_model/inference/candidates/__init__.py | sketscripter/emotional-chatbot-cakechat | 470df58a2206a0ea38b6bed53b20cbc63bd3de24 | [
"Apache-2.0"
] | 1,608 | 2018-01-31T15:22:29.000Z | 2022-03-30T19:59:16.000Z | cakechat/dialog_model/inference/candidates/__init__.py | GaelicThunder/cakechat | 844507281b30d81b3fe3674895fe27826dba8438 | [
"Apache-2.0"
] | 64 | 2019-07-05T06:06:43.000Z | 2021-08-02T05:22:31.000Z | cakechat/dialog_model/inference/candidates/__init__.py | Spark3757/chatbot | 4e8eae70af2d5b68564d86b7ea0dbec956ae676f | [
"Apache-2.0"
] | 690 | 2018-01-31T17:57:19.000Z | 2022-03-30T07:07:41.000Z | from cakechat.dialog_model.inference.candidates.beamsearch import BeamsearchCandidatesGenerator
from cakechat.dialog_model.inference.candidates.sampling import SamplingCandidatesGenerator
| 62.666667 | 95 | 0.914894 | 18 | 188 | 9.444444 | 0.611111 | 0.141176 | 0.211765 | 0.270588 | 0.494118 | 0.494118 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 188 | 2 | 96 | 94 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
1d8754f9bfef700734d82d93d883405866656b3e | 141 | py | Python | backslash/archiveable.py | oren0e/backslash-python | 37f0fe37e21c384baa27b4f5b7210e79d02a65dc | [
"BSD-3-Clause"
] | null | null | null | backslash/archiveable.py | oren0e/backslash-python | 37f0fe37e21c384baa27b4f5b7210e79d02a65dc | [
"BSD-3-Clause"
] | null | null | null | backslash/archiveable.py | oren0e/backslash-python | 37f0fe37e21c384baa27b4f5b7210e79d02a65dc | [
"BSD-3-Clause"
] | null | null | null | class Archiveable():
def toggle_archived(self):
self.client.api.call_function('toggle_archived', {self._get_id_key(): self.id})
| 28.2 | 87 | 0.70922 | 19 | 141 | 4.947368 | 0.684211 | 0.297872 | 0.382979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141844 | 141 | 4 | 88 | 35.25 | 0.77686 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
d598f91d8b14083925d05d418d3a9a4e9cb2e784 | 96 | py | Python | oscar/lib/python2.7/site-packages/faker/providers/user_agent/en_US/__init__.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | null | null | null | oscar/lib/python2.7/site-packages/faker/providers/user_agent/en_US/__init__.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | null | null | null | oscar/lib/python2.7/site-packages/faker/providers/user_agent/en_US/__init__.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | null | null | null | from .. import Provider as UserAgentProvider
class Provider(UserAgentProvider):
pass
| 16 | 45 | 0.739583 | 9 | 96 | 7.888889 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 96 | 5 | 46 | 19.2 | 0.934211 | 0 | 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 |
634223756ae7874ff7388e8ebbf1a23d102d9d88 | 127,775 | py | Python | models.py | Tjoha1994/ship_in_transit_simulator | b022c336a0150cfe723cc499974395edb5a1cfdf | [
"MIT"
] | 2 | 2021-07-22T07:33:10.000Z | 2021-09-01T08:30:53.000Z | models.py | Tjoha1994/ship_in_transit_simulator | b022c336a0150cfe723cc499974395edb5a1cfdf | [
"MIT"
] | null | null | null | models.py | Tjoha1994/ship_in_transit_simulator | b022c336a0150cfe723cc499974395edb5a1cfdf | [
"MIT"
] | 1 | 2021-09-21T06:26:43.000Z | 2021-09-21T06:26:43.000Z | """ This module provides classes that that can be used to setup and
run simulation models of a ship in transit.
"""
import numpy as np
import math
import matplotlib.pyplot as plt
import pandas as pd
from collections import defaultdict
from typing import NamedTuple, List
import random
class ShipConfiguration(Name... | 45.390764 | 152 | 0.629857 | 17,918 | 127,775 | 4.264315 | 0.044592 | 0.029814 | 0.018964 | 0.020888 | 0.853628 | 0.828552 | 0.811119 | 0.798306 | 0.777196 | 0.753141 | 0 | 0.014987 | 0.278826 | 127,775 | 2,814 | 153 | 45.406894 | 0.814201 | 0.238803 | 0 | 0.67675 | 0 | 0 | 0.050178 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.104982 | false | 0 | 0.004152 | 0 | 0.236655 | 0.003559 | 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 |
6343322a4092f4a78d49f8d24b339d799f986f81 | 26 | py | Python | connectFourLab/game/__init__.py | yuriharrison/connect-four-lab | 8c90535df91a45e8976b368f3cea4558478abe64 | [
"MIT"
] | null | null | null | connectFourLab/game/__init__.py | yuriharrison/connect-four-lab | 8c90535df91a45e8976b368f3cea4558478abe64 | [
"MIT"
] | null | null | null | connectFourLab/game/__init__.py | yuriharrison/connect-four-lab | 8c90535df91a45e8976b368f3cea4558478abe64 | [
"MIT"
] | null | null | null | from .game import RunGame
| 13 | 25 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
636c59041befa426bc7a8469477671983a887031 | 211 | py | Python | rest_fhir/mixins/vread.py | weynelucas/django-rest-fhir | 560a0aadd0cfa43b6dc58f995c86015f6eefb768 | [
"MIT"
] | 2 | 2021-05-07T12:16:27.000Z | 2021-12-16T20:45:36.000Z | rest_fhir/mixins/vread.py | weynelucas/django-rest-fhir | 560a0aadd0cfa43b6dc58f995c86015f6eefb768 | [
"MIT"
] | 3 | 2021-05-10T19:40:33.000Z | 2021-06-27T14:24:47.000Z | rest_fhir/mixins/vread.py | weynelucas/django-rest-fhir | 560a0aadd0cfa43b6dc58f995c86015f6eefb768 | [
"MIT"
] | 1 | 2021-08-09T22:00:22.000Z | 2021-08-09T22:00:22.000Z | from .conditional_read import ConditionalReadMixin
class VReadResourceMixin(ConditionalReadMixin):
def vread(self, request, *args, **kwargs):
return self.conditional_read(request, *args, **kwargs)
| 30.142857 | 62 | 0.763033 | 21 | 211 | 7.571429 | 0.666667 | 0.188679 | 0.213836 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137441 | 211 | 6 | 63 | 35.166667 | 0.873626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
63becbd4a16bc4710be0af8db94244112b0ef416 | 119 | py | Python | server/blueprints/store/controllers/__init__.py | Soopro/totoro | 6be1af50496340ded9879a6450c8208ac9f97e72 | [
"MIT"
] | null | null | null | server/blueprints/store/controllers/__init__.py | Soopro/totoro | 6be1af50496340ded9879a6450c8208ac9f97e72 | [
"MIT"
] | null | null | null | server/blueprints/store/controllers/__init__.py | Soopro/totoro | 6be1af50496340ded9879a6450c8208ac9f97e72 | [
"MIT"
] | 1 | 2019-10-31T06:11:41.000Z | 2019-10-31T06:11:41.000Z | # coding=utf-8
from __future__ import absolute_import
from .base import *
from .book import *
from .category import *
| 17 | 38 | 0.764706 | 17 | 119 | 5.058824 | 0.588235 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.159664 | 119 | 6 | 39 | 19.833333 | 0.85 | 0.10084 | 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 |
892b6e246a2db52a0fa882db7e7d4953aee7eb29 | 3,088 | py | Python | BAAlgorithmUtils/AVLTreeUtilTest.py | BenArvin/BAAlgorithmUtils | 3af05cdaf70081e114ed1ca1713799cc0f6b861b | [
"MIT"
] | 7 | 2018-12-29T09:04:48.000Z | 2022-02-22T02:38:27.000Z | BAAlgorithmUtils/AVLTreeUtilTest.py | BenArvin/BAAlgorithmUtils | 3af05cdaf70081e114ed1ca1713799cc0f6b861b | [
"MIT"
] | null | null | null | BAAlgorithmUtils/AVLTreeUtilTest.py | BenArvin/BAAlgorithmUtils | 3af05cdaf70081e114ed1ca1713799cc0f6b861b | [
"MIT"
] | 2 | 2019-01-07T08:03:38.000Z | 2022-02-22T02:38:29.000Z | #!/usr/bin/python
# -*- coding: UTF-8 -*-
import sys, os
sys.path.append('../')
from BAAlgorithmUtils.AVLTreeUtil import AVLTree
def start1():
print('\n********************************')
trainSamples = [
{'key': 3, 'content': '3-1'},
{'key': 2, 'content': '2-1'},
{'key': 1, 'content':... | 31.510204 | 63 | 0.460168 | 329 | 3,088 | 4.294833 | 0.167173 | 0.082095 | 0.104034 | 0.076433 | 0.784855 | 0.764331 | 0.748762 | 0.704176 | 0.704176 | 0.704176 | 0 | 0.066005 | 0.249352 | 3,088 | 98 | 64 | 31.510204 | 0.543572 | 0.012306 | 0 | 0.722222 | 0 | 0 | 0.268941 | 0.066907 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033333 | false | 0 | 0.022222 | 0 | 0.055556 | 0.177778 | 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 |
895ef7b360faac4d33955e2c67b68485d3e0721c | 41 | py | Python | src/astrildvisual/rays/__init__.py | Christovis/wys-ars | bb15f2d392842f9b32de12b5db5c86079bc97105 | [
"MIT"
] | 3 | 2021-07-27T14:45:58.000Z | 2022-01-31T21:09:46.000Z | src/astrildvisual/rays/__init__.py | Christovis/wys-ars | bb15f2d392842f9b32de12b5db5c86079bc97105 | [
"MIT"
] | 1 | 2021-11-03T10:47:45.000Z | 2021-11-03T10:47:45.000Z | src/astrildvisual/rays/__init__.py | Christovis/wys-ars | bb15f2d392842f9b32de12b5db5c86079bc97105 | [
"MIT"
] | 1 | 2021-11-03T10:17:34.000Z | 2021-11-03T10:17:34.000Z | from .visuals import maps_with_vel_field
| 20.5 | 40 | 0.878049 | 7 | 41 | 4.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
8963c43972e009e28a784b2a9b0849ec01e7ef7b | 54 | py | Python | util/encode_util.py | lzpsgh/AscTrio | f969beece5dc93d29063da03793521bc54b814dd | [
"MIT"
] | 5 | 2021-07-21T06:50:51.000Z | 2022-03-31T04:18:28.000Z | util/encode_util.py | lzpsgh/AscTrio | f969beece5dc93d29063da03793521bc54b814dd | [
"MIT"
] | null | null | null | util/encode_util.py | lzpsgh/AscTrio | f969beece5dc93d29063da03793521bc54b814dd | [
"MIT"
] | 1 | 2022-03-28T01:50:03.000Z | 2022-03-28T01:50:03.000Z | # coding : utf-8
# @Time : 2021/4/30 下午11:47
| 18 | 32 | 0.5 | 9 | 54 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.333333 | 54 | 2 | 33 | 27 | 0.416667 | 0.907407 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
896a39c5791384de17dfce2b48058275fad0de3f | 1,340 | py | Python | 2_convnets/1_mnist/model_zoo.py | rcassani/learning-deep | 577447571936a7d6039195f216a90d5a9aed3fb7 | [
"MIT"
] | 1 | 2019-12-07T11:02:24.000Z | 2019-12-07T11:02:24.000Z | 2_convnets/1_mnist/model_zoo.py | rcassani/learning-deep | 577447571936a7d6039195f216a90d5a9aed3fb7 | [
"MIT"
] | 1 | 2020-04-24T01:21:41.000Z | 2020-06-09T19:59:40.000Z | 2_convnets/1_mnist/model_zoo.py | rcassani/learning-deep | 577447571936a7d6039195f216a90d5a9aed3fb7 | [
"MIT"
] | 1 | 2019-05-25T21:47:12.000Z | 2019-05-25T21:47:12.000Z | import torch.nn as nn
class small_cnn(nn.Module):
# Model
def __init__(self):
super(small_cnn, self).__init__()
self.features = nn.Sequential(
nn.Conv2d(1, 10, kernel_size=3, padding=1),
nn.ReLU(True),
)
self.classifier = nn.Sequential(
... | 27.346939 | 56 | 0.478358 | 175 | 1,340 | 3.531429 | 0.205714 | 0.02589 | 0.080906 | 0.045307 | 0.894822 | 0.894822 | 0.894822 | 0.894822 | 0.791262 | 0.791262 | 0 | 0.075721 | 0.379104 | 1,340 | 49 | 57 | 27.346939 | 0.667067 | 0.008209 | 0 | 0.682927 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097561 | false | 0 | 0.02439 | 0 | 0.219512 | 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 |
982a5d868b8674d0f9ee5a397fa37ac39e444522 | 938 | py | Python | ml_models/randomwalk.py | annakoretchko/algo_trading | 9ca1b9307c4d477888e5f2e7f6d4f57a03ca3399 | [
"MIT"
] | 1 | 2022-01-12T14:49:52.000Z | 2022-01-12T14:49:52.000Z | ml_models/randomwalk.py | webclinic017/algo_trading-3 | 0ce3657dc7295ca6496f270f943f3e670ae199d2 | [
"MIT"
] | null | null | null | ml_models/randomwalk.py | webclinic017/algo_trading-3 | 0ce3657dc7295ca6496f270f943f3e670ae199d2 | [
"MIT"
] | 1 | 2021-09-10T17:50:44.000Z | 2021-09-10T17:50:44.000Z | In [26]: symbol = '.SPX'
In [27]: data = pd.DataFrame(raw[symbol])
In [28]: lags = 5
cols = []
for lag in range(1, lags + 1):
col = 'lag_{}'.format(lag) 1
data[col] = data[symbol].shift(lag) 2
cols.append(col) 3
In [29]: data.head(7)
Out[29]: ... | 40.782609 | 73 | 0.479744 | 148 | 938 | 3 | 0.358108 | 0.202703 | 0.202703 | 0.162162 | 0.466216 | 0.445946 | 0.412162 | 0.263514 | 0.202703 | 0.135135 | 0 | 0.375228 | 0.414712 | 938 | 23 | 74 | 40.782609 | 0.433515 | 0 | 0 | 0 | 0 | 0 | 0.01065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9831798c6a6fd25639f7f94cbdfb340bdefe8553 | 22,527 | py | Python | tests/likelihoodtest/likelihoodtest.py | plewis/phycas | 9f5a4d9b2342dab907d14a46eb91f92ad80a5605 | [
"MIT"
] | 3 | 2015-09-24T23:12:57.000Z | 2021-04-12T07:07:01.000Z | tests/likelihoodtest/likelihoodtest.py | plewis/phycas | 9f5a4d9b2342dab907d14a46eb91f92ad80a5605 | [
"MIT"
] | null | null | null | tests/likelihoodtest/likelihoodtest.py | plewis/phycas | 9f5a4d9b2342dab907d14a46eb91f92ad80a5605 | [
"MIT"
] | 1 | 2015-11-23T10:35:43.000Z | 2015-11-23T10:35:43.000Z | # This example is designed to check the likelihood calculation under most models
# supported by Phycas. A data set is simulated under the most complex model, and
# analyzed under a spectrum of simpler models. The data set is saved as a nexus file
# complete with PAUP blocks that allow verification of Phycas's likelihoo... | 40.370968 | 129 | 0.616638 | 3,445 | 22,527 | 3.952685 | 0.08418 | 0.095175 | 0.138797 | 0.015863 | 0.745612 | 0.743482 | 0.729676 | 0.724536 | 0.711023 | 0.670485 | 0 | 0.054583 | 0.208683 | 22,527 | 557 | 130 | 40.443447 | 0.709301 | 0.220269 | 0 | 0.647059 | 0 | 0.053708 | 0.346194 | 0.007854 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.002558 | null | null | 0.148338 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
984a3f7aca26815a33be01423d93ac7187208611 | 209 | py | Python | scripts/pylint_custom_plugin/tests/test_files/copyright_header_acceptable.py | vincenttran-msft/azure-sdk-for-python | 348b56f9f03eeb3f7b502eed51daf494ffff874d | [
"MIT"
] | 1 | 2022-02-01T18:50:12.000Z | 2022-02-01T18:50:12.000Z | scripts/pylint_custom_plugin/tests/test_files/copyright_header_acceptable.py | vincenttran-msft/azure-sdk-for-python | 348b56f9f03eeb3f7b502eed51daf494ffff874d | [
"MIT"
] | null | null | null | scripts/pylint_custom_plugin/tests/test_files/copyright_header_acceptable.py | vincenttran-msft/azure-sdk-for-python | 348b56f9f03eeb3f7b502eed51daf494ffff874d | [
"MIT"
] | null | null | null | # ------------------------------------
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# ------------------------------------
class Something():
def __init__(self):
pass
| 20.9 | 38 | 0.425837 | 15 | 209 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162679 | 209 | 9 | 39 | 23.222222 | 0.485714 | 0.679426 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
98b4e1643108d473a3f73c90f156756074f8bbb6 | 102 | py | Python | tests/exog/random/random_exog_150_40.py | shaido987/pyaf | b9afd089557bed6b90b246d3712c481ae26a1957 | [
"BSD-3-Clause"
] | 377 | 2016-10-13T20:52:44.000Z | 2022-03-29T18:04:14.000Z | tests/exog/random/random_exog_150_40.py | ysdede/pyaf | b5541b8249d5a1cfdc01f27fdfd99b6580ed680b | [
"BSD-3-Clause"
] | 160 | 2016-10-13T16:11:53.000Z | 2022-03-28T04:21:34.000Z | tests/exog/random/random_exog_150_40.py | ysdede/pyaf | b5541b8249d5a1cfdc01f27fdfd99b6580ed680b | [
"BSD-3-Clause"
] | 63 | 2017-03-09T14:51:18.000Z | 2022-03-27T20:52:57.000Z | import tests.exog.test_random_exogenous as testrandexog
testrandexog.test_random_exogenous( 150,40); | 25.5 | 55 | 0.862745 | 14 | 102 | 6 | 0.714286 | 0.238095 | 0.452381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.068627 | 102 | 4 | 56 | 25.5 | 0.831579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7f3718b38514dd26f81177c48998fa881c34d511 | 4,751 | py | Python | daiquiri/serve/tests/test_viewsets.py | agy-why/daiquiri | 4d3e2ce51e202d5a8f1df404a0094a4e018dcb4d | [
"Apache-2.0"
] | 14 | 2018-12-23T18:35:02.000Z | 2021-12-15T04:55:12.000Z | daiquiri/serve/tests/test_viewsets.py | agy-why/daiquiri | 4d3e2ce51e202d5a8f1df404a0094a4e018dcb4d | [
"Apache-2.0"
] | 40 | 2018-12-20T12:44:05.000Z | 2022-03-21T11:35:20.000Z | daiquiri/serve/tests/test_viewsets.py | agy-why/daiquiri | 4d3e2ce51e202d5a8f1df404a0094a4e018dcb4d | [
"Apache-2.0"
] | 5 | 2019-05-16T08:03:35.000Z | 2021-08-23T20:03:11.000Z | from django.test import TestCase
from test_generator.viewsets import TestViewsetMixin
class ServeTestCase(TestCase):
databases = ('default', 'data', 'tap', 'oai')
fixtures = (
'auth.json',
'metadata.json',
'jobs.json',
'queryjobs.json'
)
users = (
('admin', ... | 23.874372 | 68 | 0.568933 | 449 | 4,751 | 5.714922 | 0.13363 | 0.111458 | 0.088854 | 0.10756 | 0.858145 | 0.858145 | 0.858145 | 0.858145 | 0.858145 | 0.858145 | 0 | 0.028872 | 0.300147 | 4,751 | 198 | 69 | 23.994949 | 0.742857 | 0 | 0 | 0.675676 | 0 | 0 | 0.194696 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 1 | 0.081081 | false | 0 | 0.013514 | 0 | 0.283784 | 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 |
7faefc43afce1ef5c3f56a6ac68d0c19e2ba7181 | 3,101 | py | Python | epi/tests/test_chap_04_01_parity_of_a_word.py | totoro72/pt1 | 92cffb9b36ebe2023243446e560e54200b0bd6e9 | [
"MIT"
] | null | null | null | epi/tests/test_chap_04_01_parity_of_a_word.py | totoro72/pt1 | 92cffb9b36ebe2023243446e560e54200b0bd6e9 | [
"MIT"
] | 17 | 2020-09-04T16:35:48.000Z | 2022-03-02T03:21:39.000Z | epi/tests/test_chap_04_01_parity_of_a_word.py | totoro72/pt1 | 92cffb9b36ebe2023243446e560e54200b0bd6e9 | [
"MIT"
] | null | null | null | import unittest
from chap_04_01_parity_of_a_word import (
count_bits_naive,
count_bits_better,
compute_parity_w_cache,
compute_parity_log,
right_prop_rightmost_set_bit,
compute_x_mod_power_of_2,
is_x_power_of_2
)
class TestParity(unittest.TestCase):
def test_count_bits_naive(self):
... | 38.283951 | 71 | 0.691067 | 444 | 3,101 | 4.45045 | 0.148649 | 0.296053 | 0.211538 | 0.255061 | 0.823381 | 0.704453 | 0.361842 | 0.181174 | 0.105263 | 0.055668 | 0 | 0.08648 | 0.20574 | 3,101 | 80 | 72 | 38.7625 | 0.715794 | 0.056433 | 0 | 0.065574 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024674 | 0 | 0.672131 | 1 | 0.114754 | false | 0 | 0.032787 | 0 | 0.163934 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f687ed029da5b261be3f9a563f24ce9fb63a8a78 | 13,095 | py | Python | src/ostorlab/agent/message/proto/v3/asset/ip/v6/whois/whois_pb2.py | bbhunter/ostorlab | 968fe4e5b927c0cd159594c13b73f95b71150154 | [
"Apache-2.0"
] | 113 | 2022-02-21T09:30:14.000Z | 2022-03-31T21:54:26.000Z | src/ostorlab/agent/message/proto/v3/asset/ip/v6/whois/whois_pb2.py | bbhunter/ostorlab | 968fe4e5b927c0cd159594c13b73f95b71150154 | [
"Apache-2.0"
] | 2 | 2022-02-25T10:56:55.000Z | 2022-03-24T13:08:06.000Z | src/ostorlab/agent/message/proto/v3/asset/ip/v6/whois/whois_pb2.py | bbhunter/ostorlab | 968fe4e5b927c0cd159594c13b73f95b71150154 | [
"Apache-2.0"
] | 20 | 2022-02-28T14:25:04.000Z | 2022-03-30T23:01:11.000Z | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: v3/asset/ip/v6/whois/whois.proto
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_da... | 43.795987 | 1,014 | 0.738755 | 1,830 | 13,095 | 5.004372 | 0.091257 | 0.053287 | 0.038327 | 0.05962 | 0.778117 | 0.758899 | 0.735095 | 0.719917 | 0.68028 | 0.627211 | 0 | 0.042955 | 0.123559 | 13,095 | 298 | 1,015 | 43.942953 | 0.754988 | 0.035052 | 0 | 0.680451 | 1 | 0.003759 | 0.189926 | 0.15278 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.015038 | 0 | 0.015038 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f68f15d3e56a51b1033c217916b97c3b8da1167c | 82 | py | Python | tests/test_cli.py | maggie-jiayizhang/wals3 | fa8f9a9cf968920f16859a075a08502988c9ec4d | [
"Apache-2.0"
] | 86 | 2015-03-18T07:47:54.000Z | 2022-03-27T10:16:01.000Z | tests/test_cli.py | maggie-jiayizhang/wals3 | fa8f9a9cf968920f16859a075a08502988c9ec4d | [
"Apache-2.0"
] | 21 | 2015-01-15T14:13:06.000Z | 2021-11-24T11:17:59.000Z | tests/test_cli.py | maggie-jiayizhang/wals3 | fa8f9a9cf968920f16859a075a08502988c9ec4d | [
"Apache-2.0"
] | 16 | 2015-02-13T05:31:11.000Z | 2022-03-03T08:54:37.000Z | from wals3.scripts import initializedb
def test_init():
assert initializedb
| 13.666667 | 38 | 0.780488 | 10 | 82 | 6.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.170732 | 82 | 5 | 39 | 16.4 | 0.911765 | 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 |
f6db8d71dadd33c1f146c737b36b24ff658ba08a | 21,068 | py | Python | src/nodes.py | Agent-Hellboy/find-unused-import | 81f555e5ae42a906a2db6e3049ffe23f7c2c2535 | [
"MIT"
] | 2 | 2022-01-07T14:50:17.000Z | 2022-01-23T10:30:33.000Z | src/nodes.py | Agent-Hellboy/find-unused-import | 81f555e5ae42a906a2db6e3049ffe23f7c2c2535 | [
"MIT"
] | 1 | 2022-01-11T13:55:29.000Z | 2022-01-11T13:55:29.000Z | src/nodes.py | Agent-Hellboy/find-unused-import | 81f555e5ae42a906a2db6e3049ffe23f7c2c2535 | [
"MIT"
] | null | null | null | import re
OBJECTS = []
def get_class_str(node_repr):
node_str = type(node_repr)
ptrn = re.search(r"<(.*?)>", str(node_str))
return ptrn.group(1).split("'")[1]
class AST:
@classmethod
def parse_node(self, obj):
pass
class Add:
@classmethod
def parse_node(self, obj):
pas... | 21.497959 | 81 | 0.64064 | 2,830 | 21,068 | 4.526502 | 0.063958 | 0.16089 | 0.180952 | 0.219048 | 0.747151 | 0.745589 | 0.733255 | 0.725059 | 0.543326 | 0.52943 | 0 | 0.000126 | 0.245396 | 21,068 | 979 | 82 | 21.519918 | 0.805636 | 0 | 0 | 0.612329 | 0 | 0 | 0.065312 | 0.000997 | 0 | 0 | 0 | 0 | 0.00274 | 1 | 0.168493 | false | 0.091781 | 0.006849 | 0 | 0.343836 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
f6e20f724e1e44cadec0c3278458f9f4a941e3b3 | 36 | py | Python | Instance/config.py | simonkairu/pitches | 6e475297f3f9c91dd601bb9ae9f774c6bb849ca9 | [
"MIT"
] | null | null | null | Instance/config.py | simonkairu/pitches | 6e475297f3f9c91dd601bb9ae9f774c6bb849ca9 | [
"MIT"
] | null | null | null | Instance/config.py | simonkairu/pitches | 6e475297f3f9c91dd601bb9ae9f774c6bb849ca9 | [
"MIT"
] | null | null | null | SECRET_KEY='wvkwcw6nflmYWLrdlLUVcg'
| 18 | 35 | 0.888889 | 3 | 36 | 10.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.027778 | 36 | 1 | 36 | 36 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.611111 | 0.611111 | 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 | 0 | 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 |
100086e7fb33cea9af3340db96c87496054077b3 | 121 | py | Python | staff_management_models/staff_group_payments/admin.py | reimibeta/django-staff-management-models | 20fd718d18d39f333fb9e1ac231154db86a9b91c | [
"Apache-2.0"
] | null | null | null | staff_management_models/staff_group_payments/admin.py | reimibeta/django-staff-management-models | 20fd718d18d39f333fb9e1ac231154db86a9b91c | [
"Apache-2.0"
] | null | null | null | staff_management_models/staff_group_payments/admin.py | reimibeta/django-staff-management-models | 20fd718d18d39f333fb9e1ac231154db86a9b91c | [
"Apache-2.0"
] | null | null | null | from staff_management_models.staff_group_payments.class_admins.staff_worker_payment_admin import StaffWorkerPaymentAdmin
| 60.5 | 120 | 0.942149 | 15 | 121 | 7.066667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033058 | 121 | 1 | 121 | 121 | 0.905983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1018f41969b218b1df5e3d8cce148c92bee0d665 | 118 | py | Python | EduSim/Envs/TMS/Agent.py | bigdata-ustc/EduSim | 849eed229c24615e5f2c3045036311e83c22ea68 | [
"MIT"
] | 18 | 2019-11-11T03:45:35.000Z | 2022-02-09T15:31:51.000Z | EduSim/Envs/TMS/Agent.py | ghzhao78506/EduSim | cb10e952eb212d8a9344143f889207b5cd48ba9d | [
"MIT"
] | 3 | 2020-10-23T01:05:57.000Z | 2021-03-16T12:12:24.000Z | EduSim/Envs/TMS/Agent.py | bigdata-ustc/EduSim | 849eed229c24615e5f2c3045036311e83c22ea68 | [
"MIT"
] | 6 | 2020-06-09T21:32:00.000Z | 2022-03-12T00:25:18.000Z | # coding: utf-8
# 2020/5/7 @ tongshiwei
from EduSim.SimOS import RandomAgent
class TMSAgent(RandomAgent):
pass
| 13.111111 | 36 | 0.728814 | 16 | 118 | 5.375 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072165 | 0.177966 | 118 | 8 | 37 | 14.75 | 0.814433 | 0.29661 | 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 |
63e320bd742e48993b6094fca258ab13228711a6 | 3,247 | py | Python | tests/test_reading.py | emilioschepis/cdesf2 | 4a98b8608abd9422d818b5feca720e6bacd19642 | [
"MIT"
] | null | null | null | tests/test_reading.py | emilioschepis/cdesf2 | 4a98b8608abd9422d818b5feca720e6bacd19642 | [
"MIT"
] | null | null | null | tests/test_reading.py | emilioschepis/cdesf2 | 4a98b8608abd9422d818b5feca720e6bacd19642 | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
from datetime import datetime, timezone, timedelta
from pandas._libs.tslibs import Timestamp
from pm4py.objects.log import obj
from cdesf2.utils import read_csv, read_xes
def test_read_csv():
# TODO: Is there a reason to replace " " in the activity name with "_"?
event_... | 42.168831 | 88 | 0.716046 | 446 | 3,247 | 4.988789 | 0.213004 | 0.080899 | 0.129438 | 0.186966 | 0.762247 | 0.717303 | 0.705618 | 0.651685 | 0.648989 | 0.608539 | 0 | 0.045918 | 0.154912 | 3,247 | 76 | 89 | 42.723684 | 0.764942 | 0.02125 | 0 | 0.305085 | 0 | 0 | 0.21568 | 0.018262 | 0 | 0 | 0 | 0.013158 | 0.610169 | 1 | 0.033898 | false | 0 | 0.101695 | 0 | 0.135593 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
89d69cafac7cb233d1ca2659e1e0221da3b1a53d | 5,867 | py | Python | pirates/leveleditor/worldData/JungleTestIslandA.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 81 | 2018-04-08T18:14:24.000Z | 2022-01-11T07:22:15.000Z | pirates/leveleditor/worldData/JungleTestIslandA.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 4 | 2018-09-13T20:41:22.000Z | 2022-01-08T06:57:00.000Z | pirates/leveleditor/worldData/JungleTestIslandA.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 26 | 2018-05-26T12:49:27.000Z | 2021-09-11T09:11:59.000Z | from pandac.PandaModules import Point3, VBase3
objectStruct = {'Locator Links': [['1157574848.27sdnaik', '1157574884.56sdnaik', 'Bi-directional'], ['1157574928.53sdnaik', '1157574884.58sdnaik', 'Bi-directional'], ['1157574928.66sdnaik', '1157574992.98sdnaik', 'Bi-directional'], ['1157574992.97sdnaik', '1157574848.3sdna... | 2,933.5 | 5,820 | 0.668144 | 833 | 5,867 | 4.663866 | 0.204082 | 0.033462 | 0.033977 | 0.035006 | 0.569627 | 0.527413 | 0.459974 | 0.442986 | 0.322523 | 0.287001 | 0 | 0.30018 | 0.050622 | 5,867 | 2 | 5,820 | 2,933.5 | 0.397307 | 0 | 0 | 0 | 0 | 0 | 0.581288 | 0.263463 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
89e7148b94fbb6ff67562cec6d68812dbd3e3bf6 | 48 | py | Python | cvdd/models/__init__.py | altescy/cvdd | 57e4fe0fd30a6d2b67651ce076b63a9a8a6e7c7a | [
"MIT"
] | 5 | 2021-07-11T08:40:43.000Z | 2021-07-19T05:08:11.000Z | cvdd/models/__init__.py | altescy/cvdd | 57e4fe0fd30a6d2b67651ce076b63a9a8a6e7c7a | [
"MIT"
] | null | null | null | cvdd/models/__init__.py | altescy/cvdd | 57e4fe0fd30a6d2b67651ce076b63a9a8a6e7c7a | [
"MIT"
] | null | null | null | from cvdd.models.cvdd import CVDD # noqa: F401
| 24 | 47 | 0.75 | 8 | 48 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 0.166667 | 48 | 1 | 48 | 48 | 0.825 | 0.208333 | 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 |
89efdfa0780385a69fa5893afa10657f79b8c298 | 9,188 | py | Python | market_place_proj/app_market/migrations/0002_initial.py | grand-roman/market_place | 219e9c6f108fc4edd7508e0f00078c0c78583f47 | [
"BSD-2-Clause"
] | null | null | null | market_place_proj/app_market/migrations/0002_initial.py | grand-roman/market_place | 219e9c6f108fc4edd7508e0f00078c0c78583f47 | [
"BSD-2-Clause"
] | null | null | null | market_place_proj/app_market/migrations/0002_initial.py | grand-roman/market_place | 219e9c6f108fc4edd7508e0f00078c0c78583f47 | [
"BSD-2-Clause"
] | null | null | null | # Generated by Django 3.2.8 on 2021-12-23 12:58
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import mptt.fields
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MOD... | 51.044444 | 203 | 0.641707 | 1,024 | 9,188 | 5.587891 | 0.088867 | 0.04474 | 0.128626 | 0.150996 | 0.835722 | 0.829081 | 0.736281 | 0.708668 | 0.686299 | 0.686299 | 0 | 0.003507 | 0.224205 | 9,188 | 179 | 204 | 51.329609 | 0.799242 | 0.004898 | 0 | 0.639535 | 1 | 0 | 0.15797 | 0.009846 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.023256 | 0 | 0.046512 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d6089b133347f222fbcfd38934ebc034c6fbe312 | 232 | py | Python | strategies.py | JMan-Zx/game_of_hog | 9e75fe246905092fc37e46c314cfee04316b1371 | [
"MIT"
] | null | null | null | strategies.py | JMan-Zx/game_of_hog | 9e75fe246905092fc37e46c314cfee04316b1371 | [
"MIT"
] | null | null | null | strategies.py | JMan-Zx/game_of_hog | 9e75fe246905092fc37e46c314cfee04316b1371 | [
"MIT"
] | null | null | null | from game_matrix import game_matrix
def optimal(player_score, opponent_score):
# take off the win_rate, not needed
return game_matrix(player_score, opponent_score)[0]
def roll_4(player_score, opponent_score):
return 4
| 25.777778 | 55 | 0.780172 | 36 | 232 | 4.722222 | 0.555556 | 0.176471 | 0.335294 | 0.423529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015306 | 0.155172 | 232 | 8 | 56 | 29 | 0.852041 | 0.142241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d640cdcd379049a0929051fb7f9350b9d263d736 | 32 | py | Python | aiotg/__init__.py | domclick/aiotg | 9228af2727ea88ee60b46678511dd701b965afe3 | [
"MIT"
] | 435 | 2015-06-30T17:50:42.000Z | 2022-03-24T10:08:59.000Z | aiotg/__init__.py | domclick/aiotg | 9228af2727ea88ee60b46678511dd701b965afe3 | [
"MIT"
] | 65 | 2015-08-14T10:25:49.000Z | 2021-07-29T14:01:56.000Z | aiotg/__init__.py | domclick/aiotg | 9228af2727ea88ee60b46678511dd701b965afe3 | [
"MIT"
] | 71 | 2015-07-20T22:14:47.000Z | 2022-01-21T11:20:59.000Z | from aiotg.bot import * # noqa
| 16 | 31 | 0.6875 | 5 | 32 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 32 | 1 | 32 | 32 | 0.88 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d65674ebd0afd658cb831b24a3c0347e6d767352 | 209 | py | Python | modules/debug/sources/__init__.py | AnthonyEdvalson/Machina | fefb058591dd7b62817c75277d5ca0eb6dbd8c3a | [
"MIT"
] | null | null | null | modules/debug/sources/__init__.py | AnthonyEdvalson/Machina | fefb058591dd7b62817c75277d5ca0eb6dbd8c3a | [
"MIT"
] | null | null | null | modules/debug/sources/__init__.py | AnthonyEdvalson/Machina | fefb058591dd7b62817c75277d5ca0eb6dbd8c3a | [
"MIT"
] | null | null | null | from modules.debug.sources.brokensource import BrokenSource
from modules.debug.sources.source1 import Source1
from modules.debug.sources.source2 import Source2
sources = [Source1, Source2, BrokenSource]
| 34.833333 | 60 | 0.822967 | 25 | 209 | 6.88 | 0.32 | 0.19186 | 0.27907 | 0.401163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.110048 | 209 | 5 | 61 | 41.8 | 0.892473 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c3884df21f8506c3208765a75e80a5447431a310 | 66 | py | Python | devito/passes/equations/__init__.py | speglich/devito | b636f7694eb6a1e19b0f2c48f44ff63613029a7b | [
"MIT"
] | 1 | 2021-03-25T21:23:03.000Z | 2021-03-25T21:23:03.000Z | devito/passes/equations/__init__.py | speglich/devito | b636f7694eb6a1e19b0f2c48f44ff63613029a7b | [
"MIT"
] | 52 | 2020-10-12T19:29:09.000Z | 2022-03-10T14:05:22.000Z | devito/passes/equations/__init__.py | alisiahkoohi/devito | f535a44dff12de2837eb6e3217a65ffb2d371cb8 | [
"MIT"
] | 1 | 2020-06-02T03:31:11.000Z | 2020-06-02T03:31:11.000Z | from .linearity import * # noqa
from .buffering import * # noqa
| 22 | 32 | 0.69697 | 8 | 66 | 5.75 | 0.625 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 66 | 2 | 33 | 33 | 0.884615 | 0.136364 | 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 |
c3bf84eddf3053d89dbd376832d9725192054646 | 131 | py | Python | xvision/api/face.py | jimmysue/xvision | bf5aa567a197b3e4c9fdd285c80b4f7512d14d7a | [
"MIT"
] | 3 | 2021-04-08T10:50:53.000Z | 2021-11-15T07:26:16.000Z | xvision/api/face.py | jimmysue/xvision | bf5aa567a197b3e4c9fdd285c80b4f7512d14d7a | [
"MIT"
] | 3 | 2021-08-05T07:40:52.000Z | 2021-11-16T05:53:29.000Z | xvision/api/face.py | jimmysue/xvision | bf5aa567a197b3e4c9fdd285c80b4f7512d14d7a | [
"MIT"
] | 1 | 2021-12-15T05:57:48.000Z | 2021-12-15T05:57:48.000Z |
def load_face_detector(checkpoint, *args, **kwargs):
pass
def load_face_alignmentor(checkpoint, *args, **kwargs):
pass
| 14.555556 | 55 | 0.709924 | 16 | 131 | 5.5625 | 0.5625 | 0.157303 | 0.247191 | 0.539326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167939 | 131 | 8 | 56 | 16.375 | 0.816514 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
c3d665569858a64b4a4b5c00838a5c871acc2751 | 26,046 | py | Python | anygraph/unittests/test_linkers.py | gemerden/anygraph | c20cab82ad4a7f4117690a445e136c2b0e84f0f3 | [
"MIT"
] | 10 | 2020-06-11T14:11:58.000Z | 2021-12-31T11:59:26.000Z | anygraph/unittests/test_linkers.py | gemerden/anygraph | c20cab82ad4a7f4117690a445e136c2b0e84f0f3 | [
"MIT"
] | null | null | null | anygraph/unittests/test_linkers.py | gemerden/anygraph | c20cab82ad4a7f4117690a445e136c2b0e84f0f3 | [
"MIT"
] | null | null | null | import unittest
import uuid
from random import choice
from anygraph import One, Many
class TestLinkers(unittest.TestCase):
def test_one(self):
class TestOne(object):
next = One()
def __init__(self, name):
self.name = name
bob = TestOne('bob')
ann... | 25.890656 | 117 | 0.531176 | 3,065 | 26,046 | 4.378467 | 0.053834 | 0.053651 | 0.031148 | 0.041356 | 0.822951 | 0.787332 | 0.74389 | 0.718703 | 0.691356 | 0.661401 | 0 | 0.006525 | 0.358673 | 26,046 | 1,005 | 118 | 25.916418 | 0.796875 | 0.003187 | 0 | 0.744711 | 0 | 0 | 0.026929 | 0 | 0 | 0 | 0 | 0 | 0.22708 | 1 | 0.149506 | false | 0 | 0.005642 | 0.022567 | 0.236953 | 0.002821 | 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 |
c3e09c556896dd2fa796ac85763c805d61969d77 | 12,008 | py | Python | ansible/library/openstack-ansible-modules-master_zip_old/tests/test_keystone_service.py | ggwena/BadCops | fe9e7438a74abb8383488c6aca6dcb42ae049dcc | [
"MIT"
] | 1 | 2015-06-16T14:42:48.000Z | 2015-06-16T14:42:48.000Z | ansible/library/openstack-ansible-modules-master_zip_old/tests/test_keystone_service.py | ggwena/BadCops | fe9e7438a74abb8383488c6aca6dcb42ae049dcc | [
"MIT"
] | null | null | null | ansible/library/openstack-ansible-modules-master_zip_old/tests/test_keystone_service.py | ggwena/BadCops | fe9e7438a74abb8383488c6aca6dcb42ae049dcc | [
"MIT"
] | null | null | null | import keystone_service
import mock
from nose.tools import assert_equal, assert_list_equal, assert_is_none
from nose import SkipTest
def setup():
keystone = mock.MagicMock()
service = mock.Mock(id="b6a7ff03f2574cd9b5c7c61186e0d781",
type="identity",
description=... | 37.880126 | 80 | 0.647318 | 1,337 | 12,008 | 5.554974 | 0.071803 | 0.06032 | 0.036354 | 0.04726 | 0.852565 | 0.81298 | 0.79386 | 0.77124 | 0.71644 | 0.700821 | 0 | 0.088613 | 0.254747 | 12,008 | 316 | 81 | 38 | 0.741312 | 0.086109 | 0 | 0.697248 | 0 | 0 | 0.225103 | 0.091954 | 0 | 0 | 0 | 0 | 0.110092 | 1 | 0.055046 | false | 0 | 0.018349 | 0 | 0.077982 | 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 |
617bb18c3a9869be98d3113fef109768a928d02e | 43 | py | Python | dataset/bdd100k/__init__.py | masszhou/lane_detector | e28fe4adbd4c804e45c9bd86743739196bc30105 | [
"MIT"
] | 4 | 2020-10-07T03:31:42.000Z | 2022-03-23T04:10:56.000Z | dataset/bdd100k/__init__.py | masszhou/lane_detector | e28fe4adbd4c804e45c9bd86743739196bc30105 | [
"MIT"
] | null | null | null | dataset/bdd100k/__init__.py | masszhou/lane_detector | e28fe4adbd4c804e45c9bd86743739196bc30105 | [
"MIT"
] | 1 | 2020-11-16T07:13:53.000Z | 2020-11-16T07:13:53.000Z | from .bdd100k_loader import DatasetBDD100K
| 21.5 | 42 | 0.883721 | 5 | 43 | 7.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0.093023 | 43 | 1 | 43 | 43 | 0.794872 | 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 |
6187d6f8a3a2fa1d86d960edf723250d59a4d237 | 27,696 | py | Python | src/an_MakeFigs.py | mbonnema/SWAV | d5dd4dd1a88de008f27b0232c536491c7dc84623 | [
"CNRI-Python"
] | null | null | null | src/an_MakeFigs.py | mbonnema/SWAV | d5dd4dd1a88de008f27b0232c536491c7dc84623 | [
"CNRI-Python"
] | null | null | null | src/an_MakeFigs.py | mbonnema/SWAV | d5dd4dd1a88de008f27b0232c536491c7dc84623 | [
"CNRI-Python"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Fri Nov 12 09:16:31 2021
@author: mbonnema
"""
import matplotlib.pyplot as plt
import matplotlib.dates as mdates
import matplotlib.lines as mlines
import matplotlib.colors as colors
import matplotlib.ticker as ticker
from matplotlib import cm
import datetim... | 43.006211 | 152 | 0.617562 | 4,126 | 27,696 | 3.984004 | 0.104217 | 0.013627 | 0.011924 | 0.013627 | 0.802105 | 0.777467 | 0.7653 | 0.744555 | 0.73178 | 0.724054 | 0 | 0.034918 | 0.193458 | 27,696 | 644 | 153 | 43.006211 | 0.700958 | 0.107091 | 0 | 0.654224 | 0 | 0 | 0.094248 | 0.021639 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021611 | false | 0 | 0.035363 | 0 | 0.056974 | 0.035363 | 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 |
61b1012aae2d2936f129d55b00373321422825fc | 25 | py | Python | app.py | galenguyer/vigilant | 7fa21029b37ca047198eeee26fa36575c82d7bbc | [
"MIT"
] | null | null | null | app.py | galenguyer/vigilant | 7fa21029b37ca047198eeee26fa36575c82d7bbc | [
"MIT"
] | null | null | null | app.py | galenguyer/vigilant | 7fa21029b37ca047198eeee26fa36575c82d7bbc | [
"MIT"
] | null | null | null | from vigilant import app
| 12.5 | 24 | 0.84 | 4 | 25 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 1 | 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 |
f606e56ba3d5c848c746af97bdbc52ea7e98df9c | 29 | py | Python | limix_ext/logreg/__init__.py | glimix/limix-ext | 7cf7a3b2b02f6a73cbba90f1945a06b9295b7357 | [
"MIT"
] | 24 | 2020-11-22T21:02:37.000Z | 2022-02-19T14:26:47.000Z | limix_ext/logreg/__init__.py | glimix/limix-ext | 7cf7a3b2b02f6a73cbba90f1945a06b9295b7357 | [
"MIT"
] | 73 | 2020-10-23T07:40:45.000Z | 2022-03-29T17:56:33.000Z | limix_ext/logreg/__init__.py | glimix/limix-ext | 7cf7a3b2b02f6a73cbba90f1945a06b9295b7357 | [
"MIT"
] | 21 | 2020-12-28T17:00:10.000Z | 2021-06-21T23:52:32.000Z | from .predict import predict
| 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 |
f652898fd2b443e0239ef1384dd5ff8d07382f67 | 6,191 | py | Python | src/gestureInfo.py | DennisMelamed/crazyFrog | 25ffa0e6616f7195d034189eef7348d16157215e | [
"MIT"
] | 2 | 2018-01-19T13:16:36.000Z | 2018-01-19T18:39:35.000Z | src/gestureInfo.py | DennisMelamed/crazyFrog | 25ffa0e6616f7195d034189eef7348d16157215e | [
"MIT"
] | null | null | null | src/gestureInfo.py | DennisMelamed/crazyFrog | 25ffa0e6616f7195d034189eef7348d16157215e | [
"MIT"
] | 1 | 2018-09-28T14:30:59.000Z | 2018-09-28T14:30:59.000Z | #
# Author: Owen Levin
#
from numpy import dot
import rospkg
rospack = rospkg.RosPack()
macro_folder = rospack.get_path('crazy_frog') + "/macros/"
file_ext = ".csv"
# Index of Gestures
gestures = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,22,23]
num_var = [22,23]
Digit = 14
Negate = 15
numbers = [0,1,2,3... | 57.324074 | 198 | 0.721047 | 1,065 | 6,191 | 4.158685 | 0.153052 | 0.050802 | 0.074509 | 0.050576 | 0.822082 | 0.815308 | 0.815308 | 0.815308 | 0.815308 | 0.815308 | 0 | 0.046278 | 0.179777 | 6,191 | 107 | 199 | 57.859813 | 0.825916 | 0.574382 | 0 | 0.553191 | 0 | 0 | 0.010113 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010638 | false | 0 | 0.021277 | 0 | 0.031915 | 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 |
9c887d0c985225b1553f4bac2c31462365fdb9dd | 29 | py | Python | nBody-master/nbody/utils/__init__.py | craigboger/nbody-sim | 1b93c5db395f49c54e78c9dfb7e5590fbfad23cc | [
"MIT"
] | null | null | null | nBody-master/nbody/utils/__init__.py | craigboger/nbody-sim | 1b93c5db395f49c54e78c9dfb7e5590fbfad23cc | [
"MIT"
] | null | null | null | nBody-master/nbody/utils/__init__.py | craigboger/nbody-sim | 1b93c5db395f49c54e78c9dfb7e5590fbfad23cc | [
"MIT"
] | null | null | null | from .Counter import Counter
| 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 |
9caae1570264bf28d92ba15fbad413a4102c8792 | 130 | py | Python | apps/account/models.py | picsldev/pyerp | e998e3e99a4e45033d54a6b1df50697f7288f67f | [
"MIT"
] | null | null | null | apps/account/models.py | picsldev/pyerp | e998e3e99a4e45033d54a6b1df50697f7288f67f | [
"MIT"
] | 11 | 2020-06-05T22:50:37.000Z | 2022-02-10T09:05:56.000Z | apps/account/models.py | gvizquel/pyerp | c859f7293cabd1003f79112463cee93ac89fccba | [
"MIT"
] | null | null | null | # Librerias en carpetas locales
from .submodels.accountmove import PyAccountMove
from .submodels.accountplan import PyAccountPlan
| 32.5 | 48 | 0.861538 | 14 | 130 | 8 | 0.785714 | 0.232143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 130 | 3 | 49 | 43.333333 | 0.957265 | 0.223077 | 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 |
140ef840c6386823ec4d046c1fb019c3d764ca89 | 1,908 | py | Python | saopy/qoi/__init__.py | CityPulse/CP_Resourcemanagement | aa670fa89d5e086a98ade3ccc152518be55abf2e | [
"MIT"
] | 2 | 2016-11-03T14:57:45.000Z | 2019-05-13T13:21:08.000Z | saopy/qoi/__init__.py | CityPulse/CP_Resourcemanagement | aa670fa89d5e086a98ade3ccc152518be55abf2e | [
"MIT"
] | null | null | null | saopy/qoi/__init__.py | CityPulse/CP_Resourcemanagement | aa670fa89d5e086a98ade3ccc152518be55abf2e | [
"MIT"
] | 1 | 2020-07-23T11:27:15.000Z | 2020-07-23T11:27:15.000Z | import saopy.model
from saopy.model import qoi___Accuracy as Accuracy
from saopy.model import qoi___Age as Age
from saopy.model import qoi___Authority as Authority
from saopy.model import qoi___Bandwidth as Bandwidth
from saopy.model import qoi___Completeness as Completeness
from saopy.model import qoi___Confidentiali... | 51.567568 | 72 | 0.873166 | 275 | 1,908 | 5.687273 | 0.145455 | 0.223785 | 0.304348 | 0.434783 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108491 | 1,908 | 36 | 73 | 53 | 0.919459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
145222319f0d6d1817b866e79d224f64daff2979 | 2,664 | py | Python | Documents/RacimoAire/ADC/Libreria/ADS1115-master/Onion Omega Python/ADS1115_4Channel.py | JoseSalamancaCoy/RACIMO_AIRE | 628d6ff184a30af0efd25bff675b0006500d4ba2 | [
"MIT"
] | null | null | null | Documents/RacimoAire/ADC/Libreria/ADS1115-master/Onion Omega Python/ADS1115_4Channel.py | JoseSalamancaCoy/RACIMO_AIRE | 628d6ff184a30af0efd25bff675b0006500d4ba2 | [
"MIT"
] | null | null | null | Documents/RacimoAire/ADC/Libreria/ADS1115-master/Onion Omega Python/ADS1115_4Channel.py | JoseSalamancaCoy/RACIMO_AIRE | 628d6ff184a30af0efd25bff675b0006500d4ba2 | [
"MIT"
] | null | null | null | # Distributed with a free-will license.
# Use it any way you want, profit or free, provided it fits in the licenses of its associated works.
# ADS1115
# This code is designed to work with the ADS1115_I2CADC I2C Mini Module available from ControlEverything.com.
# https://www.controleverything.com/content/Analog-Digital-... | 25.615385 | 112 | 0.715841 | 435 | 2,664 | 4.321839 | 0.273563 | 0.076596 | 0.076596 | 0.085106 | 0.749468 | 0.749468 | 0.749468 | 0.749468 | 0.749468 | 0.721277 | 0 | 0.161918 | 0.170045 | 2,664 | 103 | 113 | 25.864078 | 0.688376 | 0.56982 | 0 | 0.685714 | 0 | 0 | 0.166969 | 0 | 0 | 0 | 0.087114 | 0 | 0 | 0 | null | null | 0 | 0.057143 | null | null | 0.114286 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
145388f977523f2be500192512a342122731d326 | 8,434 | py | Python | models.py | sunbingqi/CS224N_Final_Project | dcb967b90b2c9a780729dda2a780b0f0a715e0ad | [
"MIT"
] | null | null | null | models.py | sunbingqi/CS224N_Final_Project | dcb967b90b2c9a780729dda2a780b0f0a715e0ad | [
"MIT"
] | null | null | null | models.py | sunbingqi/CS224N_Final_Project | dcb967b90b2c9a780729dda2a780b0f0a715e0ad | [
"MIT"
] | null | null | null | """Top-level model classes.
Author:
Chris Chute (chute@stanford.edu)
"""
import layers
import torch
import torch.nn as nn
import torch.nn.functional as F
from util import masked_softmax
class BiDAFBASE(nn.Module):
"""Baseline BiDAF model for SQuAD.
Based on the paper:
"Bidirectional Attention Flow fo... | 43.927083 | 155 | 0.589874 | 1,137 | 8,434 | 4.092348 | 0.152155 | 0.118203 | 0.057167 | 0.073071 | 0.848055 | 0.832796 | 0.827853 | 0.790243 | 0.785515 | 0.759725 | 0 | 0.019424 | 0.316339 | 8,434 | 192 | 156 | 43.927083 | 0.787548 | 0.275907 | 0 | 0.663636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054545 | false | 0 | 0.045455 | 0 | 0.154545 | 0.018182 | 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 |
145599ea0d8b8585ada70d693246b6d2c121413b | 37 | py | Python | folder2/testfile2.py | aviljoenn/pynetlab | 14e2f12217b6d7137c5e047574cef36b475382dc | [
"Apache-2.0"
] | null | null | null | folder2/testfile2.py | aviljoenn/pynetlab | 14e2f12217b6d7137c5e047574cef36b475382dc | [
"Apache-2.0"
] | null | null | null | folder2/testfile2.py | aviljoenn/pynetlab | 14e2f12217b6d7137c5e047574cef36b475382dc | [
"Apache-2.0"
] | null | null | null | print("This is file 2 in folder 2")
| 12.333333 | 35 | 0.675676 | 8 | 37 | 3.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0.216216 | 37 | 2 | 36 | 18.5 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0.722222 | 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 |
145b774ac040ddf73e25781f110fbd00bf78a816 | 18 | py | Python | Chapter1/R-1/9.py | GeorgeGkas/Data_Structures_and_Algorithms_in_Python | c4f8b590ab2dd008504e639607c62d5e5760009a | [
"MIT"
] | 1 | 2017-05-18T09:43:38.000Z | 2017-05-18T09:43:38.000Z | Chapter1/R-1/9.py | GeorgeGkas/Data_Structures_and_Algorithms_in_Python | c4f8b590ab2dd008504e639607c62d5e5760009a | [
"MIT"
] | null | null | null | Chapter1/R-1/9.py | GeorgeGkas/Data_Structures_and_Algorithms_in_Python | c4f8b590ab2dd008504e639607c62d5e5760009a | [
"MIT"
] | null | null | null | range(50, 81, 10)
| 9 | 17 | 0.611111 | 4 | 18 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0.166667 | 18 | 1 | 18 | 18 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
147379d82fcdc1ad756e06bf99062f91ee672b0b | 66 | py | Python | examples/max/ex3.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/max/ex3.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/max/ex3.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | print(max([10, '1', '100', 90, '111', '2'], key=lambda x:int(x)))
| 33 | 65 | 0.515152 | 13 | 66 | 2.615385 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 0.121212 | 66 | 1 | 66 | 66 | 0.37931 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 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 |
1ad3189b352da64045f42099eead2a05d277cf32 | 11,202 | py | Python | test/unit/test_client.py | smarter-travel-media/artifacts | cdb29a17ede0924b122b3905a500442c62ae53b7 | [
"MIT"
] | 1 | 2017-02-10T20:55:17.000Z | 2017-02-10T20:55:17.000Z | test/unit/test_client.py | smarter-travel-media/artifacts | cdb29a17ede0924b122b3905a500442c62ae53b7 | [
"MIT"
] | 4 | 2015-12-21T19:26:05.000Z | 2016-05-06T14:30:35.000Z | test/unit/test_client.py | smarter-travel-media/artifacts | cdb29a17ede0924b122b3905a500442c62ae53b7 | [
"MIT"
] | 1 | 2016-07-30T07:07:48.000Z | 2016-07-30T07:07:48.000Z | # -*- coding: utf-8 -*-
"""
"""
import mock
import pytest
import requests
@pytest.fixture
def version_dao():
from stac.http import VersionApiDao
return mock.Mock(spec=VersionApiDao)
@pytest.fixture
def url_generator():
from stac.client import MavenArtifactUrlGenerator
return mock.Mock(spec=MavenAr... | 39.864769 | 101 | 0.719247 | 1,210 | 11,202 | 6.409091 | 0.08595 | 0.058801 | 0.032495 | 0.046422 | 0.915667 | 0.90303 | 0.867054 | 0.850419 | 0.829014 | 0.825919 | 0 | 0.011023 | 0.198268 | 11,202 | 280 | 102 | 40.007143 | 0.852466 | 0.001875 | 0 | 0.693467 | 0 | 0.020101 | 0.110097 | 0.050752 | 0 | 0 | 0 | 0 | 0.055276 | 1 | 0.095477 | false | 0 | 0.145729 | 0 | 0.261307 | 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 |
210fcc7d2a18ce64a4348dbf5cceabde6b713f51 | 134 | py | Python | tests/test_clean.py | jonparrott/readme_renderer | d356c29635bf06eb4b150e6ae2a224c952a15f1d | [
"Apache-2.0"
] | null | null | null | tests/test_clean.py | jonparrott/readme_renderer | d356c29635bf06eb4b150e6ae2a224c952a15f1d | [
"Apache-2.0"
] | null | null | null | tests/test_clean.py | jonparrott/readme_renderer | d356c29635bf06eb4b150e6ae2a224c952a15f1d | [
"Apache-2.0"
] | null | null | null | from readme_renderer.clean import clean
def test_invalid_link():
assert clean('<a href="http://exam](ple.com">foo</a>') is None
| 22.333333 | 66 | 0.708955 | 22 | 134 | 4.181818 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126866 | 134 | 5 | 67 | 26.8 | 0.786325 | 0 | 0 | 0 | 0 | 0 | 0.283582 | 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 |
2156b3977eed64fe4d6f067d04dbccc1bdd6dd75 | 17,213 | py | Python | test/unit/transport/test_parser.py | doesitblend/ncclient | 0730e23ce5de8f8615c9ff5e63d6fc9bba8b3cf1 | [
"Apache-2.0"
] | null | null | null | test/unit/transport/test_parser.py | doesitblend/ncclient | 0730e23ce5de8f8615c9ff5e63d6fc9bba8b3cf1 | [
"Apache-2.0"
] | null | null | null | test/unit/transport/test_parser.py | doesitblend/ncclient | 0730e23ce5de8f8615c9ff5e63d6fc9bba8b3cf1 | [
"Apache-2.0"
] | null | null | null | import os
import unittest
from mock import patch
import paramiko
from ncclient import manager
from ncclient.transport.ssh import SSHSession
from ncclient.operations.third_party.juniper.rpc import *
from ncclient.operations import RaiseMode
from ncclient.transport.parser import DefaultXMLParser
try:
import select... | 57.186047 | 247 | 0.638819 | 2,030 | 17,213 | 5.254187 | 0.108867 | 0.043878 | 0.060754 | 0.049503 | 0.833583 | 0.827677 | 0.823551 | 0.808738 | 0.799175 | 0.794487 | 0 | 0.039601 | 0.225411 | 17,213 | 300 | 248 | 57.376667 | 0.760369 | 0.008656 | 0 | 0.677193 | 0 | 0.031579 | 0.420726 | 0.321435 | 0 | 0 | 0.006037 | 0 | 0.049123 | 1 | 0.02807 | false | 0 | 0.042105 | 0 | 0.077193 | 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 |
0d10d8349157877d15f19a50159b633a70cf7138 | 25 | py | Python | code/abc085_a_02.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | 3 | 2019-08-16T16:55:48.000Z | 2021-04-11T10:21:40.000Z | code/abc085_a_02.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | code/abc085_a_02.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | print("2018"+input()[4:]) | 25 | 25 | 0.6 | 4 | 25 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 25 | 1 | 25 | 25 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
0d1a0685a787ba53bf67509347ace972cdd96b8f | 11,476 | py | Python | nz_snow_tools/util/write_fsca_to_netcdf.py | jonoconway/nz_snow_tools | 7002fb401fb48225260fada6fd5b5b7ca5ad1184 | [
"MIT"
] | 3 | 2020-09-01T07:53:05.000Z | 2021-02-02T20:28:37.000Z | nz_snow_tools/util/write_fsca_to_netcdf.py | jonoconway/nz_snow_tools | 7002fb401fb48225260fada6fd5b5b7ca5ad1184 | [
"MIT"
] | null | null | null | nz_snow_tools/util/write_fsca_to_netcdf.py | jonoconway/nz_snow_tools | 7002fb401fb48225260fada6fd5b5b7ca5ad1184 | [
"MIT"
] | null | null | null | """
writes arrays of fractional snow covered area to a net cdf file
"""
import netCDF4 as nc
from time import strftime, gmtime
import numpy as np
def create_ncvar_temperaure(ds, no_time=False):
if no_time == False:
temp_var = ds.createVariable('air_temperature', 'f4', ('time', 'northing', 'easting',), zl... | 35.639752 | 135 | 0.64526 | 1,476 | 11,476 | 4.817073 | 0.134824 | 0.020253 | 0.018565 | 0.032349 | 0.822504 | 0.817862 | 0.796765 | 0.764838 | 0.725738 | 0.705204 | 0 | 0.017923 | 0.222116 | 11,476 | 321 | 136 | 35.750779 | 0.778537 | 0.169833 | 0 | 0.680365 | 0 | 0 | 0.222128 | 0.022468 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045662 | false | 0 | 0.013699 | 0 | 0.100457 | 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 |
0d2a57508331cc5221d9ba1f8f79249af10dd6d8 | 153 | py | Python | models/backbone/__init__.py | trankha1655/pan_pp.origin | 65775074ee06fef2c46aecd720821d0502ef3cd9 | [
"Apache-2.0"
] | 329 | 2020-09-02T11:11:27.000Z | 2022-03-27T17:46:17.000Z | models/backbone/__init__.py | simplify23/pan_pp.pytorch | aa4774b1bf360d0a8e54d520483514d57521bf34 | [
"Apache-2.0"
] | 84 | 2020-09-04T00:33:05.000Z | 2022-03-26T14:22:09.000Z | models/backbone/__init__.py | simplify23/pan_pp.pytorch | aa4774b1bf360d0a8e54d520483514d57521bf34 | [
"Apache-2.0"
] | 74 | 2020-09-03T01:12:25.000Z | 2022-03-28T12:04:49.000Z | from .builder import build_backbone
from .resnet import resnet18, resnet50, resnet101
__all__ = ['resnet18', 'resnet50', 'resnet101', 'build_backbone']
| 30.6 | 65 | 0.771242 | 17 | 153 | 6.588235 | 0.588235 | 0.232143 | 0.446429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102941 | 0.111111 | 153 | 4 | 66 | 38.25 | 0.720588 | 0 | 0 | 0 | 0 | 0 | 0.254902 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b4f803a29f61225b0633eade21b5cb7a018ea789 | 26,449 | py | Python | optionvisualizer/option_formulas.py | GBERESEARCH/optionvisualizer | 98830c478f7edbacb18f30d679ee4010c7ed7fe6 | [
"MIT"
] | 8 | 2020-12-08T15:22:02.000Z | 2022-03-26T19:40:38.000Z | optionvisualizer/option_formulas.py | GBERESEARCH/optionvisualizer | 98830c478f7edbacb18f30d679ee4010c7ed7fe6 | [
"MIT"
] | null | null | null | optionvisualizer/option_formulas.py | GBERESEARCH/optionvisualizer | 98830c478f7edbacb18f30d679ee4010c7ed7fe6 | [
"MIT"
] | 4 | 2020-11-19T23:08:05.000Z | 2021-12-28T08:07:02.000Z | """
Option Pricing and Greeks formulas
"""
import numpy as np
from optionvisualizer.utilities import Utils
# pylint: disable=invalid-name
class Option():
"""
Calculate Black Scholes Option Price and Greeks
"""
@staticmethod
def price(opt_params, params):
"""
Black Scholes Option ... | 31.374852 | 79 | 0.493365 | 2,834 | 26,449 | 4.491884 | 0.065984 | 0.120189 | 0.09238 | 0.057188 | 0.844776 | 0.823017 | 0.782639 | 0.766064 | 0.739827 | 0.727337 | 0 | 0.027887 | 0.406178 | 26,449 | 842 | 80 | 31.412114 | 0.782631 | 0.437748 | 0 | 0.472868 | 0 | 0 | 0.054752 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05814 | false | 0 | 0.007752 | 0 | 0.127907 | 0.003876 | 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 |
2eca032916d2148a559be6a245373af27a7ed590 | 27,723 | py | Python | PhdTester/phdTester/graph.py | Koldar/phdTester | b9eddc33409869fa327eef20dd0c05b336a71d97 | [
"MIT"
] | 1 | 2019-07-09T17:30:49.000Z | 2019-07-09T17:30:49.000Z | PhdTester/phdTester/graph.py | Koldar/phdTester | b9eddc33409869fa327eef20dd0c05b336a71d97 | [
"MIT"
] | 145 | 2019-05-22T17:22:50.000Z | 2021-02-10T02:25:05.000Z | PhdTester/phdTester/graph.py | Koldar/phdTester | b9eddc33409869fa327eef20dd0c05b336a71d97 | [
"MIT"
] | null | null | null | import abc
import os
from typing import Any, Iterable, Tuple, List, Dict
class ISingleDirectedGraph(abc.ABC):
@abc.abstractmethod
def add_vertex(self, payload, aid: Any = None) -> Any:
pass
@abc.abstractmethod
def get_vertex(self, aid) -> Any:
pass
@abc.abstractme... | 33.401205 | 134 | 0.575118 | 3,467 | 27,723 | 4.516873 | 0.066628 | 0.035632 | 0.030204 | 0.05364 | 0.787739 | 0.753768 | 0.727011 | 0.688186 | 0.666603 | 0.642465 | 0 | 0.001241 | 0.331602 | 27,723 | 829 | 135 | 33.441496 | 0.843875 | 0.225733 | 0 | 0.782895 | 0 | 0 | 0.045038 | 0.006434 | 0 | 0 | 0 | 0 | 0 | 1 | 0.245614 | false | 0.089912 | 0.006579 | 0.030702 | 0.361842 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
2ef125506e13465d675d5c6f9775912164599a66 | 39 | py | Python | Config/__init__.py | Naopil/EldenBot | 2b6f4e98dcfdf3720a6c4add4f694d0e15cd575a | [
"MIT"
] | null | null | null | Config/__init__.py | Naopil/EldenBot | 2b6f4e98dcfdf3720a6c4add4f694d0e15cd575a | [
"MIT"
] | 1 | 2019-11-16T19:01:01.000Z | 2019-11-16T19:01:01.000Z | Config/__init__.py | Naopil/EldenBot | 2b6f4e98dcfdf3720a6c4add4f694d0e15cd575a | [
"MIT"
] | 4 | 2018-07-22T23:13:26.000Z | 2022-03-29T17:06:50.000Z | from .ConfigLoader import GlobalConfig
| 19.5 | 38 | 0.871795 | 4 | 39 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 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 |
2effd946f203625ed6a496f35c3a4a5cc5913b17 | 27 | py | Python | examples/NIPS/MNIST/noisy_sequence_detection/__init__.py | MarcRoigVilamala/DeepProbCEP | 0d82f6c237b50122734afe758ef42bdb070ace7c | [
"MIT"
] | 6 | 2020-09-10T03:40:53.000Z | 2021-05-26T07:30:20.000Z | examples/NIPS/MNIST/noisy_sequence_detection/__init__.py | MarcRoigVilamala/DeepProbCEP | 0d82f6c237b50122734afe758ef42bdb070ace7c | [
"MIT"
] | null | null | null | examples/NIPS/MNIST/noisy_sequence_detection/__init__.py | MarcRoigVilamala/DeepProbCEP | 0d82f6c237b50122734afe758ef42bdb070ace7c | [
"MIT"
] | 1 | 2020-11-23T15:55:57.000Z | 2020-11-23T15:55:57.000Z | from .scenario001 import *
| 13.5 | 26 | 0.777778 | 3 | 27 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0.148148 | 27 | 1 | 27 | 27 | 0.782609 | 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 |
2c2b01f05edca46c62424fe33c6c7e0289a68bec | 1,211 | py | Python | delete2.py | Naxaes/TextEditor | b3ea7edce4ea92b7038db218aef89715286547e7 | [
"MIT"
] | null | null | null | delete2.py | Naxaes/TextEditor | b3ea7edce4ea92b7038db218aef89715286547e7 | [
"MIT"
] | null | null | null | delete2.py | Naxaes/TextEditor | b3ea7edce4ea92b7038db218aef89715286547e7 | [
"MIT"
] | null | null | null | from tkinter import *
root = Tk()
text_area = Frame(root, bd=2, relief=SUNKEN)
text_area.grid_rowconfigure(0, weight=1)
text_area.grid_columnconfigure(0, weight=1)
scrollbar_x = Scrollbar(text_area, orient=HORIZONTAL)
scrollbar_x.grid(row=1, column=0, sticky=E + W)
scrollbar_y = Scrollbar(text_area)
scrollbar_y.gri... | 25.765957 | 105 | 0.774566 | 202 | 1,211 | 4.475248 | 0.222772 | 0.088496 | 0.035398 | 0.061947 | 0.85177 | 0.85177 | 0.789823 | 0.727876 | 0.727876 | 0.617257 | 0 | 0.0217 | 0.086705 | 1,211 | 47 | 106 | 25.765957 | 0.79566 | 0 | 0 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.037037 | 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 |
25dff0016c69482af3215732d728bd4d52c10521 | 10,272 | py | Python | db/migrations/versions/8723fb0cc02e_create_tables.py | chriamue/flask-unchained-react-spa | 610e099f3ece508f4c8a62d3704e4cc49f869194 | [
"MIT"
] | 5 | 2018-10-15T15:33:32.000Z | 2021-01-13T23:03:48.000Z | db/migrations/versions/8723fb0cc02e_create_tables.py | chriamue/flask-unchained-react-spa | 610e099f3ece508f4c8a62d3704e4cc49f869194 | [
"MIT"
] | 15 | 2018-10-15T20:14:21.000Z | 2022-03-15T19:15:09.000Z | db/migrations/versions/8723fb0cc02e_create_tables.py | chriamue/flask-unchained-react-spa | 610e099f3ece508f4c8a62d3704e4cc49f869194 | [
"MIT"
] | 4 | 2018-10-15T15:59:25.000Z | 2020-04-11T17:48:35.000Z | """create tables
Revision ID: 8723fb0cc02e
Revises:
Create Date: 2018-04-23 10:21:06.996560
"""
from alembic import op
import sqlalchemy as sa
import flask_unchained.bundles.sqlalchemy as flask_sqlalchemy_bundle
# revision identifiers, used by Alembic.
revision = '8723fb0cc02e'
down_revision = None
branch_labels = ... | 65.012658 | 137 | 0.72868 | 1,415 | 10,272 | 5.077739 | 0.074912 | 0.07794 | 0.127349 | 0.146138 | 0.827418 | 0.807794 | 0.767989 | 0.732916 | 0.709255 | 0.694363 | 0 | 0.008598 | 0.094237 | 10,272 | 157 | 138 | 65.426752 | 0.76365 | 0.027551 | 0 | 0.371429 | 0 | 0 | 0.170016 | 0.034767 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014286 | false | 0.007143 | 0.021429 | 0 | 0.035714 | 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 |
d394ab8ef93d9fb13c17a4577026f96307df8d84 | 118 | py | Python | kaggle_utils/__init__.py | Ynakatsuka/kaggle_utils | a23b62745bd7881e1a91c74e17612189d1f08784 | [
"MIT"
] | 122 | 2019-10-13T02:47:18.000Z | 2022-02-21T02:01:06.000Z | kaggle_utils/__init__.py | Ynakatsuka/kaggle_utils | a23b62745bd7881e1a91c74e17612189d1f08784 | [
"MIT"
] | null | null | null | kaggle_utils/__init__.py | Ynakatsuka/kaggle_utils | a23b62745bd7881e1a91c74e17612189d1f08784 | [
"MIT"
] | 19 | 2019-08-01T02:23:09.000Z | 2022-01-15T11:22:01.000Z | from . import features
from . import models
from . import preprocess
from . import utils
from . import visualizations
| 19.666667 | 28 | 0.788136 | 15 | 118 | 6.2 | 0.466667 | 0.537634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169492 | 118 | 5 | 29 | 23.6 | 0.94898 | 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 |
d3a336a964acd8b72725345a3b5c1c93f17c03c0 | 79 | py | Python | ContactHands/contact_hands_two_stream/engine/__init__.py | seoyoon130/Graduation_Project | 9082cb93fb4f73c3a1577f63e906e6eb7f147dc4 | [
"Apache-2.0"
] | 26 | 2020-10-20T01:58:26.000Z | 2022-02-24T11:48:10.000Z | ContactHands/contact_hands_two_stream/engine/__init__.py | seoyoon130/Graduation_Project | 9082cb93fb4f73c3a1577f63e906e6eb7f147dc4 | [
"Apache-2.0"
] | 5 | 2020-10-21T05:39:08.000Z | 2021-09-17T13:57:29.000Z | contact_hands_two_stream/engine/__init__.py | cvlab-stonybrook/ContactHands | 6aba9a5f098b50529e589b7835264df9264844e9 | [
"MIT"
] | 1 | 2022-02-24T11:48:14.000Z | 2022-02-24T11:48:14.000Z | from .custom_arg_parser import *
from .custom_predictor import CustomPredictor
| 26.333333 | 45 | 0.860759 | 10 | 79 | 6.5 | 0.7 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 79 | 2 | 46 | 39.5 | 0.915493 | 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 |
6c9ea02da1861cdcf3b0ad69f985e65134c63078 | 78 | py | Python | models/__init__.py | mnanchev/restful_password_generator | 31b58f4cccae35e8c9aacf3817425e73c20ca41c | [
"MIT"
] | null | null | null | models/__init__.py | mnanchev/restful_password_generator | 31b58f4cccae35e8c9aacf3817425e73c20ca41c | [
"MIT"
] | 1 | 2021-12-30T10:11:23.000Z | 2022-01-05T16:56:16.000Z | models/__init__.py | mnanchev/restful_password_generator | 31b58f4cccae35e8c9aacf3817425e73c20ca41c | [
"MIT"
] | null | null | null | from models.creator import CreatorModel
from models.secret import SecretModel
| 26 | 39 | 0.871795 | 10 | 78 | 6.8 | 0.7 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 78 | 2 | 40 | 39 | 0.971429 | 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 |
6cccf4ca8893430e484d7391559264b807dc4373 | 807 | py | Python | hyaml/methods/units.py | latera/hyaml | 4dc020434d25c182f8477ddd5582398e51501274 | [
"Apache-2.0"
] | 3 | 2020-04-12T15:55:11.000Z | 2021-08-02T16:26:21.000Z | hyaml/methods/units.py | latera/hyaml | 4dc020434d25c182f8477ddd5582398e51501274 | [
"Apache-2.0"
] | null | null | null | hyaml/methods/units.py | latera/hyaml | 4dc020434d25c182f8477ddd5582398e51501274 | [
"Apache-2.0"
] | null | null | null | from datetime import timedelta
def bytes(number):
return int(number)
_base = 1024
_kilo = _base ** 1
_mega = _base ** 2
_giga = _base ** 3
_tera = _base ** 4
def kilobytes(number):
return bytes(number) * _kilo
def megabytes(number):
return bytes(number) * _mega
def gigabytes(number):
return by... | 13.913793 | 39 | 0.692689 | 103 | 807 | 5.300971 | 0.31068 | 0.263736 | 0.269231 | 0.168498 | 0.17033 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020155 | 0.200743 | 807 | 57 | 40 | 14.157895 | 0.826357 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.033333 | 0.4 | 0.833333 | 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 |
6ce18246c4105be740bfe93810eae477752832d9 | 100 | py | Python | opfu/time.py | XavierDingRotman/OptionsFutures | bab0de0d66efe39f05e9ddf59460ec76547d9ada | [
"Apache-2.0"
] | 1 | 2020-07-05T20:54:15.000Z | 2020-07-05T20:54:15.000Z | opfu/time.py | XavierDingRotman/OptionsFutures | bab0de0d66efe39f05e9ddf59460ec76547d9ada | [
"Apache-2.0"
] | null | null | null | opfu/time.py | XavierDingRotman/OptionsFutures | bab0de0d66efe39f05e9ddf59460ec76547d9ada | [
"Apache-2.0"
] | null | null | null | def get_T(trans_date, mature_date, base=365.2425):
return (mature_date - trans_date).days/base
| 25 | 50 | 0.75 | 17 | 100 | 4.117647 | 0.647059 | 0.257143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08046 | 0.13 | 100 | 3 | 51 | 33.333333 | 0.724138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
9f0f318a910353a60ce7b9fd45787385b356b1b0 | 31 | py | Python | encoder_decoder/__init__.py | uyuutosa/naughty_parrot | 5047530f190950d1dfbf2a52decea4b8769c20ae | [
"MIT"
] | null | null | null | encoder_decoder/__init__.py | uyuutosa/naughty_parrot | 5047530f190950d1dfbf2a52decea4b8769c20ae | [
"MIT"
] | null | null | null | encoder_decoder/__init__.py | uyuutosa/naughty_parrot | 5047530f190950d1dfbf2a52decea4b8769c20ae | [
"MIT"
] | null | null | null | from .encoder_decoder import *
| 15.5 | 30 | 0.806452 | 4 | 31 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4cb443f8f3c8715058c667317142792cf7c9daeb | 94 | py | Python | src/datasets/__init__.py | chao1224/SGNN-EBM | bda4c486e8ecb9775b635757dbe1071878be7b8a | [
"MIT"
] | null | null | null | src/datasets/__init__.py | chao1224/SGNN-EBM | bda4c486e8ecb9775b635757dbe1071878be7b8a | [
"MIT"
] | 1 | 2022-03-25T01:47:18.000Z | 2022-03-25T01:50:12.000Z | src/datasets/__init__.py | chao1224/SGNN-EBM | bda4c486e8ecb9775b635757dbe1071878be7b8a | [
"MIT"
] | null | null | null | from .molecule_dataset import MoleculeDataset
from .knowledge_graph_dataset import PPI_dataset | 47 | 48 | 0.904255 | 12 | 94 | 6.75 | 0.666667 | 0.320988 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074468 | 94 | 2 | 48 | 47 | 0.931034 | 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 |
4cd4d01ff5582fed967630dda76ec0f5c5e71936 | 319 | py | Python | CrashCourse/makeing_pizzas.py | axetang/AxePython | 3b517fa3123ce2e939680ad1ae14f7e602d446a6 | [
"Apache-2.0"
] | 1 | 2019-01-04T05:47:50.000Z | 2019-01-04T05:47:50.000Z | CrashCourse/makeing_pizzas.py | axetang/AxePython | 3b517fa3123ce2e939680ad1ae14f7e602d446a6 | [
"Apache-2.0"
] | null | null | null | CrashCourse/makeing_pizzas.py | axetang/AxePython | 3b517fa3123ce2e939680ad1ae14f7e602d446a6 | [
"Apache-2.0"
] | null | null | null | #import pizza as p
from pizza import make_pizza as mp
#pizza.make_pizza(16, 'pepperoni')
#pizza.make_pizza(12, "mushroom", "green peppers", 'extra cheese')
#make_pizza(16, 'pepperoni')
#make_pizza(12, "mushroom", "green peppers", 'extra cheese')
mp(16, 'pepperoni')
mp(12, "mushroom", "green peppers", 'extra cheese')
| 31.9 | 66 | 0.717868 | 47 | 319 | 4.765957 | 0.319149 | 0.200893 | 0.200893 | 0.294643 | 0.522321 | 0.522321 | 0.375 | 0.375 | 0 | 0 | 0 | 0.042254 | 0.109718 | 319 | 9 | 67 | 35.444444 | 0.746479 | 0.630094 | 0 | 0 | 0 | 0 | 0.371681 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e223e4d9c816bdad72dcf3a58fe296841eb603c9 | 87 | py | Python | app/post/__init__.py | ppolle/blog | 9fcaccfb56e47d3b0b9850df77217d50da854d39 | [
"Unlicense"
] | null | null | null | app/post/__init__.py | ppolle/blog | 9fcaccfb56e47d3b0b9850df77217d50da854d39 | [
"Unlicense"
] | null | null | null | app/post/__init__.py | ppolle/blog | 9fcaccfb56e47d3b0b9850df77217d50da854d39 | [
"Unlicense"
] | null | null | null | from flask import Blueprint
post = Blueprint('post',__name__)
from . import views,forms | 29 | 33 | 0.793103 | 12 | 87 | 5.416667 | 0.666667 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114943 | 87 | 3 | 34 | 29 | 0.844156 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
e28862a91351314af37b1163a06dc93ff56d22d1 | 148 | py | Python | tests/test_maybe/test_nothing_singleton.py | ftruzzi/returns | 42fbb70ffe68e01a848908021cf8ed1a6704b13d | [
"BSD-2-Clause"
] | 2,233 | 2019-01-31T09:15:58.000Z | 2022-03-31T22:13:19.000Z | tests/test_maybe/test_nothing_singleton.py | ftruzzi/returns | 42fbb70ffe68e01a848908021cf8ed1a6704b13d | [
"BSD-2-Clause"
] | 1,062 | 2019-01-30T22:44:03.000Z | 2022-03-31T17:52:22.000Z | tests/test_maybe/test_nothing_singleton.py | ftruzzi/returns | 42fbb70ffe68e01a848908021cf8ed1a6704b13d | [
"BSD-2-Clause"
] | 105 | 2019-03-27T10:15:19.000Z | 2022-02-28T21:34:41.000Z | from returns.maybe import _Nothing
def test_nothing_singleton():
"""Ensures `_Nothing` is a singleton."""
assert _Nothing() is _Nothing()
| 21.142857 | 44 | 0.716216 | 18 | 148 | 5.555556 | 0.666667 | 0.18 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168919 | 148 | 6 | 45 | 24.666667 | 0.813008 | 0.22973 | 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 |
e28ef86a319c7442f0171b76280b0851068fae9a | 48 | py | Python | babyai_sr/rl/utils/__init__.py | thomasaunger/babyai_sr | 27fba5fb960640ebc405de83d5ab75b8c6d50ad7 | [
"BSD-3-Clause"
] | null | null | null | babyai_sr/rl/utils/__init__.py | thomasaunger/babyai_sr | 27fba5fb960640ebc405de83d5ab75b8c6d50ad7 | [
"BSD-3-Clause"
] | null | null | null | babyai_sr/rl/utils/__init__.py | thomasaunger/babyai_sr | 27fba5fb960640ebc405de83d5ab75b8c6d50ad7 | [
"BSD-3-Clause"
] | null | null | null | from babyai_sr.rl.utils.penv import ParallelEnv
| 24 | 47 | 0.854167 | 8 | 48 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 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 |
2c3cd00cef5978d123932a805305d94813db80b5 | 60 | py | Python | src/rpc/__init__.py | Ariam27/rpc | e6b5b1db9edb93805bcce0e81cae4c65f81fbbe6 | [
"MIT"
] | null | null | null | src/rpc/__init__.py | Ariam27/rpc | e6b5b1db9edb93805bcce0e81cae4c65f81fbbe6 | [
"MIT"
] | null | null | null | src/rpc/__init__.py | Ariam27/rpc | e6b5b1db9edb93805bcce0e81cae4c65f81fbbe6 | [
"MIT"
] | null | null | null | from rpc.server import Server
from rpc.client import Client
| 20 | 29 | 0.833333 | 10 | 60 | 5 | 0.5 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 60 | 2 | 30 | 30 | 0.961538 | 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 |
2c3d504a3435eacff6f659c0a10169c8437adfc8 | 66 | py | Python | integration/ros2_workspace/src/test_py_package/test_py_package/test.py | rotu/colcon-bundle | b57dd328dca2750b31c6303e587d70913a9dfe9d | [
"Apache-2.0"
] | 31 | 2018-10-19T18:16:37.000Z | 2021-07-05T06:54:38.000Z | integration/ros2_workspace/src/test_py_package/test_py_package/test.py | rotu/colcon-bundle | b57dd328dca2750b31c6303e587d70913a9dfe9d | [
"Apache-2.0"
] | 113 | 2018-10-24T17:33:50.000Z | 2022-02-08T20:36:19.000Z | integration/ros2_workspace/src/test_py_package/test_py_package/test.py | rotu/colcon-bundle | b57dd328dca2750b31c6303e587d70913a9dfe9d | [
"Apache-2.0"
] | 30 | 2018-10-19T18:16:08.000Z | 2022-03-24T01:21:27.000Z | import rclpy
def main():
print('Test py package succeeded!') | 13.2 | 39 | 0.681818 | 9 | 66 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19697 | 66 | 5 | 39 | 13.2 | 0.849057 | 0 | 0 | 0 | 0 | 0 | 0.38806 | 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 |
2c5a397d59db4b044cb33df45aa49a13f9419944 | 29 | py | Python | netflow/__init__.py | JackFram/Neural-Flow | 83cea7aa933fa9650b42271ba4205208814d047b | [
"Apache-2.0"
] | 1 | 2022-01-24T16:27:51.000Z | 2022-01-24T16:27:51.000Z | netflow/__init__.py | JackFram/Neural-Flow | 83cea7aa933fa9650b42271ba4205208814d047b | [
"Apache-2.0"
] | null | null | null | netflow/__init__.py | JackFram/Neural-Flow | 83cea7aa933fa9650b42271ba4205208814d047b | [
"Apache-2.0"
] | null | null | null | from .fx_interpreter import * | 29 | 29 | 0.827586 | 4 | 29 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e2bf7ac4e9d738eb8638e8426b11ad3683099635 | 150 | py | Python | modules/exception.py | alfie-max/Publish | 0014cc45f2496c44c9171353dc42a58d73dd5490 | [
"MIT"
] | 1 | 2016-03-08T07:17:46.000Z | 2016-03-08T07:17:46.000Z | modules/exception.py | alfie-max/Publish | 0014cc45f2496c44c9171353dc42a58d73dd5490 | [
"MIT"
] | 5 | 2021-03-18T19:55:25.000Z | 2022-03-11T23:11:27.000Z | modules/exception.py | alfie-max/Publish | 0014cc45f2496c44c9171353dc42a58d73dd5490 | [
"MIT"
] | null | null | null | class UnhandledException(Exception): pass
class AuthorizationError(Exception): pass
class NetworkError(Exception): pass
class Failed(Exception): pass
| 30 | 41 | 0.84 | 16 | 150 | 7.875 | 0.4375 | 0.412698 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 150 | 4 | 42 | 37.5 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
e2c28465d71df4ca517906ac46851858992a534f | 89 | py | Python | tests/test_version.py | CanoaPBC/basesqlmodel | 7425b75660bb22972cec940cf3b336f3021c7d21 | [
"MIT"
] | 29 | 2021-09-17T22:44:24.000Z | 2022-03-10T13:43:24.000Z | tests/test_version.py | CanoaPBC/basesqlmodel | 7425b75660bb22972cec940cf3b336f3021c7d21 | [
"MIT"
] | 6 | 2021-09-22T09:53:11.000Z | 2022-01-17T12:09:18.000Z | tests/test_version.py | CanoaPBC/basesqlmodel | 7425b75660bb22972cec940cf3b336f3021c7d21 | [
"MIT"
] | 4 | 2022-01-07T06:29:09.000Z | 2022-03-12T11:20:07.000Z | import basesqlmodel
def test_version():
assert basesqlmodel.__version__ == "0.1.0"
| 14.833333 | 46 | 0.730337 | 11 | 89 | 5.454545 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.157303 | 89 | 5 | 47 | 17.8 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0.05618 | 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 |
e2dfd7cf127b419990c5db74e130062dc089bd0b | 40 | py | Python | pycoincap/__init__.py | natemago/pycoincap | 45a4d6d3e467bd8ef6fb039a351bd6cf6c409a68 | [
"MIT"
] | 17 | 2017-10-03T18:45:12.000Z | 2022-01-11T18:24:23.000Z | pycoincap/__init__.py | natemago/pycoincap | 45a4d6d3e467bd8ef6fb039a351bd6cf6c409a68 | [
"MIT"
] | 8 | 2017-10-29T10:31:54.000Z | 2019-11-07T12:36:17.000Z | pycoincap/__init__.py | natemago/pycoincap | 45a4d6d3e467bd8ef6fb039a351bd6cf6c409a68 | [
"MIT"
] | 20 | 2017-10-29T20:19:21.000Z | 2021-07-14T07:39:33.000Z | from pycoincap.core import CryptoMarket
| 20 | 39 | 0.875 | 5 | 40 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 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 |
39398079e7a8f44c08538665a4d5fbd4898766cd | 139 | py | Python | models/__init__.py | Luodian/Learning-Invariant-Representations-and-Risks | f3058fe50e86660ca0c17ba0df41ece9af64c557 | [
"MIT"
] | 17 | 2021-04-22T03:24:38.000Z | 2022-03-30T03:12:09.000Z | models/__init__.py | Luodian/Learning-Invariant-Representations-and-Risks | f3058fe50e86660ca0c17ba0df41ece9af64c557 | [
"MIT"
] | 5 | 2021-12-10T10:12:26.000Z | 2022-03-31T00:01:58.000Z | models/__init__.py | Luodian/Learning-Invariant-Representations-and-Risks | f3058fe50e86660ca0c17ba0df41ece9af64c557 | [
"MIT"
] | 3 | 2021-05-19T06:12:14.000Z | 2021-12-17T09:27:49.000Z | from .models import *
from .LeNet import LeNet
from .ResNet import *
from .heads import *
from .AlexNet import *
from .CountingNet import * | 23.166667 | 26 | 0.755396 | 19 | 139 | 5.526316 | 0.421053 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165468 | 139 | 6 | 26 | 23.166667 | 0.905172 | 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 |
1a7f5da86975d5bc73d48bb7d4f5db50a117ec2e | 26 | py | Python | database/__init__.py | HazemMeqdad/anti-raid | 9beef999a5e7ecb81e61343d430746e7963b966f | [
"MIT"
] | 1 | 2021-10-17T11:39:20.000Z | 2021-10-17T11:39:20.000Z | database/__init__.py | HazemMeqdad/anti-raid | 9beef999a5e7ecb81e61343d430746e7963b966f | [
"MIT"
] | null | null | null | database/__init__.py | HazemMeqdad/anti-raid | 9beef999a5e7ecb81e61343d430746e7963b966f | [
"MIT"
] | null | null | null | from database.db import *
| 13 | 25 | 0.769231 | 4 | 26 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 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 |
1aaf88a975d35ee968ab0bb666f75f40d07c0f9a | 118 | py | Python | bitmovin_api_sdk/encoding/configurations/audio/dolby_digital_plus/customdata/__init__.py | bitmovin/bitmovin-api-sdk-python | 5a85147669c84b8ca411cf2d4dbdddc92d85bbe7 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/encoding/configurations/audio/dolby_digital_plus/customdata/__init__.py | bitmovin/bitmovin-api-sdk-python | 5a85147669c84b8ca411cf2d4dbdddc92d85bbe7 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/encoding/configurations/audio/dolby_digital_plus/customdata/__init__.py | bitmovin/bitmovin-api-sdk-python | 5a85147669c84b8ca411cf2d4dbdddc92d85bbe7 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | from bitmovin_api_sdk.encoding.configurations.audio.dolby_digital_plus.customdata.customdata_api import CustomdataApi
| 59 | 117 | 0.915254 | 15 | 118 | 6.866667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 118 | 1 | 118 | 118 | 0.903509 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
46fa53291b89c3606d59539411e61102b46d079b | 398 | py | Python | django/contrib/messages/tests/__init__.py | egenerat/gae-django | f12379483cf3917ed3cb46ca5ff0b94daf89fc50 | [
"MIT"
] | 3 | 2016-07-08T23:49:32.000Z | 2018-04-15T22:55:01.000Z | django/contrib/messages/tests/__init__.py | egenerat/gae-django | f12379483cf3917ed3cb46ca5ff0b94daf89fc50 | [
"MIT"
] | 27 | 2017-02-05T15:57:04.000Z | 2018-04-15T22:57:26.000Z | django/contrib/messages/tests/__init__.py | egenerat/gae-django | f12379483cf3917ed3cb46ca5ff0b94daf89fc50 | [
"MIT"
] | null | null | null | from django.contrib.messages.tests.cookie import CookieTest
from django.contrib.messages.tests.fallback import FallbackTest
from django.contrib.messages.tests.middleware import MiddlewareTest
from django.contrib.messages.tests.session import SessionTest
from django.contrib.messages.tests.user_messages import \
... | 56.857143 | 80 | 0.766332 | 42 | 398 | 7.238095 | 0.404762 | 0.164474 | 0.279605 | 0.411184 | 0.493421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178392 | 398 | 6 | 81 | 66.333333 | 0.929664 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
204e837f7c14943c6508decb3709405d6f4a7e25 | 148 | py | Python | storyhub/sdk/service/output/OutputBoolean.py | wilzbach/hub-sdk-python | 3dd2a3112276068080751198cb1fcc29975c0136 | [
"Apache-2.0"
] | null | null | null | storyhub/sdk/service/output/OutputBoolean.py | wilzbach/hub-sdk-python | 3dd2a3112276068080751198cb1fcc29975c0136 | [
"Apache-2.0"
] | null | null | null | storyhub/sdk/service/output/OutputBoolean.py | wilzbach/hub-sdk-python | 3dd2a3112276068080751198cb1fcc29975c0136 | [
"Apache-2.0"
] | null | null | null | from storyhub.sdk.service.output.OutputBase import OutputBase
class OutputBoolean(OutputBase):
"""
A service output boolean type.
"""
| 18.5 | 61 | 0.722973 | 16 | 148 | 6.6875 | 0.75 | 0.242991 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182432 | 148 | 7 | 62 | 21.142857 | 0.884298 | 0.202703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 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 |
6461d2f38811009d551a78be09c74f412d603b57 | 168 | py | Python | NintbotForDiscord/Utils.py | nint8835/DiscordUserBot | 63e99c916680492cdfd4b00b7df5ef5c9640a204 | [
"MIT"
] | 3 | 2015-12-24T18:17:44.000Z | 2016-05-20T07:19:29.000Z | NintbotForDiscord/Utils.py | nint8835/DiscordSelfBot | 63e99c916680492cdfd4b00b7df5ef5c9640a204 | [
"MIT"
] | null | null | null | NintbotForDiscord/Utils.py | nint8835/DiscordSelfBot | 63e99c916680492cdfd4b00b7df5ef5c9640a204 | [
"MIT"
] | 1 | 2020-01-20T11:30:18.000Z | 2020-01-20T11:30:18.000Z | import discord
from .Types import DiscordChannel
def channel_is_private(channel: DiscordChannel) -> bool:
return isinstance(channel, discord.abc.PrivateChannel)
| 21 | 58 | 0.803571 | 19 | 168 | 7 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 168 | 7 | 59 | 24 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 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 |
b37b02c311ced4b2372b0b554bd8f0bb95fcb2c9 | 971 | py | Python | tests/test_depends.py | marvingabler/fastapi-limiter | fa272dd4d4a3fcf56ad98f5bb6fd81babce007dd | [
"Apache-2.0"
] | 118 | 2020-11-09T07:21:41.000Z | 2022-03-31T15:40:45.000Z | tests/test_depends.py | marvingabler/fastapi-limiter | fa272dd4d4a3fcf56ad98f5bb6fd81babce007dd | [
"Apache-2.0"
] | 18 | 2020-12-30T10:52:25.000Z | 2022-03-11T07:32:54.000Z | tests/test_depends.py | marvingabler/fastapi-limiter | fa272dd4d4a3fcf56ad98f5bb6fd81babce007dd | [
"Apache-2.0"
] | 24 | 2021-01-07T04:08:57.000Z | 2022-03-17T09:37:44.000Z | from time import sleep
from starlette.testclient import TestClient
from examples.main import app
def test_limiter():
with TestClient(app) as client:
response = client.get("/")
assert response.status_code == 200
client.get("/")
response = client.get("/")
assert response.... | 23.682927 | 43 | 0.61792 | 108 | 971 | 5.453704 | 0.231481 | 0.137521 | 0.2309 | 0.325976 | 0.779287 | 0.779287 | 0.779287 | 0.750424 | 0.544992 | 0.456706 | 0 | 0.03966 | 0.272915 | 971 | 40 | 44 | 24.275 | 0.794618 | 0 | 0 | 0.740741 | 0 | 0 | 0.050463 | 0 | 0 | 0 | 0 | 0 | 0.296296 | 1 | 0.074074 | false | 0 | 0.111111 | 0 | 0.185185 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 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 |
37466b094c002e1c2619a912073292a3fc2e7a79 | 159 | py | Python | workflow/ignite/decorators/__init__.py | Aiwizo/ml-workflow | 88e104fce571dd3b76914626a52f9001342c07cc | [
"Apache-2.0"
] | 4 | 2020-09-23T15:39:24.000Z | 2021-09-12T22:11:00.000Z | workflow/ignite/decorators/__init__.py | Aiwizo/ml-workflow | 88e104fce571dd3b76914626a52f9001342c07cc | [
"Apache-2.0"
] | 4 | 2020-09-23T15:07:39.000Z | 2020-10-30T10:26:24.000Z | workflow/ignite/decorators/__init__.py | Aiwizo/ml-workflow | 88e104fce571dd3b76914626a52f9001342c07cc | [
"Apache-2.0"
] | null | null | null | from .evaluate import evaluate
from .step import step
from .to_device import to_device
from .train import train
from .update_cpu_model import update_cpu_model
| 26.5 | 46 | 0.842767 | 26 | 159 | 4.923077 | 0.384615 | 0.125 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125786 | 159 | 5 | 47 | 31.8 | 0.920863 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.