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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
880e2798a7eff5ab054ccfdc53c1e3f8d1b470de | 6,269 | py | Python | loldib/getratings/models/NA/na_ornn/na_ornn_bot.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_ornn/na_ornn_bot.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_ornn/na_ornn_bot.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_Ornn_Bot_Aatrox(Ratings):
pass
class NA_Ornn_Bot_Ahri(Ratings):
pass
class NA_Ornn_Bot_Akali(Ratings):
pass
class NA_Ornn_Bot_Alistar(Ratings):
pass
class NA_Ornn_Bot_Amumu(Ratings):
pass
class NA_Ornn_Bot_Anivia(Ratings):
pass
clas... | 15.033573 | 46 | 0.75642 | 972 | 6,269 | 4.452675 | 0.151235 | 0.223198 | 0.350739 | 0.446396 | 0.791359 | 0.791359 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177221 | 6,269 | 416 | 47 | 15.069712 | 0.839085 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
7153be468c112963806ea2a7623717b1c3a88b7b | 7,058 | py | Python | tests/data/simple_cases/docstring.py | sdrees/black | 04f99bc3341132261b901e9293bcb66bee30de25 | [
"MIT"
] | null | null | null | tests/data/simple_cases/docstring.py | sdrees/black | 04f99bc3341132261b901e9293bcb66bee30de25 | [
"MIT"
] | 11 | 2022-02-07T14:19:42.000Z | 2022-03-29T06:07:31.000Z | tests/data/simple_cases/docstring.py | hampuskraft/black | f2d279faed9e545b8d6fbb620fa239dee5e67520 | [
"MIT"
] | null | null | null | class MyClass:
""" Multiline
class docstring
"""
def method(self):
"""Multiline
method docstring
"""
pass
def foo():
"""This is a docstring with
some lines of text here
"""
return
def bar():
'''This is another docstring
with more lines of text
'''
return
def b... | 16.804762 | 105 | 0.527345 | 789 | 7,058 | 4.544994 | 0.195184 | 0.027329 | 0.020078 | 0.040156 | 0.998327 | 0.998327 | 0.998327 | 0.998327 | 0.998327 | 0.998327 | 0 | 0.005353 | 0.258855 | 7,058 | 419 | 106 | 16.844869 | 0.680176 | 0.595494 | 0 | 0.929293 | 0 | 0 | 0.037706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.666667 | false | 0.141414 | 0 | 0 | 0.767677 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 10 |
718ba7854a37e78465e702d0af8cd92f5a090edb | 89 | py | Python | oscar/apps/partner/exceptions.py | owad/django-oscar | cfa69e37dc9abc97a7aff5c8616da319e1771008 | [
"BSD-3-Clause"
] | 1 | 2022-03-17T19:26:13.000Z | 2022-03-17T19:26:13.000Z | oscar/apps/partner/exceptions.py | aykut/django-oscar | ca3629e74ea1e0affc55d3de4e97f523e352d267 | [
"BSD-3-Clause"
] | null | null | null | oscar/apps/partner/exceptions.py | aykut/django-oscar | ca3629e74ea1e0affc55d3de4e97f523e352d267 | [
"BSD-3-Clause"
] | 1 | 2019-03-23T10:26:02.000Z | 2019-03-23T10:26:02.000Z | class ImportError(Exception):
pass
class CatalogueImportError(Exception):
pass
| 12.714286 | 38 | 0.752809 | 8 | 89 | 8.375 | 0.625 | 0.38806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179775 | 89 | 6 | 39 | 14.833333 | 0.917808 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
719a6535aaae183bae4ff0e145204730a86ef88b | 1,181 | py | Python | pyaz/acr/credential/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/acr/credential/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/acr/credential/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | 1 | 2022-02-03T09:12:01.000Z | 2022-02-03T09:12:01.000Z | '''
Manage login credentials for Azure Container Registries.
'''
from ... pyaz_utils import _call_az
def show(name, resource_group=None):
'''
Get the login credentials for an Azure Container Registry.
Required Parameters:
- name -- The name of the container registry. You can configure the default regi... | 36.90625 | 145 | 0.723116 | 154 | 1,181 | 5.461039 | 0.266234 | 0.092747 | 0.071344 | 0.085612 | 0.737218 | 0.737218 | 0.737218 | 0.737218 | 0.737218 | 0.737218 | 0 | 0 | 0.19221 | 1,181 | 31 | 146 | 38.096774 | 0.881551 | 0.722269 | 0 | 0 | 0 | 0 | 0.177866 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0.2 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 8 |
71b0c6245f80b26e08191bf3047be05583d51b6c | 85 | py | Python | The container /Robotic Arm/craves.ai-master/unreal/virtual_db/__init__.py | ReEn-Neom/ReEn.Neom-source-code- | 11ec834d5eac5a5a63c71f6b41107769dafc591c | [
"MIT"
] | null | null | null | The container /Robotic Arm/craves.ai-master/unreal/virtual_db/__init__.py | ReEn-Neom/ReEn.Neom-source-code- | 11ec834d5eac5a5a63c71f6b41107769dafc591c | [
"MIT"
] | null | null | null | The container /Robotic Arm/craves.ai-master/unreal/virtual_db/__init__.py | ReEn-Neom/ReEn.Neom-source-code- | 11ec834d5eac5a5a63c71f6b41107769dafc591c | [
"MIT"
] | null | null | null | from . import d3, meta, video
from .vdb import *
# __all__ = ["d3", "meta", "video"]
| 21.25 | 35 | 0.611765 | 12 | 85 | 4 | 0.583333 | 0.25 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028986 | 0.188235 | 85 | 3 | 36 | 28.333333 | 0.666667 | 0.388235 | 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 | 1 | 0 | 0 | 7 |
71d025d27456dd237eaac2115235d4ae9a0b0221 | 150,579 | py | Python | pysat/solvers.py | Illner/pysat | a9cd9d9f68d45cd48f0aaa7eff3d105abd27972d | [
"MIT"
] | null | null | null | pysat/solvers.py | Illner/pysat | a9cd9d9f68d45cd48f0aaa7eff3d105abd27972d | [
"MIT"
] | null | null | null | pysat/solvers.py | Illner/pysat | a9cd9d9f68d45cd48f0aaa7eff3d105abd27972d | [
"MIT"
] | null | null | null | #!/usr/bin/env python
#-*- coding:utf-8 -*-
##
## solvers.py
##
## Created on: Nov 27, 2016
## Author: Alexey S. Ignatiev
## E-mail: aignatiev@ciencias.ulisboa.pt
##
"""
===============
List of classes
===============
.. autosummary::
:nosignatures:
SolverNames
Solv... | 29.57749 | 131 | 0.542313 | 16,164 | 150,579 | 4.943145 | 0.048503 | 0.027259 | 0.014418 | 0.012265 | 0.808563 | 0.787174 | 0.772769 | 0.757738 | 0.746636 | 0.727388 | 0 | 0.008733 | 0.358158 | 150,579 | 5,090 | 132 | 29.583301 | 0.817989 | 0.31248 | 0 | 0.811505 | 0 | 0 | 0.036815 | 0 | 0 | 0 | 0.000046 | 0 | 0.002568 | 1 | 0.195686 | false | 0.000514 | 0.004109 | 0 | 0.335388 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
71e6e56cc79eea9bdd51f8b928e1c67a401783c4 | 32,355 | py | Python | RFEM/Loads/lineLoad.py | DavidNaizheZhou/RFEM_Python_Client | a5f7790b67de3423907ce10c0aa513c0a1aca47b | [
"MIT"
] | null | null | null | RFEM/Loads/lineLoad.py | DavidNaizheZhou/RFEM_Python_Client | a5f7790b67de3423907ce10c0aa513c0a1aca47b | [
"MIT"
] | null | null | null | RFEM/Loads/lineLoad.py | DavidNaizheZhou/RFEM_Python_Client | a5f7790b67de3423907ce10c0aa513c0a1aca47b | [
"MIT"
] | null | null | null | from RFEM.initModel import Model, ConvertToDlString, clearAtributes
from RFEM.enums import *
class LineLoad():
def __init__(self,
no: int = 1,
load_case_no: int = 1,
lines_no: str = '1',
load_direction = LoadDirectionType.LOAD_DIRECTION_... | 50.633803 | 199 | 0.627291 | 3,559 | 32,355 | 5.439449 | 0.04299 | 0.170567 | 0.052069 | 0.034919 | 0.952684 | 0.948293 | 0.933106 | 0.933106 | 0.922878 | 0.919159 | 0 | 0.014829 | 0.303848 | 32,355 | 638 | 200 | 50.713166 | 0.844655 | 0.192706 | 0 | 0.925641 | 0 | 0.051282 | 0.175231 | 0.037425 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010256 | false | 0 | 0.005128 | 0 | 0.017949 | 0.010256 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
e093f575a4de562ec3217f30be9b918d1e4cd203 | 274 | py | Python | app/config/secure.py | victor-dp/robosat_geoc | d551287f29cd931d5e537b0bd538664b2c07bfb9 | [
"MIT"
] | 1 | 2020-11-28T07:12:56.000Z | 2020-11-28T07:12:56.000Z | app/config/secure.py | victor-dp/robosat_geoc | d551287f29cd931d5e537b0bd538664b2c07bfb9 | [
"MIT"
] | null | null | null | app/config/secure.py | victor-dp/robosat_geoc | d551287f29cd931d5e537b0bd538664b2c07bfb9 | [
"MIT"
] | 2 | 2020-11-28T07:14:12.000Z | 2020-11-29T01:31:23.000Z | SQLALCHEMY_DATABASE_URI = \
'postgres+psycopg2://postgres:postgres@172.16.100.140/tdt2018'
# 'postgres+psycopg2://postgres:postgres@localhost/tdt2018'
SECRET_KEY = '\x88D\xf09\x91\x07\x98\x89\x87\x96\xa0A\xc68\xf9\xecJ:U\x17\xc5V\xbe\x8b\xef\xd7\xd8\xd3\xe6\x98*4'
| 45.666667 | 113 | 0.748175 | 44 | 274 | 4.590909 | 0.818182 | 0.158416 | 0.237624 | 0.316832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203125 | 0.065693 | 274 | 5 | 114 | 54.8 | 0.585938 | 0.208029 | 0 | 0 | 0 | 0.333333 | 0.734884 | 0.734884 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e09894fd4125f09b2156198cf5c5c3636f7b785f | 246 | py | Python | entity/cards/SWL_01H/__init__.py | x014/lushi_script | edab2b88e3f0de8139de2541ab2daa331f777c0e | [
"MIT"
] | 102 | 2021-10-20T09:06:39.000Z | 2022-03-28T13:35:11.000Z | entity/cards/SWL_01H/__init__.py | x014/lushi_script | edab2b88e3f0de8139de2541ab2daa331f777c0e | [
"MIT"
] | 98 | 2021-10-19T16:13:27.000Z | 2022-03-27T13:27:49.000Z | entity/cards/SWL_01H/__init__.py | x014/lushi_script | edab2b88e3f0de8139de2541ab2daa331f777c0e | [
"MIT"
] | 55 | 2021-10-19T03:56:50.000Z | 2022-03-25T08:25:26.000Z | # -*- coding: utf-8 -*-
import entity.cards.SWL_01H.LETL_450
import entity.cards.SWL_01H.LETL_451
import entity.cards.SWL_01H.LETL_452
import entity.cards.SWL_01H.LETL_453
import entity.cards.SWL_01H.LETL_454
import entity.cards.SWL_01H.LETL_455
| 30.75 | 36 | 0.821138 | 45 | 246 | 4.222222 | 0.333333 | 0.378947 | 0.536842 | 0.631579 | 0.852632 | 0.852632 | 0 | 0 | 0 | 0 | 0 | 0.135371 | 0.069106 | 246 | 7 | 37 | 35.142857 | 0.694323 | 0.085366 | 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 | 1 | 1 | 0 | 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 | 8 |
e0e4886815cdc8137f56c8e9f5188a7709e8808b | 10,738 | py | Python | config.py | txd283/vacancy-diffusion-kmclib | 977c728c97aedd2eb21dc5222c372c0af68c7a7b | [
"MIT"
] | 1 | 2021-09-04T14:35:15.000Z | 2021-09-04T14:35:15.000Z | config.py | txd283/vacancy-diffusion-kmclib | 977c728c97aedd2eb21dc5222c372c0af68c7a7b | [
"MIT"
] | 1 | 2022-03-13T07:48:24.000Z | 2022-03-13T07:48:24.000Z | config.py | txd283/vacancy-diffusion-kmclib | 977c728c97aedd2eb21dc5222c372c0af68c7a7b | [
"MIT"
] | 1 | 2020-05-20T01:17:51.000Z | 2020-05-20T01:17:51.000Z | from KMCLib import *
#--------------------------------------------------------------
# Number of vacancies (0) = 1
# Number of Copper (0.1) = 0
# Number of Iron (1) = 1999
#--------------------------------------------------------------
# -----------------------------------------------------------------------------
... | 54.232323 | 79 | 0.234215 | 2,114 | 10,738 | 1.184011 | 0.01561 | 1.596484 | 2.393528 | 3.189772 | 0.85857 | 0.85857 | 0.846584 | 0.846584 | 0.846584 | 0.834598 | 0 | 0.239578 | 0.162321 | 10,738 | 197 | 80 | 54.507614 | 0.038688 | 0.043863 | 0 | 0.883721 | 0 | 0 | 0.195514 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005814 | 0 | 0.005814 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
e0f61eb8ab2dd3a84e7fa76ffb977d48eac02ef9 | 95 | py | Python | example/main.py | jtara1/VisualScripting | 66a424baad1d60c2e73fcb342c2797dd6c00e8b8 | [
"Apache-2.0"
] | null | null | null | example/main.py | jtara1/VisualScripting | 66a424baad1d60c2e73fcb342c2797dd6c00e8b8 | [
"Apache-2.0"
] | null | null | null | example/main.py | jtara1/VisualScripting | 66a424baad1d60c2e73fcb342c2797dd6c00e8b8 | [
"Apache-2.0"
] | null | null | null | from ManualImageClassification.classifier_canvas import ClassifierCanvas
def main():
pass | 19 | 72 | 0.831579 | 9 | 95 | 8.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126316 | 95 | 5 | 73 | 19 | 0.939759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | 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 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
e0f8e3b685c666267e06b1d825c8f116ba8d739b | 2,446 | py | Python | sqlhild/example.py | willemt/sqlhild | 13815095cc38b0b72479891640a8b385d8db46d5 | [
"BSD-3-Clause"
] | null | null | null | sqlhild/example.py | willemt/sqlhild | 13815095cc38b0b72479891640a8b385d8db46d5 | [
"BSD-3-Clause"
] | null | null | null | sqlhild/example.py | willemt/sqlhild | 13815095cc38b0b72479891640a8b385d8db46d5 | [
"BSD-3-Clause"
] | null | null | null | import numpy
from . import table
class Process(table.Table):
def produce(self):
import psutil
return [p.as_dict(attrs=['pid', 'name', 'username', 'status'])
for p in psutil.process_iter()]
class Users(table.Table):
def produce(self):
import psutil
return [o._... | 20.04918 | 80 | 0.519215 | 285 | 2,446 | 4.4 | 0.221053 | 0.111643 | 0.111643 | 0.111643 | 0.795056 | 0.73764 | 0.73764 | 0.73764 | 0.703349 | 0.703349 | 0 | 0.018215 | 0.326656 | 2,446 | 121 | 81 | 20.214876 | 0.743169 | 0 | 0 | 0.709302 | 0 | 0 | 0.03843 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.197674 | false | 0 | 0.05814 | 0.162791 | 0.674419 | 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 | 1 | 0 | 0 | 0 | 7 |
1caa2cd72f4a327bc7a9606ee76b5cd34db1e1d1 | 440 | py | Python | rastervision2/core/pipeline/__init__.py | csaybar/raster-vision | 617ca15f64e3b8a391432306a743f7d0dfff352f | [
"Apache-2.0"
] | 1 | 2020-10-10T12:32:43.000Z | 2020-10-10T12:32:43.000Z | rastervision2/core/pipeline/__init__.py | csaybar/raster-vision | 617ca15f64e3b8a391432306a743f7d0dfff352f | [
"Apache-2.0"
] | null | null | null | rastervision2/core/pipeline/__init__.py | csaybar/raster-vision | 617ca15f64e3b8a391432306a743f7d0dfff352f | [
"Apache-2.0"
] | 1 | 2021-12-02T08:07:21.000Z | 2021-12-02T08:07:21.000Z | # flake8: noqa
TRAIN = 'train'
VALIDATION = 'validation'
from rastervision2.core.pipeline.rv_pipeline import *
from rastervision2.core.pipeline.rv_pipeline_config import *
from rastervision2.core.pipeline.chip_classification import *
from rastervision2.core.pipeline.chip_classification_config import *
from rastervisi... | 36.666667 | 70 | 0.847727 | 51 | 440 | 7.137255 | 0.294118 | 0.28022 | 0.346154 | 0.478022 | 0.857143 | 0.840659 | 0.593407 | 0 | 0 | 0 | 0 | 0.017284 | 0.079545 | 440 | 11 | 71 | 40 | 0.881481 | 0.027273 | 0 | 0 | 0 | 0 | 0.035211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
1cd88f39c69a04775329b19a3e135d3bfedb66eb | 5,383 | py | Python | First semestre/Informatics/Labs/Lab4/AdditionalTask1.py | robqqq/ITMO | 0d33d7b2e1d4baf1ac39e8d688eb38cc23cef03b | [
"MIT"
] | 2 | 2021-02-28T11:42:26.000Z | 2021-04-04T15:34:01.000Z | First semestre/Informatics/Labs/Lab4/AdditionalTask1.py | robqqq/ITMO | 0d33d7b2e1d4baf1ac39e8d688eb38cc23cef03b | [
"MIT"
] | null | null | null | First semestre/Informatics/Labs/Lab4/AdditionalTask1.py | robqqq/ITMO | 0d33d7b2e1d4baf1ac39e8d688eb38cc23cef03b | [
"MIT"
] | 3 | 2021-04-09T13:06:37.000Z | 2021-06-15T22:15:17.000Z | import re
file = open('Hamlet.txt', encoding="utf-8")
text = file.read()
pattern = re.compile(r"(?<=[.!?]\s)[qQwWrRtTpPsSdDfFgGhHjJkKlLzZxXcCvVbBnNmM]*[eEyYuUiIoOaA][qQwWrRtTpPsSdDfFgGhHjJkKlLzZxXcCvVbBnNmM]*[eEyYuUiIoOaA][qQwWrRtTpPsSdDfFgGhHjJkKlLzZxXcCvVbBnNmM]*(?:(?:[\[,:;\'\"()\s\]])+(?:[qQwWrRtTpPsSdDfFgGhHjJkKlL... | 672.875 | 5,230 | 0.818874 | 201 | 5,383 | 21.930348 | 0.139303 | 0.731397 | 1.085299 | 0.61343 | 0.970962 | 0.938294 | 0.938294 | 0.938294 | 0.938294 | 0.938294 | 0 | 0.001679 | 0.004458 | 5,383 | 7 | 5,231 | 769 | 0.820862 | 0 | 0 | 0 | 0 | 0.714286 | 0.595393 | 0.592235 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.142857 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 15 |
1cf36d22c7d397f0003d3722a53d62017429869f | 6,168 | py | Python | tests/v2/test_0982-missing-case-in-nonlocal-reducers.py | amangoel185/awkward-1.0 | 892b5abca4a2e86842d160cede9836b1c4352e45 | [
"BSD-3-Clause"
] | null | null | null | tests/v2/test_0982-missing-case-in-nonlocal-reducers.py | amangoel185/awkward-1.0 | 892b5abca4a2e86842d160cede9836b1c4352e45 | [
"BSD-3-Clause"
] | null | null | null | tests/v2/test_0982-missing-case-in-nonlocal-reducers.py | amangoel185/awkward-1.0 | 892b5abca4a2e86842d160cede9836b1c4352e45 | [
"BSD-3-Clause"
] | null | null | null | # BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE
from __future__ import absolute_import
import pytest # noqa: F401
import numpy as np # noqa: F401
import awkward as ak # noqa: F401
def test():
ak_array = ak._v2.highlevel.Array(
[
[[2, 3], [], [], [7,... | 24.188235 | 87 | 0.379215 | 740 | 6,168 | 3.044595 | 0.075676 | 0.118065 | 0.071904 | 0.177541 | 0.870395 | 0.857967 | 0.83178 | 0.83178 | 0.819796 | 0.819796 | 0 | 0.175364 | 0.38797 | 6,168 | 254 | 88 | 24.283465 | 0.421457 | 0.019131 | 0 | 0.585903 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088106 | 1 | 0.013216 | false | 0 | 0.017621 | 0 | 0.030837 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e803ce7f1b69232b03bb64ecd5108a7713080725 | 2,559 | py | Python | core/lib/point/app/tags.py | nokitakaze/point | a6a6026462116645c33463e5143b791f462da588 | [
"Apache-2.0"
] | null | null | null | core/lib/point/app/tags.py | nokitakaze/point | a6a6026462116645c33463e5143b791f462da588 | [
"Apache-2.0"
] | null | null | null | core/lib/point/app/tags.py | nokitakaze/point | a6a6026462116645c33463e5143b791f462da588 | [
"Apache-2.0"
] | null | null | null | from geweb import log
import geweb.db.pgsql as db
from point.util.env import env
from point.core.user import User, SubscribeError
from psycopg2 import IntegrityError
def subscribe(taglist, login=None):
if login:
user = User('login', login)
uid = user.id
if user == env.user:
ra... | 28.433333 | 61 | 0.509965 | 306 | 2,559 | 4.183007 | 0.176471 | 0.103125 | 0.0375 | 0.046875 | 0.842188 | 0.842188 | 0.842188 | 0.842188 | 0.842188 | 0.842188 | 0 | 0.000629 | 0.378664 | 2,559 | 89 | 62 | 28.752809 | 0.804403 | 0 | 0 | 0.857143 | 0 | 0 | 0.192729 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051948 | false | 0.025974 | 0.064935 | 0 | 0.116883 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
e82337f341f62ff3f7c1252410582579b8ba0f1f | 20,535 | py | Python | imports/paper annotation (python)/Annotate.py | cyang0128/Nutritional-Epidemiologic-ontologies | f693be0dab511cd4003d3bd3ee094356850b6f88 | [
"CC-BY-4.0"
] | 3 | 2019-07-26T14:07:12.000Z | 2021-12-29T02:20:05.000Z | imports/paper annotation (python)/Annotate.py | cyang0128/Nutritional-Epidemiologic-ontologies | f693be0dab511cd4003d3bd3ee094356850b6f88 | [
"CC-BY-4.0"
] | 1 | 2021-02-03T06:59:06.000Z | 2021-02-03T06:59:06.000Z | imports/paper annotation (python)/Annotate.py | cyang0128/Nutritional-Epidemiologic-ontologies | f693be0dab511cd4003d3bd3ee094356850b6f88 | [
"CC-BY-4.0"
] | 2 | 2021-06-11T04:42:34.000Z | 2021-11-10T01:24:35.000Z | def nut(doi, *nut_items):
from py2neo import Graph, Node, Relationship
graph = Graph("http://localhost:7474", auth=("neo4j", ""))
query = """
MATCH (n:`Article`{DOI:'%s'})
MERGE (n)-[:`STROBE-nut`{DOI:'10.1371/journal.pmed.1002036'}]->(:`STROBE-nut article`{name:'Harmonized Article', DOI:'%s'})
... | 43.878205 | 144 | 0.472656 | 2,277 | 20,535 | 4.250769 | 0.056214 | 0.060337 | 0.066949 | 0.074388 | 0.901539 | 0.899576 | 0.89627 | 0.892861 | 0.87478 | 0.836037 | 0 | 0.008302 | 0.313708 | 20,535 | 467 | 145 | 43.972163 | 0.678493 | 0 | 0 | 0.798969 | 0 | 0.146907 | 0.695222 | 0.271319 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002577 | false | 0 | 0.002577 | 0 | 0.005155 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1c1c574b78b09eb97c5ce30956777b0e5980f336 | 9,338 | py | Python | serial_scripts/alarm_config/test_alarm_config.py | atsgen/tf-test | 2748fcd81491450c75dadc71849d2a1c11061029 | [
"Apache-2.0"
] | 5 | 2020-09-29T00:36:57.000Z | 2022-02-16T06:51:32.000Z | serial_scripts/alarm_config/test_alarm_config.py | atsgen/tf-test | 2748fcd81491450c75dadc71849d2a1c11061029 | [
"Apache-2.0"
] | 27 | 2019-11-02T02:18:34.000Z | 2022-02-24T18:49:08.000Z | serial_scripts/alarm_config/test_alarm_config.py | atsgen/tf-test | 2748fcd81491450c75dadc71849d2a1c11061029 | [
"Apache-2.0"
] | 20 | 2019-11-28T16:02:25.000Z | 2022-01-06T05:56:58.000Z | from __future__ import absolute_import
from .base import BaseAlarmConfigTest
from alarm_test import *
from .verify import VerifyAlarms
from tcutils.wrappers import preposttest_wrapper
import test
class TestAlarmConfigCases(BaseAlarmConfigTest, VerifyAlarms):
@classmethod
def setUpClass(cls):
super(Tes... | 49.407407 | 108 | 0.656779 | 1,116 | 9,338 | 5.280466 | 0.113799 | 0.109282 | 0.120991 | 0.140506 | 0.922281 | 0.907008 | 0.880367 | 0.874597 | 0.836416 | 0.814865 | 0 | 0.023908 | 0.251981 | 9,338 | 188 | 109 | 49.670213 | 0.819757 | 0.399229 | 0 | 0.704545 | 0 | 0 | 0.298308 | 0.139701 | 0 | 0 | 0 | 0 | 0 | 1 | 0.113636 | false | 0.011364 | 0.068182 | 0 | 0.193182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
1c3872127e305c1d6af42c66f910cbac6696d91c | 72,366 | py | Python | Python-Client/project/myService.py | d0d0d0/Persona | cbea1dfaae1d44b286d9b350ccba36bc7fca4a5a | [
"MIT"
] | null | null | null | Python-Client/project/myService.py | d0d0d0/Persona | cbea1dfaae1d44b286d9b350ccba36bc7fca4a5a | [
"MIT"
] | null | null | null | Python-Client/project/myService.py | d0d0d0/Persona | cbea1dfaae1d44b286d9b350ccba36bc7fca4a5a | [
"MIT"
] | null | null | null | #
# Autogenerated by Thrift Compiler (0.9.1)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
# options string: py
#
from thrift.Thrift import TType, TMessageType, TException, TApplicationException
from ttypes import *
from thrift.Thrift import TProcessor
from thrift.transport import TTransport
... | 29.890954 | 188 | 0.657118 | 8,275 | 72,366 | 5.520967 | 0.023082 | 0.016964 | 0.030535 | 0.02758 | 0.866239 | 0.827606 | 0.815086 | 0.797049 | 0.777591 | 0.775774 | 0 | 0.006089 | 0.223821 | 72,366 | 2,420 | 189 | 29.903306 | 0.807278 | 0.027499 | 0 | 0.825992 | 1 | 0 | 0.029567 | 0.001977 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125612 | false | 0.020663 | 0.003263 | 0.039152 | 0.249048 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1c68dc04e291388e8030fe08e2f4f61d4259235d | 14,798 | py | Python | model-optimizer/extensions/middle/UselessSridedSlice_test.py | giulio1979/dldt | e7061922066ccefc54c8dae6e3215308ce9559e1 | [
"Apache-2.0"
] | 1 | 2021-07-30T17:03:50.000Z | 2021-07-30T17:03:50.000Z | model-optimizer/extensions/middle/UselessSridedSlice_test.py | Dipet/dldt | b2140c083a068a63591e8c2e9b5f6b240790519d | [
"Apache-2.0"
] | null | null | null | model-optimizer/extensions/middle/UselessSridedSlice_test.py | Dipet/dldt | b2140c083a068a63591e8c2e9b5f6b240790519d | [
"Apache-2.0"
] | null | null | null | """
Copyright (C) 2018-2020 Intel Corporation
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 agreed to i... | 55.841509 | 108 | 0.48635 | 1,334 | 14,798 | 5.008246 | 0.106447 | 0.174225 | 0.102979 | 0.107768 | 0.841491 | 0.824577 | 0.820536 | 0.798383 | 0.796587 | 0.793145 | 0 | 0.02624 | 0.389647 | 14,798 | 264 | 109 | 56.05303 | 0.713463 | 0.041898 | 0 | 0.701357 | 0 | 0 | 0.272625 | 0.044083 | 0 | 0 | 0 | 0 | 0.027149 | 1 | 0.027149 | false | 0.004525 | 0.027149 | 0 | 0.058824 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
1c6a6bb7ef6e7b0d4239da4657116113f33219e5 | 147 | wsgi | Python | anella/pi40orch.wsgi | Fundacio-i2CAT/ai4.0-tenor | cafb6127f0c9c4f0a8df1eb48cd4fa1a0ee1aed1 | [
"curl",
"Vim",
"Ruby",
"Apache-2.0"
] | null | null | null | anella/pi40orch.wsgi | Fundacio-i2CAT/ai4.0-tenor | cafb6127f0c9c4f0a8df1eb48cd4fa1a0ee1aed1 | [
"curl",
"Vim",
"Ruby",
"Apache-2.0"
] | null | null | null | anella/pi40orch.wsgi | Fundacio-i2CAT/ai4.0-tenor | cafb6127f0c9c4f0a8df1eb48cd4fa1a0ee1aed1 | [
"curl",
"Vim",
"Ruby",
"Apache-2.0"
] | null | null | null | import sys
import os
sys.path.insert(0, '/home/ubuntu/TeNOR/anella')
os.chdir("/home/ubuntu/TeNOR/anella")
from start import APP as application
| 16.333333 | 47 | 0.755102 | 24 | 147 | 4.625 | 0.666667 | 0.18018 | 0.27027 | 0.378378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007634 | 0.108844 | 147 | 8 | 48 | 18.375 | 0.839695 | 0 | 0 | 0 | 0 | 0 | 0.342466 | 0.342466 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 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 | 1 | 0 | 0 | 7 |
98e000ea5c0966200da097dc5c6807d6bcaf5585 | 33,435 | py | Python | lime/tests/test_lime_tabular.py | JadeBlue96/lime | f24802810404efeb5bad04553b7b10cfd2419d56 | [
"BSD-2-Clause"
] | null | null | null | lime/tests/test_lime_tabular.py | JadeBlue96/lime | f24802810404efeb5bad04553b7b10cfd2419d56 | [
"BSD-2-Clause"
] | null | null | null | lime/tests/test_lime_tabular.py | JadeBlue96/lime | f24802810404efeb5bad04553b7b10cfd2419d56 | [
"BSD-2-Clause"
] | null | null | null | import collections
import unittest
import numpy as np
import sklearn # noqa
import sklearn.linear_model # noqa
from lime.discretize import QuartileDiscretizer, DecileDiscretizer, EntropyDiscretizer
from numpy.testing import assert_array_equal
from sklearn.datasets import load_iris, make_classification, make_multilab... | 50.052395 | 96 | 0.451234 | 2,693 | 33,435 | 5.347196 | 0.068325 | 0.095833 | 0.055972 | 0.070486 | 0.835 | 0.817639 | 0.782847 | 0.779028 | 0.769028 | 0.766458 | 0 | 0.028637 | 0.423478 | 33,435 | 667 | 97 | 50.127436 | 0.718406 | 0.070405 | 0 | 0.793951 | 0 | 0 | 0.015302 | 0 | 0 | 0 | 0 | 0 | 0.081285 | 1 | 0.022684 | false | 0 | 0.028355 | 0 | 0.05293 | 0.00189 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c70ab103a0337d6e210d3276e80602ad7026d5f8 | 1,078 | py | Python | scripts/architectures/model2.py | OleguerCanal/kaggle_digit-recognizer | 89268df3e13744faacec5bf18bdc5071abf094d4 | [
"MIT"
] | null | null | null | scripts/architectures/model2.py | OleguerCanal/kaggle_digit-recognizer | 89268df3e13744faacec5bf18bdc5071abf094d4 | [
"MIT"
] | null | null | null | scripts/architectures/model2.py | OleguerCanal/kaggle_digit-recognizer | 89268df3e13744faacec5bf18bdc5071abf094d4 | [
"MIT"
] | null | null | null | from keras.models import Sequential
from keras.layers import Conv2D, MaxPooling2D, Dropout, Flatten, Dense, BatchNormalization
def model2(input_shape):
model = Sequential()
model.add(Conv2D(32,kernel_size=3,activation='relu',input_shape=input_shape))
model.add(BatchNormalization())
model.add(Conv2D(32... | 35.933333 | 90 | 0.718924 | 140 | 1,078 | 5.471429 | 0.257143 | 0.198433 | 0.237598 | 0.28329 | 0.714099 | 0.714099 | 0.714099 | 0.714099 | 0.714099 | 0.603133 | 0 | 0.042373 | 0.124304 | 1,078 | 29 | 91 | 37.172414 | 0.769068 | 0 | 0 | 0.5 | 0 | 0 | 0.039889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0.083333 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c70d5077b66ccef0b5750bbb03fe92575a5ef367 | 69 | py | Python | 9.fibbonacci.py | shaunakganorkar/PythonMeetup-2014 | a845b1612b5755eeb3b91ba34f3339327763fdfe | [
"MIT"
] | null | null | null | 9.fibbonacci.py | shaunakganorkar/PythonMeetup-2014 | a845b1612b5755eeb3b91ba34f3339327763fdfe | [
"MIT"
] | null | null | null | 9.fibbonacci.py | shaunakganorkar/PythonMeetup-2014 | a845b1612b5755eeb3b91ba34f3339327763fdfe | [
"MIT"
] | null | null | null | a, b =0,1
while b<100:
print b,
a, b= b,a+ b
| 9.857143 | 17 | 0.347826 | 14 | 69 | 1.714286 | 0.5 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 0.507246 | 69 | 6 | 18 | 11.5 | 0.558824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.25 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 7 |
c76f3cf41dd29a4f324495117bd63d892cc280e7 | 2,891 | py | Python | commons/test/test_decorators.py | DeltaML/commons | 5f75783e8e63972bc906fac9f63eb4d1469cad4a | [
"MIT"
] | 1 | 2020-04-24T02:19:18.000Z | 2020-04-24T02:19:18.000Z | commons/test/test_decorators.py | DeltaML/commons | 5f75783e8e63972bc906fac9f63eb4d1469cad4a | [
"MIT"
] | 4 | 2019-08-23T02:02:17.000Z | 2019-09-11T03:22:09.000Z | commons/test/test_decorators.py | DeltaML/commons | 5f75783e8e63972bc906fac9f63eb4d1469cad4a | [
"MIT"
] | null | null | null | import unittest
import numpy as np
from numpy import testing
from unittest.mock import MagicMock
from commons.decorators.decorators import optimized_collection_parameter, optimized_collection_response
from commons.decorators.decorators import normalize_optimized_collection_argument, normalize_optimized_response
clas... | 32.483146 | 111 | 0.658596 | 360 | 2,891 | 5.052778 | 0.122222 | 0.156679 | 0.039582 | 0.04398 | 0.84497 | 0.780099 | 0.728972 | 0.71138 | 0.71138 | 0.71138 | 0 | 0.023875 | 0.246627 | 2,891 | 88 | 112 | 32.852273 | 0.811295 | 0 | 0 | 0.617647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132353 | 1 | 0.235294 | false | 0 | 0.088235 | 0.117647 | 0.455882 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 8 |
c79653b3fea7f7e9ad849d52fc744aa2c1177b81 | 563 | py | Python | Calliope/02 Rechtecke zeichnen/Rechtecke zeichnen.py | frankyhub/Python | 323ef1399efcbc24ddc66ad069ff99b4999fff38 | [
"MIT"
] | null | null | null | Calliope/02 Rechtecke zeichnen/Rechtecke zeichnen.py | frankyhub/Python | 323ef1399efcbc24ddc66ad069ff99b4999fff38 | [
"MIT"
] | null | null | null | Calliope/02 Rechtecke zeichnen/Rechtecke zeichnen.py | frankyhub/Python | 323ef1399efcbc24ddc66ad069ff99b4999fff38 | [
"MIT"
] | null | null | null | """
Rechtecke zeichnen
================================================="""
import turtle
turtle.left(20)
turtle.forward(50)
turtle.left(90)
turtle.forward(50)
turtle.left(90)
turtle.forward(50)
turtle.left(90)
turtle.forward(50)
turtle.left(90)
turtle.left(30)
turtle.forward(50)
turtle.left(90)
turtle.forward(50)
... | 15.216216 | 52 | 0.690941 | 85 | 563 | 4.576471 | 0.129412 | 0.385604 | 0.462725 | 0.647815 | 0.884319 | 0.884319 | 0.884319 | 0.884319 | 0.884319 | 0.884319 | 0 | 0.102857 | 0.067496 | 563 | 37 | 53 | 15.216216 | 0.638095 | 0.120782 | 0 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.035714 | 0 | 0.035714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
1bed14150ad7a80f982b176a0a5eedd07ca5e25e | 122 | py | Python | BoneQuadrentAnalysis_6be3f97a40e711e9ae07005056c00008/__init__.py | daniella-patton/Bone_Micro_Strength | 5e01364f060ea2844898459184835d388d3f17e9 | [
"MIT"
] | null | null | null | BoneQuadrentAnalysis_6be3f97a40e711e9ae07005056c00008/__init__.py | daniella-patton/Bone_Micro_Strength | 5e01364f060ea2844898459184835d388d3f17e9 | [
"MIT"
] | null | null | null | BoneQuadrentAnalysis_6be3f97a40e711e9ae07005056c00008/__init__.py | daniella-patton/Bone_Micro_Strength | 5e01364f060ea2844898459184835d388d3f17e9 | [
"MIT"
] | null | null | null | from .BoneQuadrentAnalysis_6be3f97a40e711e9ae07005056c00008 import BoneQuadrentAnalysis_6be3f97a40e711e9ae07005056c00008
| 61 | 121 | 0.95082 | 6 | 122 | 19 | 0.666667 | 0.912281 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.393162 | 0.040984 | 122 | 1 | 122 | 122 | 0.581197 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
1bfa2e5ab878443ff444a5aa07dfbd7171a6b69b | 118 | py | Python | redditchat/common/context.py | reverie/seddit.com | 3ffeeae66c85a3b4dd0f164929f171bd7dc23a2f | [
"MIT"
] | 1 | 2020-10-25T15:10:43.000Z | 2020-10-25T15:10:43.000Z | jotleaf/common/context.py | reverie/jotleaf.com | 86311b546bb5bae7ba826f5576ea82ac515e8b7d | [
"MIT"
] | 4 | 2020-02-11T23:01:20.000Z | 2021-06-10T17:58:40.000Z | redditchat/common/context.py | reverie/seddit.com | 3ffeeae66c85a3b4dd0f164929f171bd7dc23a2f | [
"MIT"
] | null | null | null | from django.conf import settings as django_settings
def settings(request):
return {'settings': django_settings}
| 19.666667 | 51 | 0.779661 | 15 | 118 | 6 | 0.6 | 0.311111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144068 | 118 | 5 | 52 | 23.6 | 0.891089 | 0 | 0 | 0 | 0 | 0 | 0.068376 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
4081f1c5a9c2b539f117f1ebc7e8bfe643c2910d | 9,583 | py | Python | Scripts/calc_Detrend.py | muskanmahajan37/aa | 8cc72f8b36da0f76ba019a6d0200c33f951d5f57 | [
"MIT"
] | 3 | 2020-03-06T12:22:02.000Z | 2022-02-22T00:32:29.000Z | Scripts/calc_Detrend.py | muskanmahajan37/aa | 8cc72f8b36da0f76ba019a6d0200c33f951d5f57 | [
"MIT"
] | null | null | null | Scripts/calc_Detrend.py | muskanmahajan37/aa | 8cc72f8b36da0f76ba019a6d0200c33f951d5f57 | [
"MIT"
] | 3 | 2019-09-23T07:32:57.000Z | 2021-02-12T19:26:45.000Z | """
Functions remove the linear trend at each grid point for the period of
1979-2016.
Notes
-----
Author : Zachary Labe
Date : 4 February 2019
Usage
-----
detrendData(datavar,timeperiod)
detrendDataR(datavar,timeperiod)
"""
def detrendData(datavar,level,timeperiod):
"""
Function remov... | 40.605932 | 82 | 0.425023 | 982 | 9,583 | 4.135438 | 0.11609 | 0.183206 | 0.075843 | 0.10293 | 0.886974 | 0.866535 | 0.812361 | 0.734794 | 0.710909 | 0.710909 | 0 | 0.015302 | 0.399875 | 9,583 | 236 | 83 | 40.605932 | 0.690836 | 0.129813 | 0 | 0.707143 | 0 | 0 | 0.086962 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014286 | false | 0 | 0.028571 | 0 | 0.057143 | 0.107143 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
40bb02654a87a67d11ca3e44b73ee76e6fccb1c9 | 136 | py | Python | hsi_toolkit/dev/__init__.py | nfahlgren/hsi_toolkit_py | 3a03c58bbeaf7b323fa345a22531fa00c56e68b6 | [
"MIT"
] | 22 | 2019-02-07T03:55:37.000Z | 2021-09-26T06:47:07.000Z | hsi_toolkit/dev/__init__.py | nfahlgren/hsi_toolkit_py | 3a03c58bbeaf7b323fa345a22531fa00c56e68b6 | [
"MIT"
] | 2 | 2020-04-14T18:21:23.000Z | 2020-11-11T08:07:38.000Z | hsi_toolkit/dev/__init__.py | nfahlgren/hsi_toolkit_py | 3a03c58bbeaf7b323fa345a22531fa00c56e68b6 | [
"MIT"
] | 15 | 2019-02-07T03:56:59.000Z | 2022-02-24T07:42:57.000Z | from hsi_toolkit.dev import anomaly_detectors
from hsi_toolkit.dev import dim_reduction
from hsi_toolkit.dev import signature_detectors
| 34 | 47 | 0.889706 | 21 | 136 | 5.47619 | 0.47619 | 0.182609 | 0.365217 | 0.443478 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 136 | 3 | 48 | 45.333333 | 0.927419 | 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 | 1 | 0 | 0 | 7 |
40cfc41116b4afa7a866817feda41b09e10918a8 | 2,639 | py | Python | mrplot/modules/validators.py | enzofabricio/mrplot | 45e865241ea6ed7a4e524cbcbac54b75f2976696 | [
"MIT"
] | null | null | null | mrplot/modules/validators.py | enzofabricio/mrplot | 45e865241ea6ed7a4e524cbcbac54b75f2976696 | [
"MIT"
] | null | null | null | mrplot/modules/validators.py | enzofabricio/mrplot | 45e865241ea6ed7a4e524cbcbac54b75f2976696 | [
"MIT"
] | null | null | null | '''This module contains useful validators'''
from __future__ import absolute_import
from PyQt5 import QtGui as qtg
class PlotNumValidator(qtg.QValidator):
def validate(self, string, index):
if len(string) > 10:
state = qtg.QValidator.Invalid
elif not all([x.isdigit() for x in st... | 39.38806 | 79 | 0.497916 | 265 | 2,639 | 4.901887 | 0.192453 | 0.210162 | 0.235566 | 0.192456 | 0.758276 | 0.735951 | 0.714396 | 0.714396 | 0.668206 | 0.668206 | 0 | 0.008307 | 0.406972 | 2,639 | 66 | 80 | 39.984848 | 0.821725 | 0.014399 | 0 | 0.633333 | 0 | 0 | 0.001186 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.033333 | 0 | 0.233333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
40ddadae1853c46ce6758b06629f9e054743cd5e | 37,830 | py | Python | Test/warning_test.py | GeetDsa/pycm | 2665124b95abe18cec0729deaefe99e2e916cbeb | [
"MIT"
] | null | null | null | Test/warning_test.py | GeetDsa/pycm | 2665124b95abe18cec0729deaefe99e2e916cbeb | [
"MIT"
] | null | null | null | Test/warning_test.py | GeetDsa/pycm | 2665124b95abe18cec0729deaefe99e2e916cbeb | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
>>> from pycm import *
>>> from pytest import warns
>>> large_cm = ConfusionMatrix(list(range(10))+[2,3,5],list(range(10))+[1,7,2])
>>> with warns(RuntimeWarning, match='The confusion matrix is a high dimension matrix'):
... large_cm.print_matrix()
Predict 0 1 2 3 ... | 108.085714 | 203 | 0.280545 | 3,748 | 37,830 | 2.829242 | 0.094717 | 0.126556 | 0.109487 | 0.105621 | 0.976047 | 0.97567 | 0.97567 | 0.97567 | 0.967937 | 0.967937 | 0 | 0.352077 | 0.676104 | 37,830 | 349 | 204 | 108.395415 | 0.513344 | 0.999736 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
40e78d46ce04ef230f42594f2c8dfec255d51f39 | 4,286 | py | Python | test/test_macro/supporting/test_prefix.py | NikkaZ/dbtvault_spark | 383723cd2a35a0bc7b82fd4e77fb1eda0f68cb07 | [
"Apache-2.0"
] | null | null | null | test/test_macro/supporting/test_prefix.py | NikkaZ/dbtvault_spark | 383723cd2a35a0bc7b82fd4e77fb1eda0f68cb07 | [
"Apache-2.0"
] | null | null | null | test/test_macro/supporting/test_prefix.py | NikkaZ/dbtvault_spark | 383723cd2a35a0bc7b82fd4e77fb1eda0f68cb07 | [
"Apache-2.0"
] | null | null | null | import pytest
from test import dbtvault_harness_utils
macro_name = "prefix"
@pytest.mark.macro
def test_prefix_column_in_single_item_list_is_successful(request, generate_model):
var_dict = {'columns': ["CUSTOMER_HASHDIFF"], 'prefix': 'c'}
generate_model()
dbt_logs = dbtvault_harness_utils.run_dbt_mode... | 39.685185 | 117 | 0.715819 | 532 | 4,286 | 5.332707 | 0.116541 | 0.121607 | 0.162143 | 0.081072 | 0.941487 | 0.935143 | 0.922806 | 0.883327 | 0.883327 | 0.883327 | 0 | 0 | 0.181521 | 4,286 | 107 | 118 | 40.056075 | 0.808723 | 0 | 0 | 0.757143 | 1 | 0 | 0.143024 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 1 | 0.1 | false | 0 | 0.028571 | 0 | 0.128571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
dc00bb191978c7895045f81dedcc56a0da356e92 | 95,122 | py | Python | app/modules/PaloAlto.py | axelvf/assimilator | 2ff24b17779b6b8004b414a5d3c920c59bde46b0 | [
"MIT"
] | null | null | null | app/modules/PaloAlto.py | axelvf/assimilator | 2ff24b17779b6b8004b414a5d3c920c59bde46b0 | [
"MIT"
] | null | null | null | app/modules/PaloAlto.py | axelvf/assimilator | 2ff24b17779b6b8004b414a5d3c920c59bde46b0 | [
"MIT"
] | null | null | null | from bs4 import BeautifulSoup
from bs4.element import Tag
from lxml import objectify
import xmltodict
from functools import wraps
from app.modules.firewall import Firewall
import ConfigParser, re, json, logging
from threading import Thread
from requests import get
from requests.packages.urllib3.exceptions import Insecu... | 47.944556 | 210 | 0.651122 | 12,754 | 95,122 | 4.822722 | 0.029716 | 0.05926 | 0.036661 | 0.026825 | 0.925832 | 0.912728 | 0.897869 | 0.884992 | 0.875693 | 0.867353 | 0 | 0.008774 | 0.163632 | 95,122 | 1,983 | 211 | 47.968734 | 0.76437 | 0.010944 | 0 | 0.82918 | 0 | 0.018172 | 0.264742 | 0.062392 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.002077 | 0.005711 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
904c7ed0aa3a812113288fb32a2b135c05581530 | 407 | py | Python | chainercv/links/model/yolo/__init__.py | kazutvoice05/Faster_RCNN_SUNRGBD | d376e7ee45422d701f6d4bf301d9c9af611170ff | [
"MIT"
] | 1 | 2018-12-05T04:30:10.000Z | 2018-12-05T04:30:10.000Z | chainercv/links/model/yolo/__init__.py | apple2373/chainercv | 1442eac6a316c31eab029c156b6d6e151553be2a | [
"MIT"
] | null | null | null | chainercv/links/model/yolo/__init__.py | apple2373/chainercv | 1442eac6a316c31eab029c156b6d6e151553be2a | [
"MIT"
] | 2 | 2019-12-16T02:20:26.000Z | 2022-01-17T02:00:49.000Z | from chainercv.links.model.yolo.yolo_base import YOLOBase # NOQA
from chainercv.links.model.yolo.yolo_v2 import Darknet19Extractor # NOQA
from chainercv.links.model.yolo.yolo_v2 import YOLOv2 # NOQA
from chainercv.links.model.yolo.yolo_v3 import Darknet53Extractor # NOQA
from chainercv.links.model.yolo.yolo_v3 impo... | 58.142857 | 73 | 0.823096 | 60 | 407 | 5.483333 | 0.266667 | 0.237082 | 0.328267 | 0.419453 | 0.74772 | 0.74772 | 0.653495 | 0.653495 | 0.653495 | 0 | 0 | 0.030137 | 0.103194 | 407 | 6 | 74 | 67.833333 | 0.871233 | 0.071253 | 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 | 1 | 0 | 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 | 8 |
907bc6de8052bfcb187d2fe2c78a37da7dba57b0 | 111 | py | Python | Baseline/model/loss.py | ndkhanh360/CAER | 93d25828ce2ea050fb379d85258ba3fdbf59d2a6 | [
"MIT"
] | 18 | 2020-06-01T18:09:47.000Z | 2022-02-01T13:35:20.000Z | Baseline/model/loss.py | ndkhanh360/CAER | 93d25828ce2ea050fb379d85258ba3fdbf59d2a6 | [
"MIT"
] | 12 | 2020-06-25T09:01:06.000Z | 2022-03-12T00:48:22.000Z | Baseline/model/loss.py | ndkhanh360/CAER | 93d25828ce2ea050fb379d85258ba3fdbf59d2a6 | [
"MIT"
] | 6 | 2020-10-30T07:35:30.000Z | 2022-03-28T09:33:33.000Z | import torch.nn.functional as F
def cross_entropy(output, target):
return F.cross_entropy(output, target)
| 22.2 | 42 | 0.774775 | 17 | 111 | 4.941176 | 0.705882 | 0.285714 | 0.428571 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 111 | 4 | 43 | 27.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 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 | 1 | 1 | 1 | 0 | 0 | 9 |
90821ab0225a0f73efb4981fb641e06192dea14b | 263 | py | Python | kaggler/preprocessing/__init__.py | ppstacy/Kaggler | 4fedc30153a4a74343fdec91468b96372873ebac | [
"MIT"
] | null | null | null | kaggler/preprocessing/__init__.py | ppstacy/Kaggler | 4fedc30153a4a74343fdec91468b96372873ebac | [
"MIT"
] | null | null | null | kaggler/preprocessing/__init__.py | ppstacy/Kaggler | 4fedc30153a4a74343fdec91468b96372873ebac | [
"MIT"
] | null | null | null | from .categorical import OneHotEncoder, LabelEncoder, TargetEncoder, EmbeddingEncoder
from .numerical import Normalizer, QuantileEncoder
__all__ = ['OneHotEncoder', 'LabelEncoder', 'TargetEncoder', 'EmbeddingEncoder',
'Normalizer', 'QuantileEncoder']
| 43.833333 | 85 | 0.779468 | 19 | 263 | 10.578947 | 0.578947 | 0.248756 | 0.378109 | 0.537313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121673 | 263 | 5 | 86 | 52.6 | 0.87013 | 0 | 0 | 0 | 0 | 0 | 0.30038 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
908734d9e3e00725ca351589fef044c7f57e31c4 | 6,632 | py | Python | test/smlib_test.py | MagikBSD/smlib | 4f031d43dbdc996ab95a12656431c6af2c846413 | [
"BSD-2-Clause"
] | null | null | null | test/smlib_test.py | MagikBSD/smlib | 4f031d43dbdc996ab95a12656431c6af2c846413 | [
"BSD-2-Clause"
] | null | null | null | test/smlib_test.py | MagikBSD/smlib | 4f031d43dbdc996ab95a12656431c6af2c846413 | [
"BSD-2-Clause"
] | null | null | null | from smlib import *
import unittest
class MessageTest(unittest.TestCase):
def test_basic(self):
msg = Message()
msg.per('from@example.com')
msg.to('to@example.com')
msg.subject('Test')
msg.text('This is a test.')
self.assertEqual(str(msg), 'Content-Type: text/plain; ... | 60.290909 | 700 | 0.610223 | 952 | 6,632 | 4.226891 | 0.087185 | 0.156561 | 0.10338 | 0.055666 | 0.918241 | 0.914264 | 0.878479 | 0.861332 | 0.838221 | 0.823807 | 0 | 0.024656 | 0.156062 | 6,632 | 109 | 701 | 60.844037 | 0.694301 | 0 | 0 | 0.639175 | 0 | 0.103093 | 0.631031 | 0.409077 | 0 | 0 | 0 | 0 | 0.123711 | 1 | 0.123711 | false | 0 | 0.020619 | 0 | 0.154639 | 0.103093 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
90c4252b09a9ae41c9494ba43192126f3973b039 | 9,791 | py | Python | test/integration/test_zone_lockdown_v1.py | IBM/networking-services-python-sdk | a19e47db6a5971562a502982d69a5868997245f3 | [
"Apache-2.0"
] | 1 | 2022-03-26T18:20:42.000Z | 2022-03-26T18:20:42.000Z | test/integration/test_zone_lockdown_v1.py | IBM/networking-services-python-sdk | a19e47db6a5971562a502982d69a5868997245f3 | [
"Apache-2.0"
] | null | null | null | test/integration/test_zone_lockdown_v1.py | IBM/networking-services-python-sdk | a19e47db6a5971562a502982d69a5868997245f3 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# (C) Copyright IBM Corp. 2020.
"""
Integration test code for zone firewall lockdown service
"""
import os
import unittest
from dotenv import load_dotenv, find_dotenv
from ibm_cloud_networking_services.zone_lockdown_v1 import ZoneLockdownV1
configFile = "cis.env"
# load the .env file contain... | 34.843416 | 87 | 0.597079 | 1,192 | 9,791 | 4.735738 | 0.103188 | 0.089283 | 0.087157 | 0.079362 | 0.840567 | 0.833658 | 0.818246 | 0.813995 | 0.805137 | 0.789371 | 0 | 0.025258 | 0.288326 | 9,791 | 280 | 88 | 34.967857 | 0.784874 | 0.090491 | 0 | 0.75 | 0 | 0 | 0.11298 | 0.026411 | 0 | 0 | 0 | 0 | 0.313725 | 1 | 0.039216 | false | 0 | 0.019608 | 0 | 0.063725 | 0.019608 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
90c44349ed700874488309b7d41519a7f19dbb54 | 185 | py | Python | jostedal/utils.py | sporsh/jostedal | 9d8081a10903f452eb462663cf0946c652440328 | [
"MIT"
] | 26 | 2015-12-20T21:42:29.000Z | 2022-03-17T03:38:25.000Z | jostedal/utils.py | sporsh/jostedal | 9d8081a10903f452eb462663cf0946c652440328 | [
"MIT"
] | null | null | null | jostedal/utils.py | sporsh/jostedal | 9d8081a10903f452eb462663cf0946c652440328 | [
"MIT"
] | 10 | 2016-05-29T13:21:06.000Z | 2021-12-24T01:14:23.000Z | import hashlib
def saslprep(string):
#TODO
return string
def ha1(username, realm, password):
return hashlib.md5(':'.join((username, realm, saslprep(password)))).digest()
| 18.5 | 80 | 0.691892 | 22 | 185 | 5.818182 | 0.636364 | 0.203125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012903 | 0.162162 | 185 | 9 | 81 | 20.555556 | 0.812903 | 0.021622 | 0 | 0 | 0 | 0 | 0.005556 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0.4 | false | 0.4 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 8 |
90e7d4c1ae9883e5502f85956055b4486333c006 | 49,754 | py | Python | gnsstools/beidou/b2bi_strings.py | mfkiwl/GNSS-DSP-tools | 2680f1c016dc20851fb766b1e63bf9d470ae2f4c | [
"MIT"
] | 68 | 2015-06-23T17:30:06.000Z | 2022-03-29T22:06:54.000Z | gnsstools/beidou/b2bi_strings.py | mfkiwl/GNSS-DSP-tools | 2680f1c016dc20851fb766b1e63bf9d470ae2f4c | [
"MIT"
] | 4 | 2018-03-01T05:14:36.000Z | 2021-12-05T11:07:39.000Z | gnsstools/beidou/b2bi_strings.py | mfkiwl/GNSS-DSP-tools | 2680f1c016dc20851fb766b1e63bf9d470ae2f4c | [
"MIT"
] | 43 | 2015-06-26T10:27:05.000Z | 2022-03-30T02:47:09.000Z | b2bi_strings = {
19: "g1VrCfVNFH+rV57qwbKeQla3oBPyyFjb4gEwtD6wgY2IlHxi8PIxjhilZLQd3c+N2dF9vKj79McEnR128FDVDU7ah4JipfLyAoRr8uy7R4FirnY8Xox1OSAS23Chz39lWmFFAq0lmg0C5s62acgk2ALzDECWwvguqPfmsc+Uv77MtWF1ubIFwQEGJhtOCKDKTim1gG6E+eYH0k1NmX5orDwhHmDzdJAt8AcmIJKPxlSSxdrfmp+4iNaFdUMDqOHw38QBUydx36LhOqhwgmsjRMjTjAnYP+ccxUxg2vtU... | 1,554.8125 | 1,714 | 0.963822 | 1,568 | 49,754 | 30.58227 | 0.98852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157976 | 0.002412 | 49,754 | 31 | 1,715 | 1,604.967742 | 0.808156 | 0 | 0 | 0 | 0 | 0.935484 | 0.993789 | 0.993789 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
29017576d65a82b081cdf39c9683c3d45acc6616 | 10,577 | py | Python | cdsw_tensorflow_utils.py | cloudera/dist-tf | eaafc5fc71b237a9ee5d99bea20eff7fe12fb45e | [
"Apache-2.0"
] | null | null | null | cdsw_tensorflow_utils.py | cloudera/dist-tf | eaafc5fc71b237a9ee5d99bea20eff7fe12fb45e | [
"Apache-2.0"
] | null | null | null | cdsw_tensorflow_utils.py | cloudera/dist-tf | eaafc5fc71b237a9ee5d99bea20eff7fe12fb45e | [
"Apache-2.0"
] | 1 | 2020-11-24T18:04:50.000Z | 2020-11-24T18:04:50.000Z | # CLOUDERA BLOG-SAMPLE-CODE 1.0
# (c) 2020 - 2020 Cloudera, Inc. All rights reserved.
# This code is provided to you pursuant to the Apache License 2.0,
#
# 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
#
#... | 35.97619 | 167 | 0.694904 | 1,577 | 10,577 | 4.426126 | 0.145212 | 0.051576 | 0.025788 | 0.022923 | 0.931232 | 0.931232 | 0.931232 | 0.931232 | 0.931232 | 0.931232 | 0 | 0.007779 | 0.173584 | 10,577 | 294 | 168 | 35.97619 | 0.790756 | 0.157512 | 0 | 0.980769 | 0 | 0.009615 | 0.363718 | 0.090366 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028846 | false | 0.009615 | 0.076923 | 0 | 0.144231 | 0.019231 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
290432a127d7f8cbfbd4afe10767df02f9345e04 | 6,648 | py | Python | DICE ROLLING SIMULATOR.py | rollex6/Python-refresh | 50bc8cc13418657971a25b98d5ea67386ea7b7c6 | [
"MIT"
] | null | null | null | DICE ROLLING SIMULATOR.py | rollex6/Python-refresh | 50bc8cc13418657971a25b98d5ea67386ea7b7c6 | [
"MIT"
] | null | null | null | DICE ROLLING SIMULATOR.py | rollex6/Python-refresh | 50bc8cc13418657971a25b98d5ea67386ea7b7c6 | [
"MIT"
] | null | null | null | # DICE ROLLING SIMULATOR
import random
class Dice():
def roll(self,x,y):
a = 'y'
while a == 'y':
print(x,y)
if x == 1 and y == 1:
print('___________', '___________')
print('| |', '| |')
print('| 0 |', '| ... | 37.559322 | 62 | 0.231498 | 416 | 6,648 | 2.588942 | 0.069712 | 0.14299 | 0.311978 | 0.334262 | 0.912721 | 0.886722 | 0.873723 | 0.873723 | 0.837512 | 0.7948 | 0 | 0.057686 | 0.525421 | 6,648 | 176 | 63 | 37.772727 | 0.283677 | 0.003309 | 0 | 0.784173 | 0 | 0 | 0.351911 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007194 | false | 0 | 0.007194 | 0 | 0.021583 | 0.769784 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 12 |
46346d5f651edc35b0299444d15014203f54a86a | 9,759 | py | Python | isis/src/qisis/tsts/SquishTests/suites/suite_qmos/tst_movementArrowColors/test.py | ihumphrey-usgs/ISIS3_old | 284cc442b773f8369d44379ee29a9b46961d8108 | [
"Unlicense"
] | null | null | null | isis/src/qisis/tsts/SquishTests/suites/suite_qmos/tst_movementArrowColors/test.py | ihumphrey-usgs/ISIS3_old | 284cc442b773f8369d44379ee29a9b46961d8108 | [
"Unlicense"
] | null | null | null | isis/src/qisis/tsts/SquishTests/suites/suite_qmos/tst_movementArrowColors/test.py | ihumphrey-usgs/ISIS3_old | 284cc442b773f8369d44379ee29a9b46961d8108 | [
"Unlicense"
] | 1 | 2021-07-12T06:05:03.000Z | 2021-07-12T06:05:03.000Z | import os
import shutil
def main():
# Backup current qmos settings ... | 130.12 | 3,439 | 0.605185 | 1,045 | 9,759 | 5.557895 | 0.166507 | 0.079029 | 0.131715 | 0.149277 | 0.823519 | 0.791667 | 0.791667 | 0.774449 | 0.753099 | 0.707817 | 0 | 0.201765 | 0.245312 | 9,759 | 74 | 3,440 | 131.878378 | 0.58683 | 0.018752 | 0 | 0.283019 | 0 | 0.056604 | 0.653025 | 0.465018 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018868 | true | 0.075472 | 0.037736 | 0 | 0.056604 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 13 |
464e02719c54103e970d5f0509476d7fed62819a | 1,334 | py | Python | World/Object/Unit/Spell/Handlers/SpellResult.py | sergio-ivanuzzo/idewave-core | 31b2b2ec4ac222e02af57d8b2d7a3277e4a444ae | [
"Apache-2.0"
] | 10 | 2019-06-29T19:24:52.000Z | 2021-02-21T22:45:57.000Z | World/Object/Unit/Spell/Handlers/SpellResult.py | sergio-ivanuzzo/wowcore | 31b2b2ec4ac222e02af57d8b2d7a3277e4a444ae | [
"Apache-2.0"
] | 4 | 2019-08-15T07:03:36.000Z | 2021-06-02T13:01:25.000Z | World/Object/Unit/Spell/Handlers/SpellResult.py | sergio-ivanuzzo/idewave-core | 31b2b2ec4ac222e02af57d8b2d7a3277e4a444ae | [
"Apache-2.0"
] | 8 | 2019-06-30T22:47:48.000Z | 2021-02-20T19:21:30.000Z | from World.WorldPacket.Constants.WorldOpCode import WorldOpCode
from Server.Connection.Connection import Connection
class SpellResult(object):
def __init__(self, **kwargs):
self.data = kwargs.pop('data', bytes())
self.connection: Connection = kwargs.pop('connection')
async def process(self) ... | 95.285714 | 945 | 0.736132 | 274 | 1,334 | 3.562044 | 0.127737 | 1.278689 | 1.82582 | 2.336066 | 0.657787 | 0.642418 | 0.623975 | 0.602459 | 0.602459 | 0.602459 | 0 | 0.362769 | 0.057721 | 1,334 | 13 | 946 | 102.615385 | 0.413683 | 0 | 0 | 0 | 0 | 0.111111 | 0.702399 | 0.685157 | 0 | 1 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.222222 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
467c6a185e19bc8f0b2774eab1a7e150dc7e3861 | 94,988 | py | Python | meps_db/components/models/outpatient_visits_models.py | explore-meps/meps_dev | cd98ff6b484799fc0f2f447b3945621bd013bee6 | [
"MIT"
] | null | null | null | meps_db/components/models/outpatient_visits_models.py | explore-meps/meps_dev | cd98ff6b484799fc0f2f447b3945621bd013bee6 | [
"MIT"
] | null | null | null | meps_db/components/models/outpatient_visits_models.py | explore-meps/meps_dev | cd98ff6b484799fc0f2f447b3945621bd013bee6 | [
"MIT"
] | null | null | null | from django.db import models
class OutpatientVisits18(models.Model):
""" Defines the OutpatientVisits Model for 2018, derived from the model class. """
# Metadata
class Meta:
""" Set parameters for admin app"""
ordering = ["DUPERSID"]
verbose_name_plural = "OutpatientVisits18"
... | 71.36589 | 95 | 0.727776 | 13,262 | 94,988 | 5.123209 | 0.055271 | 0.24086 | 0.06211 | 0.073472 | 0.905128 | 0.885626 | 0.854115 | 0.838028 | 0.823884 | 0.789268 | 0 | 0.035593 | 0.158504 | 94,988 | 1,330 | 96 | 71.419549 | 0.81443 | 0.025645 | 0 | 0.55102 | 0 | 0 | 0.387979 | 0.009774 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011905 | false | 0 | 0.00085 | 0 | 0.97619 | 0 | 0 | 0 | 0 | null | 1 | 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 | 7 |
468599dc1fbb3ba3039adbb15147f01eb92227c3 | 244 | py | Python | concrete_settings/validators/__init__.py | coordt/concrete-settings | b444c3f1f8cdbe30135c1978876215e04ebc7622 | [
"MIT"
] | 5 | 2020-04-25T12:18:33.000Z | 2021-03-26T18:51:33.000Z | concrete_settings/validators/__init__.py | coordt/concrete-settings | b444c3f1f8cdbe30135c1978876215e04ebc7622 | [
"MIT"
] | 13 | 2019-03-20T10:42:39.000Z | 2021-07-07T08:01:05.000Z | concrete_settings/validators/__init__.py | coordt/concrete-settings | b444c3f1f8cdbe30135c1978876215e04ebc7622 | [
"MIT"
] | 3 | 2020-04-25T08:53:29.000Z | 2021-07-06T19:15:52.000Z | from .validator import Validator # noqa: F401 # imported but unused
from .required_validator import RequiredValidator # noqa: F401 # imported but unused
from .value_type_validator import ValueTypeValidator # noqa: F401 # imported but unused
| 61 | 88 | 0.803279 | 30 | 244 | 6.433333 | 0.433333 | 0.233161 | 0.248705 | 0.295337 | 0.430052 | 0.300518 | 0 | 0 | 0 | 0 | 0 | 0.043269 | 0.147541 | 244 | 3 | 89 | 81.333333 | 0.884615 | 0.389344 | 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 | 1 | 0 | 0 | 7 |
468e8938572600e1233c939749be824dadc8d690 | 4,970 | py | Python | DrivingPerformance/rank1/road1l/new/TurningPerf.py | ahmedkrmn/AirSim | 527c8d794df37d5714cfe661a2618945123c4d9c | [
"MIT"
] | null | null | null | DrivingPerformance/rank1/road1l/new/TurningPerf.py | ahmedkrmn/AirSim | 527c8d794df37d5714cfe661a2618945123c4d9c | [
"MIT"
] | 4 | 2020-03-05T15:42:17.000Z | 2020-03-19T05:37:58.000Z | DrivingPerformance/rank1/road1r/TurningPerf.py | ahmedkrmn/AirSim | 527c8d794df37d5714cfe661a2618945123c4d9c | [
"MIT"
] | null | null | null | # Helper function to get the turning performance with moving in upward right lane and
# turn left.
def UpLeftRightLane(line1, line2, flag, x, y):
laneWidth = abs(line2[0][0]-line2[0][1])
half = line2[0][0] + laneWidth/2 + 2
Rang1_1 = [[half-2, half],[ line2[1][0], line2[1][1] ]]
Rang1_2 = [[half, half... | 45.181818 | 90 | 0.487525 | 896 | 4,970 | 2.592634 | 0.051339 | 0.055101 | 0.030994 | 0.103315 | 0.961687 | 0.94619 | 0.94619 | 0.94619 | 0.94619 | 0.830822 | 0 | 0.173889 | 0.280282 | 4,970 | 110 | 91 | 45.181818 | 0.475538 | 0.038431 | 0 | 0.744681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021277 | false | 0 | 0 | 0 | 0.255319 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4694fce07df3dcc1030f1afd7ac623495c3ac417 | 20,081 | py | Python | sdk/purview/azure-purview-account/azure/purview/account/operations/_accounts_operations.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 1 | 2021-09-16T02:33:52.000Z | 2021-09-16T02:33:52.000Z | sdk/purview/azure-purview-account/azure/purview/account/operations/_accounts_operations.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 1 | 2019-08-05T19:14:28.000Z | 2019-08-05T19:30:05.000Z | sdk/purview/azure-purview-account/azure/purview/account/operations/_accounts_operations.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 1 | 2016-04-19T22:15:47.000Z | 2016-04-19T22:15:47.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 ... | 37.746241 | 133 | 0.524775 | 1,661 | 20,081 | 6.17941 | 0.146899 | 0.079306 | 0.008769 | 0.01325 | 0.830281 | 0.801442 | 0.789361 | 0.7841 | 0.780787 | 0.76968 | 0 | 0.007226 | 0.359096 | 20,081 | 531 | 134 | 37.817326 | 0.790287 | 0.438325 | 0 | 0.714286 | 0 | 0 | 0.082235 | 0.008646 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040179 | false | 0 | 0.044643 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
46a00a62a08af6e6848a19fa868557f9f70ebd8c | 9,202 | py | Python | plot_scatter.py | OceanParcels/NorthSeaBeaching_paper | a9910e635bc89d0b774a653677657d110b84f4b9 | [
"MIT"
] | null | null | null | plot_scatter.py | OceanParcels/NorthSeaBeaching_paper | a9910e635bc89d0b774a653677657d110b84f4b9 | [
"MIT"
] | null | null | null | plot_scatter.py | OceanParcels/NorthSeaBeaching_paper | a9910e635bc89d0b774a653677657d110b84f4b9 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Jun 30 11:14:23 2021
@author: kaandorp
"""
import numpy as np
import pandas as pd
import xarray as xr
import os
from datetime import datetime,timedelta
import matplotlib.pyplot as plt
# import cmocean.cm as cmo
import pickle
import math
def load(file... | 34.081481 | 152 | 0.605521 | 1,379 | 9,202 | 3.836113 | 0.168963 | 0.030246 | 0.010208 | 0.024197 | 0.820983 | 0.815312 | 0.813043 | 0.774291 | 0.751418 | 0.743667 | 0 | 0.069733 | 0.198978 | 9,202 | 270 | 153 | 34.081481 | 0.647945 | 0.124321 | 0 | 0.748691 | 0 | 0.04712 | 0.280713 | 0.056815 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005236 | false | 0 | 0.104712 | 0 | 0.115183 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
46aa1d8b07fa9a21b9207547da9c0e5fae9f247b | 47 | py | Python | teste.py | FelipeViana2018/tutorial | f8c858b501a3675077e94e4e07ba45eecbf30499 | [
"MIT"
] | null | null | null | teste.py | FelipeViana2018/tutorial | f8c858b501a3675077e94e4e07ba45eecbf30499 | [
"MIT"
] | null | null | null | teste.py | FelipeViana2018/tutorial | f8c858b501a3675077e94e4e07ba45eecbf30499 | [
"MIT"
] | null | null | null | print("teste branch")
print("teste branch ok") | 15.666667 | 24 | 0.723404 | 7 | 47 | 4.857143 | 0.571429 | 0.588235 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 3 | 24 | 15.666667 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 7 |
d3b37579621d2011d2b73dd74d6f7c7089e2cd8c | 50 | py | Python | nkit/storage/__init__.py | ankitsainidev/nkit | 74d9b31dc5902b6b4770521bccafba2d4cdf5a6f | [
"MIT"
] | null | null | null | nkit/storage/__init__.py | ankitsainidev/nkit | 74d9b31dc5902b6b4770521bccafba2d4cdf5a6f | [
"MIT"
] | null | null | null | nkit/storage/__init__.py | ankitsainidev/nkit | 74d9b31dc5902b6b4770521bccafba2d4cdf5a6f | [
"MIT"
] | null | null | null | from . import local
# TODO:
#from . import remote
| 12.5 | 21 | 0.7 | 7 | 50 | 5 | 0.714286 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 50 | 3 | 22 | 16.666667 | 0.875 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
d3f7922703cff7314a889fb604f685363b501737 | 3,003 | py | Python | tests/test_raises.py | deknowny/middletools | f994197300b57e6a5cd8584168329f236197fa06 | [
"MIT"
] | 1 | 2022-02-04T06:42:19.000Z | 2022-02-04T06:42:19.000Z | tests/test_raises.py | deknowny/middlewares | f994197300b57e6a5cd8584168329f236197fa06 | [
"MIT"
] | null | null | null | tests/test_raises.py | deknowny/middlewares | f994197300b57e6a5cd8584168329f236197fa06 | [
"MIT"
] | null | null | null | import time
import typing
import unittest.mock
import pytest
import middletools
from tests.types import InboxType, MockPayload, OutboxType
@pytest.mark.asyncio
async def test_not_called_call_next():
middleware1_before_call = unittest.mock.Mock()
middleware1_after_call = unittest.mock.Mock()
middleware2_... | 34.125 | 69 | 0.741592 | 333 | 3,003 | 6.393393 | 0.153153 | 0.065759 | 0.069047 | 0.065759 | 0.824331 | 0.812588 | 0.79427 | 0.764209 | 0.726163 | 0.726163 | 0 | 0.014159 | 0.176823 | 3,003 | 87 | 70 | 34.517241 | 0.847087 | 0.010989 | 0 | 0.710145 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 1 | 0 | false | 0 | 0.086957 | 0 | 0.130435 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
3137722c66d64c86103d9719aebfea14d2a5b673 | 21,128 | py | Python | atomate/qchem/fireworks/core.py | srshivani/atomate | 1e851d70a5f107736e3b9c6775e2e9e4a2de7a5d | [
"BSD-3-Clause-LBNL"
] | 3 | 2021-08-02T09:19:20.000Z | 2022-03-28T17:37:47.000Z | atomate/qchem/fireworks/core.py | srshivani/atomate | 1e851d70a5f107736e3b9c6775e2e9e4a2de7a5d | [
"BSD-3-Clause-LBNL"
] | 4 | 2020-10-14T08:25:24.000Z | 2020-10-16T01:05:12.000Z | atomate/qchem/fireworks/core.py | srshivani/atomate | 1e851d70a5f107736e3b9c6775e2e9e4a2de7a5d | [
"BSD-3-Clause-LBNL"
] | 2 | 2017-11-14T21:38:29.000Z | 2017-11-14T21:42:14.000Z | # coding: utf-8
# Defines standardized Fireworks that can be chained easily to perform various
# sequences of QChem calculations.
from fireworks import Firework
from atomate.qchem.firetasks.parse_outputs import QChemToDb
from atomate.qchem.firetasks.run_calc import RunQChemCustodian
from atomate.qchem.firetasks.wri... | 52.167901 | 109 | 0.530008 | 2,171 | 21,128 | 4.956241 | 0.12713 | 0.040892 | 0.05948 | 0.020074 | 0.820725 | 0.809665 | 0.791543 | 0.779926 | 0.768309 | 0.752695 | 0 | 0.005468 | 0.411445 | 21,128 | 404 | 110 | 52.29703 | 0.859831 | 0.575966 | 0 | 0.74537 | 0 | 0 | 0.080339 | 0.003646 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023148 | false | 0 | 0.023148 | 0 | 0.069444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
313f5f9a9b5d0a1f8ac54f47d760b940baf94535 | 726 | py | Python | tests/integration/test_webp.py | wikimedia/operations-software-thumbor-plugins | b30f1594e05118a1d2ed77a886d270866206d08a | [
"MIT"
] | 2 | 2017-06-14T15:14:50.000Z | 2018-02-19T12:38:00.000Z | tests/integration/test_webp.py | wikimedia/operations-debs-python-thumbor-wikimedia | 555f99fd500a95e00778fa740ac08e41dc6ff896 | [
"MIT"
] | null | null | null | tests/integration/test_webp.py | wikimedia/operations-debs-python-thumbor-wikimedia | 555f99fd500a95e00778fa740ac08e41dc6ff896 | [
"MIT"
] | null | null | null | from . import WikimediaTestCase
class WikimediaTest(WikimediaTestCase):
def test_webp(self):
self.run_and_check_ssim_and_size(
'thumbor/unsafe/300x/filters:format(png)/Album_en_blanco_y_negro.webp',
'300px-Album_en_blanco_y_negro.webp.png',
'300px-Album_en_blanco_y_negr... | 30.25 | 84 | 0.585399 | 92 | 726 | 4.23913 | 0.369565 | 0.107692 | 0.2 | 0.215385 | 0.758974 | 0.758974 | 0.758974 | 0.758974 | 0.758974 | 0.758974 | 0 | 0.08502 | 0.319559 | 726 | 23 | 85 | 31.565217 | 0.704453 | 0 | 0 | 0.47619 | 0 | 0 | 0.398072 | 0.398072 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0 | 0.047619 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3152c6bcb244894d28f410723830d41ed8575d6e | 237 | py | Python | typecasts/defaults/__init__.py | python-platonic/typecasts | 01deaadfdc7ee7312999104904f717f52013f143 | [
"MIT"
] | 3 | 2020-10-05T17:26:54.000Z | 2022-02-11T09:15:18.000Z | typecasts/defaults/__init__.py | python-platonic/typecasts | 01deaadfdc7ee7312999104904f717f52013f143 | [
"MIT"
] | 8 | 2020-10-02T06:29:20.000Z | 2021-07-02T11:17:10.000Z | typecasts/defaults/__init__.py | python-platonic/typecasts | 01deaadfdc7ee7312999104904f717f52013f143 | [
"MIT"
] | null | null | null | from typecasts.defaults.base import casts
# Configure pydantic rules if Pydantic is installed.
try:
from typecasts.defaults import pydantic
except ImportError: # pragma: no cover
...
from typecasts.defaults import dataclass
| 21.545455 | 52 | 0.772152 | 29 | 237 | 6.310345 | 0.655172 | 0.213115 | 0.344262 | 0.295082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172996 | 237 | 10 | 53 | 23.7 | 0.933673 | 0.2827 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
315f467902196cd122cd3ca6f5391211bdcf78ac | 4,545 | py | Python | test/models/_model_test_case.py | yushangdi/gpytorch | 3234046ecb672965af8765d47eb016f85b729bb0 | [
"MIT"
] | null | null | null | test/models/_model_test_case.py | yushangdi/gpytorch | 3234046ecb672965af8765d47eb016f85b729bb0 | [
"MIT"
] | null | null | null | test/models/_model_test_case.py | yushangdi/gpytorch | 3234046ecb672965af8765d47eb016f85b729bb0 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from abc import abstractmethod
import torch
import gpytorch
class _ModelTestCase(object):
@abstractmethod
def create_model(self, train_data):
raise NotImplementedError()
@abstractmethod
def create_test_data(self):
raise NotImplementedError()
@abstractmetho... | 37.254098 | 116 | 0.654565 | 544 | 4,545 | 5.275735 | 0.148897 | 0.078049 | 0.083624 | 0.100348 | 0.920557 | 0.893728 | 0.862021 | 0.840767 | 0.799652 | 0.799652 | 0 | 0.00941 | 0.228383 | 4,545 | 121 | 117 | 37.561983 | 0.808954 | 0.035424 | 0 | 0.806122 | 0 | 0 | 0.005478 | 0 | 0 | 0 | 0 | 0 | 0.204082 | 1 | 0.112245 | false | 0 | 0.030612 | 0 | 0.163265 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
319bcd19670ee301ffd021293b70dfa04c351ee4 | 11,544 | py | Python | src/abaqus/Adaptivity/RemeshingRule.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | 7 | 2022-01-21T09:15:45.000Z | 2022-02-15T09:31:58.000Z | src/abaqus/Adaptivity/RemeshingRule.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | src/abaqus/Adaptivity/RemeshingRule.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | from abaqusConstants import *
class RemeshingRule:
"""The RemeshingRule object controls the adaptive remeshing resizing and the error
indicators written to the output database for a specified region of the model.
Attributes
----------
suppressed: Boolean
A Boolean specifying whether the ... | 55.768116 | 106 | 0.670478 | 1,391 | 11,544 | 5.535586 | 0.132279 | 0.044156 | 0.062338 | 0.070649 | 0.889091 | 0.889091 | 0.889091 | 0.873766 | 0.873766 | 0.873766 | 0 | 0.005892 | 0.294265 | 11,544 | 206 | 107 | 56.038835 | 0.939241 | 0.755544 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.041667 | 0 | 0.291667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
31a1f7fd7160d20fbca4f45706dba24ac078c2a3 | 16,158 | py | Python | tests/test_sklearn_pipeline.py | zhanjiezhu/hummingbird | e25a22aa539e796290942dd8969fecd88f595b9b | [
"MIT"
] | null | null | null | tests/test_sklearn_pipeline.py | zhanjiezhu/hummingbird | e25a22aa539e796290942dd8969fecd88f595b9b | [
"MIT"
] | null | null | null | tests/test_sklearn_pipeline.py | zhanjiezhu/hummingbird | e25a22aa539e796290942dd8969fecd88f595b9b | [
"MIT"
] | null | null | null | import unittest
import numpy as np
from sklearn import datasets
from sklearn.compose import ColumnTransformer
from sklearn.decomposition import PCA
from sklearn.linear_model import LogisticRegression
from sklearn.model_selection import train_test_split
from sklearn.pipeline import Pipeline, FeatureUnion
from sklearn.p... | 38.655502 | 123 | 0.61338 | 1,963 | 16,158 | 4.880285 | 0.069791 | 0.035073 | 0.005637 | 0.008351 | 0.927975 | 0.921086 | 0.918163 | 0.917432 | 0.907829 | 0.907829 | 0 | 0.032506 | 0.242233 | 16,158 | 417 | 124 | 38.748201 | 0.749918 | 0.015287 | 0 | 0.771987 | 0 | 0 | 0.071909 | 0 | 0 | 0 | 0 | 0 | 0.078176 | 1 | 0.039088 | false | 0.019544 | 0.045603 | 0 | 0.087948 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
31e36a4b36d5fda4918dd71711f3c8961f277aa2 | 22,102 | py | Python | tests/test_controllers.py | skivis/BlackSheep | 486f04ba2045f31dd3e188f52c45a275eb150967 | [
"MIT"
] | null | null | null | tests/test_controllers.py | skivis/BlackSheep | 486f04ba2045f31dd3e188f52c45a275eb150967 | [
"MIT"
] | null | null | null | tests/test_controllers.py | skivis/BlackSheep | 486f04ba2045f31dd3e188f52c45a275eb150967 | [
"MIT"
] | null | null | null | from functools import wraps
from tests.test_files_serving import get_file_path
from typing import Optional
import pytest
from blacksheep import Request, Response
from blacksheep.server.application import RequiresServiceContainerError
from blacksheep.server.controllers import ApiController, Controller, RoutesRegistry
f... | 27.977215 | 89 | 0.616189 | 2,516 | 22,102 | 5.277424 | 0.090223 | 0.03133 | 0.076819 | 0.033891 | 0.828513 | 0.817668 | 0.806371 | 0.776698 | 0.76879 | 0.745142 | 0 | 0.010982 | 0.258393 | 22,102 | 789 | 90 | 28.012674 | 0.799097 | 0.021672 | 0 | 0.760943 | 0 | 0 | 0.068567 | 0.006755 | 0 | 0 | 0 | 0 | 0.132997 | 1 | 0.069024 | false | 0 | 0.021886 | 0.058923 | 0.252525 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
b4180d981088f960f213c8d8a1f38ad4149f8869 | 142 | py | Python | tools/dist_test.py | chetanmreddy/imvoxelnet | 10dd35a96539af7b147be4bb03b0395cc164177e | [
"MIT"
] | 1 | 2022-03-11T11:05:35.000Z | 2022-03-11T11:05:35.000Z | tools/dist_test.py | chetanmreddy/imvoxelnet | 10dd35a96539af7b147be4bb03b0395cc164177e | [
"MIT"
] | null | null | null | tools/dist_test.py | chetanmreddy/imvoxelnet | 10dd35a96539af7b147be4bb03b0395cc164177e | [
"MIT"
] | null | null | null | import os
os.system('bash tools/dist_test.sh configs/imvoxelnet/imvoxelnet_kitti.py work_dirs/atlas_kitti/20210503_214214.pth 2 --eval mAP')
| 35.5 | 130 | 0.823944 | 24 | 142 | 4.666667 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 0.070423 | 142 | 3 | 131 | 47.333333 | 0.734848 | 0 | 0 | 0 | 0 | 0.5 | 0.823944 | 0.556338 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
b420b2178a41d3a7b20a9f240c9537ca11c73ebe | 1,564 | py | Python | score sorter.py | tommy2006/hello-world | 8c4d2329861b75930f82b1e0142daa5d6c95fae1 | [
"MIT"
] | null | null | null | score sorter.py | tommy2006/hello-world | 8c4d2329861b75930f82b1e0142daa5d6c95fae1 | [
"MIT"
] | null | null | null | score sorter.py | tommy2006/hello-world | 8c4d2329861b75930f82b1e0142daa5d6c95fae1 | [
"MIT"
] | null | null | null | print ("How many students' test scores do you want to arrange?")
a = input()
if a == "2":
print ("Enter first student's name")
name1 = input()
print ("Enter his/her score")
score1 = input()
print ("Enter second student's name")
name2 = input()
print ("Enter his/her score")
scor... | 30.666667 | 66 | 0.570332 | 205 | 1,564 | 4.35122 | 0.190244 | 0.201794 | 0.252242 | 0.181614 | 0.876682 | 0.876682 | 0.817265 | 0.817265 | 0.726457 | 0.693946 | 0 | 0.034821 | 0.283887 | 1,564 | 50 | 67 | 31.28 | 0.761607 | 0 | 0 | 0.78 | 0 | 0 | 0.309775 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.44 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 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 | 1 | 0 | 11 |
81f0c25afb30f199a2e0ba4cfbd0ab038004f60c | 139 | py | Python | codigofacilito/__init__.py | GuillermoGA/codigofacilito_package | e478ed452ef23085ad61450c717c0ddb3fbbabfb | [
"MIT"
] | null | null | null | codigofacilito/__init__.py | GuillermoGA/codigofacilito_package | e478ed452ef23085ad61450c717c0ddb3fbbabfb | [
"MIT"
] | null | null | null | codigofacilito/__init__.py | GuillermoGA/codigofacilito_package | e478ed452ef23085ad61450c717c0ddb3fbbabfb | [
"MIT"
] | null | null | null | from codigofacilito.workshops import unreleased
from codigofacilito.workshops import released
from codigofacilito.articles import articles
| 34.75 | 47 | 0.892086 | 15 | 139 | 8.266667 | 0.466667 | 0.435484 | 0.435484 | 0.532258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086331 | 139 | 3 | 48 | 46.333333 | 0.976378 | 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 | 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 | 8 |
c30288077063a886c537964e0dfeffef502c191c | 74,028 | py | Python | tests/metrics/test_metrics.py | fangchenli/zipline | 92abca6e0adb01af23cefd4de80c2c2721d72b89 | [
"Apache-2.0"
] | 1 | 2020-12-18T18:19:58.000Z | 2020-12-18T18:19:58.000Z | tests/metrics/test_metrics.py | fangchenli/zipline | 92abca6e0adb01af23cefd4de80c2c2721d72b89 | [
"Apache-2.0"
] | null | null | null | tests/metrics/test_metrics.py | fangchenli/zipline | 92abca6e0adb01af23cefd4de80c2c2721d72b89 | [
"Apache-2.0"
] | null | null | null | import unittest
import numpy as np
import pandas as pd
from zipline import api
from zipline.assets import Equity, Future
from zipline.assets.synthetic import make_commodity_future_info
from zipline.data.data_portal import DataPortal
from zipline.data.resample import MinuteResampleSessionBarReader
from zipline.testing... | 31.622384 | 79 | 0.541147 | 7,254 | 74,028 | 5.240419 | 0.061345 | 0.037907 | 0.037486 | 0.019835 | 0.857289 | 0.823723 | 0.798522 | 0.772847 | 0.75096 | 0.743621 | 0 | 0.009712 | 0.38245 | 74,028 | 2,340 | 80 | 31.635897 | 0.821813 | 0.096747 | 0 | 0.704737 | 0 | 0 | 0.059722 | 0.004408 | 0 | 0 | 0 | 0 | 0.068947 | 1 | 0.023158 | false | 0.003158 | 0.005789 | 0.004211 | 0.056316 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c32878b9a6146ba8d1df49cb3bb6ba870e800877 | 82 | py | Python | tests/test_bugmgmt.py | evrardjp/osa_cli_bugs | 1599a39078c5bbae6a97551df297a0a81e37f0bb | [
"Apache-2.0"
] | null | null | null | tests/test_bugmgmt.py | evrardjp/osa_cli_bugs | 1599a39078c5bbae6a97551df297a0a81e37f0bb | [
"Apache-2.0"
] | 37 | 2018-12-16T14:12:18.000Z | 2020-08-10T07:33:25.000Z | tests/test_bugmgmt.py | evrardjp/osa_cli_bugs | 1599a39078c5bbae6a97551df297a0a81e37f0bb | [
"Apache-2.0"
] | null | null | null | import osa_cli_bugs.bugmgmt as bugs
# TODO
def test_output_has_link():
pass
| 11.714286 | 35 | 0.756098 | 14 | 82 | 4.071429 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182927 | 82 | 6 | 36 | 13.666667 | 0.850746 | 0.04878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 1 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 7 |
c3353b27e353e4f5e4fb2e1ee0f4572bbe51ae91 | 19,873 | py | Python | src/genie/libs/parser/iosxe/tests/ShowIpAccessLists/cli/equal/golden_ip_access_list_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/iosxe/tests/ShowIpAccessLists/cli/equal/golden_ip_access_list_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/iosxe/tests/ShowIpAccessLists/cli/equal/golden_ip_access_list_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
"ACL_TEST": {
"aces": {
"80": {
"actions": {"forwarding": "deny", "logging": "log-none"},
"matches": {
"l3": {
"ipv4": {
"source_network": {
... | 39.508946 | 78 | 0.212348 | 1,018 | 19,873 | 4.057957 | 0.065815 | 0.049383 | 0.049383 | 0.032922 | 0.963689 | 0.963689 | 0.963689 | 0.963689 | 0.963689 | 0.963689 | 0 | 0.131818 | 0.667891 | 19,873 | 502 | 79 | 39.587649 | 0.494091 | 0 | 0 | 0.474104 | 0 | 0 | 0.225381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 | 8 |
6f0de54af3af290e8a3c1094904c3c36599f9728 | 125 | py | Python | main.py | TheJokersThief/Jobs2BigQuery | 6268b5cf4621069a4c736a143832845b4f52bfd3 | [
"MIT"
] | 5 | 2021-06-05T13:17:07.000Z | 2021-07-12T11:27:44.000Z | main.py | TheJokersThief/Jobs2BigQuery | 6268b5cf4621069a4c736a143832845b4f52bfd3 | [
"MIT"
] | null | null | null | main.py | TheJokersThief/Jobs2BigQuery | 6268b5cf4621069a4c736a143832845b4f52bfd3 | [
"MIT"
] | 1 | 2021-06-10T06:00:00.000Z | 2021-06-10T06:00:00.000Z | from jobs2bigquery import ingest_pubsub
def execute_jobs2bigquery(event, context):
return ingest_pubsub(event, context)
| 25 | 42 | 0.824 | 15 | 125 | 6.666667 | 0.666667 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.12 | 125 | 4 | 43 | 31.25 | 0.890909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 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 | 1 | 1 | 1 | 0 | 0 | 7 |
6f24e13f5e094a687107317433da802ee337e6ee | 1,082 | py | Python | test/apps/minermedic/resources/miners/claymore_gpu.py | holitics/minermedic | 39dd03e58d665bea23f1e9c9ab134a794d092cb1 | [
"Apache-2.0"
] | 2 | 2020-02-13T15:32:43.000Z | 2020-04-08T04:10:10.000Z | test/apps/minermedic/resources/miners/claymore_gpu.py | alimogh/minermedic | 39dd03e58d665bea23f1e9c9ab134a794d092cb1 | [
"Apache-2.0"
] | 11 | 2019-11-23T00:20:23.000Z | 2020-01-02T02:17:55.000Z | test/apps/minermedic/resources/miners/claymore_gpu.py | alimogh/minermedic | 39dd03e58d665bea23f1e9c9ab134a794d092cb1 | [
"Apache-2.0"
] | 2 | 2020-06-15T22:32:43.000Z | 2020-07-17T18:40:58.000Z | routes = {
'{"method": "miner_getstat1"}' : {"id": -1, "result": ["12.0 - ETH", "31", "314167;145;0", "29262;23145;23137;29254;29256;29248;29247;29035;23144;23145;23139;23149", "0;0;0", "off;off;off;off;off;off;off;off;off;off;off;off", "54;80;52;80;55;80;53;80;54;80;54;80;54;80;56;80;56;80;59;80;55;80;58;80", "us1.e... | 270.5 | 709 | 0.818854 | 89 | 1,082 | 9.932584 | 0.494382 | 0.074661 | 0.10181 | 0.122172 | 0.056561 | 0.040724 | 0.040724 | 0.040724 | 0.040724 | 0.040724 | 0 | 0.609195 | 0.03512 | 1,082 | 4 | 710 | 270.5 | 0.237548 | 0 | 0 | 0 | 0 | 0.75 | 0.891043 | 0.742382 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6f5f34e2a2dd8957f18857db99970402a8904ae2 | 49 | py | Python | instance/config.py | amwaniki180/news-highlights | 8e1bfb3c4809f331c5f3cd83e26906956f5a90b7 | [
"Unlicense"
] | null | null | null | instance/config.py | amwaniki180/news-highlights | 8e1bfb3c4809f331c5f3cd83e26906956f5a90b7 | [
"Unlicense"
] | null | null | null | instance/config.py | amwaniki180/news-highlights | 8e1bfb3c4809f331c5f3cd83e26906956f5a90b7 | [
"Unlicense"
] | null | null | null | NEWS_API_KEY = '69ffddaa40354ce6b0f5e313403cc1af' | 49 | 49 | 0.897959 | 4 | 49 | 10.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.361702 | 0.040816 | 49 | 1 | 49 | 49 | 0.531915 | 0 | 0 | 0 | 0 | 0 | 0.64 | 0.64 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
488f34aff32a39aa6ec638f3a0557cfe8a9222f2 | 114,774 | py | Python | multiple-languages/python/ros-cdk-hbr-1.0.3/src/ros_cdk_hbr/__init__.py | aliyun/Resource-Orchestration-Service-Cloud-Development-K | 2b81e135002ed81cb72f7d07be7ff497ea39e2e1 | [
"Apache-2.0"
] | 15 | 2020-11-10T02:00:28.000Z | 2022-02-07T19:28:10.000Z | multiple-languages/python/ros-cdk-hbr-1.0.3/src/ros_cdk_hbr/__init__.py | aliyun/Resource-Orchestration-Service-Cloud-Development-K | 2b81e135002ed81cb72f7d07be7ff497ea39e2e1 | [
"Apache-2.0"
] | 23 | 2021-02-02T04:37:02.000Z | 2022-03-31T06:41:06.000Z | multiple-languages/python/ros-cdk-hbr-1.0.3/src/ros_cdk_hbr/__init__.py | aliyun/Resource-Orchestration-Service-Cloud-Development-K | 2b81e135002ed81cb72f7d07be7ff497ea39e2e1 | [
"Apache-2.0"
] | 4 | 2021-01-13T05:48:43.000Z | 2022-03-15T11:26:48.000Z | '''
## Aliyun ROS HBR Construct Library
This module is part of the AliCloud ROS Cloud Development Kit (ROS CDK) project.
```python
# Example automatically generated from non-compiling source. May contain errors.
import * as HBR from '@alicloud/ros-cdk-hbr';
```
'''
import abc
import builtins
import datetime
import en... | 43.229379 | 735 | 0.668984 | 13,630 | 114,774 | 5.436537 | 0.026192 | 0.039595 | 0.062753 | 0.12583 | 0.937746 | 0.933198 | 0.926059 | 0.924076 | 0.921619 | 0.912942 | 0 | 0.002006 | 0.20949 | 114,774 | 2,654 | 736 | 43.245667 | 0.814703 | 0.223378 | 0 | 0.824396 | 1 | 0 | 0.123157 | 0.025495 | 0 | 0 | 0 | 0 | 0.022392 | 1 | 0.163229 | false | 0.003536 | 0.005893 | 0.027107 | 0.312316 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
48b4761d25821c52c13df9c60001bae4ebcc67d1 | 97 | py | Python | urpautils/__init__.py | Tscunami/urpautils | af050f3588eca1b9ca6f69d6d5e626358ef2be24 | [
"MIT"
] | 1 | 2021-09-15T12:49:56.000Z | 2021-09-15T12:49:56.000Z | urpautils/__init__.py | Tscunami/urpautils | af050f3588eca1b9ca6f69d6d5e626358ef2be24 | [
"MIT"
] | 8 | 2021-07-29T07:12:10.000Z | 2021-10-21T13:12:15.000Z | urpautils/__init__.py | Tscunami/urpautils | af050f3588eca1b9ca6f69d6d5e626358ef2be24 | [
"MIT"
] | 2 | 2021-06-01T11:40:49.000Z | 2021-09-07T10:10:50.000Z | from .universal import *
from .csv_utils import *
from .file_utils import *
from .robot import *
| 19.4 | 25 | 0.752577 | 14 | 97 | 5.071429 | 0.5 | 0.422535 | 0.422535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164948 | 97 | 4 | 26 | 24.25 | 0.876543 | 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 | 1 | 0 | 0 | 7 |
48dbba2b75e138ac0dd4d33ec0026e3f39b4b281 | 3,419 | py | Python | python/tests/generated/errors/validation/test_expected_list_got_fieldset.py | eno-lang/enolib | 4175f7c1e8246493b6758c29bddc80d20eaf15f7 | [
"MIT"
] | 17 | 2019-04-15T21:03:37.000Z | 2022-01-24T11:03:34.000Z | python/tests/generated/errors/validation/test_expected_list_got_fieldset.py | eno-lang/enolib | 4175f7c1e8246493b6758c29bddc80d20eaf15f7 | [
"MIT"
] | 20 | 2019-03-13T23:23:40.000Z | 2022-03-29T13:40:57.000Z | python/tests/generated/errors/validation/test_expected_list_got_fieldset.py | eno-lang/enolib | 4175f7c1e8246493b6758c29bddc80d20eaf15f7 | [
"MIT"
] | 4 | 2019-04-15T21:18:03.000Z | 2019-09-21T16:18:10.000Z | import enolib
def test_expecting_a_list_but_getting_a_fieldset_with_one_item_raises_the_expected_validationerror():
error = None
input = ("fieldset:\n"
"entry = value")
try:
enolib.parse(input).list('fieldset')
except enolib.ValidationError as _error:
if isinstance(_error... | 29.991228 | 125 | 0.522082 | 356 | 3,419 | 4.848315 | 0.174157 | 0.114716 | 0.13905 | 0.08343 | 0.933951 | 0.918308 | 0.900927 | 0.900927 | 0.882387 | 0.766512 | 0 | 0.014046 | 0.35449 | 3,419 | 114 | 126 | 29.991228 | 0.768011 | 0 | 0 | 0.804598 | 0 | 0 | 0.224269 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 1 | 0.034483 | false | 0 | 0.011494 | 0 | 0.045977 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
d2a2daedbe1ca10d54bef3a0b09a1a367d2d83ca | 1,976 | py | Python | data/create_dataset.py | ShubhamKPandey/pytorch-CycleGAN-and-pix2pix | 8575d0f49ab8d790bee6bad4e3fed7e614dc7353 | [
"BSD-3-Clause"
] | null | null | null | data/create_dataset.py | ShubhamKPandey/pytorch-CycleGAN-and-pix2pix | 8575d0f49ab8d790bee6bad4e3fed7e614dc7353 | [
"BSD-3-Clause"
] | 1 | 2020-12-28T07:54:39.000Z | 2020-12-28T07:54:39.000Z | data/create_dataset.py | ShubhamKPandey/pytorch-CycleGAN-and-pix2pix | 8575d0f49ab8d790bee6bad4e3fed7e614dc7353 | [
"BSD-3-Clause"
] | 2 | 2020-12-28T07:36:25.000Z | 2021-01-12T12:21:40.000Z | import os
import shutil
dir_test = 'E:\Tejas_pix\pytorch-CycleGAN-and-pix2pix\datasets\york\_train\_test'
dir_train = 'E:\Tejas_pix\pytorch-CycleGAN-and-pix2pix\datasets\york\_train\_train'
for (dirpath, dirnames, filenames) in os.walk(dir_test):
print(filenames)
arr1 = os.listdir('E:\Tejas_pix\pytorch-CycleGAN... | 27.068493 | 88 | 0.600709 | 289 | 1,976 | 4.00692 | 0.190311 | 0.067358 | 0.101036 | 0.17962 | 0.779793 | 0.779793 | 0.779793 | 0.779793 | 0.743523 | 0.743523 | 0 | 0.018531 | 0.235324 | 1,976 | 72 | 89 | 27.444444 | 0.747849 | 0.109312 | 0 | 0.693878 | 0 | 0 | 0.426042 | 0.423758 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.040816 | 0 | 0.040816 | 0.081633 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
826e0df9eb99704b49e2fb5517ad3cceab62513d | 54 | py | Python | docker/ibm-db2/verify.py | tamarsix/dockerfiles | 3ad3d4fc3e7dd55ac823bb1c5ddd530829cf0f07 | [
"MIT"
] | null | null | null | docker/ibm-db2/verify.py | tamarsix/dockerfiles | 3ad3d4fc3e7dd55ac823bb1c5ddd530829cf0f07 | [
"MIT"
] | null | null | null | docker/ibm-db2/verify.py | tamarsix/dockerfiles | 3ad3d4fc3e7dd55ac823bb1c5ddd530829cf0f07 | [
"MIT"
] | null | null | null | import ibm_db
print("ibm_db imported successfully")
| 10.8 | 37 | 0.796296 | 8 | 54 | 5.125 | 0.75 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 54 | 4 | 38 | 13.5 | 0.87234 | 0 | 0 | 0 | 0 | 0 | 0.518519 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
82808935f95be5103f3f40d7ad6c2d6ec51a183b | 77 | py | Python | daves_rl_lib/mcts/__init__.py | davmre/rl | d5c6413651bc3d3f9419717ab5748715e28a7043 | [
"Apache-2.0"
] | null | null | null | daves_rl_lib/mcts/__init__.py | davmre/rl | d5c6413651bc3d3f9419717ab5748715e28a7043 | [
"Apache-2.0"
] | null | null | null | daves_rl_lib/mcts/__init__.py | davmre/rl | d5c6413651bc3d3f9419717ab5748715e28a7043 | [
"Apache-2.0"
] | null | null | null | from daves_rl_lib.mcts import mcts
from daves_rl_lib.mcts import tree_policy
| 25.666667 | 41 | 0.87013 | 15 | 77 | 4.133333 | 0.533333 | 0.290323 | 0.354839 | 0.451613 | 0.774194 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 77 | 2 | 42 | 38.5 | 0.898551 | 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 | 1 | 0 | 1 | 0 | 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 | 9 |
829c68d53f809e1405579cace3e6eac97eab810b | 15,392 | py | Python | src/backend/joanie/lms_handler/tests/test_api_course_run_sync_edx.py | openfun/joanie | 9e820d04875baa3ddd57917a1f71157a32187af0 | [
"MIT"
] | 6 | 2021-02-22T08:43:08.000Z | 2022-02-18T14:48:46.000Z | src/backend/joanie/lms_handler/tests/test_api_course_run_sync_edx.py | openfun/joanie | 9e820d04875baa3ddd57917a1f71157a32187af0 | [
"MIT"
] | 25 | 2021-01-28T20:19:59.000Z | 2022-02-23T10:20:14.000Z | src/backend/joanie/lms_handler/tests/test_api_course_run_sync_edx.py | openfun/joanie | 9e820d04875baa3ddd57917a1f71157a32187af0 | [
"MIT"
] | null | null | null | """
Tests for CourseRun web hook.
"""
import json
from django.conf import settings
from django.test import TestCase, override_settings
from joanie.core.factories import CourseFactory, CourseRunFactory
from joanie.core.models import Course, CourseRun
from joanie.lms_handler.serializers import SyncCourseRunSerializer
... | 39.568123 | 98 | 0.602326 | 1,652 | 15,392 | 5.485472 | 0.119249 | 0.047672 | 0.014897 | 0.019422 | 0.844626 | 0.824873 | 0.803355 | 0.788347 | 0.777533 | 0.770139 | 0 | 0.109643 | 0.272349 | 15,392 | 388 | 99 | 39.670103 | 0.699464 | 0.097128 | 0 | 0.713805 | 0 | 0.037037 | 0.309813 | 0.158177 | 0 | 0 | 0 | 0 | 0.151515 | 1 | 0.037037 | false | 0 | 0.020202 | 0 | 0.060606 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
82d8a014b0901a17d15d79472c153fc6875038cf | 1,019 | py | Python | biobb_analysis/test/unitests/test_ambertools/test_cpptraj_convert_container.py | bioexcel/biobb_analysis | 794683daf65eb13ddaaaf6cf3c19da6d1322a949 | [
"Apache-2.0"
] | 3 | 2019-05-18T14:52:30.000Z | 2020-10-18T06:20:00.000Z | biobb_analysis/test/unitests/test_ambertools/test_cpptraj_convert_container.py | bioexcel/biobb_analysis | 794683daf65eb13ddaaaf6cf3c19da6d1322a949 | [
"Apache-2.0"
] | 7 | 2019-03-04T15:04:28.000Z | 2021-06-17T10:57:25.000Z | biobb_analysis/test/unitests/test_ambertools/test_cpptraj_convert_container.py | bioexcel/biobb_analysis | 794683daf65eb13ddaaaf6cf3c19da6d1322a949 | [
"Apache-2.0"
] | null | null | null | from biobb_common.tools import test_fixtures as fx
from biobb_analysis.ambertools.cpptraj_convert import cpptraj_convert
class TestCpptrajConvertDocker():
def setUp(self):
fx.test_setup(self,'cpptraj_convert_docker')
def tearDown(self):
fx.test_teardown(self)
pass
def test_conver... | 33.966667 | 97 | 0.727184 | 128 | 1,019 | 5.515625 | 0.25 | 0.101983 | 0.144476 | 0.124646 | 0.716714 | 0.716714 | 0.716714 | 0.716714 | 0.716714 | 0.600567 | 0 | 0 | 0.169774 | 1,019 | 29 | 98 | 35.137931 | 0.834515 | 0 | 0 | 0.636364 | 0 | 0 | 0.167812 | 0.093229 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.272727 | false | 0.090909 | 0.090909 | 0 | 0.454545 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
816d9b2a3c01af6613181b585e8c46d0b64e8dce | 239 | py | Python | Random Code/chess.py | Tr8rStudios/Python-Projects | bb68b3e13de423dd25862e4247d9ee941b068c93 | [
"MIT"
] | null | null | null | Random Code/chess.py | Tr8rStudios/Python-Projects | bb68b3e13de423dd25862e4247d9ee941b068c93 | [
"MIT"
] | null | null | null | Random Code/chess.py | Tr8rStudios/Python-Projects | bb68b3e13de423dd25862e4247d9ee941b068c93 | [
"MIT"
] | null | null | null |
startingBoard = [[['b','R'],['b','K'],['b','B'],bQ,bKi,['b','B'],['b','K'],['b','R']],[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,0,0,0],[wR,wK,wB,wQ,wK,wB,wK,wR]] | 119.5 | 238 | 0.426778 | 79 | 239 | 1.291139 | 0.139241 | 1.078431 | 1.588235 | 2.078431 | 0.54902 | 0.54902 | 0.54902 | 0.54902 | 0.54902 | 0.54902 | 0 | 0.237288 | 0.012552 | 239 | 2 | 238 | 119.5 | 0.194915 | 0 | 0 | 0 | 0 | 0 | 0.050209 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
818246fd48f273e1da70241300a96430efabc71a | 62,633 | py | Python | typings/bl_ui/properties_physics_dynamicpaint.py | Argmaster/PyR3 | 6786bcb6a101fe4bd4cc50fe43767b8178504b15 | [
"MIT"
] | 2 | 2021-12-12T18:51:52.000Z | 2022-02-23T09:49:16.000Z | src/blender/blender_autocomplete-master/2.92/bl_ui/properties_physics_dynamicpaint.py | JonasWard/ClayAdventures | a716445ac690e4792e70658319aa1d5299f9c9e9 | [
"MIT"
] | 2 | 2021-11-08T12:09:02.000Z | 2021-12-12T23:01:12.000Z | src/blender/blender_autocomplete-master/2.92/bl_ui/properties_physics_dynamicpaint.py | JonasWard/ClayAdventures | a716445ac690e4792e70658319aa1d5299f9c9e9 | [
"MIT"
] | null | null | null | import sys
import typing
import bpy_types
class PHYSICS_UL_dynapaint_surfaces(bpy_types.UIList, bpy_types._GenericUI):
bl_rna = None
''' '''
id_data = None
''' '''
def append(self, draw_func):
'''
'''
pass
def as_pointer(self):
'''
'''
pas... | 12.441994 | 78 | 0.387831 | 5,186 | 62,633 | 4.396838 | 0.01909 | 0.217963 | 0.222875 | 0.142882 | 0.988071 | 0.987501 | 0.986536 | 0.985089 | 0.985089 | 0.985089 | 0 | 0 | 0.479284 | 62,633 | 5,033 | 79 | 12.444467 | 0.699148 | 0 | 0 | 0.982961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.43067 | false | 0.43067 | 0.001763 | 0 | 0.556404 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 12 |
81c5c0655b814fe6a653a7d8f1b4ddd2a8774122 | 3,115 | py | Python | tests/propagation/test_solvers.py | emir-munoz/tf-propagation | e3ff28eff4be7711d941a6303bdde11e1f18453e | [
"MIT"
] | null | null | null | tests/propagation/test_solvers.py | emir-munoz/tf-propagation | e3ff28eff4be7711d941a6303bdde11e1f18453e | [
"MIT"
] | null | null | null | tests/propagation/test_solvers.py | emir-munoz/tf-propagation | e3ff28eff4be7711d941a6303bdde11e1f18453e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import pytest
import numpy as np
import tensorflow as tf
from propagation.solvers import ExactSolver, JacobiSolver
def test_batch_solvers():
A_ph = tf.placeholder('float32', [None, None, None], name='A')
B_ph = tf.placeholder('float32', [None, None, None], name='B')
es = ExactS... | 29.386792 | 66 | 0.578812 | 524 | 3,115 | 3.20229 | 0.116412 | 0.057211 | 0.021454 | 0.078665 | 0.898689 | 0.898689 | 0.898689 | 0.898689 | 0.888558 | 0.868892 | 0 | 0.065873 | 0.244623 | 3,115 | 105 | 67 | 29.666667 | 0.647259 | 0.006742 | 0 | 0.746269 | 0 | 0 | 0.027167 | 0 | 0 | 0 | 0 | 0 | 0.044776 | 1 | 0.044776 | false | 0 | 0.059701 | 0 | 0.104478 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
81d634801af391249b82cdb5cab963dd94f4c556 | 5,848 | py | Python | qaqa_bot/database_versions/fe0646eb142a_add_not_null_constraints.py | mhthies/QAQAbot | c93d4157bcfba775e14d860dd62b5f6cabb442f8 | [
"Apache-2.0"
] | 4 | 2020-06-01T12:38:18.000Z | 2020-12-22T21:42:05.000Z | qaqa_bot/database_versions/fe0646eb142a_add_not_null_constraints.py | mhthies/QAQAbot | c93d4157bcfba775e14d860dd62b5f6cabb442f8 | [
"Apache-2.0"
] | 41 | 2020-05-02T11:25:53.000Z | 2021-11-03T19:39:37.000Z | qaqa_bot/database_versions/fe0646eb142a_add_not_null_constraints.py | mhthies/QAQAbot | c93d4157bcfba775e14d860dd62b5f6cabb442f8 | [
"Apache-2.0"
] | 1 | 2021-01-05T12:43:24.000Z | 2021-01-05T12:43:24.000Z | """Add NOT NULL constraints
Revision ID: fe0646eb142a
Revises: 5b48c4a0a25d
Create Date: 2020-04-19 22:06:12.739973
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'fe0646eb142a'
down_revision = '5b48c4a0a25d'
branch_labels = None
depends_on = None
def upgrad... | 42.071942 | 68 | 0.491621 | 552 | 5,848 | 4.931159 | 0.153986 | 0.102866 | 0.141073 | 0.211609 | 0.891991 | 0.891991 | 0.882072 | 0.879133 | 0.879133 | 0.879133 | 0 | 0.020625 | 0.419631 | 5,848 | 138 | 69 | 42.376812 | 0.781379 | 0.052326 | 0 | 0.928571 | 0 | 0 | 0.065758 | 0.015985 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017857 | false | 0 | 0.017857 | 0 | 0.035714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 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 | 8 |
c4d05eaa62def5157e76cc195f115b1bd5ce28ab | 3,288 | py | Python | apps/challenges/migrations/0031_add_db_index_to_challenge_related_models.py | kaustubh-s1/EvalAI | 1884811e7759e0d095f7afb68188a7f010fa65dc | [
"BSD-3-Clause"
] | 1,470 | 2016-10-21T01:21:45.000Z | 2022-03-30T14:08:29.000Z | apps/challenges/migrations/0031_add_db_index_to_challenge_related_models.py | kaustubh-s1/EvalAI | 1884811e7759e0d095f7afb68188a7f010fa65dc | [
"BSD-3-Clause"
] | 2,594 | 2016-11-02T03:36:01.000Z | 2022-03-31T15:30:04.000Z | apps/challenges/migrations/0031_add_db_index_to_challenge_related_models.py | kaustubh-s1/EvalAI | 1884811e7759e0d095f7afb68188a7f010fa65dc | [
"BSD-3-Clause"
] | 865 | 2016-11-09T17:46:32.000Z | 2022-03-30T13:06:52.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.10.2 on 2017-09-15 02:24
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [("challenges", "0030_add_boolean_field_in_star_model")]
operations = [
migrations.AlterFie... | 31.92233 | 79 | 0.533455 | 287 | 3,288 | 5.909408 | 0.254355 | 0.153302 | 0.191627 | 0.222288 | 0.795401 | 0.795401 | 0.701651 | 0.701651 | 0.632075 | 0.632075 | 0 | 0.018642 | 0.363747 | 3,288 | 102 | 80 | 32.235294 | 0.792065 | 0.020681 | 0 | 0.8 | 1 | 0 | 0.136773 | 0.025179 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021053 | 0 | 0.052632 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c4f38b7eb9356b85719fb54443512f0bfee051a6 | 225 | py | Python | 2756.py | luizgallas/uri_iniciante | fd23f2fe1638b373b94b7b4ddb2d906cec8db87b | [
"Apache-2.0"
] | null | null | null | 2756.py | luizgallas/uri_iniciante | fd23f2fe1638b373b94b7b4ddb2d906cec8db87b | [
"Apache-2.0"
] | null | null | null | 2756.py | luizgallas/uri_iniciante | fd23f2fe1638b373b94b7b4ddb2d906cec8db87b | [
"Apache-2.0"
] | null | null | null | print(" "*7 + "A")
print(" "*6 + "B B")
print(" "*5 + "C C")
print(" "*4 + "D" + " "*5 + "D")
print(" "*3 + "E" + " "*7 + "E")
print(" "*4 + "D" + " "*5 + "D")
print(" "*5 + "C C")
print(" "*6 + "B B")
print(" "*7 + "A")
| 22.5 | 32 | 0.324444 | 37 | 225 | 1.972973 | 0.297297 | 0.164384 | 0.191781 | 0.219178 | 0.821918 | 0.383562 | 0 | 0 | 0 | 0 | 0 | 0.072289 | 0.262222 | 225 | 9 | 33 | 25 | 0.36747 | 0 | 0 | 0.888889 | 0 | 0 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | null | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 9 |
c4f6a6a4a4d678bc21ecf19078e693502475fe9c | 21,040 | py | Python | forms/migrations/0034_auto_20191218_1356.py | CodeForAfrica/gmmp | d7ffe2dac16bd57e81bb3555ddea9df1fe7e9ebf | [
"Apache-2.0"
] | 4 | 2020-01-05T09:14:19.000Z | 2022-02-17T03:22:09.000Z | forms/migrations/0034_auto_20191218_1356.py | CodeForAfrica/gmmp | d7ffe2dac16bd57e81bb3555ddea9df1fe7e9ebf | [
"Apache-2.0"
] | 68 | 2019-12-23T02:19:55.000Z | 2021-04-23T06:13:36.000Z | forms/migrations/0034_auto_20191218_1356.py | CodeForAfrica/gmmp | d7ffe2dac16bd57e81bb3555ddea9df1fe7e9ebf | [
"Apache-2.0"
] | 2 | 2020-11-07T12:23:21.000Z | 2021-11-07T18:21:31.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('forms', '0033_auto_20191212_2003'),
]
operations = [
migrations.AlterField(
model_name='internetnewssheet',
... | 467.555556 | 4,014 | 0.68731 | 2,715 | 21,040 | 5.316022 | 0.13407 | 0.020786 | 0.029446 | 0.010046 | 0.98254 | 0.98254 | 0.98254 | 0.98254 | 0.98254 | 0.98254 | 0 | 0.061403 | 0.139259 | 21,040 | 44 | 4,015 | 478.181818 | 0.73556 | 0.000998 | 0 | 0.657895 | 0 | 0.263158 | 0.806538 | 0.00609 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.131579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 10 |
f21859930edf572efb03c6c04c67ad0022a1e9f6 | 9,346 | py | Python | src/styles.py | arthurBricq/Roots | a422a01a2f451f4e47603bfbdf43e40a34d441a2 | [
"Apache-2.0"
] | null | null | null | src/styles.py | arthurBricq/Roots | a422a01a2f451f4e47603bfbdf43e40a34d441a2 | [
"Apache-2.0"
] | null | null | null | src/styles.py | arthurBricq/Roots | a422a01a2f451f4e47603bfbdf43e40a34d441a2 | [
"Apache-2.0"
] | null | null | null | labelClassification = """
border-style: none;
font-weight: bold;
font-size: 40px;
color: white;
"""
mainWindowFrame = """
border: 2px solid rgb(40, 40, 40);
border-radius: 4px;
background-color: rgb(70,70,73);
background: qlineargradient(x1: 0, y1: 0, x2: 0, y... | 33.740072 | 78 | 0.372994 | 917 | 9,346 | 3.796074 | 0.089422 | 0.060327 | 0.162884 | 0.168917 | 0.84717 | 0.809537 | 0.794025 | 0.767308 | 0.732835 | 0.732835 | 0 | 0.174008 | 0.51177 | 9,346 | 276 | 79 | 33.862319 | 0.588867 | 0 | 0 | 0.729614 | 0 | 0 | 0.94796 | 0.002536 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
f218761745689b7a14ddf565b2107df04ffa02aa | 3,381 | py | Python | Python/zzz_training_challenge/Python_Challenge/solutions/ch05_datastructures/solutions/ex06_longest_subsequence.py | Kreijeck/learning | eaffee08e61f2a34e01eb8f9f04519aac633f48c | [
"MIT"
] | null | null | null | Python/zzz_training_challenge/Python_Challenge/solutions/ch05_datastructures/solutions/ex06_longest_subsequence.py | Kreijeck/learning | eaffee08e61f2a34e01eb8f9f04519aac633f48c | [
"MIT"
] | null | null | null | Python/zzz_training_challenge/Python_Challenge/solutions/ch05_datastructures/solutions/ex06_longest_subsequence.py | Kreijeck/learning | eaffee08e61f2a34e01eb8f9f04519aac633f48c | [
"MIT"
] | null | null | null | # Beispielprogramm für das Buch "Python Challenge"
#
# Copyright 2020 by Michael Inden
import sys
def find_longest_growing_sequence(values):
longest_subsequence = []
current_subsequence = []
last_value = sys.maxsize
for current_value in values:
if current_value >= last_value:
l... | 34.5 | 110 | 0.644188 | 468 | 3,381 | 4.382479 | 0.132479 | 0.020478 | 0.131643 | 0.190151 | 0.863481 | 0.844954 | 0.832765 | 0.825939 | 0.825939 | 0.798147 | 0 | 0.059922 | 0.23987 | 3,381 | 97 | 111 | 34.85567 | 0.738132 | 0.141083 | 0 | 0.491803 | 0 | 0 | 0.002774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065574 | false | 0 | 0.016393 | 0 | 0.147541 | 0.196721 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 7 |
480303cd4dd4748afa4d4209efb0f4c189ca6434 | 2,291 | py | Python | ufba/modulos_e_excecoes/ordenaarquivo.py | rafaelsqueiroz/learning_phase | 6a04da40ba50e24a9ab79f940c8e4820ad34c07d | [
"MIT"
] | null | null | null | ufba/modulos_e_excecoes/ordenaarquivo.py | rafaelsqueiroz/learning_phase | 6a04da40ba50e24a9ab79f940c8e4820ad34c07d | [
"MIT"
] | 1 | 2019-10-31T19:51:27.000Z | 2019-10-31T19:51:27.000Z | ufba/modulos_e_excecoes/ordenaarquivo.py | rafaelsqueiroz/learning_phase | 6a04da40ba50e24a9ab79f940c8e4820ad34c07d | [
"MIT"
] | 1 | 2019-10-23T18:00:16.000Z | 2019-10-23T18:00:16.000Z | # -*- coding: utf-8 -*-
"""
Created on Wed May 12 18:49:33 2021
@author: Rafael Queiroz
"""
import pandas as pd
import minhaordenacao
def OrdenaColunaStd(file, col):
'''
Função que lê um arquivo no formato .txt com um número indeterminado de linhas e 3 colunas, e retorna uma coluna - selecionada pelo u... | 41.654545 | 174 | 0.657355 | 296 | 2,291 | 5.077703 | 0.381757 | 0.023952 | 0.055888 | 0.074518 | 0.846307 | 0.846307 | 0.846307 | 0.846307 | 0.846307 | 0.846307 | 0 | 0.014837 | 0.264513 | 2,291 | 55 | 175 | 41.654545 | 0.877151 | 0.364906 | 0 | 0.823529 | 0 | 0 | 0.316312 | 0 | 0 | 0 | 0 | 0.036364 | 0 | 1 | 0.058824 | false | 0 | 0.058824 | 0 | 0.294118 | 0.235294 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
482c6ffff87e0732075928137efa5f6e72b50406 | 44 | py | Python | app/helpers/__init__.py | josephmancuso/gbaleague-masonite2 | b3dd5ec3f20c07eaabcc3129b0c50379a946a82b | [
"MIT"
] | null | null | null | app/helpers/__init__.py | josephmancuso/gbaleague-masonite2 | b3dd5ec3f20c07eaabcc3129b0c50379a946a82b | [
"MIT"
] | 3 | 2018-07-25T17:36:43.000Z | 2020-01-06T18:52:51.000Z | app/helpers/__init__.py | josephmancuso/gbaleague-masonite2 | b3dd5ec3f20c07eaabcc3129b0c50379a946a82b | [
"MIT"
] | null | null | null | from .generate_string import generate_string | 44 | 44 | 0.909091 | 6 | 44 | 6.333333 | 0.666667 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 44 | 1 | 44 | 44 | 0.926829 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
483db4ae3f6418723a1251be2236fa2d154f49eb | 58,547 | py | Python | sdk/resources/azure-mgmt-resource/azure/mgmt/resource/locks/v2016_09_01/operations/_management_locks_operations.py | vbarbaresi/azure-sdk-for-python | 397ba46c51d001ff89c66b170f5576cf8f49c05f | [
"MIT"
] | 8 | 2021-01-13T23:44:08.000Z | 2021-03-17T10:13:36.000Z | sdk/resources/azure-mgmt-resource/azure/mgmt/resource/locks/v2016_09_01/operations/_management_locks_operations.py | vbarbaresi/azure-sdk-for-python | 397ba46c51d001ff89c66b170f5576cf8f49c05f | [
"MIT"
] | 2 | 2021-11-03T06:10:36.000Z | 2021-12-01T06:29:39.000Z | sdk/resources/azure-mgmt-resource/azure/mgmt/resource/locks/v2016_09_01/operations/_management_locks_operations.py | vbarbaresi/azure-sdk-for-python | 397ba46c51d001ff89c66b170f5576cf8f49c05f | [
"MIT"
] | 1 | 2021-05-19T02:55:10.000Z | 2021-05-19T02:55:10.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 ... | 49.912191 | 283 | 0.661793 | 6,416 | 58,547 | 5.828709 | 0.043797 | 0.032329 | 0.022248 | 0.014974 | 0.957296 | 0.956948 | 0.953285 | 0.951119 | 0.946145 | 0.941653 | 0 | 0.012006 | 0.234615 | 58,547 | 1,172 | 284 | 49.954778 | 0.822544 | 0.299879 | 0 | 0.849195 | 0 | 0.005857 | 0.144688 | 0.062982 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04246 | false | 0 | 0.013177 | 0 | 0.111274 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
6f88c5f4478384463973619a060b2f375ff7e5f3 | 46 | py | Python | nbdler/rpc.py | ZSAIm/downloader | b7cda1fc26fc65be3aa0ee7e31effc67b770babd | [
"Apache-2.0"
] | 33 | 2019-04-12T15:20:16.000Z | 2021-07-14T08:29:53.000Z | nbdler/rpc.py | zackmark29/Nbdler | b7cda1fc26fc65be3aa0ee7e31effc67b770babd | [
"Apache-2.0"
] | 3 | 2019-05-13T11:39:08.000Z | 2021-08-04T04:53:36.000Z | nbdler/rpc.py | zackmark29/Nbdler | b7cda1fc26fc65be3aa0ee7e31effc67b770babd | [
"Apache-2.0"
] | 10 | 2019-05-07T06:35:32.000Z | 2021-06-08T18:53:56.000Z |
# TODO: DownloadRPCClient, DownloadRPCServer
| 15.333333 | 44 | 0.826087 | 3 | 46 | 12.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 46 | 2 | 45 | 23 | 0.926829 | 0.913043 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.5 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6fcdcb1284a7f2197e45f2cd1b42b91bd5de8950 | 83 | py | Python | release/scripts/presets/framerate/24.py | rbabari/blender | 6daa85f14b2974abfc3d0f654c5547f487bb3b74 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 365 | 2015-02-10T15:10:55.000Z | 2022-03-03T15:50:51.000Z | release/scripts/presets/framerate/24.py | rbabari/blender | 6daa85f14b2974abfc3d0f654c5547f487bb3b74 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 45 | 2015-01-09T15:34:20.000Z | 2021-10-05T14:44:23.000Z | release/scripts/presets/framerate/24.py | rbabari/blender | 6daa85f14b2974abfc3d0f654c5547f487bb3b74 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 172 | 2015-01-25T15:16:53.000Z | 2022-01-31T08:25:36.000Z | import bpy
bpy.context.scene.render.fps = 24
bpy.context.scene.render.fps_base = 1
| 20.75 | 37 | 0.783133 | 15 | 83 | 4.266667 | 0.6 | 0.3125 | 0.46875 | 0.65625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.096386 | 83 | 3 | 38 | 27.666667 | 0.813333 | 0 | 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 | 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 | 7 |
d22b6b429a7e4d6f4a017163a82d7846a7650785 | 5,787 | py | Python | misago/misago/categories/tests/test_prunecategories.py | vascoalramos/misago-deployment | 20226072138403108046c0afad9d99eb4163cedc | [
"MIT"
] | 2 | 2021-03-06T21:06:13.000Z | 2021-03-09T15:05:12.000Z | misago/misago/categories/tests/test_prunecategories.py | vascoalramos/misago-deployment | 20226072138403108046c0afad9d99eb4163cedc | [
"MIT"
] | null | null | null | misago/misago/categories/tests/test_prunecategories.py | vascoalramos/misago-deployment | 20226072138403108046c0afad9d99eb4163cedc | [
"MIT"
] | null | null | null | from datetime import timedelta
from io import StringIO
from django.core.management import call_command
from django.test import TestCase
from django.utils import timezone
from ...threads import test
from ..management.commands import prunecategories
from ..models import Category
class PruneCategoriesTests(TestCase):
... | 33.068571 | 77 | 0.651979 | 667 | 5,787 | 5.517241 | 0.131934 | 0.097826 | 0.1 | 0.026087 | 0.927717 | 0.910054 | 0.902446 | 0.88288 | 0.88288 | 0.88288 | 0 | 0.02038 | 0.253845 | 5,787 | 174 | 78 | 33.258621 | 0.831867 | 0.101953 | 0 | 0.867257 | 0 | 0 | 0.022459 | 0 | 0 | 0 | 0 | 0 | 0.212389 | 1 | 0.035398 | false | 0 | 0.070796 | 0 | 0.115044 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
967f0bd43b247e39dd8733933d76616c24eed4a4 | 160 | py | Python | budgetsimplifier/budget/views_api.py | yohanswanepoel/budget_simplifier | cae41e5b98675bc19ab75bcb5b868c74da428bfc | [
"MIT"
] | null | null | null | budgetsimplifier/budget/views_api.py | yohanswanepoel/budget_simplifier | cae41e5b98675bc19ab75bcb5b868c74da428bfc | [
"MIT"
] | 5 | 2021-03-19T00:52:42.000Z | 2022-03-11T23:47:38.000Z | budgetsimplifier/budget/views_api.py | yohanswanepoel/budget_simplifier | cae41e5b98675bc19ab75bcb5b868c74da428bfc | [
"MIT"
] | null | null | null | from django.http import JsonResponse
from .services import refresh_budgets
def get_budgets(request,user_id):
return JsonResponse(refresh_budgets(user_id))
| 26.666667 | 49 | 0.83125 | 22 | 160 | 5.818182 | 0.636364 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10625 | 160 | 5 | 50 | 32 | 0.895105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 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 | 1 | 1 | 1 | 0 | 0 | 7 |
73740751940304432f7974ad1c5c9a8d6959ced7 | 84,563 | py | Python | tccli/services/apigateway/apigateway_client.py | ws0416/tencentcloud-cli-intl-en | 903a24dccc718a395d5ebe273c300787c1d2cf67 | [
"Apache-2.0"
] | null | null | null | tccli/services/apigateway/apigateway_client.py | ws0416/tencentcloud-cli-intl-en | 903a24dccc718a395d5ebe273c300787c1d2cf67 | [
"Apache-2.0"
] | null | null | null | tccli/services/apigateway/apigateway_client.py | ws0416/tencentcloud-cli-intl-en | 903a24dccc718a395d5ebe273c300787c1d2cf67 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import os
import json
import tccli.options_define as OptionsDefine
import tccli.format_output as FormatOutput
from tccli import __version__
from tccli.utils import Utils
from tccli.exceptions import ConfigurationError
from tencentcloud.common import credential
from tencentcloud.common.profile.ht... | 43.883238 | 105 | 0.730296 | 9,529 | 84,563 | 6.239689 | 0.033372 | 0.080527 | 0.230717 | 0.058159 | 0.857765 | 0.854553 | 0.853342 | 0.852131 | 0.85055 | 0.802365 | 0 | 0.008372 | 0.162376 | 84,563 | 1,926 | 106 | 43.906023 | 0.831051 | 0.007935 | 0 | 0.728714 | 0 | 0 | 0.040549 | 0.006323 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039342 | false | 0.002349 | 0.007046 | 0.000587 | 0.047563 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 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 | 8 |
73a74813e07e47bc916d5283fd9f9c212b96ced1 | 148 | py | Python | examples/docs_snippets_crag/docs_snippets_crag_tests/concepts_tests/io_management_tests/test_load_from_config.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | null | null | null | examples/docs_snippets_crag/docs_snippets_crag_tests/concepts_tests/io_management_tests/test_load_from_config.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | null | null | null | examples/docs_snippets_crag/docs_snippets_crag_tests/concepts_tests/io_management_tests/test_load_from_config.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 1 | 2021-11-30T21:40:46.000Z | 2021-11-30T21:40:46.000Z | from docs_snippets_crag.concepts.io_management.load_from_config import execute_with_config
def test_execute_pipeline():
execute_with_config()
| 24.666667 | 90 | 0.858108 | 21 | 148 | 5.52381 | 0.714286 | 0.189655 | 0.293103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087838 | 148 | 5 | 91 | 29.6 | 0.859259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
73e8e06f1d5585ca9b33912fd1793a4a0dcdbb2f | 60 | py | Python | water_modelling/kubernetes_controller/__init__.py | Water-Modelling-Agh/Hydrus-Modflow-Syngery-Engine | 4b28f75fb74647d6453385a893149a48f797eeed | [
"MIT"
] | null | null | null | water_modelling/kubernetes_controller/__init__.py | Water-Modelling-Agh/Hydrus-Modflow-Syngery-Engine | 4b28f75fb74647d6453385a893149a48f797eeed | [
"MIT"
] | null | null | null | water_modelling/kubernetes_controller/__init__.py | Water-Modelling-Agh/Hydrus-Modflow-Syngery-Engine | 4b28f75fb74647d6453385a893149a48f797eeed | [
"MIT"
] | null | null | null | def config():
return None
def watch():
return None | 10 | 15 | 0.616667 | 8 | 60 | 4.625 | 0.625 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.283333 | 60 | 6 | 16 | 10 | 0.860465 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
73f109f57082ba51aff8ebe7b10ef3894f33bc46 | 166 | py | Python | autolens/pipeline/phase/dataset/__init__.py | harshitjindal/PyAutoLens | f1d3f08f12a61f6634e1b7a0ccf8f5cfe0252035 | [
"MIT"
] | 1 | 2020-04-06T20:07:56.000Z | 2020-04-06T20:07:56.000Z | autolens/pipeline/phase/dataset/__init__.py | harshitjindal/PyAutoLens | f1d3f08f12a61f6634e1b7a0ccf8f5cfe0252035 | [
"MIT"
] | null | null | null | autolens/pipeline/phase/dataset/__init__.py | harshitjindal/PyAutoLens | f1d3f08f12a61f6634e1b7a0ccf8f5cfe0252035 | [
"MIT"
] | null | null | null | from autolens.pipeline.phase.dataset.meta_dataset_fit import MetaDatasetFit
from autolens.pipeline.phase.dataset.result import Result
from .phase import PhaseDataset
| 41.5 | 75 | 0.873494 | 22 | 166 | 6.5 | 0.5 | 0.167832 | 0.27972 | 0.34965 | 0.447552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072289 | 166 | 3 | 76 | 55.333333 | 0.928571 | 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 | 1 | 0 | 0 | 7 |
f7bd0a6af046218147bae10866dcab6b7097bbd8 | 3,379 | py | Python | accelbyte_py_sdk/api/matchmaking/__init__.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | null | null | null | accelbyte_py_sdk/api/matchmaking/__init__.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | 1 | 2021-10-13T03:46:58.000Z | 2021-10-13T03:46:58.000Z | accelbyte_py_sdk/api/matchmaking/__init__.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | null | null | null | # Copyright (c) 2021 AccelByte Inc. All Rights Reserved.
# This is licensed software from AccelByte Inc, for limitations
# and restrictions contact your company contract manager.
#
# Code generated. DO NOT EDIT!
# template file: justice_py_sdk_codegen/__main__.py
"""Auto-generated package that contains models used b... | 42.2375 | 90 | 0.878366 | 480 | 3,379 | 5.766667 | 0.208333 | 0.251445 | 0.377168 | 0.21604 | 0.83237 | 0.78396 | 0.438223 | 0.255419 | 0.096821 | 0 | 0 | 0.003906 | 0.090855 | 3,379 | 79 | 91 | 42.772152 | 0.897135 | 0.124889 | 0 | 0 | 1 | 0 | 0.010877 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.95082 | 0 | 0.95082 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
f7dfa4e6dd4ab7417757336f015ef06fe990338f | 257 | py | Python | gym_virtual_quant_trading/data/__init__.py | majercakdavid/gym-virtual-quant-trading | 90b16b5d37005f941edc1e23bb140868aba895c2 | [
"MIT"
] | 1 | 2021-02-02T16:29:34.000Z | 2021-02-02T16:29:34.000Z | gym_virtual_quant_trading/data/__init__.py | majercakdavid/gym-virtual-quant-trading | 90b16b5d37005f941edc1e23bb140868aba895c2 | [
"MIT"
] | null | null | null | gym_virtual_quant_trading/data/__init__.py | majercakdavid/gym-virtual-quant-trading | 90b16b5d37005f941edc1e23bb140868aba895c2 | [
"MIT"
] | 1 | 2021-11-28T15:09:26.000Z | 2021-11-28T15:09:26.000Z | from gym_virtual_quant_trading.data.BaseMarketDataSource import BaseMarketDataSource, BaseMarketData, BaseMarketSymbolData
from gym_virtual_quant_trading.data.DefaultMarketDataSource import DefaultMarketDataSource, DefaultMarketData, DefaultMarketSymbolData | 128.5 | 134 | 0.92607 | 22 | 257 | 10.545455 | 0.590909 | 0.060345 | 0.12069 | 0.163793 | 0.258621 | 0.258621 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042802 | 257 | 2 | 134 | 128.5 | 0.943089 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
793dd51b07f5ca8f82783ba373fdb0f25ca91a48 | 14,038 | py | Python | src/python/tests/core/google_cloud_utils/gsutil_test.py | avineshwar/clusterfuzz | cd72fc66fb5cd4013196662c3564339a940e1c41 | [
"Apache-2.0"
] | null | null | null | src/python/tests/core/google_cloud_utils/gsutil_test.py | avineshwar/clusterfuzz | cd72fc66fb5cd4013196662c3564339a940e1c41 | [
"Apache-2.0"
] | null | null | null | src/python/tests/core/google_cloud_utils/gsutil_test.py | avineshwar/clusterfuzz | cd72fc66fb5cd4013196662c3564339a940e1c41 | [
"Apache-2.0"
] | 1 | 2020-04-25T16:37:10.000Z | 2020-04-25T16:37:10.000Z | # Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 32.12357 | 79 | 0.613834 | 1,728 | 14,038 | 4.640046 | 0.086806 | 0.100274 | 0.089798 | 0.106635 | 0.903342 | 0.890621 | 0.879147 | 0.8779 | 0.870915 | 0.855201 | 0 | 0.015371 | 0.249252 | 14,038 | 436 | 80 | 32.197248 | 0.745422 | 0.0686 | 0 | 0.763441 | 0 | 0 | 0.274842 | 0.211018 | 0 | 0 | 0 | 0 | 0.083333 | 1 | 0.061828 | false | 0 | 0.016129 | 0 | 0.080645 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.