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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f806abe2e20e9c98ccfe6f56f9b26731acd5d1f6 | 31 | py | Python | api/nivo_api/namespaces/bra/__init__.py | RemiDesgrange/nivo | e13dcd7c00d1fbc41c23d51c9004901d7704b498 | [
"MIT"
] | 2 | 2019-05-07T20:23:59.000Z | 2020-04-26T11:18:38.000Z | api/nivo_api/namespaces/bra/__init__.py | RemiDesgrange/nivo | e13dcd7c00d1fbc41c23d51c9004901d7704b498 | [
"MIT"
] | 89 | 2019-08-06T12:47:50.000Z | 2022-03-28T04:03:25.000Z | api/nivo_api/namespaces/bra/__init__.py | RemiDesgrange/nivo | e13dcd7c00d1fbc41c23d51c9004901d7704b498 | [
"MIT"
] | 1 | 2020-06-23T10:07:38.000Z | 2020-06-23T10:07:38.000Z | from .namespace import bra_api
| 15.5 | 30 | 0.83871 | 5 | 31 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.925926 | 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 |
f81b7cfc095941078efb9e763af8dc417e828f42 | 6,783 | py | Python | runner.py | Jianfei2333/pytorch-adversarial-training | 534577c3de986950a65ce83959234f6cac946c91 | [
"MIT"
] | 3 | 2021-05-10T02:12:46.000Z | 2021-09-24T06:09:32.000Z | runner.py | Jianfei2333/pytorch-adversarial-training | 534577c3de986950a65ce83959234f6cac946c91 | [
"MIT"
] | null | null | null | runner.py | Jianfei2333/pytorch-adversarial-training | 534577c3de986950a65ce83959234f6cac946c91 | [
"MIT"
] | 1 | 2021-09-02T07:42:48.000Z | 2021-09-02T07:42:48.000Z | from tqdm.auto import tqdm
from utils import AverageMeter
import torch
from utils import collect
class DistRunner():
def __init__(self, epochs, model, train_loader, test_loader, criterion, optimizer, scheduler, attacker, device):
self.device = device
self.epochs = epochs
self.eval_interval ... | 43.480769 | 133 | 0.574819 | 811 | 6,783 | 4.648582 | 0.118372 | 0.058355 | 0.028647 | 0.036074 | 0.811406 | 0.811406 | 0.796021 | 0.791777 | 0.791777 | 0.775862 | 0 | 0.005852 | 0.29456 | 6,783 | 156 | 134 | 43.480769 | 0.782027 | 0 | 0 | 0.650407 | 0 | 0 | 0.069723 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04878 | false | 0 | 0.03252 | 0 | 0.121951 | 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 |
f82336cbc8c98430252bedda9453e5965e4480a8 | 207 | py | Python | dc09_spt/comm/__init__.py | panos-stavrianos/dc09_spt | d8fcf5f40cb9fca0cceebe1e34a623dbfe409cfa | [
"Apache-2.0"
] | 19 | 2018-02-08T14:26:55.000Z | 2022-02-05T23:25:56.000Z | dc09_spt/comm/__init__.py | jvanovost/dc09_spt | a76f99446f0caa6f88c778c91bbc9e1b7f1fbb04 | [
"Apache-2.0"
] | 5 | 2019-12-05T01:26:07.000Z | 2022-03-04T09:10:45.000Z | dc09_spt/comm/__init__.py | panos-stavrianos/dc09_spt | d8fcf5f40cb9fca0cceebe1e34a623dbfe409cfa | [
"Apache-2.0"
] | 12 | 2018-10-21T21:01:11.000Z | 2022-03-04T09:35:16.000Z | from dc09_spt.comm.transpath import TransPath
from dc09_spt.comm.transpathtcp import TransPathTCP
from dc09_spt.comm.transpathudp import TransPathUDP
__all__ = ["TransPath", "TransPathTCP", "TransPathUDP"]
| 34.5 | 55 | 0.830918 | 25 | 207 | 6.6 | 0.36 | 0.145455 | 0.2 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031746 | 0.086957 | 207 | 5 | 56 | 41.4 | 0.84127 | 0 | 0 | 0 | 0 | 0 | 0.15942 | 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 |
f890695fa240dc95619f40d63180bcc4d7e90c89 | 201 | py | Python | src/infrastructure/db/repo/__init__.py | oliveirahelena/codeflix-catalog-api | 2b42b945ced4e0aa80c1a4ea9791919d21eaa867 | [
"MIT"
] | null | null | null | src/infrastructure/db/repo/__init__.py | oliveirahelena/codeflix-catalog-api | 2b42b945ced4e0aa80c1a4ea9791919d21eaa867 | [
"MIT"
] | null | null | null | src/infrastructure/db/repo/__init__.py | oliveirahelena/codeflix-catalog-api | 2b42b945ced4e0aa80c1a4ea9791919d21eaa867 | [
"MIT"
] | null | null | null | from .cast_member_repository import CastMemberRepository
from .category_repository import CategoryRepository
from .genre_repository import GenreRepository
from .video_repository import VideoRepository
| 40.2 | 56 | 0.900498 | 21 | 201 | 8.380952 | 0.571429 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079602 | 201 | 4 | 57 | 50.25 | 0.951351 | 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 |
3e183cdfaa56493a796591a497f547cfbe7039f5 | 152 | py | Python | ProgramsToRead/Modularization/programa_moeda/Programa_principal.py | ItanuRomero/PythonStudyPrograms | 2b784b2af068b34e65ddf817ca8d99c1ca3a710e | [
"MIT"
] | null | null | null | ProgramsToRead/Modularization/programa_moeda/Programa_principal.py | ItanuRomero/PythonStudyPrograms | 2b784b2af068b34e65ddf817ca8d99c1ca3a710e | [
"MIT"
] | null | null | null | ProgramsToRead/Modularization/programa_moeda/Programa_principal.py | ItanuRomero/PythonStudyPrograms | 2b784b2af068b34e65ddf817ca8d99c1ca3a710e | [
"MIT"
] | null | null | null | from programa_moeda import moeda
from programa_moeda import dados
valor = dados.validador_numerico('Digite um valor: R$ ')
moeda.resumo(valor, 15, 30)
| 25.333333 | 56 | 0.789474 | 23 | 152 | 5.086957 | 0.608696 | 0.205128 | 0.290598 | 0.393162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030075 | 0.125 | 152 | 5 | 57 | 30.4 | 0.849624 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3e4aee8e7417b88e36efc2c6c90cc6f4d5ebeca0 | 40 | py | Python | basics.py | shreya-n-kumari/python | 2462cf01891770b078815f9925f37842aaec7b91 | [
"MIT"
] | null | null | null | basics.py | shreya-n-kumari/python | 2462cf01891770b078815f9925f37842aaec7b91 | [
"MIT"
] | null | null | null | basics.py | shreya-n-kumari/python | 2462cf01891770b078815f9925f37842aaec7b91 | [
"MIT"
] | null | null | null | import datetime
datetime.datetime.now() | 20 | 23 | 0.825 | 5 | 40 | 6.6 | 0.6 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 2 | 23 | 20 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3e85bece4f872919bda65d2089ee99776d329d5b | 8,499 | py | Python | temp.py | jianantian/entity_recognizer | bcd02c4f46ec290a7710f7cefef66e17dc97a020 | [
"MIT"
] | null | null | null | temp.py | jianantian/entity_recognizer | bcd02c4f46ec290a7710f7cefef66e17dc97a020 | [
"MIT"
] | 2 | 2018-07-02T06:18:32.000Z | 2020-07-08T03:15:53.000Z | temp.py | jianantian/entity_recognizer | bcd02c4f46ec290a7710f7cefef66e17dc97a020 | [
"MIT"
] | null | null | null | def find_mod(path, dic):
"""用字典中的词发现文本模式"""
file_list = os.listdir(path)
word_list = read_dict(dic)
word_count = {}
#用一个字典保存, key为发现的文本模式, 键值为匹配该模式的词典中的词的数目
mod_list = []
#文本模式以列表形式保存
word_match = {}
p = 5
q = 5
for file in file_list:
with open(os.path.joi... | 41.661765 | 130 | 0.4497 | 973 | 8,499 | 3.696814 | 0.094553 | 0.035029 | 0.022241 | 0.028913 | 0.906867 | 0.899083 | 0.864609 | 0.844871 | 0.817626 | 0.799555 | 0 | 0.008617 | 0.440169 | 8,499 | 203 | 131 | 41.866995 | 0.747373 | 0.527827 | 0 | 0.246575 | 0 | 0 | 0.004347 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027397 | false | 0 | 0 | 0 | 0.054795 | 0.041096 | 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 |
e41101ab9bd3c3b1330477ccbfdc7b4c4adbb7c2 | 34 | py | Python | A2Cv02/A2C/actors/__init__.py | Bobobert/RL_notebooks | 408430acca96d223a95210ca0b33297d6188ce95 | [
"MIT"
] | null | null | null | A2Cv02/A2C/actors/__init__.py | Bobobert/RL_notebooks | 408430acca96d223a95210ca0b33297d6188ce95 | [
"MIT"
] | null | null | null | A2Cv02/A2C/actors/__init__.py | Bobobert/RL_notebooks | 408430acca96d223a95210ca0b33297d6188ce95 | [
"MIT"
] | null | null | null | from .actors import Agent, Learner | 34 | 34 | 0.823529 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 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 |
e426b408ba9b859e4aed709d4303b67953084be2 | 30 | py | Python | build/lib/jsonj/__init__.py | Joish/JsonParser | 2bd378ef5900bbd5b98576c6cd624e7e9d59e27b | [
"MIT"
] | 5 | 2020-01-26T20:55:29.000Z | 2021-12-15T09:43:33.000Z | build/lib/jsonj/__init__.py | Joish/JsonParser | 2bd378ef5900bbd5b98576c6cd624e7e9d59e27b | [
"MIT"
] | 3 | 2019-05-19T10:53:34.000Z | 2019-05-19T10:53:52.000Z | build/lib/jsonj/__init__.py | Joish/JsonParser | 2bd378ef5900bbd5b98576c6cd624e7e9d59e27b | [
"MIT"
] | 1 | 2019-05-21T10:05:07.000Z | 2019-05-21T10:05:07.000Z | from JsonJ.JsonJ import JsonJ
| 15 | 29 | 0.833333 | 5 | 30 | 5 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 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 | 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 |
e45319a7b1fc545274830ad23170b2855a9a1ed1 | 626 | py | Python | plugins/azure_compute/komand_azure_compute/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 46 | 2019-06-05T20:47:58.000Z | 2022-03-29T10:18:01.000Z | plugins/azure_compute/komand_azure_compute/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 386 | 2019-06-07T20:20:39.000Z | 2022-03-30T17:35:01.000Z | plugins/azure_compute/komand_azure_compute/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 43 | 2019-07-09T14:13:58.000Z | 2022-03-28T12:04:46.000Z | # GENERATED BY KOMAND SDK - DO NOT EDIT
from .availability_set_vm.action import AvailabilitySetVm
from .delete_vm.action import DeleteVm
from .generalized_vm.action import GeneralizedVm
from .info_vm.action import InfoVm
from .list_vm.action import ListVm
from .restart_vm.action import RestartVm
from .save_image_vm.act... | 41.733333 | 61 | 0.857827 | 90 | 626 | 5.766667 | 0.433333 | 0.300578 | 0.296724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097444 | 626 | 14 | 62 | 44.714286 | 0.918584 | 0.059105 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e4cbea04fcd1d83c0df867841b4b16bede8095ae | 109 | py | Python | project/test.py | Hackathon2020/CoronaHackathon2020 | 1f27ad7406c9da50a3acfb48f970a0b0b51c47da | [
"MIT"
] | 5 | 2020-03-21T12:58:10.000Z | 2020-03-23T13:02:18.000Z | project/test.py | Hackathon2020/CoronaHackathon2020 | 1f27ad7406c9da50a3acfb48f970a0b0b51c47da | [
"MIT"
] | 26 | 2020-03-20T21:04:20.000Z | 2020-04-30T19:38:02.000Z | project/test.py | Hackathon2020/CoronaHackathon2020 | 1f27ad7406c9da50a3acfb48f970a0b0b51c47da | [
"MIT"
] | 1 | 2020-05-08T20:45:20.000Z | 2020-05-08T20:45:20.000Z | #This is a test file with some docstring
def example():
"""
This is a docstring
"""
return
| 12.111111 | 40 | 0.587156 | 15 | 109 | 4.266667 | 0.733333 | 0.1875 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.321101 | 109 | 8 | 41 | 13.625 | 0.864865 | 0.541284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
9012bc5689eac4bbe6721b946b354ac37a60c553 | 20,278 | py | Python | services/dts/src/oci_cli_transfer_job/generated/transferjob_cli.py | honzajavorek/oci-cli | 6ea058afba323c6b3b70e98212ffaebb0d31985e | [
"Apache-2.0"
] | null | null | null | services/dts/src/oci_cli_transfer_job/generated/transferjob_cli.py | honzajavorek/oci-cli | 6ea058afba323c6b3b70e98212ffaebb0d31985e | [
"Apache-2.0"
] | null | null | null | services/dts/src/oci_cli_transfer_job/generated/transferjob_cli.py | honzajavorek/oci-cli | 6ea058afba323c6b3b70e98212ffaebb0d31985e | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
from __future__ import print_function
import click
import oci # noqa: F401
import six # noqa: F401
import sys # noqa: F401
from oci_cli import cli_constants # noqa: F401
from oci_cli import cli_util
from oci_cli import j... | 63.17134 | 458 | 0.7194 | 2,835 | 20,278 | 4.92381 | 0.118166 | 0.041622 | 0.029802 | 0.018053 | 0.814743 | 0.793323 | 0.777133 | 0.754567 | 0.729135 | 0.713447 | 0 | 0.003785 | 0.166091 | 20,278 | 320 | 459 | 63.36875 | 0.821703 | 0.049019 | 0 | 0.688716 | 0 | 0.070039 | 0.35721 | 0.028755 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035019 | false | 0.038911 | 0.042802 | 0 | 0.077821 | 0.003891 | 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 |
9021aaf363c80a9ffc7e14c81d8b7839af1b044c | 353 | py | Python | testing/app/purchase.py | dry-python/dependencies | 1a8bba41ab42d0b5249b36471f5300d9faba81e7 | [
"BSD-2-Clause"
] | 175 | 2018-07-21T13:04:44.000Z | 2020-05-27T15:31:06.000Z | tests/helpers/app/purchase.py | proofit404/dependencies | 204e0cfadca801d64857f24aa4c74e7939ed9af0 | [
"BSD-2-Clause"
] | 325 | 2016-05-16T11:16:11.000Z | 2022-03-04T00:45:57.000Z | testing/app/purchase.py | dry-python/dependencies | 1a8bba41ab42d0b5249b36471f5300d9faba81e7 | [
"BSD-2-Clause"
] | 18 | 2018-06-17T09:33:16.000Z | 2020-05-20T18:12:30.000Z | class AbstractNotificationService:
"""Service interface declaration."""
pass
class AbstractPaymentService:
"""Service interface declaration."""
pass
class SMSService(AbstractNotificationService):
"""Service implementation."""
pass
class PaypalService(AbstractPaymentService):
"""Serv... | 15.347826 | 46 | 0.716714 | 24 | 353 | 10.541667 | 0.416667 | 0.106719 | 0.213439 | 0.245059 | 0.284585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181303 | 353 | 22 | 47 | 16.045455 | 0.875433 | 0.308782 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
5f5d8955ff7d7a1b6df20d218a8bba5ec095ff55 | 147 | py | Python | perm_security/MemberAdapter/__init__.py | TheJoeSmo/perm-security | 2fd8ceb4fc72cce5889f55731056665a887399e1 | [
"MIT"
] | null | null | null | perm_security/MemberAdapter/__init__.py | TheJoeSmo/perm-security | 2fd8ceb4fc72cce5889f55731056665a887399e1 | [
"MIT"
] | null | null | null | perm_security/MemberAdapter/__init__.py | TheJoeSmo/perm-security | 2fd8ceb4fc72cce5889f55731056665a887399e1 | [
"MIT"
] | null | null | null | from .MemberAdapter import MemberAdapter
from .MemberChannelAdapter import MemberChannelAdapter
from .MemberGuildAdapter import MemberGuildAdapter
| 36.75 | 54 | 0.897959 | 12 | 147 | 11 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 147 | 3 | 55 | 49 | 0.977778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5f649f9e2e77e25fc24b1bd52d17aa67bbfd2c87 | 171 | py | Python | snafu/benchmarks/systemd_analyze/__init__.py | dagrayvid/benchmark-wrapper | 3c3678514869102ba53b4fdd15b9484b825b99ed | [
"Apache-2.0"
] | 14 | 2020-10-09T17:17:01.000Z | 2022-03-16T12:54:56.000Z | snafu/benchmarks/systemd_analyze/__init__.py | dagrayvid/benchmark-wrapper | 3c3678514869102ba53b4fdd15b9484b825b99ed | [
"Apache-2.0"
] | 205 | 2020-08-12T18:25:03.000Z | 2022-03-21T09:26:05.000Z | snafu/benchmarks/systemd_analyze/__init__.py | dagrayvid/benchmark-wrapper | 3c3678514869102ba53b4fdd15b9484b825b99ed | [
"Apache-2.0"
] | 39 | 2020-08-17T14:32:50.000Z | 2022-03-31T15:24:55.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# flake8: noqa
"""Systemd Analyze benchmark"""
from snafu.benchmarks.systemd_analyze.systemd_analyze import systemd_analyze
| 28.5 | 76 | 0.754386 | 22 | 171 | 5.727273 | 0.727273 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019481 | 0.099415 | 171 | 5 | 77 | 34.2 | 0.798701 | 0.479532 | 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 |
5f8dded74a8235ba0b8218f698669a0d644a5837 | 37 | py | Python | models/image/__init__.py | YashYash/advanced-lane-lines | 236d410a1220ea266f105794a8c3ead7da6bc0f9 | [
"MIT"
] | null | null | null | models/image/__init__.py | YashYash/advanced-lane-lines | 236d410a1220ea266f105794a8c3ead7da6bc0f9 | [
"MIT"
] | null | null | null | models/image/__init__.py | YashYash/advanced-lane-lines | 236d410a1220ea266f105794a8c3ead7da6bc0f9 | [
"MIT"
] | null | null | null | from models.image.model import Image
| 18.5 | 36 | 0.837838 | 6 | 37 | 5.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.939394 | 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 |
39b39bc73eefbf6198b662efb0a089be13f89a3d | 15,046 | py | Python | src/save_predictions.py | GiorgiaAuroraAdorni/hmm-misspelling | 90f16726d368764edbd94a53c36b3882112ce8c0 | [
"Apache-2.0"
] | null | null | null | src/save_predictions.py | GiorgiaAuroraAdorni/hmm-misspelling | 90f16726d368764edbd94a53c36b3882112ce8c0 | [
"Apache-2.0"
] | null | null | null | src/save_predictions.py | GiorgiaAuroraAdorni/hmm-misspelling | 90f16726d368764edbd94a53c36b3882112ce8c0 | [
"Apache-2.0"
] | 6 | 2019-09-05T10:51:00.000Z | 2021-10-02T14:31:21.000Z | from hmm import HMM
import evaluation as eval
import pandas as pd
import time
import os
#### EXPERIMENT 1 ####
words_ds = "../data/word_freq/big_language_model.txt"
sentences_ds = "../data/texts/big_clean.txt"
typo_ds_train = "../data/typo/clean/big_train.csv"
typo_ds_test = "../data/typo/clean/big_test.csv"
perturbed... | 47.917197 | 115 | 0.782534 | 2,021 | 15,046 | 5.401781 | 0.040079 | 0.140698 | 0.114317 | 0.087936 | 0.979207 | 0.975726 | 0.972428 | 0.9651 | 0.964734 | 0.934323 | 0 | 0.022125 | 0.104812 | 15,046 | 313 | 116 | 48.070288 | 0.787512 | 0.14675 | 0 | 0.626374 | 0 | 0 | 0.29253 | 0.239485 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027473 | 0 | 0.027473 | 0.043956 | 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 |
39c99821a88af2ef7a033edbe6c8d2d5815bfe19 | 92 | py | Python | vb_baseapp/management/template_structures/forms/__init__.py | vbyazilim/django-vb-baseapp | 83a62a9d7cb349351ea64aeeb616afe9a94cda5d | [
"MIT"
] | null | null | null | vb_baseapp/management/template_structures/forms/__init__.py | vbyazilim/django-vb-baseapp | 83a62a9d7cb349351ea64aeeb616afe9a94cda5d | [
"MIT"
] | 1 | 2021-10-30T16:44:15.000Z | 2021-10-30T16:44:15.000Z | vb_baseapp/management/template_structures/forms/__init__.py | vbyazilim/django-vb-baseapp | 83a62a9d7cb349351ea64aeeb616afe9a94cda5d | [
"MIT"
] | null | null | null | # isort:skip_file
# flake8: noqa
from .custom_user import TEMPLATE_CUSTOM_USER_ADMIN_FORMS
| 18.4 | 57 | 0.836957 | 14 | 92 | 5.071429 | 0.857143 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.108696 | 92 | 4 | 58 | 23 | 0.853659 | 0.304348 | 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 |
39e5191e8ab85c4b5547fb752687950c218093c3 | 112 | py | Python | pynab/exceptions.py | idwagner/pynab | 26e0f2d2adc86374ff5caf5a614778fafa1c19d6 | [
"Apache-2.0"
] | null | null | null | pynab/exceptions.py | idwagner/pynab | 26e0f2d2adc86374ff5caf5a614778fafa1c19d6 | [
"Apache-2.0"
] | null | null | null | pynab/exceptions.py | idwagner/pynab | 26e0f2d2adc86374ff5caf5a614778fafa1c19d6 | [
"Apache-2.0"
] | 1 | 2020-11-05T22:28:13.000Z | 2020-11-05T22:28:13.000Z |
class CredentialsNotFoundException(Exception):
pass
class AmbiguousBudgetException(Exception):
pass
| 12.444444 | 46 | 0.785714 | 8 | 112 | 11 | 0.625 | 0.295455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160714 | 112 | 8 | 47 | 14 | 0.93617 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
39e654d7e55e10df5e3d8fb43d6f847202bcd769 | 19,672 | py | Python | cumulusci/tasks/bulkdata/tests/test_step.py | hamedizadpanah-ibm/CumulusCI | eb93723e2da1ca66a7639b3197e6fab02d1bd24a | [
"BSD-3-Clause"
] | 1 | 2020-08-08T03:55:21.000Z | 2020-08-08T03:55:21.000Z | cumulusci/tasks/bulkdata/tests/test_step.py | Julian88Tex/CumulusCI | 82d5fab71b61fbab53c1b5fc6001452fa3f97da8 | [
"BSD-3-Clause"
] | null | null | null | cumulusci/tasks/bulkdata/tests/test_step.py | Julian88Tex/CumulusCI | 82d5fab71b61fbab53c1b5fc6001452fa3f97da8 | [
"BSD-3-Clause"
] | null | null | null | import io
import unittest
from unittest import mock
import responses
from cumulusci.core.exceptions import BulkDataException
from cumulusci.tasks.bulkdata.step import (
download_file,
DataOperationType,
DataOperationStatus,
DataOperationResult,
DataOperationJobResult,
BulkJobMixin,
BulkApi... | 32.732113 | 87 | 0.587383 | 1,936 | 19,672 | 5.728822 | 0.098657 | 0.02741 | 0.025246 | 0.032459 | 0.804887 | 0.767649 | 0.733748 | 0.719592 | 0.703904 | 0.670904 | 0 | 0.031794 | 0.296513 | 19,672 | 600 | 88 | 32.786667 | 0.769637 | 0.003101 | 0 | 0.601215 | 0 | 0 | 0.138079 | 0.036244 | 0 | 0 | 0 | 0 | 0.111336 | 1 | 0.04251 | false | 0.002024 | 0.012146 | 0 | 0.062753 | 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 |
f2feb7fb25089af75c986d0aae1d566b8b353526 | 351 | py | Python | Python/Django/new1/fees/views.py | Vikash-8090-Yadav/AllProgramming_Basic | 76721256edcb91520d1b5132aa59ac37eebdf7c3 | [
"MIT"
] | 2 | 2022-01-04T12:04:51.000Z | 2022-01-04T18:52:26.000Z | Python/Django/new1/fees/views.py | Vikash-8090-Yadav/AllProgramming_Basic | 76721256edcb91520d1b5132aa59ac37eebdf7c3 | [
"MIT"
] | null | null | null | Python/Django/new1/fees/views.py | Vikash-8090-Yadav/AllProgramming_Basic | 76721256edcb91520d1b5132aa59ac37eebdf7c3 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def dgfess(request):
return HttpResponse('<h1> 300</h1>')
def pythonfess(request):
return HttpResponse('<h1> 200</h1>')
def cssfess(request):
return HttpResponse('<h1> 250</h1>')
def htmlfess(request):
retur... | 16.714286 | 37 | 0.720798 | 46 | 351 | 5.5 | 0.5 | 0.205534 | 0.395257 | 0.426877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 0.131054 | 351 | 21 | 38 | 16.714286 | 0.763934 | 0.065527 | 0 | 0 | 0 | 0 | 0.159021 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
84075310e2014de2fa8e1ed981e59d55f52602e2 | 99 | py | Python | tests/__init__.py | mattsta/imagehash | 600e6baaae5f2344de7fd016747f2706eb942abb | [
"BSD-2-Clause"
] | 1 | 2021-07-08T15:38:27.000Z | 2021-07-08T15:38:27.000Z | tests/__init__.py | mattsta/imagehash | 600e6baaae5f2344de7fd016747f2706eb942abb | [
"BSD-2-Clause"
] | null | null | null | tests/__init__.py | mattsta/imagehash | 600e6baaae5f2344de7fd016747f2706eb942abb | [
"BSD-2-Clause"
] | null | null | null | from __future__ import absolute_import, division, print_function
from .utils import TestImageHash
| 24.75 | 64 | 0.858586 | 12 | 99 | 6.583333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 99 | 3 | 65 | 33 | 0.897727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 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 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
841053cf575ec8b2d410db6c5577ac049188deb6 | 41 | py | Python | eisen_deploy/serving/__init__.py | eisen-ai/eisen-deploy | ab1cdf0f8726cbfbdc7029616b1c753706b0039c | [
"MIT"
] | 2 | 2020-06-07T22:07:59.000Z | 2020-06-07T22:08:04.000Z | eisen_deploy/serving/__init__.py | eisen-ai/eisen-deploy | ab1cdf0f8726cbfbdc7029616b1c753706b0039c | [
"MIT"
] | null | null | null | eisen_deploy/serving/__init__.py | eisen-ai/eisen-deploy | ab1cdf0f8726cbfbdc7029616b1c753706b0039c | [
"MIT"
] | 1 | 2020-07-10T08:41:51.000Z | 2020-07-10T08:41:51.000Z | from .handlers import EisenServingHandler | 41 | 41 | 0.902439 | 4 | 41 | 9.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 1 | 41 | 41 | 0.973684 | 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 |
8421bd48353b06db410e290888622726f5b9a7f2 | 683 | py | Python | model.py | ibenes/speaker-oblivious-bottlenecks | 4526401c2642e0df7f9166d93a1b2e204819353f | [
"Apache-2.0"
] | null | null | null | model.py | ibenes/speaker-oblivious-bottlenecks | 4526401c2642e0df7f9166d93a1b2e204819353f | [
"Apache-2.0"
] | null | null | null | model.py | ibenes/speaker-oblivious-bottlenecks | 4526401c2642e0df7f9166d93a1b2e204819353f | [
"Apache-2.0"
] | null | null | null | import torch
def create_models(bne_width):
bn_extractor_init = torch.nn.Sequential(
torch.nn.Linear(2, bne_width),
torch.nn.ReLU(),
torch.nn.Linear(bne_width, bne_width),
torch.nn.ReLU(),
torch.nn.Linear(bne_width, 2),
)
phn_decoder_init = torch.nn.Sequential(
... | 24.392857 | 64 | 0.609078 | 92 | 683 | 4.326087 | 0.25 | 0.281407 | 0.228643 | 0.158291 | 0.746231 | 0.746231 | 0.746231 | 0.746231 | 0.658291 | 0.658291 | 0 | 0.027668 | 0.259151 | 683 | 27 | 65 | 25.296296 | 0.758893 | 0 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.045455 | 0 | 0.136364 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
843799698e0408a71c0b057980237797adc7f363 | 11,846 | py | Python | tests/gcm/independence_test/test_kernel.py | Microsoft/dowhy | b84e257142df91e4ed792dcf6eee159f446ffef9 | [
"MIT"
] | 840 | 2018-06-25T22:31:16.000Z | 2019-05-06T13:45:17.000Z | tests/gcm/independence_test/test_kernel.py | Microsoft/dowhy | b84e257142df91e4ed792dcf6eee159f446ffef9 | [
"MIT"
] | 51 | 2018-07-05T09:31:59.000Z | 2019-05-03T15:37:10.000Z | tests/gcm/independence_test/test_kernel.py | Microsoft/dowhy | b84e257142df91e4ed792dcf6eee159f446ffef9 | [
"MIT"
] | 106 | 2018-06-28T12:35:03.000Z | 2019-05-06T16:16:32.000Z | import random
import numpy as np
import pytest
from _pytest.python_api import approx
from flaky import flaky
from dowhy.gcm.independence_test import kernel_based, approx_kernel_based
from dowhy.gcm.independence_test.kernel import _fast_centering
@pytest.fixture
def preserve_random_generator_state():
numpy_state... | 33.369014 | 109 | 0.56652 | 1,581 | 11,846 | 3.927261 | 0.075269 | 0.108069 | 0.063778 | 0.048961 | 0.854888 | 0.829924 | 0.81865 | 0.804155 | 0.801578 | 0.801578 | 0 | 0.05759 | 0.335978 | 11,846 | 354 | 110 | 33.463277 | 0.731757 | 0.003883 | 0 | 0.677903 | 0 | 0 | 0.003899 | 0 | 0 | 0 | 0 | 0 | 0.104869 | 1 | 0.097378 | false | 0 | 0.026217 | 0 | 0.127341 | 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 |
0832a30e18a8e3ab6e15c1b7b0b6bd4c4d77371c | 125 | py | Python | state-change-localization-classification/i3d-resnet50/datasets/__init__.py | EGO4D/hands-and-objects | 76d6ce6af1a9db4007ea24eb315f3f0eaea26bc2 | [
"MIT"
] | 24 | 2021-10-15T20:17:38.000Z | 2022-03-30T18:54:55.000Z | state-change-localization-classification/i3d-resnet50/datasets/__init__.py | EGO4D/hands-and-objects | 76d6ce6af1a9db4007ea24eb315f3f0eaea26bc2 | [
"MIT"
] | 1 | 2022-03-09T03:35:42.000Z | 2022-03-10T20:50:24.000Z | state-change-localization-classification/i3d-resnet50/datasets/__init__.py | EGO4D/hands-and-objects | 76d6ce6af1a9db4007ea24eb315f3f0eaea26bc2 | [
"MIT"
] | 4 | 2021-11-18T19:22:16.000Z | 2022-03-21T02:51:35.000Z | #!/usr/bin/env python3
from .StateChangeDetectionAndKeyframeLocalisation import StateChangeDetectionAndKeyframeLocalisation
| 31.25 | 100 | 0.896 | 8 | 125 | 14 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008475 | 0.056 | 125 | 3 | 101 | 41.666667 | 0.940678 | 0.168 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f24ccc55359894b45017fb17adf3d609cf7f6f51 | 120 | py | Python | cli/polyaxon/automl/search_managers/utils.py | hackerwins/polyaxon | ff56a098283ca872abfbaae6ba8abba479ffa394 | [
"Apache-2.0"
] | null | null | null | cli/polyaxon/automl/search_managers/utils.py | hackerwins/polyaxon | ff56a098283ca872abfbaae6ba8abba479ffa394 | [
"Apache-2.0"
] | null | null | null | cli/polyaxon/automl/search_managers/utils.py | hackerwins/polyaxon | ff56a098283ca872abfbaae6ba8abba479ffa394 | [
"Apache-2.0"
] | null | null | null | import numpy as np
def get_random_generator(seed=None):
return np.random.RandomState(seed) if seed else np.random
| 20 | 61 | 0.775 | 20 | 120 | 4.55 | 0.7 | 0.175824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 120 | 5 | 62 | 24 | 0.892157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
f25344af6def245723f3bde30344419b33cc0997 | 164 | py | Python | model/IModel.py | pedroheing/TCC | 39044dd4325e9ab78c677be74d2db557632baff4 | [
"MIT"
] | null | null | null | model/IModel.py | pedroheing/TCC | 39044dd4325e9ab78c677be74d2db557632baff4 | [
"MIT"
] | 5 | 2020-01-28T22:02:26.000Z | 2022-02-09T23:28:29.000Z | model/IModel.py | pedroheing/TCC | 39044dd4325e9ab78c677be74d2db557632baff4 | [
"MIT"
] | null | null | null | from interface import Interface
class IModel(Interface):
def evaluate(self, images, labels):
pass
def train(self, images, labels):
pass
| 14.909091 | 39 | 0.652439 | 19 | 164 | 5.631579 | 0.631579 | 0.186916 | 0.299065 | 0.373832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.268293 | 164 | 10 | 40 | 16.4 | 0.891667 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
4b2fdb57120ea87100d03cf618e6d14ff997f697 | 72 | py | Python | solargis/response/__init__.py | power-guard/solargis-py | 42c919fccc6f9abf05441a1ffa75633cff1eab23 | [
"MIT"
] | null | null | null | solargis/response/__init__.py | power-guard/solargis-py | 42c919fccc6f9abf05441a1ffa75633cff1eab23 | [
"MIT"
] | null | null | null | solargis/response/__init__.py | power-guard/solargis-py | 42c919fccc6f9abf05441a1ffa75633cff1eab23 | [
"MIT"
] | null | null | null | from solargis.response.datadeliveryresponse import DataDeliveryResponse
| 36 | 71 | 0.916667 | 6 | 72 | 11 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 72 | 1 | 72 | 72 | 0.970588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4b6f35b774497d39b8a793a78c3e994ac535f139 | 466 | py | Python | site/projectLms/Coordenador/views.py | GuiGusmao/LMSProjeto | 2c1ffc302068c7d97a79a847b47640e0a6e3dde4 | [
"Apache-2.0"
] | null | null | null | site/projectLms/Coordenador/views.py | GuiGusmao/LMSProjeto | 2c1ffc302068c7d97a79a847b47640e0a6e3dde4 | [
"Apache-2.0"
] | null | null | null | site/projectLms/Coordenador/views.py | GuiGusmao/LMSProjeto | 2c1ffc302068c7d97a79a847b47640e0a6e3dde4 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
def portalCoordenador(request):
return render(request, 'portalCoordenador.html')
def avisos(request):
return render(request, 'avisos.html')
def ementas(request):
return render(request, 'ementas.html')
def gruposalunos(request):
return render(request, 'gruposalunos... | 23.3 | 52 | 0.744635 | 53 | 466 | 6.54717 | 0.283019 | 0.224784 | 0.32853 | 0.449568 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137339 | 466 | 20 | 53 | 23.3 | 0.863184 | 0 | 0 | 0 | 0 | 0 | 0.190578 | 0.047109 | 0 | 0 | 0 | 0 | 0 | 1 | 0.461538 | false | 0 | 0.076923 | 0.461538 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
4b72d6cbe56af81077d7cde9f08488f1972b2091 | 39,949 | py | Python | lib/core/function.py | scenarios/VAE-2 | 3dfbaeea9fa29f88805e728cd26ce35cb5586b1c | [
"MIT"
] | 5 | 2021-01-28T15:43:06.000Z | 2021-12-31T02:55:11.000Z | lib/core/function.py | scenarios/VAE-2 | 3dfbaeea9fa29f88805e728cd26ce35cb5586b1c | [
"MIT"
] | null | null | null | lib/core/function.py | scenarios/VAE-2 | 3dfbaeea9fa29f88805e728cd26ce35cb5586b1c | [
"MIT"
] | null | null | null | # ------------------------------------------------------------------------------
# Copyright (c) Microsoft
# Licensed under the MIT License.
# Written by Ke Sun (sunk@mail.ustc.edu.cn)
# ------------------------------------------------------------------------------
import logging
import os
import time
import numpy as... | 51.151088 | 143 | 0.511527 | 5,083 | 39,949 | 3.773952 | 0.066693 | 0.040035 | 0.034405 | 0.03941 | 0.821665 | 0.806078 | 0.778033 | 0.752333 | 0.713913 | 0.699421 | 0 | 0.037182 | 0.352349 | 39,949 | 780 | 144 | 51.216667 | 0.704248 | 0.016446 | 0 | 0.570384 | 0 | 0.001828 | 0.053004 | 0.007471 | 0 | 0 | 0 | 0 | 0.003656 | 1 | 0.021938 | false | 0 | 0.034735 | 0 | 0.073126 | 0.02011 | 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 |
4b83da0828ff9d8546b487b46bb9ef50ab130d2f | 247 | py | Python | maintain_frontend/services/two_factor_authentication_code_generator.py | LandRegistry/maintain-frontend | d92446a9972ebbcd9a43a7a7444a528aa2f30bf7 | [
"MIT"
] | 1 | 2019-10-03T13:58:29.000Z | 2019-10-03T13:58:29.000Z | maintain_frontend/services/two_factor_authentication_code_generator.py | LandRegistry/maintain-frontend | d92446a9972ebbcd9a43a7a7444a528aa2f30bf7 | [
"MIT"
] | null | null | null | maintain_frontend/services/two_factor_authentication_code_generator.py | LandRegistry/maintain-frontend | d92446a9972ebbcd9a43a7a7444a528aa2f30bf7 | [
"MIT"
] | 1 | 2021-04-11T05:24:57.000Z | 2021-04-11T05:24:57.000Z | from random import SystemRandom
# Reused approach from Notify https://github.com/alphagov/notifications-api/blob/master/app/dao/users_dao.py#L18
def generate_code():
return ''.join(map(str, [SystemRandom().randrange(10) for i in range(5)]))
| 35.285714 | 112 | 0.757085 | 37 | 247 | 5 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022523 | 0.101215 | 247 | 6 | 113 | 41.166667 | 0.810811 | 0.441296 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
29c01db70ab67f53b467ec3ed554c5337d499e9a | 173 | py | Python | src/python/WMCore/WMStats/CherryPyThreads/HeartbeatMonitor.py | khurtado/WMCore | f74e252412e49189a92962945a94f93bec81cd1e | [
"Apache-2.0"
] | 21 | 2015-11-19T16:18:45.000Z | 2021-12-02T18:20:39.000Z | src/python/WMCore/WMStats/CherryPyThreads/HeartbeatMonitor.py | khurtado/WMCore | f74e252412e49189a92962945a94f93bec81cd1e | [
"Apache-2.0"
] | 5,671 | 2015-01-06T14:38:52.000Z | 2022-03-31T22:11:14.000Z | src/python/WMCore/WMStats/CherryPyThreads/HeartbeatMonitor.py | khurtado/WMCore | f74e252412e49189a92962945a94f93bec81cd1e | [
"Apache-2.0"
] | 67 | 2015-01-21T15:55:38.000Z | 2022-02-03T19:53:13.000Z | from __future__ import (division, print_function)
from WMCore.REST.HeartbeatMonitorBase import HeartbeatMonitorBase
class HeartbeatMonitor(HeartbeatMonitorBase):
pass
| 24.714286 | 65 | 0.849711 | 16 | 173 | 8.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104046 | 173 | 6 | 66 | 28.833333 | 0.916129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0.25 | 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 |
d9bfc54633b75a134a71f6960d3360a7bc582a6b | 178 | py | Python | src/medical_metafeatures/utils/__init__.py | aquelemiguel/medical-mfe | 0e2937d0641656487c859009507850ebc9eaea78 | [
"MIT"
] | 2 | 2020-01-15T14:13:11.000Z | 2020-02-15T09:37:44.000Z | src/medical_metafeatures/utils/__init__.py | aquelemiguel/medical-mfe | 0e2937d0641656487c859009507850ebc9eaea78 | [
"MIT"
] | 4 | 2020-01-28T23:09:25.000Z | 2022-02-10T00:38:16.000Z | src/medical_metafeatures/utils/__init__.py | aquelemiguel/medical-mfe | 0e2937d0641656487c859009507850ebc9eaea78 | [
"MIT"
] | 2 | 2020-01-09T17:24:51.000Z | 2020-12-10T12:56:39.000Z | from .main import model_tune_generator, historyPlot, dice_coef_loss, auc, mean_iou, dice_coef,shannon_entropy, read_nifti, mutual_information, correlation_coefficient, normalize
| 89 | 177 | 0.865169 | 24 | 178 | 6 | 0.916667 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073034 | 178 | 1 | 178 | 178 | 0.872727 | 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 |
8a5db00863f0e056fcaa3d88d0795b46f68a5f23 | 2,377 | py | Python | frameioclient/services/comments.py | Frameio/python-frameio-client | 005020fd369245627e376fb8a5eaa3064a33438e | [
"MIT"
] | 33 | 2018-07-29T14:04:54.000Z | 2022-03-18T16:22:10.000Z | frameioclient/services/comments.py | Frameio/python-frameio-client | 005020fd369245627e376fb8a5eaa3064a33438e | [
"MIT"
] | 31 | 2019-07-23T16:11:45.000Z | 2021-08-03T01:32:41.000Z | frameioclient/services/comments.py | Frameio/python-frameio-client | 005020fd369245627e376fb8a5eaa3064a33438e | [
"MIT"
] | 16 | 2018-10-04T10:53:20.000Z | 2022-03-04T09:11:15.000Z | from ..lib.service import Service
class Comment(Service):
def create(self, asset_id, **kwargs):
"""
Create a comment.
Args:
asset_id (string): The asset id.
:Keyword Arguments:
(optional) kwargs: additional request parameters.
Example::
cli... | 25.287234 | 70 | 0.54817 | 241 | 2,377 | 5.26971 | 0.195021 | 0.127559 | 0.051969 | 0.085039 | 0.768504 | 0.768504 | 0.751181 | 0.710236 | 0.651969 | 0.651181 | 0 | 0.005643 | 0.328986 | 2,377 | 93 | 71 | 25.55914 | 0.790596 | 0.368952 | 0 | 0.5 | 0 | 0 | 0.107566 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.05 | 0 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
8a785a352f287f31f9ed7f3eb6dd0a181498ae4b | 49 | py | Python | src/main.py | sequoia-tree/cs370 | 47bf7f56d20bd81abbdbd0502477afcd5f62bbbe | [
"CC-BY-4.0"
] | 1 | 2019-01-14T08:31:45.000Z | 2019-01-14T08:31:45.000Z | src/main.py | sequoia-tree/teaching-cs | 47bf7f56d20bd81abbdbd0502477afcd5f62bbbe | [
"CC-BY-4.0"
] | null | null | null | src/main.py | sequoia-tree/teaching-cs | 47bf7f56d20bd81abbdbd0502477afcd5f62bbbe | [
"CC-BY-4.0"
] | null | null | null | from app import app, freezer
from views import *
| 16.333333 | 28 | 0.77551 | 8 | 49 | 4.75 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183673 | 49 | 2 | 29 | 24.5 | 0.95 | 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 |
8aa0daf07046b43dffe3912cbf2c7c535a3c83ca | 23 | py | Python | pylz78/ctrie/__init__.py | ptcar2009/ALG2-TP1 | d6dd84665a9fa6a9e897b442af6e286599726eb4 | [
"MIT"
] | null | null | null | pylz78/ctrie/__init__.py | ptcar2009/ALG2-TP1 | d6dd84665a9fa6a9e897b442af6e286599726eb4 | [
"MIT"
] | null | null | null | pylz78/ctrie/__init__.py | ptcar2009/ALG2-TP1 | d6dd84665a9fa6a9e897b442af6e286599726eb4 | [
"MIT"
] | null | null | null | from .trie import CTrie | 23 | 23 | 0.826087 | 4 | 23 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.95 | 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 |
8ac2cdfa74161b63770ef06dcfdd05d7dec17944 | 5,939 | py | Python | tests/test_observable/test_onerrorresumenext.py | Affirm/RxPY | 7c23939ea497761c85b382257f9f0954998ab91e | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | tests/test_observable/test_onerrorresumenext.py | Affirm/RxPY | 7c23939ea497761c85b382257f9f0954998ab91e | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | tests/test_observable/test_onerrorresumenext.py | Affirm/RxPY | 7c23939ea497761c85b382257f9f0954998ab91e | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | import unittest
from rx.core import Observable
from rx.testing import TestScheduler, ReactiveTest
on_next = ReactiveTest.on_next
on_completed = ReactiveTest.on_completed
on_error = ReactiveTest.on_error
subscribe = ReactiveTest.subscribe
subscribed = ReactiveTest.subscribed
disposed = ReactiveTest.disposed
created = ... | 31.094241 | 73 | 0.607341 | 723 | 5,939 | 4.694329 | 0.103734 | 0.079552 | 0.100766 | 0.156747 | 0.819093 | 0.810253 | 0.789334 | 0.761049 | 0.742781 | 0.657631 | 0 | 0.078329 | 0.290621 | 5,939 | 190 | 74 | 31.257895 | 0.727273 | 0 | 0 | 0.646667 | 0 | 0 | 0.002695 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 1 | 0.126667 | false | 0 | 0.02 | 0.06 | 0.22 | 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 |
8acedc15aed8cd491ca7e5c859c7661f8264d898 | 218 | py | Python | resistics_readers/lemi/__init__.py | resistics/resistics-readers | f36c10b396bb769b91884c5b41f9ac94e0b8deac | [
"MIT"
] | 2 | 2021-06-22T09:29:22.000Z | 2021-12-18T07:20:41.000Z | resistics_readers/lemi/__init__.py | resistics/resistics-readers | f36c10b396bb769b91884c5b41f9ac94e0b8deac | [
"MIT"
] | null | null | null | resistics_readers/lemi/__init__.py | resistics/resistics-readers | f36c10b396bb769b91884c5b41f9ac94e0b8deac | [
"MIT"
] | null | null | null | """
Subpackage with readers for Lemi data, including:
- Readers for time series data
"""
from resistics_readers.lemi.b423 import TimeReaderB423 # noqa
from resistics_readers.lemi.b423e import TimeReaderB423E # noqa
| 27.25 | 64 | 0.793578 | 28 | 218 | 6.107143 | 0.607143 | 0.116959 | 0.233918 | 0.280702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 0.137615 | 218 | 7 | 65 | 31.142857 | 0.845745 | 0.422018 | 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 |
0a021779583b2d4b4f55bdc5e0f608d3fec30f40 | 196 | py | Python | novice/02-02/kasus/manajer.py | blackjokie/praxis-academy | 594d24fcf18cea4f76c9889030eba4aa3f834b7a | [
"MIT"
] | 2 | 2019-08-11T16:58:04.000Z | 2019-08-27T17:01:40.000Z | novice/02-02/kasus/manajer.py | blackjokie/praxis-academy | 594d24fcf18cea4f76c9889030eba4aa3f834b7a | [
"MIT"
] | null | null | null | novice/02-02/kasus/manajer.py | blackjokie/praxis-academy | 594d24fcf18cea4f76c9889030eba4aa3f834b7a | [
"MIT"
] | null | null | null | from pegawai import *
class Manajer(Pegawai):
def __init__(self, nama):
Pegawai.__init__(self, nama, 500000)
def kerja(self):
print(self.nama, "Pengawas Pegawai") | 24.5 | 44 | 0.632653 | 23 | 196 | 5.043478 | 0.565217 | 0.206897 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041096 | 0.255102 | 196 | 8 | 45 | 24.5 | 0.753425 | 0 | 0 | 0 | 0 | 0 | 0.081218 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 0.166667 | 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 |
0a04e5b99e300dd2fee12f699f2125950d99779e | 76,287 | py | Python | tests/functional/test_awsclient.py | crazy-penguins/chalice | be2c18fac947e85883e4303b4ca1b225d305ffdc | [
"Apache-2.0"
] | null | null | null | tests/functional/test_awsclient.py | crazy-penguins/chalice | be2c18fac947e85883e4303b4ca1b225d305ffdc | [
"Apache-2.0"
] | null | null | null | tests/functional/test_awsclient.py | crazy-penguins/chalice | be2c18fac947e85883e4303b4ca1b225d305ffdc | [
"Apache-2.0"
] | null | null | null | import json
import datetime
import time
import pytest
import mock
import botocore.exceptions
from botocore.vendored.requests import ConnectionError as \
RequestsConnectionError
from botocore.vendored.requests.exceptions import ReadTimeout as \
RequestsReadTimeout
from botocore import stub
from chalice.awsclie... | 38.412387 | 79 | 0.629255 | 7,574 | 76,287 | 6.056113 | 0.068524 | 0.162681 | 0.047091 | 0.061218 | 0.843445 | 0.817328 | 0.800214 | 0.782555 | 0.750921 | 0.719266 | 0 | 0.01426 | 0.25172 | 76,287 | 1,985 | 80 | 38.431738 | 0.789275 | 0.015507 | 0 | 0.678195 | 0 | 0.003517 | 0.162094 | 0.036082 | 0 | 0 | 0 | 0 | 0.030481 | 1 | 0.06272 | false | 0.000586 | 0.009965 | 0.000586 | 0.083822 | 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 |
0a5a758689c4c059ab16bfd5408ac98f291ccbb1 | 36 | py | Python | test.py | am2jm/-cs3240-labdemo | c28e49b630a97b472508a5441e37c88c1f551cbd | [
"MIT"
] | null | null | null | test.py | am2jm/-cs3240-labdemo | c28e49b630a97b472508a5441e37c88c1f551cbd | [
"MIT"
] | null | null | null | test.py | am2jm/-cs3240-labdemo | c28e49b630a97b472508a5441e37c88c1f551cbd | [
"MIT"
] | null | null | null | print("Creating a new python file")
| 18 | 35 | 0.75 | 6 | 36 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 36 | 1 | 36 | 36 | 0.870968 | 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 |
0a6d6a26151ab5e28b7109dc27640cb78cec8824 | 135 | py | Python | xray_ot/translator/ot_types.py | NyanKiyoshi/opentracing-python-xray | 6d5963c00162b1e849087f82f50e2d1c0ddbe073 | [
"MIT"
] | null | null | null | xray_ot/translator/ot_types.py | NyanKiyoshi/opentracing-python-xray | 6d5963c00162b1e849087f82f50e2d1c0ddbe073 | [
"MIT"
] | 2 | 2020-02-14T06:08:43.000Z | 2020-02-17T19:57:23.000Z | xray_ot/translator/ot_types.py | NyanKiyoshi/opentracing-python-xray | 6d5963c00162b1e849087f82f50e2d1c0ddbe073 | [
"MIT"
] | null | null | null | from typing import Dict, Union, Any
T_TAGS = Dict[str, Union[str, int, float]]
T_XRAY_TAGS = Dict[str, Union[T_TAGS, Dict[str, Any]]]
| 27 | 54 | 0.711111 | 25 | 135 | 3.68 | 0.48 | 0.26087 | 0.358696 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140741 | 135 | 4 | 55 | 33.75 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6a7fe0fca372509a31b993f855cbfab7e47a376a | 266 | py | Python | zipline/assets/symbol_rules.py | FlyingOE/zipline | 220ffc54a8f4d4f5afdbab86db39f8f512083e53 | [
"Apache-2.0"
] | null | null | null | zipline/assets/symbol_rules.py | FlyingOE/zipline | 220ffc54a8f4d4f5afdbab86db39f8f512083e53 | [
"Apache-2.0"
] | null | null | null | zipline/assets/symbol_rules.py | FlyingOE/zipline | 220ffc54a8f4d4f5afdbab86db39f8f512083e53 | [
"Apache-2.0"
] | null | null | null | import re
_symbol_delimiter_regex = re.compile(r'[./\-_]')
def split_nasdaq(symbol):
sym = re.replace(_symbol_delimiter_regex, '', symbol)
return sym[:4], sym[4:]
def split_nyse(symbol):
return re.split(_symbol_delimiter_regex, symbol, maxsplit=1)
| 19 | 64 | 0.706767 | 37 | 266 | 4.756757 | 0.459459 | 0.255682 | 0.340909 | 0.295455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013216 | 0.146617 | 266 | 13 | 65 | 20.461538 | 0.762115 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 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 |
6acac02e58dc56aa368b47f5d2d7423185f57c81 | 22 | py | Python | pinspec/slbw/__init__.py | cjosey/PINSPEC | 8c4bed18097c1461b7271c1b68af6dc6f1c78806 | [
"MIT"
] | 1 | 2020-10-14T14:32:25.000Z | 2020-10-14T14:32:25.000Z | pinspec/slbw/__init__.py | cjosey/PINSPEC | 8c4bed18097c1461b7271c1b68af6dc6f1c78806 | [
"MIT"
] | null | null | null | pinspec/slbw/__init__.py | cjosey/PINSPEC | 8c4bed18097c1461b7271c1b68af6dc6f1c78806 | [
"MIT"
] | null | null | null | from pinspec import *
| 11 | 21 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 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 |
0af209db9efc66833aa87aa6d96c2f78277d6340 | 429 | py | Python | hail/python/hailtop/utils/validate/__init__.py | tdeboer-ilmn/hail | 98fffc9b4e13cd5d5ced8322112894361d0b7052 | [
"MIT"
] | 789 | 2016-09-05T04:14:25.000Z | 2022-03-30T09:51:54.000Z | hail/python/hailtop/utils/validate/__init__.py | tdeboer-ilmn/hail | 98fffc9b4e13cd5d5ced8322112894361d0b7052 | [
"MIT"
] | 5,724 | 2016-08-29T18:58:40.000Z | 2022-03-31T23:49:42.000Z | hail/python/hailtop/utils/validate/__init__.py | tdeboer-ilmn/hail | 98fffc9b4e13cd5d5ced8322112894361d0b7052 | [
"MIT"
] | 233 | 2016-08-31T20:42:38.000Z | 2022-02-17T16:42:39.000Z | from .validate import anyof, bool_type, dictof, keyed, listof, int_type, nullable, \
numeric, oneof, regex, required, str_type, non_empty_str_type, switch, ValidationError
__all__ = [
'anyof',
'bool_type',
'dictof',
'keyed',
'listof',
'int_type',
'nullable',
'numeric',
'oneof',
... | 20.428571 | 90 | 0.613054 | 46 | 429 | 5.369565 | 0.456522 | 0.11336 | 0.105263 | 0.153846 | 0.91498 | 0.91498 | 0.91498 | 0.91498 | 0.91498 | 0.91498 | 0 | 0 | 0.240093 | 429 | 20 | 91 | 21.45 | 0.757669 | 0 | 0 | 0 | 0 | 0 | 0.277389 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.052632 | 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 |
7c214155325b530aee7692e3089c388936fe9759 | 29,143 | py | Python | tests/test_ec2/test_transit_gateway.py | mhihasan/moto | c296a9431e6964c5729e9623869a1c864a51fa63 | [
"Apache-2.0"
] | null | null | null | tests/test_ec2/test_transit_gateway.py | mhihasan/moto | c296a9431e6964c5729e9623869a1c864a51fa63 | [
"Apache-2.0"
] | 4 | 2017-09-30T07:52:52.000Z | 2021-12-13T06:56:55.000Z | tests/test_ec2/test_transit_gateway.py | mhihasan/moto | c296a9431e6964c5729e9623869a1c864a51fa63 | [
"Apache-2.0"
] | 2 | 2021-11-24T08:05:43.000Z | 2021-11-25T16:18:48.000Z | import boto3
import sure # noqa
from moto import mock_ec2
from moto.core import ACCOUNT_ID
@mock_ec2
def test_describe_transit_gateways():
ec2 = boto3.client("ec2", region_name="us-west-1")
response = ec2.describe_transit_gateways()
response.should.have.key("TransitGateways").equal([])
@mock_ec2
def te... | 37.030496 | 88 | 0.692722 | 2,808 | 29,143 | 6.944801 | 0.070513 | 0.094046 | 0.044664 | 0.06251 | 0.820778 | 0.776781 | 0.753551 | 0.718168 | 0.70222 | 0.688734 | 0 | 0.020069 | 0.175891 | 29,143 | 786 | 89 | 37.077608 | 0.791897 | 0.006039 | 0 | 0.511312 | 0 | 0 | 0.239838 | 0.113099 | 0 | 0 | 0 | 0 | 0.001508 | 1 | 0.042232 | false | 0.001508 | 0.006033 | 0 | 0.048265 | 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 |
7c338d4a7d9dccb2f72e50338691a4d97104524b | 386 | py | Python | gym_racecar/envs/__init__.py | alexliniger/gym-racecar | 62e9587b2d0e8c5fec79ef7285a02727233922ea | [
"MIT"
] | 18 | 2020-11-20T18:44:07.000Z | 2022-03-11T05:06:27.000Z | gym_racecar/envs/__init__.py | alexliniger/gym-racecar | 62e9587b2d0e8c5fec79ef7285a02727233922ea | [
"MIT"
] | null | null | null | gym_racecar/envs/__init__.py | alexliniger/gym-racecar | 62e9587b2d0e8c5fec79ef7285a02727233922ea | [
"MIT"
] | 2 | 2020-11-21T17:35:49.000Z | 2021-11-22T06:27:18.000Z | from gym_racecar.envs.race_car_env import RaceCarEnv
from gym_racecar.envs.race_car_ideal_line_env import RaceCarIdealLineEnv
from gym_racecar.envs.race_car_ideal_line_realistic_env import RaceCarIdealLineRealisticEnv
from gym_racecar.envs.race_car_center_line_env import RaceCarCenterLineEnv
from gym_racecar.envs.race_... | 77.2 | 93 | 0.92487 | 55 | 386 | 6.036364 | 0.309091 | 0.105422 | 0.210843 | 0.271084 | 0.490964 | 0.490964 | 0.415663 | 0.415663 | 0 | 0 | 0 | 0 | 0.049223 | 386 | 5 | 93 | 77.2 | 0.904632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
7c4fb32ae0a238e2147d833bbcb353313a4e3ad4 | 2,670 | py | Python | app/models.py | ArighnaIITG/Resurrector | 319717fc7382af953d9bada084d00f0f0dd635e2 | [
"MIT"
] | null | null | null | app/models.py | ArighnaIITG/Resurrector | 319717fc7382af953d9bada084d00f0f0dd635e2 | [
"MIT"
] | null | null | null | app/models.py | ArighnaIITG/Resurrector | 319717fc7382af953d9bada084d00f0f0dd635e2 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from django.db import models
# Create your models here.
class Event(models.Model):
name = models.CharField(max_length=150)
time = models.CharField(max_length=150)
lat = models.CharField(max_length=100)
lng = models.CharField(max_length=100)
type_of = models.CharField(max_l... | 30 | 50 | 0.775655 | 390 | 2,670 | 5.074359 | 0.174359 | 0.348661 | 0.418393 | 0.557858 | 0.811016 | 0.698838 | 0.664982 | 0.658413 | 0.615968 | 0.584639 | 0 | 0.055019 | 0.10824 | 2,670 | 88 | 51 | 30.340909 | 0.776144 | 0.008989 | 0 | 0.594595 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.108108 | false | 0 | 0.027027 | 0.108108 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7c7d4accfbed2634a0814acdeb5d42ceaba2e67b | 10,744 | py | Python | python_modules/dagster/dagster_tests/core_tests/serdes_tests/test_ipc.py | bitdotioinc/dagster | 4fe395a37b206b1a48b956fa5dd72bf698104cca | [
"Apache-2.0"
] | 1 | 2021-04-27T19:49:59.000Z | 2021-04-27T19:49:59.000Z | python_modules/dagster/dagster_tests/core_tests/serdes_tests/test_ipc.py | bitdotioinc/dagster | 4fe395a37b206b1a48b956fa5dd72bf698104cca | [
"Apache-2.0"
] | 7 | 2022-03-16T06:55:04.000Z | 2022-03-18T07:03:25.000Z | python_modules/dagster/dagster_tests/core_tests/serdes_tests/test_ipc.py | bitdotioinc/dagster | 4fe395a37b206b1a48b956fa5dd72bf698104cca | [
"Apache-2.0"
] | null | null | null | import os
import subprocess
import sys
import time
import pytest
from dagster.serdes.ipc import (
interrupt_ipc_subprocess,
interrupt_ipc_subprocess_pid,
open_ipc_subprocess,
)
from dagster.seven import ExitStack
from dagster.utils import file_relative_path, process_is_alive, safe_tempfile_path
def wait... | 36.297297 | 95 | 0.601452 | 1,201 | 10,744 | 4.975021 | 0.114072 | 0.060251 | 0.040502 | 0.028619 | 0.825941 | 0.798326 | 0.778745 | 0.767029 | 0.761506 | 0.75046 | 0 | 0.002472 | 0.322133 | 10,744 | 295 | 96 | 36.420339 | 0.817932 | 0.033507 | 0 | 0.64257 | 0 | 0 | 0.070733 | 0.052424 | 0 | 0 | 0 | 0 | 0.056225 | 1 | 0.036145 | false | 0 | 0.032129 | 0 | 0.068273 | 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 |
7c7f16e211cad1008b50e3799de7fea5c5cd5d1b | 23,305 | py | Python | tccli/services/ame/ame_client.py | zqfan/tencentcloud-cli | b6ad9fced2a2b340087e4e5522121d405f68b615 | [
"Apache-2.0"
] | null | null | null | tccli/services/ame/ame_client.py | zqfan/tencentcloud-cli | b6ad9fced2a2b340087e4e5522121d405f68b615 | [
"Apache-2.0"
] | null | null | null | tccli/services/ame/ame_client.py | zqfan/tencentcloud-cli | b6ad9fced2a2b340087e4e5522121d405f68b615 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import os
import json
import tccli.options_define as OptionsDefine
import tccli.format_output as FormatOutput
from tccli import __version__
from tccli.utils import Utils
from tccli.exceptions import ConfigurationError
from tencentcloud.common import credential
from tencentcloud.common.profile.ht... | 41.990991 | 105 | 0.721519 | 2,669 | 23,305 | 6.06332 | 0.064069 | 0.077859 | 0.214855 | 0.056232 | 0.797133 | 0.786195 | 0.781746 | 0.777297 | 0.771489 | 0.718594 | 0 | 0.010401 | 0.170779 | 23,305 | 554 | 106 | 42.066787 | 0.827012 | 0.007767 | 0 | 0.648536 | 0 | 0 | 0.043064 | 0.002121 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037657 | false | 0 | 0.025105 | 0.002092 | 0.066946 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7cab0e15ec361b5c6d5bf5ee9937856222c1f185 | 77 | py | Python | pynotify/__init__.py | A-Telfer/simple-notification-script | 0901e8ca7045b2c0a3b87fc1b1f22a663aaff3ce | [
"MIT"
] | null | null | null | pynotify/__init__.py | A-Telfer/simple-notification-script | 0901e8ca7045b2c0a3b87fc1b1f22a663aaff3ce | [
"MIT"
] | null | null | null | pynotify/__init__.py | A-Telfer/simple-notification-script | 0901e8ca7045b2c0a3b87fc1b1f22a663aaff3ce | [
"MIT"
] | null | null | null | # from .pynotify import *
from . import pynotify
from .pynotify import send
| 15.4 | 26 | 0.753247 | 10 | 77 | 5.8 | 0.4 | 0.413793 | 0.62069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 77 | 4 | 27 | 19.25 | 0.920635 | 0.298701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7caca7c09fbd84663924f612e8fbc41225bf364f | 3,450 | py | Python | migrations/versions/2018_02_10_40f652bd98a8_add_position_to_newsletter_link_tables.py | tch1bo/viaduct | bfd37b0a8408b2dd66fb01138163b80ce97699ff | [
"MIT"
] | 11 | 2015-04-23T21:57:56.000Z | 2019-04-28T12:48:58.000Z | migrations/versions/2018_02_10_40f652bd98a8_add_position_to_newsletter_link_tables.py | tch1bo/viaduct | bfd37b0a8408b2dd66fb01138163b80ce97699ff | [
"MIT"
] | 1 | 2016-10-05T14:10:58.000Z | 2016-10-05T14:12:23.000Z | migrations/versions/2018_02_10_40f652bd98a8_add_position_to_newsletter_link_tables.py | tch1bo/viaduct | bfd37b0a8408b2dd66fb01138163b80ce97699ff | [
"MIT"
] | 3 | 2016-10-05T14:00:42.000Z | 2019-01-16T14:33:43.000Z | """Add position to newsletter link tables.
Revision ID: 40f652bd98a8
Revises: 7525fd3b67d5
Create Date: 2018-02-10 13:12:04.962735
"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import mysql
# revision identifiers, used by Alembic.
revision = '40f652bd98a8'
down_revision = '7525fd3b67d5'... | 50.735294 | 170 | 0.709565 | 403 | 3,450 | 5.751861 | 0.181141 | 0.08283 | 0.050475 | 0.07377 | 0.833909 | 0.821829 | 0.821829 | 0.793356 | 0.793356 | 0.793356 | 0 | 0.025686 | 0.164928 | 3,450 | 67 | 171 | 51.492537 | 0.778896 | 0.093043 | 0 | 0.6 | 0 | 0 | 0.372574 | 0.186934 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0.02 | 0.06 | 0 | 0.1 | 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 |
7cb951d3bcd2ab69e7ed7e5fb627d0f548b55680 | 199 | py | Python | zerver/lib/redis_utils.py | enterstudio/zulip | f6f8f1fe36ac7d82bc0a5effc00a47e460f0b325 | [
"Apache-2.0"
] | 1 | 2015-09-28T09:50:11.000Z | 2015-09-28T09:50:11.000Z | zerver/lib/redis_utils.py | enterstudio/zulip | f6f8f1fe36ac7d82bc0a5effc00a47e460f0b325 | [
"Apache-2.0"
] | 7 | 2021-04-13T15:47:58.000Z | 2022-02-11T03:46:47.000Z | zerver/lib/redis_utils.py | enterstudio/zulip | f6f8f1fe36ac7d82bc0a5effc00a47e460f0b325 | [
"Apache-2.0"
] | 1 | 2017-03-19T14:40:16.000Z | 2017-03-19T14:40:16.000Z | from __future__ import absolute_import
from django.conf import settings
import redis
def get_redis_client():
return redis.StrictRedis(host=settings.REDIS_HOST, port=settings.REDIS_PORT, db=0)
| 22.111111 | 86 | 0.81407 | 29 | 199 | 5.275862 | 0.586207 | 0.169935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005682 | 0.115578 | 199 | 8 | 87 | 24.875 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.6 | 0.2 | 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 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
7cd3582d9baa570d7423420e5e8d5d54fc558153 | 35 | py | Python | utile/__init__.py | InchSoup/HWCC2020_RS_segmentation | ed21435e61c19a700e870acaaa1dfc27e0d5683c | [
"MIT"
] | 16 | 2020-12-25T12:46:20.000Z | 2021-11-28T10:22:42.000Z | utile/__init__.py | InchSoup/HWCC2020_RS_segmentation | ed21435e61c19a700e870acaaa1dfc27e0d5683c | [
"MIT"
] | 1 | 2020-12-25T13:15:39.000Z | 2020-12-25T15:24:10.000Z | utile/__init__.py | InchSoup/HWCC2020_RS_segmentation | ed21435e61c19a700e870acaaa1dfc27e0d5683c | [
"MIT"
] | 4 | 2020-12-25T13:15:33.000Z | 2021-02-05T08:54:41.000Z | from .deeplearning import train_net | 35 | 35 | 0.885714 | 5 | 35 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7cd454e0086c9a6713de8fe6ee925a44063a0543 | 99 | py | Python | holobot/extensions/google/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 1 | 2021-05-24T00:17:46.000Z | 2021-05-24T00:17:46.000Z | holobot/extensions/google/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 41 | 2021-03-24T22:50:09.000Z | 2021-12-17T12:15:13.000Z | holobot/extensions/google/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | null | null | null | from .google_client import GoogleClient
from .google_client_interface import GoogleClientInterface
| 33 | 58 | 0.89899 | 11 | 99 | 7.818182 | 0.636364 | 0.232558 | 0.372093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080808 | 99 | 2 | 59 | 49.5 | 0.945055 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7cd7891e47ffa341f828c17d1e4d5d80e622a828 | 37,071 | py | Python | stix2/v21/sdo.py | emmanvg/cti-python-stix2 | d4c01157352552e2ec05bcf7b0f79ef96e34022d | [
"BSD-3-Clause"
] | 9 | 2017-07-03T19:01:23.000Z | 2020-02-20T19:22:49.000Z | stix2/v21/sdo.py | emmanvg/cti-python-stix2 | d4c01157352552e2ec05bcf7b0f79ef96e34022d | [
"BSD-3-Clause"
] | 1 | 2017-05-30T14:13:27.000Z | 2017-05-30T14:13:27.000Z | stix2/v21/sdo.py | emmanvg/cti-python-stix2 | d4c01157352552e2ec05bcf7b0f79ef96e34022d | [
"BSD-3-Clause"
] | 1 | 2017-05-26T19:17:14.000Z | 2017-05-26T19:17:14.000Z | """STIX 2.1 Domain Objects."""
from collections import OrderedDict
import itertools
import warnings
from six.moves.urllib.parse import quote_plus
from ..core import STIXDomainObject
from ..custom import _custom_object_builder
from ..exceptions import PropertyPresenceError, STIXDeprecationWarning
from ..properties im... | 44.934545 | 127 | 0.647164 | 3,484 | 37,071 | 6.686567 | 0.09271 | 0.009272 | 0.035027 | 0.037946 | 0.785929 | 0.766612 | 0.75 | 0.740127 | 0.733087 | 0.720725 | 0 | 0.009517 | 0.206388 | 37,071 | 824 | 128 | 44.989078 | 0.782325 | 0.095115 | 0 | 0.659016 | 0 | 0 | 0.199819 | 0.005647 | 0 | 0 | 0 | 0.021845 | 0 | 1 | 0.027869 | false | 0 | 0.016393 | 0 | 0.144262 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7ce1a1992363710347a1a47a1b19bac24a83ec4b | 253 | py | Python | revision/queque.py | rishabhiitbhu/hackerrank | acc300851c81a29472177f15fd8b56ebebe853ea | [
"MIT"
] | null | null | null | revision/queque.py | rishabhiitbhu/hackerrank | acc300851c81a29472177f15fd8b56ebebe853ea | [
"MIT"
] | null | null | null | revision/queque.py | rishabhiitbhu/hackerrank | acc300851c81a29472177f15fd8b56ebebe853ea | [
"MIT"
] | 1 | 2020-01-30T06:47:09.000Z | 2020-01-30T06:47:09.000Z | class Queque(object):
def __init__(self):
self.queque = []
def inQueque(self, element):
self.queque.insert(0, element)
def deQueue(self):
return self.queque.pop()
def peek(self):
return self.queque[-1]
| 19.461538 | 38 | 0.588933 | 31 | 253 | 4.677419 | 0.483871 | 0.275862 | 0.193103 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010989 | 0.280632 | 253 | 12 | 39 | 21.083333 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0 | 0.222222 | 0.777778 | 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 |
6b049390b416a66245e638f240360bb83ada8d51 | 2,934 | py | Python | tests/test_utils.py | waikup83/daphne | 3877d47c1e9cca005d85e679ca94600f417acbfd | [
"BSD-3-Clause"
] | 1 | 2020-01-18T08:44:40.000Z | 2020-01-18T08:44:40.000Z | tests/test_utils.py | carltongibson/daphne | 78be865eb40f1dc1a761c5f5d82a33a33efff33d | [
"BSD-3-Clause"
] | 1 | 2020-10-16T08:20:48.000Z | 2020-11-12T19:34:18.000Z | tests/test_utils.py | carltongibson/daphne | 78be865eb40f1dc1a761c5f5d82a33a33efff33d | [
"BSD-3-Clause"
] | 1 | 2020-04-13T20:41:58.000Z | 2020-04-13T20:41:58.000Z | # coding: utf8
from unittest import TestCase
from twisted.web.http_headers import Headers
from daphne.utils import parse_x_forwarded_for
class TestXForwardedForHttpParsing(TestCase):
"""
Tests that the parse_x_forwarded_for util correctly parses twisted Header.
"""
def test_basic(self):
he... | 33.724138 | 88 | 0.602931 | 408 | 2,934 | 4.169118 | 0.154412 | 0.15873 | 0.175779 | 0.15873 | 0.822457 | 0.793651 | 0.758965 | 0.758965 | 0.758965 | 0.758965 | 0 | 0.081741 | 0.232788 | 2,934 | 86 | 89 | 34.116279 | 0.673923 | 0.054874 | 0 | 0.466667 | 0 | 0 | 0.162655 | 0 | 0 | 0 | 0 | 0 | 0.233333 | 1 | 0.2 | false | 0 | 0.05 | 0 | 0.283333 | 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 |
6b4c9ac3b91284547189e08a0919253d9493c6c5 | 7,595 | py | Python | sdk/core/azure-core/tests/async_tests/test_streaming_async.py | omziv/azure-sdk-for-python | 3fbb0f9e1f86acc4e0a8cb13b790dccf32e3860f | [
"MIT"
] | 1 | 2021-09-16T02:33:52.000Z | 2021-09-16T02:33:52.000Z | sdk/core/azure-core/tests/async_tests/test_streaming_async.py | omziv/azure-sdk-for-python | 3fbb0f9e1f86acc4e0a8cb13b790dccf32e3860f | [
"MIT"
] | 2 | 2021-08-24T15:32:30.000Z | 2021-08-24T23:21:34.000Z | sdk/core/azure-core/tests/async_tests/test_streaming_async.py | omziv/azure-sdk-for-python | 3fbb0f9e1f86acc4e0a8cb13b790dccf32e3860f | [
"MIT"
] | 1 | 2016-04-19T22:15:47.000Z | 2016-04-19T22:15:47.000Z | # --------------------------------------------------------------------------
#
# Copyright (c) Microsoft Corporation. All rights reserved.
#
# The MIT License (MIT)
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the ""Software""), ... | 40.833333 | 95 | 0.670178 | 911 | 7,595 | 5.451153 | 0.172338 | 0.053162 | 0.038663 | 0.051551 | 0.787757 | 0.787757 | 0.787757 | 0.787757 | 0.763995 | 0.757753 | 0 | 0.001172 | 0.213693 | 7,595 | 185 | 96 | 41.054054 | 0.830375 | 0.185122 | 0 | 0.902778 | 0 | 0 | 0.132413 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 1 | 0 | false | 0.027778 | 0.034722 | 0 | 0.034722 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
861dca2c4376c52cb4bd096fad5f5cc5119ad0a3 | 244 | py | Python | update_skater_elo_ratings_indefinitely.py | microprediction/timemachines-testing | 5dfda0b296af2f83a7b7582c2c521ec84b92a70f | [
"MIT"
] | 5 | 2021-03-06T14:33:45.000Z | 2021-09-02T15:48:50.000Z | update_skater_elo_ratings_indefinitely.py | microprediction/timemachines-testing | 5dfda0b296af2f83a7b7582c2c521ec84b92a70f | [
"MIT"
] | 1 | 2021-03-26T18:22:00.000Z | 2021-03-26T18:22:00.000Z | update_skater_elo_ratings_indefinitely.py | microprediction/timemachines-testing | 5dfda0b296af2f83a7b7582c2c521ec84b92a70f | [
"MIT"
] | 1 | 2021-12-19T16:24:23.000Z | 2021-12-19T16:24:23.000Z | from update_skater_elo_ratings import update_skater_elo_ratings_once
import traceback
if __name__=='__main__':
while True:
try:
update_skater_elo_ratings_once()
except Exception:
traceback.print_tb() | 27.111111 | 68 | 0.704918 | 29 | 244 | 5.241379 | 0.62069 | 0.236842 | 0.296053 | 0.434211 | 0.342105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241803 | 244 | 9 | 69 | 27.111111 | 0.821622 | 0 | 0 | 0 | 0 | 0 | 0.032653 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.125 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8644aa0c591c2ee924ec0903bc1b2301233a4b15 | 7,810 | py | Python | tests/test_views/test_recruits.py | freelancing-solutions/GCP-Based-Database-as-a-Service | 7d6a12c33db238ca2f748bf4ddea6d2cf3c16da3 | [
"MIT"
] | 1 | 2021-04-15T19:45:04.000Z | 2021-04-15T19:45:04.000Z | tests/test_views/test_recruits.py | freelancing-solutions/pinydesk | 7d6a12c33db238ca2f748bf4ddea6d2cf3c16da3 | [
"MIT"
] | 516 | 2021-05-02T11:46:36.000Z | 2022-03-29T06:09:49.000Z | tests/test_views/test_recruits.py | freelancing-solutions/pinydesk | 7d6a12c33db238ca2f748bf4ddea6d2cf3c16da3 | [
"MIT"
] | 1 | 2021-09-04T22:40:14.000Z | 2021-09-04T22:40:14.000Z | import typing
from datetime import datetime
from random import randint
from google.cloud import ndb
from data_service.views.affiliates import RecruitsView
from data_service.store.affiliates import Recruits
from data_service.utils.utils import create_id
from .. import test_app
# noinspection PyUnresolvedReferences
from ... | 44.885057 | 118 | 0.733419 | 990 | 7,810 | 5.530303 | 0.094949 | 0.067945 | 0.0621 | 0.065205 | 0.837991 | 0.805114 | 0.78411 | 0.770046 | 0.740457 | 0.711963 | 0 | 0.004783 | 0.170166 | 7,810 | 173 | 119 | 45.144509 | 0.839994 | 0.039821 | 0 | 0.511628 | 0 | 0 | 0.199813 | 0.067851 | 0 | 0 | 0 | 0 | 0.20155 | 1 | 0.093023 | false | 0.007752 | 0.093023 | 0.023256 | 0.232558 | 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 |
8661027faf68058c8c17a1f3fcef89028baa0e0a | 297 | py | Python | configs/gdrn/ycbvPbrSO/resnest50d_AugCosyAAEGray_BG05_visib10_mlBCE_DoubleMask_ycbvPbr100e_SO/resnest50d_AugCosyAAEGray_BG05_visib10_mlBCE_DoubleMask_ycbvPbr100e_SO_02_03CrackerBox.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 33 | 2021-12-15T07:11:47.000Z | 2022-03-29T08:58:32.000Z | configs/gdrn/ycbvPbrSO/resnest50d_AugCosyAAEGray_BG05_visib10_mlBCE_DoubleMask_ycbvPbr100e_SO/resnest50d_AugCosyAAEGray_BG05_visib10_mlBCE_DoubleMask_ycbvPbr100e_SO_02_03CrackerBox.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 3 | 2021-12-15T11:39:54.000Z | 2022-03-29T07:24:23.000Z | configs/gdrn/ycbvPbrSO/resnest50d_AugCosyAAEGray_BG05_visib10_mlBCE_DoubleMask_ycbvPbr100e_SO/resnest50d_AugCosyAAEGray_BG05_visib10_mlBCE_DoubleMask_ycbvPbr100e_SO_02_03CrackerBox.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | null | null | null | _base_ = "./resnest50d_AugCosyAAEGray_BG05_visib10_mlBCE_DoubleMask_ycbvPbr100e_SO_01_02MasterChefCan.py"
OUTPUT_DIR = (
"output/gdrn/ycbvPbrSO/resnest50d_AugCosyAAEGray_BG05_visib10_mlBCE_DoubleMask_ycbvPbr100e_SO/02_03CrackerBox"
)
DATASETS = dict(TRAIN=("ycbv_003_cracker_box_train_pbr",))
| 49.5 | 114 | 0.868687 | 36 | 297 | 6.472222 | 0.722222 | 0.206009 | 0.240343 | 0.300429 | 0.540773 | 0.540773 | 0.540773 | 0.540773 | 0 | 0 | 0 | 0.102837 | 0.050505 | 297 | 5 | 115 | 59.4 | 0.723404 | 0 | 0 | 0 | 0 | 0 | 0.781145 | 0.781145 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
86e1fe8a78894b7a5bfd1067cc841242274a6d51 | 149 | py | Python | server/logger.py | xiazeyu/daily | 462a9c4c91790286171ee2d6ef4fe8328fa8fb0c | [
"MIT"
] | null | null | null | server/logger.py | xiazeyu/daily | 462a9c4c91790286171ee2d6ef4fe8328fa8fb0c | [
"MIT"
] | null | null | null | server/logger.py | xiazeyu/daily | 462a9c4c91790286171ee2d6ef4fe8328fa8fb0c | [
"MIT"
] | null | null | null | enable = True
def log(module, msg):
if enable: print(f'{module}: {msg}')
def error(module, msg):
if enable: print(f'!Error@{module}: {msg}')
| 18.625 | 45 | 0.624161 | 23 | 149 | 4.043478 | 0.434783 | 0.387097 | 0.236559 | 0.365591 | 0.494624 | 0.494624 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167785 | 149 | 7 | 46 | 21.285714 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.248322 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.4 | 0.4 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
86f1bdaa75c925791b0a3eac90d6f823511b9706 | 978 | py | Python | gym_minigrid/envs/__init__.py | yfw/gym-minigrid | 748c6f0b5f1ac88f07e137f914c6f6a5a3160977 | [
"Apache-2.0"
] | null | null | null | gym_minigrid/envs/__init__.py | yfw/gym-minigrid | 748c6f0b5f1ac88f07e137f914c6f6a5a3160977 | [
"Apache-2.0"
] | null | null | null | gym_minigrid/envs/__init__.py | yfw/gym-minigrid | 748c6f0b5f1ac88f07e137f914c6f6a5a3160977 | [
"Apache-2.0"
] | null | null | null | from gym_minigrid.envs.empty import *
from gym_minigrid.envs.doorkey import *
from gym_minigrid.envs.multiroom import *
from gym_minigrid.envs.fetch import *
from gym_minigrid.envs.gotoobject import *
from gym_minigrid.envs.gotodoor import *
from gym_minigrid.envs.putnear import *
from gym_minigrid.envs.lockedroom impo... | 40.75 | 51 | 0.835378 | 139 | 978 | 5.705036 | 0.208633 | 0.203026 | 0.435057 | 0.551072 | 0.693569 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001129 | 0.09407 | 978 | 23 | 52 | 42.521739 | 0.893905 | 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 |
86f3c0c22d66729b28bd67ebb406dddf29a4726f | 11,080 | py | Python | sdk/python/pulumi_aws/globalaccelerator/endpoint_group.py | johnktims/pulumi-aws | c838bc79043f5376c66fc66275a1e012edd3ab7d | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/globalaccelerator/endpoint_group.py | johnktims/pulumi-aws | c838bc79043f5376c66fc66275a1e012edd3ab7d | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/globalaccelerator/endpoint_group.py | johnktims/pulumi-aws | c838bc79043f5376c66fc66275a1e012edd3ab7d | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import json
import warnings
import pulumi
import pulumi.runtime
from typing import Union
from .. import utilities, tables
class Endpoi... | 72.418301 | 340 | 0.73565 | 1,544 | 11,080 | 5.072539 | 0.128238 | 0.058989 | 0.036772 | 0.032559 | 0.787538 | 0.774515 | 0.768897 | 0.768897 | 0.749745 | 0.749745 | 0 | 0.003509 | 0.202617 | 11,080 | 152 | 341 | 72.894737 | 0.882286 | 0.448014 | 0 | 0.029851 | 1 | 0 | 0.172048 | 0.069756 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059701 | false | 0.014925 | 0.089552 | 0.029851 | 0.343284 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d4923a401fc3fd89c6434e6965c12db80eba48a7 | 37,396 | py | Python | apicurioregistryclient/api/versions_api.py | Apicurio/apicurio-registry-client-sdk-python | 9c3bab2f6ebdcd33d11ac7ee43da8e068d972ec2 | [
"Apache-2.0"
] | 4 | 2022-02-23T23:07:54.000Z | 2022-03-24T11:57:14.000Z | apicurioregistryclient/api/versions_api.py | Apicurio/apicurio-registry-client-sdk-python | 9c3bab2f6ebdcd33d11ac7ee43da8e068d972ec2 | [
"Apache-2.0"
] | 1 | 2022-03-29T10:26:20.000Z | 2022-03-29T10:35:28.000Z | apicurioregistryclient/api/versions_api.py | Apicurio/apicurio-registry-client-sdk-python | 9c3bab2f6ebdcd33d11ac7ee43da8e068d972ec2 | [
"Apache-2.0"
] | 2 | 2022-02-14T16:20:05.000Z | 2022-03-21T14:26:37.000Z | """
Apicurio Registry API [v2]
Apicurio Registry is a datastore for standard event schemas and API designs. Apicurio Registry enables developers to manage and share the structure of their data using a REST interface. For example, client applications can dynamically push or pull the latest updates to or from th... | 44.893157 | 1,281 | 0.546208 | 3,836 | 37,396 | 5.138947 | 0.096715 | 0.01953 | 0.015218 | 0.017248 | 0.782631 | 0.753614 | 0.740121 | 0.724649 | 0.7038 | 0.679349 | 0 | 0.004523 | 0.373248 | 37,396 | 832 | 1,282 | 44.947115 | 0.836547 | 0.457723 | 0 | 0.648313 | 0 | 0 | 0.249243 | 0.072394 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010657 | false | 0 | 0.019538 | 0 | 0.040853 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d4aae2bb7b2c27690004bdf729c68e4804a059c7 | 33 | py | Python | Chapter 01/Chap01_Example1.147.py | bpbpublications/Programming-Techniques-using-Python | 49b785f37e95a3aad1d36cef51e219ac56e5e9f0 | [
"MIT"
] | null | null | null | Chapter 01/Chap01_Example1.147.py | bpbpublications/Programming-Techniques-using-Python | 49b785f37e95a3aad1d36cef51e219ac56e5e9f0 | [
"MIT"
] | null | null | null | Chapter 01/Chap01_Example1.147.py | bpbpublications/Programming-Techniques-using-Python | 49b785f37e95a3aad1d36cef51e219ac56e5e9f0 | [
"MIT"
] | null | null | null | r4 = range(0,10)
print(r4[12])
| 11 | 17 | 0.575758 | 7 | 33 | 2.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259259 | 0.181818 | 33 | 2 | 18 | 16.5 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
d4c4bdf7e45afe2524c8580bcc4056138f9874c5 | 38 | py | Python | dto/__init__.py | ace6807/spec-data-validation-pattern | 57c7a757035f16ffa999244175814db0ec3964d9 | [
"MIT"
] | 1 | 2021-07-27T00:55:08.000Z | 2021-07-27T00:55:08.000Z | dto/__init__.py | ace6807/spec-data-validation-pattern | 57c7a757035f16ffa999244175814db0ec3964d9 | [
"MIT"
] | null | null | null | dto/__init__.py | ace6807/spec-data-validation-pattern | 57c7a757035f16ffa999244175814db0ec3964d9 | [
"MIT"
] | null | null | null | from .base import DataTransportObject
| 19 | 37 | 0.868421 | 4 | 38 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.970588 | 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 |
d4c65e82f469d11f2dc75c1dac2bd21dc1baa111 | 10,144 | py | Python | tests/test_error_handling.py | andriyor/flask-limiter | 95151f4ad33061915400574c9cb1fdae12fd8c5e | [
"MIT"
] | null | null | null | tests/test_error_handling.py | andriyor/flask-limiter | 95151f4ad33061915400574c9cb1fdae12fd8c5e | [
"MIT"
] | 4 | 2022-01-11T14:36:19.000Z | 2022-01-25T14:29:01.000Z | tests/test_error_handling.py | xl8-ai/flask-limiter | 4e375e71be8186980fd61ebf06e9f090e4b79565 | [
"MIT"
] | null | null | null | import json
import hiro
from flask import make_response
from mock import patch
from flask_limiter.extension import C
def test_error_message(extension_factory):
app, limiter = extension_factory({C.DEFAULT_LIMITS: "1 per day"})
@app.route("/")
def null():
return ""
with app.test_client() as ... | 32.101266 | 86 | 0.571372 | 1,215 | 10,144 | 4.602469 | 0.112757 | 0.065451 | 0.098712 | 0.075107 | 0.855329 | 0.82314 | 0.803112 | 0.768777 | 0.72872 | 0.6799 | 0 | 0.045283 | 0.294657 | 10,144 | 315 | 87 | 32.203175 | 0.736268 | 0.016463 | 0 | 0.68254 | 0 | 0 | 0.110309 | 0.055756 | 0 | 0 | 0 | 0 | 0.257937 | 1 | 0.119048 | false | 0 | 0.019841 | 0.063492 | 0.202381 | 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 |
d4e99a1942a19bb27ec5825cebb4a322160b8c65 | 46 | py | Python | ledger/basket/admin.py | sharpeez/ledger | 0ea05669f488336a63e2bdd6390725d00d619e9a | [
"Apache-2.0"
] | 14 | 2018-01-08T12:50:10.000Z | 2021-12-26T18:38:14.000Z | ledger/basket/admin.py | sharpeez/ledger | 0ea05669f488336a63e2bdd6390725d00d619e9a | [
"Apache-2.0"
] | 24 | 2019-12-04T21:37:01.000Z | 2022-03-11T23:16:20.000Z | sandbox/basket/admin.py | supertech-999/django-oscar | 35c8554c988ad3a901de1d4772c4372c190df1e3 | [
"0BSD"
] | 4 | 2019-04-09T17:29:34.000Z | 2020-06-07T14:46:23.000Z | from oscar.apps.basket.admin import * # noqa
| 23 | 45 | 0.73913 | 7 | 46 | 4.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 1 | 46 | 46 | 0.871795 | 0.086957 | 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 |
d4ea370045349606cb1723d9bbf1a92292a54250 | 60 | py | Python | src/infrastructure/num_convert.py | EldanGS/web-applications-with-fastapi-course | 2ca0d34faf2f40dedfbad5e2ca54c833b1379d1a | [
"MIT"
] | null | null | null | src/infrastructure/num_convert.py | EldanGS/web-applications-with-fastapi-course | 2ca0d34faf2f40dedfbad5e2ca54c833b1379d1a | [
"MIT"
] | null | null | null | src/infrastructure/num_convert.py | EldanGS/web-applications-with-fastapi-course | 2ca0d34faf2f40dedfbad5e2ca54c833b1379d1a | [
"MIT"
] | null | null | null |
def try_int(user_id: str) -> int:
return int(user_id)
| 12 | 33 | 0.65 | 11 | 60 | 3.272727 | 0.636364 | 0.388889 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216667 | 60 | 4 | 34 | 15 | 0.765957 | 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 | 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 |
be17b1f3e6f36aa9fa2bfd2c15d86fab6b9abe90 | 256 | py | Python | lab_new/controllers.py | GuoBioinfoLab/guo-lab-home | b863ee02e14d5c7f2769ba5ab31be21fa1a36a8e | [
"MIT"
] | null | null | null | lab_new/controllers.py | GuoBioinfoLab/guo-lab-home | b863ee02e14d5c7f2769ba5ab31be21fa1a36a8e | [
"MIT"
] | null | null | null | lab_new/controllers.py | GuoBioinfoLab/guo-lab-home | b863ee02e14d5c7f2769ba5ab31be21fa1a36a8e | [
"MIT"
] | null | null | null | from flask import render_template,make_response
from lab_new import app
#from .core import mongo
@app.route("/")
def index():
return render_template("index.html")
@app.route("/test")
def test():
return render_template("test.html")
| 18.285714 | 48 | 0.6875 | 35 | 256 | 4.885714 | 0.514286 | 0.245614 | 0.233918 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183594 | 256 | 13 | 49 | 19.692308 | 0.818182 | 0.089844 | 0 | 0 | 0 | 0 | 0.114155 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
076eefd10995af247c865069971ac74bc7b23388 | 198 | py | Python | views.py | jileidan/coretabs_django1 | 828d1f3fe465ef331e0e9758eeaba16b8ff490dd | [
"MIT"
] | null | null | null | views.py | jileidan/coretabs_django1 | 828d1f3fe465ef331e0e9758eeaba16b8ff490dd | [
"MIT"
] | null | null | null | views.py | jileidan/coretabs_django1 | 828d1f3fe465ef331e0e9758eeaba16b8ff490dd | [
"MIT"
] | null | null | null | from django.http import HttpResponse
def index(request):
return HttpResponse("Hi there, this is our new home page.")
def hello(request, name):
return HttpResponse("Hello {}".format(name))
| 24.75 | 63 | 0.727273 | 27 | 198 | 5.333333 | 0.740741 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156566 | 198 | 7 | 64 | 28.285714 | 0.862275 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 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 |
076ef06281488407c0a4e5dabf30a16542203246 | 135 | py | Python | main.py | azizoglu/Yandex-Dictionary-API | d86606db5ca6bc56de348714e69e6408d64764c5 | [
"Apache-2.0"
] | null | null | null | main.py | azizoglu/Yandex-Dictionary-API | d86606db5ca6bc56de348714e69e6408d64764c5 | [
"Apache-2.0"
] | null | null | null | main.py | azizoglu/Yandex-Dictionary-API | d86606db5ca6bc56de348714e69e6408d64764c5 | [
"Apache-2.0"
] | null | null | null | import excel_utils
excel_utils.insertSynonyms('TestFile.xlsx' , 'TestSheet')
excel_utils.insertMeanings('TestFile.xlsx' , 'TestSheet') | 33.75 | 57 | 0.807407 | 15 | 135 | 7.066667 | 0.533333 | 0.283019 | 0.396226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059259 | 135 | 4 | 58 | 33.75 | 0.834646 | 0 | 0 | 0 | 0 | 0 | 0.323529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 |
0773687e40bb22b4997f41558551007eb32a0458 | 153 | wsgi | Python | src/main/python/livestatus_service/livestatus_service.wsgi | Scout24/livestatus_service | 15556789c23dced1df57f4c9b91627b279c60b51 | [
"MIT"
] | 10 | 2015-04-03T21:05:43.000Z | 2017-04-12T19:41:28.000Z | src/main/python/livestatus_service/livestatus_service.wsgi | Scout24/livestatus_service | 15556789c23dced1df57f4c9b91627b279c60b51 | [
"MIT"
] | 2 | 2016-09-06T14:38:22.000Z | 2016-09-16T11:06:19.000Z | src/main/python/livestatus_service/livestatus_service.wsgi | Scout24/livestatus_service | 15556789c23dced1df57f4c9b91627b279c60b51 | [
"MIT"
] | 8 | 2015-12-03T18:02:26.000Z | 2018-03-20T17:34:30.000Z | from livestatus_service.webapp import application
from livestatus_service import initialize
initialize('/etc/livestatus.cfg')
application.debug = False
| 25.5 | 49 | 0.849673 | 18 | 153 | 7.111111 | 0.611111 | 0.21875 | 0.328125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084967 | 153 | 5 | 50 | 30.6 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0.124183 | 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 |
07c629f2a95a93fc14d8d58634eba1ec601e2c76 | 14,009 | py | Python | gpmp2_python/gpmp2_python/robots/generateMobileArm.py | mattking-smith/gpmp2 | 48c41c142df062832ffbe9792f0cbecdb36485cc | [
"BSD-3-Clause"
] | 219 | 2016-06-17T02:15:52.000Z | 2022-03-31T19:47:12.000Z | gpmp2_python/gpmp2_python/robots/generateMobileArm.py | mattking-smith/gpmp2 | 48c41c142df062832ffbe9792f0cbecdb36485cc | [
"BSD-3-Clause"
] | 37 | 2017-03-04T06:50:48.000Z | 2022-03-29T19:37:50.000Z | gpmp2_python/gpmp2_python/robots/generateMobileArm.py | mattking-smith/gpmp2 | 48c41c142df062832ffbe9792f0cbecdb36485cc | [
"BSD-3-Clause"
] | 94 | 2016-06-29T18:27:48.000Z | 2022-03-28T05:39:30.000Z | import numpy as np
from gtsam import *
from gpmp2 import *
import math
def generateMobileArm(inp_str, base_T_arm=None):
# %GENERATEMOBILEARM Generate mobile arm model
# %
# % Usage: model = GENERATEMOBILEARM(arm_str)
# % @str dataset string, existing datasets:
# % 'SimpleT... | 40.723837 | 88 | 0.430937 | 2,410 | 14,009 | 2.46556 | 0.09834 | 0.132952 | 0.102996 | 0.080108 | 0.780882 | 0.770784 | 0.72484 | 0.723999 | 0.558734 | 0.530798 | 0 | 0.386112 | 0.361625 | 14,009 | 343 | 89 | 40.842566 | 0.278318 | 0.061246 | 0 | 0.19398 | 1 | 0 | 0.00526 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003344 | false | 0 | 0.013378 | 0 | 0.020067 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
07eb187172894839fe5eb9fe68c8dd50164ca0c7 | 96 | py | Python | kata/python/kyu_5/extract_the_domain_name_from_a_url/solution.py | ckarakoc/codewars | 2b1fce935f59d73a6d8309b98ca2c3b310623fe4 | [
"MIT"
] | 1 | 2021-06-04T23:24:50.000Z | 2021-06-04T23:24:50.000Z | kata/python/kyu_5/extract_the_domain_name_from_a_url/solution.py | ckarakoc/codewars | 2b1fce935f59d73a6d8309b98ca2c3b310623fe4 | [
"MIT"
] | null | null | null | kata/python/kyu_5/extract_the_domain_name_from_a_url/solution.py | ckarakoc/codewars | 2b1fce935f59d73a6d8309b98ca2c3b310623fe4 | [
"MIT"
] | null | null | null | import re
def domain_name(url):
return re.sub('https?://|www\.', '', url).split('.', 1)[0] | 32 | 62 | 0.5625 | 15 | 96 | 3.533333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.145833 | 96 | 3 | 62 | 32 | 0.621951 | 0 | 0 | 0 | 0 | 0 | 0.168421 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
6afa705939bed9a6520dd7c0b8e3aa49553f3fcc | 26 | py | Python | services/plugin/plugin_test/hello_world/plugin_sdk/__init__.py | hosunrise/URCF-engine | d23ef4a9784de07647b15e69cc96d5c7fddfea81 | [
"MIT"
] | null | null | null | services/plugin/plugin_test/hello_world/plugin_sdk/__init__.py | hosunrise/URCF-engine | d23ef4a9784de07647b15e69cc96d5c7fddfea81 | [
"MIT"
] | null | null | null | services/plugin/plugin_test/hello_world/plugin_sdk/__init__.py | hosunrise/URCF-engine | d23ef4a9784de07647b15e69cc96d5c7fddfea81 | [
"MIT"
] | null | null | null | from ._core import Plugin
| 13 | 25 | 0.807692 | 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 |
71f0e7c659c8bdd5da8e83a532bb908e0d078c2a | 67 | py | Python | api/models/__init__.py | tavoxr/drf-ecommerce-api | 61c6b84dc4e811987ca72c73dfdce08f99d7481d | [
"MIT"
] | null | null | null | api/models/__init__.py | tavoxr/drf-ecommerce-api | 61c6b84dc4e811987ca72c73dfdce08f99d7481d | [
"MIT"
] | null | null | null | api/models/__init__.py | tavoxr/drf-ecommerce-api | 61c6b84dc4e811987ca72c73dfdce08f99d7481d | [
"MIT"
] | null | null | null | from .Product import *
from .Category import *
from .Order import * | 22.333333 | 23 | 0.746269 | 9 | 67 | 5.555556 | 0.555556 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164179 | 67 | 3 | 24 | 22.333333 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
9c39670a4a3d6cba576264786f8c05a9f57b340e | 160 | py | Python | adventure_game/factories/__init__.py | Def4l71diot/adventure-game-base | 6f62ecf07980beba8804114b007d6bd7a4f55cc7 | [
"MIT"
] | 2 | 2017-10-23T14:40:35.000Z | 2017-10-23T14:40:38.000Z | adventure_game/factories/__init__.py | Def4l71diot/A-Day-in-the-Kremlin | 6f62ecf07980beba8804114b007d6bd7a4f55cc7 | [
"MIT"
] | null | null | null | adventure_game/factories/__init__.py | Def4l71diot/A-Day-in-the-Kremlin | 6f62ecf07980beba8804114b007d6bd7a4f55cc7 | [
"MIT"
] | null | null | null | from .room_factory import RoomFactory
from .item_factory import ItemFactory
from .player_factory import PlayerFactory
from .puzzle_factory import PuzzleFactory
| 32 | 41 | 0.875 | 20 | 160 | 6.8 | 0.55 | 0.382353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 160 | 4 | 42 | 40 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
92e01390460a936af6a127ee68e106ca5dab8aa6 | 4,315 | py | Python | test/test_libpyrt/libpyrt_test.py | tkerola/chainer-trt | 4e1adc0370e11ad7736a5fafdfd5aeca168c700e | [
"MIT"
] | null | null | null | test/test_libpyrt/libpyrt_test.py | tkerola/chainer-trt | 4e1adc0370e11ad7736a5fafdfd5aeca168c700e | [
"MIT"
] | null | null | null | test/test_libpyrt/libpyrt_test.py | tkerola/chainer-trt | 4e1adc0370e11ad7736a5fafdfd5aeca168c700e | [
"MIT"
] | null | null | null | # Copyright (c) 2018 Preferred Networks, Inc. All rights reserved.
import cupy
import numpy as np
import pytest
from libpyrt_test_helper import require_libpyrt
@require_libpyrt
def test_infer_using_arrays():
import chainer_trt
fixture = 'test/fixtures/chainer_trt/raw_binding'
rt = chainer_trt.Infer.buil... | 30.387324 | 75 | 0.585632 | 630 | 4,315 | 3.896825 | 0.168254 | 0.02444 | 0.052953 | 0.057026 | 0.888391 | 0.870468 | 0.826477 | 0.721792 | 0.710794 | 0.660692 | 0 | 0.056084 | 0.268598 | 4,315 | 141 | 76 | 30.602837 | 0.7218 | 0.125377 | 0 | 0.666667 | 0 | 0 | 0.078786 | 0.039393 | 0 | 0 | 0 | 0 | 0.083333 | 1 | 0.041667 | false | 0.020833 | 0.083333 | 0 | 0.125 | 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 |
13034180f1641180638df440fd7686e8826721dd | 4,839 | py | Python | tests/test_class_marks.py | Joacchim/pytest-order | 1e873d5c2b67211ed3bc578ee72bb3d986906532 | [
"MIT"
] | 41 | 2021-03-16T07:57:00.000Z | 2022-03-01T10:02:10.000Z | tests/test_class_marks.py | Joacchim/pytest-order | 1e873d5c2b67211ed3bc578ee72bb3d986906532 | [
"MIT"
] | 39 | 2021-03-04T16:50:04.000Z | 2022-02-18T18:51:14.000Z | tests/test_class_marks.py | Joacchim/pytest-order | 1e873d5c2b67211ed3bc578ee72bb3d986906532 | [
"MIT"
] | 9 | 2021-03-04T18:27:12.000Z | 2021-12-16T06:46:13.000Z | # -*- coding: utf-8 -*-
def test_ordinal_class_marks(item_names_for):
tests_content = (
"""
import pytest
@pytest.mark.order(1)
class Test1:
def test_1(self): pass
def test_2(self): pass
@pytest.mark.order(0)
class Test2:
def te... | 23.15311 | 74 | 0.535855 | 602 | 4,839 | 4.006645 | 0.076412 | 0.136401 | 0.066335 | 0.089552 | 0.912935 | 0.88267 | 0.88267 | 0.88267 | 0.842869 | 0.8267 | 0 | 0.046183 | 0.342219 | 4,839 | 208 | 75 | 23.264423 | 0.711593 | 0.00434 | 0 | 0.492958 | 0 | 0 | 0.246275 | 0 | 0 | 0 | 0 | 0 | 0.140845 | 1 | 0.126761 | false | 0 | 0 | 0 | 0.126761 | 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 |
1308adeb24c07336baf4f37920b281f1565484f2 | 13,976 | py | Python | awp5/api/syncselection.py | ThomasWaldinger/py_awp5 | 10077ab81eab506bea58a67242c2d550988ec18c | [
"Apache-2.0"
] | 2 | 2019-04-10T16:46:19.000Z | 2020-08-18T21:57:59.000Z | awp5/api/syncselection.py | ThomasWaldinger/py_awp5 | 10077ab81eab506bea58a67242c2d550988ec18c | [
"Apache-2.0"
] | null | null | null | awp5/api/syncselection.py | ThomasWaldinger/py_awp5 | 10077ab81eab506bea58a67242c2d550988ec18c | [
"Apache-2.0"
] | null | null | null | # -------------------------------------------------------------------------
# Copyright (c) Thomas Waldinger. All rights reserved.
# Licensed under the Apache License, Version 2.0. See
# License.txt in the project root for license
# information.
# ---------------
"""
The sync selection is used to prepare one or more d... | 43.675 | 79 | 0.666428 | 1,710 | 13,976 | 5.372515 | 0.14269 | 0.036573 | 0.026124 | 0.032002 | 0.844236 | 0.828344 | 0.815282 | 0.815282 | 0.805486 | 0.792206 | 0 | 0.005377 | 0.268102 | 13,976 | 319 | 80 | 43.811912 | 0.892756 | 0.60747 | 0 | 0.663366 | 0 | 0 | 0.036555 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.158416 | false | 0 | 0.039604 | 0.009901 | 0.39604 | 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 |
1313dacda8523c7deec53f33f8d1fcf71a6b2159 | 23,213 | py | Python | ml4tc/scripts/plot_eval_by_month_and_basin.py | NOAA-GSL/ml4tc | e9f8faa51e5bfb86b2a78648d7b1d0e61d09b6c0 | [
"MIT"
] | 2 | 2021-08-24T04:24:22.000Z | 2021-09-29T07:52:21.000Z | ml4tc/scripts/plot_eval_by_month_and_basin.py | thunderhoser/ml4tc | dd97972675c462634cf43fa9ad486049429095e9 | [
"MIT"
] | null | null | null | ml4tc/scripts/plot_eval_by_month_and_basin.py | thunderhoser/ml4tc | dd97972675c462634cf43fa9ad486049429095e9 | [
"MIT"
] | null | null | null | """Plots evaluation by month, then by ocean basin, separately."""
import os
import warnings
import argparse
import numpy
import matplotlib
matplotlib.use('agg')
from matplotlib import pyplot
import matplotlib.colors
import matplotlib.patches
from gewittergefahr.gg_utils import file_system_utils
from gewittergefahr.plo... | 36.671406 | 80 | 0.707104 | 3,096 | 23,213 | 4.917313 | 0.106912 | 0.036784 | 0.033631 | 0.023647 | 0.81273 | 0.777719 | 0.749475 | 0.708355 | 0.702181 | 0.678797 | 0 | 0.010945 | 0.204928 | 23,213 | 632 | 81 | 36.72943 | 0.813936 | 0.097747 | 0 | 0.522777 | 0 | 0 | 0.059578 | 0.013411 | 0 | 0 | 0 | 0 | 0.008677 | 1 | 0.010846 | false | 0 | 0.030369 | 0 | 0.049892 | 0.021692 | 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 |
13378919e2d9daf07eeb5cb325d7e6a15bc09b1b | 97 | py | Python | tests/__init__.py | joeblackwaslike/base58check | 417282766e697b8affc926a5f52cb9fcc41978cc | [
"MIT"
] | 1 | 2018-06-09T07:58:46.000Z | 2018-06-09T07:58:46.000Z | tests/__init__.py | joeblackwaslike/base58check | 417282766e697b8affc926a5f52cb9fcc41978cc | [
"MIT"
] | 1 | 2020-04-13T18:58:54.000Z | 2021-12-09T04:08:33.000Z | tests/__init__.py | joeblackwaslike/base58check | 417282766e697b8affc926a5f52cb9fcc41978cc | [
"MIT"
] | 1 | 2022-01-31T20:55:29.000Z | 2022-01-31T20:55:29.000Z | import sys
from os.path import join, dirname
sys.path.insert(0, join(dirname(__file__), '..'))
| 16.166667 | 49 | 0.71134 | 15 | 97 | 4.333333 | 0.666667 | 0.338462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 0.123711 | 97 | 5 | 50 | 19.4 | 0.752941 | 0 | 0 | 0 | 0 | 0 | 0.020619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1342fb46cd278c5b77a36c74fc200b2ec33be7f0 | 121 | py | Python | pixywerk2/tests/unit/test_processchain.py | chaomodus/pixywerk2 | bf0b7a1cb754695264101ae9ccfafbe88bdede81 | [
"MIT"
] | null | null | null | pixywerk2/tests/unit/test_processchain.py | chaomodus/pixywerk2 | bf0b7a1cb754695264101ae9ccfafbe88bdede81 | [
"MIT"
] | null | null | null | pixywerk2/tests/unit/test_processchain.py | chaomodus/pixywerk2 | bf0b7a1cb754695264101ae9ccfafbe88bdede81 | [
"MIT"
] | null | null | null | class TestProcessChain:
def test_process_chain(self):
pass
def test_processor_chain(self):
pass
| 17.285714 | 35 | 0.669421 | 14 | 121 | 5.5 | 0.642857 | 0.181818 | 0.337662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 121 | 6 | 36 | 20.166667 | 0.875 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 0 | 0.6 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
13c4b89eba1fa5a1b07ed0fcad663230b9893a94 | 117,663 | py | Python | sweep_plot_mlperf.py | pan185/uSystolic-Sim | 6e8bad049d6625e13736f4504a54b26d5f3e99f8 | [
"MIT"
] | null | null | null | sweep_plot_mlperf.py | pan185/uSystolic-Sim | 6e8bad049d6625e13736f4504a54b26d5f3e99f8 | [
"MIT"
] | null | null | null | sweep_plot_mlperf.py | pan185/uSystolic-Sim | 6e8bad049d6625e13736f4504a54b26d5f3e99f8 | [
"MIT"
] | null | null | null | import os
import matplotlib.pyplot as plt
import numpy as np
import math
import matplotlib
from numpy import mean, median
def plot_fig(technode=""):
font = {'family':'Times New Roman', 'size': 6}
matplotlib.rc('font', **font)
print_power_onchip = False
print_power_total = False
print_energy_onchip... | 60.464029 | 196 | 0.635408 | 18,268 | 117,663 | 3.535417 | 0.016258 | 0.055276 | 0.026446 | 0.027932 | 0.964837 | 0.955841 | 0.928157 | 0.918402 | 0.888287 | 0.832794 | 0 | 0.03753 | 0.256096 | 117,663 | 1,945 | 197 | 60.495116 | 0.700331 | 0.01602 | 0 | 0.5 | 0 | 0.001225 | 0.091011 | 0.01241 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001838 | false | 0 | 0.003676 | 0 | 0.00674 | 0.18076 | 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 |
13de49e75e083d1e866081b7eef22968d7314d7a | 5,875 | py | Python | app/backend/datahubs/sesam.py | sesam-community/autoflow | 104f2d6e4b95360618521681d7c5ae6983425a1c | [
"Apache-2.0"
] | null | null | null | app/backend/datahubs/sesam.py | sesam-community/autoflow | 104f2d6e4b95360618521681d7c5ae6983425a1c | [
"Apache-2.0"
] | null | null | null | app/backend/datahubs/sesam.py | sesam-community/autoflow | 104f2d6e4b95360618521681d7c5ae6983425a1c | [
"Apache-2.0"
] | 2 | 2021-02-18T14:48:11.000Z | 2021-04-14T13:54:14.000Z | import requests
import logging
import json
def get_all_input_pipes(sesam_jwt, sesam_base_url):
pipe_names = []
header = {
'Authorization': f'Bearer {sesam_jwt}',
"content-type": "application/json"
}
sesam_response = requests.get(f"{sesam_base_url}/pipes",
... | 32.638889 | 133 | 0.563574 | 655 | 5,875 | 4.810687 | 0.155725 | 0.061885 | 0.053316 | 0.043161 | 0.824818 | 0.81847 | 0.809902 | 0.787686 | 0.761028 | 0.716598 | 0 | 0.001513 | 0.324936 | 5,875 | 180 | 134 | 32.638889 | 0.79299 | 0 | 0 | 0.593103 | 0 | 0 | 0.261232 | 0.068074 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048276 | false | 0.006897 | 0.02069 | 0 | 0.137931 | 0.068966 | 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 |
b9374f41e6989311295985fe73040936854187a2 | 1,864 | py | Python | portapp/migrations/0012_auto_20210103_0059.py | nmshohel/portfolio | f37090479c85d307a1c8cb7d95cce4172a1f63c4 | [
"MIT"
] | null | null | null | portapp/migrations/0012_auto_20210103_0059.py | nmshohel/portfolio | f37090479c85d307a1c8cb7d95cce4172a1f63c4 | [
"MIT"
] | null | null | null | portapp/migrations/0012_auto_20210103_0059.py | nmshohel/portfolio | f37090479c85d307a1c8cb7d95cce4172a1f63c4 | [
"MIT"
] | null | null | null | # Generated by Django 3.1.4 on 2021-01-02 21:59
import django.core.files.storage
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('portapp', '0011_auto_20210103_0001'),
]
operations = [
migrations.AlterField(
model_name='about... | 41.422222 | 152 | 0.642167 | 192 | 1,864 | 6.114583 | 0.296875 | 0.059625 | 0.089438 | 0.131175 | 0.744463 | 0.744463 | 0.744463 | 0.744463 | 0.744463 | 0.744463 | 0 | 0.021409 | 0.223176 | 1,864 | 44 | 153 | 42.363636 | 0.789365 | 0.024142 | 0 | 0.526316 | 1 | 0 | 0.136489 | 0.012658 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.131579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b949f6be5ab70e80723a983cfd8814801dea8943 | 8,019 | py | Python | sorting.py | vasilyakonov/gdpddraft | 4245628fb8b92c5077a2449034408157f5f86a8a | [
"MIT"
] | null | null | null | sorting.py | vasilyakonov/gdpddraft | 4245628fb8b92c5077a2449034408157f5f86a8a | [
"MIT"
] | null | null | null | sorting.py | vasilyakonov/gdpddraft | 4245628fb8b92c5077a2449034408157f5f86a8a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import os
import requests
import random
import flask
import shutil
import bs4
import jinja2
import subprocess
import json
from bs4 import BeautifulSoup
"""markup = <div class="object_one"> <h1>Journal For Raw Visual Data</h1>
Praesent efficitur, nibh vitae fringilla scelerisque, est ... | 56.076923 | 629 | 0.777279 | 1,141 | 8,019 | 5.419807 | 0.158633 | 0.048027 | 0.027329 | 0.03784 | 0.786869 | 0.768111 | 0.768111 | 0.768111 | 0.768111 | 0.68467 | 0 | 0.009575 | 0.140417 | 8,019 | 142 | 630 | 56.471831 | 0.887567 | 0.022447 | 0 | 0.029412 | 0 | 0 | 0.047306 | 0.019273 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.147059 | null | null | 0.058824 | 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 |
b960aafda6d8c0cf972fd6937b8c6be1030cb16a | 59 | py | Python | samples/src/main/resources/datasets/python/62.py | sritchie/kotlingrad | 8165ed1cd77220a5347c58cded4c6f2bcf22ee30 | [
"Apache-2.0"
] | 11 | 2020-12-19T01:19:44.000Z | 2021-12-25T20:43:33.000Z | src/main/resources/datasets/python/62.py | breandan/katholic | 081c39f3acc73ff41f5865563debe78a36e1038f | [
"Apache-2.0"
] | null | null | null | src/main/resources/datasets/python/62.py | breandan/katholic | 081c39f3acc73ff41f5865563debe78a36e1038f | [
"Apache-2.0"
] | 2 | 2021-01-25T07:59:20.000Z | 2021-08-07T07:13:49.000Z | def bool18(a, b, c, d):
return (a is not b) >= (c + d)
| 19.666667 | 34 | 0.474576 | 13 | 59 | 2.153846 | 0.692308 | 0.142857 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.305085 | 59 | 2 | 35 | 29.5 | 0.634146 | 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 | 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 |
b96634d09485f8376e999dd8fc664b4f47a323f0 | 191 | py | Python | mediawebapp/settings/__init__.py | jbrownrs/issue-376-GDS-link | e8cce1b79f46b98a7d24b2da5eca48430fd904a3 | [
"MIT"
] | 5 | 2019-01-07T17:22:34.000Z | 2020-10-08T15:03:12.000Z | mediawebapp/settings/__init__.py | jbrownrs/issue-376-GDS-link | e8cce1b79f46b98a7d24b2da5eca48430fd904a3 | [
"MIT"
] | 203 | 2017-12-14T09:51:56.000Z | 2018-08-28T14:04:08.000Z | mediawebapp/settings/__init__.py | jbrownrs/issue-376-GDS-link | e8cce1b79f46b98a7d24b2da5eca48430fd904a3 | [
"MIT"
] | 5 | 2018-10-22T11:36:01.000Z | 2020-07-20T05:47:49.000Z | """
The default :py:mod:`mediawebapp.settings` module contains settings which are
common to most deployment environments.
"""
# Import base settings
from .base import * # noqa: F401, F403
| 21.222222 | 77 | 0.743455 | 25 | 191 | 5.68 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037267 | 0.157068 | 191 | 8 | 78 | 23.875 | 0.844721 | 0.816754 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b9792bb3c0d652e8bdee2f4ddb5a527b6201c422 | 37 | py | Python | AMR/solvers/__init__.py | TLMichael/Graguation-Project | 4aaac3873ae13144b73fc9f1d5c22d87e4f470cc | [
"MIT"
] | 2 | 2019-05-08T09:02:05.000Z | 2019-12-04T06:09:20.000Z | AMR/solvers/__init__.py | TLMichael/Graguation-Project | 4aaac3873ae13144b73fc9f1d5c22d87e4f470cc | [
"MIT"
] | null | null | null | AMR/solvers/__init__.py | TLMichael/Graguation-Project | 4aaac3873ae13144b73fc9f1d5c22d87e4f470cc | [
"MIT"
] | null | null | null | from solvers.atmr import Solver_ATMR
| 18.5 | 36 | 0.864865 | 6 | 37 | 5.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.939394 | 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 |
b9931fd7edf710bdcf75437cc5b5bf795daa7771 | 168 | py | Python | python/testData/inspections/ReplacePrint.py | GGGGGHT/intellij-community | b03adc3af56fe8b9409a5ca2c96cf98aa76a50c3 | [
"Apache-2.0"
] | null | null | null | python/testData/inspections/ReplacePrint.py | GGGGGHT/intellij-community | b03adc3af56fe8b9409a5ca2c96cf98aa76a50c3 | [
"Apache-2.0"
] | null | null | null | python/testData/inspections/ReplacePrint.py | GGGGGHT/intellij-community | b03adc3af56fe8b9409a5ca2c96cf98aa76a50c3 | [
"Apache-2.0"
] | 1 | 2020-10-15T05:56:42.000Z | 2020-10-15T05:56:42.000Z | <warning descr="Python versions 3.5, 3.6, 3.7, 3.8, 3.9 do not support this syntax. The print statement has been replaced with a print() function">print "foo"</warning> | 168 | 168 | 0.732143 | 32 | 168 | 3.84375 | 0.78125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0.136905 | 168 | 1 | 168 | 168 | 0.77931 | 0 | 0 | 0 | 0 | 1 | 0.781065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b9a77c5d76a2501aa631742b76ee2f10332cf770 | 21 | py | Python | __init__.py | ESASPICEService/spiops | 0b6cdf9f9d528aa197e5d744b318edc6a3b91403 | [
"MIT"
] | 6 | 2018-09-25T10:58:52.000Z | 2020-03-21T13:05:28.000Z | __init__.py | ESASPICEService/spiops | 0b6cdf9f9d528aa197e5d744b318edc6a3b91403 | [
"MIT"
] | null | null | null | __init__.py | ESASPICEService/spiops | 0b6cdf9f9d528aa197e5d744b318edc6a3b91403 | [
"MIT"
] | null | null | null | from spiops import *
| 10.5 | 20 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b9d96ba2f36f1b75ae94744b3d69d1249b6291c4 | 5,673 | py | Python | meraki/api/sensor.py | sid137/dashboard-api-python | 8bdd85a5f8c57ee49e43bc76ae592b522afa3570 | [
"MIT"
] | null | null | null | meraki/api/sensor.py | sid137/dashboard-api-python | 8bdd85a5f8c57ee49e43bc76ae592b522afa3570 | [
"MIT"
] | null | null | null | meraki/api/sensor.py | sid137/dashboard-api-python | 8bdd85a5f8c57ee49e43bc76ae592b522afa3570 | [
"MIT"
] | null | null | null | class Sensor(object):
def __init__(self, session):
super(Sensor, self).__init__()
self._session = session
def getOrganizationSensorReadingsHistory(self, organizationId: str, total_pages=1, direction='next', **kwargs):
"""
**Return all reported readings from sensors in ... | 68.349398 | 314 | 0.676185 | 768 | 5,673 | 4.957031 | 0.223958 | 0.01576 | 0.012608 | 0.016811 | 0.803783 | 0.781193 | 0.742842 | 0.742842 | 0.742842 | 0.742842 | 0 | 0.008461 | 0.229156 | 5,673 | 82 | 315 | 69.182927 | 0.862108 | 0.603032 | 0 | 0.529412 | 0 | 0 | 0.234043 | 0.089065 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088235 | false | 0 | 0 | 0 | 0.176471 | 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 |
6a0377afddaf6d201cdf519bb8d236cb47c1e3a9 | 44 | py | Python | src/visions/backends/numpy/types/__init__.py | dah33/visions | 381b9c1aa700bf0b352a014a50af4d8159c2d0e7 | [
"BSD-4-Clause"
] | null | null | null | src/visions/backends/numpy/types/__init__.py | dah33/visions | 381b9c1aa700bf0b352a014a50af4d8159c2d0e7 | [
"BSD-4-Clause"
] | null | null | null | src/visions/backends/numpy/types/__init__.py | dah33/visions | 381b9c1aa700bf0b352a014a50af4d8159c2d0e7 | [
"BSD-4-Clause"
] | null | null | null | import visions.backends.numpy.types.integer
| 22 | 43 | 0.863636 | 6 | 44 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 44 | 1 | 44 | 44 | 0.904762 | 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 |
6a1cfd79987c8ced59a3961ee0a4fab108a03e21 | 257 | py | Python | shadow/models/__init__.py | f1uzz/shadow | 0c2a1308f8bbe77ce4be005153148aac8ea0b4b2 | [
"MIT"
] | 1 | 2020-09-10T22:31:54.000Z | 2020-09-10T22:31:54.000Z | shadow/models/__init__.py | f1uzz/shadow | 0c2a1308f8bbe77ce4be005153148aac8ea0b4b2 | [
"MIT"
] | 1 | 2020-03-12T15:47:14.000Z | 2020-09-11T18:46:44.000Z | shadow/models/__init__.py | f1uzz/shadow | 0c2a1308f8bbe77ce4be005153148aac8ea0b4b2 | [
"MIT"
] | null | null | null | from shadow.models.queue import Queue, QueueList
from shadow.models.role import Role, RoleList
from shadow.models.rune import RuneList, Shard, ShardList
from shadow.models.ability import Ability, AbilityList
from shadow.models.item import ItemBlock, ItemSet | 51.4 | 57 | 0.840467 | 36 | 257 | 6 | 0.472222 | 0.231481 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097276 | 257 | 5 | 58 | 51.4 | 0.931034 | 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 | 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 |
6a2063998a33f3952b75ec6cd1505ce47d99155c | 4,386 | py | Python | qiskit/circuit/library/templates/__init__.py | SpinQTech/SpinQKit | 2e24826688b2b26cf7efa66fd47f0e7ef883a96c | [
"Apache-2.0"
] | 2 | 2021-12-20T05:19:44.000Z | 2021-12-20T05:21:48.000Z | qiskit/circuit/library/templates/__init__.py | SpinQTech/SpinQKit | 2e24826688b2b26cf7efa66fd47f0e7ef883a96c | [
"Apache-2.0"
] | null | null | null | qiskit/circuit/library/templates/__init__.py | SpinQTech/SpinQKit | 2e24826688b2b26cf7efa66fd47f0e7ef883a96c | [
"Apache-2.0"
] | 1 | 2021-12-20T05:20:35.000Z | 2021-12-20T05:20:35.000Z | # This code is part of Qiskit.
#
# (C) Copyright IBM 2020.
#
# This code is licensed under the Apache License, Version 2.0. You may
# obtain a copy of this license in the LICENSE.txt file in the root directory
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
#
# Any modifications or deriv... | 47.16129 | 80 | 0.843137 | 843 | 4,386 | 3.95255 | 0.134045 | 0.310324 | 0.211585 | 0.253902 | 0.317227 | 0.02521 | 0 | 0 | 0 | 0 | 0 | 0.07268 | 0.115367 | 4,386 | 92 | 81 | 47.673913 | 0.786082 | 0.160967 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.