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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e0b1d99b11745a9c28656509493706af8a72dee9 | 119 | py | Python | DataStructures-Algorithms/Udacity-Python-DSA/03-Recursion/reverse_string.py | shoaibur/SWE | 1e114a2750f2df5d6c50b48c8e439224894d65da | [
"MIT"
] | 1 | 2020-11-14T18:28:13.000Z | 2020-11-14T18:28:13.000Z | DataStructures-Algorithms/Udacity-Python-DSA/03-Recursion/reverse_string.py | shoaibur/SWE | 1e114a2750f2df5d6c50b48c8e439224894d65da | [
"MIT"
] | null | null | null | DataStructures-Algorithms/Udacity-Python-DSA/03-Recursion/reverse_string.py | shoaibur/SWE | 1e114a2750f2df5d6c50b48c8e439224894d65da | [
"MIT"
] | null | null | null | def reverse_string(string):
if len(string) <= 1: return string
return string[-1] + reverse_string(string[:-1])
| 29.75 | 51 | 0.680672 | 17 | 119 | 4.647059 | 0.411765 | 0.265823 | 0.481013 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.168067 | 119 | 3 | 52 | 39.666667 | 0.767677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
e0bfa013f8da25932e2b88dc3dde410810bd188e | 3,805 | py | Python | models/map.py | PavelVavruska/python-raycaster | e548d8ef46d51d38eaf9363b63c414a916d9b533 | [
"MIT"
] | 1 | 2020-03-19T22:59:38.000Z | 2020-03-19T22:59:38.000Z | models/map.py | PavelVavruska/python-raycaster | e548d8ef46d51d38eaf9363b63c414a916d9b533 | [
"MIT"
] | null | null | null | models/map.py | PavelVavruska/python-raycaster | e548d8ef46d51d38eaf9363b63c414a916d9b533 | [
"MIT"
] | null | null | null | # Copyright (c) 2019 Pavel Vavruska
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, d... | 50.065789 | 93 | 0.496452 | 691 | 3,805 | 2.649783 | 0.178003 | 0.223921 | 0.257236 | 0.24249 | 0.397597 | 0.355543 | 0.309667 | 0.286729 | 0.286729 | 0.286729 | 0 | 0.20249 | 0.28226 | 3,805 | 76 | 94 | 50.065789 | 0.46796 | 0.280946 | 0 | 0.382979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.191489 | false | 0 | 0 | 0.12766 | 0.340426 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
e0db353b448a31515653bfce4ce884786d0ceb9e | 231 | py | Python | HLTriggerOffline/Tau/python/Validation/HLTTauValidation_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | HLTriggerOffline/Tau/python/Validation/HLTTauValidation_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | HLTriggerOffline/Tau/python/Validation/HLTTauValidation_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
from HLTriggerOffline.Tau.Validation.HLTTauReferences_cfi import *
from HLTriggerOffline.Tau.Validation.HLTTauValidation_cfi import *
HLTTauVal = cms.Sequence(hltTauRef+hltTauValIdeal)
| 33 | 66 | 0.848485 | 25 | 231 | 7.76 | 0.68 | 0.206186 | 0.237113 | 0.340206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08658 | 231 | 6 | 67 | 38.5 | 0.919431 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e0e780b61a5d42af1a833e7953916ce3b1676592 | 40 | py | Python | source/__init__.py | elpapi42/simpleid | c6799d9f90f88bd5ed38a9935436d165b0e3518f | [
"MIT"
] | null | null | null | source/__init__.py | elpapi42/simpleid | c6799d9f90f88bd5ed38a9935436d165b0e3518f | [
"MIT"
] | null | null | null | source/__init__.py | elpapi42/simpleid | c6799d9f90f88bd5ed38a9935436d165b0e3518f | [
"MIT"
] | 1 | 2021-07-11T19:19:43.000Z | 2021-07-11T19:19:43.000Z | from source.simpleidbits import SimpleId | 40 | 40 | 0.9 | 5 | 40 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e0ee104973e98e2be5c08f9e2c2fc12870bc03a4 | 25 | py | Python | dlgo/gtp/__init__.py | BachFive/GammaGo_3 | 3eb8e82eef01718684ba8594be49fdac04503e5e | [
"MIT"
] | null | null | null | dlgo/gtp/__init__.py | BachFive/GammaGo_3 | 3eb8e82eef01718684ba8594be49fdac04503e5e | [
"MIT"
] | null | null | null | dlgo/gtp/__init__.py | BachFive/GammaGo_3 | 3eb8e82eef01718684ba8594be49fdac04503e5e | [
"MIT"
] | 1 | 2020-06-11T21:55:31.000Z | 2020-06-11T21:55:31.000Z | from .frontend import *
| 8.333333 | 23 | 0.72 | 3 | 25 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 25 | 2 | 24 | 12.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
46160ad811def77d55bb230d2f0a9f36c17e2159 | 32 | py | Python | moncli/entities/__init__.py | Ashatz/moncli | ba82cc163f589635e4c7dbf80a1c9aea0aa1425a | [
"MIT"
] | 1 | 2020-08-17T17:05:03.000Z | 2020-08-17T17:05:03.000Z | moncli/entities/__init__.py | Ashatz/moncli | ba82cc163f589635e4c7dbf80a1c9aea0aa1425a | [
"MIT"
] | null | null | null | moncli/entities/__init__.py | Ashatz/moncli | ba82cc163f589635e4c7dbf80a1c9aea0aa1425a | [
"MIT"
] | null | null | null | from .client import MondayClient | 32 | 32 | 0.875 | 4 | 32 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1c9f1cfac0e834ee4f0c23449e537c43cb144769 | 377 | py | Python | Django/Video_Project/Day01/HelloDjango/App/views.py | pyforspider/LearningLog | ac5988d7fbb0d07d6e7485f9050250af5bcba089 | [
"MIT"
] | null | null | null | Django/Video_Project/Day01/HelloDjango/App/views.py | pyforspider/LearningLog | ac5988d7fbb0d07d6e7485f9050250af5bcba089 | [
"MIT"
] | 18 | 2020-02-12T01:18:12.000Z | 2022-03-12T00:42:15.000Z | Django/Video_Project/Day01/HelloDjango/App/views.py | pyforspider/LearningLog | ac5988d7fbb0d07d6e7485f9050250af5bcba089 | [
"MIT"
] | null | null | null | from django.http import HttpResponse
from django.shortcuts import render
# Create your views here.
def hello(request):
return HttpResponse('hello')
def hehe(request):
return HttpResponse('hehe')
def haha(request):
return HttpResponse('<h1>haha</h1>')
def index(request):
return render(request, 'index.html')
... | 16.391304 | 37 | 0.742706 | 50 | 377 | 5.6 | 0.42 | 0.232143 | 0.267857 | 0.185714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006098 | 0.129973 | 377 | 23 | 38 | 16.391304 | 0.847561 | 0.061008 | 0 | 0 | 0 | 0 | 0.116147 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0 | 0.166667 | 0.416667 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
1cadd35c322ff6512454d00380a444313857015c | 63 | py | Python | twist/utils/__init__.py | YourLocalDeveloper/Twist | 2734ffc9206071570fecbb89d0b6b25364b00330 | [
"MIT"
] | 5 | 2020-11-25T19:41:07.000Z | 2021-02-17T18:35:38.000Z | twist/utils/__init__.py | YourLocalDeveloper/Twist | 2734ffc9206071570fecbb89d0b6b25364b00330 | [
"MIT"
] | null | null | null | twist/utils/__init__.py | YourLocalDeveloper/Twist | 2734ffc9206071570fecbb89d0b6b25364b00330 | [
"MIT"
] | null | null | null | from .static import *
from .tests import *
from .wsgi import *
| 15.75 | 21 | 0.714286 | 9 | 63 | 5 | 0.555556 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 63 | 3 | 22 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1cc6cd07c25398a41b180c3c1bbf22c9547a5533 | 33,018 | py | Python | api/tests/test_asset_log.py | raheemazeezabiodun/art-backend | 0bc47f3cf6f403101082f201c7fd1ca8108d5731 | [
"MIT"
] | null | null | null | api/tests/test_asset_log.py | raheemazeezabiodun/art-backend | 0bc47f3cf6f403101082f201c7fd1ca8108d5731 | [
"MIT"
] | null | null | null | api/tests/test_asset_log.py | raheemazeezabiodun/art-backend | 0bc47f3cf6f403101082f201c7fd1ca8108d5731 | [
"MIT"
] | null | null | null | # Standard Library
from datetime import datetime
from unittest.mock import patch
# Third-Party Imports
from django.contrib.auth import get_user_model
from django.core.exceptions import ValidationError
from rest_framework.test import APIClient
# App Imports
from api.tests import APIBaseTestCase
from core.constants imp... | 41.954257 | 93 | 0.66812 | 4,062 | 33,018 | 5.086657 | 0.051945 | 0.039493 | 0.064176 | 0.055948 | 0.887281 | 0.872665 | 0.846094 | 0.838931 | 0.828139 | 0.824364 | 0 | 0.010609 | 0.226331 | 33,018 | 786 | 94 | 42.007634 | 0.798238 | 0.014204 | 0 | 0.631503 | 0 | 0 | 0.138276 | 0.087235 | 0 | 0 | 0 | 0 | 0.132948 | 1 | 0.067919 | false | 0 | 0.011561 | 0 | 0.080925 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1c1b75847fb541a30414ac68c9f93c4c7ab7a43a | 54 | py | Python | kiwi-engine-selector/kiwi/heuristics/user.py | bubblegumsoldier/kiwi | 91701c1806dcfbc1b038fecf7c2cab8bb07a01d4 | [
"MIT"
] | null | null | null | kiwi-engine-selector/kiwi/heuristics/user.py | bubblegumsoldier/kiwi | 91701c1806dcfbc1b038fecf7c2cab8bb07a01d4 | [
"MIT"
] | null | null | null | kiwi-engine-selector/kiwi/heuristics/user.py | bubblegumsoldier/kiwi | 91701c1806dcfbc1b038fecf7c2cab8bb07a01d4 | [
"MIT"
] | null | null | null | def get_heuristic(**kwargs):
return kwargs["user"] | 27 | 28 | 0.703704 | 7 | 54 | 5.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 54 | 2 | 29 | 27 | 0.787234 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
1c2f7a621aca507291ac0ddb3de1ae98acabf9a0 | 4,878 | py | Python | tests/integration/states/test_nsxt_manager.py | jain-prerna/salt-ext-modules-vmware-old | 89ea6dd77c6d5a35dc55c23adbdc361949a63057 | [
"Apache-2.0"
] | 1 | 2021-11-02T20:24:19.000Z | 2021-11-02T20:24:19.000Z | tests/integration/states/test_nsxt_manager.py | cmcmarrow/salt-ext-modules-vmware | c546a9f9ae121b7399dabae82f714117d0ab558d | [
"Apache-2.0"
] | null | null | null | tests/integration/states/test_nsxt_manager.py | cmcmarrow/salt-ext-modules-vmware | c546a9f9ae121b7399dabae82f714117d0ab558d | [
"Apache-2.0"
] | 1 | 2021-12-15T02:46:59.000Z | 2021-12-15T02:46:59.000Z | """
Integration Tests for nsxt_manager state module
"""
import logging
import pytest
import requests
from requests.auth import HTTPBasicAuth
log = logging.getLogger(__name__)
BASE_URL = "https://{}/api/v1/configs/management"
def _get_manager_config_from_nsxt(nsxt_config):
hostname = nsxt_config["hostname"]... | 35.093525 | 91 | 0.708282 | 611 | 4,878 | 5.348609 | 0.157119 | 0.165239 | 0.043758 | 0.060588 | 0.787638 | 0.767748 | 0.737148 | 0.70716 | 0.70716 | 0.690942 | 0 | 0.000766 | 0.196802 | 4,878 | 138 | 92 | 35.347826 | 0.833333 | 0.067856 | 0 | 0.659794 | 0 | 0 | 0.18347 | 0.024817 | 0 | 0 | 0 | 0 | 0.206186 | 1 | 0.061856 | false | 0.082474 | 0.041237 | 0 | 0.14433 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
1c48a04f443135c1a234bcf0ad9484b86d1bdd54 | 82 | py | Python | src/westpa/westext/adaptvoronoi/__init__.py | burntyellow/adelman_ci | cca251a51b34843faed0275cce01d7a307829993 | [
"MIT"
] | 140 | 2015-01-07T23:30:36.000Z | 2022-03-28T17:15:30.000Z | src/westext/adaptvoronoi/__init__.py | burntyellow/westpa | 9dc62478fcef0001b9c038cd56a40b6be1b9d64a | [
"MIT"
] | 157 | 2015-01-03T03:38:36.000Z | 2022-03-31T14:12:16.000Z | src/westext/adaptvoronoi/__init__.py | burntyellow/westpa | 9dc62478fcef0001b9c038cd56a40b6be1b9d64a | [
"MIT"
] | 56 | 2015-01-02T21:21:40.000Z | 2022-03-03T16:27:54.000Z |
from . import adaptVor_driver
from .adaptVor_driver import AdaptiveVoronoiDriver
| 20.5 | 50 | 0.865854 | 9 | 82 | 7.666667 | 0.555556 | 0.405797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109756 | 82 | 3 | 51 | 27.333333 | 0.945205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1c6aa28701fa0ede0cd386731b68432d24ef2a89 | 14,474 | py | Python | tests/test_sphinx/test_sphinx_builds.py | daobook/myst-parser | 153ef318cd6f2c52abce7844218e95f18a12653b | [
"MIT"
] | null | null | null | tests/test_sphinx/test_sphinx_builds.py | daobook/myst-parser | 153ef318cd6f2c52abce7844218e95f18a12653b | [
"MIT"
] | null | null | null | tests/test_sphinx/test_sphinx_builds.py | daobook/myst-parser | 153ef318cd6f2c52abce7844218e95f18a12653b | [
"MIT"
] | null | null | null | """Uses sphinx's pytest fixture to run builds.
see conftest.py for fixture usage
NOTE: sphinx 3 & 4 regress against different output files,
the major difference being sphinx 4 uses docutils 0.17,
which uses semantic HTML tags
(e.g. converting `<div class="section">` to `<section>`)
"""
import os
import re
import pyt... | 26.412409 | 98 | 0.624361 | 1,639 | 14,474 | 5.305064 | 0.129957 | 0.06107 | 0.081426 | 0.069925 | 0.772053 | 0.767683 | 0.767683 | 0.753882 | 0.740541 | 0.725474 | 0 | 0.006606 | 0.246926 | 14,474 | 547 | 99 | 26.460695 | 0.791101 | 0.085049 | 0 | 0.729847 | 0 | 0 | 0.187414 | 0.07807 | 0 | 0 | 0 | 0 | 0.067538 | 1 | 0.03268 | false | 0 | 0.013072 | 0 | 0.045752 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1c75fc5aca41bac52b915f9a38b00c9f2fceb3fa | 7,907 | py | Python | xooa_api/blockchain.py | Xooa/xooa-python-sdk | b364a576b324d1dfaaa383586c38586d855ed95f | [
"Apache-2.0"
] | 6 | 2019-07-19T19:45:45.000Z | 2021-12-16T13:18:01.000Z | xooa_api/blockchain.py | Xooa/xooa-python-sdk | b364a576b324d1dfaaa383586c38586d855ed95f | [
"Apache-2.0"
] | null | null | null | xooa_api/blockchain.py | Xooa/xooa-python-sdk | b364a576b324d1dfaaa383586c38586d855ed95f | [
"Apache-2.0"
] | null | null | null | #
# Python SDK for Xooa
#
# Copyright 2018 Xooa
#
# 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 t... | 30.411538 | 114 | 0.590995 | 811 | 7,907 | 5.621455 | 0.202219 | 0.064488 | 0.059224 | 0.026322 | 0.727791 | 0.720991 | 0.720991 | 0.720991 | 0.720991 | 0.720991 | 0 | 0.007746 | 0.330593 | 7,907 | 259 | 115 | 30.528958 | 0.85358 | 0.181105 | 0 | 0.825758 | 0 | 0 | 0.125377 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022727 | false | 0 | 0.037879 | 0 | 0.113636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
98cb7bb3897004160678d1591aa278dd6694ffbb | 46 | py | Python | src/opensignals/__init__.py | jconsidi/opensignals | 5a3158fc55cd1c50719e6f4c77d47ee1823b4e77 | [
"Apache-2.0"
] | 25 | 2021-06-28T14:54:27.000Z | 2022-03-22T19:03:00.000Z | src/opensignals/__init__.py | jconsidi/opensignals | 5a3158fc55cd1c50719e6f4c77d47ee1823b4e77 | [
"Apache-2.0"
] | 21 | 2021-06-30T02:52:18.000Z | 2022-01-31T08:23:47.000Z | src/opensignals/__init__.py | jconsidi/opensignals | 5a3158fc55cd1c50719e6f4c77d47ee1823b4e77 | [
"Apache-2.0"
] | 13 | 2021-06-30T02:52:54.000Z | 2022-02-27T17:14:04.000Z | from opensignals.__about__ import __version__
| 23 | 45 | 0.891304 | 5 | 46 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c71071bb219f90b6b7fa20e7889030cdadcae16c | 28,665 | py | Python | mks/migrations/0009_add_action_stream.py | daonb/Open-Knesset | a169f03965b36f753968a18c7c8165156c0cebdd | [
"BSD-3-Clause"
] | 69 | 2015-02-03T12:02:56.000Z | 2022-02-16T13:08:01.000Z | mks/migrations/0009_add_action_stream.py | OriHoch/Open-Knesset | 538bcdc2632d8d17a8ddddbc4567106684b9996b | [
"BSD-3-Clause"
] | 446 | 2015-01-01T11:10:33.000Z | 2021-11-01T08:15:39.000Z | mks/migrations/0009_add_action_stream.py | OriHoch/Open-Knesset | 538bcdc2632d8d17a8ddddbc4567106684b9996b | [
"BSD-3-Clause"
] | 67 | 2015-01-01T09:13:58.000Z | 2021-11-01T07:51:08.000Z | # encoding: utf-8
import datetime
from south.db import db
from south.v2 import DataMigration
from django.db import models
class Migration(DataMigration):
def _get_FIELD_display(self, field):
value = getattr(self, field.attname)
return force_unicode(dict(field.flatchoices).get(value, value), string... | 80.294118 | 243 | 0.553811 | 2,945 | 28,665 | 5.276401 | 0.094737 | 0.108115 | 0.1883 | 0.269001 | 0.762018 | 0.734024 | 0.717421 | 0.700045 | 0.631379 | 0.515928 | 0 | 0.009253 | 0.193197 | 28,665 | 356 | 244 | 80.519663 | 0.662645 | 0.000523 | 0 | 0.207602 | 0 | 0 | 0.570651 | 0.293424 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.002924 | 0.020468 | null | null | 0.008772 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c791e66766588159e27d9948cc9cb108cb9edf98 | 144 | py | Python | world_capitals_bot/data_models/user_profile.py | gcatanese/worldCapitalsChatbot | 09c9d32d9ce6da3bba84cdd24f24539e0b215611 | [
"Apache-2.0"
] | null | null | null | world_capitals_bot/data_models/user_profile.py | gcatanese/worldCapitalsChatbot | 09c9d32d9ce6da3bba84cdd24f24539e0b215611 | [
"Apache-2.0"
] | null | null | null | world_capitals_bot/data_models/user_profile.py | gcatanese/worldCapitalsChatbot | 09c9d32d9ce6da3bba84cdd24f24539e0b215611 | [
"Apache-2.0"
] | null | null | null | class UserProfile:
def __init__(self, name: str = None):
self.name = name
def __str__(self):
return f"name:{self.name}" | 24 | 41 | 0.604167 | 19 | 144 | 4.157895 | 0.526316 | 0.303797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.270833 | 144 | 6 | 42 | 24 | 0.752381 | 0 | 0 | 0 | 0 | 0 | 0.110345 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c7cfa30b84e6da4b9c34b221ad846f4f15a039d6 | 198,121 | py | Python | cottonformation/res/glue.py | gitter-badger/cottonformation-project | 354f1dce7ea106e209af2d5d818b6033a27c193c | [
"BSD-2-Clause"
] | null | null | null | cottonformation/res/glue.py | gitter-badger/cottonformation-project | 354f1dce7ea106e209af2d5d818b6033a27c193c | [
"BSD-2-Clause"
] | null | null | null | cottonformation/res/glue.py | gitter-badger/cottonformation-project | 354f1dce7ea106e209af2d5d818b6033a27c193c | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
This module
"""
import attr
import typing
from ..core.model import (
Property, Resource, Tag, GetAtt, TypeHint, TypeCheck,
)
from ..core.constant import AttrMeta
#--- Property declaration ---
@attr.s
class MLTransformFindMatchesParameters(Property):
"""
AWS Object Type = "AW... | 63.358171 | 294 | 0.761984 | 21,914 | 198,121 | 6.797116 | 0.01442 | 0.035125 | 0.048297 | 0.074642 | 0.925278 | 0.92415 | 0.904815 | 0.868085 | 0.867367 | 0.866836 | 0 | 0.00036 | 0.103795 | 198,121 | 3,126 | 295 | 63.378439 | 0.838536 | 0.326048 | 0 | 0.53709 | 0 | 0 | 0.084456 | 0.043964 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0023 | false | 0.0046 | 0.0023 | 0 | 0.257619 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1bf0ca336ca50628ba7c13df344dc98dac687ce7 | 3,871 | py | Python | tests/test_phylogeny_metrics.py | alackles/alife-std-dev-python | 9d2beb21fb7bb10a6481a9154cf0b71f98885b4e | [
"MIT"
] | null | null | null | tests/test_phylogeny_metrics.py | alackles/alife-std-dev-python | 9d2beb21fb7bb10a6481a9154cf0b71f98885b4e | [
"MIT"
] | 10 | 2019-03-04T16:28:05.000Z | 2019-03-15T20:32:03.000Z | tests/test_phylogeny_metrics.py | alackles/alife-std-dev-python | 9d2beb21fb7bb10a6481a9154cf0b71f98885b4e | [
"MIT"
] | 2 | 2019-03-04T18:44:47.000Z | 2021-11-04T16:35:34.000Z | import ALifeStdDev.phylogeny as phylodev
import pytest
def test_get_asexual_lineage_length():
toy_lineage_fname = "example_data/example-standard-toy-asexual-lineage.csv"
lineage = phylodev.load_phylogeny_to_networkx(toy_lineage_fname)
length = phylodev.get_asexual_lineage_length(lineage)
assert length... | 46.638554 | 146 | 0.795918 | 524 | 3,871 | 5.398855 | 0.139313 | 0.113821 | 0.114175 | 0.084836 | 0.900318 | 0.840226 | 0.816543 | 0.815483 | 0.741251 | 0.724638 | 0 | 0.011665 | 0.114182 | 3,871 | 83 | 147 | 46.638554 | 0.813357 | 0 | 0 | 0.306452 | 0 | 0 | 0.147469 | 0.118543 | 0 | 0 | 0 | 0 | 0.290323 | 1 | 0.096774 | false | 0 | 0.032258 | 0 | 0.129032 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
400c1768f6579eed3113869d352130bd9e2c219d | 47 | py | Python | src/__init__.py | students124/TugasSearch | 8ec87d79c5dc933180795a1f4b811c6da9612526 | [
"MIT"
] | null | null | null | src/__init__.py | students124/TugasSearch | 8ec87d79c5dc933180795a1f4b811c6da9612526 | [
"MIT"
] | null | null | null | src/__init__.py | students124/TugasSearch | 8ec87d79c5dc933180795a1f4b811c6da9612526 | [
"MIT"
] | null | null | null | from .Graph import Graph
# from .GUI import GUI | 23.5 | 24 | 0.765957 | 8 | 47 | 4.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 2 | 25 | 23.5 | 0.923077 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
400e1b25a472ec86f677953a0fba861de4bb85fe | 3,850 | py | Python | tests/test_transformer/test_dropout/test_dropout_transormer.py | uTensor/utensor_cgen | eccd6859028d0b6a350dced25ea72ff02faaf9ad | [
"Apache-2.0"
] | 49 | 2018-01-06T12:57:56.000Z | 2021-09-03T09:48:32.000Z | tests/test_transformer/test_dropout/test_dropout_transormer.py | uTensor/utensor_cgen | eccd6859028d0b6a350dced25ea72ff02faaf9ad | [
"Apache-2.0"
] | 101 | 2018-01-16T19:24:21.000Z | 2021-11-10T19:39:33.000Z | tests/test_transformer/test_dropout/test_dropout_transormer.py | uTensor/utensor_cgen | eccd6859028d0b6a350dced25ea72ff02faaf9ad | [
"Apache-2.0"
] | 32 | 2018-02-15T19:39:50.000Z | 2020-11-26T22:32:05.000Z | import pytest
import tensorflow.compat.v1 as tf
from utensor_cgen.frontend.tensorflow import GraphDefParser
from utensor_cgen.transformer.ns_transformer import (DropoutTransformer,
DropoutTransformerV2)
def test_dropout_trans_1_1(droput_graph_tuple):
(graph_de... | 42.307692 | 82 | 0.708831 | 562 | 3,850 | 4.535587 | 0.131673 | 0.060024 | 0.051785 | 0.069047 | 0.837976 | 0.797568 | 0.720675 | 0.720675 | 0.720675 | 0.720675 | 0 | 0.018916 | 0.18987 | 3,850 | 90 | 83 | 42.777778 | 0.798333 | 0.057922 | 0 | 0.666667 | 0 | 0 | 0.007182 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 1 | 0.051282 | false | 0 | 0.102564 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4021b880523b14fd4fe118245bbab0f2c0ce9d31 | 32 | py | Python | app/services/game_data/__init__.py | somespecialone/clever-inspect | 8735e0b445c8e7e9b83c627d4a5fbed1428c1891 | [
"MIT"
] | 1 | 2022-03-12T05:44:12.000Z | 2022-03-12T05:44:12.000Z | app/services/game_data/__init__.py | somespecialone/clever-inspect | 8735e0b445c8e7e9b83c627d4a5fbed1428c1891 | [
"MIT"
] | null | null | null | app/services/game_data/__init__.py | somespecialone/clever-inspect | 8735e0b445c8e7e9b83c627d4a5fbed1428c1891 | [
"MIT"
] | null | null | null | from .game_data import GameData
| 16 | 31 | 0.84375 | 5 | 32 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4024f03f3c9deaa2cb223b9ddcd6a3aefc88cf73 | 49 | py | Python | fintech_ibkr/__init__.py | ls4351/testapp | 83238af14e07e2dcc7476244a00bbc05b6f960f3 | [
"MIT"
] | null | null | null | fintech_ibkr/__init__.py | ls4351/testapp | 83238af14e07e2dcc7476244a00bbc05b6f960f3 | [
"MIT"
] | null | null | null | fintech_ibkr/__init__.py | ls4351/testapp | 83238af14e07e2dcc7476244a00bbc05b6f960f3 | [
"MIT"
] | null | null | null | from fintech_ibkr.synchronous_functions import *
| 24.5 | 48 | 0.877551 | 6 | 49 | 6.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.911111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
402ad1449bf7ecbb0c9e424928ea439978226a3a | 13 | py | Python | db/utils/__init__.py | cuichuan123456/transform-culane | 5e1de763100ae53b1c5c66cf168c09999cf75139 | [
"BSD-3-Clause"
] | 540 | 2020-11-10T11:09:00.000Z | 2022-03-30T01:49:33.000Z | db/utils/__init__.py | cuichuan123456/transform-culane | 5e1de763100ae53b1c5c66cf168c09999cf75139 | [
"BSD-3-Clause"
] | 83 | 2020-11-14T17:43:34.000Z | 2022-03-22T08:49:23.000Z | db/utils/__init__.py | cuichuan123456/transform-culane | 5e1de763100ae53b1c5c66cf168c09999cf75139 | [
"BSD-3-Clause"
] | 122 | 2020-11-12T01:29:12.000Z | 2022-03-23T09:50:50.000Z | # 2020 07 09
| 6.5 | 12 | 0.615385 | 3 | 13 | 2.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.888889 | 0.307692 | 13 | 1 | 13 | 13 | 0 | 0.769231 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4035346bef3c7b4eacc542c54237dbbc1c19a731 | 102 | py | Python | pyhive/__init__.py | mayurinehate/PyHive | a7e106262b1cd61b9be869948574e23c96c16bc9 | [
"Apache-2.0"
] | null | null | null | pyhive/__init__.py | mayurinehate/PyHive | a7e106262b1cd61b9be869948574e23c96c16bc9 | [
"Apache-2.0"
] | null | null | null | pyhive/__init__.py | mayurinehate/PyHive | a7e106262b1cd61b9be869948574e23c96c16bc9 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
from __future__ import unicode_literals
__version__ = '0.6.12'
| 25.5 | 39 | 0.843137 | 14 | 102 | 5.142857 | 0.714286 | 0.277778 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043956 | 0.107843 | 102 | 3 | 40 | 34 | 0.747253 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
40c9ce98e8caea912ddf2f48445b662f87b9a913 | 21,830 | py | Python | tests/python/relax/test_transform_fuse_tir.py | psrivas2/relax | 4329af78eb1dc4c4ff8a61d3bf39aa4034e9cb2a | [
"Apache-2.0"
] | 90 | 2021-11-30T11:58:10.000Z | 2022-03-31T02:24:04.000Z | tests/python/relax/test_transform_fuse_tir.py | psrivas2/relax | 4329af78eb1dc4c4ff8a61d3bf39aa4034e9cb2a | [
"Apache-2.0"
] | 64 | 2021-11-22T23:58:23.000Z | 2022-03-31T03:19:22.000Z | tests/python/relax/test_transform_fuse_tir.py | psrivas2/relax | 4329af78eb1dc4c4ff8a61d3bf39aa4034e9cb2a | [
"Apache-2.0"
] | 27 | 2021-12-09T22:39:27.000Z | 2022-03-24T23:21:48.000Z | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 37.965217 | 99 | 0.547229 | 2,907 | 21,830 | 3.9398 | 0.071207 | 0.062342 | 0.036672 | 0.047498 | 0.82319 | 0.805379 | 0.763643 | 0.744696 | 0.731337 | 0.701388 | 0 | 0.04087 | 0.307329 | 21,830 | 574 | 100 | 38.031359 | 0.716553 | 0.039762 | 0 | 0.672414 | 0 | 0 | 0.049857 | 0.008118 | 0 | 0 | 0 | 0 | 0.002155 | 1 | 0.103448 | false | 0 | 0.012931 | 0.002155 | 0.193966 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
40ca55ae4ebf6727a09c5821a5885f0a918b79a4 | 79 | py | Python | forecast/pipelines/__init__.py | ADGEfficiency/forecast | 69d636d4fa081a81c70c18d2a3cb8a60db00b493 | [
"MIT"
] | 16 | 2018-08-10T09:28:52.000Z | 2021-09-02T16:59:08.000Z | forecast/pipelines/__init__.py | l-leo/forecast | 69d636d4fa081a81c70c18d2a3cb8a60db00b493 | [
"MIT"
] | 11 | 2019-02-20T14:19:49.000Z | 2022-02-09T23:50:04.000Z | forecast/pipelines/__init__.py | l-leo/forecast | 69d636d4fa081a81c70c18d2a3cb8a60db00b493 | [
"MIT"
] | 6 | 2019-01-24T08:59:40.000Z | 2021-04-08T14:34:18.000Z | from .pipelines import *
from .seasonality import *
from .time_series import *
| 19.75 | 26 | 0.772152 | 10 | 79 | 6 | 0.6 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151899 | 79 | 3 | 27 | 26.333333 | 0.895522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dc193008b19b5347f8bd3d76ef7907fdb995b156 | 186 | py | Python | sanad_customisations/sanad_customisations/doctype/ticketing_and_travel_management/test_ticketing_and_travel_management.py | the-bantoo/sanad-customizations | 2413134d5bb6ee0f87ce0e6ac57a9235814e76e9 | [
"MIT"
] | null | null | null | sanad_customisations/sanad_customisations/doctype/ticketing_and_travel_management/test_ticketing_and_travel_management.py | the-bantoo/sanad-customizations | 2413134d5bb6ee0f87ce0e6ac57a9235814e76e9 | [
"MIT"
] | null | null | null | sanad_customisations/sanad_customisations/doctype/ticketing_and_travel_management/test_ticketing_and_travel_management.py | the-bantoo/sanad-customizations | 2413134d5bb6ee0f87ce0e6ac57a9235814e76e9 | [
"MIT"
] | 1 | 2022-01-30T15:19:10.000Z | 2022-01-30T15:19:10.000Z | # Copyright (c) 2021, Bantoo Accounting Innovations and Contributors
# See license.txt
# import frappe
import unittest
class TestTicketingAndTravelManagement(unittest.TestCase):
pass
| 20.666667 | 68 | 0.817204 | 20 | 186 | 7.6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02454 | 0.123656 | 186 | 8 | 69 | 23.25 | 0.907975 | 0.516129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
90556bf73579522da9e1e8b38cb279ee8f614c9f | 8,422 | py | Python | CureIAM/workers.py | gojek/CureIAM | 83cdf6ef4d61b563ae8ac69fbf008f8338f6361f | [
"Apache-2.0"
] | 17 | 2021-11-10T08:32:31.000Z | 2022-03-03T12:20:38.000Z | CureIAM/workers.py | gojekfarm/CureIAM | 83cdf6ef4d61b563ae8ac69fbf008f8338f6361f | [
"Apache-2.0"
] | null | null | null | CureIAM/workers.py | gojekfarm/CureIAM | 83cdf6ef4d61b563ae8ac69fbf008f8338f6361f | [
"Apache-2.0"
] | 3 | 2021-11-11T17:20:16.000Z | 2021-12-02T20:00:34.000Z | """Worker functions.
"""
import logging
from CureIAM import util
_log = logging.getLogger(__name__)
def cloud_worker(audit_key, audit_version, plugin_key, plugin_config,
output_queues):
"""Worker function for cloud plugins.
This function instantiates a plugin object from the
``plugin... | 37.431111 | 73 | 0.619449 | 1,021 | 8,422 | 4.880509 | 0.125367 | 0.041742 | 0.033915 | 0.040136 | 0.837046 | 0.79129 | 0.768413 | 0.757174 | 0.750351 | 0.740919 | 0 | 0 | 0.28758 | 8,422 | 224 | 74 | 37.598214 | 0.8305 | 0.426265 | 0 | 0.636364 | 0 | 0 | 0.155654 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050505 | false | 0 | 0.020202 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
90a0352b231b74d8151079f3d16e146f70cdd82a | 107 | py | Python | {{cookiecutter.project_slug}}/app/services/__init__.py | youngsoul/cookiecutter-flask-creative-tim-starter | 6ad544a06b1ad4f35e39122a1198bcd84b6d064e | [
"MIT"
] | null | null | null | {{cookiecutter.project_slug}}/app/services/__init__.py | youngsoul/cookiecutter-flask-creative-tim-starter | 6ad544a06b1ad4f35e39122a1198bcd84b6d064e | [
"MIT"
] | null | null | null | {{cookiecutter.project_slug}}/app/services/__init__.py | youngsoul/cookiecutter-flask-creative-tim-starter | 6ad544a06b1ad4f35e39122a1198bcd84b6d064e | [
"MIT"
] | null | null | null | from flask import Blueprint
auth_bp = Blueprint('auth', __name__)
from app.services import auth_services
| 17.833333 | 38 | 0.803738 | 15 | 107 | 5.333333 | 0.6 | 0.325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130841 | 107 | 5 | 39 | 21.4 | 0.860215 | 0 | 0 | 0 | 0 | 0 | 0.037383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
90b97cb9aaf3b5d66c3e8d9c6d5777896c890107 | 104 | py | Python | pylie/__init__.py | tussedrotten/pylie | df34b820b9d9273bc9c4287e559e5d5837faf794 | [
"BSD-3-Clause"
] | 6 | 2020-09-25T07:38:00.000Z | 2022-03-11T09:09:22.000Z | pylie/__init__.py | tussedrotten/pylie | df34b820b9d9273bc9c4287e559e5d5837faf794 | [
"BSD-3-Clause"
] | 1 | 2020-10-29T08:39:34.000Z | 2021-02-09T14:07:09.000Z | pylie/__init__.py | tussedrotten/pylie | df34b820b9d9273bc9c4287e559e5d5837faf794 | [
"BSD-3-Clause"
] | 1 | 2020-11-21T12:33:44.000Z | 2020-11-21T12:33:44.000Z | from pylie.so2 import SO2
from pylie.se2 import SE2
from pylie.so3 import SO3
from pylie.se3 import SE3
| 20.8 | 25 | 0.807692 | 20 | 104 | 4.2 | 0.35 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.153846 | 104 | 4 | 26 | 26 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
90f38db8467d98cd579e015af1b1eb6245a01aa4 | 28 | py | Python | serverless_crud/graphql/__init__.py | epsylabs/python-serverless-crud | 71a79c4eb86e177a543e0af90c1dcf839996be34 | [
"MIT"
] | null | null | null | serverless_crud/graphql/__init__.py | epsylabs/python-serverless-crud | 71a79c4eb86e177a543e0af90c1dcf839996be34 | [
"MIT"
] | null | null | null | serverless_crud/graphql/__init__.py | epsylabs/python-serverless-crud | 71a79c4eb86e177a543e0af90c1dcf839996be34 | [
"MIT"
] | null | null | null | from .api import GraphQLAPI
| 14 | 27 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
29005b96f42f8f70444bcc5417179f7bcca05d85 | 26,071 | py | Python | main.py | bilzkaist/APPLE | 0d887c9d1571c92915ad5b442d54f103e5a0726d | [
"MIT"
] | null | null | null | main.py | bilzkaist/APPLE | 0d887c9d1571c92915ad5b442d54f103e5a0726d | [
"MIT"
] | null | null | null | main.py | bilzkaist/APPLE | 0d887c9d1571c92915ad5b442d54f103e5a0726d | [
"MIT"
] | null | null | null | #*****************************************************************************
#
# APPLE: Accelerating Particle filter for Positioning and Localization Estimation Code.
# Written by Bilal Dastagir and Omer Tariq.
# Feb, 1st, 2022
#
#**************************... | 59.387244 | 232 | 0.409114 | 6,018 | 26,071 | 1.746427 | 0.056497 | 0.744434 | 1.093245 | 1.431779 | 0.528639 | 0.49334 | 0.470314 | 0.456993 | 0.447669 | 0.447288 | 0 | 0.276437 | 0.340225 | 26,071 | 439 | 233 | 59.387244 | 0.334574 | 0.136205 | 0 | 0.291815 | 0 | 0 | 0.02681 | 0.002437 | 0 | 0 | 0 | 0 | 0 | 1 | 0.099644 | false | 0.007117 | 0.024911 | 0.024911 | 0.213523 | 0.067616 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
29445f80be94360613cce6ceb2428aa2c26804f6 | 300 | py | Python | unshortenit/modules/__init__.py | animeshxd/unshortenit | 31e2772d5de0de5bda222e1b5437d114a1c483d6 | [
"MIT"
] | 55 | 2015-04-13T20:44:35.000Z | 2021-11-15T11:26:25.000Z | unshortenit/modules/__init__.py | DorHayun/URL-expander | 8bd550d5371db4ae53a32a688ef7ca698e82c527 | [
"MIT"
] | 24 | 2015-09-13T15:14:12.000Z | 2021-11-04T14:59:30.000Z | unshortenit/modules/__init__.py | DorHayun/get-license-by-url | b5ace7c63ba4b9c906fac90245e6e7103abbeb69 | [
"MIT"
] | 20 | 2015-02-19T07:10:16.000Z | 2022-02-21T00:07:35.000Z | from .adfly import AdfLy # noqa
from .adfocus import AdFocus # noqa
from .shortest import ShorteSt # noqa
from .meta_refresh import MetaRefresh # noqa
from .linkbucks import LinkBucks # noqa
| 50 | 59 | 0.503333 | 26 | 300 | 5.769231 | 0.384615 | 0.213333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.463333 | 300 | 5 | 60 | 60 | 0.931677 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
297fcb11231082e1874c007e13921f9298a0e202 | 95 | py | Python | test_availability.py | rtavenar/uea_datasets_availability | 8222408402b1a10b8709d4fd9f2ccf5d78a7ad6e | [
"BSD-2-Clause"
] | 1 | 2019-06-04T15:44:48.000Z | 2019-06-04T15:44:48.000Z | test_availability.py | rtavenar/uea_datasets_availability | 8222408402b1a10b8709d4fd9f2ccf5d78a7ad6e | [
"BSD-2-Clause"
] | null | null | null | test_availability.py | rtavenar/uea_datasets_availability | 8222408402b1a10b8709d4fd9f2ccf5d78a7ad6e | [
"BSD-2-Clause"
] | 1 | 2020-01-09T07:32:59.000Z | 2020-01-09T07:32:59.000Z | from tslearn.datasets import UCR_UEA_datasets
print(len(UCR_UEA_datasets().list_datasets()))
| 19 | 46 | 0.821053 | 14 | 95 | 5.214286 | 0.642857 | 0.164384 | 0.383562 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073684 | 95 | 4 | 47 | 23.75 | 0.829545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
461d3d5c6dc2d58d7fffefec4697a1ec1160ee15 | 509 | py | Python | cpc/type/VoidType.py | U-Ar/Cpresto | f723458fb237c9e3e8bc8a6afdf7c81858a65363 | [
"BSD-3-Clause"
] | 1 | 2021-05-09T07:10:19.000Z | 2021-05-09T07:10:19.000Z | cpc/type/VoidType.py | U-Ar/Cpresto | f723458fb237c9e3e8bc8a6afdf7c81858a65363 | [
"BSD-3-Clause"
] | null | null | null | cpc/type/VoidType.py | U-Ar/Cpresto | f723458fb237c9e3e8bc8a6afdf7c81858a65363 | [
"BSD-3-Clause"
] | null | null | null | from .Type import Type
class VoidType(Type):
def __init__(self):
pass
def is_void(self):
return True
def size(self):
return 1
def equals(self,other):
return isinstance(other,VoidType)
def is_same_type(self, other):
return other.is_void()
... | 19.576923 | 41 | 0.585462 | 65 | 509 | 4.369231 | 0.353846 | 0.070423 | 0.211268 | 0.211268 | 0.320423 | 0.320423 | 0.320423 | 0.21831 | 0 | 0 | 0 | 0.002907 | 0.324165 | 509 | 26 | 42 | 19.576923 | 0.822674 | 0 | 0 | 0.166667 | 0 | 0 | 0.007843 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0.055556 | 0.055556 | 0.388889 | 0.944444 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
462187f5e25546d0c014f69efb383929ddae1ec3 | 168 | py | Python | diff_cover/__init__.py | LuyaoHuang/diff-cover | 64d7dbf4a4e5cd7d048087891df8be541e01be5a | [
"Apache-2.0"
] | 1 | 2019-09-24T02:30:39.000Z | 2019-09-24T02:30:39.000Z | diff_cover/__init__.py | yafu-1/diff-cover | 64d7dbf4a4e5cd7d048087891df8be541e01be5a | [
"Apache-2.0"
] | null | null | null | diff_cover/__init__.py | yafu-1/diff-cover | 64d7dbf4a4e5cd7d048087891df8be541e01be5a | [
"Apache-2.0"
] | 1 | 2019-09-06T06:44:09.000Z | 2019-09-06T06:44:09.000Z | VERSION = '0.9.9'
DESCRIPTION = 'Automatically find diff lines that need test coverage.'
QUALITY_DESCRIPTION = 'Automatically find diff lines with quality violations.'
| 42 | 78 | 0.791667 | 22 | 168 | 6 | 0.681818 | 0.363636 | 0.424242 | 0.484848 | 0.560606 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020548 | 0.130952 | 168 | 3 | 79 | 56 | 0.883562 | 0 | 0 | 0 | 0 | 0 | 0.672619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
463ccfc0f165839f81f22d3d1cdfdff080d3185c | 129 | py | Python | lib/JumpScale/lib/kvm/__init__.py | Jumpscale/jumpscale6_core | 0502ddc1abab3c37ed982c142d21ea3955d471d3 | [
"BSD-2-Clause"
] | 1 | 2015-10-26T10:38:13.000Z | 2015-10-26T10:38:13.000Z | lib/JumpScale/lib/lxc/__init__.py | Jumpscale/jumpscale6_core | 0502ddc1abab3c37ed982c142d21ea3955d471d3 | [
"BSD-2-Clause"
] | null | null | null | lib/JumpScale/lib/lxc/__init__.py | Jumpscale/jumpscale6_core | 0502ddc1abab3c37ed982c142d21ea3955d471d3 | [
"BSD-2-Clause"
] | null | null | null | from JumpScale import j
j.base.loader.makeAvailable(j, 'system.platform.lxc')
from Lxc import Lxc
j.system.platform.lxc = Lxc()
| 21.5 | 53 | 0.767442 | 21 | 129 | 4.714286 | 0.47619 | 0.141414 | 0.30303 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108527 | 129 | 5 | 54 | 25.8 | 0.86087 | 0 | 0 | 0 | 0 | 0 | 0.148438 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
465fbffa75176a91eb68fe3edb85aa114e85befe | 36 | py | Python | lnwYod/__init__.py | attaporn/lnwYod | 0fc01a8f081f6f1c0b26e94dc212f4ccab62ebaf | [
"MIT"
] | null | null | null | lnwYod/__init__.py | attaporn/lnwYod | 0fc01a8f081f6f1c0b26e94dc212f4ccab62ebaf | [
"MIT"
] | null | null | null | lnwYod/__init__.py | attaporn/lnwYod | 0fc01a8f081f6f1c0b26e94dc212f4ccab62ebaf | [
"MIT"
] | null | null | null | from lnwYod.attaporn import Lnwyod
| 18 | 35 | 0.833333 | 5 | 36 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 36 | 1 | 36 | 36 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
468a62738c5d3c36ec7e9678c4e4311162cdfe94 | 101 | py | Python | gym_connect_four/envs/__init__.py | andreigann/gym-connect-four | be93dc621aa5c57063a4aac8733ddb30dfb858c6 | [
"MIT"
] | null | null | null | gym_connect_four/envs/__init__.py | andreigann/gym-connect-four | be93dc621aa5c57063a4aac8733ddb30dfb858c6 | [
"MIT"
] | 7 | 2020-09-25T20:35:50.000Z | 2022-02-10T00:28:02.000Z | gym_connect_four/envs/__init__.py | andreigann/gym-connect-four | be93dc621aa5c57063a4aac8733ddb30dfb858c6 | [
"MIT"
] | null | null | null | from gym_connect_four.envs.connect_four_env import ConnectFourEnv, Player, RandomPlayer, SavedPlayer
| 50.5 | 100 | 0.881188 | 13 | 101 | 6.538462 | 0.846154 | 0.258824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069307 | 101 | 1 | 101 | 101 | 0.904255 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d3bbcb8962e05ded4620c1f20f28bc4cd383d141 | 20,946 | py | Python | tests/grid/test_datasets.py | gordonwatts/desktop-rucio | eb62fa767587685166796e996cf96107c57c5df0 | [
"MIT"
] | null | null | null | tests/grid/test_datasets.py | gordonwatts/desktop-rucio | eb62fa767587685166796e996cf96107c57c5df0 | [
"MIT"
] | 7 | 2019-05-05T05:03:38.000Z | 2019-06-30T13:56:37.000Z | tests/grid/test_datasets.py | gordonwatts/desktop-rucio | eb62fa767587685166796e996cf96107c57c5df0 | [
"MIT"
] | null | null | null | # Test out everything with datasets.
from src.grid.datasets import dataset_mgr, DatasetQueryStatus
from src.grid.rucio import RucioException
from tests.grid.utils_for_tests import simple_dataset, dummy_logger
from time import sleep
import datetime
import os
import pytest
@pytest.fixture()
def rucio_2file_dataset(sim... | 41.232283 | 138 | 0.726201 | 2,957 | 20,946 | 4.798783 | 0.085898 | 0.061311 | 0.104228 | 0.03277 | 0.808739 | 0.783369 | 0.748908 | 0.732347 | 0.718393 | 0.694715 | 0 | 0.012413 | 0.200038 | 20,946 | 507 | 139 | 41.313609 | 0.834447 | 0.142987 | 0 | 0.600551 | 0 | 0.002755 | 0.063375 | 0 | 0 | 0 | 0 | 0 | 0.162534 | 1 | 0.15978 | false | 0 | 0.019284 | 0.013774 | 0.267218 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
311fa7dc6c935021d952f8838d795c9a322840e7 | 603 | py | Python | tests/test_utils.py | jovanzers/quart | 63b49d509f6461f79b43f956831d7c9831067a0b | [
"MIT"
] | 1,085 | 2017-11-12T10:56:50.000Z | 2022-03-31T15:14:26.000Z | tests/test_utils.py | jovanzers/quart | 63b49d509f6461f79b43f956831d7c9831067a0b | [
"MIT"
] | 139 | 2017-12-04T09:22:48.000Z | 2022-03-26T08:34:07.000Z | tests/test_utils.py | jovanzers/quart | 63b49d509f6461f79b43f956831d7c9831067a0b | [
"MIT"
] | 92 | 2017-12-08T09:55:02.000Z | 2022-03-29T20:45:44.000Z | from __future__ import annotations
from functools import partial
from werkzeug.datastructures import Headers
from quart.utils import decode_headers, encode_headers, is_coroutine_function
def test_is_coroutine_function() -> None:
async def async_func() -> None:
pass
assert is_coroutine_function(asy... | 25.125 | 77 | 0.728027 | 79 | 603 | 5.253165 | 0.329114 | 0.106024 | 0.183133 | 0.120482 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149254 | 603 | 23 | 78 | 26.217391 | 0.808967 | 0 | 0 | 0 | 0 | 0 | 0.039801 | 0 | 0 | 0 | 0 | 0 | 0.307692 | 1 | 0.230769 | true | 0.076923 | 0.307692 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
3155e91a2fc2d1674120541e308e20596b92f18c | 1,856 | py | Python | payrolls/migrations/0006_auto_20190815_1359.py | aaronmatei/Payroll-System-Django | 5605e6a152c56cd171c43dfd07ff0a99eea65b4d | [
"bzip2-1.0.6"
] | null | null | null | payrolls/migrations/0006_auto_20190815_1359.py | aaronmatei/Payroll-System-Django | 5605e6a152c56cd171c43dfd07ff0a99eea65b4d | [
"bzip2-1.0.6"
] | null | null | null | payrolls/migrations/0006_auto_20190815_1359.py | aaronmatei/Payroll-System-Django | 5605e6a152c56cd171c43dfd07ff0a99eea65b4d | [
"bzip2-1.0.6"
] | 2 | 2020-09-08T07:12:34.000Z | 2021-11-19T08:25:22.000Z | # Generated by Django 2.2.4 on 2019-08-15 10:59
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('payrolls', '0005_auto_20190815_0231'),
]
operations = [
migrations.AlterField(
model_name='employee',
name='basic_sa... | 26.898551 | 48 | 0.518319 | 147 | 1,856 | 6.394558 | 0.306122 | 0.234043 | 0.292553 | 0.339362 | 0.743617 | 0.743617 | 0.687234 | 0.687234 | 0.628723 | 0.369149 | 0 | 0.026383 | 0.366918 | 1,856 | 68 | 49 | 27.294118 | 0.773617 | 0.024246 | 0 | 0.709677 | 1 | 0 | 0.135434 | 0.012714 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016129 | 0 | 0.064516 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 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 | 6 |
315d957ec9142eb894f6d4abf882eb9509e0d60c | 35,118 | py | Python | test/test_admin.py | Noschvie/roundup | 996377ed0d12c69a01c7565dc5f47d6fb0ccaf19 | [
"MIT"
] | null | null | null | test/test_admin.py | Noschvie/roundup | 996377ed0d12c69a01c7565dc5f47d6fb0ccaf19 | [
"MIT"
] | null | null | null | test/test_admin.py | Noschvie/roundup | 996377ed0d12c69a01c7565dc5f47d6fb0ccaf19 | [
"MIT"
] | null | null | null | #
# Copyright (C) 2007 Stefan Seefeld
# All rights reserved.
# For license terms see the file COPYING.txt.
#
from __future__ import print_function
import unittest, os, shutil, errno, sys, difflib, cgi, re
from roundup.admin import AdminTool
from . import db_test_base
from .test_mysql import skip_mysql
from .test_pos... | 34.062076 | 99 | 0.541517 | 3,974 | 35,118 | 4.749371 | 0.102919 | 0.056268 | 0.034969 | 0.038148 | 0.766398 | 0.757232 | 0.743722 | 0.735085 | 0.727562 | 0.706686 | 0 | 0.0079 | 0.325958 | 35,118 | 1,030 | 100 | 34.095146 | 0.789447 | 0.151375 | 0 | 0.722802 | 0 | 0 | 0.137186 | 0.025548 | 0 | 0 | 0 | 0.000971 | 0.132638 | 1 | 0.025335 | false | 0.004471 | 0.032787 | 0 | 0.073025 | 0.089419 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
318e34e7ded1ca0487f28bb6a7ec910ca4078c63 | 23 | py | Python | lib/backbone/HSMNet/__init__.py | wx-b/SMD-Nets | 8d2ef162539e5b0becc7a43a89b54431b06d3f34 | [
"MIT"
] | 91 | 2021-04-01T07:50:41.000Z | 2022-03-30T02:50:42.000Z | lib/backbone/HSMNet/__init__.py | wx-b/SMD-Nets | 8d2ef162539e5b0becc7a43a89b54431b06d3f34 | [
"MIT"
] | 12 | 2021-05-12T07:56:33.000Z | 2022-03-25T19:56:38.000Z | lib/backbone/HSMNet/__init__.py | wx-b/SMD-Nets | 8d2ef162539e5b0becc7a43a89b54431b06d3f34 | [
"MIT"
] | 25 | 2021-04-09T02:43:59.000Z | 2022-03-26T05:27:24.000Z | from .hsm import HSMNet | 23 | 23 | 0.826087 | 4 | 23 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
31ee1f11debd840efaa8dea8c5f55f7269829510 | 1,522 | py | Python | tests/wavefunction/orbitals/test_norm.py | NLESC-JCER/QMCTorch | c56472cd3e9cc59f2e01a880e674b7270d2cdc2b | [
"Apache-2.0"
] | 16 | 2020-06-26T17:43:38.000Z | 2022-03-03T14:16:02.000Z | tests/wavefunction/orbitals/test_norm.py | NLESC-JCER/QMCTorch | c56472cd3e9cc59f2e01a880e674b7270d2cdc2b | [
"Apache-2.0"
] | 57 | 2020-05-01T07:13:49.000Z | 2021-07-13T19:51:55.000Z | tests/wavefunction/orbitals/test_norm.py | NLESC-JCER/QMCTorch | c56472cd3e9cc59f2e01a880e674b7270d2cdc2b | [
"Apache-2.0"
] | 3 | 2020-07-30T09:56:04.000Z | 2021-08-12T02:55:45.000Z | import unittest
import torch
import numpy as np
from types import SimpleNamespace
from qmctorch.wavefunction.orbitals.norm_orbital import atomic_orbital_norm
class TestAtomicOrbitalNorm(unittest.TestCase):
def test_sph_sto(self):
basis = SimpleNamespace()
basis.harmonics_type = 'sph'
bas... | 27.672727 | 75 | 0.607753 | 218 | 1,522 | 4.045872 | 0.206422 | 0.126984 | 0.072562 | 0.061224 | 0.783447 | 0.783447 | 0.769841 | 0.739229 | 0.739229 | 0.739229 | 0 | 0.037634 | 0.266754 | 1,522 | 54 | 76 | 28.185185 | 0.752688 | 0 | 0 | 0.75 | 0 | 0 | 0.017083 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.125 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
73097c71c96bb6728829c676c0843dc0d4f2d197 | 38 | py | Python | web_parsers/manifest/__init__.py | invanalabs/web-parser | dca9c6354317ec7187f46fd270092372b39f63f8 | [
"Apache-2.0"
] | 1 | 2019-10-06T23:11:32.000Z | 2019-10-06T23:11:32.000Z | web_parsers/manifest/__init__.py | crawlerflow/extraction-engine | dca9c6354317ec7187f46fd270092372b39f63f8 | [
"Apache-2.0"
] | 2 | 2020-03-11T09:33:03.000Z | 2020-03-18T21:12:28.000Z | web_parsers/manifest/__init__.py | crawlerflow/extraction-engine | dca9c6354317ec7187f46fd270092372b39f63f8 | [
"Apache-2.0"
] | null | null | null | from .common import WebParserManifest
| 19 | 37 | 0.868421 | 4 | 38 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.970588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7349558881490f705f52794a0dbba240d22dea70 | 830 | py | Python | 1-mouth01/day07/exe098.py | gary-gggggg/gary | d8ba30ea4bc2b662a2d6a87d247f813e5680d63e | [
"Apache-2.0"
] | 4 | 2021-02-01T10:28:11.000Z | 2021-02-01T10:34:40.000Z | 1-mouth01/day07/exe098.py | gary-gggggg/gary | d8ba30ea4bc2b662a2d6a87d247f813e5680d63e | [
"Apache-2.0"
] | null | null | null | 1-mouth01/day07/exe098.py | gary-gggggg/gary | d8ba30ea4bc2b662a2d6a87d247f813e5680d63e | [
"Apache-2.0"
] | null | null | null | """商品字典dict_commodity_infos = {1001: {"name": "屠龙刀",\
"price": 10000}, 1002: {"name": "倚天剑", "price": 10000}, \
1003: {"name": "金箍棒", "price": 52100}, \
1004: {"name": "口罩", "price": 20}, \
1005: {"name": "酒精", "price": 30}, }# \
订单列表list_orders = [{"cid": 1001, "count": 1}, \
{"cid": 1002, "count": 3}, {"cid": 1... | 39.52381 | 58 | 0.539759 | 115 | 830 | 3.834783 | 0.373913 | 0.090703 | 0.081633 | 0.099773 | 0.707483 | 0.707483 | 0.707483 | 0.707483 | 0.707483 | 0.707483 | 0 | 0.160969 | 0.154217 | 830 | 20 | 59 | 41.5 | 0.467236 | 0.495181 | 0 | 0 | 0 | 0 | 0.289673 | 0.083123 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 6 |
7dfc744c0aadfe4abe00325f9c9ac8169db552c1 | 67 | py | Python | tests/test_runner.py | uuosio/python-contract-demos | 7d56ba371f2115b0ab895fca3e71092c2523f25d | [
"MIT"
] | 2 | 2020-12-08T13:15:06.000Z | 2020-12-29T10:06:44.000Z | tests/test_runner.py | uuosio/python-contract-demos | 7d56ba371f2115b0ab895fca3e71092c2523f25d | [
"MIT"
] | null | null | null | tests/test_runner.py | uuosio/python-contract-demos | 7d56ba371f2115b0ab895fca3e71092c2523f25d | [
"MIT"
] | null | null | null | import sys
from uuoskit import test_helper
test_helper.run_test()
| 13.4 | 31 | 0.835821 | 11 | 67 | 4.818182 | 0.636364 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 67 | 4 | 32 | 16.75 | 0.898305 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b439d703d73e42b8eab71264418cc69432e989ba | 245 | py | Python | TelegramBot/client/exceptions.py | kolyasalubov/ProjectShop | 41a62d27276542bf65aab51663220ffe88858024 | [
"MIT"
] | 3 | 2021-08-30T09:15:52.000Z | 2022-03-24T14:40:11.000Z | TelegramBot/client/exceptions.py | kolyasalubov/ProjectShop | 41a62d27276542bf65aab51663220ffe88858024 | [
"MIT"
] | 150 | 2021-08-30T12:37:17.000Z | 2021-11-17T07:09:19.000Z | TelegramBot/client/exceptions.py | kolyasalubov/ProjectShop | 41a62d27276542bf65aab51663220ffe88858024 | [
"MIT"
] | null | null | null | from requests import HTTPError
class ClientError(HTTPError):
"""
Error for all responses with status code 4xx.
"""
pass
class ServerError(HTTPError):
"""
Error for all responses with status coe 5xx
"""
pass
| 13.611111 | 49 | 0.644898 | 28 | 245 | 5.642857 | 0.642857 | 0.177215 | 0.21519 | 0.253165 | 0.493671 | 0.493671 | 0.493671 | 0 | 0 | 0 | 0 | 0.011299 | 0.277551 | 245 | 17 | 50 | 14.411765 | 0.881356 | 0.363265 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
b44b3aac8aa2f9124ce6a901fe66673b02a1258c | 41,564 | py | Python | pybind/slxos/v16r_1_00b/interface/ethernet/ipv6/interface_ospfv3_conf/authentication/ipsec_auth_key_config/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/interface/ethernet/ipv6/interface_ospfv3_conf/authentication/ipsec_auth_key_config/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/interface/ethernet/ipv6/interface_ospfv3_conf/authentication/ipsec_auth_key_config/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 87.687764 | 732 | 0.722091 | 5,916 | 41,564 | 4.852603 | 0.039723 | 0.029783 | 0.023408 | 0.019507 | 0.922704 | 0.902849 | 0.889438 | 0.882193 | 0.8692 | 0.860945 | 0 | 0.008732 | 0.134828 | 41,564 | 473 | 733 | 87.87315 | 0.7896 | 0.178376 | 0 | 0.475836 | 0 | 0.037175 | 0.425663 | 0.184362 | 0 | 0 | 0 | 0 | 0 | 1 | 0.122677 | false | 0 | 0.02974 | 0 | 0.271375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
81f52e3bfa631c804888a9d9932b81592422b6e8 | 25 | py | Python | models/__init__.py | zyn1030z/owl_tree_view | 787dbb926815dc529c40695d52d67eea24c0b705 | [
"MIT"
] | 3 | 2021-09-22T07:39:29.000Z | 2021-12-16T09:10:45.000Z | models/__init__.py | zyn1030z/owl_tree_view | 787dbb926815dc529c40695d52d67eea24c0b705 | [
"MIT"
] | 1 | 2021-11-11T11:50:49.000Z | 2021-11-12T08:35:47.000Z | models/__init__.py | zyn1030z/owl_tree_view | 787dbb926815dc529c40695d52d67eea24c0b705 | [
"MIT"
] | 2 | 2021-11-04T03:10:45.000Z | 2021-11-30T21:58:25.000Z | from . import ir_ui_view
| 12.5 | 24 | 0.8 | 5 | 25 | 3.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c307232281c79b7e2032d265d22beb34ae0aa1b8 | 151 | py | Python | rta/cv/__init__.py | MatteoLacki/rta | 93944d6fc934126e0bb4d076c8b4213cadbe49a1 | [
"BSD-2-Clause"
] | 1 | 2018-05-31T14:31:18.000Z | 2018-05-31T14:31:18.000Z | rta/cv/__init__.py | MatteoLacki/rta | 93944d6fc934126e0bb4d076c8b4213cadbe49a1 | [
"BSD-2-Clause"
] | null | null | null | rta/cv/__init__.py | MatteoLacki/rta | 93944d6fc934126e0bb4d076c8b4213cadbe49a1 | [
"BSD-2-Clause"
] | null | null | null | """The preprocessing submodule.
Tools for preprocessing data.
"""
from .grouped_k_folds import grouped_K_folds
from .filters import filter_K_foldable | 21.571429 | 44 | 0.821192 | 21 | 151 | 5.619048 | 0.666667 | 0.135593 | 0.220339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112583 | 151 | 7 | 45 | 21.571429 | 0.880597 | 0.390728 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c345c317fad3c228bee55ebb0b1c58eceefe0ce4 | 7,775 | py | Python | demo_v1.py | kmautonsys/bayesSIR | 638b21eb03831ede421816d17368ed6d28aed492 | [
"BSD-3-Clause"
] | 2 | 2020-04-06T18:09:16.000Z | 2020-04-30T19:34:34.000Z | demo_v1.py | kmautonsys/bayesSIR | 638b21eb03831ede421816d17368ed6d28aed492 | [
"BSD-3-Clause"
] | null | null | null | demo_v1.py | kmautonsys/bayesSIR | 638b21eb03831ede421816d17368ed6d28aed492 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
import pystan
import numpy as np
import json
import requests
import pandas as pd
import matplotlib.pyplot as plt
config = []
r=requests.get("https://covidtracking.com/api/states/daily")
state_data = pd.DataFrame(r.json())
def load_config(file,data):
"""
This loads a config file for a ... | 44.683908 | 199 | 0.642444 | 1,089 | 7,775 | 4.51607 | 0.195592 | 0.03477 | 0.03355 | 0.03416 | 0.818625 | 0.797682 | 0.762708 | 0.762708 | 0.742375 | 0.742375 | 0 | 0.020174 | 0.17119 | 7,775 | 173 | 200 | 44.942197 | 0.743017 | 0.556013 | 0 | 0 | 0 | 0 | 0.1538 | 0.007238 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034483 | false | 0 | 0.103448 | 0 | 0.155172 | 0.051724 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c34d99a0bdf22d14f9460e931b87649357237ea2 | 22 | py | Python | access_token_service/__init__.py | HumanBrainProject/jupyterhub-access-token-service | 6da05ce0ecaab57c23a30806e773bdacbcbe8a30 | [
"Apache-2.0"
] | null | null | null | access_token_service/__init__.py | HumanBrainProject/jupyterhub-access-token-service | 6da05ce0ecaab57c23a30806e773bdacbcbe8a30 | [
"Apache-2.0"
] | null | null | null | access_token_service/__init__.py | HumanBrainProject/jupyterhub-access-token-service | 6da05ce0ecaab57c23a30806e773bdacbcbe8a30 | [
"Apache-2.0"
] | null | null | null | from .ats import main
| 11 | 21 | 0.772727 | 4 | 22 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c35b93bd85c3f2c046c395cca65e59b91375e333 | 21,613 | py | Python | docker-images/taigav2/taiga-back/tests/integration/resources_permissions/test_epics_custom_attributes_resource.py | mattcongy/itshop | 6be025a9eaa7fe7f495b5777d1f0e5a3184121c9 | [
"MIT"
] | 1 | 2017-05-29T19:01:06.000Z | 2017-05-29T19:01:06.000Z | docker-images/taigav2/taiga-back/tests/integration/resources_permissions/test_epics_custom_attributes_resource.py | mattcongy/itshop | 6be025a9eaa7fe7f495b5777d1f0e5a3184121c9 | [
"MIT"
] | null | null | null | docker-images/taigav2/taiga-back/tests/integration/resources_permissions/test_epics_custom_attributes_resource.py | mattcongy/itshop | 6be025a9eaa7fe7f495b5777d1f0e5a3184121c9 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (C) 2014-2016 Andrey Antukh <niwi@niwi.nz>
# Copyright (C) 2014-2016 Jesús Espino <jespinog@gmail.com>
# Copyright (C) 2014-2016 David Barragán <bameda@dbarragan.com>
# Copyright (C) 2014-2016 Alejandro Alonso <alejandro.alonso@kaleidos.net>
# This program is free software: you can r... | 47.087146 | 113 | 0.655208 | 2,652 | 21,613 | 5.063348 | 0.080317 | 0.023235 | 0.064045 | 0.055109 | 0.879133 | 0.849568 | 0.79714 | 0.768097 | 0.7605 | 0.693327 | 0 | 0.041746 | 0.225281 | 21,613 | 458 | 114 | 47.189956 | 0.760213 | 0.043585 | 0 | 0.629944 | 0 | 0 | 0.090143 | 0.057729 | 0 | 0 | 0 | 0 | 0.129944 | 1 | 0.031073 | false | 0 | 0.022599 | 0 | 0.056497 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c3627cbdd37682cff7a59616869916d942dc1c7f | 156 | py | Python | komorebi/__init__.py | alvations/komorebi | ba9617cb0c89f8f038ac2a80bcdbc4c450d0a3dd | [
"MIT"
] | null | null | null | komorebi/__init__.py | alvations/komorebi | ba9617cb0c89f8f038ac2a80bcdbc4c450d0a3dd | [
"MIT"
] | 2 | 2018-06-12T08:45:16.000Z | 2018-06-13T08:39:53.000Z | komorebi/__init__.py | alvations/komorebi | ba9617cb0c89f8f038ac2a80bcdbc4c450d0a3dd | [
"MIT"
] | 2 | 2018-06-13T06:06:06.000Z | 2020-02-08T04:16:05.000Z | # -*- coding: utf-8 -*-
from komorebi.text import TextData
from komorebi.parallel import ParallelData
from komorebi.torch_datasets import ParallelDataset
| 22.285714 | 51 | 0.801282 | 19 | 156 | 6.526316 | 0.684211 | 0.290323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007299 | 0.121795 | 156 | 6 | 52 | 26 | 0.89781 | 0.134615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6f06c9ced4fc97724343d3596b8685500f9fbd9f | 124 | py | Python | python/ql/test/query-tests/Imports/PyCheckerTests/pkg_ok/__init__.py | vadi2/codeql | a806a4f08696d241ab295a286999251b56a6860c | [
"MIT"
] | 4,036 | 2020-04-29T00:09:57.000Z | 2022-03-31T14:16:38.000Z | python/ql/test/query-tests/Imports/PyCheckerTests/pkg_ok/__init__.py | vadi2/codeql | a806a4f08696d241ab295a286999251b56a6860c | [
"MIT"
] | 2,970 | 2020-04-28T17:24:18.000Z | 2022-03-31T22:40:46.000Z | python/ql/test/query-tests/Imports/PyCheckerTests/pkg_ok/__init__.py | ScriptBox99/github-codeql | 2ecf0d3264db8fb4904b2056964da469372a235c | [
"MIT"
] | 794 | 2020-04-29T00:28:25.000Z | 2022-03-30T08:21:46.000Z | import pkg_ok.foo1 as foo1
from pkg_ok import foo2
from pkg_ok.foo3 import Foo3
from . import foo4
from .foo5 import Foo5
| 15.5 | 28 | 0.790323 | 24 | 124 | 3.958333 | 0.416667 | 0.157895 | 0.189474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 0.177419 | 124 | 7 | 29 | 17.714286 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6f1ff2f5d5b0320134dbaed8d99f478e6712f04c | 13,342 | py | Python | tests/steps/test_field.py | areleu/frictionless-py | d62ccf6efbe23020956d35ce396b3cef9af18d42 | [
"MIT"
] | null | null | null | tests/steps/test_field.py | areleu/frictionless-py | d62ccf6efbe23020956d35ce396b3cef9af18d42 | [
"MIT"
] | null | null | null | tests/steps/test_field.py | areleu/frictionless-py | d62ccf6efbe23020956d35ce396b3cef9af18d42 | [
"MIT"
] | null | null | null | from frictionless import Resource, transform, steps
# Add
def test_step_field_add():
source = Resource(path="data/transform.csv")
target = transform(
source,
steps=[
steps.field_add(name="note", type="string", value="eu"),
],
)
assert target.schema == {
"f... | 29.78125 | 87 | 0.473018 | 1,305 | 13,342 | 4.735632 | 0.072797 | 0.069903 | 0.053398 | 0.069903 | 0.876375 | 0.842718 | 0.790291 | 0.767152 | 0.734304 | 0.70712 | 0 | 0.027685 | 0.306926 | 13,342 | 447 | 88 | 29.847875 | 0.64064 | 0.003673 | 0 | 0.563307 | 0 | 0 | 0.245559 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 1 | 0.046512 | false | 0 | 0.002584 | 0 | 0.049096 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6f2dabc96e4906639c416de8dbcc00a6d02c964e | 95 | py | Python | m3u8dl/__init__.py | OliverVermeulen/m3u8-dl | 16d9b43ea2eeb9ee113acad2540d74c4ae92f496 | [
"MIT"
] | 46 | 2020-06-20T19:33:01.000Z | 2022-03-22T03:24:41.000Z | m3u8dl/__init__.py | OliverVermeulen/m3u8-dl | 16d9b43ea2eeb9ee113acad2540d74c4ae92f496 | [
"MIT"
] | 38 | 2020-07-18T19:34:00.000Z | 2021-11-23T12:05:38.000Z | m3u8dl/__init__.py | OliverVermeulen/m3u8-dl | 16d9b43ea2eeb9ee113acad2540d74c4ae92f496 | [
"MIT"
] | 22 | 2020-06-13T21:52:33.000Z | 2022-03-06T11:44:42.000Z | """Module starts the m3u8 program."""
from .core.m3u8dl import main
def start():
main()
| 11.875 | 37 | 0.652632 | 13 | 95 | 4.769231 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.2 | 95 | 7 | 38 | 13.571429 | 0.763158 | 0.326316 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6f457d869ce1dcc72e026b5610d872719de1d604 | 5,280 | py | Python | dfirtrack_api/tests/dfirtrack_main/company/test_company_api_views.py | cclauss/dfirtrack | 2a307c5fe82e927b3c229a20a02bc0c7a5d66d9a | [
"Apache-2.0"
] | null | null | null | dfirtrack_api/tests/dfirtrack_main/company/test_company_api_views.py | cclauss/dfirtrack | 2a307c5fe82e927b3c229a20a02bc0c7a5d66d9a | [
"Apache-2.0"
] | null | null | null | dfirtrack_api/tests/dfirtrack_main/company/test_company_api_views.py | cclauss/dfirtrack | 2a307c5fe82e927b3c229a20a02bc0c7a5d66d9a | [
"Apache-2.0"
] | null | null | null | import urllib.parse
from django.contrib.auth.models import User
from django.test import TestCase
from dfirtrack_main.models import Company, Division
class CompanyAPIViewTestCase(TestCase):
""" company API view tests """
@classmethod
def setUpTestData(cls):
# create object
Division.obje... | 37.446809 | 105 | 0.656061 | 592 | 5,280 | 5.608108 | 0.138514 | 0.084337 | 0.059639 | 0.059639 | 0.84488 | 0.826205 | 0.780422 | 0.763554 | 0.67741 | 0.629819 | 0 | 0.019802 | 0.234848 | 5,280 | 140 | 106 | 37.714286 | 0.80198 | 0.14072 | 0 | 0.415385 | 0 | 0 | 0.155546 | 0 | 0 | 0 | 0 | 0 | 0.138462 | 1 | 0.153846 | false | 0.123077 | 0.061538 | 0 | 0.230769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
6f4c0bd65073bc1b8bfc793ed654204db8b97d92 | 35 | py | Python | test/login.py | zedjax/test | 500a7b66f7ef3d5d2dace90342cd10135bc3b7e5 | [
"MIT"
] | null | null | null | test/login.py | zedjax/test | 500a7b66f7ef3d5d2dace90342cd10135bc3b7e5 | [
"MIT"
] | null | null | null | test/login.py | zedjax/test | 500a7b66f7ef3d5d2dace90342cd10135bc3b7e5 | [
"MIT"
] | null | null | null | a = 1
b = 2
c = a + b
d = '668'
| 4.375 | 9 | 0.314286 | 9 | 35 | 1.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 0.485714 | 35 | 7 | 10 | 5 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
489ea1d7c8fa654522ed9a8b784c2879f6325817 | 8,484 | py | Python | intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/sensu/sensu_go/tests/unit/modules/test_datastore.py | Stienvdh/statrick | 7b092fc42171e226718a70a285a4b323f2f395ad | [
"MIT"
] | null | null | null | intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/sensu/sensu_go/tests/unit/modules/test_datastore.py | Stienvdh/statrick | 7b092fc42171e226718a70a285a4b323f2f395ad | [
"MIT"
] | null | null | null | intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/sensu/sensu_go/tests/unit/modules/test_datastore.py | Stienvdh/statrick | 7b092fc42171e226718a70a285a4b323f2f395ad | [
"MIT"
] | null | null | null | from __future__ import absolute_import, division, print_function
__metaclass__ = type
import pytest
from ansible_collections.sensu.sensu_go.plugins.module_utils import (
errors, http,
)
from ansible_collections.sensu.sensu_go.plugins.modules import datastore
from .common.utils import (
AnsibleExitJson, Ansi... | 32.136364 | 82 | 0.576497 | 896 | 8,484 | 5.252232 | 0.122768 | 0.050999 | 0.056524 | 0.051424 | 0.891415 | 0.873778 | 0.834467 | 0.79983 | 0.778368 | 0.768168 | 0 | 0.012769 | 0.28925 | 8,484 | 263 | 83 | 32.258555 | 0.767662 | 0 | 0 | 0.652582 | 0 | 0 | 0.120344 | 0.028642 | 0 | 0 | 0 | 0 | 0.201878 | 1 | 0.070423 | false | 0 | 0.023474 | 0 | 0.103286 | 0.004695 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
48a03431d2911d22cbd996d83abbfe3ae03b7724 | 80 | py | Python | nes/bus/devices/apu/sq2_lo.py | Hexadorsimal/pynes | dbb3d40c1240fa27f70fa798bcec09188755eec2 | [
"MIT"
] | 1 | 2017-05-13T18:57:09.000Z | 2017-05-13T18:57:09.000Z | nes/bus/devices/apu/sq2_lo.py | Hexadorsimal/py6502 | dbb3d40c1240fa27f70fa798bcec09188755eec2 | [
"MIT"
] | 7 | 2020-10-24T17:16:56.000Z | 2020-11-01T14:10:23.000Z | nes/bus/devices/apu/sq2_lo.py | Hexadorsimal/pynes | dbb3d40c1240fa27f70fa798bcec09188755eec2 | [
"MIT"
] | null | null | null | from nes.processors.registers import Register
class Sq2Lo(Register):
pass
| 13.333333 | 45 | 0.775 | 10 | 80 | 6.2 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.1625 | 80 | 5 | 46 | 16 | 0.910448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
48a7834ccb8e3ca4aba0878cc3df94e60db56b34 | 2,436 | py | Python | tensorplane/core/lib/attrs.py | jyhanna/tensorplane | ac2679cec18ccb3f5b1ba353e7e53e669e115c3f | [
"BSD-3-Clause"
] | 1 | 2020-05-06T18:12:35.000Z | 2020-05-06T18:12:35.000Z | tensorplane/core/lib/attrs.py | jyhanna/tensorplane | ac2679cec18ccb3f5b1ba353e7e53e669e115c3f | [
"BSD-3-Clause"
] | null | null | null | tensorplane/core/lib/attrs.py | jyhanna/tensorplane | ac2679cec18ccb3f5b1ba353e7e53e669e115c3f | [
"BSD-3-Clause"
] | null | null | null | import sys
class NullAssignment(object):
"""
"""
def __init__(self):
raise Exception('Cannot initialize null assignment, use type as flag.')
def _UndefinedAttribute(x):
return AttributeError('Attempted to access undefined dataset attribute {}'.format(x))
class UndefinedAttribute(object):
"""
"""
def __in... | 22.145455 | 86 | 0.747947 | 288 | 2,436 | 5.677083 | 0.229167 | 0.165138 | 0.478899 | 0.567584 | 0.73211 | 0.710703 | 0.710703 | 0.119878 | 0 | 0 | 0 | 0 | 0.137931 | 2,436 | 109 | 87 | 22.348624 | 0.778571 | 0 | 0 | 0.414286 | 0 | 0 | 0.044628 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.457143 | false | 0 | 0.014286 | 0.014286 | 0.528571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
48ef1378fbe74c9b26b5e5d01951ce3bf0893c95 | 38,045 | py | Python | greykite/tests/framework/templates/test_silverkite_multistage_template.py | kenzie-q/greykite | 9fb670b5325dd252759a490b31aa4d9494fdd68b | [
"BSD-2-Clause"
] | 1,503 | 2021-05-13T02:43:42.000Z | 2022-03-28T22:48:34.000Z | greykite/tests/framework/templates/test_silverkite_multistage_template.py | kenzie-q/greykite | 9fb670b5325dd252759a490b31aa4d9494fdd68b | [
"BSD-2-Clause"
] | 59 | 2021-05-15T07:23:18.000Z | 2022-03-31T18:52:00.000Z | greykite/tests/framework/templates/test_silverkite_multistage_template.py | kenzie-q/greykite | 9fb670b5325dd252759a490b31aa4d9494fdd68b | [
"BSD-2-Clause"
] | 67 | 2021-05-13T02:44:04.000Z | 2022-03-25T04:08:12.000Z | import datetime
import numpy as np
import pytest
from testfixtures import LogCapture
from greykite.common.constants import LOGGER_NAME
from greykite.common.constants import PREDICTED_COL
from greykite.common.constants import PREDICTED_LOWER_COL
from greykite.common.constants import PREDICTED_UPPER_COL
from greykite.c... | 43.931871 | 132 | 0.645104 | 3,866 | 38,045 | 5.960942 | 0.078376 | 0.048601 | 0.041007 | 0.030202 | 0.824474 | 0.784378 | 0.754914 | 0.735995 | 0.706791 | 0.695596 | 0 | 0.013787 | 0.26219 | 38,045 | 865 | 133 | 43.982659 | 0.807196 | 0.07273 | 0 | 0.615797 | 0 | 0 | 0.236188 | 0.13251 | 0 | 0 | 0 | 0 | 0.097724 | 1 | 0.026774 | false | 0 | 0.029451 | 0 | 0.060241 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
48f29fca4dd3704e67362a86a0ff19caa204fa8e | 57 | py | Python | Pi/Python_Code/1_helloworld.py | erickmusembi/Robot-Project | ed22b342fae2fb7f89f9e933f6052ae3cdc0c982 | [
"MIT"
] | 1 | 2016-07-26T05:58:26.000Z | 2016-07-26T05:58:26.000Z | Pi/Python_Code/1_helloworld.py | erickmusembi/Robot-Project | ed22b342fae2fb7f89f9e933f6052ae3cdc0c982 | [
"MIT"
] | null | null | null | Pi/Python_Code/1_helloworld.py | erickmusembi/Robot-Project | ed22b342fae2fb7f89f9e933f6052ae3cdc0c982 | [
"MIT"
] | null | null | null | #!/usr/bin/python
#Print Hello world
print "Hello World!" | 19 | 20 | 0.736842 | 9 | 57 | 4.666667 | 0.666667 | 0.47619 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 57 | 3 | 20 | 19 | 0.823529 | 0.578947 | 0 | 0 | 0 | 0 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
5b0be51a21049576f99818d53b6ebdcbb0dcc832 | 6,584 | py | Python | tests/test_mmotifs.py | SaVoAMP/stumpy | d63963caaf6a8b64448953f638c1d3345e05a36a | [
"BSD-3-Clause"
] | null | null | null | tests/test_mmotifs.py | SaVoAMP/stumpy | d63963caaf6a8b64448953f638c1d3345e05a36a | [
"BSD-3-Clause"
] | null | null | null | tests/test_mmotifs.py | SaVoAMP/stumpy | d63963caaf6a8b64448953f638c1d3345e05a36a | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
import numpy.testing as npt
import naive
import pytest
from stumpy import config, mmotifs
test_data = [
np.array(
[
[5.2, 0.1, 3.5, 3.4, 7.1, 9.8, 3.7, 5.0, 2.1, 4.3, 7.5, 6.8, 8.0, 8.1, 1.2],
[
7.3,
3.2,
5.0,
... | 32.433498 | 88 | 0.636239 | 992 | 6,584 | 3.878024 | 0.087702 | 0.049129 | 0.062386 | 0.124773 | 0.883026 | 0.881726 | 0.875227 | 0.842215 | 0.842215 | 0.830777 | 0 | 0.101566 | 0.243317 | 6,584 | 202 | 89 | 32.594059 | 0.670614 | 0 | 0 | 0.633136 | 0 | 0 | 0.000911 | 0 | 0 | 0 | 0 | 0 | 0.142012 | 1 | 0.035503 | false | 0 | 0.029586 | 0 | 0.065089 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5b11294169a2545ace4b590947a477913a992f6b | 238 | py | Python | loss/loss_functions.py | vishalmanes109/nn-from-scratch | 53de76f39dfea3f625ec542536f0ab3bc44d0224 | [
"MIT"
] | 2 | 2020-10-09T05:50:14.000Z | 2021-04-10T08:52:03.000Z | loss/loss_functions.py | vishalmanes109/nn-from-scratch | 53de76f39dfea3f625ec542536f0ab3bc44d0224 | [
"MIT"
] | null | null | null | loss/loss_functions.py | vishalmanes109/nn-from-scratch | 53de76f39dfea3f625ec542536f0ab3bc44d0224 | [
"MIT"
] | null | null | null | import numpy as np
def MSE(y, yhat):
return np.mean(np.power(y-yhat, 2))
def dMSE(y, yhat):
return 2*(yhat-y)/y.size
def MAE(y, yhat):
return np.sum(np.abs(y-yhat))
def dMAE(y, yhat):
return 1 if y == yhat else -1
| 13.222222 | 39 | 0.60084 | 48 | 238 | 2.979167 | 0.4375 | 0.244755 | 0.307692 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021858 | 0.231092 | 238 | 17 | 40 | 14 | 0.759563 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0.111111 | 0.444444 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d2a6ab70e363fde2950efb4452d60062fc79d8a3 | 103 | py | Python | odf/web/__main__.py | steven-hh-ding/OD1NF1ST | 730d8690d745f80dcda6deb27a424b5254243de8 | [
"Apache-2.0"
] | null | null | null | odf/web/__main__.py | steven-hh-ding/OD1NF1ST | 730d8690d745f80dcda6deb27a424b5254243de8 | [
"Apache-2.0"
] | 1 | 2021-11-16T20:18:58.000Z | 2021-11-16T20:18:58.000Z | odf/web/__main__.py | steven-hh-ding/OD1NF1ST | 730d8690d745f80dcda6deb27a424b5254243de8 | [
"Apache-2.0"
] | 1 | 2021-11-16T00:42:48.000Z | 2021-11-16T00:42:48.000Z | from odf.web import start_integrated_server
if __name__ == '__main__':
start_integrated_server()
| 17.166667 | 43 | 0.776699 | 13 | 103 | 5.230769 | 0.769231 | 0.441176 | 0.617647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145631 | 103 | 5 | 44 | 20.6 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0.07767 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d2b917b10d6195448d81c6382d50ca4fa26c03d7 | 65,070 | py | Python | crnet_small.py | crwsr124/GANsNRoses | 9f1a5455a3d448a9b25538bc32e878cb96be0933 | [
"MIT"
] | null | null | null | crnet_small.py | crwsr124/GANsNRoses | 9f1a5455a3d448a9b25538bc32e878cb96be0933 | [
"MIT"
] | null | null | null | crnet_small.py | crwsr124/GANsNRoses | 9f1a5455a3d448a9b25538bc32e878cb96be0933 | [
"MIT"
] | null | null | null | from math import factorial
import torch
import torch.nn as nn
from torch.nn.modules.padding import ReflectionPad2d
from torch.nn.modules.pooling import FractionalMaxPool2d
from torch.nn.parameter import Parameter
import math
class PixelNorm(nn.Module):
def __init__(self, num_channels=None):
super().__init... | 33.785047 | 155 | 0.563685 | 8,656 | 65,070 | 4.066543 | 0.049561 | 0.030426 | 0.014716 | 0.014489 | 0.803466 | 0.778551 | 0.75429 | 0.729602 | 0.705057 | 0.68983 | 0 | 0.052129 | 0.302782 | 65,070 | 1,925 | 156 | 33.802597 | 0.723748 | 0.166728 | 0 | 0.624801 | 0 | 0.002385 | 0.01011 | 0.00614 | 0 | 0 | 0 | 0 | 0.00159 | 1 | 0.062798 | false | 0 | 0.011129 | 0.003975 | 0.13434 | 0.004769 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
825aca8e583c9bcbe44869830072404ec776c882 | 96 | py | Python | venv/lib/python3.8/site-packages/pyparsing/actions.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pyparsing/actions.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pyparsing/actions.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/eb/4b/fb/9844ce073734d583c7fea403e62b1abe071226901f20aa73823337bda5 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
82c31af5ccaf5c359c9f4a8f94fe27e875855cf3 | 15,571 | py | Python | pyronear/models/resnet.py | jmaguiar/PyroNear | 33b045a2cb392787ac00ccca8afbe5b63e62380c | [
"MIT"
] | null | null | null | pyronear/models/resnet.py | jmaguiar/PyroNear | 33b045a2cb392787ac00ccca8afbe5b63e62380c | [
"MIT"
] | null | null | null | pyronear/models/resnet.py | jmaguiar/PyroNear | 33b045a2cb392787ac00ccca8afbe5b63e62380c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from torchvision.models.resnet import BasicBlock, Bottleneck, ResNet, model_urls as imagenet_urls
from torchvision.models.utils import load_state_dict_from_url
from .utils import cnn_model
__all__ = ['resnet18', 'resnet34', 'resnet50', 'resnet101',
'resnet152', 'resnext50_32x4d', '... | 61.062745 | 119 | 0.707919 | 2,002 | 15,571 | 5.374625 | 0.098901 | 0.050186 | 0.075279 | 0.04684 | 0.87816 | 0.876301 | 0.871283 | 0.865892 | 0.862268 | 0.862268 | 0 | 0.032001 | 0.203262 | 15,571 | 254 | 120 | 61.30315 | 0.835322 | 0.591292 | 0 | 0.380435 | 0 | 0.021739 | 0.102226 | 0.003596 | 0 | 0 | 0 | 0 | 0 | 1 | 0.108696 | false | 0 | 0.032609 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7d59fa6c0cf56fd2a61084b5eb25b162b3b28d14 | 166 | py | Python | zb/tools/__init__.py | zengbin93/zb | f3b7d4542f7ae6eecefbdbfcfb727339ba07d9c4 | [
"Apache-2.0"
] | 2 | 2018-04-07T12:33:02.000Z | 2019-11-27T04:41:15.000Z | zb/tools/__init__.py | zengbin93/zb | f3b7d4542f7ae6eecefbdbfcfb727339ba07d9c4 | [
"Apache-2.0"
] | 1 | 2018-08-12T02:58:59.000Z | 2018-08-12T02:58:59.000Z | zb/tools/__init__.py | zengbin93/zb | f3b7d4542f7ae6eecefbdbfcfb727339ba07d9c4 | [
"Apache-2.0"
] | 1 | 2019-11-27T04:41:18.000Z | 2019-11-27T04:41:18.000Z | # -*- coding: utf-8 -*-
from .sms import server_chan_push, bear_push, EmailSender
from .file import read_file, write_file, empty_file
from .file import legitimize
| 20.75 | 57 | 0.759036 | 25 | 166 | 4.8 | 0.64 | 0.133333 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007042 | 0.144578 | 166 | 7 | 58 | 23.714286 | 0.838028 | 0.126506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7d5c1d7bdf38cf66bc348fc9c0f081cfe7d5a6e3 | 288 | py | Python | src/web/modules/finance/models/__init__.py | petr-kalinin/SIStema | 80e8e637ddddab3cf634f3a3cd7492f122e1e1d3 | [
"MIT"
] | null | null | null | src/web/modules/finance/models/__init__.py | petr-kalinin/SIStema | 80e8e637ddddab3cf634f3a3cd7492f122e1e1d3 | [
"MIT"
] | null | null | null | src/web/modules/finance/models/__init__.py | petr-kalinin/SIStema | 80e8e637ddddab3cf634f3a3cd7492f122e1e1d3 | [
"MIT"
] | null | null | null | from modules.finance.models.discount import Discount
from modules.finance.models.payment_amount import PaymentAmount
from modules.finance.models.documents import *
from modules.finance.questionnaire.blocks import PaymentInfoQuestionnaireBlock
from modules.finance.entrance.steps import *
| 48 | 78 | 0.871528 | 34 | 288 | 7.352941 | 0.441176 | 0.22 | 0.36 | 0.288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069444 | 288 | 5 | 79 | 57.6 | 0.932836 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7d5f7af60978307e640a41b3935b5b86aec705e3 | 163 | py | Python | Code/instr_tester/ui.py | DaveSeidel/QB_Nebulae_V2 | 4a0218bb6a05e835e74b126729a1c3cd221fc9b5 | [
"MIT"
] | 40 | 2019-12-30T03:44:36.000Z | 2022-02-07T23:09:42.000Z | Code/instr_tester/ui.py | alex-thibodeau/QB_Nebulae_V2 | 34bcf341ea8eddaa9f9ce2e7c2d2438e00e50f54 | [
"MIT"
] | 11 | 2020-03-08T10:22:57.000Z | 2022-03-22T21:18:32.000Z | Code/instr_tester/ui.py | alex-thibodeau/QB_Nebulae_V2 | 34bcf341ea8eddaa9f9ce2e7c2d2438e00e50f54 | [
"MIT"
] | 23 | 2020-01-20T11:12:20.000Z | 2022-03-02T20:39:09.000Z | import time
class UserInterface(object):
def __init__(self, controlhandler):
self.controlhandler = controlhandler
def update(self):
pass
| 18.111111 | 44 | 0.687117 | 16 | 163 | 6.75 | 0.6875 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.239264 | 163 | 8 | 45 | 20.375 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
7d76ebf919a2aa7394fa0d657ad7beac4aea6e63 | 13,336 | py | Python | sdk/python/pulumi_scaleway/instance_security_group_rules.py | stack72/pulumi-scaleway | 0242d1f058046f86fe4ea6f106872ecd08d10c3b | [
"ECL-2.0",
"Apache-2.0"
] | 6 | 2020-10-16T09:09:05.000Z | 2022-03-24T21:32:17.000Z | sdk/python/pulumi_scaleway/instance_security_group_rules.py | stack72/pulumi-scaleway | 0242d1f058046f86fe4ea6f106872ecd08d10c3b | [
"ECL-2.0",
"Apache-2.0"
] | 34 | 2020-10-29T17:38:13.000Z | 2022-03-31T13:33:47.000Z | sdk/python/pulumi_scaleway/instance_security_group_rules.py | stack72/pulumi-scaleway | 0242d1f058046f86fe4ea6f106872ecd08d10c3b | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2022-01-13T18:46:32.000Z | 2022-02-28T03:58:36.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 51.891051 | 218 | 0.697885 | 1,423 | 13,336 | 6.298665 | 0.112439 | 0.084681 | 0.053554 | 0.07252 | 0.7676 | 0.750307 | 0.749526 | 0.732902 | 0.718509 | 0.692179 | 0 | 0.006322 | 0.205309 | 13,336 | 256 | 219 | 52.09375 | 0.839404 | 0.30144 | 0 | 0.619048 | 1 | 0 | 0.194793 | 0.112811 | 0 | 0 | 0 | 0 | 0 | 1 | 0.14966 | false | 0.006803 | 0.047619 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7db7edd52f8fab919994fc652ca5cda9cd561a7a | 69 | py | Python | tests/test_boilerplate.py | alexbahnisch/python-boilerplate | e836158ed911b591c303d32171be4739b77b9e34 | [
"MIT"
] | 1 | 2017-07-07T20:31:28.000Z | 2017-07-07T20:31:28.000Z | tests/test_boilerplate.py | alexbahnisch/python3-boilerplate | e836158ed911b591c303d32171be4739b77b9e34 | [
"MIT"
] | null | null | null | tests/test_boilerplate.py | alexbahnisch/python3-boilerplate | e836158ed911b591c303d32171be4739b77b9e34 | [
"MIT"
] | null | null | null | from boilerplate import fun
def test_fun():
assert fun(1) == 1
| 11.5 | 27 | 0.666667 | 11 | 69 | 4.090909 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 0.231884 | 69 | 5 | 28 | 13.8 | 0.811321 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7db843f48cbb72ee5da6a7cb3f4c0c22515935cb | 203 | py | Python | src/auctionsite/main.py | Hbattle20/djangoauctionsite | 5cf929800403e103640be54ab52345d9a0a28220 | [
"MIT"
] | null | null | null | src/auctionsite/main.py | Hbattle20/djangoauctionsite | 5cf929800403e103640be54ab52345d9a0a28220 | [
"MIT"
] | null | null | null | src/auctionsite/main.py | Hbattle20/djangoauctionsite | 5cf929800403e103640be54ab52345d9a0a28220 | [
"MIT"
] | null | null | null | def get_price(auction_id):
return 0
def make_bid(bid, auction_id):
auction_price = get_price(auction_id)
if bid <= auction_price:
return False
auction_price = bid
return True | 22.555556 | 41 | 0.689655 | 30 | 203 | 4.366667 | 0.4 | 0.206107 | 0.229008 | 0.259542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006494 | 0.241379 | 203 | 9 | 42 | 22.555556 | 0.844156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.125 | 0.625 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
7debd998da7331ae40399b73d9662e9c7ca9ee45 | 107 | py | Python | src/winnow/models/process.py | opendesk/schema | 9c6d8483abbfeb5e3bd225b2916c212e2c21872b | [
"Unlicense"
] | 3 | 2016-04-05T16:51:27.000Z | 2016-08-30T20:56:25.000Z | src/winnow/models/process.py | opendesk/schema | 9c6d8483abbfeb5e3bd225b2916c212e2c21872b | [
"Unlicense"
] | null | null | null | src/winnow/models/process.py | opendesk/schema | 9c6d8483abbfeb5e3bd225b2916c212e2c21872b | [
"Unlicense"
] | 1 | 2019-08-14T16:51:56.000Z | 2019-08-14T16:51:56.000Z | import winnow
from winnow.models.base import WinnowVersion
class WinnowProcess(WinnowVersion):
pass
| 13.375 | 44 | 0.803738 | 12 | 107 | 7.166667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149533 | 107 | 7 | 45 | 15.285714 | 0.945055 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
8161c86daa0145dcdb266b0069018cf1111c3e07 | 19 | py | Python | space/old/units.py | mobarski/sandbox | 64ac79143750d5dcbd4d0f3abdab6efeb9bdf50c | [
"MIT"
] | null | null | null | space/old/units.py | mobarski/sandbox | 64ac79143750d5dcbd4d0f3abdab6efeb9bdf50c | [
"MIT"
] | null | null | null | space/old/units.py | mobarski/sandbox | 64ac79143750d5dcbd4d0f3abdab6efeb9bdf50c | [
"MIT"
] | null | null | null | u = 'kg * m / s**2' | 19 | 19 | 0.315789 | 5 | 19 | 1.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.315789 | 19 | 1 | 19 | 19 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
81639b94b78faa5edd9bcd71e5b23d4c766e1ef9 | 236 | py | Python | angr/analyses/decompiler/structured_codegen/__init__.py | mikenawrocki/angr | 57f5593e902f5ad58709bc8f4ce7859134300ffb | [
"BSD-2-Clause"
] | 1 | 2021-12-20T14:48:33.000Z | 2021-12-20T14:48:33.000Z | angr/analyses/decompiler/structured_codegen/__init__.py | mikenawrocki/angr | 57f5593e902f5ad58709bc8f4ce7859134300ffb | [
"BSD-2-Clause"
] | null | null | null | angr/analyses/decompiler/structured_codegen/__init__.py | mikenawrocki/angr | 57f5593e902f5ad58709bc8f4ce7859134300ffb | [
"BSD-2-Clause"
] | null | null | null | from .base import BaseStructuredCodeGenerator, InstructionMapping, InstructionMappingElement, PositionMappingElement,\
PositionMapping
from .c import CStructuredCodeGenerator
from .dwarf_import import ImportSourceCode
| 47.2 | 118 | 0.822034 | 17 | 236 | 11.352941 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144068 | 236 | 4 | 119 | 59 | 0.955446 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c499bbcdafc7951d9d7c03c4ab1daa97f311d39a | 21 | py | Python | fzfaws/ec2/__init__.py | kazhala/fawsf | 4abefb2301f7b489b11ed3f0b303faafa5941d5b | [
"MIT"
] | 66 | 2020-07-26T12:43:30.000Z | 2022-01-25T12:09:40.000Z | fzfaws/ec2/__init__.py | kazhala/fawsf | 4abefb2301f7b489b11ed3f0b303faafa5941d5b | [
"MIT"
] | null | null | null | fzfaws/ec2/__init__.py | kazhala/fawsf | 4abefb2301f7b489b11ed3f0b303faafa5941d5b | [
"MIT"
] | 3 | 2020-07-26T22:09:45.000Z | 2020-07-28T01:09:26.000Z | from .ec2 import EC2
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0.190476 | 21 | 1 | 21 | 21 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c4b15916ba3b8fb40a1e33fef2d39410c93af2e6 | 70,178 | py | Python | cottonformation/res/codedeploy.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 5 | 2021-07-22T03:45:59.000Z | 2021-12-17T21:07:14.000Z | cottonformation/res/codedeploy.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 1 | 2021-06-25T18:01:31.000Z | 2021-06-25T18:01:31.000Z | cottonformation/res/codedeploy.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 2 | 2021-06-27T03:08:21.000Z | 2021-06-28T22:15:51.000Z | # -*- coding: utf-8 -*-
"""
This module
"""
import attr
import typing
from ..core.model import (
Property, Resource, Tag, GetAtt, TypeHint, TypeCheck,
)
from ..core.constant import AttrMeta
#--- Property declaration ---
@attr.s
class PropDeploymentConfigTimeBasedCanary(Property):
"""
AWS Object Type = ... | 69.140887 | 303 | 0.791858 | 6,773 | 70,178 | 8.117083 | 0.024657 | 0.150972 | 0.038416 | 0.05937 | 0.876694 | 0.875948 | 0.856958 | 0.79646 | 0.79646 | 0.79646 | 0 | 0.001521 | 0.091282 | 70,178 | 1,014 | 304 | 69.209073 | 0.860566 | 0.345279 | 0 | 0.399247 | 0 | 0 | 0.122272 | 0.094619 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.007533 | 0 | 0.27307 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c4f2d7383893447b52555c845e1d82953c2b60c0 | 129 | py | Python | middleware/url.py | openspending/cosmopolitan | f9cdfcee5138fb7157f511db18f631008a273fa5 | [
"MIT"
] | 4 | 2015-11-25T14:21:22.000Z | 2017-04-07T08:05:58.000Z | middleware/url.py | openspending/cosmopolitan | f9cdfcee5138fb7157f511db18f631008a273fa5 | [
"MIT"
] | 21 | 2015-11-29T16:23:52.000Z | 2017-06-06T10:24:49.000Z | middleware/url.py | openspending/cosmopolitan | f9cdfcee5138fb7157f511db18f631008a273fa5 | [
"MIT"
] | 4 | 2016-01-21T19:06:03.000Z | 2021-05-07T16:12:57.000Z | class LowercaseMiddleware(object):
def process_request(self, request):
request.path_info = request.path_info.lower()
| 32.25 | 53 | 0.744186 | 15 | 129 | 6.2 | 0.666667 | 0.236559 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155039 | 129 | 3 | 54 | 43 | 0.853211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
1ef774deadbef6fce5e26d721b829b6799abfb69 | 102 | py | Python | code/tests/test_deck.py | kiranajij/29Cards | b64238145590d3b81c16c8f70069cfb1d69f0c89 | [
"MIT"
] | null | null | null | code/tests/test_deck.py | kiranajij/29Cards | b64238145590d3b81c16c8f70069cfb1d69f0c89 | [
"MIT"
] | null | null | null | code/tests/test_deck.py | kiranajij/29Cards | b64238145590d3b81c16c8f70069cfb1d69f0c89 | [
"MIT"
] | null | null | null | from unittest import TestCase
from code.backend.game import deck
class TestDeck(TestCase):
pass
| 12.75 | 34 | 0.784314 | 14 | 102 | 5.714286 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 102 | 7 | 35 | 14.571429 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
48321845fdc5e56a2650b7c8c7237d15d1f42796 | 8,202 | py | Python | cloudcafe/images/v1/client.py | ProjectMeniscus/cloudcafe | fa8fd796b303f0c5f0d6e98b2b5d01f6ea8fefe9 | [
"Apache-2.0"
] | null | null | null | cloudcafe/images/v1/client.py | ProjectMeniscus/cloudcafe | fa8fd796b303f0c5f0d6e98b2b5d01f6ea8fefe9 | [
"Apache-2.0"
] | null | null | null | cloudcafe/images/v1/client.py | ProjectMeniscus/cloudcafe | fa8fd796b303f0c5f0d6e98b2b5d01f6ea8fefe9 | [
"Apache-2.0"
] | 1 | 2020-11-17T19:05:08.000Z | 2020-11-17T19:05:08.000Z | from cafe.engine.clients.rest import AutoMarshallingRestClient
from cloudcafe.images.v1.models.image import Image, ImageMinList
from cloudcafe.images.v1.models.member import MemberList
class ImagesClient(AutoMarshallingRestClient):
"""Client for Image API."""
def __init__(self, url, auth_token, serialize_for... | 48.532544 | 78 | 0.628139 | 967 | 8,202 | 5.050672 | 0.107549 | 0.138206 | 0.066544 | 0.087019 | 0.814087 | 0.785012 | 0.743448 | 0.708436 | 0.708436 | 0.679771 | 0 | 0.00534 | 0.269325 | 8,202 | 168 | 79 | 48.821429 | 0.809611 | 0.042794 | 0 | 0.638462 | 0 | 0 | 0.120654 | 0.063224 | 0 | 0 | 0 | 0 | 0 | 1 | 0.115385 | false | 0 | 0.023077 | 0 | 0.253846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
487e3375c0b926ae05d698dfcdbe65b482436572 | 26 | py | Python | hello-fortran/tests/test.py | Nicholaswogan/skbuild-f2py-examples | e47d0a9ce483e54b678e31789dbfcc90ff4a8e74 | [
"MIT"
] | 4 | 2021-07-28T02:16:52.000Z | 2021-12-23T00:20:21.000Z | hello-fortran/tests/test.py | Nicholaswogan/skbuild-f2py-examples | e47d0a9ce483e54b678e31789dbfcc90ff4a8e74 | [
"MIT"
] | 1 | 2021-09-14T21:17:49.000Z | 2021-09-14T23:17:47.000Z | hello-fortran/tests/test.py | Nicholaswogan/skbuild-f2py-examples | e47d0a9ce483e54b678e31789dbfcc90ff4a8e74 | [
"MIT"
] | null | null | null | import hello
hello.hello() | 13 | 13 | 0.807692 | 4 | 26 | 5.25 | 0.5 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 26 | 2 | 13 | 13 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4887050238bb36237ec570732b2b052a0729f89c | 100 | py | Python | pycausalmatch/__init__.py | bartdegroot92/pycausalmatch | 045e50743296fea17eb10abd3ebc1db864885162 | [
"MIT"
] | 2 | 2021-09-02T16:20:27.000Z | 2021-09-07T09:14:04.000Z | pycausalmatch/__init__.py | bartdegroot92/pycausalmatch | 045e50743296fea17eb10abd3ebc1db864885162 | [
"MIT"
] | 3 | 2021-04-15T09:55:18.000Z | 2021-06-22T21:55:51.000Z | pycausalmatch/__init__.py | bartdegroot92/pycausalmatch | 045e50743296fea17eb10abd3ebc1db864885162 | [
"MIT"
] | 2 | 2021-06-22T15:37:15.000Z | 2021-07-27T14:35:42.000Z |
from pycausalmatch.__version__ import __version__
from pycausalmatch.main import R_MarketMatching | 20 | 49 | 0.88 | 11 | 100 | 7.181818 | 0.636364 | 0.43038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 100 | 5 | 50 | 20 | 0.877778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6f84cbde10103dcb80c03dbb764da0a2aa6cdf12 | 55 | py | Python | applications/Rekall/controllers/audit.py | scudette/rekall-agent-server | e553f1ae5279f75a8f5b0c0c4847766b60ed86eb | [
"BSD-3-Clause"
] | 21 | 2018-02-16T17:43:59.000Z | 2021-12-29T12:08:28.000Z | applications/Rekall/controllers/audit.py | scudette/rekall-agent-server | e553f1ae5279f75a8f5b0c0c4847766b60ed86eb | [
"BSD-3-Clause"
] | 12 | 2017-11-01T14:54:29.000Z | 2018-02-01T22:02:12.000Z | applications/Rekall/controllers/audit.py | scudette/rekall-agent-server | e553f1ae5279f75a8f5b0c0c4847766b60ed86eb | [
"BSD-3-Clause"
] | 8 | 2018-10-08T03:48:00.000Z | 2022-03-31T12:13:01.000Z |
def search():
return dict(q=request.vars.q or "")
| 13.75 | 39 | 0.618182 | 9 | 55 | 3.777778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 55 | 3 | 40 | 18.333333 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6fe5032731b39f6a93dc2e138a562dc683caf1ed | 5,193 | py | Python | neuroio/notifications/v1.py | neuroio/neuroio-python | 160f96515877e5e2ee0e888b7424c77cb2d7496a | [
"MIT"
] | null | null | null | neuroio/notifications/v1.py | neuroio/neuroio-python | 160f96515877e5e2ee0e888b7424c77cb2d7496a | [
"MIT"
] | 6 | 2021-09-06T08:23:09.000Z | 2021-11-10T16:19:20.000Z | neuroio/notifications/v1.py | neuroio/neuroio-python | 160f96515877e5e2ee0e888b7424c77cb2d7496a | [
"MIT"
] | null | null | null | from typing import List, Union
from httpx import Response
from neuroio.base import APIBase, APIBaseAsync, APIBaseBase
from neuroio.constants import (
EntryLiveness,
EntryMood,
EntryResult,
HttpMethod,
Sex,
sentinel,
)
from neuroio.utils import request_dict_processing, request_query_processing
... | 35.087838 | 75 | 0.609667 | 611 | 5,193 | 5.075286 | 0.13257 | 0.162528 | 0.098678 | 0.058046 | 0.844889 | 0.844889 | 0.835214 | 0.835214 | 0.78652 | 0.78652 | 0 | 0.002097 | 0.265357 | 5,193 | 147 | 76 | 35.326531 | 0.810747 | 0 | 0 | 0.68254 | 0 | 0 | 0.018101 | 0.004622 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0 | 0.039683 | 0 | 0.206349 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6ffb75457a05ea3b38ff85ad8dce47521c6f146f | 142 | py | Python | final_race/ErrorMsg.py | clayshubert/AutonomousVehicles | 72709885989b2b4266c86d6e5e0a0609b3f4a959 | [
"MIT"
] | null | null | null | final_race/ErrorMsg.py | clayshubert/AutonomousVehicles | 72709885989b2b4266c86d6e5e0a0609b3f4a959 | [
"MIT"
] | null | null | null | final_race/ErrorMsg.py | clayshubert/AutonomousVehicles | 72709885989b2b4266c86d6e5e0a0609b3f4a959 | [
"MIT"
] | null | null | null | class ErrorMsg:
float
#float64 X_One
#float64 Height_Of_Cone
#float64 Area_Of_View_Top
#float64 Area_Of_View_Bottom
#bool Stop_Now
| 17.75 | 30 | 0.788732 | 23 | 142 | 4.434783 | 0.695652 | 0.215686 | 0.254902 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 0.169014 | 142 | 7 | 31 | 20.285714 | 0.79661 | 0.697183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
82ea6726551a7e4421f675a5186c3f0eb92f7021 | 1,085 | py | Python | page/page.py | silviacui/BaiNianShop | 45320ea1e0a458961d202259b8eb5a2d82334b5f | [
"MIT"
] | null | null | null | page/page.py | silviacui/BaiNianShop | 45320ea1e0a458961d202259b8eb5a2d82334b5f | [
"MIT"
] | null | null | null | page/page.py | silviacui/BaiNianShop | 45320ea1e0a458961d202259b8eb5a2d82334b5f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from .home_page import *
from .mine_page import *
from .login_page import *
from .settings_page import *
from .about_bainian_page import *
from .address_page import *
from .add_address_page import *
from .cities_page import *
from .change_password_page import *
class Page():
def __init__(... | 19.727273 | 46 | 0.665438 | 126 | 1,085 | 5.579365 | 0.261905 | 0.156472 | 0.217639 | 0.238976 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001218 | 0.243318 | 1,085 | 54 | 47 | 20.092593 | 0.855055 | 0.019355 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25641 | false | 0.076923 | 0.230769 | 0.230769 | 0.74359 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
82ffab19febe2fbe186ed9ce8d0cd9efd06a14f8 | 8,125 | py | Python | authors/tests/data/test_like_dislike_comments.py | andela/ah-the-jedi-backend | ba429dfcec577bd6d52052673c1c413835f65988 | [
"BSD-3-Clause"
] | 1 | 2019-12-25T18:59:34.000Z | 2019-12-25T18:59:34.000Z | authors/tests/data/test_like_dislike_comments.py | katherine95/ah-the-jedi-backend | ba429dfcec577bd6d52052673c1c413835f65988 | [
"BSD-3-Clause"
] | 26 | 2019-04-23T11:20:35.000Z | 2022-03-11T23:45:54.000Z | authors/tests/data/test_like_dislike_comments.py | katherine95/ah-the-jedi-backend | ba429dfcec577bd6d52052673c1c413835f65988 | [
"BSD-3-Clause"
] | 8 | 2019-05-21T06:54:34.000Z | 2019-11-18T19:45:22.000Z | import json
import os
import jwt
from authors.apps.authentication.models import User
from rest_framework import status
from .base_test import BaseTest
from authors.settings import SECRET_KEY
from django.urls import reverse
from rest_framework.test import APIClient
from .data import Data
class LikeDislikeTestCase(Base... | 38.507109 | 101 | 0.566277 | 865 | 8,125 | 5.168786 | 0.108671 | 0.068888 | 0.052337 | 0.045627 | 0.865578 | 0.855513 | 0.847238 | 0.847238 | 0.77656 | 0.711474 | 0 | 0.009683 | 0.3136 | 8,125 | 210 | 102 | 38.690476 | 0.792003 | 0.089231 | 0 | 0.681481 | 0 | 0 | 0.134397 | 0.059639 | 0 | 0 | 0 | 0 | 0.118519 | 1 | 0.081481 | false | 0 | 0.074074 | 0 | 0.162963 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d21812bed17beb8bc384215d8f5dcafc4dd9b43a | 56 | py | Python | polya/__init__.py | johapark/polya | dce321dbfd01c0bf5b17585b358b1e87787f0725 | [
"MIT"
] | null | null | null | polya/__init__.py | johapark/polya | dce321dbfd01c0bf5b17585b358b1e87787f0725 | [
"MIT"
] | null | null | null | polya/__init__.py | johapark/polya | dce321dbfd01c0bf5b17585b358b1e87787f0725 | [
"MIT"
] | null | null | null | from . import io
from . import plot
from . import utils
| 14 | 19 | 0.732143 | 9 | 56 | 4.555556 | 0.555556 | 0.731707 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 56 | 3 | 20 | 18.666667 | 0.931818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d21e71102cba89cac943f40875134a3dadb694f6 | 194 | py | Python | sadmin/admin.py | Mustazur1234/Movement-Pass-Clone | c1d9805bdb3e0fe881b9631c594cacfe4009bd94 | [
"MIT"
] | 29 | 2021-06-01T20:38:00.000Z | 2021-09-14T05:02:07.000Z | sadmin/admin.py | Mustazur1234/Movement-Pass-Clone | c1d9805bdb3e0fe881b9631c594cacfe4009bd94 | [
"MIT"
] | 1 | 2021-06-20T13:50:12.000Z | 2021-06-20T14:43:08.000Z | sadmin/admin.py | Mustazur1234/Movement-Pass-Clone | c1d9805bdb3e0fe881b9631c594cacfe4009bd94 | [
"MIT"
] | 25 | 2021-06-03T13:29:47.000Z | 2021-08-31T16:04:43.000Z | from django.contrib import admin
from .models import IDtype, PassUser, Gender
# Register your models here.
admin.site.register(IDtype)
admin.site.register(PassUser)
admin.site.register(Gender) | 24.25 | 44 | 0.809278 | 27 | 194 | 5.814815 | 0.481481 | 0.171975 | 0.324841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097938 | 194 | 8 | 45 | 24.25 | 0.897143 | 0.134021 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
d233cc284396565da5b2a62cbb7a73d3482f2af9 | 150 | py | Python | libs/yowsup/yowsup/yowsup/layers/protocol_groups/protocolentities/test_iq_groups.py | akshitpradhan/TomHack | 837226e7b38de1140c19bc2d478eeb9e379ed1fd | [
"MIT"
] | 22 | 2017-07-14T20:01:17.000Z | 2022-03-08T14:22:39.000Z | libs/yowsup/yowsup/yowsup/layers/protocol_groups/protocolentities/test_iq_groups.py | akshitpradhan/TomHack | 837226e7b38de1140c19bc2d478eeb9e379ed1fd | [
"MIT"
] | 6 | 2017-07-14T21:03:50.000Z | 2021-06-10T19:08:32.000Z | libs/yowsup/yowsup/yowsup/layers/protocol_groups/protocolentities/test_iq_groups.py | akshitpradhan/TomHack | 837226e7b38de1140c19bc2d478eeb9e379ed1fd | [
"MIT"
] | 13 | 2017-07-14T20:13:14.000Z | 2020-11-12T08:06:05.000Z | from yowsup.layers.protocol_iq.protocolentities.test_iq import IqProtocolEntityTest
class GroupsIqProtocolEntityTest(IqProtocolEntityTest):
pass
| 30 | 83 | 0.873333 | 14 | 150 | 9.214286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 150 | 4 | 84 | 37.5 | 0.934783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
9643c9f61f234208217a38f2e625b746ceb8655a | 29 | py | Python | test/integration/ImportLocal/parent use.py | HighSchoolHacking/GLS-Draft | 9e418b6290e7c8e3f2da87668784bdba1cde5a76 | [
"MIT"
] | 30 | 2019-10-29T12:47:50.000Z | 2022-02-12T06:41:39.000Z | test/integration/ImportLocal/parent use.py | HighSchoolHacking/GLS-Draft | 9e418b6290e7c8e3f2da87668784bdba1cde5a76 | [
"MIT"
] | 247 | 2017-09-21T17:11:18.000Z | 2019-10-08T12:59:07.000Z | test/integration/ImportLocal/parent use.py | HighSchoolHacking/GLS-Draft | 9e418b6290e7c8e3f2da87668784bdba1cde5a76 | [
"MIT"
] | 17 | 2017-10-01T16:53:20.000Z | 2018-11-28T07:20:35.000Z | #
from bbb import Eee, Fff
#
| 7.25 | 24 | 0.655172 | 5 | 29 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 29 | 3 | 25 | 9.666667 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9683f9743abcf1ac0af85e3fcedb2969e8da61f7 | 92 | py | Python | HelloWorld/Python01/_hello/kwlist.py | grtlinux/KieaPython | 5539a9e3625864aa20624b8d684dbe5828dac3d1 | [
"Apache-2.0"
] | 1 | 2022-01-29T08:32:11.000Z | 2022-01-29T08:32:11.000Z | HelloWorld/Python01/_hello/kwlist.py | grtlinux/KieaPython | 5539a9e3625864aa20624b8d684dbe5828dac3d1 | [
"Apache-2.0"
] | null | null | null | HelloWorld/Python01/_hello/kwlist.py | grtlinux/KieaPython | 5539a9e3625864aa20624b8d684dbe5828dac3d1 | [
"Apache-2.0"
] | 1 | 2022-01-29T08:32:12.000Z | 2022-01-29T08:32:12.000Z | # file: kwlist.py
import keyword
print keyword.kwlist
print len(keyword.kwlist)
| 10.222222 | 26 | 0.695652 | 12 | 92 | 5.333333 | 0.583333 | 0.40625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228261 | 92 | 8 | 27 | 11.5 | 0.901408 | 0.163043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
96acda574ae6e1b98d7a43b2ea47ffcaf0bb41d4 | 201 | py | Python | api/admin.py | Arlefreak/PlusProjectAPI | 339f121ab9041a939c0fcb6287793519b0e38d5c | [
"MIT"
] | null | null | null | api/admin.py | Arlefreak/PlusProjectAPI | 339f121ab9041a939c0fcb6287793519b0e38d5c | [
"MIT"
] | null | null | null | api/admin.py | Arlefreak/PlusProjectAPI | 339f121ab9041a939c0fcb6287793519b0e38d5c | [
"MIT"
] | null | null | null | from django.contrib import admin
from api.models import *
admin.site.register(Project)
admin.site.register(Payment)
admin.site.register(Task)
admin.site.register(Client)
# Register your models here.
| 20.1 | 32 | 0.800995 | 29 | 201 | 5.551724 | 0.517241 | 0.223602 | 0.42236 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094527 | 201 | 9 | 33 | 22.333333 | 0.884615 | 0.129353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.