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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
de9409482c5e1b384d2e2c4d2cfdfbfc74df6985 | 49 | py | Python | neutronpy/scattering/__init__.py | neutronpy/neutronpy | 44ca74a0bef25c03397a77aafb359bb257de1fe6 | [
"MIT"
] | 14 | 2015-05-08T02:43:46.000Z | 2019-05-28T03:47:32.000Z | neutronpy/scattering/__init__.py | neutronpy/neutronpy | 44ca74a0bef25c03397a77aafb359bb257de1fe6 | [
"MIT"
] | 96 | 2015-02-09T01:04:33.000Z | 2020-12-08T22:57:37.000Z | neutronpy/scattering/__init__.py | neutronpy/neutronpy | 44ca74a0bef25c03397a77aafb359bb257de1fe6 | [
"MIT"
] | 5 | 2016-02-26T22:53:13.000Z | 2018-07-16T07:13:04.000Z | from . import polarization
from . import pattern
| 16.333333 | 26 | 0.795918 | 6 | 49 | 6.5 | 0.666667 | 0.512821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 2 | 27 | 24.5 | 0.95122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
de9bd69f11b020008ec54c0ba4e6a4422aea9baa | 1,762 | py | Python | src/bpp/migrations/0027_auto_20150921_2304.py | iplweb/django-bpp | 85f183a99d8d5027ae4772efac1e4a9f21675849 | [
"BSD-3-Clause"
] | 1 | 2017-04-27T19:50:02.000Z | 2017-04-27T19:50:02.000Z | src/bpp/migrations/0027_auto_20150921_2304.py | mpasternak/django-bpp | 434338821d5ad1aaee598f6327151aba0af66f5e | [
"BSD-3-Clause"
] | 41 | 2019-11-07T00:07:02.000Z | 2022-02-27T22:09:39.000Z | src/bpp/migrations/0027_auto_20150921_2304.py | iplweb/bpp | f027415cc3faf1ca79082bf7bacd4be35b1a6fdf | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('bpp', '0026_auto_20150902_2102'),
]
operations = [
migrations.AlterField(
model_name='praca_doktorska',
name='e_isbn',
field=mo... | 34.54902 | 112 | 0.598184 | 194 | 1,762 | 5.216495 | 0.21134 | 0.118577 | 0.148221 | 0.171937 | 0.879447 | 0.879447 | 0.879447 | 0.828063 | 0.828063 | 0.828063 | 0 | 0.022907 | 0.281498 | 1,762 | 50 | 113 | 35.24 | 0.776461 | 0.011918 | 0 | 0.837209 | 0 | 0 | 0.109258 | 0.013226 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.023256 | 0 | 0.093023 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
def205e79e0a9c2cb441306f945ae5bdb7b8d250 | 46 | py | Python | project_euler_97.py | andrazm123/Project-Euler | 260a46810bce73e1079c13518ae94732c8cb1acb | [
"MIT"
] | null | null | null | project_euler_97.py | andrazm123/Project-Euler | 260a46810bce73e1079c13518ae94732c8cb1acb | [
"MIT"
] | null | null | null | project_euler_97.py | andrazm123/Project-Euler | 260a46810bce73e1079c13518ae94732c8cb1acb | [
"MIT"
] | null | null | null | print((28433 * 2 ** 7830457 +1 ) % (10 ** 10)) | 46 | 46 | 0.5 | 7 | 46 | 3.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.217391 | 46 | 1 | 46 | 46 | 0.138889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
723c62fd2e47f9b92c9998397e406240070837d9 | 151 | py | Python | old-version/cyclum/__init__.py | lshh125/cyclum | 4bd7f136680108d28e4d07e627cda7cd4a242e64 | [
"MIT"
] | 12 | 2020-03-01T09:15:45.000Z | 2021-10-03T07:58:48.000Z | old-version/cyclum/__init__.py | lshh125/cyclum | 4bd7f136680108d28e4d07e627cda7cd4a242e64 | [
"MIT"
] | 5 | 2020-11-13T18:38:18.000Z | 2021-12-17T18:47:32.000Z | old-version/cyclum/__init__.py | lshh125/cyclum | 4bd7f136680108d28e4d07e627cda7cd4a242e64 | [
"MIT"
] | 5 | 2020-03-21T01:51:44.000Z | 2022-03-15T11:08:59.000Z | """
This package implements the scae and related analyzing tools.
"""
from cyclum.core import PreloadCyclum
from cyclum.core import PreloadNaiveCyclum | 25.166667 | 61 | 0.81457 | 19 | 151 | 6.473684 | 0.789474 | 0.162602 | 0.227642 | 0.325203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125828 | 151 | 6 | 62 | 25.166667 | 0.931818 | 0.403974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
a0cf8f85e837f597c4f745277ab5838466c7cb82 | 535 | py | Python | practice_py/looping.py | jatin69/mca101-OOPS | 4a63d3e419a151e32b9894bf2c5590174363148b | [
"MIT"
] | null | null | null | practice_py/looping.py | jatin69/mca101-OOPS | 4a63d3e419a151e32b9894bf2c5590174363148b | [
"MIT"
] | null | null | null | practice_py/looping.py | jatin69/mca101-OOPS | 4a63d3e419a151e32b9894bf2c5590174363148b | [
"MIT"
] | null | null | null | '''
Over writes value with 0
i=5
print("Global i :",i,end="\n\n")
for i in range(i):
print("Looped i :",i)
print("\nGlobal i :",i)
'''
'''
Does not go inside loop
i=5
print("Global i :",i,end="\n\n")
for i in range(i,5):
print("Looped i :",i)
print("\nGlobal i :",i)
'''
'''
Does not go inside loop
i=5
pr... | 13.375 | 32 | 0.553271 | 105 | 535 | 2.819048 | 0.209524 | 0.087838 | 0.118243 | 0.175676 | 0.875 | 0.875 | 0.807432 | 0.807432 | 0.807432 | 0.712838 | 0 | 0.013889 | 0.192523 | 535 | 39 | 33 | 13.717949 | 0.671296 | 0.241122 | 0 | 0 | 0 | 0 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
9d4ce38407b9adcb0238716e76fc6d789c720b2c | 792,962 | py | Python | frappe-bench/env/lib/python2.7/site-packages/zxcvbn/frequency_lists.py | ibrahmm22/library-management | b88a2129a5a2e96ce1f945ec8ba99a0b63b8c506 | [
"MIT"
] | 565 | 2016-12-14T11:20:36.000Z | 2022-03-29T13:55:00.000Z | frappe-bench/env/lib/python2.7/site-packages/zxcvbn/frequency_lists.py | ibrahmm22/library-management | b88a2129a5a2e96ce1f945ec8ba99a0b63b8c506 | [
"MIT"
] | 53 | 2016-12-29T12:53:44.000Z | 2022-03-14T07:46:25.000Z | frappe-bench/env/lib/python2.7/site-packages/zxcvbn/frequency_lists.py | ibrahmm22/library-management | b88a2129a5a2e96ce1f945ec8ba99a0b63b8c506 | [
"MIT"
] | 70 | 2016-12-29T13:13:13.000Z | 2022-03-17T21:54:42.000Z | # generated by build_frequency_lists
FREQUENCY_LISTS = {
"passwords": "123456,password,12345678,qwerty,123456789,12345,1234,111111,1234567,dragon,123123,baseball,abc123,football,monkey,letmein,shadow,master,696969,mustang,666666,qwertyuiop,123321,1234567890,pussy,superman,654321,1qaz2wsx,7777777,fuckyou,qazwsx,jord... | 88,106.888889 | 277,053 | 0.880607 | 94,556 | 792,962 | 7.383847 | 0.988895 | 0.000017 | 0.000046 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040018 | 0.000054 | 792,962 | 9 | 277,054 | 88,106.888889 | 0.84051 | 0.000043 | 0 | 0 | 1 | 0.75 | 0.999806 | 0.99971 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | false | 0.5 | 0.375 | 0 | 0.375 | 0.375 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 9 |
9d4e34ad377827d25cf676647992607095bc0567 | 68,694 | py | Python | ultrasonic/mod4_funcs.py | dannyandreev/TheLittleRascal-Software | 60fff8dc1b44bbdd11878e1c3dac1e9ff1c2fe6b | [
"MIT"
] | null | null | null | ultrasonic/mod4_funcs.py | dannyandreev/TheLittleRascal-Software | 60fff8dc1b44bbdd11878e1c3dac1e9ff1c2fe6b | [
"MIT"
] | 2 | 2021-09-09T16:49:36.000Z | 2021-10-05T15:30:42.000Z | ultrasonic/mod4_funcs.py | dannyandreev/TheLittleRascal-Software | 60fff8dc1b44bbdd11878e1c3dac1e9ff1c2fe6b | [
"MIT"
] | null | null | null | import RPi.GPIO as GPIO
import time
import smbus #import SMBus module of I2C
GPIO.setwarnings(False) # Ignore warning for now
GPIO.setmode(GPIO.BOARD) # Use physical pin numberin
# ULTRASONIC FUNCTIONS
def ultrasonic_init(Trigger, Echo):
# set up the input and output pins
GPIO.setup(Trigger, GPIO.O... | 35.519131 | 121 | 0.662649 | 9,775 | 68,694 | 4.559591 | 0.021586 | 0.044043 | 0.037761 | 0.040049 | 0.991362 | 0.991362 | 0.991362 | 0.989926 | 0.989926 | 0.989926 | 0 | 0.040475 | 0.254418 | 68,694 | 1,933 | 122 | 35.537506 | 0.829744 | 0 | 0 | 0.977311 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015436 | 0 | 0 | 0 | null | null | 0 | 0.073109 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
19c056040997d6e7eb5ab2812627f3924a4c7afc | 87 | py | Python | chainermn/iterators/__init__.py | mingxiaoh/chainermn | 3b1a4a62a70147bb7420c693e4132883a6e67da0 | [
"MIT"
] | 1 | 2019-02-12T23:10:16.000Z | 2019-02-12T23:10:16.000Z | chainermn/iterators/__init__.py | nolfwin/chainer | 8d776fcc1e848cb9d3800a6aab356eb91ae9d088 | [
"MIT"
] | 11 | 2020-01-28T22:49:05.000Z | 2022-03-11T23:50:27.000Z | chainermn/iterators/__init__.py | nolfwin/chainer | 8d776fcc1e848cb9d3800a6aab356eb91ae9d088 | [
"MIT"
] | 2 | 2018-09-28T05:53:36.000Z | 2018-11-05T01:14:50.000Z | from chainermn.iterators.multi_node_iterator import create_multi_node_iterator # NOQA
| 43.5 | 86 | 0.885057 | 12 | 87 | 6 | 0.75 | 0.25 | 0.472222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08046 | 87 | 1 | 87 | 87 | 0.9 | 0.045977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
c23b6d7cd61f07d7937a4c4d129de318f4073ecc | 206 | py | Python | kaolin/conversions/__init__.py | Bob-Yeah/kaolin | 7ad34f8158000499a30b8dfa14fb3ed86d2e57a6 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2021-10-31T01:08:17.000Z | 2021-11-08T09:43:17.000Z | kaolin/conversions/__init__.py | Bob-Yeah/kaolin | 7ad34f8158000499a30b8dfa14fb3ed86d2e57a6 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | kaolin/conversions/__init__.py | Bob-Yeah/kaolin | 7ad34f8158000499a30b8dfa14fb3ed86d2e57a6 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2021-08-10T09:19:19.000Z | 2021-11-12T08:18:17.000Z | from kaolin.conversions.meshconversions import *
from kaolin.conversions.pointcloudconversions import *
from kaolin.conversions.sdfconversions import *
from kaolin.conversions.voxelgridconversions import *
| 41.2 | 54 | 0.864078 | 20 | 206 | 8.9 | 0.4 | 0.224719 | 0.47191 | 0.455056 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07767 | 206 | 4 | 55 | 51.5 | 0.936842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
dfb7824e2103137bbce860993146006ae2a7c2eb | 9,612 | py | Python | tests/integration_tests/test_views_and_filters.py | ThanKarab/MIP-Engine | 41ae237f4e5c35c0d3ad94bf741ade08b695dd8e | [
"MIT"
] | 4 | 2021-01-19T18:45:38.000Z | 2022-01-31T13:25:45.000Z | tests/integration_tests/test_views_and_filters.py | madgik/MIP-Engine | d707a4189457cecd977ddac8c213f308c8282b37 | [
"MIT"
] | 136 | 2020-12-31T11:10:00.000Z | 2022-03-31T22:21:55.000Z | tests/integration_tests/test_views_and_filters.py | ThanKarab/MIP-Engine | 41ae237f4e5c35c0d3ad94bf741ade08b695dd8e | [
"MIT"
] | 9 | 2021-05-21T06:05:14.000Z | 2021-12-02T09:09:01.000Z | import uuid
import pytest
from mipengine.node_tasks_DTOs import ColumnInfo
from mipengine.datatypes import DType
from mipengine.node_tasks_DTOs import InsufficientDataError
from mipengine.node_tasks_DTOs import TableData
from mipengine.node_tasks_DTOs import TableSchema
from tests.integration_tests.nodes_communicatio... | 33.84507 | 88 | 0.626925 | 1,132 | 9,612 | 4.946113 | 0.102474 | 0.069119 | 0.045008 | 0.041793 | 0.915521 | 0.884801 | 0.843008 | 0.819789 | 0.784069 | 0.763351 | 0 | 0.007654 | 0.266022 | 9,612 | 283 | 89 | 33.964664 | 0.785967 | 0.003953 | 0 | 0.704 | 0 | 0 | 0.092457 | 0.031968 | 0 | 0 | 0 | 0 | 0.076 | 1 | 0.024 | false | 0 | 0.036 | 0 | 0.06 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
dfc80470213d5948301e9c82fbd7fd8f7340fb6c | 3,108 | py | Python | tests/test_matrix.py | jacobmunson/lenskit_confidence | 2c06d81539b0a7697014e3b7164ea64695e687d5 | [
"MIT"
] | null | null | null | tests/test_matrix.py | jacobmunson/lenskit_confidence | 2c06d81539b0a7697014e3b7164ea64695e687d5 | [
"MIT"
] | null | null | null | tests/test_matrix.py | jacobmunson/lenskit_confidence | 2c06d81539b0a7697014e3b7164ea64695e687d5 | [
"MIT"
] | null | null | null | import scipy.sparse as sps
import scipy.linalg as sla
import numpy as np
import pandas as pd
import lenskit.matrix as lm
from lenskit.util.test import ml_test
from pytest import approx
def test_sparse_matrix(rng):
ratings = ml_test.ratings
mat, uidx, iidx = lm.sparse_ratings(ratings)
assert mat.nrows ... | 30.174757 | 74 | 0.657336 | 439 | 3,108 | 4.551253 | 0.189066 | 0.077077 | 0.032533 | 0.047548 | 0.813313 | 0.748248 | 0.748248 | 0.731732 | 0.731732 | 0.731732 | 0 | 0.003252 | 0.208494 | 3,108 | 102 | 75 | 30.470588 | 0.808943 | 0.047941 | 0 | 0.608108 | 0 | 0 | 0.020311 | 0 | 0 | 0 | 0 | 0 | 0.405405 | 1 | 0.067568 | false | 0 | 0.094595 | 0 | 0.162162 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
dfdc08577d3b399368f7bcc977f7b225bf36f07c | 20,357 | py | Python | tests.py | tr3buchet/aviato | d013a11f3ed8813bf1ae3f312b40e31303050b0a | [
"Apache-2.0"
] | null | null | null | tests.py | tr3buchet/aviato | d013a11f3ed8813bf1ae3f312b40e31303050b0a | [
"Apache-2.0"
] | null | null | null | tests.py | tr3buchet/aviato | d013a11f3ed8813bf1ae3f312b40e31303050b0a | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import unittest
import json
import dbmodels
import app
class AddUserTestCase(unittest.TestCase):
@classmethod
def setUpClass(cls):
app.app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///:memory:'
app.app.config['TESTING'] = True
def setUp(se... | 40.390873 | 78 | 0.575625 | 2,361 | 20,357 | 4.839475 | 0.059297 | 0.049624 | 0.068615 | 0.090495 | 0.914931 | 0.903641 | 0.893751 | 0.880448 | 0.87826 | 0.86837 | 0 | 0.014387 | 0.262465 | 20,357 | 503 | 79 | 40.471173 | 0.746636 | 0.031439 | 0 | 0.817481 | 0 | 0 | 0.188005 | 0.01168 | 0 | 0 | 0 | 0 | 0.192802 | 1 | 0.131105 | false | 0.002571 | 0.010283 | 0 | 0.164524 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5f0a67a05593762995f043e799cf68bd304e247a | 183 | py | Python | measurevolume/detect/__init__.py | mikiya1130/Amazon | 3d19f77eac123ccb6be18f55ae8e28d9017ddba5 | [
"MIT"
] | 5 | 2021-07-03T05:42:00.000Z | 2021-07-21T06:07:43.000Z | measurevolume/detect/__init__.py | mikiya1130/Amazon | 3d19f77eac123ccb6be18f55ae8e28d9017ddba5 | [
"MIT"
] | 3 | 2021-07-06T02:38:07.000Z | 2021-07-17T15:15:50.000Z | measurevolume/detect/__init__.py | mikiya1130/Amazon | 3d19f77eac123ccb6be18f55ae8e28d9017ddba5 | [
"MIT"
] | 1 | 2021-07-15T07:29:55.000Z | 2021-07-15T07:29:55.000Z | from .detect_water_area import detect_water_area
from .get_chopsticks_length_per_pixel import get_chopsticks_length_per_pixel
from .water_area_correction import water_area_correction
| 45.75 | 76 | 0.918033 | 28 | 183 | 5.428571 | 0.392857 | 0.236842 | 0.197368 | 0.289474 | 0.355263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 183 | 3 | 77 | 61 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
a02bc2da2911c9e56d837d9f32c45a9fc099443a | 19,986 | py | Python | main.py | gracerichardson01/the-late-employee | b5fac0ced213a2da31c9acf54c3de7caf18005ab | [
"MIT"
] | null | null | null | main.py | gracerichardson01/the-late-employee | b5fac0ced213a2da31c9acf54c3de7caf18005ab | [
"MIT"
] | null | null | null | main.py | gracerichardson01/the-late-employee | b5fac0ced213a2da31c9acf54c3de7caf18005ab | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import sys
assert sys.version_info >= (3,9), "This script requires at least Python 3.9"
world = {
"uuid": "A43B5555-84B2-49C3-9405-DB929936EBEB",
"name": "The Late Employee",
"creator": "Twine",
"creatorVersion": "2.3.14",
"schemaName": "Harlowe 3 to JSON",
"schemaVersion": "0.0.6",
... | 50.725888 | 583 | 0.609577 | 2,956 | 19,986 | 4.111299 | 0.162043 | 0.011849 | 0.014811 | 0.015799 | 0.771497 | 0.740146 | 0.721057 | 0.718012 | 0.712252 | 0.712252 | 0 | 0.00681 | 0.265236 | 19,986 | 393 | 584 | 50.854962 | 0.820769 | 0.007555 | 0 | 0.267717 | 0 | 0.104987 | 0.719494 | 0.039179 | 0 | 0 | 0 | 0 | 0.002625 | 1 | 0.010499 | false | 0.097113 | 0.002625 | 0 | 0.028871 | 0.018373 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
26bd53d16b123515051e9147da5264e0988d7053 | 9,423 | py | Python | services/backend/project/tests/test_auth.py | kzkaneoka/custom-job-search | ca6054aee979cb1eff701dc5ba0cf56fb92baf44 | [
"MIT"
] | null | null | null | services/backend/project/tests/test_auth.py | kzkaneoka/custom-job-search | ca6054aee979cb1eff701dc5ba0cf56fb92baf44 | [
"MIT"
] | 1 | 2021-06-02T00:51:06.000Z | 2021-06-02T00:51:06.000Z | services/backend/project/tests/test_auth.py | kzkaneoka/custom-job-search | ca6054aee979cb1eff701dc5ba0cf56fb92baf44 | [
"MIT"
] | null | null | null | import json
from flask import current_app
from project.tests.utils import add_user
def test_user_registration(test_app, test_database):
client = test_app.test_client()
resp = client.post(
"/auth/register",
data=json.dumps(
{
"username": "test_user_registration",
... | 32.605536 | 89 | 0.628781 | 1,087 | 9,423 | 5.189512 | 0.079117 | 0.05655 | 0.113101 | 0.133664 | 0.922 | 0.889027 | 0.84329 | 0.808367 | 0.788158 | 0.72239 | 0 | 0.006335 | 0.246206 | 9,423 | 288 | 90 | 32.71875 | 0.787836 | 0.006474 | 0 | 0.628906 | 0 | 0 | 0.305974 | 0.113177 | 0 | 0 | 0 | 0 | 0.222656 | 1 | 0.050781 | false | 0.074219 | 0.011719 | 0 | 0.0625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
26c4315c857c10820da3a8b8ac4bd20eb66a1750 | 978 | py | Python | migration/migrator/migrations/master/20180611125006_alphanumeric_sections.py | elihschiff/Submitty | 8b980997b6f1dfcd73eb4cf4cca43398e67f96dc | [
"BSD-3-Clause"
] | 411 | 2016-06-14T20:52:25.000Z | 2022-03-31T21:20:25.000Z | migration/migrator/migrations/master/20180611125006_alphanumeric_sections.py | KaelanWillauer/Submitty | cf9b6ceda15ec0a661e2ca81ea7864790094c64a | [
"BSD-3-Clause"
] | 5,730 | 2016-05-23T21:04:32.000Z | 2022-03-31T10:08:06.000Z | migration/migrator/migrations/master/20180611125006_alphanumeric_sections.py | KaelanWillauer/Submitty | cf9b6ceda15ec0a661e2ca81ea7864790094c64a | [
"BSD-3-Clause"
] | 423 | 2016-09-22T21:11:30.000Z | 2022-03-29T18:55:28.000Z | def up(config, database):
database.execute('ALTER TABLE ONLY mapped_courses ALTER COLUMN registration_section SET DATA TYPE character varying(255) USING registration_section::varchar(255)')
database.execute('ALTER TABLE ONLY mapped_courses ALTER COLUMN mapped_section SET DATA TYPE character varying(255) USING m... | 88.909091 | 167 | 0.821063 | 131 | 978 | 5.992366 | 0.183206 | 0.193631 | 0.152866 | 0.191083 | 0.969427 | 0.969427 | 0.95414 | 0.936306 | 0.884076 | 0.884076 | 0 | 0.020809 | 0.115542 | 978 | 10 | 168 | 97.8 | 0.886705 | 0 | 0 | 0 | 0 | 0.375 | 0.789366 | 0.180982 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
f863c27075e4ba3af90fa836c1198afd32d98efe | 173 | py | Python | app/routes/__init__.py | hsnuonly/SuperPanda | 5c590f625110f712caf046a6ca40bcc93173a005 | [
"MIT"
] | 3 | 2020-12-18T21:58:55.000Z | 2020-12-26T09:21:14.000Z | app/routes/__init__.py | hsnuonly/SuperPanda | 5c590f625110f712caf046a6ca40bcc93173a005 | [
"MIT"
] | null | null | null | app/routes/__init__.py | hsnuonly/SuperPanda | 5c590f625110f712caf046a6ca40bcc93173a005 | [
"MIT"
] | 1 | 2021-05-29T15:53:46.000Z | 2021-05-29T15:53:46.000Z | from flask import redirect, url_for
from app import main
from . import gallery, listing, settings
@main.route('/')
def index():
return redirect(url_for('.galleries'))
| 19.222222 | 42 | 0.728324 | 24 | 173 | 5.166667 | 0.666667 | 0.177419 | 0.225806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150289 | 173 | 8 | 43 | 21.625 | 0.843537 | 0 | 0 | 0 | 0 | 0 | 0.063584 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 0.166667 | 0.833333 | 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 | 1 | 1 | 0 | 0 | 7 |
f886d4170618ded443a074ba24117241ca93e9ba | 9,229 | py | Python | vaas-app/src/vaas/router/tests/test_forms.py | allegro/vaas | 3d2d1f1a9dae6ac69a13563a37f9bfdf4f986ae2 | [
"Apache-2.0"
] | 251 | 2015-09-02T10:50:51.000Z | 2022-03-16T08:00:35.000Z | vaas-app/src/vaas/router/tests/test_forms.py | allegro/vaas | 3d2d1f1a9dae6ac69a13563a37f9bfdf4f986ae2 | [
"Apache-2.0"
] | 154 | 2015-09-02T14:54:08.000Z | 2022-03-16T08:34:17.000Z | vaas-app/src/vaas/router/tests/test_forms.py | allegro/vaas | 3d2d1f1a9dae6ac69a13563a37f9bfdf4f986ae2 | [
"Apache-2.0"
] | 31 | 2015-09-03T07:51:05.000Z | 2020-09-24T09:02:40.000Z | from django.test import TestCase
from vaas.router.models import Route
from vaas.router.forms import RouteModelForm
from vaas.manager.models import Director, Probe, TimeProfile
from vaas.cluster.models import LogicalCluster
class MyTests(TestCase):
def setUp(self):
self.probe = Probe.objects.create(name='d... | 34.565543 | 111 | 0.562141 | 942 | 9,229 | 5.273885 | 0.11465 | 0.045089 | 0.07186 | 0.045089 | 0.822262 | 0.806361 | 0.801932 | 0.801932 | 0.796498 | 0.796498 | 0 | 0.025243 | 0.308918 | 9,229 | 266 | 112 | 34.695489 | 0.753685 | 0 | 0 | 0.747899 | 0 | 0 | 0.170983 | 0 | 0 | 0 | 0 | 0 | 0.079832 | 1 | 0.042017 | false | 0.109244 | 0.021008 | 0 | 0.067227 | 0.004202 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
f8a996f1f72439cb7dce025ba203c3556cb30d90 | 24,601 | py | Python | conversion/convert.py | JiatianWu/tf-monodepth2 | 8f8ade9ac1268ec2c80db41386df47d26074eaf8 | [
"MIT"
] | null | null | null | conversion/convert.py | JiatianWu/tf-monodepth2 | 8f8ade9ac1268ec2c80db41386df47d26074eaf8 | [
"MIT"
] | null | null | null | conversion/convert.py | JiatianWu/tf-monodepth2 | 8f8ade9ac1268ec2c80db41386df47d26074eaf8 | [
"MIT"
] | null | null | null | from __future__ import division
import os
import time
import math
import pickle
import numpy as np
from glob import glob
import tensorflow as tf
from utils.tools import *
import cv2
import matplotlib as mpl
import matplotlib.cm as cm
from conversion.data_io import *
sys.path.append(os.path.abspath(os.path.join('..', ... | 44.326126 | 126 | 0.65477 | 3,336 | 24,601 | 4.516787 | 0.069245 | 0.047783 | 0.040616 | 0.036103 | 0.890032 | 0.888837 | 0.881272 | 0.875697 | 0.873109 | 0.859968 | 0 | 0.014534 | 0.23369 | 24,601 | 555 | 127 | 44.326126 | 0.784744 | 0.094874 | 0 | 0.739899 | 0 | 0 | 0.060982 | 0.010209 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065657 | false | 0 | 0.065657 | 0 | 0.141414 | 0.063131 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f8bb8bdbe03c0843b4c1ed939ff2dc3bda6a470d | 150 | py | Python | samples/api-event-source/python/api.py | sprunger/aws-sam-local | a04b7911fc2db0d795a84e1de5aa3899d381c01d | [
"Apache-2.0"
] | null | null | null | samples/api-event-source/python/api.py | sprunger/aws-sam-local | a04b7911fc2db0d795a84e1de5aa3899d381c01d | [
"Apache-2.0"
] | null | null | null | samples/api-event-source/python/api.py | sprunger/aws-sam-local | a04b7911fc2db0d795a84e1de5aa3899d381c01d | [
"Apache-2.0"
] | null | null | null | def get(event, context):
return {"body": "GET OK", "statusCode": 200}
def put(event, context):
return {"body": "PUT OK", "statusCode": 200}
| 21.428571 | 48 | 0.613333 | 20 | 150 | 4.6 | 0.5 | 0.26087 | 0.391304 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04918 | 0.186667 | 150 | 6 | 49 | 25 | 0.704918 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 7 |
f8d040d91743fe64d321fb6aba76e16c4229bff5 | 155 | py | Python | src/vznncv/signal/generator/onedim/__init__.py | vznncv/vznncv-signal-generator | d5fe9a4effa19e4f1af01ab52e782790af11afad | [
"MIT"
] | 2 | 2019-06-18T14:04:51.000Z | 2022-02-17T20:24:29.000Z | src/vznncv/signal/generator/onedim/__init__.py | vznncv/vznncv-signal-generator | d5fe9a4effa19e4f1af01ab52e782790af11afad | [
"MIT"
] | null | null | null | src/vznncv/signal/generator/onedim/__init__.py | vznncv/vznncv-signal-generator | d5fe9a4effa19e4f1af01ab52e782790af11afad | [
"MIT"
] | null | null | null | from ._generator import generate_process_realization, create_process_realization
__all__ = ['generate_process_realization', 'create_process_realization']
| 38.75 | 80 | 0.870968 | 16 | 155 | 7.625 | 0.5 | 0.590164 | 0.42623 | 0.52459 | 0.819672 | 0.819672 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 155 | 3 | 81 | 51.666667 | 0.841379 | 0 | 0 | 0 | 1 | 0 | 0.348387 | 0.348387 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 9 |
3e43dd412cd1775b67b4dfc0817d3a429ee75010 | 6,223 | py | Python | dummy.py | StephanDollberg/stephandollberg.github.io | 0160d36574aee76855ab52b3db766f61c9ffb4ed | [
"Apache-2.0"
] | null | null | null | dummy.py | StephanDollberg/stephandollberg.github.io | 0160d36574aee76855ab52b3db766f61c9ffb4ed | [
"Apache-2.0"
] | null | null | null | dummy.py | StephanDollberg/stephandollberg.github.io | 0160d36574aee76855ab52b3db766f61c9ffb4ed | [
"Apache-2.0"
] | null | null | null | # Ugg, dummy file to make Github not think this site is written in PHP
# that's an insult
foo = 'bar'
foo = 'bar'
foo = 'bar'
foo = 'bar'
foo = 'bar'
foo = 'bar'
foo = 'bar'
foo = 'bar'
foo = 'bar'
foo = 'bar'
foo = 'bar'
foo = 'bar'
foo = 'bar'
foo = 'bar'
foo = 'bar'
foo = 'bar'
foo = 'bar'
foo = 'bar'
foo = 'bar'
f... | 12.083495 | 70 | 0.503455 | 1,040 | 6,223 | 3.0125 | 0.019231 | 0.978615 | 1.465049 | 1.953399 | 0.978615 | 0.978615 | 0.978615 | 0.978615 | 0.978615 | 0.978615 | 0 | 0 | 0.249558 | 6,223 | 514 | 71 | 12.107004 | 0.670878 | 0.013659 | 0 | 1 | 0 | 0 | 0.249878 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
3e5c4d70510520eb5dc42f3fb8fcac4647a3ab06 | 89 | py | Python | solving/bnf_parser/__init__.py | dizys/nyu-ai-lab-2 | 22f471c6359b3af914e583021a422fcddd7c40b6 | [
"MIT"
] | null | null | null | solving/bnf_parser/__init__.py | dizys/nyu-ai-lab-2 | 22f471c6359b3af914e583021a422fcddd7c40b6 | [
"MIT"
] | null | null | null | solving/bnf_parser/__init__.py | dizys/nyu-ai-lab-2 | 22f471c6359b3af914e583021a422fcddd7c40b6 | [
"MIT"
] | null | null | null | from .bnf_node import *
from .bnf_tree import *
from .bnf_listener import BNFParserError
| 22.25 | 40 | 0.808989 | 13 | 89 | 5.307692 | 0.538462 | 0.304348 | 0.376812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134831 | 89 | 3 | 41 | 29.666667 | 0.896104 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
e4bf7c55a86f4ba0ea1c9ff3b36e569707f8fe1b | 5,391 | py | Python | explainable_ai_sdk/model/http_utils_test.py | GoogleCloudPlatform/explainable_ai_sdk | 432f88169ab96820fd2f76b590f8ea552c1be7b7 | [
"Apache-2.0"
] | 18 | 2020-06-02T18:05:21.000Z | 2022-02-28T21:33:12.000Z | explainable_ai_sdk/model/http_utils_test.py | GoogleCloudPlatform/explainable_ai_sdk | 432f88169ab96820fd2f76b590f8ea552c1be7b7 | [
"Apache-2.0"
] | 2 | 2021-01-22T14:14:58.000Z | 2021-06-28T06:24:38.000Z | explainable_ai_sdk/model/http_utils_test.py | GoogleCloudPlatform/explainable_ai_sdk | 432f88169ab96820fd2f76b590f8ea552c1be7b7 | [
"Apache-2.0"
] | 8 | 2020-10-17T10:22:47.000Z | 2022-03-23T22:08:38.000Z | # Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 38.784173 | 77 | 0.706919 | 710 | 5,391 | 5.052113 | 0.195775 | 0.067466 | 0.050181 | 0.063563 | 0.804015 | 0.801227 | 0.801227 | 0.799275 | 0.799275 | 0.782548 | 0 | 0.012391 | 0.191616 | 5,391 | 138 | 78 | 39.065217 | 0.810693 | 0.105917 | 0 | 0.726316 | 0 | 0 | 0.140566 | 0 | 0 | 0 | 0 | 0 | 0.084211 | 1 | 0.073684 | false | 0.010526 | 0.042105 | 0 | 0.136842 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e4d9d87e4d4a751cf704a9d946769d8b57843b8c | 16,617 | py | Python | data cleaning/last_season.py | AlexBrady/FlaskMLService | 7a2286a831b683c03635bd5d98da9421c44725a5 | [
"MIT"
] | null | null | null | data cleaning/last_season.py | AlexBrady/FlaskMLService | 7a2286a831b683c03635bd5d98da9421c44725a5 | [
"MIT"
] | null | null | null | data cleaning/last_season.py | AlexBrady/FlaskMLService | 7a2286a831b683c03635bd5d98da9421c44725a5 | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
def clean_last_season():
fantasy_data = pd.read_csv('../resources/1617playerdata.csv', sep=',', encoding='utf-8')
league_ranks = pd.read_csv('../resources/team_ranks.csv', sep=',', encoding='utf-8')
league_ranks.rename(columns={'Club': 'team', 'More':'round'},... | 48.165217 | 121 | 0.55353 | 1,977 | 16,617 | 4.53566 | 0.092564 | 0.113304 | 0.200736 | 0.151667 | 0.830824 | 0.80629 | 0.798929 | 0.765808 | 0.76012 | 0.734917 | 0 | 0.011529 | 0.300536 | 16,617 | 344 | 122 | 48.305233 | 0.759959 | 0.019739 | 0 | 0.61204 | 0 | 0 | 0.139532 | 0.009787 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003344 | false | 0 | 0.006689 | 0 | 0.010033 | 0.003344 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5f3d12f8418bba2e0e241f2f8f1e993d46958db7 | 54,480 | py | Python | ptf-test/test.py | dabernie/SRv6 | bab980965bf395a2846f6ebd6439350fbb524c46 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | ptf-test/test.py | dabernie/SRv6 | bab980965bf395a2846f6ebd6439350fbb524c46 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | ptf-test/test.py | dabernie/SRv6 | bab980965bf395a2846f6ebd6439350fbb524c46 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | # Copyright 2013-present Barefoot Networks, Inc.
#
# 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 agr... | 42.363919 | 88 | 0.529883 | 6,759 | 54,480 | 3.847463 | 0.051191 | 0.058835 | 0.01592 | 0.037493 | 0.823688 | 0.803884 | 0.785311 | 0.774659 | 0.759969 | 0.743972 | 0 | 0.072443 | 0.380745 | 54,480 | 1,285 | 89 | 42.396887 | 0.698373 | 0.024596 | 0 | 0.70709 | 0 | 0 | 0.053954 | 0 | 0 | 0 | 0.000792 | 0.000778 | 0 | 0 | null | null | 0.003731 | 0.012127 | null | null | 0.025187 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5f9253c26440dcd5353ff314ba2a133b4abd6f23 | 3,305 | py | Python | electionguard_verify/constants.py | nickboucher/PyVerify | 42f7aacaafc2455922e1c0b89d9a45e2b0e17915 | [
"MIT"
] | 1 | 2020-11-30T02:04:18.000Z | 2020-11-30T02:04:18.000Z | electionguard_verify/constants.py | nickboucher/electionguard-verify | 42f7aacaafc2455922e1c0b89d9a45e2b0e17915 | [
"MIT"
] | null | null | null | electionguard_verify/constants.py | nickboucher/electionguard-verify | 42f7aacaafc2455922e1c0b89d9a45e2b0e17915 | [
"MIT"
] | null | null | null | """ constants.py
Nicholas Boucher 2020
Contains the constant values utilized in the ElectionGuard protocol.
"""
# Large prime p
P: int = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF93C467E37DB0C7A4D1BE3F810152CB56A1CECC3AF65CC0190C03DF34709AFFBD8E4B59FA03A9F0EED0649CCB621057D11056AE91321... | 183.611111 | 1,035 | 0.976399 | 36 | 3,305 | 89.638889 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.560825 | 0.017549 | 3,305 | 17 | 1,036 | 194.411765 | 0.433015 | 0.047201 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.984345 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5fcbdac2f83d1db3c7a87384f89fd61f8176829c | 128,514 | py | Python | src/mbed_cloud/_backends/device_directory/apis/default_api.py | GQMai/mbed-cloud-sdk-python | 76ef009903415f37f69dcc5778be8f5fb14c08fe | [
"Apache-2.0"
] | 12 | 2017-12-28T11:18:43.000Z | 2020-10-04T12:11:15.000Z | src/mbed_cloud/_backends/device_directory/apis/default_api.py | GQMai/mbed-cloud-sdk-python | 76ef009903415f37f69dcc5778be8f5fb14c08fe | [
"Apache-2.0"
] | 50 | 2017-12-21T12:50:41.000Z | 2020-01-13T16:07:08.000Z | src/mbed_cloud/_backends/device_directory/apis/default_api.py | GQMai/mbed-cloud-sdk-python | 76ef009903415f37f69dcc5778be8f5fb14c08fe | [
"Apache-2.0"
] | 8 | 2018-04-25T17:47:29.000Z | 2019-08-29T06:38:27.000Z | # coding: utf-8
"""
Device Directory API
This is the API Documentation for the Device Directory service.
OpenAPI spec version: 3
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compati... | 57.244543 | 5,392 | 0.603094 | 15,884 | 128,514 | 4.706371 | 0.02449 | 0.020333 | 0.01953 | 0.027342 | 0.992308 | 0.991412 | 0.990636 | 0.988228 | 0.984911 | 0.983827 | 0 | 0.033995 | 0.277837 | 128,514 | 2,244 | 5,393 | 57.270053 | 0.76835 | 0.538004 | 0 | 0.841715 | 1 | 0 | 0.189059 | 0.039429 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037098 | false | 0 | 0.003298 | 0 | 0.095631 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
39a01a30d923074d395b97a427b3fc38297f708e | 86 | py | Python | _init_.py | cartman12/lambdata_mali_tree_classifier2 | 92addf0d7819c429691627f48ecac9ca58ac7f96 | [
"MIT"
] | null | null | null | _init_.py | cartman12/lambdata_mali_tree_classifier2 | 92addf0d7819c429691627f48ecac9ca58ac7f96 | [
"MIT"
] | null | null | null | _init_.py | cartman12/lambdata_mali_tree_classifier2 | 92addf0d7819c429691627f48ecac9ca58ac7f96 | [
"MIT"
] | null | null | null | from lambdata_mali_tree_classifier2.lambdata_mali_tree_classifier2 import fit, predict | 86 | 86 | 0.930233 | 12 | 86 | 6.166667 | 0.666667 | 0.324324 | 0.432432 | 0.72973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.046512 | 86 | 1 | 86 | 86 | 0.878049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
f2cd759cbea2a5b3ff26abe32faad3bd68c4cb16 | 113 | py | Python | mylib/version.py | yoyoyoohh/mylib | 510c7624ad9d08b1a103f0b825eb8f770783100c | [
"Apache-2.0"
] | null | null | null | mylib/version.py | yoyoyoohh/mylib | 510c7624ad9d08b1a103f0b825eb8f770783100c | [
"Apache-2.0"
] | null | null | null | mylib/version.py | yoyoyoohh/mylib | 510c7624ad9d08b1a103f0b825eb8f770783100c | [
"Apache-2.0"
] | null | null | null | # GENERATED VERSION FILE
# TIME: Tue Dec 28 10:55:50 2021
__version__ = '1.0.0+8da4630'
short_version = '1.0.0'
| 18.833333 | 32 | 0.699115 | 21 | 113 | 3.52381 | 0.714286 | 0.216216 | 0.243243 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242105 | 0.159292 | 113 | 5 | 33 | 22.6 | 0.536842 | 0.469027 | 0 | 0 | 1 | 0 | 0.315789 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ffd69f0a4c83bdbe7503801b7cfa61a12f520e25 | 41,209 | py | Python | pyboto3/cloudtrail.py | thecraftman/pyboto3 | 653a0db2b00b06708334431da8f169d1f7c7734f | [
"MIT"
] | null | null | null | pyboto3/cloudtrail.py | thecraftman/pyboto3 | 653a0db2b00b06708334431da8f169d1f7c7734f | [
"MIT"
] | null | null | null | pyboto3/cloudtrail.py | thecraftman/pyboto3 | 653a0db2b00b06708334431da8f169d1f7c7734f | [
"MIT"
] | null | null | null | '''
The MIT License (MIT)
Copyright (c) 2016 WavyCloud
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, p... | 47.096 | 586 | 0.666966 | 5,379 | 41,209 | 5.096858 | 0.105038 | 0.009411 | 0.004085 | 0.011088 | 0.759155 | 0.740079 | 0.73417 | 0.728115 | 0.715385 | 0.69547 | 0 | 0.021897 | 0.269674 | 41,209 | 874 | 587 | 47.149886 | 0.889055 | 0.887379 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
0810f6963f5bc44fb0c76ea27e46583352374f12 | 143 | py | Python | prometheus/utils.py | harshittrivedi78/prometheus_python | 0d1be5c734ceb36b05ef1fbb7901d0910f13410f | [
"Apache-2.0"
] | 1 | 2020-10-30T03:03:46.000Z | 2020-10-30T03:03:46.000Z | prometheus/utils.py | harshittrivedi78/prometheus_python | 0d1be5c734ceb36b05ef1fbb7901d0910f13410f | [
"Apache-2.0"
] | 1 | 2021-09-07T09:41:26.000Z | 2021-09-07T09:41:26.000Z | prometheus/utils.py | harshittrivedi78/prometheus_python | 0d1be5c734ceb36b05ef1fbb7901d0910f13410f | [
"Apache-2.0"
] | 2 | 2020-10-30T03:03:54.000Z | 2021-09-07T08:39:45.000Z | from timeit import default_timer
def Time():
return default_timer()
def TimeSince(start_time):
return default_timer() - start_time
| 14.3 | 39 | 0.741259 | 19 | 143 | 5.315789 | 0.526316 | 0.356436 | 0.29703 | 0.435644 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 143 | 9 | 40 | 15.888889 | 0.863248 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
0811dc3c208cc569bc4e20fc6258685117468df6 | 2,039 | py | Python | numpy/iterateoverarr.py | praveenpmin/Python | 513fcde7430b03a187e2c7e58302b88645388eed | [
"MIT"
] | null | null | null | numpy/iterateoverarr.py | praveenpmin/Python | 513fcde7430b03a187e2c7e58302b88645388eed | [
"MIT"
] | null | null | null | numpy/iterateoverarr.py | praveenpmin/Python | 513fcde7430b03a187e2c7e58302b88645388eed | [
"MIT"
] | null | null | null | import numpy as np
a = np.arange(0,60,5)
a = a.reshape(3,4)
print ('Original array is:')
print (a)
print ('\n')
print ('Modified array is:')
for x in np.nditer(a):
print (x,)
#print ('\n')
import numpy as np
a = np.arange(0,60,5)
a = a.reshape(3,4)
print ('Original array is:')
print (a)
print ('\n') ... | 17.279661 | 62 | 0.592938 | 371 | 2,039 | 3.253369 | 0.134771 | 0.086993 | 0.100249 | 0.086164 | 0.810273 | 0.810273 | 0.779619 | 0.759735 | 0.736537 | 0.695112 | 0 | 0.02912 | 0.208436 | 2,039 | 118 | 63 | 17.279661 | 0.718711 | 0.043649 | 0 | 0.840909 | 0 | 0 | 0.231757 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.079545 | 0 | 0.079545 | 0.590909 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
4b5b3c05f9d8813a37825967c12deec397dc3ff0 | 34,960 | py | Python | scp_epub/test_unit/process/test_process_page.py | elfakyn/scp_epub | 5d0e95d8fa0e11d9ab388c5a4083212c1c857a2f | [
"MIT"
] | 5 | 2020-05-27T15:57:15.000Z | 2021-06-11T01:08:50.000Z | scp_epub/test_unit/process/test_process_page.py | elfakyn/scp_epub | 5d0e95d8fa0e11d9ab388c5a4083212c1c857a2f | [
"MIT"
] | null | null | null | scp_epub/test_unit/process/test_process_page.py | elfakyn/scp_epub | 5d0e95d8fa0e11d9ab388c5a4083212c1c857a2f | [
"MIT"
] | 2 | 2020-11-14T04:53:51.000Z | 2021-06-12T19:28:32.000Z | import unittest
import unittest.mock
from parameterized import parameterized
import bs4
import json
import process.process_page
from constants import constants
class TestProcessPage(unittest.TestCase):
def setUp(self):
self.maxDiff = None
@unittest.mock.patch('process.process_page.process_page_html... | 57.785124 | 3,544 | 0.65 | 4,545 | 34,960 | 4.874147 | 0.116172 | 0.016612 | 0.014626 | 0.022299 | 0.917844 | 0.907823 | 0.89559 | 0.879294 | 0.876631 | 0.869679 | 0 | 0.02798 | 0.214874 | 34,960 | 604 | 3,545 | 57.880795 | 0.775066 | 0.008124 | 0 | 0.632967 | 0 | 0.006593 | 0.176681 | 0.05846 | 0 | 0 | 0 | 0 | 0.061538 | 1 | 0.043956 | false | 0 | 0.015385 | 0.004396 | 0.072527 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
29b56a0b67d796ac5146f41a4c8080b6cef029ef | 147 | py | Python | app/main/home.py | senderle/doppio | 4f7b6a8bcb60f54648d162bdcdc467c598ec50a9 | [
"MIT"
] | null | null | null | app/main/home.py | senderle/doppio | 4f7b6a8bcb60f54648d162bdcdc467c598ec50a9 | [
"MIT"
] | null | null | null | app/main/home.py | senderle/doppio | 4f7b6a8bcb60f54648d162bdcdc467c598ec50a9 | [
"MIT"
] | null | null | null | from app.main import bp
from flask import render_template
@bp.route('/')
@bp.route('/home')
def index():
return render_template('index.html')
| 18.375 | 40 | 0.714286 | 22 | 147 | 4.681818 | 0.636364 | 0.271845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129252 | 147 | 7 | 41 | 21 | 0.804688 | 0 | 0 | 0 | 0 | 0 | 0.108844 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0.166667 | 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 | 1 | 1 | 0 | 0 | 7 |
29dd45cc4f95ca5f04cfbf7c880d99451ca02d68 | 12,162 | py | Python | network.py | bioimage-informatics/restworm | 88e835cbb9dcf780bd87e380fbdef1ad2fb19539 | [
"BSD-3-Clause"
] | null | null | null | network.py | bioimage-informatics/restworm | 88e835cbb9dcf780bd87e380fbdef1ad2fb19539 | [
"BSD-3-Clause"
] | null | null | null | network.py | bioimage-informatics/restworm | 88e835cbb9dcf780bd87e380fbdef1ad2fb19539 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Thu Jun 28 11:11:33 2018
@author: Administrator
"""
from keras.models import Model
from keras.layers import Input, BatchNormalization, Activation
from keras.layers.convolutional import Conv2D, ZeroPadding2D, MaxPooling2D, UpSampling2D
from keras.layers.merge import concatenate
f... | 53.10917 | 136 | 0.659842 | 1,390 | 12,162 | 5.456115 | 0.074101 | 0.295886 | 0.118143 | 0.185654 | 0.803929 | 0.785074 | 0.766746 | 0.755538 | 0.755538 | 0.739715 | 0 | 0.027588 | 0.251932 | 12,162 | 228 | 137 | 53.342105 | 0.806001 | 0.025489 | 0 | 0.613757 | 0 | 0 | 0.015554 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010582 | false | 0 | 0.026455 | 0.005291 | 0.047619 | 0.068783 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d9b633a9b2b0a21d791f42c61f2c2b4b9f44bbb4 | 6,418 | py | Python | test/testParameters.py | philipco/mcm-bidirectional-compression | 64f9d1cb2f302e948d8331477e5ef8f4fc7d872f | [
"MIT"
] | 3 | 2020-06-26T18:00:41.000Z | 2022-03-03T09:10:44.000Z | test/testParameters.py | philipco/mcm-bidirectional-compression | 64f9d1cb2f302e948d8331477e5ef8f4fc7d872f | [
"MIT"
] | 2 | 2021-10-04T15:49:52.000Z | 2022-03-25T14:07:54.000Z | test/testParameters.py | philipco/mcm-bidirectional-compression | 64f9d1cb2f302e948d8331477e5ef8f4fc7d872f | [
"MIT"
] | 2 | 2020-08-30T12:07:36.000Z | 2021-08-16T09:09:10.000Z | """
Created by Constantin Philippenko, 6th May 2020.
Test to verify that predefined parameters are correctly set up.
"""
import unittest
import torch
from src.machinery.Parameters import *
from src.machinery.PredefinedParameters import BiQSGD, Diana, Artemis, Qsgd, SGD_Descent
from src.models.CostModel import RMSEM... | 50.535433 | 104 | 0.734808 | 787 | 6,418 | 5.689962 | 0.149936 | 0.204332 | 0.286065 | 0.087092 | 0.785619 | 0.77356 | 0.736043 | 0.721974 | 0.721974 | 0.721974 | 0 | 0.009399 | 0.171081 | 6,418 | 127 | 105 | 50.535433 | 0.832331 | 0.031786 | 0 | 0.657143 | 0 | 0 | 0.00129 | 0 | 0 | 0 | 0 | 0 | 0.638095 | 1 | 0.066667 | false | 0.009524 | 0.057143 | 0.009524 | 0.133333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d9d4952c838a5ba8893c9ccf79ea123f415aa18e | 7,144 | py | Python | test/test_iam_project_api.py | hyperonecom/h1-client-python | 4ce355852ba3120ec1b8f509ab5894a5c08da730 | [
"MIT"
] | null | null | null | test/test_iam_project_api.py | hyperonecom/h1-client-python | 4ce355852ba3120ec1b8f509ab5894a5c08da730 | [
"MIT"
] | null | null | null | test/test_iam_project_api.py | hyperonecom/h1-client-python | 4ce355852ba3120ec1b8f509ab5894a5c08da730 | [
"MIT"
] | null | null | null | """
HyperOne
HyperOne API # noqa: E501
The version of the OpenAPI document: 0.1.0
Generated by: https://openapi-generator.tech
"""
import unittest
import h1
from h1.api.iam_project_api import IamProjectApi # noqa: E501
class TestIamProjectApi(unittest.TestCase):
"""IamProjectApi unit test s... | 23.655629 | 62 | 0.62304 | 872 | 7,144 | 4.779817 | 0.073395 | 0.283109 | 0.102927 | 0.130998 | 0.806622 | 0.786948 | 0.774952 | 0.485125 | 0.40643 | 0.356046 | 0 | 0.026184 | 0.299692 | 7,144 | 301 | 63 | 23.734219 | 0.806916 | 0.462206 | 0 | 0.454545 | 1 | 0 | 0.002708 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.465909 | false | 0.454545 | 0.034091 | 0 | 0.511364 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
d9d70a58498ae68235afa6e015e36c0b69d88686 | 18,018 | py | Python | optimizers/adaptive.py | cainmagi/MDNT | 4affd8a83698ce6786c04dddacdcf7415f8c5f90 | [
"MIT"
] | 14 | 2019-09-24T07:33:13.000Z | 2021-03-04T16:27:29.000Z | optimizers/adaptive.py | cainmagi/MDNT | 4affd8a83698ce6786c04dddacdcf7415f8c5f90 | [
"MIT"
] | 1 | 2020-02-28T04:24:09.000Z | 2020-03-03T08:55:31.000Z | optimizers/adaptive.py | cainmagi/MDNT | 4affd8a83698ce6786c04dddacdcf7415f8c5f90 | [
"MIT"
] | 6 | 2020-08-24T03:35:41.000Z | 2021-02-10T08:02:16.000Z | '''
################################################################
# Optimizers - Extended adaptive learning rate optimizers.
# @ Modern Deep Network Toolkits for Tensorflow-Keras
# Yuchen Jin @ cainmagi@gmail.com
# Requirements: (Pay attention to version)
# python 3.6+
# tensorflow r1.13+
# This module contains ... | 44.709677 | 118 | 0.587968 | 2,523 | 18,018 | 4.01308 | 0.108997 | 0.022222 | 0.018667 | 0.022123 | 0.801383 | 0.787654 | 0.769481 | 0.763556 | 0.745383 | 0.726123 | 0 | 0.02229 | 0.292874 | 18,018 | 403 | 119 | 44.709677 | 0.772388 | 0.263514 | 0 | 0.851711 | 0 | 0 | 0.02659 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034221 | false | 0 | 0.022814 | 0 | 0.091255 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d9d98c329a2ee9b4f7a01306bc23601ce69bda7c | 20,218 | py | Python | test/integration/mongo_class/repsetcoll_connect.py | deepcoder42/mongo-lib | fa2b65587ab88ee90c9d85f12dd642c6295e0d94 | [
"MIT"
] | null | null | null | test/integration/mongo_class/repsetcoll_connect.py | deepcoder42/mongo-lib | fa2b65587ab88ee90c9d85f12dd642c6295e0d94 | [
"MIT"
] | null | null | null | test/integration/mongo_class/repsetcoll_connect.py | deepcoder42/mongo-lib | fa2b65587ab88ee90c9d85f12dd642c6295e0d94 | [
"MIT"
] | null | null | null | #!/usr/bin/python
# Classification (U)
"""Program: repsetcoll_connect.py
Description: Integration testing of RepSetColl.connect in mongo_class.py.
Usage:
test/integration/mongo_class/repsetcoll_connect.py
Arguments:
"""
# Libraries and Global Variables
# Standard
import sys
import os
if sy... | 29.645161 | 78 | 0.618953 | 2,813 | 20,218 | 4.2492 | 0.04728 | 0.185058 | 0.047854 | 0.045679 | 0.827826 | 0.80005 | 0.78976 | 0.78976 | 0.783402 | 0.772275 | 0 | 0.00323 | 0.265061 | 20,218 | 681 | 79 | 29.688693 | 0.801198 | 0.176229 | 0 | 0.762238 | 0 | 0 | 0.010413 | 0 | 0 | 0 | 0 | 0 | 0.101399 | 1 | 0.104895 | false | 0.034965 | 0.027972 | 0 | 0.136364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d9e8d24db10f3c7f7029dc56c3c9822f8d3cf63a | 13,601 | py | Python | EBI_data_generate.py | datamaskinprosjekt/FPGA-MadNES | 8307c4a1d66909c7637efc27e6248a7e8b332bfd | [
"MIT"
] | null | null | null | EBI_data_generate.py | datamaskinprosjekt/FPGA-MadNES | 8307c4a1d66909c7637efc27e6248a7e8b332bfd | [
"MIT"
] | null | null | null | EBI_data_generate.py | datamaskinprosjekt/FPGA-MadNES | 8307c4a1d66909c7637efc27e6248a7e8b332bfd | [
"MIT"
] | null | null | null | #OAM: 2 16-bit addresses
# 8 bit spriteref
# 10 bit x pos
# 10 bit y pos
# 1 bit x-flip
# 1 bit y-flip
# 1 bit priority
# 1 bit enable
OAM = [
{
"spriteref":1,
"x_pos":13,
"y_pos":2,
"x_flip":0,
"y_flip":0,
"priority":0,
"enable":1
},... | 27.700611 | 194 | 0.419969 | 3,481 | 13,601 | 1.592359 | 0.026142 | 0.153707 | 0.218654 | 0.277106 | 0.816345 | 0.801912 | 0.792712 | 0.778099 | 0.760419 | 0.71243 | 0 | 0.293531 | 0.277112 | 13,601 | 490 | 195 | 27.757143 | 0.27024 | 0.020366 | 0 | 0.646681 | 0 | 0 | 0.114951 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002141 | false | 0 | 0 | 0 | 0.002141 | 0.169165 | 0 | 0 | 1 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 11 |
d9ede612275bf04f53186bfcc50302746c701b1d | 35,725 | py | Python | mailchimp_marketing/api/landing_pages_api.py | michaelschem/mailchimp-marketing-python | c4685d7de567f853214e0244488b39f6bf3b654f | [
"Apache-2.0"
] | null | null | null | mailchimp_marketing/api/landing_pages_api.py | michaelschem/mailchimp-marketing-python | c4685d7de567f853214e0244488b39f6bf3b654f | [
"Apache-2.0"
] | null | null | null | mailchimp_marketing/api/landing_pages_api.py | michaelschem/mailchimp-marketing-python | c4685d7de567f853214e0244488b39f6bf3b654f | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Mailchimp Marketing API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 3.0.70
Contact: apihelp@mailchimp.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from _... | 40.922108 | 143 | 0.610721 | 4,253 | 35,725 | 4.905478 | 0.051963 | 0.055601 | 0.021473 | 0.027609 | 0.955615 | 0.948569 | 0.945454 | 0.934046 | 0.933471 | 0.923789 | 0 | 0.019137 | 0.296459 | 35,725 | 872 | 144 | 40.969037 | 0.810933 | 0.355297 | 0 | 0.832976 | 1 | 0.002141 | 0.195599 | 0.042784 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036403 | false | 0 | 0.008565 | 0 | 0.098501 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8a82b54ac09f31944778173aacf80f982416561b | 927 | py | Python | ctreport_selenium/ctreport_html/scripts/toggle.py | naveens33/ctreport-selenium | 9553b5c4b8deb52e46cf0fb3e1ea7092028cf090 | [
"MIT"
] | 2 | 2020-08-30T13:12:52.000Z | 2020-09-03T05:38:28.000Z | ctreport_selenium/ctreport_html/scripts/toggle.py | naveens33/ctreport-selenium | 9553b5c4b8deb52e46cf0fb3e1ea7092028cf090 | [
"MIT"
] | 5 | 2020-01-10T07:01:24.000Z | 2020-06-25T10:49:43.000Z | ctreport_selenium/ctreport_html/scripts/toggle.py | naveens33/ctreport-selenium | 9553b5c4b8deb52e46cf0fb3e1ea7092028cf090 | [
"MIT"
] | 1 | 2020-10-13T02:27:04.000Z | 2020-10-13T02:27:04.000Z | content = '''
<script>
function display_other_page() {
var x = document.getElementById("testdetails");
if (x.style.display === "none") {
x.style.display = "block";
} else {
x.style.display = "none";
}
var x = document.getElementById("... | 29.903226 | 57 | 0.446602 | 84 | 927 | 4.904762 | 0.238095 | 0.174757 | 0.378641 | 0.330097 | 0.752427 | 0.752427 | 0.752427 | 0.752427 | 0.752427 | 0.752427 | 0 | 0 | 0.39698 | 927 | 30 | 58 | 30.9 | 0.73703 | 0 | 0 | 0.533333 | 0 | 0 | 0.981661 | 0.157497 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8a98f4d4b90f431ead2c51b32b9fcdf437327e04 | 3,784 | py | Python | yt/data_objects/tests/test_exclude_functions.py | Xarthisius/yt | 321643c3abff64a6f132d98d0747f3558f7552a3 | [
"BSD-3-Clause-Clear"
] | 360 | 2017-04-24T05:06:04.000Z | 2022-03-31T10:47:07.000Z | yt/data_objects/tests/test_exclude_functions.py | Xarthisius/yt | 321643c3abff64a6f132d98d0747f3558f7552a3 | [
"BSD-3-Clause-Clear"
] | 2,077 | 2017-04-20T20:36:07.000Z | 2022-03-31T16:39:43.000Z | yt/data_objects/tests/test_exclude_functions.py | Xarthisius/yt | 321643c3abff64a6f132d98d0747f3558f7552a3 | [
"BSD-3-Clause-Clear"
] | 257 | 2017-04-19T20:52:28.000Z | 2022-03-29T12:23:52.000Z | import numpy as np
from yt.loaders import load_uniform_grid
from yt.testing import assert_equal, fake_random_ds
def test_exclude_above():
the_ds = fake_random_ds(ndims=3)
all_data = the_ds.all_data()
new_ds = all_data.exclude_above(("gas", "density"), 1)
assert_equal(new_ds[("gas", "density")], all_d... | 41.130435 | 87 | 0.629757 | 603 | 3,784 | 3.698176 | 0.104478 | 0.201794 | 0.059193 | 0.080717 | 0.86861 | 0.83991 | 0.83991 | 0.83991 | 0.808969 | 0.776233 | 0 | 0.043752 | 0.160412 | 3,784 | 91 | 88 | 41.582418 | 0.658168 | 0.009249 | 0 | 0.633803 | 0 | 0 | 0.131305 | 0 | 0 | 0 | 0 | 0 | 0.366197 | 1 | 0.070423 | false | 0 | 0.042254 | 0 | 0.112676 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8aa04f9918adb22e5006cddc8e69f3584224b1dc | 72,674 | py | Python | eve_db/migrations/0003_auto__del_field_stastationtype_docking_bay_graphic__del_field_stastati.py | caot/django-eve-db | 425a84de4fde2b14ab17cfb81c2c2609fa427381 | [
"BSD-3-Clause"
] | 6 | 2015-04-07T15:03:15.000Z | 2020-03-01T07:35:35.000Z | eve_db/migrations/0003_auto__del_field_stastationtype_docking_bay_graphic__del_field_stastati.py | caot/django-eve-db | 425a84de4fde2b14ab17cfb81c2c2609fa427381 | [
"BSD-3-Clause"
] | 2 | 2015-03-07T17:56:03.000Z | 2015-09-28T16:35:28.000Z | eve_db/migrations/0003_auto__del_field_stastationtype_docking_bay_graphic__del_field_stastati.py | caot/django-eve-db | 425a84de4fde2b14ab17cfb81c2c2609fa427381 | [
"BSD-3-Clause"
] | 8 | 2015-03-16T12:50:19.000Z | 2019-06-07T15:19:37.000Z | # encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Deleting field 'StaStationType.docking_bay_graphic'
db.delete_column('eve_db_stastationtype', 'docking_b... | 95.623684 | 238 | 0.56975 | 7,368 | 72,674 | 5.484256 | 0.055375 | 0.105128 | 0.183627 | 0.262324 | 0.873441 | 0.833771 | 0.819417 | 0.788581 | 0.750817 | 0.676623 | 0 | 0.003317 | 0.17445 | 72,674 | 759 | 239 | 95.749671 | 0.670195 | 0.002876 | 0 | 0.348587 | 0 | 0 | 0.6157 | 0.372155 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002692 | false | 0 | 0.006729 | 0 | 0.013459 | 0.006729 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
8aa2a1e26231cf81647be8fbde72dde1f1a2479b | 3,369 | py | Python | benchmarks/test_emu.py | Jappenn/CCL | a37cad61f060f3928fa5d47b1e2670db3e9bce6f | [
"BSD-3-Clause"
] | 91 | 2017-07-14T02:45:59.000Z | 2022-03-28T08:55:54.000Z | benchmarks/test_emu.py | Jappenn/CCL | a37cad61f060f3928fa5d47b1e2670db3e9bce6f | [
"BSD-3-Clause"
] | 703 | 2017-07-07T16:27:17.000Z | 2022-03-30T14:40:10.000Z | benchmarks/test_emu.py | Jappenn/CCL | a37cad61f060f3928fa5d47b1e2670db3e9bce6f | [
"BSD-3-Clause"
] | 54 | 2017-07-12T13:08:25.000Z | 2022-02-06T13:12:10.000Z | import numpy as np
import pytest
import pyccl as ccl
EMU_TOLERANCE = 3.0E-2
@pytest.mark.parametrize('model', list(range(4)))
def test_emu_nu(model):
model_numbers = [38, 39, 40, 42]
data = np.loadtxt(
"./benchmarks/data/emu_nu_smooth_pk_M%d.txt" % model_numbers[model])
cosmos = np.loadtxt("./b... | 28.075 | 76 | 0.561888 | 470 | 3,369 | 3.865957 | 0.206383 | 0.151348 | 0.052284 | 0.063291 | 0.86186 | 0.86186 | 0.761695 | 0.720969 | 0.703908 | 0.669235 | 0 | 0.042833 | 0.300089 | 3,369 | 119 | 77 | 28.310924 | 0.727735 | 0.037103 | 0 | 0.712766 | 0 | 0 | 0.084877 | 0.062037 | 0 | 0 | 0 | 0 | 0.06383 | 1 | 0.031915 | false | 0 | 0.031915 | 0 | 0.06383 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8abf206a6d52c756dd72e52e9f99f9565baddfbe | 57,065 | py | Python | ce_api/api/billing_api.py | maiot-io/cengine | 3a1946c449e8c5e1d216215df6eeab941eb1640a | [
"Apache-2.0"
] | 7 | 2020-10-13T12:47:32.000Z | 2021-03-12T12:00:14.000Z | ce_api/api/billing_api.py | maiot-io/cengine | 3a1946c449e8c5e1d216215df6eeab941eb1640a | [
"Apache-2.0"
] | null | null | null | ce_api/api/billing_api.py | maiot-io/cengine | 3a1946c449e8c5e1d216215df6eeab941eb1640a | [
"Apache-2.0"
] | 1 | 2021-01-23T02:19:42.000Z | 2021-01-23T02:19:42.000Z | # coding: utf-8
"""
maiot Core Engine API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 0.1.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
... | 43.165658 | 795 | 0.648226 | 6,880 | 57,065 | 5.025581 | 0.038517 | 0.042804 | 0.041994 | 0.044771 | 0.98175 | 0.976978 | 0.96995 | 0.963183 | 0.959047 | 0.944933 | 0 | 0.016933 | 0.273495 | 57,065 | 1,321 | 796 | 43.198335 | 0.817068 | 0.332305 | 0 | 0.797753 | 1 | 0 | 0.198467 | 0.083223 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04073 | false | 0.018258 | 0.005618 | 0 | 0.106742 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
76f4617b5a9061c6cd9fb9206581f24c159e960f | 3,969 | py | Python | module/kalman_filters.py | KotaTakeda/fx_time_series_analysis | acec1c2c98b67605f4e5771e7a8b40f42fd94d86 | [
"Unlicense"
] | null | null | null | module/kalman_filters.py | KotaTakeda/fx_time_series_analysis | acec1c2c98b67605f4e5771e7a8b40f42fd94d86 | [
"Unlicense"
] | null | null | null | module/kalman_filters.py | KotaTakeda/fx_time_series_analysis | acec1c2c98b67605f4e5771e7a8b40f42fd94d86 | [
"Unlicense"
] | null | null | null | import numpy as np
from numpy import sqrt, trace, zeros, identity
from numpy.linalg import inv
# ============================
# Linear Kalman Filter
# ============================
"""
TODO: 説明
状態空間モデル
x[t] = Mx[t-1] + Gu[t]
y[t] = Hx[t-1] + w[t]
"""
class LinearKalmanFilter:
def __init__(self, M, H, G, Q, R... | 26.284768 | 136 | 0.493827 | 621 | 3,969 | 3.014493 | 0.148148 | 0.066774 | 0.041667 | 0.027778 | 0.825321 | 0.821581 | 0.821581 | 0.808761 | 0.786325 | 0.771368 | 0 | 0.0122 | 0.339128 | 3,969 | 151 | 137 | 26.284768 | 0.701487 | 0.13681 | 0 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013245 | 0 | 1 | 0.117647 | false | 0 | 0.035294 | 0 | 0.176471 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
76f5f94670bfb9d4839fee639e1ec73137dd51af | 8,071 | py | Python | terminusdb_client/tests/ans_property.py | LogicalDash/terminusdb-client-python | 7f13f77e60f891b1e6bd214ebf73ff7f75fcaff8 | [
"Apache-2.0"
] | 43 | 2020-06-12T23:44:17.000Z | 2022-03-12T15:18:55.000Z | terminusdb_client/tests/ans_property.py | LogicalDash/terminusdb-client-python | 7f13f77e60f891b1e6bd214ebf73ff7f75fcaff8 | [
"Apache-2.0"
] | 151 | 2020-06-12T20:23:05.000Z | 2022-03-29T20:38:35.000Z | terminusdb_client/tests/ans_property.py | LogicalDash/terminusdb-client-python | 7f13f77e60f891b1e6bd214ebf73ff7f75fcaff8 | [
"Apache-2.0"
] | 46 | 2020-06-16T20:51:21.000Z | 2022-03-17T18:11:46.000Z | # import pytest
#
#
# @pytest.fixture(scope="module")
# def property_without():
# return {
# "@type": "And",
# "and": [
# {
# "@type": "AddTriple",
# "subject": {"@type": "NodeValue", "node": "Journey"},
# "predicate": {"@type": "NodeVa... | 38.433333 | 80 | 0.291042 | 407 | 8,071 | 5.751843 | 0.117936 | 0.183255 | 0.239641 | 0.174284 | 0.970525 | 0.970525 | 0.945323 | 0.841948 | 0.841948 | 0.841948 | 0 | 0 | 0.515054 | 8,071 | 209 | 81 | 38.617225 | 0.598109 | 0.948086 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
0a404a7d08feb281e1467e591748752bdc92fe06 | 118 | py | Python | src/wikify/tests/__init__.py | cburgmer/django-wikify | 866419a77346c1880f193cba32dec747e5b34dd5 | [
"BSD-3-Clause"
] | 3 | 2015-05-18T13:49:32.000Z | 2015-05-18T14:37:28.000Z | src/wikify/tests/__init__.py | cburgmer/django-wikify | 866419a77346c1880f193cba32dec747e5b34dd5 | [
"BSD-3-Clause"
] | null | null | null | src/wikify/tests/__init__.py | cburgmer/django-wikify | 866419a77346c1880f193cba32dec747e5b34dd5 | [
"BSD-3-Clause"
] | null | null | null | from wikify.tests.template_tests import *
from wikify.tests.view_tests import *
from wikify.tests.diff_tests import *
| 29.5 | 41 | 0.822034 | 18 | 118 | 5.222222 | 0.388889 | 0.319149 | 0.478723 | 0.446809 | 0.553191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 118 | 3 | 42 | 39.333333 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
6ae37fd51a0551d0d506982e878f7bf22c9365b3 | 2,805 | py | Python | gammagl/mpops/torch.py | BUPT-GAMMA/GammaGL | 2b9f32e1ac3533cb75a063243e8a2fa654466d18 | [
"Apache-2.0"
] | null | null | null | gammagl/mpops/torch.py | BUPT-GAMMA/GammaGL | 2b9f32e1ac3533cb75a063243e8a2fa654466d18 | [
"Apache-2.0"
] | null | null | null | gammagl/mpops/torch.py | BUPT-GAMMA/GammaGL | 2b9f32e1ac3533cb75a063243e8a2fa654466d18 | [
"Apache-2.0"
] | null | null | null | import torch
def unsorted_segment_sum(x, segment_ids, num_segments=None):
assert x.shape[0] == segment_ids.shape[0], "the length of segment_ids should be equal to data.shape[0]."
if num_segments is None:
num_segments = int(segment_ids.max().item()) + 1
# else:
# `rgcn` meet an error that `... | 38.958333 | 108 | 0.694474 | 446 | 2,805 | 4.174888 | 0.143498 | 0.214823 | 0.088614 | 0.067669 | 0.888292 | 0.87218 | 0.87218 | 0.868958 | 0.767991 | 0.692266 | 0 | 0.014212 | 0.172193 | 2,805 | 71 | 109 | 39.507042 | 0.787683 | 0.101248 | 0 | 0.560976 | 0 | 0 | 0.108765 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 1 | 0.146341 | false | 0 | 0.02439 | 0.073171 | 0.317073 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0a828f5276c958c8da70ada5539f6df44c46020e | 4,043 | py | Python | civis/tests/test_deprecate.py | mcoirad-gmmb/civis-python | 4286da93496cc7d15d876c9001ea3aa1ad359972 | [
"BSD-3-Clause"
] | 31 | 2016-11-14T14:26:24.000Z | 2021-11-19T15:43:45.000Z | civis/tests/test_deprecate.py | mcoirad-gmmb/civis-python | 4286da93496cc7d15d876c9001ea3aa1ad359972 | [
"BSD-3-Clause"
] | 296 | 2016-11-11T20:52:59.000Z | 2022-02-23T13:34:37.000Z | civis/tests/test_deprecate.py | zacharydfriedlander/civis-python | a1c21e96aa1a2b633ddf9b229d51fe7c00c1df7a | [
"BSD-3-Clause"
] | 40 | 2016-11-11T20:48:13.000Z | 2021-04-22T17:47:09.000Z | from civis import _deprecation
import pytest
def adder(param1, param2=0, param3=0):
return param1 + param2 + param3
def test_deprecate_kwarg():
# Verify that we get a warning if the deprecated parameter is
# used as a keyword argument.
decorated_func = _deprecation.deprecate_param('v2.0.0', 'param2... | 41.255102 | 77 | 0.685629 | 568 | 4,043 | 4.788732 | 0.132042 | 0.086029 | 0.046324 | 0.082353 | 0.917647 | 0.917647 | 0.907353 | 0.907353 | 0.907353 | 0.907353 | 0 | 0.032802 | 0.208261 | 4,043 | 97 | 78 | 41.680412 | 0.816932 | 0.107346 | 0 | 0.796875 | 0 | 0 | 0.356309 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.09375 | false | 0 | 0.03125 | 0.015625 | 0.140625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0acfcd91e59a4e655eb11355bd82b54fac8fea13 | 7,932 | py | Python | dependencies/src/4Suite-XML-1.0.2/test/Xml/Core/test_nss.py | aleasims/Peach | bb56841e943d719d5101fee0a503ed34308eda04 | [
"MIT"
] | null | null | null | dependencies/src/4Suite-XML-1.0.2/test/Xml/Core/test_nss.py | aleasims/Peach | bb56841e943d719d5101fee0a503ed34308eda04 | [
"MIT"
] | null | null | null | dependencies/src/4Suite-XML-1.0.2/test/Xml/Core/test_nss.py | aleasims/Peach | bb56841e943d719d5101fee0a503ed34308eda04 | [
"MIT"
] | 1 | 2020-07-26T03:57:45.000Z | 2020-07-26T03:57:45.000Z | from Ft.Xml import InputSource
from Ft.Xml import Domlette
def test_get_all_ns(tester, module):
tester.startGroup("GetAllNs")
src_1 = """
<foo:bar xmlns:foo='http://foo.com'><baz:bar xmlns:baz='http://baz.com'/>
</foo:bar>
"""
isrc = InputSource.DefaultFactory.fromString(src_1, "dummy")
doc = module.N... | 33.610169 | 86 | 0.647126 | 1,069 | 7,932 | 4.752105 | 0.086997 | 0.179134 | 0.079921 | 0.083661 | 0.845472 | 0.791929 | 0.788583 | 0.755118 | 0.741535 | 0.709252 | 0 | 0.017554 | 0.145361 | 7,932 | 235 | 87 | 33.753191 | 0.731819 | 0.016768 | 0 | 0.748768 | 0 | 0.009852 | 0.291816 | 0.002694 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014778 | false | 0 | 0.009852 | 0 | 0.039409 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0ae1530597704bf6ed038b0862f5f8b84f58b051 | 134 | py | Python | deepanimebot/exceptions.py | jmuddappa/DeepClassificationBot | 70aaa6787cf02e8a6b49a913af6496bc0f288b35 | [
"MIT"
] | null | null | null | deepanimebot/exceptions.py | jmuddappa/DeepClassificationBot | 70aaa6787cf02e8a6b49a913af6496bc0f288b35 | [
"MIT"
] | null | null | null | deepanimebot/exceptions.py | jmuddappa/DeepClassificationBot | 70aaa6787cf02e8a6b49a913af6496bc0f288b35 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from multiprocessing import TimeoutError
class NotImage(Exception): pass
class RemoteError(Exception): pass
| 19.142857 | 40 | 0.761194 | 15 | 134 | 6.8 | 0.8 | 0.254902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008547 | 0.126866 | 134 | 6 | 41 | 22.333333 | 0.863248 | 0.156716 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.666667 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
0af310c7fad70fd143d2f605a4a89ec224a02f77 | 136 | py | Python | src/ctc/protocols/balancer_utils/__init__.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 94 | 2022-02-15T19:34:49.000Z | 2022-03-26T19:26:22.000Z | src/ctc/protocols/balancer_utils/__init__.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 7 | 2022-03-03T02:58:47.000Z | 2022-03-11T18:41:05.000Z | src/ctc/protocols/balancer_utils/__init__.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 7 | 2022-02-15T17:53:07.000Z | 2022-03-17T19:14:17.000Z | from .pool_metadata import *
from .pool_plots import *
from .pool_state import *
from .pool_summary import *
from .pool_trades import *
| 22.666667 | 28 | 0.779412 | 20 | 136 | 5.05 | 0.4 | 0.39604 | 0.554455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 136 | 5 | 29 | 27.2 | 0.87069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
7c3936c6b0d3198caafe4626af76610345f62235 | 141,330 | py | Python | pybind/slxos/v16r_1_00b/brocade_mpls_rpc/get_mpls_ldp_session_detail/output/mpls_ldp_session_detail/summary/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/brocade_mpls_rpc/get_mpls_ldp_session_detail/output/mpls_ldp_session_detail/summary/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/brocade_mpls_rpc/get_mpls_ldp_session_detail/output/mpls_ldp_session_detail/summary/__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... | 73.609375 | 1,778 | 0.765018 | 17,478 | 141,330 | 5.908628 | 0.016363 | 0.050382 | 0.052599 | 0.034163 | 0.862091 | 0.848931 | 0.840885 | 0.829081 | 0.821121 | 0.806558 | 0 | 0.011974 | 0.118361 | 141,330 | 1,919 | 1,779 | 73.647733 | 0.816833 | 0.224729 | 0 | 0.5286 | 0 | 0.046351 | 0.348093 | 0.191327 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142012 | false | 0 | 0.009862 | 0 | 0.255424 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7c8d608bbf1bfaa94fe3e52f47b3ffe167910df4 | 46 | py | Python | fuckbrain/__main__.py | adrianliaw/fuckbrain | c6435325cef0df38e4d5decd24325e014f7d92b8 | [
"MIT"
] | 7 | 2016-06-14T13:59:03.000Z | 2021-06-20T08:48:55.000Z | fuckbrain/__main__.py | adrianliaw/fuckbrain | c6435325cef0df38e4d5decd24325e014f7d92b8 | [
"MIT"
] | null | null | null | fuckbrain/__main__.py | adrianliaw/fuckbrain | c6435325cef0df38e4d5decd24325e014f7d92b8 | [
"MIT"
] | 2 | 2018-01-26T08:09:14.000Z | 2021-06-20T04:33:56.000Z | from .install import install
import clime.now
| 15.333333 | 28 | 0.826087 | 7 | 46 | 5.428571 | 0.714286 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 46 | 2 | 29 | 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 | 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 | 7 |
7c8eaa309bd77b160ae55cadc3fccc78e3763a29 | 190 | py | Python | testagent/probes/__init__.py | patriziotufarolo/testagent | daf1a56bd208704dfd61d4c9f779f4ad7ee7d6cd | [
"BSD-3-Clause"
] | 1 | 2016-07-12T15:34:36.000Z | 2016-07-12T15:34:36.000Z | testagent/probes/__init__.py | patriziotufarolo/testagent | daf1a56bd208704dfd61d4c9f779f4ad7ee7d6cd | [
"BSD-3-Clause"
] | null | null | null | testagent/probes/__init__.py | patriziotufarolo/testagent | daf1a56bd208704dfd61d4c9f779f4ad7ee7d6cd | [
"BSD-3-Clause"
] | null | null | null | __author__ = 'Patrizio Tufarolo'
__email__ = 'patrizio.tufarolo@studenti.unimi.it'
'''
Project: testagent
Author: Patrizio Tufarolo <patrizio.tufarolo@studenti.unimi.it>
Date: 21/04/15
'''
| 21.111111 | 63 | 0.763158 | 23 | 190 | 5.956522 | 0.565217 | 0.467153 | 0.321168 | 0.423358 | 0.452555 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034884 | 0.094737 | 190 | 8 | 64 | 23.75 | 0.761628 | 0 | 0 | 0 | 0 | 0 | 0.619048 | 0.416667 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7ce0fc6d2f25fae324f2b1abc14ad7a4e3a3bcec | 11,309 | py | Python | tests/dhcpv6/classification/test_v6_classification_default_classes.py | shawnmullaney/forge | aaaef0a0645f73d24666aab6a400f3604e753aac | [
"0BSD"
] | null | null | null | tests/dhcpv6/classification/test_v6_classification_default_classes.py | shawnmullaney/forge | aaaef0a0645f73d24666aab6a400f3604e753aac | [
"0BSD"
] | null | null | null | tests/dhcpv6/classification/test_v6_classification_default_classes.py | shawnmullaney/forge | aaaef0a0645f73d24666aab6a400f3604e753aac | [
"0BSD"
] | null | null | null | """DHCPv6 Client Classification - default classes"""
# pylint: disable=invalid-name,line-too-long
import pytest
import misc
import srv_msg
import srv_control
@pytest.mark.v6
@pytest.mark.dhcp6
@pytest.mark.kea_only
@pytest.mark.classification
@pytest.mark.default_classes
def test_v6_client_classification_onesubnet... | 40.974638 | 92 | 0.738792 | 1,618 | 11,309 | 4.783066 | 0.051916 | 0.082956 | 0.089934 | 0.088384 | 0.983848 | 0.983848 | 0.983848 | 0.983848 | 0.983848 | 0.983848 | 0 | 0.031663 | 0.109117 | 11,309 | 275 | 93 | 41.123636 | 0.736476 | 0.007958 | 0 | 0.945946 | 0 | 0 | 0.191028 | 0.016053 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036036 | true | 0.054054 | 0.018018 | 0 | 0.054054 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
6b3c80574a4e72112c7353982a7d7446493c4b22 | 735 | py | Python | Python/Tests/TestData/AddImport/Parameters.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 404 | 2019-05-07T02:21:57.000Z | 2022-03-31T17:03:04.000Z | Python/Tests/TestData/AddImport/Parameters.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 1,672 | 2019-05-06T21:09:38.000Z | 2022-03-31T23:16:04.000Z | Python/Tests/TestData/AddImport/Parameters.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 186 | 2019-05-13T03:17:37.000Z | 2022-03-31T16:24:05.000Z | def f(getrecursionlimit = getrecursionlimit):
pass
def f(*getrecursionlimit):
pass
def f(**getrecursionlimit):
pass
def f(fob, getrecursionlimit):
pass
def f(x, *getrecursionlimit):
pass
def f(x, **getrecursionlimit):
pass
def f(fob, getrecursionlimit = getrecursionlimit):
pass
def f... | 14.134615 | 63 | 0.619048 | 70 | 735 | 6.5 | 0.128571 | 0.114286 | 0.632967 | 0.659341 | 0.986813 | 0.986813 | 0.98022 | 0.868132 | 0.859341 | 0.745055 | 0 | 0.003704 | 0.265306 | 735 | 52 | 64 | 14.134615 | 0.838889 | 0 | 0 | 0.435897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 10 |
861d5104d697f711dc198b98de9942950b3f76e0 | 210 | py | Python | cthaeh/tools/factories_common.py | ethereum/cthaeh | faec68da2a63d14329c7499e9161350cd2382c04 | [
"MIT"
] | 2 | 2020-09-17T11:23:18.000Z | 2021-11-04T14:15:27.000Z | cthaeh/tools/factories_common.py | ethereum/cthaeh | faec68da2a63d14329c7499e9161350cd2382c04 | [
"MIT"
] | 8 | 2020-04-28T18:23:44.000Z | 2020-05-05T00:51:09.000Z | cthaeh/tools/factories_common.py | ethereum/cthaeh | faec68da2a63d14329c7499e9161350cd2382c04 | [
"MIT"
] | 5 | 2020-04-27T18:30:54.000Z | 2022-03-28T18:55:30.000Z | import secrets
from eth_typing import Address, Hash32
def AddressFactory() -> Address:
return Address(secrets.token_bytes(20))
def Hash32Factory() -> Hash32:
return Hash32(secrets.token_bytes(32))
| 17.5 | 43 | 0.747619 | 26 | 210 | 5.923077 | 0.576923 | 0.155844 | 0.220779 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067416 | 0.152381 | 210 | 11 | 44 | 19.090909 | 0.797753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 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 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
8665bc00f3d6db99342e954970c79fcc1b224bf4 | 1,092 | py | Python | stests/core/factory/__init__.py | goral09/stests | 4de26485535cadf1b708188a7133a976536ccba3 | [
"Apache-2.0"
] | 4 | 2020-03-10T15:28:17.000Z | 2021-10-02T11:41:17.000Z | stests/core/factory/__init__.py | goral09/stests | 4de26485535cadf1b708188a7133a976536ccba3 | [
"Apache-2.0"
] | 1 | 2020-03-25T11:31:44.000Z | 2020-03-25T11:31:44.000Z | stests/core/factory/__init__.py | goral09/stests | 4de26485535cadf1b708188a7133a976536ccba3 | [
"Apache-2.0"
] | 9 | 2020-02-25T18:43:42.000Z | 2021-08-10T17:08:42.000Z | from stests.core.factory.chain import create_account
from stests.core.factory.chain import create_account_for_run
from stests.core.factory.chain import create_account_id
from stests.core.factory.chain import create_account_key
from stests.core.factory.chain import create_block_on_addition
from stests.core.factory.chain... | 54.6 | 73 | 0.8837 | 166 | 1,092 | 5.572289 | 0.168675 | 0.194595 | 0.272432 | 0.408649 | 0.944865 | 0.925405 | 0.925405 | 0.925405 | 0.294054 | 0 | 0 | 0 | 0.06685 | 1,092 | 20 | 74 | 54.6 | 0.907753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
8689e89d2f5026bbff04a18b6a2f55acf4152aef | 11,971 | py | Python | cvdb/imagecube.py | jhuapl-boss/cvdb | 07f41b362c5311a96ea9b962cf6126e18c0060d2 | [
"Apache-2.0"
] | null | null | null | cvdb/imagecube.py | jhuapl-boss/cvdb | 07f41b362c5311a96ea9b962cf6126e18c0060d2 | [
"Apache-2.0"
] | null | null | null | cvdb/imagecube.py | jhuapl-boss/cvdb | 07f41b362c5311a96ea9b962cf6126e18c0060d2 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 The Johns Hopkins University Applied Physics Laboratory
#
# 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... | 39.903333 | 120 | 0.593518 | 1,665 | 11,971 | 4.115315 | 0.13994 | 0.042032 | 0.048161 | 0.028021 | 0.903386 | 0.894337 | 0.894337 | 0.893608 | 0.893608 | 0.893608 | 0 | 0.018811 | 0.302815 | 11,971 | 299 | 121 | 40.036789 | 0.802181 | 0.486676 | 0 | 0.753086 | 0 | 0 | 0.013383 | 0 | 0 | 0 | 0 | 0.006689 | 0 | 1 | 0.197531 | false | 0.024691 | 0.049383 | 0 | 0.358025 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
86c3ff667c75b7e61daccc10b5286c941d64903c | 65,091 | py | Python | titus/test/lib/stat/testSample.py | jmilleralpine/hadrian | 6a438e0370487bbbac5e64a4d6d7a2728902d153 | [
"Apache-2.0"
] | 127 | 2015-08-05T17:08:35.000Z | 2019-10-17T07:07:08.000Z | titus/test/lib/stat/testSample.py | jmilleralpine/hadrian | 6a438e0370487bbbac5e64a4d6d7a2728902d153 | [
"Apache-2.0"
] | 54 | 2015-11-20T02:21:29.000Z | 2019-11-23T20:17:23.000Z | titus/test/lib/stat/testSample.py | jmilleralpine/hadrian | 6a438e0370487bbbac5e64a4d6d7a2728902d153 | [
"Apache-2.0"
] | 58 | 2015-05-27T18:19:29.000Z | 2019-05-23T12:37:17.000Z | #!/usr/bin/env python
# Copyright (C) 2014 Open Data ("Open Data" refers to
# one or more of the following companies: Open Data Partners LLC,
# Open Data Research LLC, or Open Data Capital LLC.)
#
# This file is part of Hadrian.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this... | 44.370143 | 542 | 0.614202 | 8,958 | 65,091 | 4.462938 | 0.059277 | 0.03892 | 0.044874 | 0.049426 | 0.879036 | 0.871683 | 0.863328 | 0.842517 | 0.781435 | 0.690538 | 0 | 0.17236 | 0.212503 | 65,091 | 1,466 | 543 | 44.400409 | 0.607581 | 0.011369 | 0 | 0.741269 | 0 | 0.042766 | 0.36354 | 0.017596 | 0 | 0 | 0 | 0 | 0.29722 | 1 | 0.022096 | false | 0 | 0.002138 | 0 | 0.024947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d4b4b9784f02f36ce7051081aac0346916727090 | 27,001 | py | Python | tests/kbcr/models/reasoning/test_reasoning.py | nagendra20001414/ctp | ee237653939f4b743b10ae9954169aa7076d4ce1 | [
"MIT"
] | null | null | null | tests/kbcr/models/reasoning/test_reasoning.py | nagendra20001414/ctp | ee237653939f4b743b10ae9954169aa7076d4ce1 | [
"MIT"
] | null | null | null | tests/kbcr/models/reasoning/test_reasoning.py | nagendra20001414/ctp | ee237653939f4b743b10ae9954169aa7076d4ce1 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import multiprocessing
import numpy as np
import torch
from torch import nn
from kbcr.kernels import GaussianKernel
from kbcr.models import NeuralKB
from kbcr.models.reasoning import SimpleHoppy, RecursiveHoppy
from kbcr.reformulators import SymbolicReformulator
import pytest
... | 37.763636 | 109 | 0.532795 | 3,667 | 27,001 | 3.651214 | 0.043905 | 0.041303 | 0.043917 | 0.070431 | 0.922399 | 0.905519 | 0.87176 | 0.835537 | 0.813653 | 0.80947 | 0 | 0.033219 | 0.333284 | 27,001 | 714 | 110 | 37.816527 | 0.710532 | 0.005185 | 0 | 0.736031 | 0 | 0 | 0.01029 | 0 | 0 | 0 | 0 | 0 | 0.102119 | 1 | 0.011561 | false | 0 | 0.017341 | 0 | 0.028902 | 0.025048 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d4f2d58a79c59dbb5e8ea8a499ab4984b80b8536 | 210 | py | Python | local_sendgrid/models/__init__.py | MasAval/django_sendgrid | 24e459d1551a2205c4a3622fc9fa3921ca0b4257 | [
"BSD-3-Clause"
] | null | null | null | local_sendgrid/models/__init__.py | MasAval/django_sendgrid | 24e459d1551a2205c4a3622fc9fa3921ca0b4257 | [
"BSD-3-Clause"
] | 4 | 2017-06-16T14:59:30.000Z | 2021-06-10T18:12:36.000Z | local_sendgrid/models/__init__.py | MasAval/django_sendgrid | 24e459d1551a2205c4a3622fc9fa3921ca0b4257 | [
"BSD-3-Clause"
] | null | null | null | # -*- encoding: utf-8 -*-
from .models import Campaign # noqa
from .models import Contact # noqa
from .models import ContactList # noqa
from .models import TransactionalEmail #noqa
from .events import * # noqa | 30 | 44 | 0.742857 | 27 | 210 | 5.777778 | 0.444444 | 0.25641 | 0.410256 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005682 | 0.161905 | 210 | 7 | 45 | 30 | 0.880682 | 0.22381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
be1e7cdff870fc58f6f2e2739d18206e52471cd8 | 2,866 | py | Python | s3Backups/models.py | uzairAK/serverom-panel | 3dcde05ad618e6bef280db7d3180f926fe2ab1db | [
"MIT"
] | null | null | null | s3Backups/models.py | uzairAK/serverom-panel | 3dcde05ad618e6bef280db7d3180f926fe2ab1db | [
"MIT"
] | null | null | null | s3Backups/models.py | uzairAK/serverom-panel | 3dcde05ad618e6bef280db7d3180f926fe2ab1db | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from django.db import models
from loginSystem.models import Administrator
# Create your models here.
class BackupPlan(models.Model):
owner = models.ForeignKey(Administrator, on_delete=models.CASCADE)
name = models.CharField(max_length=50, unique=True)
bucket = models.CharField(max... | 39.260274 | 72 | 0.753664 | 358 | 2,866 | 5.921788 | 0.170391 | 0.205189 | 0.246226 | 0.328302 | 0.85283 | 0.828302 | 0.828302 | 0.793396 | 0.793396 | 0.766509 | 0 | 0.029707 | 0.130844 | 2,866 | 73 | 73 | 39.260274 | 0.821357 | 0.01605 | 0 | 0.654545 | 0 | 0 | 0.009936 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.036364 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
07713e0624777de06acb495201ff6fa54ed9e689 | 35,092 | py | Python | src/olympia/discovery/tests/test_admin.py | Vishal19111999/addons-server | e7e5192e3b2121623103257617ccff1f9433b357 | [
"BSD-3-Clause"
] | null | null | null | src/olympia/discovery/tests/test_admin.py | Vishal19111999/addons-server | e7e5192e3b2121623103257617ccff1f9433b357 | [
"BSD-3-Clause"
] | null | null | null | src/olympia/discovery/tests/test_admin.py | Vishal19111999/addons-server | e7e5192e3b2121623103257617ccff1f9433b357 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from pyquery import PyQuery as pq
from olympia.amo.tests import TestCase, addon_factory, user_factory
from olympia.amo.urlresolvers import django_reverse, reverse
from olympia.discovery.models import DiscoveryItem
from olympia.hero.models import PrimaryHero, SecondaryHero, SecondaryHeroModule
... | 42.899756 | 79 | 0.622535 | 4,011 | 35,092 | 5.284717 | 0.063077 | 0.041044 | 0.048403 | 0.063405 | 0.87536 | 0.840638 | 0.818748 | 0.803651 | 0.793367 | 0.769354 | 0 | 0.011911 | 0.263137 | 35,092 | 817 | 80 | 42.952264 | 0.807719 | 0.045366 | 0 | 0.725105 | 0 | 0 | 0.137835 | 0.045945 | 0 | 0 | 0 | 0 | 0.244039 | 1 | 0.044881 | false | 0 | 0.007013 | 0.001403 | 0.057504 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0779ae7df80c3a4f7469ece6ad047a7d3a912071 | 14,197 | py | Python | lc0200_number_of_islands.py | bowen0701/python-algorithms-data-structures | e625f59a9fc59e4728825078d4434a7968a724e5 | [
"BSD-2-Clause"
] | 8 | 2019-03-18T06:37:24.000Z | 2022-01-30T07:50:58.000Z | lc0200_number_of_islands.py | bowen0701/python-algorithms-data-structures | e625f59a9fc59e4728825078d4434a7968a724e5 | [
"BSD-2-Clause"
] | null | null | null | lc0200_number_of_islands.py | bowen0701/python-algorithms-data-structures | e625f59a9fc59e4728825078d4434a7968a724e5 | [
"BSD-2-Clause"
] | null | null | null | """Leetcode 200. Number of Islands
Medium
URL: https://leetcode.com/problems/number-of-islands/description/
Given a 2d grid map of '1's (land) and '0's (water),
count the number of islands.
An island is surrounded by water and is formed by connecting
adjacent lands horizontally or vertically.
You may assume all f... | 31.339956 | 79 | 0.520603 | 1,921 | 14,197 | 3.744404 | 0.084852 | 0.014737 | 0.021688 | 0.036146 | 0.842208 | 0.829696 | 0.823439 | 0.817183 | 0.811622 | 0.789101 | 0 | 0.025275 | 0.339508 | 14,197 | 452 | 80 | 31.409292 | 0.741815 | 0.169402 | 0 | 0.779468 | 0 | 0 | 0.046538 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068441 | false | 0 | 0.015209 | 0.003802 | 0.197719 | 0.106464 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
077aae8d1fa0c5d280c94c85bcbc5b8224f2ff4a | 29,982 | py | Python | web3/_utils/module_testing/personal_module.py | shuklaayush/web3.py | 0079d9b27d419d596481e269039a76e31ea07789 | [
"MIT"
] | 1 | 2021-09-10T09:01:31.000Z | 2021-09-10T09:01:31.000Z | web3/_utils/module_testing/personal_module.py | shuklaayush/web3.py | 0079d9b27d419d596481e269039a76e31ea07789 | [
"MIT"
] | null | null | null | web3/_utils/module_testing/personal_module.py | shuklaayush/web3.py | 0079d9b27d419d596481e269039a76e31ea07789 | [
"MIT"
] | null | null | null | import json
import pytest
from typing import (
TYPE_CHECKING,
cast,
)
from eth_typing import (
ChecksumAddress,
)
from eth_utils import (
is_checksum_address,
is_list_like,
is_same_address,
is_string,
)
from hexbytes import (
HexBytes,
)
from web3 import (
constants,
)
from web3.ty... | 39.140992 | 100 | 0.530752 | 2,448 | 29,982 | 6.249183 | 0.073529 | 0.106681 | 0.082364 | 0.098052 | 0.925088 | 0.912276 | 0.907962 | 0.896653 | 0.881422 | 0.864492 | 0 | 0.050421 | 0.366286 | 29,982 | 765 | 101 | 39.192157 | 0.754737 | 0.013108 | 0 | 0.787143 | 0 | 0 | 0.395043 | 0.061067 | 0 | 0 | 0.043822 | 0.001307 | 0.1 | 1 | 0.055714 | false | 0.015714 | 0.024286 | 0 | 0.082857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
07aa4bcf6cdc900a715630cd71da02a557f68835 | 45,829 | py | Python | pyVmomi/_typeinfo_imagefactory.py | xweichu/pyvmomi | 77aedef02974a63517a079c482e49fd9890c09a4 | [
"Apache-2.0"
] | null | null | null | pyVmomi/_typeinfo_imagefactory.py | xweichu/pyvmomi | 77aedef02974a63517a079c482e49fd9890c09a4 | [
"Apache-2.0"
] | null | null | null | pyVmomi/_typeinfo_imagefactory.py | xweichu/pyvmomi | 77aedef02974a63517a079c482e49fd9890c09a4 | [
"Apache-2.0"
] | null | null | null | # ******* WARNING - AUTO GENERATED CODE - DO NOT EDIT *******
from .VmomiSupport import CreateDataType, CreateManagedType
from .VmomiSupport import CreateEnumType
from .VmomiSupport import AddVersion, AddVersionParent
from .VmomiSupport import AddBreakingChangesInfo
from .VmomiSupport import F_LINK, F_LINKABLE
from .Vm... | 316.062069 | 5,622 | 0.779528 | 4,119 | 45,829 | 8.589463 | 0.103909 | 0.250254 | 0.250311 | 0.098926 | 0.721368 | 0.644743 | 0.547428 | 0.466422 | 0.389316 | 0.338836 | 0 | 0.019834 | 0.045081 | 45,829 | 144 | 5,623 | 318.256944 | 0.788611 | 0.001287 | 0 | 0 | 1 | 0 | 0.721574 | 0.58294 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.057143 | 0 | 0.057143 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
07b2406a86e5f37c6e31babd5e0e947de8b18eaf | 124 | py | Python | custom_imports/__init__.py | Edris89/facto-cli | 5db9ff5c950c2163f634f27582adcb94ad0e9d9b | [
"MIT"
] | null | null | null | custom_imports/__init__.py | Edris89/facto-cli | 5db9ff5c950c2163f634f27582adcb94ad0e9d9b | [
"MIT"
] | null | null | null | custom_imports/__init__.py | Edris89/facto-cli | 5db9ff5c950c2163f634f27582adcb94ad0e9d9b | [
"MIT"
] | null | null | null |
from custom_imports import Install_server
from custom_imports import Update_server
from custom_imports import Remove_server | 31 | 41 | 0.903226 | 18 | 124 | 5.888889 | 0.444444 | 0.283019 | 0.481132 | 0.650943 | 0.54717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 124 | 4 | 42 | 31 | 0.946429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
07bdf2a492b5fbb4a85d39df5d9890552ab0839d | 71,463 | py | Python | src/eventgrid/azext_eventgrid/_help.py | houk-ms/azure-cli-extensions | 76904479fb1d00227e99c8785f3488190a077fa9 | [
"MIT"
] | 1 | 2020-03-25T05:03:17.000Z | 2020-03-25T05:03:17.000Z | src/eventgrid/azext_eventgrid/_help.py | houk-ms/azure-cli-extensions | 76904479fb1d00227e99c8785f3488190a077fa9 | [
"MIT"
] | null | null | null | src/eventgrid/azext_eventgrid/_help.py | houk-ms/azure-cli-extensions | 76904479fb1d00227e99c8785f3488190a077fa9 | [
"MIT"
] | 1 | 2020-07-16T23:49:49.000Z | 2020-07-16T23:49:49.000Z | # coding=utf-8
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# -----------------------------------------------------... | 55.87412 | 394 | 0.723045 | 8,881 | 71,463 | 5.813647 | 0.049769 | 0.056303 | 0.045031 | 0.039317 | 0.920629 | 0.899537 | 0.863977 | 0.832039 | 0.770913 | 0.720207 | 0 | 0.016228 | 0.183424 | 71,463 | 1,278 | 395 | 55.91784 | 0.868546 | 0.005947 | 0 | 0.580838 | 0 | 0.134303 | 0.973715 | 0.153724 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.000855 | 0 | 0.000855 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
07f03fbc9a816256903105bf45f54f4f45be9b8d | 15,656 | py | Python | model_load.py | rosivagyok/Attention | a4cd90dc5f992ae2fe5a7874628d04f531d4aebc | [
"MIT"
] | null | null | null | model_load.py | rosivagyok/Attention | a4cd90dc5f992ae2fe5a7874628d04f531d4aebc | [
"MIT"
] | null | null | null | model_load.py | rosivagyok/Attention | a4cd90dc5f992ae2fe5a7874628d04f531d4aebc | [
"MIT"
] | 1 | 2019-01-18T12:59:04.000Z | 2019-01-18T12:59:04.000Z | import keras
import numpy as np
from keras.models import Sequential
from keras.layers import Dense, Dropout, Activation, Flatten, LSTM
from keras.regularizers import l2
from keras.utils import np_utils
from experiments import get_cnf_mat
import keras.backend as K
from os.path import join, expanduser, exists
import os
f... | 43.610028 | 240 | 0.63292 | 2,160 | 15,656 | 4.466204 | 0.084722 | 0.104903 | 0.059708 | 0.047269 | 0.914067 | 0.906292 | 0.870944 | 0.851456 | 0.839328 | 0.839328 | 0 | 0.052021 | 0.201903 | 15,656 | 358 | 241 | 43.731844 | 0.720048 | 0.013924 | 0 | 0.717557 | 0 | 0 | 0.058561 | 0.017102 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022901 | false | 0 | 0.041985 | 0 | 0.087786 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6affc5422901263d6054be01632ec2f25f425d15 | 5,669 | py | Python | cossmo_tests/test_cossmo.py | PSI-Lab/COSSMO | 704772ffc6d406c6fd914a069c810845dfc6dde3 | [
"AFL-1.1"
] | 4 | 2018-07-06T07:17:03.000Z | 2019-04-26T03:16:40.000Z | cossmo_tests/test_cossmo.py | PSI-Lab/COSSMO | 704772ffc6d406c6fd914a069c810845dfc6dde3 | [
"AFL-1.1"
] | null | null | null | cossmo_tests/test_cossmo.py | PSI-Lab/COSSMO | 704772ffc6d406c6fd914a069c810845dfc6dde3 | [
"AFL-1.1"
] | 1 | 2021-01-26T06:27:02.000Z | 2021-01-26T06:27:02.000Z | import tensorflow as tf
import numpy as np
from cossmo.output_networks import BalancedOutputNetwork, RaggedOutputNetwork
class TestCOSSMO(tf.test.TestCase):
def test_cossmo_predictions(self):
with self.test_session() as sess:
num_outputs = 4
N = 20
k = 10
lo... | 38.304054 | 78 | 0.533604 | 662 | 5,669 | 4.297583 | 0.140483 | 0.091388 | 0.05413 | 0.047803 | 0.917399 | 0.88717 | 0.875923 | 0.875923 | 0.875923 | 0.793673 | 0 | 0.019074 | 0.371141 | 5,669 | 147 | 79 | 38.564626 | 0.778962 | 0 | 0 | 0.823529 | 0 | 0 | 0.00247 | 0 | 0 | 0 | 0 | 0 | 0.084034 | 1 | 0.033613 | false | 0 | 0.02521 | 0 | 0.07563 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ed1e64d902d8f1116064474ccf909ebefb78c834 | 49,189 | py | Python | vision_transform_codes/examples/basic_image_processing.py | spencerkent/vision-transform-codes | 63258ce698e436ee3ce29def75c89337759fb98b | [
"BSD-3-Clause"
] | null | null | null | vision_transform_codes/examples/basic_image_processing.py | spencerkent/vision-transform-codes | 63258ce698e436ee3ce29def75c89337759fb98b | [
"BSD-3-Clause"
] | null | null | null | vision_transform_codes/examples/basic_image_processing.py | spencerkent/vision-transform-codes | 63258ce698e436ee3ce29def75c89337759fb98b | [
"BSD-3-Clause"
] | null | null | null | """
Just some simple examples of how to use the image processing utils
"""
import _set_the_path
import pickle
import numpy as np
from matplotlib import pyplot as plt
from mpl_toolkits.axes_grid1 import make_axes_locatable
import utils.image_processing as im_proc
import utils.dataset_generation as dset_generation
impo... | 44.474684 | 82 | 0.655329 | 7,915 | 49,189 | 3.849905 | 0.055464 | 0.033145 | 0.03308 | 0.028551 | 0.858624 | 0.836571 | 0.821902 | 0.814715 | 0.806938 | 0.799619 | 0 | 0.042907 | 0.16705 | 49,189 | 1,105 | 83 | 44.514932 | 0.70082 | 0.038281 | 0 | 0.809721 | 0 | 0 | 0.099505 | 0.004503 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007239 | false | 0.005171 | 0.009307 | 0 | 0.016546 | 0.003102 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ed2765f109f17fe59fb8a28e0e32487ec8511889 | 136,490 | py | Python | code/pages/migrations/0013_auto_20170403_0843.py | eea/eea.docker.flis | 9bc78d9bf3436e9539f15a6a0ba9c2fd7a030907 | [
"BSD-3-Clause"
] | null | null | null | code/pages/migrations/0013_auto_20170403_0843.py | eea/eea.docker.flis | 9bc78d9bf3436e9539f15a6a0ba9c2fd7a030907 | [
"BSD-3-Clause"
] | null | null | null | code/pages/migrations/0013_auto_20170403_0843.py | eea/eea.docker.flis | 9bc78d9bf3436e9539f15a6a0ba9c2fd7a030907 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-04-03 08:43
from __future__ import unicode_literals
from django.db import migrations
import pages.blocks
import pages.snippets
import wagtail.wagtailcore.blocks
import wagtail.wagtailcore.fields
import wagtail.wagtailimages.blocks
import wagtail.wagtailsnipp... | 130.862895 | 170 | 0.077669 | 1,521 | 136,490 | 6.856673 | 0.113741 | 0.184677 | 0.241634 | 0.120242 | 0.874389 | 0.853677 | 0.849458 | 0.842363 | 0.715601 | 0.715601 | 0 | 0.002817 | 0.898579 | 136,490 | 1,042 | 171 | 130.988484 | 0.75056 | 0.000498 | 0 | 0.610039 | 1 | 0 | 0.033514 | 0.00173 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.007722 | 0 | 0.010618 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
ed36e35430bc4c6b234088acb8c9624a2ad250d9 | 375 | py | Python | zuoye03.py | qijiamin/test | 2eae37c18f43424d0568ad181b6340be46e5ab4c | [
"Apache-2.0"
] | null | null | null | zuoye03.py | qijiamin/test | 2eae37c18f43424d0568ad181b6340be46e5ab4c | [
"Apache-2.0"
] | null | null | null | zuoye03.py | qijiamin/test | 2eae37c18f43424d0568ad181b6340be46e5ab4c | [
"Apache-2.0"
] | null | null | null | print '1*1=2'
print '1*2=2 2*2=4'
print '1*3=3 2*3=6 3*3=9'
print '1*4=4 2*4=8 3*4=12 4*4=16'
print '1*5=5 2*5=10 3*5=15 4*5=20 5*5=25'
print '1*6=6 2*6=12 3*6=18 4*6=24 5*6=30 6*6=36'
print '1*7=7 2*7=14 3*7=21 4*7=28 5*7=35 6*7=42 7*7=49'
print '1*8=8 2*8=16 3*8=24 4*8=32 5*8=40 6*8=48 7*8=56 8*8=64'
print '1*9=9 2... | 41.666667 | 69 | 0.565333 | 144 | 375 | 1.472222 | 0.256944 | 0.254717 | 0.028302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.521875 | 0.146667 | 375 | 9 | 69 | 41.666667 | 0.140625 | 0 | 0 | 0 | 0 | 0.555556 | 0.784574 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 9 |
ed36ed5d610a18dad823c2e7c6177a34eeb93869 | 176 | py | Python | aspen_ssh/certificate_authorities/__init__.py | thinkwelltwd/aspen_ssh | 68cfab56187b63b6e22ab96fefe4c87171f7ccce | [
"Apache-2.0"
] | 1 | 2021-09-09T13:02:36.000Z | 2021-09-09T13:02:36.000Z | aspen_ssh/certificate_authorities/__init__.py | thinkwelltwd/aspen_ssh | 68cfab56187b63b6e22ab96fefe4c87171f7ccce | [
"Apache-2.0"
] | null | null | null | aspen_ssh/certificate_authorities/__init__.py | thinkwelltwd/aspen_ssh | 68cfab56187b63b6e22ab96fefe4c87171f7ccce | [
"Apache-2.0"
] | null | null | null | from .ed25519_certificate_authority import *
from .rsa_certificate_authority import *
from .ssh_certificate_authority import *
from .ssh_certificate_authority_factory import *
| 35.2 | 48 | 0.863636 | 21 | 176 | 6.809524 | 0.380952 | 0.559441 | 0.545455 | 0.629371 | 0.601399 | 0.601399 | 0.601399 | 0 | 0 | 0 | 0 | 0.03125 | 0.090909 | 176 | 4 | 49 | 44 | 0.8625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
ed36fa2ef4b1fa5769815dcb05e9e11cb254cb0f | 26,750 | py | Python | azext_iot/sdk/iothub/device/operations/device_operations.py | lucadruda/azure-iot-cli-extension | 9d2f677d19580f8fbac860e079550167e743a237 | [
"MIT"
] | 79 | 2017-09-25T19:29:17.000Z | 2022-03-30T20:55:57.000Z | azext_iot/sdk/iothub/device/operations/device_operations.py | lucadruda/azure-iot-cli-extension | 9d2f677d19580f8fbac860e079550167e743a237 | [
"MIT"
] | 305 | 2018-01-17T01:12:10.000Z | 2022-03-23T22:38:11.000Z | azext_iot/sdk/iothub/device/operations/device_operations.py | lucadruda/azure-iot-cli-extension | 9d2f677d19580f8fbac860e079550167e743a237 | [
"MIT"
] | 69 | 2017-11-14T00:30:46.000Z | 2022-03-01T17:11:45.000Z | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes ... | 44.141914 | 140 | 0.665159 | 3,075 | 26,750 | 5.61561 | 0.096585 | 0.046328 | 0.020385 | 0.030577 | 0.835186 | 0.826674 | 0.809648 | 0.802062 | 0.780519 | 0.774033 | 0 | 0.004236 | 0.241084 | 26,750 | 605 | 141 | 44.214876 | 0.846362 | 0.354131 | 0 | 0.72119 | 0 | 0 | 0.11576 | 0.048374 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037175 | false | 0.007435 | 0.018587 | 0 | 0.111524 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ed3d0b21c33214a92172e74b56cf0bfb650aff1b | 222 | py | Python | ThermalConductivity/__init__.py | a-dumont/Conductivite_Thermique | e708c9b963c58a0f7c83fa1f0f07519144886ae1 | [
"MIT"
] | null | null | null | ThermalConductivity/__init__.py | a-dumont/Conductivite_Thermique | e708c9b963c58a0f7c83fa1f0f07519144886ae1 | [
"MIT"
] | 12 | 2020-07-16T16:08:19.000Z | 2020-08-18T14:26:00.000Z | ThermalConductivity/__init__.py | a-dumont/Conductivite_Thermique | e708c9b963c58a0f7c83fa1f0f07519144886ae1 | [
"MIT"
] | 1 | 2020-07-17T00:36:58.000Z | 2020-07-17T00:36:58.000Z | import ThermalConductivity.Analysis
import ThermalConductivity.Gui
import ThermalConductivity.Comparison
import ThermalConductivity.Utilities
import ThermalConductivity.Visualization
import ThermalConductivity.Thermometry
| 31.714286 | 40 | 0.918919 | 18 | 222 | 11.333333 | 0.444444 | 0.735294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 222 | 6 | 41 | 37 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
ed8775fc643da955431092142b959db96723105e | 13,210 | py | Python | tests/test_0618-deprecation-for-selecting-within-multiple-records.py | BioGeek/awkward-1.0 | 0cfb4e43c41d5c7d9830cc7b1d750485c0a93eb2 | [
"BSD-3-Clause"
] | 519 | 2019-10-17T12:36:22.000Z | 2022-03-26T23:28:19.000Z | tests/test_0618-deprecation-for-selecting-within-multiple-records.py | BioGeek/awkward-1.0 | 0cfb4e43c41d5c7d9830cc7b1d750485c0a93eb2 | [
"BSD-3-Clause"
] | 924 | 2019-11-03T21:05:01.000Z | 2022-03-31T22:44:30.000Z | tests/test_0618-deprecation-for-selecting-within-multiple-records.py | BioGeek/awkward-1.0 | 0cfb4e43c41d5c7d9830cc7b1d750485c0a93eb2 | [
"BSD-3-Clause"
] | 56 | 2019-12-17T15:49:22.000Z | 2022-03-09T20:34:06.000Z | # BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE
from __future__ import absolute_import
import pytest # noqa: F401
import numpy as np # noqa: F401
import awkward as ak # noqa: F401
def test_flat():
array = ak.Array(
[
{"eta": {"up": 1, "down": 2}, "p... | 33.443038 | 88 | 0.375019 | 1,515 | 13,210 | 3.262706 | 0.035644 | 0.07283 | 0.110459 | 0.058264 | 0.959741 | 0.959741 | 0.959741 | 0.959741 | 0.959741 | 0.959741 | 0 | 0.063111 | 0.318698 | 13,210 | 394 | 89 | 33.527919 | 0.486111 | 0.008933 | 0 | 0.642298 | 0 | 0 | 0.144571 | 0 | 0 | 0 | 0 | 0 | 0.156658 | 1 | 0.010444 | false | 0 | 0.010444 | 0 | 0.020888 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
71ef09bb0472b330570d55cd114ff2a3dd3e73a8 | 37,070 | py | Python | tests/api/v3_1_1/test_guest_user.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 36 | 2021-05-18T16:24:19.000Z | 2022-03-05T13:44:41.000Z | tests/api/v3_1_1/test_guest_user.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 15 | 2021-06-08T19:03:37.000Z | 2022-02-25T14:47:33.000Z | tests/api/v3_1_1/test_guest_user.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 6 | 2021-06-10T09:32:01.000Z | 2022-01-12T08:34:39.000Z | # -*- coding: utf-8 -*-
"""IdentityServicesEngineAPI guest_user API fixtures and tests.
Copyright (c) 2021 Cisco and/or its affiliates.
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 res... | 30.162734 | 290 | 0.694227 | 4,518 | 37,070 | 5.33776 | 0.05467 | 0.105615 | 0.060209 | 0.041508 | 0.913875 | 0.908567 | 0.906162 | 0.900896 | 0.896625 | 0.880536 | 0 | 0.017049 | 0.223091 | 37,070 | 1,228 | 291 | 30.187296 | 0.820313 | 0.031184 | 0 | 0.722782 | 0 | 0 | 0.084245 | 0.025148 | 0 | 0 | 0 | 0 | 0.127016 | 1 | 0.105847 | false | 0.025202 | 0.00504 | 0 | 0.195565 | 0.021169 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
71f7484872bc48b1cec7541af11836c9679bbe89 | 12,034 | py | Python | tests/test_FBbasis3D.py | ComputationalCryoEM/ASPIRE | 6e6699eae532874de44b98adb7ddb2ad96c43d9d | [
"MIT"
] | null | null | null | tests/test_FBbasis3D.py | ComputationalCryoEM/ASPIRE | 6e6699eae532874de44b98adb7ddb2ad96c43d9d | [
"MIT"
] | 5 | 2019-06-07T13:25:29.000Z | 2019-06-18T20:34:37.000Z | tests/test_FBbasis3D.py | computationalcryoem/aspyre | 6e6699eae532874de44b98adb7ddb2ad96c43d9d | [
"MIT"
] | 1 | 2019-06-18T17:41:52.000Z | 2019-06-18T17:41:52.000Z | import numpy as np
from unittest import TestCase
from aspyre.basis.fb_3d import FBBasis3D
import os.path
DATA_DIR = os.path.join(os.path.dirname(__file__), 'saved_test_data')
class FBBasis3DTestCase(TestCase):
def setUp(self):
self.basis = FBBasis3D((8, 8, 8))
def tearDown(self):
pass
... | 61.712821 | 121 | 0.515955 | 1,623 | 12,034 | 3.808996 | 0.200246 | 0.015529 | 0.019896 | 0.023293 | 0.796344 | 0.78033 | 0.764316 | 0.753963 | 0.747654 | 0.747654 | 0 | 0.592562 | 0.28943 | 12,034 | 195 | 122 | 61.712821 | 0.130394 | 0 | 0 | 0.541899 | 0 | 0 | 0.009223 | 0.007312 | 0 | 0 | 0 | 0 | 0.044693 | 1 | 0.044693 | false | 0.005587 | 0.022346 | 0 | 0.072626 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
9c0e1735e8a47e2f38cc887bd3a2e3956438b95d | 2,802 | py | Python | 3.7.0/lldb-3.7.0.src/test/tools/lldb-mi/TestMiExit.py | androm3da/clang_sles | 2ba6d0711546ad681883c42dfb8661b842806695 | [
"MIT"
] | 3 | 2016-02-10T14:18:40.000Z | 2018-02-05T03:15:56.000Z | 3.7.0/lldb-3.7.0.src/test/tools/lldb-mi/TestMiExit.py | androm3da/clang_sles | 2ba6d0711546ad681883c42dfb8661b842806695 | [
"MIT"
] | 1 | 2016-02-10T15:40:03.000Z | 2016-02-10T15:40:03.000Z | 3.7.0/lldb-3.7.0.src/test/tools/lldb-mi/TestMiExit.py | androm3da/clang_sles | 2ba6d0711546ad681883c42dfb8661b842806695 | [
"MIT"
] | null | null | null | """
Test that the lldb-mi driver exits properly.
"""
import lldbmi_testcase
from lldbtest import *
import unittest2
class MiExitTestCase(lldbmi_testcase.MiTestCaseBase):
mydir = TestBase.compute_mydir(__file__)
@lldbmi_test
@expectedFailureWindows("llvm.org/pr22274: need a pexpect replacement for window... | 31.840909 | 87 | 0.62848 | 339 | 2,802 | 5.120944 | 0.250737 | 0.092166 | 0.048387 | 0.062212 | 0.815092 | 0.815092 | 0.796083 | 0.796083 | 0.796083 | 0.796083 | 0 | 0.01637 | 0.236974 | 2,802 | 87 | 88 | 32.206897 | 0.795603 | 0.223769 | 0 | 0.735849 | 0 | 0 | 0.244278 | 0.060252 | 0 | 0 | 0 | 0 | 0 | 1 | 0.056604 | false | 0 | 0.113208 | 0 | 0.207547 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9c4c78ad8d199beb842063842357d5f2d78ebf68 | 126 | py | Python | tests/conftest.py | viksrivat/aws-sam-cli | 079e7a927ee20b80903852f6da8029d4086c889b | [
"Apache-2.0"
] | 1 | 2019-08-14T18:41:56.000Z | 2019-08-14T18:41:56.000Z | tests/conftest.py | viksrivat/aws-sam-cli | 079e7a927ee20b80903852f6da8029d4086c889b | [
"Apache-2.0"
] | 30 | 2019-12-03T08:16:25.000Z | 2021-06-25T15:29:06.000Z | tests/conftest.py | viksrivat/aws-sam-cli | 079e7a927ee20b80903852f6da8029d4086c889b | [
"Apache-2.0"
] | 2 | 2019-08-28T22:24:09.000Z | 2019-08-28T23:07:00.000Z |
import os
if "__SAM_CLI_TELEMETRY_ENDPOINT_URL" not in os.environ:
os.environ["__SAM_CLI_TELEMETRY_ENDPOINT_URL"] = ""
| 18 | 56 | 0.769841 | 19 | 126 | 4.473684 | 0.578947 | 0.141176 | 0.352941 | 0.541176 | 0.611765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134921 | 126 | 6 | 57 | 21 | 0.779817 | 0 | 0 | 0 | 0 | 0 | 0.512 | 0.512 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
9c725aa4396e61d092a1174e296108e14f49589a | 44,282 | py | Python | tests/ga4gh/trs/test_server.py | lvarin/trs-filer | 392b4e0db402f04eb4ab140d4b3b8e7ee88120fa | [
"Apache-2.0"
] | null | null | null | tests/ga4gh/trs/test_server.py | lvarin/trs-filer | 392b4e0db402f04eb4ab140d4b3b8e7ee88120fa | [
"Apache-2.0"
] | null | null | null | tests/ga4gh/trs/test_server.py | lvarin/trs-filer | 392b4e0db402f04eb4ab140d4b3b8e7ee88120fa | [
"Apache-2.0"
] | null | null | null | """Unit tests for endpoint controllers."""
from copy import deepcopy
from flask import Flask
from foca.models.config import (Config, MongoConfig)
import mongomock
import pytest
from tests.mock_data import (
ENDPOINT_CONFIG,
HEADERS_PAGINATION,
MOCK_FILES_DB_ENTRY,
MOCK_ID,
MOCK_TOOL_CLASS,
MO... | 36.119086 | 80 | 0.657242 | 5,032 | 44,282 | 5.541932 | 0.040143 | 0.053896 | 0.07785 | 0.064008 | 0.87184 | 0.852189 | 0.839531 | 0.824219 | 0.808334 | 0.799584 | 0 | 0.000863 | 0.214624 | 44,282 | 1,225 | 81 | 36.148571 | 0.800995 | 0.148503 | 0 | 0.721436 | 0 | 0 | 0.078743 | 0.001133 | 0 | 0 | 0 | 0 | 0.031556 | 1 | 0.053319 | false | 0 | 0.008705 | 0 | 0.063112 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
13470a59ef43cb2e64978fe5d91ccd23977e3672 | 4,941 | py | Python | code/lxmert/src/utils.py | e-bug/mpre-unmasked | cd12250b58152a558e15a33113bf98d90b88e776 | [
"MIT"
] | 5 | 2020-12-08T12:38:48.000Z | 2021-11-25T13:19:16.000Z | code/lxmert/src/utils.py | e-bug/mpre-unmasked | cd12250b58152a558e15a33113bf98d90b88e776 | [
"MIT"
] | null | null | null | code/lxmert/src/utils.py | e-bug/mpre-unmasked | cd12250b58152a558e15a33113bf98d90b88e776 | [
"MIT"
] | null | null | null | # coding=utf-8
# Copyleft 2019 Project LXRT
import sys
import csv
import base64
import time
import json
from tqdm import tqdm
import numpy as np
csv.field_size_limit(sys.maxsize)
#FIELDNAMES = ["img_id", "img_h", "img_w", "objects_id", "objects_conf",
# "attrs_id", "attrs_conf", "num_boxes", "boxes", "fe... | 37.431818 | 90 | 0.573366 | 658 | 4,941 | 4.191489 | 0.18997 | 0.053299 | 0.019579 | 0.030457 | 0.829224 | 0.829224 | 0.829224 | 0.819797 | 0.819797 | 0.819797 | 0 | 0.018005 | 0.291844 | 4,941 | 131 | 91 | 37.717557 | 0.77022 | 0.198543 | 0 | 0.711111 | 0 | 0 | 0.136668 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044444 | false | 0 | 0.077778 | 0 | 0.155556 | 0.044444 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1355ef0dbd640f58d41b0f818f64df4f0b7afd62 | 9,265 | py | Python | rdmo/questions/migrations/0042_remove_null_true.py | Raspeanut/rdmo | 9f785010a499c372a2f8368ccf76d2ea4150adcb | [
"Apache-2.0"
] | 77 | 2016-08-09T11:40:20.000Z | 2022-03-06T11:03:26.000Z | rdmo/questions/migrations/0042_remove_null_true.py | Raspeanut/rdmo | 9f785010a499c372a2f8368ccf76d2ea4150adcb | [
"Apache-2.0"
] | 377 | 2016-07-01T13:59:36.000Z | 2022-03-30T13:53:19.000Z | rdmo/questions/migrations/0042_remove_null_true.py | Raspeanut/rdmo | 9f785010a499c372a2f8368ccf76d2ea4150adcb | [
"Apache-2.0"
] | 47 | 2016-06-23T11:32:19.000Z | 2022-03-01T11:34:37.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.16 on 2019-03-13 11:54
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('questions', '0041_data_migration'),
]
operations = [
migrations.AlterField... | 49.811828 | 170 | 0.629466 | 1,032 | 9,265 | 5.498062 | 0.080426 | 0.054988 | 0.149806 | 0.173775 | 0.941311 | 0.932499 | 0.917342 | 0.761015 | 0.761015 | 0.761015 | 0 | 0.017411 | 0.256125 | 9,265 | 185 | 171 | 50.081081 | 0.805862 | 0.007447 | 0 | 0.735955 | 1 | 0 | 0.308931 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.011236 | 0 | 0.02809 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
13bf1d6ef983b08f331a6b9cda45fd928b9cc5e6 | 9,275 | py | Python | hypha/apply/funds/migrations/0015_link_user_to_application.py | maxpearl/hypha | e181ebadfb744aab34617bb766e746368d6f2de0 | [
"BSD-3-Clause"
] | 20 | 2021-04-08T16:38:49.000Z | 2022-02-09T20:05:57.000Z | hypha/apply/funds/migrations/0015_link_user_to_application.py | maxpearl/hypha | e181ebadfb744aab34617bb766e746368d6f2de0 | [
"BSD-3-Clause"
] | 1,098 | 2017-12-15T11:23:03.000Z | 2020-01-24T07:58:07.000Z | hypha/apply/funds/migrations/0015_link_user_to_application.py | maxpearl/hypha | e181ebadfb744aab34617bb766e746368d6f2de0 | [
"BSD-3-Clause"
] | 17 | 2020-02-07T14:55:54.000Z | 2021-04-04T19:32:38.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.8 on 2018-02-01 16:45
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import hypha.apply.categories.blocks
import wagtail.core.blocks
import wagtail.core.blocks.static_b... | 127.054795 | 6,486 | 0.717736 | 1,090 | 9,275 | 6.012844 | 0.127523 | 0.15441 | 0.233445 | 0.091242 | 0.830027 | 0.815227 | 0.804089 | 0.778914 | 0.778914 | 0.770217 | 0 | 0.004696 | 0.104582 | 9,275 | 72 | 6,487 | 128.819444 | 0.784467 | 0.007332 | 0 | 0.661538 | 1 | 0 | 0.223707 | 0.007279 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.123077 | 0 | 0.169231 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
13c598dc49496553ba1dfe1e1214ff4bad5e74ea | 44,655 | py | Python | intersight/api/deviceconnector_api.py | sdnit-se/intersight-python | 551f7685c0f76bb8af60ec83ffb6f9672d49a4ae | [
"Apache-2.0"
] | 21 | 2018-03-29T14:20:35.000Z | 2021-10-13T05:11:41.000Z | intersight/api/deviceconnector_api.py | sdnit-se/intersight-python | 551f7685c0f76bb8af60ec83ffb6f9672d49a4ae | [
"Apache-2.0"
] | 14 | 2018-01-30T15:45:46.000Z | 2022-02-23T14:23:21.000Z | intersight/api/deviceconnector_api.py | sdnit-se/intersight-python | 551f7685c0f76bb8af60ec83ffb6f9672d49a4ae | [
"Apache-2.0"
] | 18 | 2018-01-03T15:09:56.000Z | 2021-07-16T02:21:54.000Z | # coding: utf-8
"""
Cisco Intersight
Cisco Intersight is a management platform delivered as a service with embedded analytics for your Cisco and 3rd party IT infrastructure. This platform offers an intelligent level of management that enables IT organizations to analyze, simplify, and automate their environmen... | 54.993842 | 1,389 | 0.633613 | 5,064 | 44,655 | 5.392773 | 0.079581 | 0.034567 | 0.054341 | 0.019774 | 0.922883 | 0.921418 | 0.917134 | 0.911458 | 0.878428 | 0.87722 | 0 | 0.012038 | 0.300549 | 44,655 | 811 | 1,390 | 55.061652 | 0.862298 | 0.514769 | 0 | 0.779126 | 0 | 0 | 0.184881 | 0.085594 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031553 | false | 0 | 0.012136 | 0 | 0.075243 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b915e55ddd51af98dbe72a126b972609e6acb59f | 3,578 | py | Python | tests/test_clue.py | stesla/arxtools | 7f1a3b973e3d78faed4085d547b7d27ebcd9838d | [
"MIT"
] | null | null | null | tests/test_clue.py | stesla/arxtools | 7f1a3b973e3d78faed4085d547b7d27ebcd9838d | [
"MIT"
] | null | null | null | tests/test_clue.py | stesla/arxtools | 7f1a3b973e3d78faed4085d547b7d27ebcd9838d | [
"MIT"
] | null | null | null | from arxtools.clue import Clue, parse_clue
import pytest
def test_parse_shared_clue_with_note():
html='''
<tr>
<td valign="top">42</td>
<td valign="top"><b>Clue Title</b></td>
<td valign="top">
Line 1
<br>
<br>
Line 2
<br>
<br>
Line 3
<div class="well">
<br/> <br/>
... | 22.789809 | 92 | 0.573784 | 536 | 3,578 | 3.738806 | 0.115672 | 0.098802 | 0.115269 | 0.090818 | 0.833832 | 0.833832 | 0.828842 | 0.828842 | 0.77994 | 0.758982 | 0 | 0.009591 | 0.242314 | 3,578 | 156 | 93 | 22.935897 | 0.72962 | 0 | 0 | 0.831081 | 0 | 0.006757 | 0.628004 | 0 | 0 | 0 | 0 | 0 | 0.128378 | 1 | 0.054054 | false | 0 | 0.013514 | 0 | 0.067568 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b91af13faa7dcc218662ea24ee69ffec4a1e37ef | 6,364 | py | Python | strawberry/schema/execute.py | Skeen/strawberry | 0fdce9f76d2c38d47c7a5eaddb3b15863b039ba4 | [
"MIT"
] | null | null | null | strawberry/schema/execute.py | Skeen/strawberry | 0fdce9f76d2c38d47c7a5eaddb3b15863b039ba4 | [
"MIT"
] | null | null | null | strawberry/schema/execute.py | Skeen/strawberry | 0fdce9f76d2c38d47c7a5eaddb3b15863b039ba4 | [
"MIT"
] | 1 | 2021-10-02T21:54:38.000Z | 2021-10-02T21:54:38.000Z | from asyncio import ensure_future
from inspect import isawaitable
from typing import Any, Awaitable, Collection, List, Optional, Sequence, Type, cast
from graphql import (
ExecutionContext as GraphQLExecutionContext,
ExecutionResult as GraphQLExecutionResult,
GraphQLError,
GraphQLSchema,
execute as... | 36.159091 | 88 | 0.668605 | 578 | 6,364 | 7.155709 | 0.183391 | 0.135397 | 0.048356 | 0.04207 | 0.811896 | 0.787718 | 0.787718 | 0.787718 | 0.787718 | 0.787718 | 0 | 0 | 0.265242 | 6,364 | 175 | 89 | 36.365714 | 0.884517 | 0.045097 | 0 | 0.760563 | 0 | 0 | 0.008402 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007042 | false | 0 | 0.056338 | 0 | 0.119718 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b92aaf6a6f7af16fe043d87575e4cda61e14544e | 235,496 | py | Python | tps/graphs/mazes/walled_maze-50x25.py | boisgera/python-fr | 583f7eae7baa949461464e9b53a415be16c1dd3e | [
"CC-BY-4.0"
] | null | null | null | tps/graphs/mazes/walled_maze-50x25.py | boisgera/python-fr | 583f7eae7baa949461464e9b53a415be16c1dd3e | [
"CC-BY-4.0"
] | null | null | null | tps/graphs/mazes/walled_maze-50x25.py | boisgera/python-fr | 583f7eae7baa949461464e9b53a415be16c1dd3e | [
"CC-BY-4.0"
] | null | null | null | ({(26, 21), (18, 17), (42, 2), (8, 9), (0, 5), (19, 18), (11, 14), (34, 3), (45, 12), (37, 8), (3, 15), (14, 24), (46, 13), (38, 9), (49, 18), (7, 21), (48, 22), (30, 4), (41, 19), (33, 15), (25, 11), (44, 24), (22, 5), (14, 1), (34, 16), (37, 21), (15, 2), (26, 11), (18, 7), (29, 22), (21, 18), (11, 4), (44, 1), (10, ... | 235,496 | 235,496 | 0.336269 | 50,500 | 235,496 | 1.568119 | 0.00099 | 0.121834 | 0.007577 | 0.000695 | 0.439689 | 0.015772 | 0.001339 | 0 | 0 | 0 | 0 | 0.417235 | 0.194054 | 235,496 | 1 | 235,496 | 235,496 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b9301a550e76dfe54eba87a121e225e51eeb7e38 | 2,508 | py | Python | tests/ribbon/loadbalancer/server_test.py | haribo0915/Spring-Cloud-in-Python | 0bcd7093869c797df14428bf2d1b0a779f96e573 | [
"Apache-2.0"
] | 5 | 2020-10-06T09:48:23.000Z | 2020-10-07T13:19:46.000Z | tests/ribbon/loadbalancer/server_test.py | haribo0915/Spring-Cloud-in-Python | 0bcd7093869c797df14428bf2d1b0a779f96e573 | [
"Apache-2.0"
] | 5 | 2020-10-05T09:57:01.000Z | 2020-10-12T19:52:48.000Z | tests/ribbon/loadbalancer/server_test.py | haribo0915/Spring-Cloud-in-Python | 0bcd7093869c797df14428bf2d1b0a779f96e573 | [
"Apache-2.0"
] | 8 | 2020-10-05T06:34:49.000Z | 2020-10-07T13:19:46.000Z | # -*- coding: utf-8 -*-
__author__ = "MJ (tsngmj@gmail.com)"
__license__ = "Apache 2.0"
# pypi/conda library
import pytest
# scip plugin
from ribbon.loadbalancer.server import Server
def test_init_given_uri():
server = Server(uri="http://127.0.0.1:56747")
assert server.host == "127.0.0.1"
assert server... | 28.5 | 84 | 0.714514 | 390 | 2,508 | 4.287179 | 0.184615 | 0.062799 | 0.044856 | 0.053828 | 0.824163 | 0.788876 | 0.779904 | 0.751794 | 0.751794 | 0.699761 | 0 | 0.087646 | 0.144737 | 2,508 | 87 | 85 | 28.827586 | 0.691841 | 0.020734 | 0 | 0.333333 | 0 | 0 | 0.161501 | 0.017537 | 0 | 0 | 0 | 0 | 0.137255 | 1 | 0.294118 | false | 0 | 0.039216 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b94cc7827a0c2cb3ba409a9da830ebdca345d4ad | 79,447 | py | Python | isi_sdk_8_0_1/isi_sdk_8_0_1/api/statistics_api.py | mohitjain97/isilon_sdk_python | a371f438f542568edb8cda35e929e6b300b1177c | [
"Unlicense"
] | 24 | 2018-06-22T14:13:23.000Z | 2022-03-23T01:21:26.000Z | isi_sdk_8_0_1/isi_sdk_8_0_1/api/statistics_api.py | mohitjain97/isilon_sdk_python | a371f438f542568edb8cda35e929e6b300b1177c | [
"Unlicense"
] | 46 | 2018-04-30T13:28:22.000Z | 2022-03-21T21:11:07.000Z | isi_sdk_8_0_1/isi_sdk_8_0_1/api/statistics_api.py | mohitjain97/isilon_sdk_python | a371f438f542568edb8cda35e929e6b300b1177c | [
"Unlicense"
] | 29 | 2018-06-19T00:14:04.000Z | 2022-02-08T17:51:19.000Z | # coding: utf-8
"""
Isilon SDK
Isilon SDK - Language bindings for the OneFS API # noqa: E501
OpenAPI spec version: 4
Contact: sdk@isilon.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and pyth... | 51.355527 | 384 | 0.639936 | 9,886 | 79,447 | 4.964799 | 0.046328 | 0.044334 | 0.035675 | 0.030194 | 0.950206 | 0.941119 | 0.930728 | 0.92704 | 0.926348 | 0.923658 | 0 | 0.015569 | 0.269954 | 79,447 | 1,546 | 385 | 51.388745 | 0.830672 | 0.480383 | 0 | 0.77451 | 1 | 0.001225 | 0.190302 | 0.039679 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033088 | false | 0 | 0.004902 | 0 | 0.08701 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b9607fc0afa61d69ef31f89ca70ce50e26842116 | 170 | py | Python | pystiche/papers/__init__.py | jbueltemeier/pystiche | 0d0707121e63c4355303446e62a4894e86a7b763 | [
"BSD-3-Clause"
] | null | null | null | pystiche/papers/__init__.py | jbueltemeier/pystiche | 0d0707121e63c4355303446e62a4894e86a7b763 | [
"BSD-3-Clause"
] | null | null | null | pystiche/papers/__init__.py | jbueltemeier/pystiche | 0d0707121e63c4355303446e62a4894e86a7b763 | [
"BSD-3-Clause"
] | null | null | null | from .gatys_ecker_bethge_2015 import *
from .gatys_et_al_2017 import *
from .johnson_alahi_li_2016 import *
from .li_wand_2016 import *
from .ulyanov_et_al_2016 import *
| 28.333333 | 38 | 0.823529 | 29 | 170 | 4.344828 | 0.517241 | 0.31746 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0.117647 | 170 | 5 | 39 | 34 | 0.706667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
b9743a8e5e8d5b7ffd2d0a9b52d7cb4b68644a53 | 6,377 | py | Python | tests/unit/status/base_status/test_init.py | akuzminsky/twindb-mysql-backup | 35755f18efb372dd05f856ca4732fba796de2549 | [
"Apache-2.0"
] | 1 | 2019-03-22T00:04:40.000Z | 2019-03-22T00:04:40.000Z | tests/unit/status/base_status/test_init.py | akuzminsky/twindb-mysql-backup | 35755f18efb372dd05f856ca4732fba796de2549 | [
"Apache-2.0"
] | null | null | null | tests/unit/status/base_status/test_init.py | akuzminsky/twindb-mysql-backup | 35755f18efb372dd05f856ca4732fba796de2549 | [
"Apache-2.0"
] | 1 | 2019-03-21T16:03:11.000Z | 2019-03-21T16:03:11.000Z | import mock
import pytest
from twindb_backup.status.base_status import BaseStatus
from twindb_backup.status.exceptions import CorruptedStatus
def test_init_none():
status = BaseStatus()
assert type(status) == BaseStatus
assert len(status) == 0
def test_init_empty_raises():
with pytest.raises(Corrup... | 50.212598 | 509 | 0.552454 | 516 | 6,377 | 6.633721 | 0.164729 | 0.04499 | 0.015776 | 0.021034 | 0.859772 | 0.823547 | 0.768624 | 0.768624 | 0.740578 | 0.740578 | 0 | 0.102249 | 0.323663 | 6,377 | 126 | 510 | 50.611111 | 0.691398 | 0 | 0 | 0.660714 | 0 | 0.0625 | 0.663635 | 0.311745 | 0 | 0 | 0 | 0 | 0.071429 | 1 | 0.053571 | false | 0 | 0.035714 | 0 | 0.089286 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b97f86b951fa6cc5eb8262280f55d3466c9ad383 | 6,387 | py | Python | Robotix/apps/team/migrations/0001_initial.py | Robotix/rbtxportal | 3a63f8d90adee3b7adb7d203959fbf4ad5d9488b | [
"BSD-3-Clause"
] | null | null | null | Robotix/apps/team/migrations/0001_initial.py | Robotix/rbtxportal | 3a63f8d90adee3b7adb7d203959fbf4ad5d9488b | [
"BSD-3-Clause"
] | null | null | null | Robotix/apps/team/migrations/0001_initial.py | Robotix/rbtxportal | 3a63f8d90adee3b7adb7d203959fbf4ad5d9488b | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-01-27 17:05
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('miscellaneous', '0001_initial'),
... | 67.231579 | 254 | 0.628151 | 696 | 6,387 | 5.607759 | 0.16092 | 0.10146 | 0.061491 | 0.092237 | 0.88163 | 0.88163 | 0.878555 | 0.878555 | 0.878555 | 0.878555 | 0 | 0.011576 | 0.229059 | 6,387 | 94 | 255 | 67.946809 | 0.781072 | 0.010647 | 0 | 0.697674 | 1 | 0.034884 | 0.272641 | 0.028182 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.034884 | 0 | 0.081395 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b9aa0d92bdecc901544ee93937fb42e8548d746f | 36,258 | py | Python | src/azure-cli/azure/cli/command_modules/synapse/generated/_params.py | YuanyuanNi/azure-cli | 63844964374858bfacd209bfe1b69eb456bd64ca | [
"MIT"
] | 3,287 | 2016-07-26T17:34:33.000Z | 2022-03-31T09:52:13.000Z | src/azure-cli/azure/cli/command_modules/synapse/generated/_params.py | YuanyuanNi/azure-cli | 63844964374858bfacd209bfe1b69eb456bd64ca | [
"MIT"
] | 19,206 | 2016-07-26T07:04:42.000Z | 2022-03-31T23:57:09.000Z | src/azure-cli/azure/cli/command_modules/synapse/generated/_params.py | YuanyuanNi/azure-cli | 63844964374858bfacd209bfe1b69eb456bd64ca | [
"MIT"
] | 2,575 | 2016-07-26T06:44:40.000Z | 2022-03-31T22:56:06.000Z | # --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incor... | 75.853556 | 120 | 0.660902 | 4,970 | 36,258 | 4.630382 | 0.045674 | 0.098944 | 0.082214 | 0.104637 | 0.977491 | 0.975405 | 0.973884 | 0.971842 | 0.967062 | 0.957024 | 0 | 0.002288 | 0.216394 | 36,258 | 477 | 121 | 76.012579 | 0.807687 | 0.013956 | 0 | 0.866667 | 0 | 0 | 0.465389 | 0.046419 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002381 | false | 0 | 0.007143 | 0 | 0.009524 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.