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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9126af8fc4854391b11011eb26d9bf08576a47ea | 100 | py | Python | hooks/hook-palisades.py | natcap/opal | 7b960d51344483bae30d14ccfa6004bd550f3737 | [
"BSD-3-Clause"
] | 1 | 2020-04-15T23:23:27.000Z | 2020-04-15T23:23:27.000Z | hooks/hook-palisades.py | natcap/opal | 7b960d51344483bae30d14ccfa6004bd550f3737 | [
"BSD-3-Clause"
] | null | null | null | hooks/hook-palisades.py | natcap/opal | 7b960d51344483bae30d14ccfa6004bd550f3737 | [
"BSD-3-Clause"
] | null | null | null | from PyInstaller.hooks.hookutils import collect_data_files
datas = collect_data_files('palisades')
| 25 | 58 | 0.85 | 13 | 100 | 6.230769 | 0.769231 | 0.271605 | 0.395062 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 100 | 3 | 59 | 33.333333 | 0.880435 | 0 | 0 | 0 | 0 | 0 | 0.09 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
913f12e6428573e4e895df5ad73f9791d08397ee | 84 | py | Python | core/storage/__init__.py | lehduong/Policy-gradient-credit-assignment | 1d4c102964b985212874c1fe8710a8aa6ff9f328 | [
"MIT"
] | 8 | 2020-06-29T03:45:14.000Z | 2022-02-21T03:41:34.000Z | core/storage/__init__.py | lehduong/Policy-gradient-credit-assignment | 1d4c102964b985212874c1fe8710a8aa6ff9f328 | [
"MIT"
] | null | null | null | core/storage/__init__.py | lehduong/Policy-gradient-credit-assignment | 1d4c102964b985212874c1fe8710a8aa6ff9f328 | [
"MIT"
] | null | null | null | from .base_storage import RolloutStorage
from .cpc_storage import CPCRolloutStorage
| 28 | 42 | 0.880952 | 10 | 84 | 7.2 | 0.7 | 0.361111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 84 | 2 | 43 | 42 | 0.947368 | 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 | 0 | 0 | 0 | 5 |
9140a4a86d1bead147dba92b72dcc1df0c9d09f0 | 143 | py | Python | teacher/admin.py | aashutoshrathi/Student-Lifecycle-Management | c8ad67db3bde989de6d612454ace57084da272c0 | [
"MIT"
] | 9 | 2018-03-01T16:01:08.000Z | 2021-02-21T16:01:29.000Z | teacher/admin.py | aashutoshrathi/Student-Lifecycle-Management | c8ad67db3bde989de6d612454ace57084da272c0 | [
"MIT"
] | 2 | 2018-03-01T18:16:11.000Z | 2018-03-03T16:12:24.000Z | teacher/admin.py | aashutoshrathi/Student-Lifecycle-Management | c8ad67db3bde989de6d612454ace57084da272c0 | [
"MIT"
] | 1 | 2019-12-04T18:20:48.000Z | 2019-12-04T18:20:48.000Z | from django.contrib import admin
from .models import Teacher, AssignedCourse
admin.site.register(Teacher)
admin.site.register(AssignedCourse) | 23.833333 | 43 | 0.839161 | 18 | 143 | 6.666667 | 0.555556 | 0.15 | 0.283333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083916 | 143 | 6 | 44 | 23.833333 | 0.916031 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 | 5 |
914612665bb7def562e2189f2bf65bc7489b8862 | 105 | py | Python | pydistort/__init__.py | barsikus007/pydistort | 408c28f01bc5f9240a80df6ebbece1dd60cdb087 | [
"MIT"
] | null | null | null | pydistort/__init__.py | barsikus007/pydistort | 408c28f01bc5f9240a80df6ebbece1dd60cdb087 | [
"MIT"
] | null | null | null | pydistort/__init__.py | barsikus007/pydistort | 408c28f01bc5f9240a80df6ebbece1dd60cdb087 | [
"MIT"
] | null | null | null | __version__ = '0.0.1'
from .image import *
from .video import *
from pydistort.utils.queue import Queue
| 17.5 | 39 | 0.742857 | 16 | 105 | 4.625 | 0.625 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033708 | 0.152381 | 105 | 5 | 40 | 21 | 0.797753 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e6f3427c6126577da5bee550ee7622939ac20fc5 | 168 | py | Python | chemml/wrapper/notebook/__init__.py | iamchetry/DataChallenge-Fall2021 | fa7748c9ea2f3c0f6bde8d0b094fc75463e28f33 | [
"BSD-3-Clause"
] | 108 | 2018-03-23T20:06:03.000Z | 2022-01-06T19:32:46.000Z | chemml/wrapper/notebook/__init__.py | hachmannlab/ChemML | 42b152579872a57c834884596f700c76b9320280 | [
"BSD-3-Clause"
] | 18 | 2019-08-09T21:16:14.000Z | 2022-02-14T21:52:06.000Z | chemml/wrapper/notebook/__init__.py | hachmannlab/ChemML | 42b152579872a57c834884596f700c76b9320280 | [
"BSD-3-Clause"
] | 28 | 2018-04-28T17:07:33.000Z | 2022-02-28T07:22:56.000Z | """
The 'chemml.wrapper.notebook' module contains the ipywidgets implementatoin of the GUI.
"""
from chemml.wrapper.notebook.main import ChemMLNotebook
__all__ = []
| 18.666667 | 87 | 0.767857 | 20 | 168 | 6.25 | 0.75 | 0.208 | 0.336 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130952 | 168 | 8 | 88 | 21 | 0.856164 | 0.517857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
fc14970e6081bec3f2763dd0f85da75dfb047701 | 37 | py | Python | swig/main.py | gmatesunny/watchcat | 765ad6a22bf9c0364b8efebafd2751b91ae6f96d | [
"MIT"
] | 7 | 2021-08-31T13:31:47.000Z | 2022-03-11T21:40:27.000Z | swig/main.py | gmatesunny/watchcat | 765ad6a22bf9c0364b8efebafd2751b91ae6f96d | [
"MIT"
] | null | null | null | swig/main.py | gmatesunny/watchcat | 765ad6a22bf9c0364b8efebafd2751b91ae6f96d | [
"MIT"
] | null | null | null | import watchcat
watchcat.TimeEvent() | 12.333333 | 20 | 0.837838 | 4 | 37 | 7.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 3 | 20 | 12.333333 | 0.911765 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
fc207ee91d8e49d0c5987dcd17e9eb47729d5e63 | 815 | py | Python | cifar10-classification/utils/make_20cls_label.py | elgong/semi-supervised-DL-using-pseduo-label | 2259c6ef93939f247f71a9d7f6766224120f2548 | [
"MIT"
] | 1 | 2019-11-26T12:40:05.000Z | 2019-11-26T12:40:05.000Z | cifar10-classification/utils/make_20cls_label.py | elgong/semi-supervised-DL-using-pseduo-label | 2259c6ef93939f247f71a9d7f6766224120f2548 | [
"MIT"
] | null | null | null | cifar10-classification/utils/make_20cls_label.py | elgong/semi-supervised-DL-using-pseduo-label | 2259c6ef93939f247f71a9d7f6766224120f2548 | [
"MIT"
] | null | null | null | import os
train_path = "/home/elgong/GEL/one_shot/torch/pytorch-cifar-master/data/train"
val_path = "/home/elgong/GEL/one_shot/torch/pytorch-cifar-master/data/val"
train_txt = "./train.txt"
val_txt = "./val.txt"
class_name = []
with open(train_txt, "w") as f:
for root, dic, fList in os.walk(train_path):
... | 26.290323 | 78 | 0.565644 | 124 | 815 | 3.564516 | 0.322581 | 0.142534 | 0.074661 | 0.076923 | 0.717195 | 0.717195 | 0.717195 | 0.717195 | 0.717195 | 0.717195 | 0 | 0.003425 | 0.283436 | 815 | 30 | 79 | 27.166667 | 0.753425 | 0 | 0 | 0.4 | 0 | 0 | 0.188957 | 0.152147 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.05 | 0 | 0.05 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fc308ffc9daef9541c0a1a00e3e998321d3b3104 | 155 | py | Python | pdover2t/dnvgl_st_f101/__init__.py | qwilka/PDover2t | 4387d153228f1af20a8f5f3f368aa49c42cda2cd | [
"MIT"
] | null | null | null | pdover2t/dnvgl_st_f101/__init__.py | qwilka/PDover2t | 4387d153228f1af20a8f5f3f368aa49c42cda2cd | [
"MIT"
] | null | null | null | pdover2t/dnvgl_st_f101/__init__.py | qwilka/PDover2t | 4387d153228f1af20a8f5f3f368aa49c42cda2cd | [
"MIT"
] | 1 | 2019-11-24T09:32:12.000Z | 2019-11-24T09:32:12.000Z |
from .material import *
from .pressure_containment import *
#from .pipe_collapse import *
#from .propagation_buckling import *
#from .stability import *
| 19.375 | 36 | 0.774194 | 18 | 155 | 6.5 | 0.555556 | 0.34188 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141935 | 155 | 7 | 37 | 22.142857 | 0.879699 | 0.56129 | 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 | 0 | 0 | 0 | 5 |
fc4126ec0318afafd5c0347893d85db2f967bcd9 | 1,427 | py | Python | oscar/lib/python2.7/site-packages/phonenumbers/data/region_MV.py | bhav11esh/Oscar-Bookshelf | b48f088e2ed908b3603f2ecc63d602f81392eac4 | [
"BSD-3-Clause"
] | null | null | null | oscar/lib/python2.7/site-packages/phonenumbers/data/region_MV.py | bhav11esh/Oscar-Bookshelf | b48f088e2ed908b3603f2ecc63d602f81392eac4 | [
"BSD-3-Clause"
] | null | null | null | oscar/lib/python2.7/site-packages/phonenumbers/data/region_MV.py | bhav11esh/Oscar-Bookshelf | b48f088e2ed908b3603f2ecc63d602f81392eac4 | [
"BSD-3-Clause"
] | null | null | null | """Auto-generated file, do not edit by hand. MV metadata"""
from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata
PHONE_METADATA_MV = PhoneMetadata(id='MV', country_code=960, international_prefix='0(?:0|19)',
general_desc=PhoneNumberDesc(national_number_pattern='[346-8]\\d{6,9}|9(?:00\\d{7}|\\d{... | 95.133333 | 176 | 0.701472 | 205 | 1,427 | 4.678049 | 0.37561 | 0.167883 | 0.211679 | 0.262774 | 0.066736 | 0.025026 | 0.025026 | 0 | 0 | 0 | 0 | 0.123874 | 0.066573 | 1,427 | 14 | 177 | 101.928571 | 0.596096 | 0.037141 | 0 | 0 | 1 | 0.25 | 0.241228 | 0.138889 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5da03be42c47c00c68b7861f1ff8737ca9307f95 | 8,573 | py | Python | readthedocs/rtd_tests/tests/test_subprojects.py | nijel/readthedocs.org | 4869667a3f0b56d440142187583f4bf79b9bce07 | [
"MIT"
] | 1 | 2020-08-10T01:14:08.000Z | 2020-08-10T01:14:08.000Z | readthedocs/rtd_tests/tests/test_subprojects.py | nijel/readthedocs.org | 4869667a3f0b56d440142187583f4bf79b9bce07 | [
"MIT"
] | 11 | 2020-07-24T23:17:24.000Z | 2022-03-12T00:43:42.000Z | readthedocs/rtd_tests/tests/test_subprojects.py | nijel/readthedocs.org | 4869667a3f0b56d440142187583f4bf79b9bce07 | [
"MIT"
] | 1 | 2021-07-09T14:02:39.000Z | 2021-07-09T14:02:39.000Z | # -*- coding: utf-8 -*-
import django_dynamic_fixture as fixture
from unittest import mock
from django.contrib.auth.models import User
from django.test import TestCase
from django.test.utils import override_settings
from readthedocs.projects.forms import ProjectRelationshipForm
from readthedocs.projects.models import ... | 33.357977 | 72 | 0.576694 | 837 | 8,573 | 5.777778 | 0.144564 | 0.082713 | 0.080852 | 0.077337 | 0.740902 | 0.732423 | 0.710711 | 0.710711 | 0.702233 | 0.679694 | 0 | 0.003742 | 0.314126 | 8,573 | 256 | 73 | 33.488281 | 0.818707 | 0.014931 | 0 | 0.642553 | 0 | 0 | 0.0526 | 0 | 0 | 0 | 0 | 0 | 0.123404 | 1 | 0.046809 | false | 0.004255 | 0.034043 | 0 | 0.085106 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5dc5c0ac7551f74b055dec49829aaf268fb5a26d | 98 | py | Python | code/log_msg/admin.py | AlanJui/DjangoApp-DevTemplate | da39db79439a3e94ced5e853af4aa8b6ebf52191 | [
"PostgreSQL"
] | null | null | null | code/log_msg/admin.py | AlanJui/DjangoApp-DevTemplate | da39db79439a3e94ced5e853af4aa8b6ebf52191 | [
"PostgreSQL"
] | 2 | 2021-03-30T13:48:40.000Z | 2021-04-08T20:43:31.000Z | code/log_msg/admin.py | AlanJui/DjangoApp-DevTemplate | da39db79439a3e94ced5e853af4aa8b6ebf52191 | [
"PostgreSQL"
] | null | null | null | from django.contrib import admin
from .models import LogMessage
admin.site.register(LogMessage)
| 16.333333 | 32 | 0.826531 | 13 | 98 | 6.230769 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112245 | 98 | 5 | 33 | 19.6 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5dd92a0882a2359802f3fefefb22b726676d3d3f | 68 | py | Python | test/pithy/url.py | gwk/glossy | 6976ca4fd1efc09d9cd670b1fe37817c05b4b529 | [
"CC0-1.0"
] | 7 | 2019-05-04T00:51:38.000Z | 2021-12-10T15:36:31.000Z | test/pithy/url.py | gwk/glossy | 6976ca4fd1efc09d9cd670b1fe37817c05b4b529 | [
"CC0-1.0"
] | null | null | null | test/pithy/url.py | gwk/glossy | 6976ca4fd1efc09d9cd670b1fe37817c05b4b529 | [
"CC0-1.0"
] | 1 | 2016-07-30T22:38:08.000Z | 2016-07-30T22:38:08.000Z | #!/usr/bin/env python3
from utest import *
from pithy.url import *
| 13.6 | 23 | 0.720588 | 11 | 68 | 4.454545 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.161765 | 68 | 4 | 24 | 17 | 0.842105 | 0.308824 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5ddd62ec616c5b4a3f11a8a243faf889882ce42a | 30 | py | Python | tests/test_functions.py | landegt/pylabel | 9d0079a1f61eb84ec9cd10fb202a9246a08576fa | [
"MIT"
] | 1 | 2021-11-30T04:33:13.000Z | 2021-11-30T04:33:13.000Z | tests/test_functions.py | landegt/pylabel | 9d0079a1f61eb84ec9cd10fb202a9246a08576fa | [
"MIT"
] | null | null | null | tests/test_functions.py | landegt/pylabel | 9d0079a1f61eb84ec9cd10fb202a9246a08576fa | [
"MIT"
] | 1 | 2021-12-04T13:57:45.000Z | 2021-12-04T13:57:45.000Z | from pylabel import functions
| 15 | 29 | 0.866667 | 4 | 30 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5dfefde74eb5d9f244299e439524fa29401a3794 | 83 | py | Python | backend/day/admin.py | sysopmatt/py-schedule | c087b6e5ca162481394de0d5e8c7b41a74092f99 | [
"MIT"
] | null | null | null | backend/day/admin.py | sysopmatt/py-schedule | c087b6e5ca162481394de0d5e8c7b41a74092f99 | [
"MIT"
] | null | null | null | backend/day/admin.py | sysopmatt/py-schedule | c087b6e5ca162481394de0d5e8c7b41a74092f99 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Day
admin.site.register(Day) | 16.6 | 32 | 0.807229 | 13 | 83 | 5.153846 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120482 | 83 | 5 | 33 | 16.6 | 0.917808 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b902956b0138ce6c2fa92f9214a024de6277995d | 269 | py | Python | core/context_processors.py | losolio/website | 5b983e9dfaf604212aab87c51d8904ffc29527a3 | [
"MIT"
] | 10 | 2015-12-18T16:41:33.000Z | 2018-11-11T08:36:46.000Z | core/context_processors.py | losolio/website | 5b983e9dfaf604212aab87c51d8904ffc29527a3 | [
"MIT"
] | 96 | 2015-07-14T22:45:56.000Z | 2017-07-25T19:59:48.000Z | core/context_processors.py | losolio/website | 5b983e9dfaf604212aab87c51d8904ffc29527a3 | [
"MIT"
] | 9 | 2015-07-28T14:38:43.000Z | 2019-01-04T17:38:42.000Z | from django.conf import settings
def settings_context(request):
return {'GOOGLE_ANALYTICS_PROPERTY_ID': settings.GOOGLE_ANALYTICS_PROPERTY_ID,
'IS_PRODUCTION': settings.IS_PRODUCTION,
'ADMIN_ENABLED': settings.ADMIN_ENABLED,
}
| 29.888889 | 82 | 0.713755 | 29 | 269 | 6.241379 | 0.586207 | 0.165746 | 0.254144 | 0.276243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208178 | 269 | 8 | 83 | 33.625 | 0.849765 | 0 | 0 | 0 | 0 | 0 | 0.200743 | 0.104089 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.166667 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
b90850da4ee1cdfc04ab5cbecf6b6b2cce6aa913 | 72 | py | Python | keras_contrib/losses/__init__.py | rgreenblatt/keras-contrib | 46fcdb9384b3bc9399c651b2b43640aa54098e64 | [
"MIT"
] | 1 | 2019-01-24T13:09:51.000Z | 2019-01-24T13:09:51.000Z | keras_contrib/losses/__init__.py | rgreenblatt/keras-contrib | 46fcdb9384b3bc9399c651b2b43640aa54098e64 | [
"MIT"
] | null | null | null | keras_contrib/losses/__init__.py | rgreenblatt/keras-contrib | 46fcdb9384b3bc9399c651b2b43640aa54098e64 | [
"MIT"
] | 1 | 2018-09-03T17:53:44.000Z | 2018-09-03T17:53:44.000Z | from .dssim import DSSIMObjective
from .jaccard import jaccard_distance
| 24 | 37 | 0.861111 | 9 | 72 | 6.777778 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 72 | 2 | 38 | 36 | 0.953125 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5d141568edd1ec6c32fa03107ab21653d802f647 | 98 | py | Python | _resource/python/platform/default/_parameterized.py | amlyj/tensorflowStudy | 1e3a4b15a57d53e746fd730af540da4be471c70b | [
"MIT"
] | 4 | 2021-06-11T09:43:32.000Z | 2021-11-17T11:15:52.000Z | _resource/python/platform/default/_parameterized.py | amlyj/tensorflowStudy | 1e3a4b15a57d53e746fd730af540da4be471c70b | [
"MIT"
] | null | null | null | _resource/python/platform/default/_parameterized.py | amlyj/tensorflowStudy | 1e3a4b15a57d53e746fd730af540da4be471c70b | [
"MIT"
] | 2 | 2015-11-13T21:11:49.000Z | 2015-11-29T04:13:49.000Z | """Extension to unittest to run parameterized tests."""
raise ImportError("Not implemented yet.")
| 32.666667 | 55 | 0.765306 | 12 | 98 | 6.25 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112245 | 98 | 2 | 56 | 49 | 0.862069 | 0.5 | 0 | 0 | 0 | 0 | 0.465116 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5d25f57d1c37aed68c49cf1baffb2187071b7ac4 | 12,130 | py | Python | harmonica/tests/test_eql_harmonic.py | RichardScottOZ/harmonica | ccb0437ea0ed528cfd144844edab98141c8d08da | [
"BSD-3-Clause"
] | null | null | null | harmonica/tests/test_eql_harmonic.py | RichardScottOZ/harmonica | ccb0437ea0ed528cfd144844edab98141c8d08da | [
"BSD-3-Clause"
] | 1 | 2022-01-19T03:02:22.000Z | 2022-01-19T20:47:19.000Z | harmonica/tests/test_eql_harmonic.py | RichardScottOZ/harmonica | ccb0437ea0ed528cfd144844edab98141c8d08da | [
"BSD-3-Clause"
] | 1 | 2022-01-17T23:15:18.000Z | 2022-01-17T23:15:18.000Z | """
Test the EQLHarmonic gridder
"""
import warnings
import pytest
import numpy as np
import numpy.testing as npt
import verde as vd
import verde.base as vdb
from .. import EQLHarmonic, EQLHarmonicSpherical, point_mass_gravity
from ..equivalent_layer.harmonic import greens_func_cartesian
from ..equivalent_layer.utils ... | 36.426426 | 88 | 0.69934 | 1,608 | 12,130 | 5.140547 | 0.131841 | 0.037261 | 0.047302 | 0.052867 | 0.798572 | 0.763247 | 0.749698 | 0.741713 | 0.741713 | 0.741471 | 0 | 0.031224 | 0.194724 | 12,130 | 332 | 89 | 36.536145 | 0.815008 | 0.225886 | 0 | 0.515625 | 0 | 0 | 0.014463 | 0 | 0 | 0 | 0 | 0 | 0.140625 | 1 | 0.0625 | false | 0 | 0.052083 | 0 | 0.114583 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5d2fdc396b7ceb1581627f0f2dfc92f29a013bed | 185 | py | Python | CInterface/SWIG/setup.py | Fernal73/LearnPython3 | 5288017c0dbf95633b84f1e6324f00dec6982d36 | [
"MIT"
] | 1 | 2021-12-17T11:03:13.000Z | 2021-12-17T11:03:13.000Z | CInterface/SWIG/setup.py | Fernal73/LearnPython3 | 5288017c0dbf95633b84f1e6324f00dec6982d36 | [
"MIT"
] | 1 | 2020-02-05T00:14:43.000Z | 2020-02-06T09:22:49.000Z | CInterface/SWIG/setup.py | Fernal73/LearnPython3 | 5288017c0dbf95633b84f1e6324f00dec6982d36 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from distutils.core import setup, Extension
setup(ext_modules=[Extension("_cos_module",
sources=["cos_module.c", "cos_module.i"])])
| 26.428571 | 49 | 0.686486 | 26 | 185 | 4.692308 | 0.769231 | 0.221311 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006135 | 0.118919 | 185 | 6 | 50 | 30.833333 | 0.742331 | 0.227027 | 0 | 0 | 0 | 0 | 0.248227 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 5 |
5d6653d9d52a2d0ed35e8b2f233c45991218c14d | 204 | py | Python | models/__init__.py | Hhhhhhhhhhao/image-cartoonization | 073b51656b96b069496917d212119caad7bf4728 | [
"MIT"
] | null | null | null | models/__init__.py | Hhhhhhhhhhao/image-cartoonization | 073b51656b96b069496917d212119caad7bf4728 | [
"MIT"
] | null | null | null | models/__init__.py | Hhhhhhhhhhao/image-cartoonization | 073b51656b96b069496917d212119caad7bf4728 | [
"MIT"
] | null | null | null | from .generator import *
from .discriminator import *
from .inception import InceptionV3
from .lenet import LeNet5
from .utils import StyleEncoder, MappingNetwork, PatchSampleF
from .resnet import ResNet
| 29.142857 | 61 | 0.823529 | 24 | 204 | 7 | 0.541667 | 0.119048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.127451 | 204 | 6 | 62 | 34 | 0.932584 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5d6e20982d04c288ee0394c6f65608ebbb5233f2 | 8,021 | py | Python | Emoji_generator.py | mryesiller/Emoji_Generator | dba2db070e478b9ff7a16babfc381a584c27975f | [
"MIT"
] | 2 | 2022-01-28T21:59:08.000Z | 2022-03-14T00:00:37.000Z | Emoji_generator.py | mryesiller/Emoji_Generator | dba2db070e478b9ff7a16babfc381a584c27975f | [
"MIT"
] | null | null | null | Emoji_generator.py | mryesiller/Emoji_Generator | dba2db070e478b9ff7a16babfc381a584c27975f | [
"MIT"
] | null | null | null | from PIL import Image
import numpy as np
import os
from random import randint
dirname = os.path.dirname(__file__)
dimensions = 480, 480 #resize 24x24 to 480x480
for x in range(0,30): #Number of generated pictures
f = randint(0, 1000) #Common-Rare-Epic-Legendary
... | 36.459091 | 106 | 0.412043 | 1,488 | 8,021 | 2.215054 | 0.067204 | 0.373786 | 0.491505 | 0.572816 | 0.773058 | 0.698119 | 0.669296 | 0.647148 | 0.638653 | 0.624697 | 0 | 0.181051 | 0.349956 | 8,021 | 220 | 107 | 36.459091 | 0.451093 | 0.039646 | 0 | 0.588235 | 0 | 0 | 0.002411 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02139 | 0 | 0.02139 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
537acd993ab0fefca1d2e3cf07c851893da83d25 | 3,142 | py | Python | kakaodecrypt.test.py | voidedWarranties/kakaodecrypt | 7c4ffac41d3ff5b773b4c6025cd8f9f738969fae | [
"WTFPL"
] | 1 | 2020-02-27T05:28:08.000Z | 2020-02-27T05:28:08.000Z | kakaodecrypt.test.py | voidedWarranties/kakaodecrypt | 7c4ffac41d3ff5b773b4c6025cd8f9f738969fae | [
"WTFPL"
] | null | null | null | kakaodecrypt.test.py | voidedWarranties/kakaodecrypt | 7c4ffac41d3ff5b773b4c6025cd8f9f738969fae | [
"WTFPL"
] | null | null | null | #!/usr/bin/python3
import unittest
from kakaodecrypt import KakaoDecrypt
class KakaoDecryptTest(unittest.TestCase):
def testGenSalt(self):
zero = b'\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0'
self.assertEqual(KakaoDecrypt.genSalt(-1, 5), zero)
self.assertEqual(KakaoDecrypt.genSalt(0, 5), zero)
self.assertEqua... | 66.851064 | 251 | 0.706875 | 564 | 3,142 | 3.923759 | 0.177305 | 0.181654 | 0.239946 | 0.278355 | 0.605061 | 0.603254 | 0.568007 | 0.568007 | 0.568007 | 0.568007 | 0 | 0.233716 | 0.086251 | 3,142 | 46 | 252 | 68.304348 | 0.537095 | 0.005411 | 0 | 0 | 0 | 0.45 | 0.323944 | 0.304417 | 0 | 0 | 0 | 0 | 0.8 | 1 | 0.05 | false | 0 | 0.05 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5380e9d5be56cc48b2d63ae0c8266cf55beefd30 | 215 | py | Python | Datasets/__init__.py | whkwls2653/Pytorch_Face_Recognition- | 60f3849def589957d9080457a1a9833112a71f6c | [
"MIT"
] | 62 | 2020-08-26T05:42:39.000Z | 2022-03-31T04:25:50.000Z | Datasets/__init__.py | whkwls2653/Pytorch_Face_Recognition- | 60f3849def589957d9080457a1a9833112a71f6c | [
"MIT"
] | 10 | 2020-08-27T06:46:10.000Z | 2021-09-29T03:36:07.000Z | Datasets/__init__.py | whkwls2653/Pytorch_Face_Recognition- | 60f3849def589957d9080457a1a9833112a71f6c | [
"MIT"
] | 13 | 2020-08-30T00:27:37.000Z | 2021-12-09T02:56:07.000Z | from Datasets.webface import CASIA_WebFace
from Datasets.lfw import LFW
from Datasets.cfp import CFP_FP
from Datasets.agedb import AgeDB30
from Datasets.megaface import MegaFace
from Datasets.ms1m import MS_Celeb_1M | 35.833333 | 42 | 0.865116 | 34 | 215 | 5.352941 | 0.441176 | 0.395604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.106977 | 215 | 6 | 43 | 35.833333 | 0.927083 | 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 | 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 | 5 |
538c86e8e58ade9bcc1328effced905d90ff7d91 | 125 | py | Python | rateLimit.py | lpmi-13/GitHubReadmeCorpus | 2f5ecef52d1a35dcd7aa41f790a2a9222be8f215 | [
"MIT"
] | 1 | 2017-06-18T09:39:19.000Z | 2017-06-18T09:39:19.000Z | rateLimit.py | lpmi-13/GitHubReadmeCorpus | 2f5ecef52d1a35dcd7aa41f790a2a9222be8f215 | [
"MIT"
] | 1 | 2017-06-21T20:12:59.000Z | 2017-07-02T14:44:26.000Z | rateLimit.py | lpmi-13/GitHubReadmeCorpus | 2f5ecef52d1a35dcd7aa41f790a2a9222be8f215 | [
"MIT"
] | null | null | null | def return_rate_limit(github):
rate_limit = github.get_rate_limit()
rate = rate_limit.rate
return rate.remaining
| 25 | 40 | 0.744 | 18 | 125 | 4.833333 | 0.388889 | 0.413793 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176 | 125 | 4 | 41 | 31.25 | 0.84466 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
538dad057242140284e3e08bf453fa16d5bde06e | 18,224 | py | Python | pyshacl/constraints/core/property_pair_constraints.py | Martijn-Y-ai/pySHACL | ddbc11e13cc741d6ffa334089b0d18fd346f36c7 | [
"Apache-2.0"
] | null | null | null | pyshacl/constraints/core/property_pair_constraints.py | Martijn-Y-ai/pySHACL | ddbc11e13cc741d6ffa334089b0d18fd346f36c7 | [
"Apache-2.0"
] | null | null | null | pyshacl/constraints/core/property_pair_constraints.py | Martijn-Y-ai/pySHACL | ddbc11e13cc741d6ffa334089b0d18fd346f36c7 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
https://www.w3.org/TR/shacl/#core-components-property-pairs
"""
from typing import Dict, List
import rdflib
from pyshacl.constraints.constraint_component import ConstraintComponent
from pyshacl.consts import SH
from pyshacl.errors import ConstraintLoadError, ReportableRuntimeError
from pys... | 46.608696 | 311 | 0.647827 | 2,089 | 18,224 | 5.410244 | 0.085208 | 0.049372 | 0.050964 | 0.038931 | 0.813307 | 0.803575 | 0.776854 | 0.719607 | 0.686516 | 0.657406 | 0 | 0.001741 | 0.275077 | 18,224 | 390 | 312 | 46.728205 | 0.853758 | 0.143821 | 0 | 0.69338 | 0 | 0 | 0.102514 | 0.026379 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083624 | false | 0 | 0.02439 | 0.027875 | 0.205575 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
53e39d1a08020602570ee1c5bc546f6a213adb6e | 16,401 | py | Python | experiments/cifar_exp/plot_cifar_all_algo.py | jdey4/progressive-learning | 410b3525ab63e1f7c32e9838460b2c9af7b9d256 | [
"Apache-2.0"
] | 1 | 2022-01-03T12:36:28.000Z | 2022-01-03T12:36:28.000Z | experiments/cifar_exp/plot_cifar_all_algo.py | jdey4/progressive-learning | 410b3525ab63e1f7c32e9838460b2c9af7b9d256 | [
"Apache-2.0"
] | null | null | null | experiments/cifar_exp/plot_cifar_all_algo.py | jdey4/progressive-learning | 410b3525ab63e1f7c32e9838460b2c9af7b9d256 | [
"Apache-2.0"
] | null | null | null | #%%
import pickle
import matplotlib.pyplot as plt
from matplotlib import rcParams
rcParams.update({'figure.autolayout': True})
import numpy as np
import pandas as pd
from itertools import product
import seaborn as sns
import matplotlib.gridspec as gridspec
#%%
def unpickle(file):
with open(file, 'rb') as fo:
... | 36.446667 | 310 | 0.607646 | 2,735 | 16,401 | 3.516636 | 0.095064 | 0.015596 | 0.009565 | 0.020586 | 0.805261 | 0.778956 | 0.762321 | 0.720732 | 0.6911 | 0.659597 | 0 | 0.064793 | 0.184135 | 16,401 | 449 | 311 | 36.52784 | 0.653987 | 0.111152 | 0 | 0.407407 | 0 | 0 | 0.083423 | 0.007785 | 0.003367 | 0 | 0 | 0 | 0 | 1 | 0.023569 | false | 0 | 0.026936 | 0 | 0.070707 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
53f1606593a923659bc78d0d52a9dc7a073dfada | 178 | py | Python | hacmec/__init__.py | joernheissler/hacmec | 1a28abd4211619dae85def7cc6b49cbc80e9c5c6 | [
"MIT"
] | null | null | null | hacmec/__init__.py | joernheissler/hacmec | 1a28abd4211619dae85def7cc6b49cbc80e9c5c6 | [
"MIT"
] | null | null | null | hacmec/__init__.py | joernheissler/hacmec | 1a28abd4211619dae85def7cc6b49cbc80e9c5c6 | [
"MIT"
] | null | null | null | VERSION = '0.0.3'
ENDPOINT_LETSENCRYPT = "https://acme-v02.api.letsencrypt.org/directory"
ENDPOINT_LETSENCRYPT_STAGING = "https://acme-staging-v02.api.letsencrypt.org/directory"
| 44.5 | 87 | 0.792135 | 24 | 178 | 5.75 | 0.5 | 0.275362 | 0.246377 | 0.289855 | 0.42029 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04142 | 0.050562 | 178 | 3 | 88 | 59.333333 | 0.775148 | 0 | 0 | 0 | 0 | 0 | 0.589888 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
53f2447fab6825c35d1177a4a32de6e8e5da34af | 23 | py | Python | recoverid/cities/models/__init__.py | C3-Zally/api-python | 4e64ad345d59daa32e750d5f786f2185533f3b38 | [
"MIT"
] | null | null | null | recoverid/cities/models/__init__.py | C3-Zally/api-python | 4e64ad345d59daa32e750d5f786f2185533f3b38 | [
"MIT"
] | 1 | 2020-08-12T01:26:08.000Z | 2020-08-12T01:26:08.000Z | recoverid/cities/models/__init__.py | C3-Zally/api-python | 4e64ad345d59daa32e750d5f786f2185533f3b38 | [
"MIT"
] | null | null | null | from .city import City
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
54ef935f94ece42860db040ce04757cdf093cd86 | 10,671 | py | Python | data_pre/reg_preprocess_example/preprocess_brain35.py | norveclibalikci/easyreg-mirror | a16254733fe957cc4024923f8dce91412966a189 | [
"Apache-2.0"
] | null | null | null | data_pre/reg_preprocess_example/preprocess_brain35.py | norveclibalikci/easyreg-mirror | a16254733fe957cc4024923f8dce91412966a189 | [
"Apache-2.0"
] | null | null | null | data_pre/reg_preprocess_example/preprocess_brain35.py | norveclibalikci/easyreg-mirror | a16254733fe957cc4024923f8dce91412966a189 | [
"Apache-2.0"
] | null | null | null | """
A demo on data augmentation and segmentation for brain dataset
"""
import os, sys
sys.path.insert(0,os.path.abspath('..'))
sys.path.insert(0,os.path.abspath('.'))
sys.path.insert(0,os.path.abspath('../easyreg'))
from data_pre.file_tool import get_file_list
from easyreg.reg_data_utils import read_txt_into_list, w... | 65.067073 | 428 | 0.830569 | 1,865 | 10,671 | 4.370509 | 0.080965 | 0.048092 | 0.103791 | 0.126856 | 0.79389 | 0.769722 | 0.743344 | 0.723224 | 0.707398 | 0.692553 | 0 | 0.025284 | 0.05857 | 10,671 | 163 | 429 | 65.466258 | 0.786084 | 0.00581 | 0 | 0.2625 | 0 | 0 | 0.219545 | 0.180266 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025 | false | 0 | 0.0625 | 0 | 0.1125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
54fa8aba69d224d4910f4868277e2c72af6dcc07 | 1,567 | py | Python | Data Collection/test.py | YooInKeun/CAU_CSE_Capstone_3 | 51405c4bed2b55661aa0708c8acea17fe72aa701 | [
"MIT"
] | 6 | 2019-12-07T07:30:34.000Z | 2022-01-20T14:26:44.000Z | Data Collection/test.py | YooInKeun/CAU_CSE_Capstone_3 | 51405c4bed2b55661aa0708c8acea17fe72aa701 | [
"MIT"
] | 9 | 2019-12-28T06:18:53.000Z | 2022-01-13T01:54:21.000Z | Data Collection/test.py | YooInKeun/CAU_CSE_Capstone_3 | 51405c4bed2b55661aa0708c8acea17fe72aa701 | [
"MIT"
] | 1 | 2020-05-21T15:55:45.000Z | 2020-05-21T15:55:45.000Z | from urllib.request import Request, urlopen
from bs4 import BeautifulSoup
import json
req = Request("https://www.dabangapp.com/search#/map?filters=%7B%22multi_room_type%22%3A%5B0%2C1%2C2%5D%2C%22selling_type%22%3A%5B0%2C1%2C2%5D%2C%22deposit_range%22%3A%5B0%2C999999%5D%2C%22price_range%22%3A%5B0%2C999999%5D%2C%22trade... | 156.7 | 1,309 | 0.804722 | 290 | 1,567 | 4.241379 | 0.393103 | 0.061789 | 0.068293 | 0.109756 | 0.247967 | 0.220325 | 0.204878 | 0.087805 | 0 | 0 | 0 | 0.296224 | 0.019783 | 1,567 | 10 | 1,310 | 156.7 | 0.504557 | 0 | 0 | 0 | 0 | 0.111111 | 0.840561 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.222222 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
070091cb6032a03981c635127be648be10409990 | 396 | py | Python | pydlm/modeler/__init__.py | dtolpin/pydlm | 0016876bf6357784b161ecaa4f0798c063c54785 | [
"BSD-3-Clause"
] | 423 | 2016-09-15T06:45:26.000Z | 2022-03-29T08:41:11.000Z | pydlm/modeler/__init__.py | dtolpin/pydlm | 0016876bf6357784b161ecaa4f0798c063c54785 | [
"BSD-3-Clause"
] | 50 | 2016-09-14T19:45:49.000Z | 2021-07-26T17:04:10.000Z | pydlm/modeler/__init__.py | dtolpin/pydlm | 0016876bf6357784b161ecaa4f0798c063c54785 | [
"BSD-3-Clause"
] | 99 | 2016-09-19T08:08:41.000Z | 2022-03-07T13:47:36.000Z | # this module defines the tools for modeling
# __all__ = ['trends', 'seasonality', 'dynamic', 'autoReg', 'longSeason', 'builder']
# import pydlm.modeler.trends as trends
# import pydlm.modeler.seasonality as seasonality
# import pydlm.modeler.dynamic as dynamic
# import pydlm.modeler.builder as builder
# import pydlm... | 36 | 84 | 0.775253 | 50 | 396 | 6.06 | 0.36 | 0.217822 | 0.356436 | 0.165017 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123737 | 396 | 10 | 85 | 39.6 | 0.873199 | 0.95202 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
072a71d75db0b0ec2d3543e74e5467cc36515ff2 | 48 | py | Python | code/arc018_1_01.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | 3 | 2019-08-16T16:55:48.000Z | 2021-04-11T10:21:40.000Z | code/arc018_1_01.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | code/arc018_1_01.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | H,B=map(float,input().split())
print(H**2*B/1e4) | 24 | 30 | 0.645833 | 11 | 48 | 2.818182 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 0.020833 | 48 | 2 | 31 | 24 | 0.595745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
073d01b92cf7075e32fa92b1e9a3711372694558 | 262 | py | Python | bitmovin_api_sdk/encoding/encodings/streams/burn_in_subtitles/dvbsub/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/encoding/encodings/streams/burn_in_subtitles/dvbsub/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/encoding/encodings/streams/burn_in_subtitles/dvbsub/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | from bitmovin_api_sdk.encoding.encodings.streams.burn_in_subtitles.dvbsub.dvbsub_api import DvbsubApi
from bitmovin_api_sdk.encoding.encodings.streams.burn_in_subtitles.dvbsub.burn_in_subtitle_dvb_sub_list_query_params import BurnInSubtitleDvbSubListQueryParams
| 87.333333 | 159 | 0.923664 | 36 | 262 | 6.277778 | 0.555556 | 0.079646 | 0.132743 | 0.159292 | 0.557522 | 0.557522 | 0.557522 | 0.557522 | 0.557522 | 0.557522 | 0 | 0 | 0.030534 | 262 | 2 | 160 | 131 | 0.889764 | 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 | 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 | 5 |
074da2fca1e6ab8fdfc1fb5622ebec670d995ad1 | 68 | py | Python | abc/abc090/abc090a.py | c-yan/atcoder | 940e49d576e6a2d734288fadaf368e486480a948 | [
"MIT"
] | 1 | 2019-08-21T00:49:34.000Z | 2019-08-21T00:49:34.000Z | abc/abc090/abc090a.py | c-yan/atcoder | 940e49d576e6a2d734288fadaf368e486480a948 | [
"MIT"
] | null | null | null | abc/abc090/abc090a.py | c-yan/atcoder | 940e49d576e6a2d734288fadaf368e486480a948 | [
"MIT"
] | null | null | null | c = [input() for _ in range(3)]
print(c[0][0] + c[1][1] + c[2][2])
| 17 | 34 | 0.470588 | 16 | 68 | 1.9375 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 0.191176 | 68 | 3 | 35 | 22.666667 | 0.436364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
4acbd9dfce233d444086e0991dca3677d10668f6 | 229 | py | Python | typeidea/base/funtion.py | birdywings/typeidea | d7ce276a7a823b4a9d50bf57edc07e002aa08863 | [
"MIT"
] | 1 | 2018-08-28T06:26:18.000Z | 2018-08-28T06:26:18.000Z | typeidea/base/funtion.py | birdywings/typeidea | d7ce276a7a823b4a9d50bf57edc07e002aa08863 | [
"MIT"
] | 2 | 2020-03-10T10:21:22.000Z | 2021-06-10T20:52:02.000Z | typeidea/base/funtion.py | birdywings/typeidea | d7ce276a7a823b4a9d50bf57edc07e002aa08863 | [
"MIT"
] | null | null | null | # -*- coding: UTF-8 -*-
def value_judge(request, *args): # 查看客户端有没有漏传字段
for i in args:
if i not in request.data or request.data.get(i) == '' or request.data.get(i) is None:
return False
return True
| 25.444444 | 93 | 0.598253 | 35 | 229 | 3.885714 | 0.628571 | 0.242647 | 0.191176 | 0.235294 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005988 | 0.270742 | 229 | 8 | 94 | 28.625 | 0.808383 | 0.148472 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
4ae9786ca8ffcb225ebb57110db7cc8df8a943f5 | 29 | py | Python | frds/data/wrds/execucomp/__init__.py | mgao6767/wrds | 7dca2651a181bf38c61ebde675c9f64d6c96f608 | [
"MIT"
] | 31 | 2020-06-17T13:19:12.000Z | 2022-03-27T08:56:38.000Z | frds/data/wrds/execucomp/__init__.py | mgao6767/wrds | 7dca2651a181bf38c61ebde675c9f64d6c96f608 | [
"MIT"
] | null | null | null | frds/data/wrds/execucomp/__init__.py | mgao6767/wrds | 7dca2651a181bf38c61ebde675c9f64d6c96f608 | [
"MIT"
] | 8 | 2020-06-14T15:21:51.000Z | 2021-09-29T06:28:53.000Z | from .anncomp import Anncomp
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ab613c70006f712e3afdac76d87e9315e1feec69 | 68 | py | Python | maya/python/dl_bifrost_utils/__init__.py | Mikfr83/bifrost-dl-core | a5660076f6f76cdcd95b73c63c521f6056b05123 | [
"MIT"
] | 55 | 2021-02-08T05:17:28.000Z | 2022-01-28T18:04:43.000Z | maya/python/dl_bifrost_utils/__init__.py | Mikfr83/bifrost-dl-core | a5660076f6f76cdcd95b73c63c521f6056b05123 | [
"MIT"
] | 27 | 2021-02-13T08:05:46.000Z | 2021-12-07T07:32:39.000Z | maya/python/dl_bifrost_utils/__init__.py | Mikfr83/bifrost-dl-core | a5660076f6f76cdcd95b73c63c521f6056b05123 | [
"MIT"
] | 6 | 2021-04-10T06:42:43.000Z | 2022-02-15T07:17:56.000Z | from . import group_utils
# import the ui package
from . import ui
| 13.6 | 25 | 0.75 | 11 | 68 | 4.545455 | 0.636364 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 68 | 4 | 26 | 17 | 0.925926 | 0.308824 | 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 | 0 | 0 | 0 | 5 |
db495df5f6aac6c091c0e550ebcf37eccc8aa643 | 83 | py | Python | Lab_6/Task_4.py | spencerperley/CPE_101 | 9ae3c5a0042780f824de5edee275b35cdb0bbaec | [
"MIT"
] | 1 | 2022-01-12T21:48:23.000Z | 2022-01-12T21:48:23.000Z | Lab_6/Task_4.py | spencerperley/CPE_101 | 9ae3c5a0042780f824de5edee275b35cdb0bbaec | [
"MIT"
] | null | null | null | Lab_6/Task_4.py | spencerperley/CPE_101 | 9ae3c5a0042780f824de5edee275b35cdb0bbaec | [
"MIT"
] | null | null | null | def groups_of_3(myList):
return [myList[0:3],myList[3:6],myList[6:len(myList)]] | 41.5 | 58 | 0.698795 | 16 | 83 | 3.5 | 0.5625 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 0.084337 | 83 | 2 | 58 | 41.5 | 0.657895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
db5a4045cb12c42a179327b9e4f4b6d30c6d831e | 834 | py | Python | space-age/space_age.py | ederst/exercism-python | 8791f145ff4ce1a3b78ac3566fbe428ce3a3bd7b | [
"Unlicense"
] | 1 | 2021-06-25T16:09:02.000Z | 2021-06-25T16:09:02.000Z | space-age/space_age.py | ederst/exercism-python | 8791f145ff4ce1a3b78ac3566fbe428ce3a3bd7b | [
"Unlicense"
] | 1 | 2021-05-17T23:45:29.000Z | 2021-05-17T23:46:01.000Z | space-age/space_age.py | ederst/exercism-python | 8791f145ff4ce1a3b78ac3566fbe428ce3a3bd7b | [
"Unlicense"
] | null | null | null | class SpaceAge:
def __init__(self, seconds: float):
self.seconds = seconds
def _space_age(self, ratio: float = 1.0, ndigits: int = 2) -> float:
return round(self.seconds / 31557600.0 / ratio, ndigits)
def on_mercury(self) -> float:
return self._space_age(0.2408467)
def on_ven... | 26.0625 | 72 | 0.635492 | 116 | 834 | 4.310345 | 0.327586 | 0.144 | 0.24 | 0.304 | 0.436 | 0.436 | 0.112 | 0 | 0 | 0 | 0 | 0.109873 | 0.247002 | 834 | 31 | 73 | 26.903226 | 0.686306 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.47619 | false | 0 | 0 | 0.428571 | 0.952381 | 0 | 0 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
db96a3880d6623c7a65c679c54a2181a9c18f50a | 11 | py | Python | login.py | LiuTongred/test | 90d9b09f2c9c29143f2ca47691ccdef28010949a | [
"MIT"
] | null | null | null | login.py | LiuTongred/test | 90d9b09f2c9c29143f2ca47691ccdef28010949a | [
"MIT"
] | null | null | null | login.py | LiuTongred/test | 90d9b09f2c9c29143f2ca47691ccdef28010949a | [
"MIT"
] | null | null | null | num = 2222
| 5.5 | 10 | 0.636364 | 2 | 11 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.272727 | 11 | 1 | 11 | 11 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
dbdca5e84d423d50b740bd0c4363098894318379 | 38 | py | Python | simplpy/list_/__init__.py | frankhart2018/simplpy | a9e8781f9cc8ba9578d6ec786d58e349cba9c52a | [
"MIT"
] | 1 | 2021-02-15T11:36:47.000Z | 2021-02-15T11:36:47.000Z | simplpy/list_/__init__.py | frankhart2018/simplpy | a9e8781f9cc8ba9578d6ec786d58e349cba9c52a | [
"MIT"
] | null | null | null | simplpy/list_/__init__.py | frankhart2018/simplpy | a9e8781f9cc8ba9578d6ec786d58e349cba9c52a | [
"MIT"
] | null | null | null | from simplpy.list_.list_func import *
| 19 | 37 | 0.815789 | 6 | 38 | 4.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.852941 | 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 | 0 | 0 | 0 | 5 |
915e48f7f8846a80b3fd111683669a6dfc582b29 | 107 | py | Python | starkbank/utilitypayment/__init__.py | thalesmello/sdk-python | fe897883b5c91948e812cfaa6ac176edcf0f9290 | [
"MIT"
] | null | null | null | starkbank/utilitypayment/__init__.py | thalesmello/sdk-python | fe897883b5c91948e812cfaa6ac176edcf0f9290 | [
"MIT"
] | null | null | null | starkbank/utilitypayment/__init__.py | thalesmello/sdk-python | fe897883b5c91948e812cfaa6ac176edcf0f9290 | [
"MIT"
] | null | null | null | from .__utilitypayment import create, get, pdf, query, delete
from .log.__log import Log
from . import log
| 26.75 | 61 | 0.775701 | 16 | 107 | 4.9375 | 0.5625 | 0.227848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149533 | 107 | 3 | 62 | 35.666667 | 0.868132 | 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 | 0 | 0 | 0 | 5 |
918a523cfa56dd7f4925fcb00762460b23a1f614 | 173 | py | Python | BDProjectsSessionsMonitor/__init__.py | bond-anton/SPAdminTools | 1bc12f773b8fb7b96a64348d0b807ee4807fd5a0 | [
"Apache-2.0"
] | null | null | null | BDProjectsSessionsMonitor/__init__.py | bond-anton/SPAdminTools | 1bc12f773b8fb7b96a64348d0b807ee4807fd5a0 | [
"Apache-2.0"
] | null | null | null | BDProjectsSessionsMonitor/__init__.py | bond-anton/SPAdminTools | 1bc12f773b8fb7b96a64348d0b807ee4807fd5a0 | [
"Apache-2.0"
] | null | null | null | from __future__ import division, print_function
from BDProjectsSessionsMonitor.Application import SPSMApplication
from BDProjectsSessionsMonitor.AboutWindow import _version
| 43.25 | 65 | 0.907514 | 16 | 173 | 9.4375 | 0.6875 | 0.384106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075145 | 173 | 3 | 66 | 57.666667 | 0.94375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.333333 | 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 | 0 | 0 | 0 | 5 |
91ac180c9ec1fe60d487d0f499cfe5393071236e | 10,888 | py | Python | swiftbrowser/tests/test_utils.py | OLRC/django-swiftbrowser | cfc6fa44f8eeda5e66db81cce39b5340fc5a898a | [
"Apache-2.0"
] | 1 | 2021-09-06T12:31:27.000Z | 2021-09-06T12:31:27.000Z | swiftbrowser/tests/test_utils.py | OLRC/django-swiftbrowser | cfc6fa44f8eeda5e66db81cce39b5340fc5a898a | [
"Apache-2.0"
] | null | null | null | swiftbrowser/tests/test_utils.py | OLRC/django-swiftbrowser | cfc6fa44f8eeda5e66db81cce39b5340fc5a898a | [
"Apache-2.0"
] | null | null | null | from django.test import TestCase
import swiftbrowser.views
from swiftbrowser.utils import *
class SplitAclTest(TestCase):
def setUp(self):
# Create an empty
self.expected = {
"users": [],
"referrers": [],
"rlistings": False,
"public": False,
... | 36.659933 | 79 | 0.604151 | 1,276 | 10,888 | 5.069749 | 0.095611 | 0.171588 | 0.05565 | 0.046993 | 0.806771 | 0.783274 | 0.750502 | 0.690833 | 0.669501 | 0.603494 | 0 | 0.063327 | 0.229886 | 10,888 | 296 | 80 | 36.783784 | 0.708169 | 0.120775 | 0 | 0.57672 | 0 | 0.010582 | 0.194038 | 0.041693 | 0 | 0 | 0 | 0 | 0.539683 | 1 | 0.142857 | false | 0 | 0.015873 | 0 | 0.169312 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
91b722d3944117600c07825b9d44f869f27b23da | 5,555 | py | Python | tests/test_cli.py | danvalen1/waybackpy | 4b61b6ecd6eb4ae2f607afcfd3309ef048dd4a32 | [
"MIT"
] | null | null | null | tests/test_cli.py | danvalen1/waybackpy | 4b61b6ecd6eb4ae2f607afcfd3309ef048dd4a32 | [
"MIT"
] | null | null | null | tests/test_cli.py | danvalen1/waybackpy | 4b61b6ecd6eb4ae2f607afcfd3309ef048dd4a32 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import sys
import os
import pytest
import argparse
sys.path.append("..")
import waybackpy.cli as cli # noqa: E402
from waybackpy.wrapper import Url # noqa: E402
from waybackpy.__version__ import __version__
codecov_python = False
if sys.version_info > (3, 7):
codecov_python = True
# Na... | 53.413462 | 158 | 0.711251 | 870 | 5,555 | 4.44023 | 0.109195 | 0.018638 | 0.023298 | 0.057209 | 0.786177 | 0.779705 | 0.764691 | 0.745017 | 0.735698 | 0.7124 | 0 | 0.042803 | 0.142034 | 5,555 | 103 | 159 | 53.932039 | 0.76773 | 0.049505 | 0 | 0.487805 | 0 | 0.109756 | 0.061255 | 0 | 0 | 0 | 0 | 0 | 0.158537 | 1 | 0.109756 | false | 0 | 0.085366 | 0 | 0.195122 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
91ca0f2e2dac9b3a2702df7661feb474592c23db | 426 | py | Python | tests/mark.py | chrismaille/fastapi-debug-toolbar | 76d1e78eda4a23fc2b3e3d3c978ee9d8dbf025ae | [
"BSD-3-Clause"
] | 36 | 2021-07-22T08:11:31.000Z | 2022-01-31T13:09:26.000Z | tests/mark.py | chrismaille/fastapi-debug-toolbar | 76d1e78eda4a23fc2b3e3d3c978ee9d8dbf025ae | [
"BSD-3-Clause"
] | 10 | 2021-07-21T19:39:38.000Z | 2022-02-26T15:35:35.000Z | tests/mark.py | chrismaille/fastapi-debug-toolbar | 76d1e78eda4a23fc2b3e3d3c978ee9d8dbf025ae | [
"BSD-3-Clause"
] | 2 | 2021-07-28T09:55:13.000Z | 2022-02-18T11:29:25.000Z | import sys
import typing as t
import pytest
from _pytest.mark import MarkDecorator
def override_settings(**settings: t.Any) -> MarkDecorator:
return pytest.mark.parametrize("settings", [settings])
def override_panels(panels: t.List[str]) -> MarkDecorator:
return override_settings(panels=panels)
def skip_... | 23.666667 | 69 | 0.753521 | 54 | 426 | 5.833333 | 0.462963 | 0.095238 | 0.15873 | 0.184127 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131455 | 426 | 17 | 70 | 25.058824 | 0.851351 | 0 | 0 | 0 | 0 | 0 | 0.021127 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.4 | 0.3 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 1 | 1 | 0 | 0 | 5 |
91d386543140c7dc841311dd9afc4b17a964827b | 1,998 | py | Python | tests/test_SFJWT.py | Rehket/SalesForce-JWT | df229bb775b59fcaa9c666c73a71de8b4fe901fb | [
"MIT"
] | null | null | null | tests/test_SFJWT.py | Rehket/SalesForce-JWT | df229bb775b59fcaa9c666c73a71de8b4fe901fb | [
"MIT"
] | 2 | 2021-05-09T17:59:51.000Z | 2021-05-09T18:00:36.000Z | tests/test_SFJWT.py | Rehket/SalesForce-JWT | df229bb775b59fcaa9c666c73a71de8b4fe901fb | [
"MIT"
] | null | null | null | # Standard library imports...
from unittest import mock, TestCase
import responses
mock_environ = {
"SFDC_CONSUMER_KEY": "false",
"SFDC_USERNAME": "foo",
"SFDC_PRIVATE_CERT": "foo",
"SFDC_PRIVATE_CERT_PATH": "foo",
}
# This test is broken for some reason when all the tests are run together.
class Tes... | 37 | 97 | 0.563063 | 205 | 1,998 | 5.258537 | 0.365854 | 0.072356 | 0.077922 | 0.089054 | 0.721707 | 0.721707 | 0.721707 | 0.721707 | 0.721707 | 0.721707 | 0 | 0.005997 | 0.332332 | 1,998 | 53 | 98 | 37.698113 | 0.802099 | 0.05005 | 0 | 0.55814 | 0 | 0 | 0.297098 | 0.034829 | 0 | 0 | 0 | 0 | 0.093023 | 1 | 0.046512 | false | 0 | 0.093023 | 0 | 0.162791 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
37fd2af77f101a4979815b767f91cba220a69cdb | 271 | py | Python | angr/procedures/libc/calloc.py | Kyle-Kyle/angr | 345b2131a7a67e3a6ffc7d9fd475146a3e12f837 | [
"BSD-2-Clause"
] | 6,132 | 2015-08-06T23:24:47.000Z | 2022-03-31T21:49:34.000Z | angr/procedures/libc/calloc.py | Kyle-Kyle/angr | 345b2131a7a67e3a6ffc7d9fd475146a3e12f837 | [
"BSD-2-Clause"
] | 2,272 | 2015-08-10T08:40:07.000Z | 2022-03-31T23:46:44.000Z | angr/procedures/libc/calloc.py | Kyle-Kyle/angr | 345b2131a7a67e3a6ffc7d9fd475146a3e12f837 | [
"BSD-2-Clause"
] | 1,155 | 2015-08-06T23:37:39.000Z | 2022-03-31T05:54:11.000Z | import angr
######################################
# calloc
######################################
class calloc(angr.SimProcedure):
#pylint:disable=arguments-differ
def run(self, sim_nmemb, sim_size):
return self.state.heap._calloc(sim_nmemb, sim_size)
| 24.636364 | 59 | 0.520295 | 27 | 271 | 5.037037 | 0.666667 | 0.117647 | 0.161765 | 0.220588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125461 | 271 | 10 | 60 | 27.1 | 0.57384 | 0.136531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 5 |
530962108ce5a71b6bf458dcb7a328d5897148b2 | 6,179 | py | Python | tests/pbxcli/TestPBXProjShow.py | yixiaoqingyuz/mod-pbxproj | b1ea20e0846cd8f402224a31f7ca119d2e9ff36f | [
"MIT"
] | 1 | 2020-01-16T08:33:38.000Z | 2020-01-16T08:33:38.000Z | tests/pbxcli/TestPBXProjShow.py | yixiaoqingyuz/mod-pbxproj | b1ea20e0846cd8f402224a31f7ca119d2e9ff36f | [
"MIT"
] | null | null | null | tests/pbxcli/TestPBXProjShow.py | yixiaoqingyuz/mod-pbxproj | b1ea20e0846cd8f402224a31f7ca119d2e9ff36f | [
"MIT"
] | 1 | 2021-01-25T05:41:03.000Z | 2021-01-25T05:41:03.000Z | import unittest
import shutil
import sys
from pbxproj.pbxcli import *
import pbxproj.pbxcli.pbxproj_show as pbxproj_show
class PBXProjShowTest(unittest.TestCase):
def setUp(self):
# copy the project.pbxproj, into a file that can be used by the tests
shutil.copyfile('samplescli/project.pbxproj', 'sa... | 36.347059 | 80 | 0.578573 | 633 | 6,179 | 5.612954 | 0.1406 | 0.124965 | 0.151984 | 0.063327 | 0.740501 | 0.735435 | 0.723051 | 0.723051 | 0.723051 | 0.723051 | 0 | 0.000449 | 0.279657 | 6,179 | 169 | 81 | 36.56213 | 0.797798 | 0.010843 | 0 | 0.655405 | 0 | 0 | 0.308183 | 0.068412 | 0 | 0 | 0 | 0 | 0.263514 | 1 | 0.067568 | false | 0 | 0.033784 | 0 | 0.108108 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5339a905f22f95ba2960bc5d3c45cf04bbb6aabb | 10 | py | Python | test.py | canyus70/playground | 7bdfc0fda903543a159aa41f52aad85f30f6afa5 | [
"MIT"
] | null | null | null | test.py | canyus70/playground | 7bdfc0fda903543a159aa41f52aad85f30f6afa5 | [
"MIT"
] | null | null | null | test.py | canyus70/playground | 7bdfc0fda903543a159aa41f52aad85f30f6afa5 | [
"MIT"
] | null | null | null | print(3)
| 3.333333 | 8 | 0.6 | 2 | 10 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.2 | 10 | 2 | 9 | 5 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
5345afcbdb2a4add7fbcde378576030b4c53b31a | 460 | py | Python | src/yass/neuralnetwork/__init__.py | Nomow/yass | 9cc5cc5c5435a664b378bba9332e5b77eb792ff8 | [
"Apache-2.0"
] | null | null | null | src/yass/neuralnetwork/__init__.py | Nomow/yass | 9cc5cc5c5435a664b378bba9332e5b77eb792ff8 | [
"Apache-2.0"
] | null | null | null | src/yass/neuralnetwork/__init__.py | Nomow/yass | 9cc5cc5c5435a664b378bba9332e5b77eb792ff8 | [
"Apache-2.0"
] | null | null | null | from yass.neuralnetwork.model import KerasModel
from yass.neuralnetwork.model_detector import NeuralNetDetector
from yass.neuralnetwork.model_autoencoder import AutoEncoder
from yass.neuralnetwork.model_triage import NeuralNetTriage
from yass.neuralnetwork.apply import run_detect_triage_featurize, fix_indexes
__all__ ... | 46 | 77 | 0.819565 | 49 | 460 | 7.387755 | 0.367347 | 0.110497 | 0.290055 | 0.287293 | 0.187845 | 0.187845 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113043 | 460 | 9 | 78 | 51.111111 | 0.887255 | 0 | 0 | 0 | 0 | 0 | 0.197826 | 0.058696 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.625 | 0 | 0.625 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
534bb85a4fe4117db9063e5a4419a55709913dd5 | 151 | py | Python | src/pyglottolog/admin_commands/tree2lff.py | SimonGreenhill/pyglottolog | 1e0aa0cdc5ae35906c763f9219c6db9b976f8d38 | [
"Apache-2.0"
] | 7 | 2019-07-28T16:09:05.000Z | 2021-09-12T20:21:55.000Z | src/pyglottolog/admin_commands/tree2lff.py | d97hah/pyglottolog | fe4c2a52d54cdcf0804b4f889598dbb9b8698dbd | [
"Apache-2.0"
] | 52 | 2019-06-18T05:16:38.000Z | 2022-02-21T11:20:02.000Z | src/pyglottolog/admin_commands/tree2lff.py | d97hah/pyglottolog | fe4c2a52d54cdcf0804b4f889598dbb9b8698dbd | [
"Apache-2.0"
] | 6 | 2019-07-26T17:40:25.000Z | 2021-12-08T00:59:38.000Z | """
Create lff.txt and dff.txt from the current languoid tree.
"""
from pyglottolog import lff
def run(args):
lff.tree2lff(args.repos, args.log)
| 16.777778 | 58 | 0.715232 | 24 | 151 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007937 | 0.165563 | 151 | 8 | 59 | 18.875 | 0.849206 | 0.384106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
72855937cde48d6b148a7e38497c4747fc21bb79 | 70 | py | Python | Logistic_Map_Generator/__init__.py | SubstanceIsFormAndContent/LMAP_Generator | 3798bbffa0a355eb0656e804869048acfcbc5637 | [
"MIT"
] | 2 | 2019-11-23T21:28:09.000Z | 2020-02-10T23:47:20.000Z | Logistic_Map_Generator/__init__.py | SubstanceIsFormAndContent/LMAP_Generator | 3798bbffa0a355eb0656e804869048acfcbc5637 | [
"MIT"
] | null | null | null | Logistic_Map_Generator/__init__.py | SubstanceIsFormAndContent/LMAP_Generator | 3798bbffa0a355eb0656e804869048acfcbc5637 | [
"MIT"
] | null | null | null | # __init__.py
from .LogisticMapGenerator import LogisticMapGenerator
| 17.5 | 54 | 0.857143 | 6 | 70 | 9.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 70 | 3 | 55 | 23.333333 | 0.888889 | 0.157143 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
72c48173be5f4ebd72269e6e9c1940c13425665a | 141 | py | Python | code/answer_3-1-49.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | 1 | 2022-03-29T13:50:12.000Z | 2022-03-29T13:50:12.000Z | code/answer_3-1-49.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | null | null | null | code/answer_3-1-49.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | null | null | null | H1, W1 = map(int, input().split())
H2, W2 = map(int, input().split())
print("YES" if H1 == H2 or H1 == W2 or W1 == H2 or W1 == W2 else "NO")
| 35.25 | 70 | 0.553191 | 28 | 141 | 2.785714 | 0.5 | 0.153846 | 0.282051 | 0.410256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 0.205674 | 141 | 3 | 71 | 47 | 0.589286 | 0 | 0 | 0 | 0 | 0 | 0.035461 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 0 | 0 | 5 |
72c544a4f9dcc5c506b7f9372217b3feb758fcd3 | 819 | py | Python | sports_manager/mixins.py | hbuyse/dj-sports-manager | 7e32cc41347b968b4ede9ea6846de14d9504c3f9 | [
"MIT"
] | null | null | null | sports_manager/mixins.py | hbuyse/dj-sports-manager | 7e32cc41347b968b4ede9ea6846de14d9504c3f9 | [
"MIT"
] | null | null | null | sports_manager/mixins.py | hbuyse/dj-sports-manager | 7e32cc41347b968b4ede9ea6846de14d9504c3f9 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Django
from django.contrib.auth.mixins import LoginRequiredMixin, UserPassesTestMixin
class StaffMixin(LoginRequiredMixin, UserPassesTestMixin):
"""
Mixin allows you to require a user with `is_staff` set to True.
"""
raise_exception = True
def test_func(self):
r... | 24.818182 | 79 | 0.714286 | 95 | 819 | 6.031579 | 0.421053 | 0.25829 | 0.094241 | 0.109948 | 0.547993 | 0.547993 | 0.547993 | 0.547993 | 0.547993 | 0.547993 | 0 | 0.00152 | 0.196581 | 819 | 32 | 80 | 25.59375 | 0.869301 | 0.196581 | 0 | 0.428571 | 0 | 0 | 0.01278 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0.285714 | 0.071429 | 0.214286 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
72c6c0ad298834b4519f5b56809e20963f45a9f1 | 46 | py | Python | raw_input.py | Lana-Pa/Getting-Started-with-Python | c4822755a579b6723cc966412bd06496870d118b | [
"Apache-2.0"
] | null | null | null | raw_input.py | Lana-Pa/Getting-Started-with-Python | c4822755a579b6723cc966412bd06496870d118b | [
"Apache-2.0"
] | null | null | null | raw_input.py | Lana-Pa/Getting-Started-with-Python | c4822755a579b6723cc966412bd06496870d118b | [
"Apache-2.0"
] | null | null | null | name = raw_input("Enter")
print"Hello " + name | 23 | 25 | 0.695652 | 7 | 46 | 4.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 46 | 2 | 26 | 23 | 0.775 | 0 | 0 | 0 | 0 | 0 | 0.234043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
72ee0e065980f02069a5c9e89690609ed82d427f | 64 | py | Python | apps/asset/serializer/__init__.py | plsof/tabops_api | 39f5d2fd5158ae0c22e43ab6ff7e2b07a68a62d8 | [
"MIT"
] | 1 | 2019-07-31T07:34:38.000Z | 2019-07-31T07:34:38.000Z | apps/asset/serializer/__init__.py | plsof/tabops_api | 39f5d2fd5158ae0c22e43ab6ff7e2b07a68a62d8 | [
"MIT"
] | 9 | 2019-12-05T00:39:29.000Z | 2022-02-10T14:13:29.000Z | apps/asset/serializer/__init__.py | plsof/tabops_api | 39f5d2fd5158ae0c22e43ab6ff7e2b07a68a62d8 | [
"MIT"
] | null | null | null | from .idc import IdcSerializer
from .host import HostSerializer
| 21.333333 | 32 | 0.84375 | 8 | 64 | 6.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 64 | 2 | 33 | 32 | 0.964286 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
72f3aed5564f3f31e0d58951bc12d191d0d85912 | 55 | py | Python | IceSpringMusicPlayer/plugins/IceSpringPlaylistPlugin/__init__.py | baijifeilong/rawsteelp | 425547e6e2395bf4acb62435b18b5b3a4b7ebef4 | [
"MIT"
] | null | null | null | IceSpringMusicPlayer/plugins/IceSpringPlaylistPlugin/__init__.py | baijifeilong/rawsteelp | 425547e6e2395bf4acb62435b18b5b3a4b7ebef4 | [
"MIT"
] | null | null | null | IceSpringMusicPlayer/plugins/IceSpringPlaylistPlugin/__init__.py | baijifeilong/rawsteelp | 425547e6e2395bf4acb62435b18b5b3a4b7ebef4 | [
"MIT"
] | null | null | null | # Created by BaiJiFeiLong@gmail.com at 2022/1/24 17:09
| 27.5 | 54 | 0.763636 | 11 | 55 | 3.818182 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229167 | 0.127273 | 55 | 1 | 55 | 55 | 0.645833 | 0.945455 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f409abe051cdbb8b06224a0c113a401508244b20 | 225 | py | Python | core/views.py | Bilal815/ecommerce_storee | 45e61f1d865a65b4c52d74502b4fcab7ee6c1adf | [
"MIT"
] | 95 | 2020-04-13T09:02:30.000Z | 2022-03-25T14:11:34.000Z | core/views.py | Bilal815/ecommerce_api | a3d8ce7a9e1fa2528d240d5ab508afe92607c9f8 | [
"MIT"
] | 87 | 2020-02-21T17:58:56.000Z | 2022-03-21T21:37:05.000Z | core/views.py | Bilal815/ecommerce_api | a3d8ce7a9e1fa2528d240d5ab508afe92607c9f8 | [
"MIT"
] | 33 | 2021-01-18T09:30:29.000Z | 2022-03-30T01:31:57.000Z | from django.shortcuts import render
from django.db import transaction
# class Get_Host(APIView):
# def post(self, request):
# host = request.META.get('HTTP_USER_AGENT')
# return Response({"Host": host})
| 25 | 52 | 0.68 | 29 | 225 | 5.172414 | 0.724138 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 225 | 8 | 53 | 28.125 | 0.833333 | 0.64 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f4216304cad26c15aa2173f37638cadd00579f0e | 104 | py | Python | tests/fibonacci.py | ssarangi/PyVyM | f96c46e7b8d38f938345ca915c5356b4d9c86d64 | [
"MIT"
] | 3 | 2017-09-24T17:35:29.000Z | 2021-02-14T21:53:03.000Z | tests/fibonacci.py | ssarangi/PyVyM | f96c46e7b8d38f938345ca915c5356b4d9c86d64 | [
"MIT"
] | null | null | null | tests/fibonacci.py | ssarangi/PyVyM | f96c46e7b8d38f938345ca915c5356b4d9c86d64 | [
"MIT"
] | 1 | 2019-08-22T01:09:15.000Z | 2019-08-22T01:09:15.000Z | def fibonacci(n):
if n == 1 or n == 2:
return 1
return fibonacci(n-1) + fibonacci(n-2)
| 17.333333 | 42 | 0.538462 | 18 | 104 | 3.111111 | 0.444444 | 0.535714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070423 | 0.317308 | 104 | 5 | 43 | 20.8 | 0.71831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
f45a889c89ebfa8804c4f8845d9ca62807cf02d3 | 147 | py | Python | pybamm/models/submodels/particle/fickian/__init__.py | jedgedrudd/PyBaMM | 79c9d34978382d50e09adaf8bf74c8fa4723f759 | [
"BSD-3-Clause"
] | 1 | 2019-10-29T19:06:04.000Z | 2019-10-29T19:06:04.000Z | pybamm/models/submodels/particle/fickian/__init__.py | jedgedrudd/PyBaMM | 79c9d34978382d50e09adaf8bf74c8fa4723f759 | [
"BSD-3-Clause"
] | null | null | null | pybamm/models/submodels/particle/fickian/__init__.py | jedgedrudd/PyBaMM | 79c9d34978382d50e09adaf8bf74c8fa4723f759 | [
"BSD-3-Clause"
] | null | null | null | from .base_fickian_particle import BaseModel
from .fickian_many_particles import ManyParticles
from .fickian_single_particle import SingleParticle
| 36.75 | 51 | 0.897959 | 18 | 147 | 7 | 0.611111 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 147 | 3 | 52 | 49 | 0.933333 | 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 | 0 | 0 | 0 | 5 |
f483bf2809d647f5a04dba9e2c822fdcca1ccd3d | 109 | py | Python | tests/__init__.py | sonny-zhang/MyBlog | 880a80c5d95f472f0301f7380addc6c31d341b70 | [
"MIT"
] | null | null | null | tests/__init__.py | sonny-zhang/MyBlog | 880a80c5d95f472f0301f7380addc6c31d341b70 | [
"MIT"
] | null | null | null | tests/__init__.py | sonny-zhang/MyBlog | 880a80c5d95f472f0301f7380addc6c31d341b70 | [
"MIT"
] | null | null | null | # @Time : 2019/3/13 17:20
# @Author : sonny.zhang
# @FileName : __init__.py
# @github : @sonny-zhang
| 21.8 | 29 | 0.59633 | 15 | 109 | 4.066667 | 0.866667 | 0.327869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130952 | 0.229358 | 109 | 4 | 30 | 27.25 | 0.595238 | 0.917431 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 5 |
be3a323cb542283023f528c61e5eec22f86dc56d | 91 | py | Python | kea/test_utils/__init__.py | SmartAcoustics/Kea | 5790f18dafccfc01fe9dbe98de5bb1a5ce584c56 | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | 3 | 2020-02-28T13:03:59.000Z | 2020-09-20T06:33:04.000Z | kea/test_utils/__init__.py | SmartAcoustics/Kea | 5790f18dafccfc01fe9dbe98de5bb1a5ce584c56 | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | null | null | null | kea/test_utils/__init__.py | SmartAcoustics/Kea | 5790f18dafccfc01fe9dbe98de5bb1a5ce584c56 | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | 3 | 2018-12-17T16:33:08.000Z | 2020-01-21T14:10:25.000Z | from .base_test import (
KeaTestCase, KeaVivadoVHDLTestCase, KeaVivadoVerilogTestCase)
| 30.333333 | 65 | 0.824176 | 7 | 91 | 10.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120879 | 91 | 2 | 66 | 45.5 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 5 |
be5b24af3985c89a74b813828eda9445c8d8e2a7 | 148 | py | Python | ex027.py | BrunosVieira88/Python | 7dc105a62ede0b33d25c5864e892637ca71f2beb | [
"MIT"
] | null | null | null | ex027.py | BrunosVieira88/Python | 7dc105a62ede0b33d25c5864e892637ca71f2beb | [
"MIT"
] | null | null | null | ex027.py | BrunosVieira88/Python | 7dc105a62ede0b33d25c5864e892637ca71f2beb | [
"MIT"
] | null | null | null | nome=str(input('digite seu nome ')).split()
print('seu primeiro nome é {}'.format(nome[0]))
print('seu ultimo nome é {}'.format(nome[len(nome)-1])) | 37 | 55 | 0.668919 | 25 | 148 | 3.96 | 0.56 | 0.161616 | 0.222222 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.094595 | 148 | 4 | 55 | 37 | 0.723881 | 0 | 0 | 0 | 0 | 0 | 0.389262 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 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 | 0 | 0 | 0 | 1 | 0 | 5 |
fe36672a9b224dcaf2163d5f4ebec01e9c9c9140 | 27 | py | Python | tda/contrib/__init__.py | zhangted/tda-api | 1169c87129b80c120217d420e4996a439c5903dc | [
"MIT"
] | 986 | 2020-04-14T21:50:03.000Z | 2022-03-29T19:09:31.000Z | tda/contrib/__init__.py | zhangted/tda-api | 1169c87129b80c120217d420e4996a439c5903dc | [
"MIT"
] | 243 | 2020-04-26T14:05:34.000Z | 2022-03-12T13:02:51.000Z | tda/contrib/__init__.py | zhangted/tda-api | 1169c87129b80c120217d420e4996a439c5903dc | [
"MIT"
] | 286 | 2020-04-14T22:17:04.000Z | 2022-03-27T07:30:15.000Z | from . import orders, util
| 13.5 | 26 | 0.740741 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 27 | 1 | 27 | 27 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
fe374344bbfcdbbd759190959389ffcbfcc889cc | 2,266 | py | Python | slowquant/numerical/numForce.py | Melisius/Hartree-Fock | 46bf811dfcf217ce0c37ddec77d34ef00da769c3 | [
"BSD-3-Clause"
] | 8 | 2019-12-05T16:02:56.000Z | 2022-03-31T17:20:46.000Z | slowquant/numerical/numForce.py | erikkjellgren/SlowQuant | 46bf811dfcf217ce0c37ddec77d34ef00da769c3 | [
"BSD-3-Clause"
] | 1 | 2017-05-31T23:48:28.000Z | 2017-05-31T23:49:21.000Z | slowquant/numerical/numForce.py | Melisius/Hartree-Fock | 46bf811dfcf217ce0c37ddec77d34ef00da769c3 | [
"BSD-3-Clause"
] | 7 | 2019-11-11T22:42:31.000Z | 2021-12-30T20:30:42.000Z | import slowquant.hartreefock.runHartreeFock as HF
import numpy as np
import slowquant.basissets.BasisSet as BS
import slowquant.molecularintegrals.runMolecularIntegrals as MI
def nForce(input, set, results, print_time='No', print_scf='Yes'):
dX = np.zeros(len(input))
dY = np.zeros(len(input))
dZ = np.zeros... | 41.962963 | 77 | 0.595322 | 296 | 2,266 | 4.510135 | 0.165541 | 0.033708 | 0.078652 | 0.104869 | 0.701124 | 0.701124 | 0.701124 | 0.701124 | 0.701124 | 0.701124 | 0 | 0.035819 | 0.248455 | 2,266 | 54 | 78 | 41.962963 | 0.748092 | 0 | 0 | 0.612245 | 0 | 0 | 0.044552 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020408 | false | 0 | 0.081633 | 0 | 0.122449 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fe43128c571f4ca6541a6dae01ecf3bfb2c8f296 | 5,816 | py | Python | app/api/v1/routes/routes.py | Mik3y-F/sendIT-api | 868c4f50424e258ef978a2541c8379fe5b9195f7 | [
"MIT"
] | null | null | null | app/api/v1/routes/routes.py | Mik3y-F/sendIT-api | 868c4f50424e258ef978a2541c8379fe5b9195f7 | [
"MIT"
] | null | null | null | app/api/v1/routes/routes.py | Mik3y-F/sendIT-api | 868c4f50424e258ef978a2541c8379fe5b9195f7 | [
"MIT"
] | null | null | null | from dicttoxml import dicttoxml
from flask import Blueprint, request, jsonify
from ..models.models import User, Parcel
api = Blueprint('api', __name__)
@api.route('/parcels/', methods=['GET', 'POST'])
def parcels():
if request.method == "POST":
# POST
# Gets name argument variable from url
... | 29.673469 | 85 | 0.566025 | 554 | 5,816 | 5.837545 | 0.140794 | 0.025974 | 0.034632 | 0.038961 | 0.741806 | 0.711812 | 0.711812 | 0.711812 | 0.711812 | 0.711812 | 0 | 0.007026 | 0.314821 | 5,816 | 196 | 86 | 29.673469 | 0.804517 | 0.044188 | 0 | 0.609929 | 0 | 0 | 0.124234 | 0.015326 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035461 | false | 0 | 0.021277 | 0 | 0.106383 | 0.014184 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fe505f617ec49460bfba58577cd08491bd2d14b0 | 14,953 | py | Python | mkt/api/tests/test_authorization.py | spasovski/zamboni | c7f4714029e3b2dc918ddfc2103f8e051193c14d | [
"BSD-3-Clause"
] | 1 | 2021-07-29T00:51:09.000Z | 2021-07-29T00:51:09.000Z | mkt/api/tests/test_authorization.py | imclab/olympia | 35bc9c484e384bafab520ca8b5d5b0f8da5b62c0 | [
"BSD-3-Clause"
] | null | null | null | mkt/api/tests/test_authorization.py | imclab/olympia | 35bc9c484e384bafab520ca8b5d5b0f8da5b62c0 | [
"BSD-3-Clause"
] | null | null | null | from django.contrib.auth.models import AnonymousUser, User
from rest_framework.permissions import AllowAny, BasePermission
from mock import Mock
from nose.tools import eq_, ok_
from test_utils import RequestFactory
from amo.tests import TestCase
from users.models import UserProfile
from mkt.api.authorization import ... | 36.739558 | 79 | 0.657995 | 1,741 | 14,953 | 5.433084 | 0.079265 | 0.144201 | 0.106565 | 0.080347 | 0.810234 | 0.767417 | 0.737499 | 0.734221 | 0.694365 | 0.657258 | 0 | 0.006923 | 0.227178 | 14,953 | 406 | 80 | 36.830049 | 0.811613 | 0.010968 | 0 | 0.689655 | 0 | 0 | 0.034833 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.178683 | false | 0 | 0.031348 | 0.00627 | 0.272727 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fe59735f3fbc8036ba1f1c2a99d0922e52a92b11 | 47 | py | Python | 2022/BaekJoon/11720.py | dongdong97/TIL | 22fab3bc5509ac46510071cb6a7ce390fd4df75a | [
"MIT"
] | null | null | null | 2022/BaekJoon/11720.py | dongdong97/TIL | 22fab3bc5509ac46510071cb6a7ce390fd4df75a | [
"MIT"
] | null | null | null | 2022/BaekJoon/11720.py | dongdong97/TIL | 22fab3bc5509ac46510071cb6a7ce390fd4df75a | [
"MIT"
] | null | null | null | a = int(input())
print(sum(map(int,input())))
| 11.75 | 28 | 0.595745 | 8 | 47 | 3.5 | 0.75 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 3 | 29 | 15.666667 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
fe8e76865a32060552cfde5f5007bd730c3d4617 | 921 | py | Python | app/main.py | sayyamsachdev/leaninindia2.0 | 45aef47fc9115413b4ff5e326d38db108ab184fc | [
"MIT"
] | null | null | null | app/main.py | sayyamsachdev/leaninindia2.0 | 45aef47fc9115413b4ff5e326d38db108ab184fc | [
"MIT"
] | null | null | null | app/main.py | sayyamsachdev/leaninindia2.0 | 45aef47fc9115413b4ff5e326d38db108ab184fc | [
"MIT"
] | null | null | null | from flask import Flask, render_template, jsonify, request
import json as JSON
from flask_bower import Bower
app = Flask(__name__)
Bower(app)
@app.route("/")
def index():
return render_template("index.html")
@app.route("/about", methods = ["GET"])
def render_team():
return render_template("index.html")
@app.route... | 23.025 | 58 | 0.710098 | 127 | 921 | 4.984252 | 0.267717 | 0.199052 | 0.252765 | 0.276461 | 0.401264 | 0.401264 | 0.350711 | 0 | 0 | 0 | 0 | 0 | 0.103149 | 921 | 40 | 59 | 23.025 | 0.766344 | 0 | 0 | 0.233333 | 0 | 0 | 0.169197 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.1 | 0.266667 | 0.633333 | 0 | 0 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
fe94eceefdc4766f7b5421ef417c657bcf291fd0 | 293 | py | Python | audio_separation/__init__.py | SAGNIKMJR/move2hear-active-AV-separation | 3c6887aeb94b2a07983469bfd517ca277bd4124a | [
"MIT"
] | 8 | 2021-10-05T08:03:32.000Z | 2022-02-22T07:08:19.000Z | audio_separation/__init__.py | SAGNIKMJR/move2hear-active-AV-separation | 3c6887aeb94b2a07983469bfd517ca277bd4124a | [
"MIT"
] | 1 | 2021-12-02T00:21:48.000Z | 2021-12-28T19:07:14.000Z | audio_separation/__init__.py | SAGNIKMJR/move2hear-active-AV-separation | 3c6887aeb94b2a07983469bfd517ca277bd4124a | [
"MIT"
] | null | null | null | from audio_separation.rl.ppo.ppo_trainer import PPOTrainer, RolloutStoragePol, RolloutStorageSep
from audio_separation.pretrain.passive.passive_trainer import PassiveTrainer
__all__ = ["BaseTrainer", "BaseRLTrainer", "PPOTrainer", "RolloutStoragePol", "RolloutStorageSep", "PassiveTrainer"]
| 48.833333 | 116 | 0.836177 | 27 | 293 | 8.777778 | 0.592593 | 0.075949 | 0.160338 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068259 | 293 | 5 | 117 | 58.6 | 0.868132 | 0 | 0 | 0 | 0 | 0 | 0.279863 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.666667 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
22b23b21f8d6616bd04a7a64373464cc32a07519 | 155 | py | Python | docs/en/docs_src/get_updates/get_updates_package.py | AliRn76/rubika-bot | 203da2e585f03d6b2cef96cbd7a68b471e010db7 | [
"MIT"
] | 1 | 2022-03-30T10:33:33.000Z | 2022-03-30T10:33:33.000Z | docs/fa/docs_src/get_updates/get_updates_package.py | AliRn76/rubika-bot | 203da2e585f03d6b2cef96cbd7a68b471e010db7 | [
"MIT"
] | null | null | null | docs/fa/docs_src/get_updates/get_updates_package.py | AliRn76/rubika-bot | 203da2e585f03d6b2cef96cbd7a68b471e010db7 | [
"MIT"
] | null | null | null | from rubika_bot.requests import get_updates
from rubika_bot.models import Update
updates, _ = get_updates(
token='SUPER_SECRET_TOKEN',
limit=10,
) | 22.142857 | 43 | 0.774194 | 22 | 155 | 5.136364 | 0.636364 | 0.176991 | 0.230089 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0.148387 | 155 | 7 | 44 | 22.142857 | 0.840909 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
22fa3bd9ce0189b4f75b75b24b9aea58eb338e87 | 72 | py | Python | hordak/models/__init__.py | PetrDlouhy/django-hordak | 71c141928c5a2cc102bcfd710d7bdf17093933c9 | [
"MIT"
] | 2 | 2016-09-05T08:58:53.000Z | 2016-09-26T10:49:07.000Z | hordak/models/__init__.py | PetrDlouhy/django-hordak | 71c141928c5a2cc102bcfd710d7bdf17093933c9 | [
"MIT"
] | 3 | 2016-11-06T13:14:29.000Z | 2016-11-06T13:57:58.000Z | hordak/models/__init__.py | waldocollective/django-hordak | dc9b8e5008954ca0f4b089d89348e7dec4301f65 | [
"MIT"
] | null | null | null | from .core import * # noqa
from .statement_csv_import import * # noqa
| 24 | 43 | 0.722222 | 10 | 72 | 5 | 0.6 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194444 | 72 | 2 | 44 | 36 | 0.862069 | 0.125 | 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 | 0 | 0 | 0 | 5 |
fe0288cd5be80df45449a3d577648d814ebf2a42 | 13,622 | py | Python | protos/gen/python/protos/public/monitoring/DataMonitoringService_pb2_grpc.py | stefan-petrov-toptal/modeldb | a8a9b9da6ed964c91351230b2f0d2703c75794de | [
"Apache-2.0"
] | 835 | 2017-02-08T20:14:24.000Z | 2020-03-12T17:37:49.000Z | protos/gen/python/protos/public/monitoring/DataMonitoringService_pb2_grpc.py | stefan-petrov-toptal/modeldb | a8a9b9da6ed964c91351230b2f0d2703c75794de | [
"Apache-2.0"
] | 651 | 2019-04-18T12:55:07.000Z | 2022-03-31T23:45:09.000Z | protos/gen/python/protos/public/monitoring/DataMonitoringService_pb2_grpc.py | stefan-petrov-toptal/modeldb | a8a9b9da6ed964c91351230b2f0d2703c75794de | [
"Apache-2.0"
] | 170 | 2017-02-13T14:49:22.000Z | 2020-02-19T17:59:12.000Z | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from ..monitoring import DataMonitoringService_pb2 as monitoring_dot_DataMonitoringService__pb2
class DataMonitoringServiceStub(object):
"""Service definitions
"""
def __init__(self, channel):
"""Constructor.
Args:
... | 54.270916 | 138 | 0.799002 | 1,153 | 13,622 | 9.114484 | 0.079792 | 0.123323 | 0.171472 | 0.186602 | 0.804358 | 0.804358 | 0.528214 | 0.241222 | 0.241222 | 0.241222 | 0 | 0.00459 | 0.136397 | 13,622 | 250 | 139 | 54.488 | 0.888728 | 0.065262 | 0 | 0.315534 | 1 | 0 | 0.129856 | 0.072414 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072816 | false | 0.063107 | 0.009709 | 0 | 0.092233 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
fe065fde30eae1593305d8b80ea065d6f6da2ca7 | 77 | py | Python | Python 101/Chapter 2/String_Formatting_4.py | enemy123456789/Python-101-Notes | aafd38826f18b3af11d5ce4c16d29bbf3de915cd | [
"Apache-2.0"
] | null | null | null | Python 101/Chapter 2/String_Formatting_4.py | enemy123456789/Python-101-Notes | aafd38826f18b3af11d5ce4c16d29bbf3de915cd | [
"Apache-2.0"
] | null | null | null | Python 101/Chapter 2/String_Formatting_4.py | enemy123456789/Python-101-Notes | aafd38826f18b3af11d5ce4c16d29bbf3de915cd | [
"Apache-2.0"
] | null | null | null | print("%(lang)s is fun!" % {"lang":"test"})
#Output
"""
Python is fun!
"""
| 9.625 | 43 | 0.519481 | 11 | 77 | 3.636364 | 0.727273 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168831 | 77 | 7 | 44 | 11 | 0.625 | 0.077922 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
a3ad105e291566b132b2a5f3b369487748aa1efd | 40 | py | Python | mw/__init__.py | he7d3r/Mediawiki-Utilities | 717c30f8e74fa1d9975900b16bc7dff53fe9deb2 | [
"MIT"
] | null | null | null | mw/__init__.py | he7d3r/Mediawiki-Utilities | 717c30f8e74fa1d9975900b16bc7dff53fe9deb2 | [
"MIT"
] | null | null | null | mw/__init__.py | he7d3r/Mediawiki-Utilities | 717c30f8e74fa1d9975900b16bc7dff53fe9deb2 | [
"MIT"
] | null | null | null | from .types import Timestamp, Namespace
| 20 | 39 | 0.825 | 5 | 40 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.942857 | 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 | 0 | 0 | 0 | 5 |
a3ba84ec1b0260ff7d51086309ce170aac667a2e | 229 | py | Python | example/vault/write.py | sephiartlist/dynaconf | 9c5f60b289c1f0fa3f899f1962a8fe5712c74eab | [
"MIT"
] | 2,293 | 2015-08-14T22:39:31.000Z | 2022-03-31T12:44:49.000Z | example/vault/write.py | sephiartlist/dynaconf | 9c5f60b289c1f0fa3f899f1962a8fe5712c74eab | [
"MIT"
] | 676 | 2015-08-20T19:29:56.000Z | 2022-03-31T13:45:51.000Z | example/vault/write.py | sephiartlist/dynaconf | 9c5f60b289c1f0fa3f899f1962a8fe5712c74eab | [
"MIT"
] | 255 | 2015-12-02T21:16:33.000Z | 2022-03-20T22:03:46.000Z | from dynaconf import settings
from dynaconf.loaders import vault_loader
vault_loader.write(settings, {"SECRET": "vault_works"})
with settings.using_env("dev"):
vault_loader.write(settings, {"SECRET": "vault_works_in_dev"})
| 28.625 | 66 | 0.777293 | 31 | 229 | 5.483871 | 0.483871 | 0.194118 | 0.188235 | 0.282353 | 0.470588 | 0.470588 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0.09607 | 229 | 7 | 67 | 32.714286 | 0.821256 | 0 | 0 | 0 | 0 | 0 | 0.19214 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 | 0 | 0 | 0 | 5 |
a3cd6a56b82bcf0ca093a5e3977186d5f8d93876 | 78 | py | Python | 5 Star Python/Arithmetic Operator.py | TheCodeAlpha26/Hackerrank-Demystified | 03713a8f3a05e5d6dfed6f6808b06340558e2310 | [
"Apache-2.0"
] | 6 | 2021-04-26T17:09:54.000Z | 2021-07-08T17:36:16.000Z | 5 Star Python/Arithmetic Operator.py | TheCodeAlpha26/Hackerrank-Demystified | 03713a8f3a05e5d6dfed6f6808b06340558e2310 | [
"Apache-2.0"
] | null | null | null | 5 Star Python/Arithmetic Operator.py | TheCodeAlpha26/Hackerrank-Demystified | 03713a8f3a05e5d6dfed6f6808b06340558e2310 | [
"Apache-2.0"
] | null | null | null | a = int(input())
b = int(input())
print(str(a+b)+"\n"+str(a-b)+"\n"+str(a*b))
| 19.5 | 43 | 0.512821 | 18 | 78 | 2.222222 | 0.388889 | 0.3 | 0.375 | 0.3 | 0.425 | 0.425 | 0.425 | 0 | 0 | 0 | 0 | 0 | 0.089744 | 78 | 3 | 44 | 26 | 0.56338 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4a33cb52c86f5e5addffa7248d8dcd5fa38d6550 | 168 | py | Python | python/tinyusdz/UsdGeom/__init__.py | GermanAizek/tinyusdz | 42358383f363143ad8dd512939a4851902d4f339 | [
"MIT"
] | 159 | 2020-04-14T15:59:35.000Z | 2022-03-31T14:19:05.000Z | python/tinyusdz/UsdGeom/__init__.py | GermanAizek/tinyusdz | 42358383f363143ad8dd512939a4851902d4f339 | [
"MIT"
] | 16 | 2020-05-21T06:00:40.000Z | 2022-02-26T08:50:33.000Z | python/tinyusdz/UsdGeom/__init__.py | GermanAizek/tinyusdz | 42358383f363143ad8dd512939a4851902d4f339 | [
"MIT"
] | 8 | 2020-07-01T04:13:42.000Z | 2022-01-30T17:50:52.000Z | from . import Tokens
def SetStageUpAxis(cls, stage: Stage, axis: Tokens):
assert axis == Tokens.x or axis == Tokens.y or axis == Tokens.z
stage.upAxis = axis
| 24 | 67 | 0.678571 | 25 | 168 | 4.56 | 0.56 | 0.350877 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 168 | 6 | 68 | 28 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4a63c57d312ddc1d32c108936d0096513f0c5bb1 | 36,502 | py | Python | tensorflow_graphics/rendering/opengl/tests/math_test.py | jackd/graphics | 736b99a3306e302674a9b7599e3e2857b85fdb74 | [
"Apache-2.0"
] | null | null | null | tensorflow_graphics/rendering/opengl/tests/math_test.py | jackd/graphics | 736b99a3306e302674a9b7599e3e2857b85fdb74 | [
"Apache-2.0"
] | null | null | null | tensorflow_graphics/rendering/opengl/tests/math_test.py | jackd/graphics | 736b99a3306e302674a9b7599e3e2857b85fdb74 | [
"Apache-2.0"
] | 1 | 2020-04-11T10:37:36.000Z | 2020-04-11T10:37:36.000Z | # Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, s... | 46.677749 | 94 | 0.594598 | 5,783 | 36,502 | 3.549023 | 0.055508 | 0.035568 | 0.037566 | 0.032937 | 0.856558 | 0.813048 | 0.772169 | 0.716186 | 0.673553 | 0.622929 | 0 | 0.094886 | 0.214098 | 36,502 | 781 | 95 | 46.737516 | 0.62056 | 0.080927 | 0 | 0.423323 | 0 | 0 | 0.081217 | 0.004023 | 0 | 0 | 0 | 0 | 0.078275 | 1 | 0.070288 | false | 0 | 0.015974 | 0 | 0.087859 | 0.001597 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4a65c999ba3027fe1616c4445a8c053ddc244f71 | 112 | py | Python | python/testData/inspections/PyUnresolvedReferencesInspection3K/PreferImportedModuleOverNamespacePackage/a.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/PyUnresolvedReferencesInspection3K/PreferImportedModuleOverNamespacePackage/a.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/PyUnresolvedReferencesInspection3K/PreferImportedModuleOverNamespacePackage/a.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | import c
print(c.A().foo())
print(c.<warning descr="Cannot find reference 'b' in 'c.py'">b</warning>.A().foo()) | 28 | 83 | 0.642857 | 21 | 112 | 3.428571 | 0.619048 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 112 | 4 | 83 | 28 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0.309735 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.666667 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
4aa728600a94fa4e0f719b37efe33a9625f121b5 | 2,707 | py | Python | tests/calculators/test_non_working_days_in_ago.py | FrappucinoGithub/school_meal_forecast_xgboost | dc2411765fb78f92c7f8e2af3b8afda88d58347e | [
"MIT"
] | 6 | 2020-12-15T09:31:02.000Z | 2021-12-12T09:42:05.000Z | tests/calculators/test_non_working_days_in_ago.py | fBedecarrats/school_meal_forecast_xgboost | ebb10a8395b9b8158685953b030e664337cf20e0 | [
"MIT"
] | 2 | 2021-12-12T09:57:38.000Z | 2022-01-27T22:01:22.000Z | tests/calculators/test_non_working_days_in_ago.py | fBedecarrats/school_meal_forecast_xgboost | ebb10a8395b9b8158685953b030e664337cf20e0 | [
"MIT"
] | 3 | 2021-02-25T07:49:31.000Z | 2022-01-10T09:57:39.000Z | #!/usr/bin/python3
import unittest
import pandas as pd
import app.calculators as calc
class TestNonWorkingDaysInAgo(unittest.TestCase):
# pylint: disable=too-many-statements
def test_add_feature_non_working_days_in_ago(self):
dtf = pd.DataFrame({
'index_date': ["2017-09-04", "2017-09-05"... | 58.847826 | 123 | 0.683413 | 411 | 2,707 | 4.167883 | 0.206813 | 0.168126 | 0.112084 | 0.214828 | 0.718039 | 0.716287 | 0.711033 | 0.637478 | 0.637478 | 0.637478 | 0 | 0.064322 | 0.13853 | 2,707 | 45 | 124 | 60.155556 | 0.67024 | 0.045807 | 0 | 0 | 0 | 0 | 0.320543 | 0 | 0 | 0 | 0 | 0 | 0.59375 | 1 | 0.03125 | false | 0 | 0.09375 | 0 | 0.15625 | 0.03125 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4376d914ca001b7bf891fdff8239c6c45bbf171b | 18,066 | py | Python | dl4s/CGRNN/CGRNN.py | liu2231665/Project-dl4s | 615d504caf6f05b676be1c25621d2dd94e41ec54 | [
"MIT"
] | null | null | null | dl4s/CGRNN/CGRNN.py | liu2231665/Project-dl4s | 615d504caf6f05b676be1c25621d2dd94e41ec54 | [
"MIT"
] | null | null | null | dl4s/CGRNN/CGRNN.py | liu2231665/Project-dl4s | 615d504caf6f05b676be1c25621d2dd94e41ec54 | [
"MIT"
] | null | null | null | """#########################################################################
Author: Yingru Liu
Institute: Stony Brook University
Descriptions: the file contains the model description of CGRNN.
----2017.11.15
#########################################################################"""
from .utility ... | 52.517442 | 132 | 0.496457 | 2,014 | 18,066 | 4.282522 | 0.149454 | 0.030609 | 0.029333 | 0.01113 | 0.791768 | 0.763014 | 0.749449 | 0.734957 | 0.727304 | 0.718261 | 0 | 0.013857 | 0.296967 | 18,066 | 343 | 133 | 52.670554 | 0.665223 | 0.163954 | 0 | 0.680365 | 0 | 0 | 0.007216 | 0 | 0 | 0 | 0 | 0.002915 | 0 | 1 | 0.050228 | false | 0 | 0.022831 | 0 | 0.123288 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
438c7596524513b6f5670e8c76aee46370387b73 | 44 | py | Python | application/flicket_admin/scripts/__init__.py | abbas0001/flicket | 547a5e783cccf157d10df88608440aa2919d7e7b | [
"MIT"
] | null | null | null | application/flicket_admin/scripts/__init__.py | abbas0001/flicket | 547a5e783cccf157d10df88608440aa2919d7e7b | [
"MIT"
] | null | null | null | application/flicket_admin/scripts/__init__.py | abbas0001/flicket | 547a5e783cccf157d10df88608440aa2919d7e7b | [
"MIT"
] | null | null | null | #! usr/bin/python3
# -*- coding: utf8 -*-
#
| 11 | 22 | 0.522727 | 5 | 44 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.181818 | 44 | 3 | 23 | 14.666667 | 0.583333 | 0.863636 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
43b031f1eca4348d81d92e84e0d56dd356e8d071 | 52 | py | Python | demo3.py | xinbaolai/we-are-a-team | 27c8f55e85171a984fb1d86519f59889a065b05f | [
"Apache-2.0"
] | null | null | null | demo3.py | xinbaolai/we-are-a-team | 27c8f55e85171a984fb1d86519f59889a065b05f | [
"Apache-2.0"
] | null | null | null | demo3.py | xinbaolai/we-are-a-team | 27c8f55e85171a984fb1d86519f59889a065b05f | [
"Apache-2.0"
] | null | null | null | print("aaaaaaaaaaa")
# aaaaaaaaaaaaaaaaaaaaaaaaaaaaa | 26 | 31 | 0.865385 | 3 | 52 | 15 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 52 | 2 | 31 | 26 | 0.9 | 0.557692 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 5 |
43b2bb59051229391be6c756bbab9a9435d21340 | 61 | py | Python | ex/24 (14).py | Time2003/lr7 | b47edaf11ced014022764b6c5edef34e4c107c0b | [
"MIT"
] | null | null | null | ex/24 (14).py | Time2003/lr7 | b47edaf11ced014022764b6c5edef34e4c107c0b | [
"MIT"
] | null | null | null | ex/24 (14).py | Time2003/lr7 | b47edaf11ced014022764b6c5edef34e4c107c0b | [
"MIT"
] | null | null | null | list_1 = [1, 2, 3]
list_2 = [4, 5, 6]
печать(list_1 + list_2) | 20.333333 | 23 | 0.590164 | 15 | 61 | 2.133333 | 0.533333 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204082 | 0.196721 | 61 | 3 | 23 | 20.333333 | 0.44898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
43c1e1436a273de9761fb418a69acb4083f66610 | 48 | py | Python | tests/admin_scripts/custom_templates/project_template/additional_dir/additional_file.py | jpmallarino/django | 659d2421c7adbbcd205604002d521d82d6b0b465 | [
"BSD-3-Clause",
"0BSD"
] | 61,676 | 2015-01-01T00:05:13.000Z | 2022-03-31T20:37:54.000Z | tests/admin_scripts/custom_templates/project_template/additional_dir/additional_file.py | jpmallarino/django | 659d2421c7adbbcd205604002d521d82d6b0b465 | [
"BSD-3-Clause",
"0BSD"
] | 8,884 | 2015-01-01T00:12:05.000Z | 2022-03-31T19:53:11.000Z | tests/admin_scripts/custom_templates/project_template/additional_dir/additional_file.py | jpmallarino/django | 659d2421c7adbbcd205604002d521d82d6b0b465 | [
"BSD-3-Clause",
"0BSD"
] | 33,143 | 2015-01-01T02:04:52.000Z | 2022-03-31T19:42:46.000Z | # some file for {{ project_name }} test project
| 24 | 47 | 0.708333 | 7 | 48 | 4.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 48 | 1 | 48 | 48 | 0.846154 | 0.9375 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
43d74a652bd2a097c24aea08f097fbb7b43e735e | 68,535 | py | Python | UGI/UGInfos_Latin.py | protimient/Glyphs-Scripts | 0481ea01153844667cff8cfa3fad97c33af09956 | [
"Apache-2.0"
] | 2 | 2021-02-12T20:36:29.000Z | 2021-11-03T08:04:01.000Z | UGI/UGInfos_Latin.py | protimient/Glyphs-Scripts | 0481ea01153844667cff8cfa3fad97c33af09956 | [
"Apache-2.0"
] | null | null | null | UGI/UGInfos_Latin.py | protimient/Glyphs-Scripts | 0481ea01153844667cff8cfa3fad97c33af09956 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from unifiedglyphinfo import CollectedGlyphInfos, xpos, ypos
def collect_infos(infos_dict):
return infos_dict.update(ugi.unified_infos)
ugi = CollectedGlyphInfos()
x = ugi('A')
x.addAnchor('ogonek', position_x=xpos.outline_right, position_y=ypos.base_line)
x.addAnchor('top', position_x... | 26.761031 | 90 | 0.683432 | 10,623 | 68,535 | 4.344535 | 0.043114 | 0.051309 | 0.166407 | 0.041255 | 0.856886 | 0.807267 | 0.758732 | 0.725841 | 0.674402 | 0.649983 | 0 | 0.00065 | 0.078952 | 68,535 | 2,560 | 91 | 26.771484 | 0.730483 | 0.002641 | 0 | 0.450386 | 0 | 0 | 0.226858 | 0.016433 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000514 | false | 0 | 0.000514 | 0.000514 | 0.001542 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
78e0db8d4e431aff800d3aa98bdef481cb8145b8 | 72 | py | Python | python/cuXfilter/charts/core/__init__.py | AjayThorve/cuxfilter | 537ff67de80439a43e0bad7373558f5e25dcb112 | [
"Apache-2.0"
] | 2 | 2019-03-06T02:10:05.000Z | 2020-05-06T06:33:02.000Z | python/cuXfilter/charts/core/__init__.py | AjayThorve/cuxfilter | 537ff67de80439a43e0bad7373558f5e25dcb112 | [
"Apache-2.0"
] | null | null | null | python/cuXfilter/charts/core/__init__.py | AjayThorve/cuxfilter | 537ff67de80439a43e0bad7373558f5e25dcb112 | [
"Apache-2.0"
] | null | null | null | # from .core_chart import BaseChart
from .core_widget import BaseWidget
| 24 | 35 | 0.833333 | 10 | 72 | 5.8 | 0.7 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 72 | 2 | 36 | 36 | 0.920635 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
60704c449624cf87e45044e11e5810c0b66d5d98 | 123 | py | Python | coolPro/app/module2/print_funs.py | airwindow/Python-Standard-Project | f975350b8eb05466198ae7e548b7ad63837fbd36 | [
"Apache-2.0"
] | null | null | null | coolPro/app/module2/print_funs.py | airwindow/Python-Standard-Project | f975350b8eb05466198ae7e548b7ad63837fbd36 | [
"Apache-2.0"
] | null | null | null | coolPro/app/module2/print_funs.py | airwindow/Python-Standard-Project | f975350b8eb05466198ae7e548b7ad63837fbd36 | [
"Apache-2.0"
] | null | null | null | def print_sth(s):
print('print from module2: {}'.format(s))
if __name__ == "__main__":
s = 'test in main'
print_sth(s) | 17.571429 | 42 | 0.650407 | 20 | 123 | 3.5 | 0.6 | 0.228571 | 0.257143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009709 | 0.162602 | 123 | 7 | 43 | 17.571429 | 0.669903 | 0 | 0 | 0 | 0 | 0 | 0.33871 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.2 | 0.6 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
6070e70603f7f80316ee8ceb1586ac237d30fa16 | 8,782 | py | Python | cakechat/dialog_model/inference/tests/sampling.py | sketscripter/emotional-chatbot-cakechat | 470df58a2206a0ea38b6bed53b20cbc63bd3de24 | [
"Apache-2.0"
] | 1,608 | 2018-01-31T15:22:29.000Z | 2022-03-30T19:59:16.000Z | cakechat/dialog_model/inference/tests/sampling.py | GaelicThunder/cakechat | 844507281b30d81b3fe3674895fe27826dba8438 | [
"Apache-2.0"
] | 60 | 2018-02-01T11:45:51.000Z | 2019-11-13T10:35:59.000Z | cakechat/dialog_model/inference/tests/sampling.py | GaelicThunder/cakechat | 844507281b30d81b3fe3674895fe27826dba8438 | [
"Apache-2.0"
] | 690 | 2018-01-31T17:57:19.000Z | 2022-03-30T07:07:41.000Z | import os
import sys
import unittest
import keras.backend as K
import numpy as np
from scipy.stats import binom
sys.path.append(
os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))))))
from cakechat.dialog_model.inference.candidates.sampling import TokenSam... | 47.47027 | 134 | 0.685151 | 1,115 | 8,782 | 5.038565 | 0.150673 | 0.044856 | 0.06408 | 0.076896 | 0.739231 | 0.734247 | 0.724101 | 0.724101 | 0.724101 | 0.707013 | 0 | 0.021314 | 0.230699 | 8,782 | 184 | 135 | 47.728261 | 0.810243 | 0.132772 | 0 | 0.642857 | 0 | 0 | 0.001053 | 0 | 0 | 0 | 0 | 0 | 0.092857 | 1 | 0.064286 | false | 0 | 0.057143 | 0 | 0.128571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
60eabdaede4a0a3f186c4178a0edb20e19aa9d93 | 919 | py | Python | prescience/labelling/__init__.py | grockious/bounded-prescience | cc1278fb4c077f67c611ef8ac00b00f0f2c4f433 | [
"BSD-3-Clause"
] | 1 | 2021-01-26T12:17:12.000Z | 2021-01-26T12:17:12.000Z | prescience/labelling/__init__.py | grockious/bounded-prescience | cc1278fb4c077f67c611ef8ac00b00f0f2c4f433 | [
"BSD-3-Clause"
] | null | null | null | prescience/labelling/__init__.py | grockious/bounded-prescience | cc1278fb4c077f67c611ef8ac00b00f0f2c4f433 | [
"BSD-3-Clause"
] | 2 | 2021-01-26T11:19:01.000Z | 2021-03-19T10:18:13.000Z | from prescience.labelling.Labeller import Labeller
from prescience.labelling.properties import get_property
from prescience.labelling.Freeway import Hit
from prescience.labelling.Death import Death
from prescience.labelling.Assault import Overheat
from prescience.labelling.Below_Reward import Below_Reward
from prescien... | 48.368421 | 78 | 0.887922 | 117 | 919 | 6.846154 | 0.350427 | 0.297129 | 0.48814 | 0.064919 | 0.284644 | 0.094881 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075082 | 919 | 18 | 79 | 51.055556 | 0.942353 | 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 | 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 | 5 |
60f34e774b0d6b2e49455d4416b4005f13149e47 | 61 | py | Python | python/LsstPwrCtrlCore/__init__.py | slaclab/lsst-pwr-ctrl-core | e37c38e2c55f0f0ee0f4b3691a93e2e3115f14e6 | [
"BSD-3-Clause-LBNL"
] | null | null | null | python/LsstPwrCtrlCore/__init__.py | slaclab/lsst-pwr-ctrl-core | e37c38e2c55f0f0ee0f4b3691a93e2e3115f14e6 | [
"BSD-3-Clause-LBNL"
] | 3 | 2018-04-04T05:39:39.000Z | 2018-07-09T19:48:49.000Z | python/LsstPwrCtrlCore/__init__.py | slaclab/lsst-pwr-ctrl-core | e37c38e2c55f0f0ee0f4b3691a93e2e3115f14e6 | [
"BSD-3-Clause-LBNL"
] | 1 | 2020-12-12T23:00:48.000Z | 2020-12-12T23:00:48.000Z | #!/usr/bin/env python
from LsstPwrCtrlCore._core import *
| 20.333333 | 38 | 0.737705 | 8 | 61 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147541 | 61 | 2 | 39 | 30.5 | 0.846154 | 0.327869 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
60fbdc350a85db1da17caf617ac7e1782a5ce36d | 187 | py | Python | test.py | Adolph-Anthony/study-reptile | d4ce637a25fba88bafb7f967b1813107792deab0 | [
"MIT"
] | null | null | null | test.py | Adolph-Anthony/study-reptile | d4ce637a25fba88bafb7f967b1813107792deab0 | [
"MIT"
] | null | null | null | test.py | Adolph-Anthony/study-reptile | d4ce637a25fba88bafb7f967b1813107792deab0 | [
"MIT"
] | null | null | null | import requests
'https://github.com/Adolph-Anthony'
'''
这样输入用户名密码访问
'''
r = requests.get('https://github.com/Adolph-Anthony', auth=('Adolph-Anthony', 'xujing518333'))
print(r.status_code) | 26.714286 | 94 | 0.73262 | 24 | 187 | 5.666667 | 0.625 | 0.286765 | 0.205882 | 0.294118 | 0.397059 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034091 | 0.058824 | 187 | 7 | 95 | 26.714286 | 0.738636 | 0 | 0 | 0 | 0 | 0 | 0.544379 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
88039fb2439cd25a5b0402eb23f897011f8a10b8 | 209 | py | Python | scicopia_tools/analyzers/__init__.py | pikatech/Scicopia-tools | 0e19d694adeae862e3db92779d204e4944cc47bc | [
"MIT"
] | null | null | null | scicopia_tools/analyzers/__init__.py | pikatech/Scicopia-tools | 0e19d694adeae862e3db92779d204e4944cc47bc | [
"MIT"
] | null | null | null | scicopia_tools/analyzers/__init__.py | pikatech/Scicopia-tools | 0e19d694adeae862e3db92779d204e4944cc47bc | [
"MIT"
] | 1 | 2021-06-18T16:00:35.000Z | 2021-06-18T16:00:35.000Z | from typing import Any, Dict
class Analyzer:
def __init__(self) -> None:
pass
def process(self, text: str) -> Dict[str, Any]:
return {}
def release_resources(self):
pass | 17.416667 | 51 | 0.593301 | 26 | 209 | 4.576923 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.301435 | 209 | 12 | 52 | 17.416667 | 0.815068 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.25 | 0.125 | 0.125 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
71878945872280fd57eabb5f850237bebed1775d | 104 | py | Python | autoran/oailte/epc/__init__.py | samiemostafavi/oai-ran-docker | cfaf8adbfdd1d3ed3f33388db74a43f17681f1d1 | [
"MIT"
] | null | null | null | autoran/oailte/epc/__init__.py | samiemostafavi/oai-ran-docker | cfaf8adbfdd1d3ed3f33388db74a43f17681f1d1 | [
"MIT"
] | 1 | 2022-02-25T13:09:34.000Z | 2022-02-25T13:09:34.000Z | autoran/oailte/epc/__init__.py | samiemostafavi/oai-ran-docker | cfaf8adbfdd1d3ed3f33388db74a43f17681f1d1 | [
"MIT"
] | null | null | null | from .EPC import Cassandra, HSS, MME, SPGWU, SPGWC, EvolvedPacketCore
from .EPCRouter import CoreRouter
| 34.666667 | 69 | 0.807692 | 13 | 104 | 6.461538 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 104 | 2 | 70 | 52 | 0.923077 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
71916609d9ca18d58e2a772a7d463fce867fce22 | 117 | py | Python | alpyca_launch/src/alpyca/launch/__init__.py | arturmiller/alpyca | 207eae92ebcdd593b7953ecb6ad4816215ecb516 | [
"MIT"
] | 3 | 2018-12-04T18:40:36.000Z | 2019-01-13T12:01:19.000Z | alpyca_launch/src/alpyca/launch/__init__.py | alpyca/alpyca | 207eae92ebcdd593b7953ecb6ad4816215ecb516 | [
"MIT"
] | 4 | 2019-01-21T19:50:56.000Z | 2019-02-02T06:32:11.000Z | alpyca_launch/src/alpyca/launch/__init__.py | alpyca/alpyca | 207eae92ebcdd593b7953ecb6ad4816215ecb516 | [
"MIT"
] | null | null | null | from launch import Launch, ParsingException
from master import Master
from node import Node
from runner import Runner | 29.25 | 43 | 0.854701 | 17 | 117 | 5.882353 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136752 | 117 | 4 | 44 | 29.25 | 0.990099 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
71c1e9f99f9864670fc3b18c6ad27a1e0229f8f3 | 244 | py | Python | src/compressario/compression_algorithms/__init__.py | ieaves/compressario | fd20ae36b283b119085f158c9fd0fb0e6f9f0242 | [
"MIT"
] | null | null | null | src/compressario/compression_algorithms/__init__.py | ieaves/compressario | fd20ae36b283b119085f158c9fd0fb0e6f9f0242 | [
"MIT"
] | null | null | null | src/compressario/compression_algorithms/__init__.py | ieaves/compressario | fd20ae36b283b119085f158c9fd0fb0e6f9f0242 | [
"MIT"
] | null | null | null | from compressario.compression_algorithms import type_compressions
from compressario.compression_algorithms.type_compressions import (
compress_float,
compress_integer,
compress_complex,
compress_object,
compress_datetime,
)
| 27.111111 | 67 | 0.819672 | 24 | 244 | 7.958333 | 0.541667 | 0.167539 | 0.282723 | 0.387435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139344 | 244 | 8 | 68 | 30.5 | 0.909524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 0 | 5 |
e07ba6e1a7821ae410823c5384434f389e5adaa7 | 129 | py | Python | code/playground/gopro_keepalive.py | manavjain99/oscar_buggy | b5dab0848f8667c9515bcfb078730cd0c4060000 | [
"MIT"
] | 3 | 2020-08-27T14:25:14.000Z | 2020-11-13T13:13:41.000Z | code/playground/gopro_keepalive.py | manavjain99/oscar_buggy | b5dab0848f8667c9515bcfb078730cd0c4060000 | [
"MIT"
] | null | null | null | code/playground/gopro_keepalive.py | manavjain99/oscar_buggy | b5dab0848f8667c9515bcfb078730cd0c4060000 | [
"MIT"
] | null | null | null | from goprocam import GoProCamera
from goprocam import constants
gopro = GoProCamera.GoPro()
gopro.stream("udp://127.0.0.1:10000") | 32.25 | 37 | 0.790698 | 19 | 129 | 5.368421 | 0.631579 | 0.235294 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09322 | 0.085271 | 129 | 4 | 37 | 32.25 | 0.771186 | 0 | 0 | 0 | 0 | 0 | 0.161538 | 0.161538 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e083faaec3780fd98a0dc60a6e17c56a35980f0c | 4,288 | py | Python | onnx/backend/test/case/model/gradient.py | L-Net-1992/onnx | acc127219b45bc27b0180b1fdc08299eac81b167 | [
"Apache-2.0"
] | 1 | 2022-03-04T03:29:37.000Z | 2022-03-04T03:29:37.000Z | onnx/backend/test/case/model/gradient.py | alsj213/onnx | 35092895d9bf3592e58f4710d098f8131afef259 | [
"Apache-2.0"
] | null | null | null | onnx/backend/test/case/model/gradient.py | alsj213/onnx | 35092895d9bf3592e58f4710d098f8131afef259 | [
"Apache-2.0"
] | 1 | 2022-03-27T19:17:02.000Z | 2022-03-27T19:17:02.000Z | # SPDX-License-Identifier: Apache-2.0
import numpy as np # type: ignore
import onnx
from onnx.defs import ONNX_DOMAIN, AI_ONNX_PREVIEW_TRAINING_DOMAIN
from ..base import Base
from . import expect
class Gradient(Base):
@staticmethod
def export_gradient_scalar_add() -> None:
add_node = onnx.helper.m... | 42.039216 | 80 | 0.485774 | 482 | 4,288 | 4.078838 | 0.147303 | 0.116989 | 0.163784 | 0.101729 | 0.837742 | 0.805188 | 0.70295 | 0.70295 | 0.666328 | 0.625636 | 0 | 0.013657 | 0.385261 | 4,288 | 101 | 81 | 42.455446 | 0.73217 | 0.044776 | 0 | 0.571429 | 0 | 0 | 0.057975 | 0.012231 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02381 | false | 0 | 0.083333 | 0 | 0.119048 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.