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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bc648c2976801da1917ecc20a8032cce85084bff | 72 | py | Python | vnegmas/backend/src/dynetx/readwrite/__init__.py | YueNing/vnegmas | e95adc56ee9aab8d6cd6f28cce04383e199dc2b8 | [
"MIT"
] | 3 | 2019-06-29T11:40:29.000Z | 2019-09-07T02:15:09.000Z | vnegmas/backend/src/dynetx/readwrite/__init__.py | YueNing/vnegmas | e95adc56ee9aab8d6cd6f28cce04383e199dc2b8 | [
"MIT"
] | null | null | null | vnegmas/backend/src/dynetx/readwrite/__init__.py | YueNing/vnegmas | e95adc56ee9aab8d6cd6f28cce04383e199dc2b8 | [
"MIT"
] | null | null | null | from ..readwrite.edgelist import *
from ..readwrite.json_graph import *
| 24 | 36 | 0.777778 | 9 | 72 | 6.111111 | 0.666667 | 0.472727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 72 | 2 | 37 | 36 | 0.859375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bcb4cbe870458bcf42356dd082ee6eaea4680eac | 43 | py | Python | backend/todo_app/serializers/__init__.py | nitinmehra/TodoApp | e1e8938330df6b59b8b064ac1a2dde61744d8392 | [
"MIT"
] | null | null | null | backend/todo_app/serializers/__init__.py | nitinmehra/TodoApp | e1e8938330df6b59b8b064ac1a2dde61744d8392 | [
"MIT"
] | null | null | null | backend/todo_app/serializers/__init__.py | nitinmehra/TodoApp | e1e8938330df6b59b8b064ac1a2dde61744d8392 | [
"MIT"
] | null | null | null | from .todo_serializer import TodoSerializer | 43 | 43 | 0.906977 | 5 | 43 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 43 | 1 | 43 | 43 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bcd94de810d9b5962438f44413d0ccf7a0a6c05f | 1,437 | py | Python | tests/yaml_cached_view_test.py | connorworley/service_configuration_lib | a25f0fa56119907ccd756817caf0275e8d73df0b | [
"Apache-2.0"
] | 6 | 2017-01-25T05:44:06.000Z | 2022-01-03T17:17:06.000Z | tests/yaml_cached_view_test.py | connorworley/service_configuration_lib | a25f0fa56119907ccd756817caf0275e8d73df0b | [
"Apache-2.0"
] | 27 | 2015-11-09T17:54:30.000Z | 2022-03-30T19:39:43.000Z | tests/yaml_cached_view_test.py | connorworley/service_configuration_lib | a25f0fa56119907ccd756817caf0275e8d73df0b | [
"Apache-2.0"
] | 14 | 2016-02-10T02:27:00.000Z | 2021-03-24T18:01:56.000Z | def test_yaml_configs_file_watcher_creation(yaml_configs_file_watcher):
assert len(yaml_configs_file_watcher.configs_view.configs['foo']) == 2
assert yaml_configs_file_watcher.configs_view.configs['foo']['smartstack'] == {'main.fake': 42}
assert yaml_configs_file_watcher.configs_view.configs['foo']['authori... | 57.48 | 105 | 0.789144 | 208 | 1,437 | 4.985577 | 0.197115 | 0.190935 | 0.260366 | 0.381871 | 0.818708 | 0.818708 | 0.790743 | 0.661524 | 0.661524 | 0.572806 | 0 | 0.006944 | 0.098121 | 1,437 | 24 | 106 | 59.875 | 0.79321 | 0.059151 | 0 | 0.375 | 0 | 0 | 0.099333 | 0 | 0 | 0 | 0 | 0 | 0.5625 | 1 | 0.1875 | false | 0 | 0 | 0 | 0.1875 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bcdb3577158d523bcb302d0df0cc1c204ef64249 | 33 | py | Python | Week 1: Integers, I-O, simple string operations/08.py | MLunov/Python-programming-basics-HSE | 7df8bba105db84d6b932c454fdc39193a648254e | [
"MIT"
] | null | null | null | Week 1: Integers, I-O, simple string operations/08.py | MLunov/Python-programming-basics-HSE | 7df8bba105db84d6b932c454fdc39193a648254e | [
"MIT"
] | null | null | null | Week 1: Integers, I-O, simple string operations/08.py | MLunov/Python-programming-basics-HSE | 7df8bba105db84d6b932c454fdc39193a648254e | [
"MIT"
] | null | null | null | print((int(input()) // 10) % 10)
| 16.5 | 32 | 0.515152 | 5 | 33 | 3.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.151515 | 33 | 1 | 33 | 33 | 0.464286 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
4c1675ca4910a9c71cb9af45310593328acbc528 | 111 | py | Python | multipeak/__init__.py | graphenestandards/raman | 045ba19dedb269b133c65ce8b01d8ce8c25335b7 | [
"MIT"
] | 2 | 2018-10-01T14:16:42.000Z | 2019-03-26T02:27:27.000Z | multipeak/__init__.py | graphenestandards/raman | 045ba19dedb269b133c65ce8b01d8ce8c25335b7 | [
"MIT"
] | null | null | null | multipeak/__init__.py | graphenestandards/raman | 045ba19dedb269b133c65ce8b01d8ce8c25335b7 | [
"MIT"
] | 1 | 2020-01-04T11:30:13.000Z | 2020-01-04T11:30:13.000Z | from .multipeak import printmd, Dataset, MultiPseudoVoigtModel
from .grapheneRaman import GrapheneModelResults
| 37 | 62 | 0.873874 | 10 | 111 | 9.7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09009 | 111 | 2 | 63 | 55.5 | 0.960396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
4c43212b160294ce98d9839a02e9d07df72d7ad6 | 3,303 | py | Python | acr_module/acr/preprocessing/word_embeddings.py | 13520505/bigdataproj | 09202c7e13366726415b1111cc93d3083d102cb3 | [
"MIT"
] | null | null | null | acr_module/acr/preprocessing/word_embeddings.py | 13520505/bigdataproj | 09202c7e13366726415b1111cc93d3083d102cb3 | [
"MIT"
] | 9 | 2020-01-28T23:07:43.000Z | 2022-02-10T00:36:23.000Z | acr_module/acr/preprocessing/word_embeddings.py | 13520505/bigdataproj | 09202c7e13366726415b1111cc93d3083d102cb3 | [
"MIT"
] | null | null | null | import numpy as np
from gensim.models.keyedvectors import KeyedVectors
from ..utils import serialize
from ..acr_commons import PAD_TOKEN, UNK_TOKEN
def load_word_embeddings(path, binary=True):
w2v_model = KeyedVectors.load_word2vec_format(path, binary=binary)
return w2v_model
# for model vietnamese, conflic... | 37.534091 | 102 | 0.718438 | 468 | 3,303 | 4.724359 | 0.188034 | 0.043419 | 0.035278 | 0.037992 | 0.791949 | 0.765717 | 0.765717 | 0.733605 | 0.733605 | 0.733605 | 0 | 0.02609 | 0.187708 | 3,303 | 88 | 103 | 37.534091 | 0.797987 | 0.021193 | 0 | 0.711864 | 0 | 0 | 0.07428 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.084746 | false | 0 | 0.067797 | 0 | 0.220339 | 0.101695 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4c70d474146e85ddf0c2c965050a44e6d6c12bb5 | 9,216 | py | Python | applications/structural_application/custom_problemtype/write_cnd.py | AndreaVoltan/MyKratos7.0 | e977752722e8ef1b606f25618c4bf8fd04c434cc | [
"BSD-4-Clause"
] | 2 | 2020-04-30T19:13:08.000Z | 2021-04-14T19:40:47.000Z | applications/structural_application/custom_problemtype/write_cnd.py | AndreaVoltan/MyKratos7.0 | e977752722e8ef1b606f25618c4bf8fd04c434cc | [
"BSD-4-Clause"
] | 1 | 2020-04-30T19:19:09.000Z | 2020-05-02T14:22:36.000Z | applications/structural_application/custom_problemtype/write_cnd.py | AndreaVoltan/MyKratos7.0 | e977752722e8ef1b606f25618c4bf8fd04c434cc | [
"BSD-4-Clause"
] | 1 | 2020-06-12T08:51:24.000Z | 2020-06-12T08:51:24.000Z | from __future__ import print_function, absolute_import, division #makes KratosMultiphysics backward compatible with python 2.6 and 2.7
import string;
import basicfunctions;
#
def WriteScalarCond(name, condtype, meshtype, projectname, domaintype):
newsection = ''
if (string.count(condtype, 'p') >= 1):
... | 39.724138 | 135 | 0.698025 | 1,018 | 9,216 | 6.287819 | 0.096267 | 0.044993 | 0.073114 | 0.078738 | 0.869552 | 0.819872 | 0.793314 | 0.773942 | 0.76488 | 0.687549 | 0 | 0.014814 | 0.128364 | 9,216 | 231 | 136 | 39.896104 | 0.782024 | 0.489366 | 0 | 0.3875 | 0 | 0.0375 | 0.204814 | 0.055361 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.0375 | 0 | 0.175 | 0.0125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d5e4a58c9e17f368c0538057145ccd4c027f0619 | 115 | py | Python | server/views/__init__.py | dpuljic01/financial-dashboard | 95ccde046597c281448ba29e903c26685a248e18 | [
"MIT"
] | 13 | 2020-09-12T00:15:02.000Z | 2022-03-11T12:34:26.000Z | server/views/__init__.py | dpuljic01/masters-thesis | 95ccde046597c281448ba29e903c26685a248e18 | [
"MIT"
] | 7 | 2020-09-11T21:36:53.000Z | 2022-02-27T09:18:00.000Z | server/views/__init__.py | dpuljic01/masters-thesis | 95ccde046597c281448ba29e903c26685a248e18 | [
"MIT"
] | 5 | 2020-11-08T08:16:40.000Z | 2022-02-07T20:39:03.000Z | from server.views import auth, news, portfolio, user, tickers
blueprints = (auth, news, portfolio, user, tickers)
| 28.75 | 61 | 0.756522 | 15 | 115 | 5.8 | 0.666667 | 0.183908 | 0.390805 | 0.482759 | 0.643678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13913 | 115 | 3 | 62 | 38.333333 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
910f96ce8dcf7f7adc55b498c61114d65743e306 | 43,931 | py | Python | autolrn/classification/train_calibrate.py | SimonCarozza/autolrn | d0875844a3e9b4fc22510ef320aa498e339b6192 | [
"MIT"
] | null | null | null | autolrn/classification/train_calibrate.py | SimonCarozza/autolrn | d0875844a3e9b4fc22510ef320aa498e339b6192 | [
"MIT"
] | null | null | null | autolrn/classification/train_calibrate.py | SimonCarozza/autolrn | d0875844a3e9b4fc22510ef320aa498e339b6192 | [
"MIT"
] | null | null | null | """
This module allows you to tune and calibrate the best estimator.
This module allows you to tune and calibrate the best estimator
returned by nested cv evaluation, and to just calibrate
the best estimator returned by the non-nested cv evaluation.
"""
from sklearn.calibration import CalibratedClassifierCV
import... | 34.591339 | 92 | 0.60438 | 5,513 | 43,931 | 4.483947 | 0.078904 | 0.059345 | 0.059426 | 0.015372 | 0.806553 | 0.78034 | 0.74551 | 0.719741 | 0.70801 | 0.68661 | 0 | 0.00956 | 0.299948 | 43,931 | 1,269 | 93 | 34.618597 | 0.794238 | 0.143407 | 0 | 0.654289 | 0 | 0 | 0.184799 | 0.016409 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010243 | false | 0 | 0.024328 | 0 | 0.038412 | 0.248399 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9110644e34a91156a14239ac1b816c7ffe345127 | 31 | py | Python | graph_ensemble/wrappers/__init__.py | YotamFY/GraphEnsemble | a636feb1084a8b45aa1754034744281277474dd1 | [
"BSD-3-Clause"
] | 2 | 2017-11-15T14:08:34.000Z | 2017-11-18T10:43:07.000Z | graph_ensemble/wrappers/__init__.py | YotamFY/GraphEnsemble | a636feb1084a8b45aa1754034744281277474dd1 | [
"BSD-3-Clause"
] | 2 | 2017-11-04T14:33:30.000Z | 2017-11-18T10:42:52.000Z | graph_ensemble/wrappers/__init__.py | YotamFY/GraphEnsemble | a636feb1084a8b45aa1754034744281277474dd1 | [
"BSD-3-Clause"
] | null | null | null | from sklearn_wrapper import *
| 10.333333 | 29 | 0.806452 | 4 | 31 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 2 | 30 | 15.5 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
912e8989a18ad101c36787dc7de396be821ea550 | 175 | py | Python | keras/datasets/__init__.py | nils-werner/keras | 78f26df8fb2b8aa5c6262aef44a494a8335a9c6e | [
"MIT"
] | 30 | 2017-04-11T04:17:22.000Z | 2020-09-08T08:18:37.000Z | keras/datasets/__init__.py | candleinwindsteve/keras | 9eb7ecd3e525c9cff31ebd59a96794f212ca5e1e | [
"MIT"
] | 8 | 2020-09-26T00:55:16.000Z | 2022-03-12T00:23:07.000Z | udacity-car/lib/python2.7/site-packages/keras/datasets/__init__.py | 808brick/CarND-Capstone | f9e536b4a9d96322d7e971073602c8969dbd9369 | [
"MIT"
] | 21 | 2017-03-27T08:06:11.000Z | 2020-06-18T09:35:07.000Z | from __future__ import absolute_import
from . import mnist
from . import imdb
from . import reuters
from . import cifar10
from . import cifar100
from . import boston_housing
| 19.444444 | 38 | 0.8 | 24 | 175 | 5.583333 | 0.458333 | 0.447761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034247 | 0.165714 | 175 | 8 | 39 | 21.875 | 0.883562 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e68764071b92826b6642ca0a264ae0893e184c3d | 93 | py | Python | unravel/admin/document_tag_admin.py | cofiem/logomachy | fed77dc4b821f25a60fd9b9474c232107fe98f53 | [
"Apache-2.0"
] | null | null | null | unravel/admin/document_tag_admin.py | cofiem/logomachy | fed77dc4b821f25a60fd9b9474c232107fe98f53 | [
"Apache-2.0"
] | 1 | 2017-10-29T08:16:02.000Z | 2017-10-30T14:19:59.000Z | unravel/admin/document_tag_admin.py | cofiem/logomachy | fed77dc4b821f25a60fd9b9474c232107fe98f53 | [
"Apache-2.0"
] | null | null | null | from unravel.admin.base_admin import BaseAdmin
class DocumentTagAdmin(BaseAdmin):
pass
| 15.5 | 46 | 0.806452 | 11 | 93 | 6.727273 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139785 | 93 | 5 | 47 | 18.6 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
e6993dd0f9a93fd195df6150af1e21d909ae0c46 | 44 | py | Python | topojson/__init__.py | ataalik/topojson.py | 111bfd80fd338ac5d951d8d5ada8ee1471e00a31 | [
"BSD-3-Clause"
] | null | null | null | topojson/__init__.py | ataalik/topojson.py | 111bfd80fd338ac5d951d8d5ada8ee1471e00a31 | [
"BSD-3-Clause"
] | null | null | null | topojson/__init__.py | ataalik/topojson.py | 111bfd80fd338ac5d951d8d5ada8ee1471e00a31 | [
"BSD-3-Clause"
] | null | null | null | from .conversion import convert as topojson
| 22 | 43 | 0.840909 | 6 | 44 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 44 | 1 | 44 | 44 | 0.973684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fc00b4b8eb1f1a7ffa6a78087f0d3c93b2b3fc81 | 200 | py | Python | copydog/utils/task.py | coagulant/copydog | 81a64738dbcfd6d1149fda914382f08202a3864a | [
"BSD-3-Clause"
] | 16 | 2015-01-04T20:40:08.000Z | 2018-01-24T20:19:12.000Z | copydog/utils/task.py | coagulant/copydog | 81a64738dbcfd6d1149fda914382f08202a3864a | [
"BSD-3-Clause"
] | 3 | 2015-09-18T10:05:00.000Z | 2021-03-25T21:27:26.000Z | copydog/utils/task.py | coagulant/copydog | 81a64738dbcfd6d1149fda914382f08202a3864a | [
"BSD-3-Clause"
] | 5 | 2015-04-21T15:07:08.000Z | 2017-09-01T17:06:58.000Z | # -*- coding: utf-8 -*-
def periodic(scheduler, interval, action, actionargs=()):
scheduler.enter(interval, 1, periodic,
(scheduler, interval, action, actionargs))
action(*actionargs) | 33.333333 | 57 | 0.67 | 20 | 200 | 6.7 | 0.55 | 0.358209 | 0.373134 | 0.462687 | 0.61194 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.17 | 200 | 6 | 58 | 33.333333 | 0.795181 | 0.105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fc2b8abc97922d576ccd8ba092119618fd732632 | 6,842 | py | Python | test/test_convert_pes.py | EmbroiderPy/pyembroidery | 3d0db61e7a08bba8e51f4e5873ebfa678c12960b | [
"MIT"
] | null | null | null | test/test_convert_pes.py | EmbroiderPy/pyembroidery | 3d0db61e7a08bba8e51f4e5873ebfa678c12960b | [
"MIT"
] | null | null | null | test/test_convert_pes.py | EmbroiderPy/pyembroidery | 3d0db61e7a08bba8e51f4e5873ebfa678c12960b | [
"MIT"
] | null | null | null | from __future__ import print_function
import unittest
from pyembroidery import *
from test.pattern_for_tests import *
class TestConverts(unittest.TestCase):
def position_equals(self, stitches, j, k):
self.assertEqual(stitches[j][:1], stitches[k][:1])
def test_convert_pes_to_u01(self):
file1... | 38.655367 | 75 | 0.668372 | 895 | 6,842 | 4.803352 | 0.068156 | 0.111654 | 0.078158 | 0.107467 | 0.813212 | 0.801349 | 0.743196 | 0.743196 | 0.743196 | 0.743196 | 0 | 0.032598 | 0.22435 | 6,842 | 176 | 76 | 38.875 | 0.777464 | 0 | 0 | 0.529801 | 0 | 0 | 0.063432 | 0 | 0 | 0 | 0 | 0 | 0.205298 | 1 | 0.07947 | false | 0 | 0.02649 | 0 | 0.112583 | 0.072848 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fc3030bbf373749ce797dd5a92ba404e7f2df4f8 | 1,138 | py | Python | src/AOJ/ITP1_6_C.py | nabetama-training/CompetitionProgrammingPractice | 0801173df3992c2e78b02b383f2df9ba792cbf2f | [
"BSD-2-Clause"
] | null | null | null | src/AOJ/ITP1_6_C.py | nabetama-training/CompetitionProgrammingPractice | 0801173df3992c2e78b02b383f2df9ba792cbf2f | [
"BSD-2-Clause"
] | 2 | 2020-07-04T04:19:28.000Z | 2020-07-26T06:16:07.000Z | src/AOJ/ITP1_6_C.py | nabetama-training/CompetitionProgrammingPractice | 0801173df3992c2e78b02b383f2df9ba792cbf2f | [
"BSD-2-Clause"
] | null | null | null | def resolve():
# bills = [
# [
# [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
# [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
# [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
# ],
# [
# [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
# [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
# [0, 0, 0... | 28.45 | 74 | 0.282953 | 186 | 1,138 | 1.709677 | 0.150538 | 0.748428 | 1.113208 | 1.471698 | 0.377358 | 0.377358 | 0.377358 | 0.377358 | 0.377358 | 0.377358 | 0 | 0.215947 | 0.471002 | 1,138 | 39 | 75 | 29.179487 | 0.312292 | 0.477153 | 0 | 0 | 0 | 0 | 0.04021 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0 | 0 | 0.071429 | 0.214286 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fc398e96a4e8b1a14aa331e080cf17290c4f7ca7 | 27 | py | Python | out_packg/main.py | Firekiss/python_learn | 15922af566a08924834ff924982a36a65b724bbf | [
"MIT"
] | null | null | null | out_packg/main.py | Firekiss/python_learn | 15922af566a08924834ff924982a36a65b724bbf | [
"MIT"
] | null | null | null | out_packg/main.py | Firekiss/python_learn | 15922af566a08924834ff924982a36a65b724bbf | [
"MIT"
] | null | null | null | def main():
print('main') | 13.5 | 15 | 0.592593 | 4 | 27 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 2 | 15 | 13.5 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
fc77ec8ac86182c524326f90ac9990cd6235a2bf | 124 | py | Python | bin/src/seq_len.py | pzross/pfsr1-motif | e9bbf370b59680436d9a22d691a522b7d1a59a32 | [
"MIT"
] | null | null | null | bin/src/seq_len.py | pzross/pfsr1-motif | e9bbf370b59680436d9a22d691a522b7d1a59a32 | [
"MIT"
] | null | null | null | bin/src/seq_len.py | pzross/pfsr1-motif | e9bbf370b59680436d9a22d691a522b7d1a59a32 | [
"MIT"
] | null | null | null | def seq_len(sequence):
#sequence = sequence.replace("\n", "")
sequence = sequence.replace("\r", "")
return len(sequence)
| 24.8 | 39 | 0.669355 | 15 | 124 | 5.466667 | 0.533333 | 0.585366 | 0.560976 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120968 | 124 | 4 | 40 | 31 | 0.752294 | 0.298387 | 0 | 0 | 0 | 0 | 0.023256 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
5d8ccb20542df2a417135ed2c8ec46527e233a4f | 207 | py | Python | tests/test_problem30.py | nolanwrightdev/blind-75-python | b92ef3449eb0143c760ddd339897a3f0a2972830 | [
"MIT"
] | 6 | 2020-02-01T23:29:51.000Z | 2022-02-20T20:46:56.000Z | tests/test_problem30.py | nolanwrightdev/blind-75-python | b92ef3449eb0143c760ddd339897a3f0a2972830 | [
"MIT"
] | null | null | null | tests/test_problem30.py | nolanwrightdev/blind-75-python | b92ef3449eb0143c760ddd339897a3f0a2972830 | [
"MIT"
] | null | null | null | import unittest
from problems.problem30 import solution
class Test(unittest.TestCase):
def test(self):
self.assertEqual(solution([7, 1, 5, 3, 6, 4]), 5)
self.assertEqual(solution([7, 6, 4, 3, 1]), 0)
| 23 | 51 | 0.695652 | 33 | 207 | 4.363636 | 0.575758 | 0.208333 | 0.319444 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084746 | 0.144928 | 207 | 8 | 52 | 25.875 | 0.728814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 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 | 1 | 0 | 1 | 0 | 0 | 6 |
5da76418571acf80c2956f0a0d9098011db947be | 43 | py | Python | hello world.py | 1172100327/hit-1172100327 | 3d162f46cd765f2581991fecf7796fae8453f0e1 | [
"MIT"
] | null | null | null | hello world.py | 1172100327/hit-1172100327 | 3d162f46cd765f2581991fecf7796fae8453f0e1 | [
"MIT"
] | 1 | 2019-07-07T10:26:33.000Z | 2019-07-07T10:26:33.000Z | hello world.py | 1172100327/hit-1172100327 | 3d162f46cd765f2581991fecf7796fae8453f0e1 | [
"MIT"
] | 1 | 2019-07-07T10:09:48.000Z | 2019-07-07T10:09:48.000Z | print("hello world")
print("hello python")
| 14.333333 | 21 | 0.72093 | 6 | 43 | 5.166667 | 0.666667 | 0.645161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 2 | 22 | 21.5 | 0.794872 | 0 | 0 | 0 | 0 | 0 | 0.534884 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
5dd143f87ce4bc538e283a0ba125a465a5f58cbb | 70 | py | Python | utils/__init__.py | alessandrolamberti/voice_gender_recognition | 95cc25a239cb78cc451632474e3307c676f658ee | [
"MIT"
] | 1 | 2022-01-31T13:02:27.000Z | 2022-01-31T13:02:27.000Z | utils/__init__.py | alessandrolamberti/voice_gender_recognition | 95cc25a239cb78cc451632474e3307c676f658ee | [
"MIT"
] | null | null | null | utils/__init__.py | alessandrolamberti/voice_gender_recognition | 95cc25a239cb78cc451632474e3307c676f658ee | [
"MIT"
] | null | null | null | from .audio import *
from .preprocess import *
from .database import * | 23.333333 | 25 | 0.757143 | 9 | 70 | 5.888889 | 0.555556 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157143 | 70 | 3 | 26 | 23.333333 | 0.898305 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b9057e092d022a74f9413b63058254a4f9ecc606 | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/lib/tests/test_recfunctions.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/lib/tests/test_recfunctions.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/lib/tests/test_recfunctions.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/a9/08/d1/1ed20267038fe30bf947d889ab58b81a90772e43b1c98262cf4ad9537e | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.447917 | 0 | 96 | 1 | 96 | 96 | 0.447917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f8eac8bd36b86ba853fab2bec106dcd5c1bbb2d9 | 436 | py | Python | smtwiki/core/views.py | seahurt/smtwiki | 98a5a53fb50ab558a88c6ef2fe907c5d7882a600 | [
"MIT"
] | null | null | null | smtwiki/core/views.py | seahurt/smtwiki | 98a5a53fb50ab558a88c6ef2fe907c5d7882a600 | [
"MIT"
] | null | null | null | smtwiki/core/views.py | seahurt/smtwiki | 98a5a53fb50ab558a88c6ef2fe907c5d7882a600 | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def login(request):
pass
def logout(request):
pass
def home(request):
pass
def profile(request):
pass
def category_view(request):
pass
def tag_view(request):
pass
def archive(request):
pass
def user_doc_view(reques... | 9.276596 | 35 | 0.669725 | 58 | 436 | 4.948276 | 0.431034 | 0.421603 | 0.487805 | 0.250871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247706 | 436 | 46 | 36 | 9.478261 | 0.875 | 0.052752 | 0 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.478261 | false | 0.478261 | 0.043478 | 0 | 0.521739 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
5d0c739576fa227182f3e4456e44795db4abf47e | 45 | py | Python | pyhac/tracker/__init__.py | zroger49/hac | 5905369344c985d5293d572a610c82308306e385 | [
"Apache-2.0"
] | 28 | 2021-08-18T09:33:30.000Z | 2021-11-08T09:14:35.000Z | pyhac/tracker/__init__.py | zroger49/hac | 5905369344c985d5293d572a610c82308306e385 | [
"Apache-2.0"
] | 3 | 2021-08-19T14:01:25.000Z | 2021-09-06T10:57:46.000Z | pyhac/tracker/__init__.py | zroger49/hac | 5905369344c985d5293d572a610c82308306e385 | [
"Apache-2.0"
] | 4 | 2021-08-12T02:35:17.000Z | 2021-09-21T18:35:16.000Z | from .holistic_tracker import HolisticTracker | 45 | 45 | 0.911111 | 5 | 45 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 45 | 1 | 45 | 45 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5d123c11b362dc8304b5d14baa5ea8f06faa934f | 13,044 | py | Python | wrappers/python/TestMPINInstall.py | skair39/milagro-crypto-c | 819e856f4648d2113891e226da74a5466038f820 | [
"Apache-2.0"
] | 1 | 2021-07-13T20:22:34.000Z | 2021-07-13T20:22:34.000Z | wrappers/python/TestMPINInstall.py | skair39/milagro-crypto-c | 819e856f4648d2113891e226da74a5466038f820 | [
"Apache-2.0"
] | null | null | null | wrappers/python/TestMPINInstall.py | skair39/milagro-crypto-c | 819e856f4648d2113891e226da74a5466038f820 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
"""
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License")... | 32.207407 | 220 | 0.614842 | 1,720 | 13,044 | 4.533721 | 0.148256 | 0.10772 | 0.115414 | 0.116953 | 0.756091 | 0.749936 | 0.725827 | 0.717363 | 0.717363 | 0.688895 | 0 | 0.048918 | 0.294772 | 13,044 | 404 | 221 | 32.287129 | 0.798782 | 0.248083 | 0 | 0.73516 | 0 | 0 | 0.036249 | 0.02396 | 0 | 0 | 0 | 0 | 0.269406 | 1 | 0.045662 | false | 0 | 0.022831 | 0 | 0.073059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5d158d2020aa8bbd22f2857f2541159609242ac3 | 2,290 | py | Python | temboo/core/Library/Genability/TariffData/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Genability/TariffData/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Genability/TariffData/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Genability.TariffData.GetLoadServingEntities import GetLoadServingEntities, GetLoadServingEntitiesInputSet, GetLoadServingEntitiesResultSet, GetLoadServingEntitiesChoreographyExecution
from temboo.Library.Genability.TariffData.GetLoadServingEntity import GetLoadServingEntity, GetLoadServingEntityInp... | 163.571429 | 224 | 0.920524 | 143 | 2,290 | 14.741259 | 0.405594 | 0.06167 | 0.104839 | 0.166509 | 0.228178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039738 | 2,290 | 13 | 225 | 176.153846 | 0.958618 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5d248b5311805cc669f597a0049416f9ae77266a | 38 | py | Python | djmo/__init__.py | davidegriffon/djmo | 853212471e59a0fa49d22f17cf57caeb552783f8 | [
"MIT"
] | 5 | 2015-12-09T08:13:03.000Z | 2019-05-12T07:14:25.000Z | djmo/__init__.py | davidegriffon/djmo | 853212471e59a0fa49d22f17cf57caeb552783f8 | [
"MIT"
] | null | null | null | djmo/__init__.py | davidegriffon/djmo | 853212471e59a0fa49d22f17cf57caeb552783f8 | [
"MIT"
] | null | null | null | from .decorators import observe_models | 38 | 38 | 0.894737 | 5 | 38 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 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 | 1 | 0 | 0 | 6 |
5d315c96b6def878c27f286d34a91c832bc294f7 | 151 | py | Python | backend/milestone/admin.py | Tim6FTN/UKS | 3cf19f014cdc7845bf0b808b97c4e05dc49b062e | [
"MIT"
] | 1 | 2021-01-10T12:34:59.000Z | 2021-01-10T12:34:59.000Z | backend/milestone/admin.py | Tim6FTN/UKS | 3cf19f014cdc7845bf0b808b97c4e05dc49b062e | [
"MIT"
] | 37 | 2021-01-07T22:31:25.000Z | 2021-02-20T10:59:46.000Z | backend/milestone/admin.py | Tim6FTN/UKS | 3cf19f014cdc7845bf0b808b97c4e05dc49b062e | [
"MIT"
] | null | null | null | from django.contrib import admin
from milestone.models import Milestone
@admin.register(Milestone)
class MilestoneAdmin(admin.ModelAdmin):
pass
| 16.777778 | 39 | 0.807947 | 18 | 151 | 6.777778 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125828 | 151 | 8 | 40 | 18.875 | 0.924242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
5d5e1f970af6a7da6a0898e0dcd906b99ed1998a | 26 | py | Python | tests/lif/gt.py | Mieschendahl/assignment-final-stub | 19eea657fcc4f8a455c42028f34b918628514cc0 | [
"MIT"
] | null | null | null | tests/lif/gt.py | Mieschendahl/assignment-final-stub | 19eea657fcc4f8a455c42028f34b918628514cc0 | [
"MIT"
] | 1 | 2022-03-20T11:08:45.000Z | 2022-03-20T11:08:45.000Z | tests/lif/gt.py | Mieschendahl/assignment-final-stub | 19eea657fcc4f8a455c42028f34b918628514cc0 | [
"MIT"
] | 6 | 2022-03-13T13:10:25.000Z | 2022-03-28T22:18:12.000Z | print(42 if 2 > 1 else 0)
| 13 | 25 | 0.615385 | 7 | 26 | 2.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 0.269231 | 26 | 1 | 26 | 26 | 0.578947 | 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 | 1 | 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 | 6 |
5d6e70f84903dda3c7d973e8058e45ce37dfba6f | 29 | py | Python | pam/plot/__init__.py | JosePazNoguera/pam | afb580c57223acd01466938eea8dc3d83097d5dd | [
"MIT"
] | 29 | 2020-04-10T23:24:26.000Z | 2021-05-21T12:30:03.000Z | pam/plot/__init__.py | JosePazNoguera/pam | afb580c57223acd01466938eea8dc3d83097d5dd | [
"MIT"
] | 63 | 2020-04-29T19:02:11.000Z | 2022-03-29T14:02:04.000Z | pam/plot/__init__.py | JosePazNoguera/pam | afb580c57223acd01466938eea8dc3d83097d5dd | [
"MIT"
] | 13 | 2020-04-16T19:00:18.000Z | 2022-03-18T14:42:48.000Z | from pam.plot.plans import *
| 14.5 | 28 | 0.758621 | 5 | 29 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
538ab429e510bf4bccf77006e4af82d638cd8152 | 20,123 | py | Python | pycle/bicycle-scrapes/epey-scrape/downLink0.py | fusuyfusuy/School-Projects | 8e38f19da90f63ac9c9ec91e550fc5aaab3d0234 | [
"MIT"
] | null | null | null | pycle/bicycle-scrapes/epey-scrape/downLink0.py | fusuyfusuy/School-Projects | 8e38f19da90f63ac9c9ec91e550fc5aaab3d0234 | [
"MIT"
] | null | null | null | pycle/bicycle-scrapes/epey-scrape/downLink0.py | fusuyfusuy/School-Projects | 8e38f19da90f63ac9c9ec91e550fc5aaab3d0234 | [
"MIT"
] | null | null | null |
from bs4 import BeautifulSoup
import os
import wget
from urllib.request import Request, urlopen
bicycles=[{'name': 'Corelli Snoop 5.1 Bisiklet', 'link': 'https://www.epey.com/bisiklet/corelli-snoop-5-1.html'}, {'name': 'Corelli Snoop 5.2 Bisiklet', 'link': 'https://www.epey.com/bisiklet/corelli-snoop-5-2.html'}, {'na... | 914.681818 | 19,543 | 0.690354 | 3,082 | 20,123 | 4.507138 | 0.119727 | 0.157224 | 0.222734 | 0.26204 | 0.658556 | 0.602044 | 0.586711 | 0.569577 | 0.347635 | 0.112159 | 0 | 0.059512 | 0.07812 | 20,123 | 21 | 19,544 | 958.238095 | 0.689289 | 0 | 0 | 0 | 0 | 2.055556 | 0.81642 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.222222 | 0 | 0.222222 | 0.166667 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
54f52e70486d5eae11668b4275dbe49b4a320e05 | 211 | py | Python | ramda/F_test.py | jakobkolb/ramda.py | 982b2172f4bb95b9a5b09eff8077362d6f2f0920 | [
"MIT"
] | 56 | 2018-08-06T08:44:58.000Z | 2022-03-17T09:49:03.000Z | ramda/F_test.py | jakobkolb/ramda.py | 982b2172f4bb95b9a5b09eff8077362d6f2f0920 | [
"MIT"
] | 28 | 2019-06-17T11:09:52.000Z | 2022-02-18T16:59:21.000Z | ramda/F_test.py | jakobkolb/ramda.py | 982b2172f4bb95b9a5b09eff8077362d6f2f0920 | [
"MIT"
] | 5 | 2019-09-18T09:24:38.000Z | 2021-07-21T08:40:23.000Z | from ramda.F import F
def F_test():
assert not F(1, 2, 3, 4), "Should be False"
assert not F(False), "Should be False"
assert not F(True), "Should be False"
assert not F({}), "Should be False"
| 23.444444 | 47 | 0.620853 | 38 | 211 | 3.421053 | 0.421053 | 0.276923 | 0.307692 | 0.438462 | 0.530769 | 0.530769 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.241706 | 211 | 8 | 48 | 26.375 | 0.7875 | 0 | 0 | 0 | 0 | 0 | 0.28436 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
54f70c16e4fa8abebe2028e0531c90f83ebe9a10 | 131 | py | Python | addition_module/DSDG/data/__init__.py | weihaoxie/FaceX-Zoo | db0b087e4f4d28152e172d6c8d3767a8870733b4 | [
"Apache-2.0"
] | 1 | 2022-02-07T02:03:37.000Z | 2022-02-07T02:03:37.000Z | addition_module/DSDG/data/__init__.py | weihaoxie/FaceX-Zoo | db0b087e4f4d28152e172d6c8d3767a8870733b4 | [
"Apache-2.0"
] | null | null | null | addition_module/DSDG/data/__init__.py | weihaoxie/FaceX-Zoo | db0b087e4f4d28152e172d6c8d3767a8870733b4 | [
"Apache-2.0"
] | null | null | null | from .generation_dataset import GenDataset_s
from .recognition_dataset import ImageList, SeparateBatchSampler, SeparateImageList
| 43.666667 | 84 | 0.877863 | 13 | 131 | 8.615385 | 0.769231 | 0.232143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091603 | 131 | 2 | 85 | 65.5 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
076a142acbf736d4da6359a2d314465d2a26dfee | 32,393 | py | Python | src/genie/libs/parser/iosxr/tests/test_show_segment_routing.py | psolarcz/genieparser | 811c197a1dab6a635e6dec145b99194648bf4ff4 | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxr/tests/test_show_segment_routing.py | psolarcz/genieparser | 811c197a1dab6a635e6dec145b99194648bf4ff4 | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxr/tests/test_show_segment_routing.py | psolarcz/genieparser | 811c197a1dab6a635e6dec145b99194648bf4ff4 | [
"Apache-2.0"
] | 1 | 2021-07-07T18:07:56.000Z | 2021-07-07T18:07:56.000Z | #!/bin/env python
import unittest
from unittest.mock import Mock
from ats.topology import Device
from genie.metaparser.util.exceptions import SchemaEmptyParserError, SchemaMissingKeyError
from genie.libs.parser.iosxr.show_segment_routing import ShowPceLsp,\
ShowPceIPV4Peer,\
ShowPceLspDetail,\
ShowPceIPV... | 34.169831 | 90 | 0.418887 | 2,876 | 32,393 | 4.590056 | 0.091446 | 0.019544 | 0.022801 | 0.014544 | 0.839255 | 0.762366 | 0.741535 | 0.724642 | 0.709416 | 0.705553 | 0 | 0.086787 | 0.436915 | 32,393 | 947 | 91 | 34.205913 | 0.636952 | 0.061989 | 0 | 0.597187 | 0 | 0.025575 | 0.378543 | 0.01882 | 0 | 0 | 0 | 0 | 0.029412 | 1 | 0.029412 | false | 0 | 0.006394 | 0 | 0.122762 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
db517619400b36c1337d966e5e515072d896b35f | 5,034 | py | Python | tests/nn/test_kalman.py | hectorcarrion/sleap | 1150c2d0b64543e07d4b2429ea245a5afaa07cee | [
"BSD-3-Clause-Clear"
] | 156 | 2020-05-01T18:43:43.000Z | 2022-03-25T10:31:18.000Z | tests/nn/test_kalman.py | oeway/sleap | 1eb06f81eb8f0bc1beedd1c3dd10902f8ff9e724 | [
"BSD-3-Clause-Clear"
] | 299 | 2020-04-20T16:37:52.000Z | 2022-03-31T23:54:48.000Z | tests/nn/test_kalman.py | oeway/sleap | 1eb06f81eb8f0bc1beedd1c3dd10902f8ff9e724 | [
"BSD-3-Clause-Clear"
] | 41 | 2020-05-14T15:25:21.000Z | 2022-03-25T12:44:54.000Z | import numpy as np
import sleap.nn.tracker.components
import sleap.nn.tracker.kalman as k
from sleap.nn.tracker.components import greedy_matching
def test_first_choice_matching():
instances = ["instance a", "instance b"]
tracks = ["track a", "track b"]
# columns are tracks
# rows are instances
c... | 28.122905 | 78 | 0.633691 | 664 | 5,034 | 4.620482 | 0.138554 | 0.078227 | 0.054759 | 0.052151 | 0.810626 | 0.733703 | 0.716754 | 0.716754 | 0.70013 | 0.70013 | 0 | 0.032405 | 0.258244 | 5,034 | 178 | 79 | 28.280899 | 0.789234 | 0.126142 | 0 | 0.634146 | 0 | 0 | 0.077626 | 0 | 0 | 0 | 0 | 0 | 0.308943 | 1 | 0.02439 | false | 0 | 0.03252 | 0 | 0.056911 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dba9e568cac7b83d6d1bb6469479836aa4dd47ee | 300 | py | Python | eskedit/__init__.py | quinlan-lab/kmertools | 93e90919c26e2fc899a905b77748857404389e13 | [
"MIT"
] | 1 | 2020-08-25T01:35:38.000Z | 2020-08-25T01:35:38.000Z | eskedit/__init__.py | quinlan-lab/kmertools | 93e90919c26e2fc899a905b77748857404389e13 | [
"MIT"
] | null | null | null | eskedit/__init__.py | quinlan-lab/kmertools | 93e90919c26e2fc899a905b77748857404389e13 | [
"MIT"
] | 1 | 2021-07-13T23:21:56.000Z | 2021-07-13T23:21:56.000Z | from eskedit.kmethods import *
from eskedit.ksplit import *
from eskedit.constants import *
from eskedit.dpgp_prep import *
from eskedit.kclass import *
from eskedit.train_model import *
from eskedit.chrom_binning import *
from eskedit.ktrain import train_kmer_model
from eskedit.query import kquery
| 30 | 43 | 0.826667 | 43 | 300 | 5.651163 | 0.395349 | 0.407407 | 0.489712 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 300 | 9 | 44 | 33.333333 | 0.920455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
91688482b206717a899a236804cb81d8620dd5c8 | 26 | py | Python | 1 Python Basics/8_tuples.py | narayanants/python-mega-course | 2ba2980ab21dfbed5f86f00695559f7831b5c566 | [
"MIT"
] | null | null | null | 1 Python Basics/8_tuples.py | narayanants/python-mega-course | 2ba2980ab21dfbed5f86f00695559f7831b5c566 | [
"MIT"
] | null | null | null | 1 Python Basics/8_tuples.py | narayanants/python-mega-course | 2ba2980ab21dfbed5f86f00695559f7831b5c566 | [
"MIT"
] | null | null | null | num1 = (1,2,3)
print(num1) | 13 | 14 | 0.615385 | 6 | 26 | 2.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 0.115385 | 26 | 2 | 15 | 13 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
918eb8bfdaff2596613fa540d164b040802fa655 | 25 | py | Python | autograder/__init__.py | CC-4/lab7 | 24a44c5c337dfcfbb0ffd4765e5b5303546a7801 | [
"MIT"
] | null | null | null | autograder/__init__.py | CC-4/lab7 | 24a44c5c337dfcfbb0ffd4765e5b5303546a7801 | [
"MIT"
] | null | null | null | autograder/__init__.py | CC-4/lab7 | 24a44c5c337dfcfbb0ffd4765e5b5303546a7801 | [
"MIT"
] | null | null | null | from .termcolor import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
91d6633cf1da711ae3c3961673cde34cfb498436 | 30,025 | py | Python | tests/components/konnected/test_init.py | tbarbette/core | 8e58c3aa7bc8d2c2b09b6bd329daa1c092d52d3c | [
"Apache-2.0"
] | 11 | 2018-02-16T15:35:47.000Z | 2020-01-14T15:20:00.000Z | tests/components/konnected/test_init.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 79 | 2020-07-23T07:13:37.000Z | 2022-03-22T06:02:37.000Z | tests/components/konnected/test_init.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 14 | 2018-08-19T16:28:26.000Z | 2021-09-02T18:26:53.000Z | """Test Konnected setup process."""
from unittest.mock import patch
import pytest
from homeassistant.components import konnected
from homeassistant.components.konnected import config_flow
from homeassistant.config import async_process_ha_core_config
from homeassistant.const import HTTP_NOT_FOUND
from homeassistant.se... | 34.275114 | 91 | 0.478668 | 2,742 | 30,025 | 5.103939 | 0.103574 | 0.029725 | 0.028939 | 0.049303 | 0.837085 | 0.813648 | 0.787067 | 0.75727 | 0.725188 | 0.685673 | 0 | 0.05554 | 0.387144 | 30,025 | 875 | 92 | 34.314286 | 0.705016 | 0.027144 | 0 | 0.660079 | 0 | 0 | 0.213128 | 0.051736 | 0 | 0 | 0 | 0 | 0.125165 | 1 | 0.001318 | false | 0.001318 | 0.01054 | 0 | 0.013175 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
37ef59e2c4870fa735dbebd61973d4c001ce1b3c | 62 | py | Python | python/testData/testRunner/env/createConfigurationTest/aid/test/base.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/testRunner/env/createConfigurationTest/aid/test/base.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/testRunner/env/createConfigurationTest/aid/test/base.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | import unittest
class TestBase(unittest.TestCase):
pass | 10.333333 | 34 | 0.758065 | 7 | 62 | 6.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177419 | 62 | 6 | 35 | 10.333333 | 0.921569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
37f7968a3629d191846112d0961fa9827d89e762 | 57,998 | py | Python | geoapps/simpegPF/EM/FDEM/FieldsFDEM.py | RichardScottOZ/geoapps | 5b3c1d4fd11add45992e8b2497312ac014272b69 | [
"MIT"
] | null | null | null | geoapps/simpegPF/EM/FDEM/FieldsFDEM.py | RichardScottOZ/geoapps | 5b3c1d4fd11add45992e8b2497312ac014272b69 | [
"MIT"
] | null | null | null | geoapps/simpegPF/EM/FDEM/FieldsFDEM.py | RichardScottOZ/geoapps | 5b3c1d4fd11add45992e8b2497312ac014272b69 | [
"MIT"
] | null | null | null | import numpy as np
import scipy.sparse as sp
import geoapps.simpegPF as spf
from .. import Utils
from geoapps.simpegPF.EM.Utils import omega
from geoapps.simpegPF.Utils import Zero, Identity, sdiag
class FieldsFDEM(spf.Problem.Fields):
"""
Fancy Field Storage for a FDEM survey. Only one field type is stored ... | 36.684377 | 88 | 0.586244 | 7,241 | 57,998 | 4.60116 | 0.035078 | 0.048624 | 0.028874 | 0.035537 | 0.882522 | 0.859621 | 0.835519 | 0.79518 | 0.771888 | 0.752379 | 0 | 0.005925 | 0.310373 | 57,998 | 1,580 | 89 | 36.707595 | 0.827062 | 0.385306 | 0 | 0.502865 | 0 | 0 | 0.05207 | 0 | 0 | 0 | 0 | 0.000633 | 0 | 1 | 0.118911 | false | 0 | 0.008596 | 0.002865 | 0.310888 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5336a59c6050f38d2160cb522400e85aae92a3b7 | 1,854 | py | Python | tests/apis/test_iterjsonlines.py | tavaresrodrigo/kopf | 97e1c7a926705a79dabce2931e96a924252b61df | [
"MIT"
] | 855 | 2020-08-19T09:40:38.000Z | 2022-03-31T19:13:29.000Z | tests/apis/test_iterjsonlines.py | tavaresrodrigo/kopf | 97e1c7a926705a79dabce2931e96a924252b61df | [
"MIT"
] | 715 | 2019-12-23T14:17:35.000Z | 2022-03-30T20:54:45.000Z | tests/apis/test_iterjsonlines.py | tavaresrodrigo/kopf | 97e1c7a926705a79dabce2931e96a924252b61df | [
"MIT"
] | 97 | 2019-04-25T09:32:54.000Z | 2022-03-30T10:15:30.000Z | import asynctest
from kopf._cogs.clients.api import iter_jsonlines
async def test_empty_content():
async def iter_chunked(n: int):
if False: # to make this function a generator
yield b''
content = asynctest.Mock(iter_chunked=iter_chunked)
lines = []
async for line in iter_jsonli... | 23.468354 | 55 | 0.653182 | 258 | 1,854 | 4.51938 | 0.186047 | 0.169811 | 0.06175 | 0.09777 | 0.830189 | 0.799314 | 0.779588 | 0.779588 | 0.759863 | 0.641509 | 0 | 0 | 0.238403 | 1,854 | 78 | 56 | 23.769231 | 0.825779 | 0.017799 | 0 | 0.698113 | 0 | 0 | 0.052776 | 0.012095 | 0 | 0 | 0 | 0 | 0.113208 | 1 | 0 | false | 0 | 0.037736 | 0 | 0.037736 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
53593a6b103512752bd4b81ea59e314db5646b57 | 91 | py | Python | pypingcli/commands/__init__.py | tameeshB/pyPingCLI | 070edab79b24c257a8512b2a1410d12583f96d69 | [
"MIT"
] | 1 | 2020-11-09T16:49:51.000Z | 2020-11-09T16:49:51.000Z | pypingcli/commands/__init__.py | tameeshB/pyPingCLI | 070edab79b24c257a8512b2a1410d12583f96d69 | [
"MIT"
] | 7 | 2018-10-01T01:13:59.000Z | 2018-10-03T16:44:34.000Z | pypingcli/commands/__init__.py | tameeshB/pyPingCLI | 070edab79b24c257a8512b2a1410d12583f96d69 | [
"MIT"
] | 6 | 2018-10-01T10:09:16.000Z | 2020-09-16T06:59:16.000Z | from .start import *
from .connectIP import *
from .setUser import *
from .prompts import * | 22.75 | 24 | 0.747253 | 12 | 91 | 5.666667 | 0.5 | 0.441176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 4 | 25 | 22.75 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
72651d6aba4b024f267c256a2457141296766243 | 73 | py | Python | lib/ctyEnge/SuggestionsAndRecommendations/__init__.py | JoshOrndorff/snippets | ef06e03de09897014f88d89a84b597aabde7edaa | [
"Unlicense"
] | null | null | null | lib/ctyEnge/SuggestionsAndRecommendations/__init__.py | JoshOrndorff/snippets | ef06e03de09897014f88d89a84b597aabde7edaa | [
"Unlicense"
] | null | null | null | lib/ctyEnge/SuggestionsAndRecommendations/__init__.py | JoshOrndorff/snippets | ef06e03de09897014f88d89a84b597aabde7edaa | [
"Unlicense"
] | null | null | null | from .SuggestionsAndRecommendations import SuggestionsAndRecommendations
| 36.5 | 72 | 0.931507 | 4 | 73 | 17 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054795 | 73 | 1 | 73 | 73 | 0.985507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
728e14d0cb7e3e55c9800e3d196655603249ce46 | 57,600 | py | Python | tests/test_search.py | nazrulworld/fhirpath | 3b819870c57a0befcac18916a4d03b64c0e202ca | [
"Apache-2.0"
] | 25 | 2019-05-14T13:35:32.000Z | 2022-02-21T23:03:35.000Z | tests/test_search.py | nazrulworld/fhirpath | 3b819870c57a0befcac18916a4d03b64c0e202ca | [
"Apache-2.0"
] | 29 | 2020-02-14T08:14:02.000Z | 2021-02-23T20:14:42.000Z | tests/test_search.py | nazrulworld/fhirpath | 3b819870c57a0befcac18916a4d03b64c0e202ca | [
"Apache-2.0"
] | 4 | 2020-06-30T08:05:54.000Z | 2021-08-09T19:10:35.000Z | # _*_ coding: utf-8 _*_
import re
from urllib.parse import urlencode
from pytest import raises
import pytest
from fhirpath import Q_
from fhirpath.enums import FHIR_VERSION
from fhirpath.enums import OPERATOR
from fhirpath.enums import MatchType
from fhirpath.enums import SortOrderType
from fhirpath.interfaces.fql impo... | 35.272505 | 88 | 0.66934 | 6,745 | 57,600 | 5.547961 | 0.074722 | 0.070816 | 0.070068 | 0.08685 | 0.83365 | 0.802036 | 0.780952 | 0.762887 | 0.722242 | 0.683627 | 0 | 0.031963 | 0.195573 | 57,600 | 1,632 | 89 | 35.294118 | 0.775656 | 0.053299 | 0 | 0.695724 | 0 | 0.001645 | 0.189289 | 0.05305 | 0 | 0 | 0 | 0.000613 | 0.222862 | 1 | 0.043586 | false | 0 | 0.014803 | 0 | 0.058388 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
72b41c53c99af8c20200d649987e3332db63bc99 | 174 | py | Python | src/airfly/_vendor/airflow/providers/qubole/operators/qubole.py | ryanchao2012/airfly | 230ddd88885defc67485fa0c51f66c4a67ae98a9 | [
"MIT"
] | 7 | 2021-09-27T11:38:48.000Z | 2022-02-01T06:06:24.000Z | src/airfly/_vendor/airflow/providers/qubole/operators/qubole.py | ryanchao2012/airfly | 230ddd88885defc67485fa0c51f66c4a67ae98a9 | [
"MIT"
] | null | null | null | src/airfly/_vendor/airflow/providers/qubole/operators/qubole.py | ryanchao2012/airfly | 230ddd88885defc67485fa0c51f66c4a67ae98a9 | [
"MIT"
] | null | null | null | # Auto generated by 'inv collect-airflow'
from airfly._vendor.airflow.models.baseoperator import BaseOperator
class QuboleOperator(BaseOperator):
qubole_conn_id: "str"
| 24.857143 | 67 | 0.804598 | 21 | 174 | 6.52381 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114943 | 174 | 6 | 68 | 29 | 0.88961 | 0.224138 | 0 | 0 | 1 | 0 | 0.022556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f477d9ff495f260b08c96e89e5bb434fed5d1ec0 | 116 | py | Python | MedTARSQI/src/main/resources/ttk/utilities/printing.py | CDCgov/DCPC | c3fadef1bd6345e01a58afef051491d8ef6a7f93 | [
"Apache-2.0"
] | 6 | 2018-11-03T22:43:35.000Z | 2022-02-15T17:51:33.000Z | MedTARSQI/src/main/resources/ttk/utilities/printing.py | CDCgov/DCPC | c3fadef1bd6345e01a58afef051491d8ef6a7f93 | [
"Apache-2.0"
] | 2 | 2019-04-08T03:42:59.000Z | 2019-10-28T13:42:59.000Z | MedTARSQI/src/main/resources/ttk/utilities/printing.py | CDCgov/DCPC | c3fadef1bd6345e01a58afef051491d8ef6a7f93 | [
"Apache-2.0"
] | 10 | 2017-04-10T21:40:22.000Z | 2022-02-21T16:50:10.000Z | import pprint
def pp(stuff):
pretty_printer = pprint.PrettyPrinter(indent=3)
pretty_printer.pprint(stuff)
| 16.571429 | 51 | 0.75 | 15 | 116 | 5.666667 | 0.666667 | 0.305882 | 0.447059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010204 | 0.155172 | 116 | 6 | 52 | 19.333333 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0.75 | 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 | 1 | 0 | 6 |
be4ef979f4d92f8f835e57616524eb8c0cfbffdb | 65 | py | Python | tests/run.py | buswinka/DetectStereocillia | 7205680d9861cb50a447fe730696d2631f8256ba | [
"MIT"
] | null | null | null | tests/run.py | buswinka/DetectStereocillia | 7205680d9861cb50a447fe730696d2631f8256ba | [
"MIT"
] | null | null | null | tests/run.py | buswinka/DetectStereocillia | 7205680d9861cb50a447fe730696d2631f8256ba | [
"MIT"
] | 1 | 2022-03-20T03:05:20.000Z | 2022-03-20T03:05:20.000Z | import tests.utils_test
tests.utils_test.test_render_keypoints() | 21.666667 | 40 | 0.876923 | 10 | 65 | 5.3 | 0.6 | 0.377358 | 0.528302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046154 | 65 | 3 | 40 | 21.666667 | 0.854839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
be4f5c6a6a3e837d2f81e12045ad6df6b3176166 | 5,941 | py | Python | reader/chartsDBAPIs2_TBD_asyncGather.py | sifarone/gce_k8s_deployment | f596e17b9d0263ae24c61ebba9925af4719b4306 | [
"MIT"
] | null | null | null | reader/chartsDBAPIs2_TBD_asyncGather.py | sifarone/gce_k8s_deployment | f596e17b9d0263ae24c61ebba9925af4719b4306 | [
"MIT"
] | null | null | null | reader/chartsDBAPIs2_TBD_asyncGather.py | sifarone/gce_k8s_deployment | f596e17b9d0263ae24c61ebba9925af4719b4306 | [
"MIT"
] | 1 | 2021-01-24T17:07:37.000Z | 2021-01-24T17:07:37.000Z | import asyncio
import chartsUtils as utils
import cashData.cashDbAPIs as cashDbAPIs
import fnoData.stkOptDbAPIs as stkOptDbAPIs
import fnoData.stkFutDbAPIs as stkFutDbAPIs
import fnoData.idxOptDbAPIs as idxOptDbAPIs
import fnoData.idxFutDbAPIs as idxFutDbAPIs
import indexData.indexDbAPIs as indexDbAPIs
async def get... | 41.838028 | 116 | 0.653089 | 542 | 5,941 | 7.143911 | 0.162362 | 0.051653 | 0.140496 | 0.045455 | 0.733471 | 0.733471 | 0.733471 | 0.733471 | 0.733471 | 0.733471 | 0 | 0.000659 | 0.233967 | 5,941 | 141 | 117 | 42.134752 | 0.850143 | 0.070022 | 0 | 0.658333 | 0 | 0 | 0.14462 | 0.03121 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.083333 | 0.066667 | 0 | 0.183333 | 0.05 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
be7d430ee98a61614b6f0f10d068ce835fa443aa | 20 | py | Python | PyAPT/__init__.py | burggraaff/PyAPT | 08d16bd2600575dd72af9a39532218c2b5ed7634 | [
"MIT"
] | 29 | 2015-11-23T17:05:17.000Z | 2018-05-09T16:36:41.000Z | PyAPT/__init__.py | burggraaff/PyAPT | 08d16bd2600575dd72af9a39532218c2b5ed7634 | [
"MIT"
] | 16 | 2015-04-17T23:48:32.000Z | 2018-03-27T15:19:10.000Z | PyAPT/__init__.py | burggraaff/PyAPT | 08d16bd2600575dd72af9a39532218c2b5ed7634 | [
"MIT"
] | 19 | 2015-05-04T20:41:18.000Z | 2018-06-12T11:01:04.000Z | from PyAPT import *
| 10 | 19 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bebdffea9351bc3af91a5692d58a91a014fa6854 | 41 | py | Python | tests/t8.py | jplevyak/pyc | 9f4bc49be78ba29427841460945ce63826fcd857 | [
"BSD-3-Clause"
] | 3 | 2019-08-21T22:01:35.000Z | 2021-07-25T00:21:28.000Z | tests/t8.py | jplevyak/pyc | 9f4bc49be78ba29427841460945ce63826fcd857 | [
"BSD-3-Clause"
] | null | null | null | tests/t8.py | jplevyak/pyc | 9f4bc49be78ba29427841460945ce63826fcd857 | [
"BSD-3-Clause"
] | null | null | null | a = 1
while a < 4:
print a
a = a + 1
| 8.2 | 12 | 0.439024 | 10 | 41 | 1.8 | 0.5 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0.439024 | 41 | 4 | 13 | 10.25 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.25 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fe45efd4882a0523b188ddc2db036914d8d57049 | 288 | py | Python | recbole/data/dataloader/__init__.py | mengruwu/RecBole | 251fb3478a35b061a2a411d598e8c716b94133c1 | [
"MIT"
] | null | null | null | recbole/data/dataloader/__init__.py | mengruwu/RecBole | 251fb3478a35b061a2a411d598e8c716b94133c1 | [
"MIT"
] | null | null | null | recbole/data/dataloader/__init__.py | mengruwu/RecBole | 251fb3478a35b061a2a411d598e8c716b94133c1 | [
"MIT"
] | null | null | null | from recbole.data.dataloader.abstract_dataloader import *
from recbole.data.dataloader.general_dataloader import *
from recbole.data.dataloader.knowledge_dataloader import *
from recbole.data.dataloader.user_dataloader import *
from recbole.data.dataloader.customized_dataloader import *
| 48 | 59 | 0.861111 | 35 | 288 | 6.942857 | 0.285714 | 0.226337 | 0.308642 | 0.514403 | 0.674897 | 0.674897 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069444 | 288 | 5 | 60 | 57.6 | 0.906716 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
fe56b708959592002b41797ca9d2ed32f37b916c | 141 | py | Python | python/macau/__init__.py | edebrouwer/macau | 0b22d21ed954209406246e70178523102e98f922 | [
"MIT"
] | 38 | 2016-02-27T22:18:42.000Z | 2021-11-29T12:17:39.000Z | python/macau/__init__.py | edebrouwer/macau | 0b22d21ed954209406246e70178523102e98f922 | [
"MIT"
] | 11 | 2016-05-23T14:14:53.000Z | 2020-09-16T08:12:40.000Z | python/macau/__init__.py | edebrouwer/macau | 0b22d21ed954209406246e70178523102e98f922 | [
"MIT"
] | 19 | 2016-04-12T12:13:38.000Z | 2021-06-01T15:05:59.000Z | from .version import __version__
from .macau import macau, bpmf, MacauResult
from .macau import blockcg, make_train_test, make_train_test_df
| 35.25 | 63 | 0.836879 | 21 | 141 | 5.190476 | 0.52381 | 0.165138 | 0.275229 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113475 | 141 | 3 | 64 | 47 | 0.872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fe8c16ed3d061d9b74bb54febd630fc1a79a0812 | 11,337 | py | Python | tests/providers/google/firebase/hooks/test_firestore.py | ncolomer/airflow | cb7c67dea9cd9b9c5de10e355b63039446003149 | [
"Apache-2.0"
] | 1 | 2021-03-03T14:13:28.000Z | 2021-03-03T14:13:28.000Z | tests/providers/google/firebase/hooks/test_firestore.py | ncolomer/airflow | cb7c67dea9cd9b9c5de10e355b63039446003149 | [
"Apache-2.0"
] | null | null | null | tests/providers/google/firebase/hooks/test_firestore.py | ncolomer/airflow | cb7c67dea9cd9b9c5de10e355b63039446003149 | [
"Apache-2.0"
] | null | null | null | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 45.898785 | 109 | 0.747111 | 1,361 | 11,337 | 5.89493 | 0.133725 | 0.09049 | 0.068553 | 0.074785 | 0.817649 | 0.804063 | 0.798579 | 0.791724 | 0.787361 | 0.787361 | 0 | 0.000632 | 0.163094 | 11,337 | 246 | 110 | 46.085366 | 0.844962 | 0.078592 | 0 | 0.666667 | 0 | 0 | 0.221881 | 0.18666 | 0 | 0 | 0 | 0 | 0.087432 | 1 | 0.065574 | false | 0.010929 | 0.038251 | 0 | 0.136612 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fea49fc0b9d46b56e695a1332e53a7d8b07db839 | 13,863 | py | Python | pce/src/PCE/tools/schedulers.py | elise-baumgartner/onramp | beb3c807264fcb70d8069ff2e3990b0ce3f59912 | [
"BSD-3-Clause"
] | 2 | 2016-09-09T04:19:01.000Z | 2019-02-15T20:28:13.000Z | pce/src/PCE/tools/schedulers.py | elise-baumgartner/onramp | beb3c807264fcb70d8069ff2e3990b0ce3f59912 | [
"BSD-3-Clause"
] | 67 | 2016-06-02T19:37:56.000Z | 2018-02-22T05:23:45.000Z | pce/src/PCE/tools/schedulers.py | elise-baumgartner/onramp | beb3c807264fcb70d8069ff2e3990b0ce3f59912 | [
"BSD-3-Clause"
] | 9 | 2015-06-22T22:10:22.000Z | 2016-04-26T15:35:45.000Z | """Encapsulation of functionality provided by various batch schedulers.
Exports:
SLURMScheduler: Interface to SLURM batch scheduler.
Scheduler: Generic instantiator for all implemented schedulers.
"""
import logging
import os
from subprocess import CalledProcessError, check_output, STDOUT
from PCEHelper impor... | 33.566586 | 85 | 0.542235 | 1,608 | 13,863 | 4.567786 | 0.141169 | 0.020422 | 0.034717 | 0.029408 | 0.781484 | 0.769503 | 0.724847 | 0.712321 | 0.706467 | 0.691491 | 0 | 0.006144 | 0.354252 | 13,863 | 412 | 86 | 33.648058 | 0.814343 | 0.004617 | 0 | 0.57 | 0 | 0 | 0.16455 | 0.022545 | 0 | 0 | 0 | 0.002427 | 0 | 0 | null | null | 0.025 | 0.02 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
feb1766f170694b224d2531694737fc464d05ff8 | 234 | py | Python | examples/Displayable.py | Ellis0817/Introduction-to-Programming-Using-Python | 1882a2a846162d5ff56d4d56c3940b638ef408bd | [
"MIT"
] | null | null | null | examples/Displayable.py | Ellis0817/Introduction-to-Programming-Using-Python | 1882a2a846162d5ff56d4d56c3940b638ef408bd | [
"MIT"
] | 4 | 2019-11-07T12:32:19.000Z | 2020-07-19T14:04:44.000Z | examples/Displayable.py | Ellis0817/Introduction-to-Programming-Using-Python | 1882a2a846162d5ff56d4d56c3940b638ef408bd | [
"MIT"
] | 5 | 2019-12-04T15:56:55.000Z | 2022-01-14T06:19:18.000Z | class Displayable:
def getX(self): # Get x-coordinate of the vertex
return 0
def getY(self): # Get y-coordinate of the vertex
return 0
def getName(self): # Get display name of the vertex
return "" | 26 | 55 | 0.628205 | 34 | 234 | 4.323529 | 0.529412 | 0.142857 | 0.22449 | 0.346939 | 0.421769 | 0.421769 | 0.421769 | 0 | 0 | 0 | 0 | 0.012195 | 0.299145 | 234 | 9 | 56 | 26 | 0.884146 | 0.393162 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.428571 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
22cb57965d887698eaf8d420378d4e11ac3c4382 | 10,300 | py | Python | solnml/utils/savemodel.py | williamy1996/Autoexpression | b470d9ff67074c8b076abbc1dce359db9a36f921 | [
"MIT"
] | null | null | null | solnml/utils/savemodel.py | williamy1996/Autoexpression | b470d9ff67074c8b076abbc1dce359db9a36f921 | [
"MIT"
] | null | null | null | solnml/utils/savemodel.py | williamy1996/Autoexpression | b470d9ff67074c8b076abbc1dce359db9a36f921 | [
"MIT"
] | null | null | null | import argparse
import os
import sys
import time
import pickle
import numpy as np
import pandas as pd
import json
import pickle as pkl
from sklearn.datasets import load_iris
from sklearn.metrics import balanced_accuracy_score
from sklearn.model_selection import train_test_split
from solnml.utils.data_manager import Dat... | 39.163498 | 93 | 0.55466 | 1,310 | 10,300 | 4.068702 | 0.09542 | 0.081051 | 0.060038 | 0.044653 | 0.776548 | 0.758161 | 0.757036 | 0.735084 | 0.724953 | 0.724953 | 0 | 0.008797 | 0.315728 | 10,300 | 263 | 94 | 39.163498 | 0.747446 | 0 | 0 | 0.729258 | 0 | 0 | 0.086205 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021834 | false | 0 | 0.065502 | 0 | 0.144105 | 0.008734 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fe142eb7a790e219b6058125507af4d92e353aee | 20,842 | py | Python | deep_qa-master/tests/tensors/masked_operations_test.py | RTHMaK/RPGOne | 3f3ada7db1762781668bfb2377154fdc00e17212 | [
"Apache-2.0"
] | 1 | 2017-04-11T13:03:55.000Z | 2017-04-11T13:03:55.000Z | deep_qa-master/tests/tensors/masked_operations_test.py | RTHMaK/RPGOne | 3f3ada7db1762781668bfb2377154fdc00e17212 | [
"Apache-2.0"
] | null | null | null | deep_qa-master/tests/tensors/masked_operations_test.py | RTHMaK/RPGOne | 3f3ada7db1762781668bfb2377154fdc00e17212 | [
"Apache-2.0"
] | null | null | null | # pylint: disable=no-self-use,invalid-name
import numpy
from numpy.testing import assert_almost_equal, assert_array_almost_equal
import keras.backend as K
from deep_qa.tensors.backend import l1_normalize
from deep_qa.tensors.masked_operations import masked_batch_dot, masked_softmax
from ..common.test_markers import r... | 55.28382 | 99 | 0.535985 | 2,786 | 20,842 | 3.813711 | 0.059225 | 0.032188 | 0.035012 | 0.030494 | 0.896188 | 0.874824 | 0.852706 | 0.826918 | 0.814494 | 0.771953 | 0 | 0.09133 | 0.33754 | 20,842 | 376 | 100 | 55.430851 | 0.678207 | 0.106612 | 0 | 0.690722 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.28866 | 1 | 0.027491 | false | 0 | 0.020619 | 0 | 0.051546 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a3c14f8b0001a63dd4def44daefd40fa78c9e0b9 | 155 | py | Python | reunition/apps/reunions/admin.py | reunition/reunition | a68d4555092f41f5712c6f7061aa35e816a6283e | [
"MIT"
] | null | null | null | reunition/apps/reunions/admin.py | reunition/reunition | a68d4555092f41f5712c6f7061aa35e816a6283e | [
"MIT"
] | null | null | null | reunition/apps/reunions/admin.py | reunition/reunition | a68d4555092f41f5712c6f7061aa35e816a6283e | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Reunion
class ReunionAdmin(admin.ModelAdmin):
pass
admin.site.register(Reunion, ReunionAdmin)
| 15.5 | 42 | 0.793548 | 19 | 155 | 6.473684 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135484 | 155 | 9 | 43 | 17.222222 | 0.91791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
4316a9baa2536a249fa27dcdfa774b2da21fe791 | 91 | py | Python | trade_app/custom_exceptions/__init__.py | Plazas87/trading_stocks_platform | c34de11152798720cefa552f4b713231508e23a8 | [
"MIT"
] | null | null | null | trade_app/custom_exceptions/__init__.py | Plazas87/trading_stocks_platform | c34de11152798720cefa552f4b713231508e23a8 | [
"MIT"
] | null | null | null | trade_app/custom_exceptions/__init__.py | Plazas87/trading_stocks_platform | c34de11152798720cefa552f4b713231508e23a8 | [
"MIT"
] | 2 | 2020-10-28T14:07:43.000Z | 2021-11-03T22:49:21.000Z | from .exceptions import CreateOrderException, MaxBuyPerTradeException, CloseOrderException
| 45.5 | 90 | 0.901099 | 6 | 91 | 13.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065934 | 91 | 1 | 91 | 91 | 0.964706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4327d03512b58a005c50d469e35e09bcbdea2993 | 9,682 | py | Python | t3nsor/tensor_train.py | onucharles/tensorized-rnn | 69fc031f1efe169ee88327d10bdf5e5bc24f03cf | [
"MIT"
] | 16 | 2020-11-19T16:10:17.000Z | 2021-12-02T13:31:30.000Z | t3nsor/tensor_train.py | MohamedAbdelsalam9/TT-Transformer | aeef0f0199207121e3e5621bfeb67b15ffbb3d1d | [
"MIT"
] | 2 | 2021-02-26T08:45:16.000Z | 2021-08-11T13:47:43.000Z | t3nsor/tensor_train.py | kritostudent/tensorized-rnn | 69fc031f1efe169ee88327d10bdf5e5bc24f03cf | [
"MIT"
] | 7 | 2021-01-21T11:24:31.000Z | 2022-03-21T08:59:08.000Z | import torch
import numpy as np
import torch.nn as nn
class TensorTrain(object):
def __init__(self, tt_cores, shape=None, tt_ranks=None, convert_to_tensors=True):
#tt_cores = list(tt_cores)
if convert_to_tensors:
for i in range(len(tt_cores)):
tt_cores[i] = torch.Tensor... | 32.381271 | 111 | 0.562177 | 1,287 | 9,682 | 3.962704 | 0.08547 | 0.068627 | 0.071176 | 0.042353 | 0.836667 | 0.816275 | 0.803333 | 0.786863 | 0.767647 | 0.721373 | 0 | 0.010572 | 0.335674 | 9,682 | 298 | 112 | 32.489933 | 0.782338 | 0.031915 | 0 | 0.683983 | 0 | 0.004329 | 0.048597 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.12987 | false | 0 | 0.012987 | 0.060606 | 0.281385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4a56930a72377fe6e9125897fade214c30e3eea2 | 19,796 | py | Python | ivy/functional/ivy/meta.py | Bobbyorr007/ivy | 2f4441c7eee681055d6c22e05d922a66e40bc12c | [
"Apache-2.0"
] | 1 | 2022-03-10T23:51:18.000Z | 2022-03-10T23:51:18.000Z | ivy/functional/ivy/meta.py | thecoder12/ivy | 84c5fb82ec43c5c7d0154d5110973805e524831c | [
"Apache-2.0"
] | null | null | null | ivy/functional/ivy/meta.py | thecoder12/ivy | 84c5fb82ec43c5c7d0154d5110973805e524831c | [
"Apache-2.0"
] | null | null | null | # global
import ivy
from ivy.functional.ivy.gradients import gradient_descent_update
# Extra #
# ------#
# Private #
def _compute_cost_and_update_grads(cost_fn, order, batch, variables, outer_v, keep_outer_v,
average_across_steps_or_final, all_grads, unique_outer, batched, num_tas... | 54.235616 | 120 | 0.692918 | 2,829 | 19,796 | 4.552846 | 0.061506 | 0.030745 | 0.025155 | 0.020652 | 0.83486 | 0.811491 | 0.783851 | 0.757143 | 0.743634 | 0.724767 | 0 | 0.002411 | 0.245858 | 19,796 | 364 | 121 | 54.384615 | 0.860339 | 0.405587 | 0 | 0.406417 | 0 | 0 | 0.002135 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042781 | false | 0 | 0.010695 | 0 | 0.160428 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4aabac7b053e0355257ed6780bafc40b771be868 | 79 | py | Python | data/typing/numpy.linalg._umath_linalg.py | vfdev-5/python-record-api | 006faf0bba9cd4cb55fbacc13d2bbda365f5bf0b | [
"MIT"
] | 67 | 2020-08-17T11:53:26.000Z | 2021-11-08T20:16:06.000Z | data/typing/numpy.linalg._umath_linalg.py | vfdev-5/python-record-api | 006faf0bba9cd4cb55fbacc13d2bbda365f5bf0b | [
"MIT"
] | 36 | 2020-08-17T11:09:51.000Z | 2021-12-15T18:09:47.000Z | data/typing/numpy.linalg._umath_linalg.py | pydata-apis/python-api-record | 684cffbbb6dc6e81f9de4e02619c8b0ebc557b2b | [
"MIT"
] | 7 | 2020-08-19T05:06:47.000Z | 2020-11-04T05:10:38.000Z | from typing import *
# usage.dask: 1
eig: object
# usage.dask: 1
inv: object
| 9.875 | 20 | 0.683544 | 13 | 79 | 4.153846 | 0.692308 | 0.333333 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031746 | 0.202532 | 79 | 7 | 21 | 11.285714 | 0.825397 | 0.341772 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4ab4aaa472f76a2f49d1a3b7d03db652abf66f2b | 96 | py | Python | paypalcheckoutsdk/core/util.py | seba-spoon/Checkout-Python-SDK | 24a1f7c73fd6e270d21547fb65037e21a5d4f22b | [
"BSD-Source-Code"
] | 165 | 2019-03-06T14:32:47.000Z | 2022-03-26T17:49:57.000Z | paypalcheckoutsdk/core/util.py | seba-spoon/Checkout-Python-SDK | 24a1f7c73fd6e270d21547fb65037e21a5d4f22b | [
"BSD-Source-Code"
] | 24 | 2019-03-06T00:21:50.000Z | 2021-12-22T11:40:05.000Z | paypalcheckoutsdk/core/util.py | seba-spoon/Checkout-Python-SDK | 24a1f7c73fd6e270d21547fb65037e21a5d4f22b | [
"BSD-Source-Code"
] | 87 | 2019-02-15T03:59:20.000Z | 2022-03-27T13:26:29.000Z |
def older_than_27():
import sys
return True if sys.version_info[:2] < (2, 7) else False | 24 | 59 | 0.666667 | 17 | 96 | 3.588235 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.21875 | 96 | 4 | 59 | 24 | 0.746667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4aba032c66a49f3ee559b91adeba1321b370cfc7 | 30 | py | Python | src/utils/__init__.py | imatge-upc/AI4Agriculture-grape-detection | f8fce3115dfd50e80193f82a4cbba97641ea828c | [
"MIT"
] | 3 | 2021-06-20T22:15:59.000Z | 2021-11-18T10:12:47.000Z | src/utils/__init__.py | paumarquez/AI4Agriculture-grape-detection | 4adc277320f527f1bbefe4d504e3223928201f69 | [
"MIT"
] | 4 | 2021-07-12T09:01:08.000Z | 2022-03-12T00:59:15.000Z | src/utils/__init__.py | paumarquez/AI4Agriculture-grape-detection | 4adc277320f527f1bbefe4d504e3223928201f69 | [
"MIT"
] | 1 | 2021-07-02T09:27:13.000Z | 2021-07-02T09:27:13.000Z | from .transforms import resize | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4ac8fe2be4938c25d967a8a8dc23e40bb28a3b42 | 12,483 | py | Python | mapping.py | arthurazs/uff-siscomp | 50ea5cc349fef5af5f95599978f258a411024ad6 | [
"MIT"
] | null | null | null | mapping.py | arthurazs/uff-siscomp | 50ea5cc349fef5af5f95599978f258a411024ad6 | [
"MIT"
] | null | null | null | mapping.py | arthurazs/uff-siscomp | 50ea5cc349fef5af5f95599978f258a411024ad6 | [
"MIT"
] | null | null | null | from random import randint
RANDOM = 1
FIFO = 2
LRU = 3
LFU = 4
DIRECT = 1
ASSOCIATIVE = 2
SET_ASSOCIATIVE = 3
class Cache:
def __init__(self, mapping, cache_size, policy=RANDOM, frame_size=2):
if mapping == DIRECT:
print('Mapping => Direct')
self._cache = Direct(cache_size)
... | 34.771588 | 73 | 0.511576 | 1,499 | 12,483 | 4.041361 | 0.052035 | 0.109937 | 0.049026 | 0.044569 | 0.834764 | 0.803896 | 0.775338 | 0.742654 | 0.697425 | 0.68554 | 0 | 0.014213 | 0.351839 | 12,483 | 358 | 74 | 34.868715 | 0.73452 | 0.004246 | 0 | 0.78979 | 0 | 0 | 0.143041 | 0.084601 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045045 | false | 0 | 0.003003 | 0 | 0.072072 | 0.06006 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4354800f9af3f297cf4bc70fbd16fc3f6c470f48 | 10,940 | py | Python | lib/rucio/web/rest/flaskapi/v1/requests.py | mkszuba/rucio | 32469bb38e7e10f59f28e51669748a8687f33bb7 | [
"Apache-2.0"
] | 2 | 2020-02-18T22:34:24.000Z | 2022-03-09T16:26:18.000Z | lib/rucio/web/rest/flaskapi/v1/requests.py | mkszuba/rucio | 32469bb38e7e10f59f28e51669748a8687f33bb7 | [
"Apache-2.0"
] | null | null | null | lib/rucio/web/rest/flaskapi/v1/requests.py | mkszuba/rucio | 32469bb38e7e10f59f28e51669748a8687f33bb7 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2021-2022 CERN
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | 44.291498 | 135 | 0.667916 | 1,417 | 10,940 | 4.927311 | 0.1482 | 0.044686 | 0.051131 | 0.06617 | 0.766686 | 0.731166 | 0.731166 | 0.722286 | 0.722286 | 0.711974 | 0 | 0.014683 | 0.228062 | 10,940 | 246 | 136 | 44.471545 | 0.812078 | 0.177148 | 0 | 0.734694 | 0 | 0 | 0.150835 | 0.012205 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054422 | false | 0 | 0.061224 | 0 | 0.319728 | 0.027211 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
43ce89d366f9caca8da13a7eee3a9d0592eb7197 | 158 | py | Python | src/vesper/data/base/__init__.py | onecommons/vesper | 818c09350b8fe53ea484aaff24deb1002a67f471 | [
"Apache-2.0"
] | null | null | null | src/vesper/data/base/__init__.py | onecommons/vesper | 818c09350b8fe53ea484aaff24deb1002a67f471 | [
"Apache-2.0"
] | null | null | null | src/vesper/data/base/__init__.py | onecommons/vesper | 818c09350b8fe53ea484aaff24deb1002a67f471 | [
"Apache-2.0"
] | null | null | null | #:copyright: Copyright 2009-2010 by the Vesper team, see AUTHORS.
#:license: Dual licenced under the GPL or Apache2 licences, see LICENSE.
from _base import * | 52.666667 | 72 | 0.778481 | 24 | 158 | 5.083333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.14557 | 158 | 3 | 73 | 52.666667 | 0.837037 | 0.85443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
78d8b670bd988b47d77de5bf708a07569bc0c9b1 | 7,188 | py | Python | ejercicios/13_ejercicio.py | jorgemauricio/becarios_utna | 5b9082c35520fa162d780e843aae17ef6f003a28 | [
"MIT"
] | 1 | 2018-03-06T22:44:35.000Z | 2018-03-06T22:44:35.000Z | ejercicios/13_ejercicio.py | jorgemauricio/becarios_utna | 5b9082c35520fa162d780e843aae17ef6f003a28 | [
"MIT"
] | null | null | null | ejercicios/13_ejercicio.py | jorgemauricio/becarios_utna | 5b9082c35520fa162d780e843aae17ef6f003a28 | [
"MIT"
] | 1 | 2018-03-06T22:44:39.000Z | 2018-03-06T22:44:39.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
#######################################
# Author: Jorge Mauricio
# Email: jorge.ernesto.mauricio@gmail.com
# Date: 2018-02-01
# Version: 1.0
#######################################
Objetivo:
Dado un texto, contabilizar el número de veces que cada una de las palabras s... | 31.80531 | 78 | 0.804535 | 1,216 | 7,188 | 4.755757 | 0.174342 | 0.235172 | 0.197648 | 0.348608 | 0.023171 | 0.023171 | 0.014871 | 0.014871 | 0.014871 | 0 | 0 | 0.031869 | 0.170562 | 7,188 | 225 | 79 | 31.946667 | 0.938108 | 0.998052 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.022222 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6001d0518a371ac1dccd244e1db7dfaa72dd0fe4 | 214 | py | Python | src/spaceone/monitoring/manager/__init__.py | xellos00/plugin-azure-monitor | 5409707b2ea068ba35b408e01580c356e6b536c8 | [
"Apache-2.0"
] | null | null | null | src/spaceone/monitoring/manager/__init__.py | xellos00/plugin-azure-monitor | 5409707b2ea068ba35b408e01580c356e6b536c8 | [
"Apache-2.0"
] | null | null | null | src/spaceone/monitoring/manager/__init__.py | xellos00/plugin-azure-monitor | 5409707b2ea068ba35b408e01580c356e6b536c8 | [
"Apache-2.0"
] | 3 | 2020-11-23T10:08:28.000Z | 2020-12-28T04:41:41.000Z | from spaceone.monitoring.manager.azure_manager import AzureManager
from spaceone.monitoring.manager.data_source_manager import DataSourceManager
from spaceone.monitoring.manager.metric_manager import MetricManager
| 53.5 | 77 | 0.901869 | 25 | 214 | 7.56 | 0.48 | 0.190476 | 0.349206 | 0.460317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056075 | 214 | 3 | 78 | 71.333333 | 0.935644 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
60384b7a56328112edabfe3553a66bb3aa0ad273 | 168 | py | Python | oplab/v3/quant.py | oplab-team/oplab-client-python | a09a67a78c82b983374ae6a43dab68de208706b5 | [
"MIT"
] | 3 | 2020-05-18T05:04:54.000Z | 2022-02-14T14:09:39.000Z | oplab/v3/quant.py | oplab-team/oplab-client-python | a09a67a78c82b983374ae6a43dab68de208706b5 | [
"MIT"
] | 1 | 2020-05-23T19:49:11.000Z | 2020-05-23T19:50:04.000Z | oplab/v3/quant.py | oplab-team/oplab-client-python | a09a67a78c82b983374ae6a43dab68de208706b5 | [
"MIT"
] | null | null | null | class Quant:
def __init__(self, client) -> None:
self.client = client
def url(self):
return '%s%s' % (self.client.config['base_url'], 'quant')
| 24 | 65 | 0.583333 | 22 | 168 | 4.227273 | 0.545455 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 168 | 6 | 66 | 28 | 0.738095 | 0 | 0 | 0 | 0 | 0 | 0.10119 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
606a02e7537c104b5e2aec16b5931850f0453239 | 3,341 | py | Python | tests/test_file_handling.py | j19sch/pytest-instrument | 53e26a2c507456327887e007fd2609e71ec52999 | [
"MIT"
] | null | null | null | tests/test_file_handling.py | j19sch/pytest-instrument | 53e26a2c507456327887e007fd2609e71ec52999 | [
"MIT"
] | null | null | null | tests/test_file_handling.py | j19sch/pytest-instrument | 53e26a2c507456327887e007fd2609e71ec52999 | [
"MIT"
] | null | null | null | from pathlib import PurePath
import re
import pytest
from tests import helpers
@pytest.fixture(scope="function")
def tests_filename(testdir):
filename = "test_single_test_examples.py"
testdir.copy_example(filename)
return filename
def test_single_json_log_file_is_created_with_json_instrument_option(
... | 34.802083 | 87 | 0.744388 | 484 | 3,341 | 4.716942 | 0.157025 | 0.059571 | 0.070083 | 0.066579 | 0.798511 | 0.780114 | 0.780114 | 0.780114 | 0.780114 | 0.780114 | 0 | 0.01253 | 0.140078 | 3,341 | 95 | 88 | 35.168421 | 0.782109 | 0 | 0 | 0.565217 | 0 | 0 | 0.114038 | 0.051781 | 0 | 0 | 0 | 0 | 0.202899 | 1 | 0.072464 | false | 0.115942 | 0.057971 | 0 | 0.144928 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
60a8b0b6e6edc75600b92b94704857a8ce70f1a3 | 34 | py | Python | Tox Whitebox/titlecase/__init__.py | adrianopaduam/pytest_studies | 05932963539fb43baf64900b08fa12b8178c663b | [
"MIT"
] | null | null | null | Tox Whitebox/titlecase/__init__.py | adrianopaduam/pytest_studies | 05932963539fb43baf64900b08fa12b8178c663b | [
"MIT"
] | null | null | null | Tox Whitebox/titlecase/__init__.py | adrianopaduam/pytest_studies | 05932963539fb43baf64900b08fa12b8178c663b | [
"MIT"
] | null | null | null | from .titlecase import title_case
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
60b85edf927478abb74878a6c6e7914d73182692 | 147 | py | Python | src/testcase/GN_Y201H/input_case/GN_Y201H_Smart_Link.py | maiyajj/AutoTest_script-Appium_Connect | f9c2c42c281a9e2f984acb4a72dda0694b053f22 | [
"Apache-2.0"
] | 28 | 2017-11-10T00:19:16.000Z | 2022-02-19T16:42:05.000Z | src/testcase/GN_Y201H/input_case/GN_Y201H_Smart_Link.py | maiyajj/AutoTest_script-Appium_Connect | f9c2c42c281a9e2f984acb4a72dda0694b053f22 | [
"Apache-2.0"
] | null | null | null | src/testcase/GN_Y201H/input_case/GN_Y201H_Smart_Link.py | maiyajj/AutoTest_script-Appium_Connect | f9c2c42c281a9e2f984acb4a72dda0694b053f22 | [
"Apache-2.0"
] | 23 | 2017-08-22T06:12:19.000Z | 2021-09-18T05:45:41.000Z | # coding=utf-8
try:
from src.testcase.GN_Y201H.case.GN_Y201H_SMART_LINK.GN_Y201H_SMART_LINK_001 import *
except ImportError as e:
print(e)
| 24.5 | 88 | 0.77551 | 26 | 147 | 4.076923 | 0.730769 | 0.198113 | 0.226415 | 0.301887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102362 | 0.136054 | 147 | 5 | 89 | 29.4 | 0.732283 | 0.081633 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
60c05c63c965aa435cb0eeae775774e83e58951e | 25,575 | py | Python | rmp/models/processed/chemicals.py | rji-futures-lab/django-rmp-data | 6580961dd965025f312127bdd788f2771463f0b5 | [
"MIT"
] | null | null | null | rmp/models/processed/chemicals.py | rji-futures-lab/django-rmp-data | 6580961dd965025f312127bdd788f2771463f0b5 | [
"MIT"
] | 67 | 2018-08-29T18:15:56.000Z | 2020-06-05T18:57:59.000Z | rmp/models/processed/chemicals.py | rji-futures-lab/django-rmp-data | 6580961dd965025f312127bdd788f2771463f0b5 | [
"MIT"
] | 6 | 2018-10-18T19:19:38.000Z | 2021-09-15T17:21:52.000Z | """
Models for processed RMP data.
"""
import os
from django.conf import settings
from django.db import models
from django.db.models import (
F, Max, OuterRef, Subquery, Sum, Count, Case, When, Value
)
from rmp.fields import (
CopyFromBigIntegerField,
CopyFromBooleanField,
CopyFromCharField,
CopyFro... | 28.012048 | 89 | 0.647977 | 2,548 | 25,575 | 6.084772 | 0.07967 | 0.065983 | 0.11597 | 0.02709 | 0.897188 | 0.891254 | 0.885578 | 0.878096 | 0.874162 | 0.855005 | 0 | 0.005809 | 0.279765 | 25,575 | 912 | 90 | 28.042763 | 0.835885 | 0.001173 | 0 | 0.68805 | 0 | 0 | 0.07029 | 0.000862 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040252 | false | 0.03522 | 0.010063 | 0 | 0.256604 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
60df159b4c6dc6625fc0efba0e2665104839d97b | 220 | py | Python | src/test/pythonFiles/testFiles/standard/tests/test_foreign_nested_tests.py | ChaseKnowlden/vscode-jupyter | 9bdaf87f0b6dcd717c508e9023350499a6093f97 | [
"MIT"
] | 615 | 2020-11-11T22:55:28.000Z | 2022-03-30T21:48:08.000Z | src/test/pythonFiles/testFiles/standard/tests/test_foreign_nested_tests.py | ChaseKnowlden/vscode-jupyter | 9bdaf87f0b6dcd717c508e9023350499a6093f97 | [
"MIT"
] | 8,428 | 2020-11-11T22:06:43.000Z | 2022-03-31T23:42:34.000Z | src/test/pythonFiles/testFiles/standard/tests/test_foreign_nested_tests.py | vasili8m/vscode-python | 846eee870e8b7bab38172600836faedb5fb80166 | [
"MIT"
] | 158 | 2020-11-12T07:49:02.000Z | 2022-03-27T20:50:20.000Z | from .external import ForeignTests
class TestNestedForeignTests:
class TestInheritingHere(ForeignTests):
def test_nested_normal(self):
assert True
def test_normal(self):
assert True
| 22 | 43 | 0.704545 | 22 | 220 | 6.909091 | 0.636364 | 0.092105 | 0.210526 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245455 | 220 | 9 | 44 | 24.444444 | 0.915663 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
60f851d7fdf8aef65c1416a21860d448bbcfa769 | 42 | py | Python | harvester/harvester/harvester/__init__.py | HammerMuseum/channel-backend | 7c4e4259d6a043daa9f41b9ad5ae0a63fd1c475e | [
"MIT"
] | 3 | 2021-05-05T18:19:27.000Z | 2021-05-28T18:03:28.000Z | harvester/harvester/harvester/__init__.py | HammerMuseum/channel-backend | 7c4e4259d6a043daa9f41b9ad5ae0a63fd1c475e | [
"MIT"
] | 4 | 2021-05-17T14:13:51.000Z | 2021-05-17T14:22:46.000Z | harvester/harvester/harvester/__init__.py | HammerMuseum/channel-backend | 7c4e4259d6a043daa9f41b9ad5ae0a63fd1c475e | [
"MIT"
] | null | null | null | from .HarvesterBase import HarvesterBase
| 14 | 40 | 0.857143 | 4 | 42 | 9 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 2 | 41 | 21 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
718808394ef31ba7eeab103dde5980ca840178a1 | 81 | py | Python | pyroll/core/profile/__init__.py | pyroll-project/pyroll-core | f59094d58c2f7493ddc6345b3afc4700ca259681 | [
"BSD-3-Clause"
] | null | null | null | pyroll/core/profile/__init__.py | pyroll-project/pyroll-core | f59094d58c2f7493ddc6345b3afc4700ca259681 | [
"BSD-3-Clause"
] | null | null | null | pyroll/core/profile/__init__.py | pyroll-project/pyroll-core | f59094d58c2f7493ddc6345b3afc4700ca259681 | [
"BSD-3-Clause"
] | null | null | null | from .profile import Profile
from . import hookspecs
from . import base_plugins
| 16.2 | 28 | 0.802469 | 11 | 81 | 5.818182 | 0.545455 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160494 | 81 | 4 | 29 | 20.25 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
71a398e1f760812592a4ecc5f7fd42bc9da70272 | 20,183 | py | Python | envoy/tests/test_parser.py | remicalixte/integrations-core | b115e18c52820fe1a92495f538fdc14ddf83cfe1 | [
"BSD-3-Clause"
] | 1 | 2021-01-28T01:45:37.000Z | 2021-01-28T01:45:37.000Z | envoy/tests/test_parser.py | remicalixte/integrations-core | b115e18c52820fe1a92495f538fdc14ddf83cfe1 | [
"BSD-3-Clause"
] | 3 | 2021-01-27T04:56:40.000Z | 2021-02-26T06:29:22.000Z | envoy/tests/test_parser.py | remicalixte/integrations-core | b115e18c52820fe1a92495f538fdc14ddf83cfe1 | [
"BSD-3-Clause"
] | 1 | 2019-12-23T13:35:17.000Z | 2019-12-23T13:35:17.000Z | import pytest
from datadog_checks.envoy.errors import UnknownMetric, UnknownTags
from datadog_checks.envoy.metrics import METRIC_PREFIX, METRICS
from datadog_checks.envoy.parser import parse_histogram, parse_metric
def test_unknown_metric():
with pytest.raises(UnknownMetric):
parse_metric('foo.bar')
de... | 34.092905 | 103 | 0.635337 | 2,455 | 20,183 | 4.995519 | 0.076986 | 0.155251 | 0.099804 | 0.044521 | 0.845972 | 0.841243 | 0.827789 | 0.821184 | 0.821184 | 0.817841 | 0 | 0.024114 | 0.190457 | 20,183 | 591 | 104 | 34.150592 | 0.726483 | 0 | 0 | 0.649891 | 0 | 0.006565 | 0.176782 | 0.087896 | 0 | 0 | 0 | 0 | 0.094092 | 1 | 0.098468 | false | 0 | 0.008753 | 0 | 0.107221 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
71aac7d7679f09e4dc4f7f5153ff8b2db6c27df5 | 123 | py | Python | utz/git/log.py | ryan-williams/jupyter-rc | 362d9d758498de317976006ce7dfc65e2bce2c57 | [
"MIT"
] | null | null | null | utz/git/log.py | ryan-williams/jupyter-rc | 362d9d758498de317976006ce7dfc65e2bce2c57 | [
"MIT"
] | 2 | 2020-11-18T15:36:35.000Z | 2021-06-25T18:21:32.000Z | utz/git/log.py | runsascoded/utz | 362d9d758498de317976006ce7dfc65e2bce2c57 | [
"MIT"
] | 1 | 2020-06-10T23:14:00.000Z | 2020-06-10T23:14:00.000Z |
from ..process import output
def msg(ref=None):
return output('git','log','-n1','--format=%B',ref).decode().strip()
| 17.571429 | 71 | 0.626016 | 18 | 123 | 4.277778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009259 | 0.121951 | 123 | 6 | 72 | 20.5 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 0.163934 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
71d3eec0407fe8495ff6092382e949b625526343 | 120 | py | Python | nbmolviz/methods/__init__.py | jparkhill/notebook-molecular-visualization | 2dd61fedcf363d7362b727669b86c5f1c07656fd | [
"Apache-2.0"
] | 55 | 2016-07-21T23:25:59.000Z | 2022-02-14T01:04:49.000Z | nbmolviz/methods/__init__.py | jparkhill/notebook-molecular-visualization | 2dd61fedcf363d7362b727669b86c5f1c07656fd | [
"Apache-2.0"
] | 40 | 2016-07-26T20:57:04.000Z | 2021-09-06T02:31:52.000Z | nbmolviz/methods/__init__.py | Autodesk/notebook-molecular-visualization | 2dd61fedcf363d7362b727669b86c5f1c07656fd | [
"Apache-2.0"
] | 18 | 2016-07-25T21:49:02.000Z | 2020-10-03T11:17:03.000Z | from .atoms import *
from .atomgroups import *
from .molecules import *
from .method import *
from .trajectory import *
| 20 | 25 | 0.75 | 15 | 120 | 6 | 0.466667 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 120 | 5 | 26 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
71dc719106d8066b19aa03a04ea03a61f0aa9d2d | 290 | py | Python | python/graphscope/experimental/nx/tests/algorithms/forward/test_efficiency.py | wenyuanyu/GraphScope | a40ccaf70557e608d8b091eb25ab04477f99ce21 | [
"Apache-2.0"
] | 2 | 2020-12-15T08:42:10.000Z | 2022-01-14T09:13:16.000Z | python/graphscope/experimental/nx/tests/algorithms/forward/test_efficiency.py | wenyuanyu/GraphScope | a40ccaf70557e608d8b091eb25ab04477f99ce21 | [
"Apache-2.0"
] | 1 | 2020-12-22T13:15:40.000Z | 2020-12-22T13:15:40.000Z | python/graphscope/experimental/nx/tests/algorithms/forward/test_efficiency.py | wenyuanyu/GraphScope | a40ccaf70557e608d8b091eb25ab04477f99ce21 | [
"Apache-2.0"
] | 1 | 2021-11-23T03:40:43.000Z | 2021-11-23T03:40:43.000Z | import networkx.algorithms.tests.test_efficiency
import pytest
from graphscope.experimental.nx.utils.compat import import_as_graphscope_nx
import_as_graphscope_nx(networkx.algorithms.tests.test_efficiency,
decorators=pytest.mark.usefixtures("graphscope_session"))
| 36.25 | 81 | 0.806897 | 34 | 290 | 6.617647 | 0.529412 | 0.16 | 0.204444 | 0.24 | 0.328889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124138 | 290 | 7 | 82 | 41.428571 | 0.885827 | 0 | 0 | 0 | 0 | 0 | 0.062069 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e07acd0bbc45233a58c392b320cfd846a1776e04 | 160 | py | Python | AcademicDealerBackend/projectinfo/admin.py | Acciente717/AcademicDealerBackend | 8024725f88997fa430fa92e1caa28161ffbb06f6 | [
"MIT"
] | 5 | 2019-03-10T06:57:15.000Z | 2019-03-17T03:04:40.000Z | AcademicDealerBackend/projectinfo/admin.py | Acciente717/AcademicDealerBackend | 8024725f88997fa430fa92e1caa28161ffbb06f6 | [
"MIT"
] | 11 | 2019-05-14T15:13:48.000Z | 2019-05-31T15:31:33.000Z | AcademicDealerBackend/projectinfo/admin.py | Acciente717/AcademicDealerBackend | 8024725f88997fa430fa92e1caa28161ffbb06f6 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Topic, Project, Reply
admin.site.register(Topic)
admin.site.register(Project)
admin.site.register(Reply)
| 20 | 41 | 0.80625 | 23 | 160 | 5.608696 | 0.478261 | 0.209302 | 0.395349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 160 | 7 | 42 | 22.857143 | 0.889655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e08a39dea0e90bfce3cd095df91308b4a2a84377 | 30 | py | Python | testmockvpython.py | jonschull/Lyte | e9ba2bb1b07c9398b81a6f591898d2474d1a4609 | [
"MIT"
] | 1 | 2018-06-07T17:54:27.000Z | 2018-06-07T17:54:27.000Z | testmockvpython.py | jonschull/Lyte | e9ba2bb1b07c9398b81a6f591898d2474d1a4609 | [
"MIT"
] | 1 | 2018-06-28T05:08:57.000Z | 2018-06-28T05:08:57.000Z | testmockvpython.py | jonschull/Lyte | e9ba2bb1b07c9398b81a6f591898d2474d1a4609 | [
"MIT"
] | null | null | null | import mockvpython
print('hi') | 15 | 18 | 0.8 | 4 | 30 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 30 | 2 | 19 | 15 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
e093284d80c715352055e4d617830d17ac985ea3 | 11,784 | py | Python | test/vanilla/low-level/Expected/AcceptanceTests/MediaTypesLowLevel/mediatypeslowlevel/rest/_request_builders_py3.py | cfculhane/autorest.python | 8cbca95faee88d933a58bbbd17b76834faa8d387 | [
"MIT"
] | null | null | null | test/vanilla/low-level/Expected/AcceptanceTests/MediaTypesLowLevel/mediatypeslowlevel/rest/_request_builders_py3.py | cfculhane/autorest.python | 8cbca95faee88d933a58bbbd17b76834faa8d387 | [
"MIT"
] | null | null | null | test/vanilla/low-level/Expected/AcceptanceTests/MediaTypesLowLevel/mediatypeslowlevel/rest/_request_builders_py3.py | cfculhane/autorest.python | 8cbca95faee88d933a58bbbd17b76834faa8d387 | [
"MIT"
] | 1 | 2022-03-28T08:58:03.000Z | 2022-03-28T08:58:03.000Z | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may ... | 44.977099 | 118 | 0.696283 | 1,568 | 11,784 | 5.161352 | 0.116709 | 0.059805 | 0.020882 | 0.019276 | 0.880143 | 0.873965 | 0.864821 | 0.864821 | 0.857902 | 0.857902 | 0 | 0.00021 | 0.190088 | 11,784 | 261 | 119 | 45.149425 | 0.847758 | 0.618551 | 0 | 0.692308 | 0 | 0 | 0.154965 | 0.040371 | 0 | 0 | 0 | 0 | 0 | 1 | 0.092308 | false | 0 | 0.046154 | 0 | 0.230769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e09d4b2ccb6eb24372ef26bf110333f313a43652 | 173 | py | Python | department_app/service/__init__.py | DarishkaAMS/Flask_Projects-EPAM-CRM | ecf8ffc0f6eb8b9b8796d195fea3e3d0ce98d2f9 | [
"MIT"
] | 2 | 2021-11-13T18:18:55.000Z | 2021-12-05T09:39:20.000Z | department_app/service/__init__.py | DarishkaAMS/Flask_Projects-EPAM-CRM | ecf8ffc0f6eb8b9b8796d195fea3e3d0ce98d2f9 | [
"MIT"
] | null | null | null | department_app/service/__init__.py | DarishkaAMS/Flask_Projects-EPAM-CRM | ecf8ffc0f6eb8b9b8796d195fea3e3d0ce98d2f9 | [
"MIT"
] | null | null | null | """
__init__.py file of service module with
imported employee_service and department_service submodules
"""
from . import employee_service
from . import department_service
| 21.625 | 59 | 0.820809 | 22 | 173 | 6.090909 | 0.636364 | 0.223881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127168 | 173 | 7 | 60 | 24.714286 | 0.887417 | 0.572254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e0e358b2c98487b271a8d739e5350c0640c6cdbb | 4,811 | py | Python | beartype_test/a00_unit/a10_pep/test_pep593.py | posita/beartype | e56399686e1f2ffd5128a4030b19314504e32450 | [
"MIT"
] | 1,056 | 2020-04-03T10:21:29.000Z | 2022-03-28T12:38:16.000Z | beartype_test/a00_unit/a10_pep/test_pep593.py | posita/beartype | e56399686e1f2ffd5128a4030b19314504e32450 | [
"MIT"
] | 107 | 2020-04-04T06:00:16.000Z | 2022-03-29T18:58:50.000Z | beartype_test/a00_unit/a10_pep/test_pep593.py | posita/beartype | e56399686e1f2ffd5128a4030b19314504e32450 | [
"MIT"
] | 30 | 2020-10-06T19:14:25.000Z | 2022-03-02T08:02:59.000Z | #!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2021 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype** :pep:`593` **unit tests.**
This submodule unit tests :pep:`593` support implemented in the
:func:`beartype.beartype` ... | 40.428571 | 79 | 0.657867 | 539 | 4,811 | 5.682746 | 0.217069 | 0.048972 | 0.042442 | 0.037218 | 0.736206 | 0.716618 | 0.716618 | 0.716618 | 0.693111 | 0.67744 | 0 | 0.026411 | 0.197256 | 4,811 | 118 | 80 | 40.771186 | 0.766701 | 0.482228 | 0 | 0.574468 | 0 | 0 | 0.057071 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 1 | 0.06383 | false | 0 | 0.446809 | 0 | 0.510638 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e0ec80212f6e3d6872c432543c46f2ef3abc82fa | 8,388 | py | Python | ms_graph/drive_items.py | areed1192/ms-graph-python-client | dad30327f575b3a76cb1b0b7000b2935c16c511a | [
"MIT"
] | 39 | 2020-11-24T20:46:02.000Z | 2022-03-29T13:47:09.000Z | ms_graph/drive_items.py | areed1192/ms-graph-python-client | dad30327f575b3a76cb1b0b7000b2935c16c511a | [
"MIT"
] | 7 | 2021-02-11T11:43:27.000Z | 2022-01-25T06:04:41.000Z | ms_graph/drive_items.py | areed1192/ms-graph-python-client | dad30327f575b3a76cb1b0b7000b2935c16c511a | [
"MIT"
] | 34 | 2020-10-28T10:47:37.000Z | 2022-02-02T09:50:04.000Z | from typing import Dict
from ms_graph.session import GraphSession
class DriveItems():
"""
## Overview:
----
The driveItem resource represents a file, folder,
or other item stored in a drive. All file system
objects in OneDrive and SharePoint are returned as
driveItem resources.
"""
... | 25.418182 | 94 | 0.520148 | 964 | 8,388 | 4.342324 | 0.088174 | 0.067367 | 0.094601 | 0.031534 | 0.857143 | 0.808887 | 0.768514 | 0.738653 | 0.731247 | 0.69828 | 0 | 0 | 0.388889 | 8,388 | 329 | 95 | 25.495441 | 0.816621 | 0.370768 | 0 | 0.495238 | 0 | 0 | 0.107532 | 0.096634 | 0 | 0 | 0 | 0 | 0 | 1 | 0.114286 | false | 0 | 0.019048 | 0 | 0.247619 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e0eccfe1101a2bc126b23bf30ffd6c0dd1c564be | 38 | py | Python | tapiriik/services/Smashrun/__init__.py | prohfesor/tapiriik | 0c476f8bb6b3d51674f0117b054777405ff2ee0d | [
"Apache-2.0"
] | 1,445 | 2015-01-01T21:43:31.000Z | 2022-03-17T13:40:23.000Z | tapiriik/services/Smashrun/__init__.py | prohfesor/tapiriik | 0c476f8bb6b3d51674f0117b054777405ff2ee0d | [
"Apache-2.0"
] | 441 | 2015-01-02T03:37:49.000Z | 2022-03-31T18:18:03.000Z | tapiriik/services/Smashrun/__init__.py | prohfesor/tapiriik | 0c476f8bb6b3d51674f0117b054777405ff2ee0d | [
"Apache-2.0"
] | 333 | 2015-01-06T12:14:15.000Z | 2022-03-27T19:58:48.000Z | from .smashrun import SmashrunService
| 19 | 37 | 0.868421 | 4 | 38 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.970588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1cc55745fd85dcaa6e80e02a57d5e37bdc3a531d | 341 | py | Python | py_rete/__init__.py | benthomasson/py_rete | b21e06e891991fe790c95a745cbd076aae9a426d | [
"MIT"
] | 18 | 2020-07-13T16:13:05.000Z | 2022-03-18T00:18:51.000Z | py_rete/__init__.py | benthomasson/py_rete | b21e06e891991fe790c95a745cbd076aae9a426d | [
"MIT"
] | null | null | null | py_rete/__init__.py | benthomasson/py_rete | b21e06e891991fe790c95a745cbd076aae9a426d | [
"MIT"
] | 6 | 2020-04-16T08:44:53.000Z | 2022-02-22T01:07:58.000Z | from py_rete.fact import Fact # noqa F401
from py_rete.common import V # noqa F401
from py_rete.production import Production # noqa F401
from py_rete.network import ReteNetwork # noqa F401
from py_rete.conditions import AND # noqa F401
from py_rete.conditions import Cond # noqa F401
from py_rete.conditions import... | 42.625 | 54 | 0.794721 | 56 | 341 | 4.714286 | 0.285714 | 0.159091 | 0.265152 | 0.318182 | 0.590909 | 0.386364 | 0.386364 | 0 | 0 | 0 | 0 | 0.073684 | 0.164223 | 341 | 7 | 55 | 48.714286 | 0.852632 | 0.202346 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e8133419bc46d63c755e090e97bcd07a4552db70 | 4,792 | py | Python | src/resources/classes/enemy.py | 41y08h/warah-killer | d1e0270b95b2abfa5d0eeae3cfb0b04b3b68a358 | [
"MIT"
] | 1 | 2020-04-09T08:03:29.000Z | 2020-04-09T08:03:29.000Z | resources/classes/enemy.py | TaffoVelikoff/ViolentCityGame | 53151a2686282b68d36685927931d31f883a2594 | [
"MIT"
] | null | null | null | resources/classes/enemy.py | TaffoVelikoff/ViolentCityGame | 53151a2686282b68d36685927931d31f883a2594 | [
"MIT"
] | null | null | null | import os
import pygame
import random
import globals
from os import listdir
from resources import game
from resources import colors
from os.path import isfile, join
class Enemy(pygame.sprite.Sprite):
selectedPos = 'left'
speed = 0
spriteWidth = 200
# Constructor
def __init__(self):
# Call the parent class (Sp... | 27.227273 | 116 | 0.687396 | 683 | 4,792 | 4.771596 | 0.178624 | 0.054004 | 0.078552 | 0.070574 | 0.744707 | 0.744707 | 0.737343 | 0.706045 | 0.706045 | 0.706045 | 0 | 0.016747 | 0.177588 | 4,792 | 176 | 117 | 27.227273 | 0.8102 | 0.136477 | 0 | 0.736364 | 0 | 0 | 0.035294 | 0.005757 | 0 | 0 | 0 | 0 | 0 | 1 | 0.063636 | false | 0 | 0.072727 | 0 | 0.236364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
08ff4b58d0101e49a968fe4799383c92c2d5b460 | 48 | py | Python | solutions/helpers/__init__.py | SebastiaanZ/aoc-2019 | e1fe4630b0f375be0b79398e07e23b9c0196efbb | [
"MIT"
] | 3 | 2019-12-02T19:38:14.000Z | 2020-01-28T00:06:09.000Z | solutions/helpers/__init__.py | SebastiaanZ/aoc-2019 | e1fe4630b0f375be0b79398e07e23b9c0196efbb | [
"MIT"
] | 6 | 2020-03-24T17:58:40.000Z | 2022-03-12T00:18:45.000Z | solutions/helpers/__init__.py | SebastiaanZ/aoc-2019 | e1fe4630b0f375be0b79398e07e23b9c0196efbb | [
"MIT"
] | null | null | null | from .intcode import IntCodeApplication # noqa
| 24 | 47 | 0.8125 | 5 | 48 | 7.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 1 | 48 | 48 | 0.95122 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1c3ea98a7585fb03beb4e762dac750a21ae4a86a | 119 | py | Python | projects/thesis/continuous/custom/continuous/deform_feature/__init__.py | cpark90/rrrcnn | ba66cc391265be76fa3896b66459ff7241b47972 | [
"Apache-2.0"
] | null | null | null | projects/thesis/continuous/custom/continuous/deform_feature/__init__.py | cpark90/rrrcnn | ba66cc391265be76fa3896b66459ff7241b47972 | [
"Apache-2.0"
] | null | null | null | projects/thesis/continuous/custom/continuous/deform_feature/__init__.py | cpark90/rrrcnn | ba66cc391265be76fa3896b66459ff7241b47972 | [
"Apache-2.0"
] | null | null | null | from .deform_feature_map_layer import *
from .deform_orienation_layer import *
from .deformable_by_grad_layer import *
| 29.75 | 39 | 0.848739 | 17 | 119 | 5.470588 | 0.588235 | 0.354839 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10084 | 119 | 3 | 40 | 39.666667 | 0.869159 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1c3ec6d3f7be58abd038f8964534a0cb398cb936 | 2,732 | py | Python | blog/migrations/0011_auto_20200728_0547.py | tbrlpld/wagtail-gatsby-blog-backend | f68f1d9e2577d5271960f142bf37dcbcdac6767a | [
"MIT"
] | null | null | null | blog/migrations/0011_auto_20200728_0547.py | tbrlpld/wagtail-gatsby-blog-backend | f68f1d9e2577d5271960f142bf37dcbcdac6767a | [
"MIT"
] | null | null | null | blog/migrations/0011_auto_20200728_0547.py | tbrlpld/wagtail-gatsby-blog-backend | f68f1d9e2577d5271960f142bf37dcbcdac6767a | [
"MIT"
] | null | null | null | # Generated by Django 2.2.13 on 2020-07-28 05:47
from django.db import migrations
import wagtail.core.blocks
import wagtail.core.blocks.static_block
import wagtail.core.fields
import wagtail.documents.blocks
import wagtail.embeds.blocks
import wagtail.images.blocks
class Migration(migrations.Migration):
depende... | 109.28 | 2,214 | 0.725842 | 331 | 2,732 | 5.933535 | 0.453172 | 0.173625 | 0.251018 | 0.066191 | 0.100815 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013655 | 0.08858 | 2,732 | 24 | 2,215 | 113.833333 | 0.7751 | 0.016837 | 0 | 0 | 1 | 0 | 0.218703 | 0.008569 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.388889 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
98be3747a5b4b85bd40719ce7b3809ac7ffea433 | 510 | py | Python | stubs/micropython-v1_13-95-pyboard/gc.py | mattytrentini/micropython-stubs | 4d596273823b69e9e5bcf5fa67f249c374ee0bbc | [
"MIT"
] | null | null | null | stubs/micropython-v1_13-95-pyboard/gc.py | mattytrentini/micropython-stubs | 4d596273823b69e9e5bcf5fa67f249c374ee0bbc | [
"MIT"
] | null | null | null | stubs/micropython-v1_13-95-pyboard/gc.py | mattytrentini/micropython-stubs | 4d596273823b69e9e5bcf5fa67f249c374ee0bbc | [
"MIT"
] | null | null | null | """
Module: 'gc' on pyboard 1.13.0-95
"""
# MCU: (sysname='pyboard', nodename='pyboard', release='1.13.0', version='v1.13-95-g0fff2e03f on 2020-10-03', machine='PYBv1.1 with STM32F405RG')
# Stubber: 1.3.4 - updated
from typing import Any
def collect(*args) -> Any:
pass
def disable(*args) -> Any:
pass
def ... | 14.571429 | 145 | 0.619608 | 77 | 510 | 4.077922 | 0.532468 | 0.156051 | 0.245223 | 0.267516 | 0.10828 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091133 | 0.203922 | 510 | 34 | 146 | 15 | 0.682266 | 0.398039 | 0 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.466667 | true | 0.466667 | 0.066667 | 0 | 0.533333 | 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 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
c726bb342736f4037853205064035977032db551 | 32,985 | py | Python | ta/volatility.py | Ruil/ta | d5593e4123c1ed3338fc01d0fe65a631538bc76e | [
"MIT"
] | null | null | null | ta/volatility.py | Ruil/ta | d5593e4123c1ed3338fc01d0fe65a631538bc76e | [
"MIT"
] | null | null | null | ta/volatility.py | Ruil/ta | d5593e4123c1ed3338fc01d0fe65a631538bc76e | [
"MIT"
] | null | null | null | """
.. module:: volatility
:synopsis: Volatility Indicators.
.. moduleauthor:: Dario Lopez Padial (Bukosabino)
"""
import numpy as np
import pandas as pd
from ta.utils import IndicatorMixin
class AverageTrueRange(IndicatorMixin):
"""Average True Range (ATR)
The indicator provide an indication of the de... | 32.723214 | 106 | 0.63832 | 4,041 | 32,985 | 5.063598 | 0.057659 | 0.058645 | 0.053856 | 0.045157 | 0.86321 | 0.817173 | 0.793031 | 0.780276 | 0.746017 | 0.718307 | 0 | 0.00722 | 0.256753 | 32,985 | 1,007 | 107 | 32.75571 | 0.827378 | 0.465909 | 0 | 0.481959 | 0 | 0 | 0.008845 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.139175 | false | 0 | 0.007732 | 0.002577 | 0.273196 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c729c075da998c52671b42fcc0e5b3a16c4e479a | 28 | py | Python | alexi/twitter/__init__.py | harryjjacobs/alexi | 1306c26adf339bbf88e9b2c29e038f242e4ca45f | [
"MIT"
] | 2 | 2019-07-20T01:48:20.000Z | 2019-11-15T06:50:54.000Z | alexi/twitter/__init__.py | harryjjacobs/alexi | 1306c26adf339bbf88e9b2c29e038f242e4ca45f | [
"MIT"
] | 5 | 2020-02-12T08:58:06.000Z | 2021-09-22T17:56:42.000Z | alexi/twitter/__init__.py | harryjjacobs/alexi | 1306c26adf339bbf88e9b2c29e038f242e4ca45f | [
"MIT"
] | null | null | null | from .twitter import Twitter | 28 | 28 | 0.857143 | 4 | 28 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c76c04d5eb893cc9436be1837e71d314b18f2c4e | 6,272 | py | Python | phone_iso3166/nanpa.py | horpto/phone-iso3166 | 09d6bb8cf69bc0dffb97677924aa3318b579f030 | [
"MIT"
] | 19 | 2017-03-28T10:35:22.000Z | 2022-03-14T04:39:03.000Z | phone_iso3166/nanpa.py | horpto/phone-iso3166 | 09d6bb8cf69bc0dffb97677924aa3318b579f030 | [
"MIT"
] | 17 | 2016-11-11T11:50:57.000Z | 2021-06-22T09:32:17.000Z | phone_iso3166/nanpa.py | horpto/phone-iso3166 | 09d6bb8cf69bc0dffb97677924aa3318b579f030 | [
"MIT"
] | 5 | 2015-09-28T18:25:38.000Z | 2021-07-05T11:57:58.000Z | # Generated by get_npna_npa.py
# Based on http://nanpa.com/reports/reports_npa.html
npa = \
{2: {0: {1: 'US',
2: 'US',
3: 'US',
4: 'CA',
5: 'US',
6: 'US',
7: 'US',
8: 'US',
9: 'US'},
1: {0: 'US',
2: 'US',
3: 'US',
4... | 26.352941 | 73 | 0.236129 | 983 | 6,272 | 1.503561 | 0.046796 | 0.095399 | 0.104871 | 0.105548 | 0.842355 | 0.748309 | 0.688092 | 0.607578 | 0.523681 | 0.445196 | 0 | 0.14893 | 0.441167 | 6,272 | 237 | 74 | 26.464135 | 0.272753 | 0.012596 | 0 | 0.717949 | 1 | 0 | 0.14378 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c7a1346eabd5e9b824b636fa8a9f6a56608176f1 | 4,163 | py | Python | getters.py | pierrewinter/EPL_Fantasy_Team_Recommender | ab3e8649f6a4169843c31d9b8ebcc0bcbb9d4552 | [
"MIT"
] | 1 | 2019-07-18T18:31:58.000Z | 2019-07-18T18:31:58.000Z | getters.py | pierrewinter/EPL_Fantasy_Team_Recommender | ab3e8649f6a4169843c31d9b8ebcc0bcbb9d4552 | [
"MIT"
] | null | null | null | getters.py | pierrewinter/EPL_Fantasy_Team_Recommender | ab3e8649f6a4169843c31d9b8ebcc0bcbb9d4552 | [
"MIT"
] | null | null | null | import requests
import json
import time
def get_data():
""" Retrieve the fpl player data from the hard-coded url
"""
response = requests.get("https://fantasy.premierleague.com/api/bootstrap-static")
if response.status_code != 200:
raise Exception("Response was code " + str(response.status_code)... | 30.837037 | 85 | 0.619025 | 535 | 4,163 | 4.672897 | 0.157009 | 0.0784 | 0.1008 | 0.0784 | 0.8016 | 0.7516 | 0.738 | 0.7112 | 0.7112 | 0.7112 | 0 | 0.009849 | 0.268316 | 4,163 | 134 | 86 | 31.067164 | 0.8109 | 0.177756 | 0 | 0.6875 | 0 | 0 | 0.150528 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.03125 | 0 | 0.1875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c7b33f222a0009657928a2b64efd10111da75b92 | 49 | py | Python | src/normalizer/__init__.py | Ehsan-Tavan/-boost_converter | 7d52be7aa7994c137b1b63aa87eb51291f320cf5 | [
"MIT"
] | null | null | null | src/normalizer/__init__.py | Ehsan-Tavan/-boost_converter | 7d52be7aa7994c137b1b63aa87eb51291f320cf5 | [
"MIT"
] | null | null | null | src/normalizer/__init__.py | Ehsan-Tavan/-boost_converter | 7d52be7aa7994c137b1b63aa87eb51291f320cf5 | [
"MIT"
] | null | null | null | from .validation import is_normalizer_type_exist
| 24.5 | 48 | 0.897959 | 7 | 49 | 5.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.911111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.