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
04a416e842b9ba4d9d5f556c263ba74d40130a80
331
py
Python
settings.py
rudolfce/character-sheeter
bff819831664119c618b003d102e27e0705db877
[ "MIT" ]
null
null
null
settings.py
rudolfce/character-sheeter
bff819831664119c618b003d102e27e0705db877
[ "MIT" ]
null
null
null
settings.py
rudolfce/character-sheeter
bff819831664119c618b003d102e27e0705db877
[ "MIT" ]
1
2020-05-05T22:02:55.000Z
2020-05-05T22:02:55.000Z
"""Main settings for the Character Sheeter project.""" from decouple import config SQLALCHEMY_DATABASE_URI = config('SQLALCHEMY_DATABASE_URI', default='sqlite:////tmp/test.db') SQLALCHEMY_TRACK_MODIFICATIONS = config('SQLALCHEMY_TRACK_MODIFICATIONS', default=False, cast=bool) SECRET_KEY = config('SECRET_KEY', defaul...
36.777778
99
0.794562
41
331
6.170732
0.658537
0.189723
0.189723
0.213439
0
0
0
0
0
0
0
0
0.081571
331
8
100
41.375
0.832237
0.145015
0
0
0
0
0.32491
0.270758
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
04a562d4edd37f25f2f999bfc2af92292be77bf5
785
py
Python
src/Company/RegisterTools/TimeRegister.py
joaolevi/payroll_v2
ceae90190ffaa3ec5b8de90cd83fdb752e28bf34
[ "MIT" ]
1
2021-06-23T13:34:31.000Z
2021-06-23T13:34:31.000Z
src/Company/RegisterTools/TimeRegister.py
joaolevi/payroll_v2
ceae90190ffaa3ec5b8de90cd83fdb752e28bf34
[ "MIT" ]
null
null
null
src/Company/RegisterTools/TimeRegister.py
joaolevi/payroll_v2
ceae90190ffaa3ec5b8de90cd83fdb752e28bf34
[ "MIT" ]
null
null
null
class TimeRegister: def __init__(self, emp_id, date, hours): self.emp_id = emp_id self.date = date self.hours = hours def get_emp_id(self): return self.emp_id def set_emp_id(self, new_id): self.emp_id = new_id def get_date(self): return self.__date d...
27.068966
89
0.624204
109
785
4.12844
0.229358
0.088889
0.1
0.057778
0
0
0
0
0
0
0
0
0.276433
785
29
89
27.068966
0.792254
0
0
0
0
0
0.043257
0
0
0
0
0
0
1
0.434783
false
0
0
0.217391
0.695652
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
04b41d943c97178d0addd828c57db4efc1e70e6b
2,848
py
Python
docs/cornell CS class/lesson 26. While-Loops/demos/comparison.py
LizzieDeng/kalman_fliter_analysis
50e728f32c496c3fcbb8ca3ee00857b999b88d99
[ "MIT" ]
null
null
null
docs/cornell CS class/lesson 26. While-Loops/demos/comparison.py
LizzieDeng/kalman_fliter_analysis
50e728f32c496c3fcbb8ca3ee00857b999b88d99
[ "MIT" ]
null
null
null
docs/cornell CS class/lesson 26. While-Loops/demos/comparison.py
LizzieDeng/kalman_fliter_analysis
50e728f32c496c3fcbb8ca3ee00857b999b88d99
[ "MIT" ]
null
null
null
""" A module to illustrate difference between for-loops and while-loops Author: Walker M. White (wmw2) Date: November 1, 2019 """ import math def increment_for(seq): """ Increments each element of seq Parameter seq: list to increment Precondition: seq is a list of integers """ for k in...
20.941176
67
0.578301
434
2,848
3.762673
0.218894
0.011023
0.036742
0.04654
0.719535
0.70545
0.70545
0.687079
0.687079
0.654011
0
0.022774
0.321629
2,848
136
68
20.941176
0.822464
0.536517
0
0.55814
0
0
0
0
0
0
0
0
0
1
0.186047
false
0
0.023256
0
0.348837
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
04c0ec981a27232838089cf796e2c269bda17455
706
py
Python
baiocas/extensions/base.py
ViViDboarder/baiocas
c542e5febdefc62ce36ad3f3ec6358a0017de831
[ "BSD-3-Clause" ]
null
null
null
baiocas/extensions/base.py
ViViDboarder/baiocas
c542e5febdefc62ce36ad3f3ec6358a0017de831
[ "BSD-3-Clause" ]
1
2015-07-03T16:45:12.000Z
2015-07-15T11:37:24.000Z
baiocas/extensions/base.py
ViViDboarder/baiocas
c542e5febdefc62ce36ad3f3ec6358a0017de831
[ "BSD-3-Clause" ]
1
2019-07-25T00:36:19.000Z
2019-07-25T00:36:19.000Z
import logging class Extension(object): def __init__(self): self.log = logging.getLogger('%s.%s' % (self.__module__, self.name)) self._client = None def __repr__(self): return self.name @property def client(self): return self._client @property def name(self)...
20.764706
76
0.626062
79
706
5.291139
0.35443
0.119617
0.100478
0.114833
0.129187
0
0
0
0
0
0
0
0.274788
706
33
77
21.393939
0.816406
0
0
0.26087
0
0
0.097734
0
0
0
0
0
0
1
0.347826
false
0
0.043478
0.217391
0.652174
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
04df162360f423a566f051ae9be051c344cf4376
2,037
py
Python
Pygling/Platform/Unix.py
dmsovetov/pygling
ac3a591a600a7e0f06223eff2c7c30ca8ee9c514
[ "MIT" ]
1
2015-01-27T11:31:39.000Z
2015-01-27T11:31:39.000Z
Pygling/Platform/Unix.py
dmsovetov/yap
ac3a591a600a7e0f06223eff2c7c30ca8ee9c514
[ "MIT" ]
null
null
null
Pygling/Platform/Unix.py
dmsovetov/yap
ac3a591a600a7e0f06223eff2c7c30ca8ee9c514
[ "MIT" ]
1
2017-05-22T18:21:05.000Z
2017-05-22T18:21:05.000Z
# # The MIT License (MIT) # # Copyright (c) 2015 Dmitry Sovetov # # https://github.com/dmsovetov # # 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 limit...
33.393443
80
0.739323
300
2,037
4.92
0.476667
0.059621
0.017615
0.01897
0.033875
0.033875
0.033875
0
0
0
0
0.004108
0.163476
2,037
61
81
33.393443
0.862089
0.584192
0
0.090909
0
0
0.127139
0
0
0
0
0
0
1
0.227273
false
0
0.090909
0.181818
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
04dffebedeec3cc6ef253059353d733eb19cb728
295
py
Python
app/admin.py
beedev-services/danniesMovies
15a3b3729fc243574126a2dd6ef9acf549ad0581
[ "MIT" ]
null
null
null
app/admin.py
beedev-services/danniesMovies
15a3b3729fc243574126a2dd6ef9acf549ad0581
[ "MIT" ]
null
null
null
app/admin.py
beedev-services/danniesMovies
15a3b3729fc243574126a2dd6ef9acf549ad0581
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import * admin.site.register(User) admin.site.register(Profile) admin.site.register(Topic) admin.site.register(Genre) admin.site.register(Dvd) admin.site.register(Movie) admin.site.register(Cds) admin.site.register(Music) admin.site.register(Film)
22.692308
32
0.80678
44
295
5.409091
0.386364
0.340336
0.642857
0
0
0
0
0
0
0
0
0
0.061017
295
12
33
24.583333
0.859206
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.181818
0
0.181818
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
04e227fdead07d3ae626de1fdcee65975c98bcdb
5,461
py
Python
src/squad/motion/controllers/leg_bezier.py
douglasdaly/spot-robot
7a4fdd7eb5fe5fc2d31180ed6b9f7ea21647bea2
[ "MIT" ]
null
null
null
src/squad/motion/controllers/leg_bezier.py
douglasdaly/spot-robot
7a4fdd7eb5fe5fc2d31180ed6b9f7ea21647bea2
[ "MIT" ]
null
null
null
src/squad/motion/controllers/leg_bezier.py
douglasdaly/spot-robot
7a4fdd7eb5fe5fc2d31180ed6b9f7ea21647bea2
[ "MIT" ]
null
null
null
from typing import Any, Callable, List, Optional, Tuple import numpy as np from squad.compute.curves import bezier_function from squad.constants import Direction from ..states import LegState from .base import StateController class LegBezier(StateController[LegState]): """ LegState controller using Bezier ...
32.123529
75
0.618751
590
5,461
5.554237
0.166102
0.103143
0.029905
0.040586
0.765029
0.745804
0.727495
0.676228
0.621605
0.60238
0
0.001284
0.286944
5,461
169
76
32.313609
0.840267
0.29024
0
0.692308
0
0
0
0
0
0
0
0
0
1
0.067308
false
0
0.057692
0
0.201923
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
04fa5fc9660c75445a9f9b888b0889d1752ca7af
473
py
Python
majorityNumber3.py
quake0day/oj
c09333d1738f8735de0d5d825db6f4b707585670
[ "MIT" ]
null
null
null
majorityNumber3.py
quake0day/oj
c09333d1738f8735de0d5d825db6f4b707585670
[ "MIT" ]
null
null
null
majorityNumber3.py
quake0day/oj
c09333d1738f8735de0d5d825db6f4b707585670
[ "MIT" ]
null
null
null
class Solution: """ @param nums: A list of integers @param k: As described @return: The majority number """ def majorityNumber(self, nums, k): # write your code here kover1 = len(nums) / k array_kover1 = {} for item in nums: if item not in array_kover1.ke...
24.894737
44
0.545455
58
473
4.362069
0.568966
0.217391
0.177866
0.126482
0
0
0
0
0
0
0
0.029801
0.361522
473
18
45
26.277778
0.807947
0.042283
0
0.181818
0
0
0
0
0
0
0
0.055556
0
0
null
null
0
0
null
null
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
3
b6b8c10af11ca014afc31f53112a7edb72761d92
2,948
py
Python
oneline.py
yabirgb/oneline
b5e8cfc4c0443e7f31eb666ff10e36afe8331933
[ "MIT" ]
null
null
null
oneline.py
yabirgb/oneline
b5e8cfc4c0443e7f31eb666ff10e36afe8331933
[ "MIT" ]
null
null
null
oneline.py
yabirgb/oneline
b5e8cfc4c0443e7f31eb666ff10e36afe8331933
[ "MIT" ]
null
null
null
#A copy of oneline of ruby made using python #Original https://github.com/fdavidcl/oneline ################################################################################ # 1. Print a message (laaame) # ################################################################################ print("Hello World!") ##########...
42.724638
97
0.268657
201
2,948
3.925373
0.577114
0.030418
0
0
0
0
0
0
0
0
0
0.014851
0.177748
2,948
68
98
43.352941
0.310644
0.291045
0
0
0
0
0.071885
0
0
0
0
0
0
0
null
null
0.066667
0.2
null
null
0.266667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3
b6bf5835156b789a5383c3e8b0b9f6bb16571331
106
py
Python
savedots/savedots_api/urls.py
kelj0/GPGdotgetter
619ada58598fefbd9a5f33d50a15df7f35996d1e
[ "MIT" ]
null
null
null
savedots/savedots_api/urls.py
kelj0/GPGdotgetter
619ada58598fefbd9a5f33d50a15df7f35996d1e
[ "MIT" ]
7
2021-04-02T10:26:34.000Z
2021-04-03T21:15:37.000Z
savedots/savedots_api/urls.py
kelj0/GPGdotgetter
619ada58598fefbd9a5f33d50a15df7f35996d1e
[ "MIT" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('/ping', views.test_path), ]
13.25
35
0.679245
14
106
5.071429
0.642857
0
0
0
0
0
0
0
0
0
0
0
0.198113
106
7
36
15.142857
0.835294
0
0
0
0
0
0.04717
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
b6cf937b9322da19fa5260223868a635a8a64531
583
py
Python
tests/test_calc.py
robypoteau/conv-rate-package
dc9a803ac21f7c2e5e5070282c709fcd5527e888
[ "MIT" ]
null
null
null
tests/test_calc.py
robypoteau/conv-rate-package
dc9a803ac21f7c2e5e5070282c709fcd5527e888
[ "MIT" ]
null
null
null
tests/test_calc.py
robypoteau/conv-rate-package
dc9a803ac21f7c2e5e5070282c709fcd5527e888
[ "MIT" ]
null
null
null
import pytest from convrate import calc from numpy import array def test_witherr(): err = [1e-2, 1e-4, 1e-8, 1e-16] r,C = calc.witherr(err) assert pytest.approx(r) == 2.0 assert pytest.approx(C) == 1.0 def test_withsol(): L = 1 sol = array([1,1.1,1.11,1.1101,1.11010001]) r,C = calc.withsol...
24.291667
47
0.596913
110
583
3.136364
0.263636
0.208696
0.313043
0.165217
0.449275
0.356522
0.243478
0.243478
0.243478
0.243478
0
0.124169
0.226415
583
23
48
25.347826
0.640798
0
0
0.3
0
0
0
0
0
0
0
0
0.3
1
0.15
false
0
0.15
0
0.3
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b6dd1db275ad84794dad34e314071d37f74c785b
72
py
Python
main.py
furtarball/gtk-sortvis
ddeccbc58933136b410cf1e02723259b7c5d63a4
[ "BSD-2-Clause" ]
null
null
null
main.py
furtarball/gtk-sortvis
ddeccbc58933136b410cf1e02723259b7c5d63a4
[ "BSD-2-Clause" ]
null
null
null
main.py
furtarball/gtk-sortvis
ddeccbc58933136b410cf1e02723259b7c5d63a4
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python3 from gui import * app = Application() app.run()
12
22
0.680556
11
72
4.454545
0.909091
0
0
0
0
0
0
0
0
0
0
0.016393
0.152778
72
5
23
14.4
0.786885
0.291667
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8e1ec7ae3622ade6e6316bd3fb000a280f48a8c3
1,457
py
Python
setup.py
samukasmk/python-sudeste-module
6f1b7409644f722d20996aba902a7fdc6a65e55c
[ "Apache-2.0" ]
1
2018-04-15T20:50:40.000Z
2018-04-15T20:50:40.000Z
setup.py
samukasmk/python-sudeste-module
6f1b7409644f722d20996aba902a7fdc6a65e55c
[ "Apache-2.0" ]
null
null
null
setup.py
samukasmk/python-sudeste-module
6f1b7409644f722d20996aba902a7fdc6a65e55c
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from setuptools import setup def readme(): with open('README.rst') as f: return f.read() setup( name='python_sudeste', version='0.1.8', url='https://github.com/samukasmk/python-sudeste-module', license='Apache2', author='Samuel Sampaio', author_email='samuka...
36.425
70
0.649966
138
1,457
6.811594
0.652174
0.204255
0.076596
0
0
0
0
0
0
0
0
0.008881
0.227179
1,457
39
71
37.358974
0.825933
0.014413
0
0
0
0
0.622734
0
0
0
0
0
0
1
0.027778
true
0
0.027778
0
0.083333
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
8e40798bac1f2be573757361d88c42551f7b32ff
1,246
py
Python
src/datasets/biocreative_ner_label_mapper.py
elangovana/gene_normalisation
9152298e951cd968ee516815c7fa11f1ceabca51
[ "MIT" ]
1
2020-10-21T06:01:28.000Z
2020-10-21T06:01:28.000Z
src/datasets/biocreative_ner_label_mapper.py
elangovana/gene_normalisation
9152298e951cd968ee516815c7fa11f1ceabca51
[ "MIT" ]
null
null
null
src/datasets/biocreative_ner_label_mapper.py
elangovana/gene_normalisation
9152298e951cd968ee516815c7fa11f1ceabca51
[ "MIT" ]
null
null
null
from typing import List, Dict from datasets.base_label_mapper import BaseLabelMapper class BiocreativeNerLabelMapper(BaseLabelMapper): def __init__(self): classes = ['B-GENE', 'I-GENE'] # make sure 'O' is the first one (index 0), as it is used as the token for pad characters self._classe...
25.958333
97
0.641252
166
1,246
4.608434
0.313253
0.115033
0.058824
0.026144
0.070588
0.070588
0.070588
0
0
0
0
0.001071
0.250401
1,246
47
98
26.510638
0.817987
0.069823
0
0.212121
0
0
0.032844
0
0
0
0
0
0
1
0.30303
false
0
0.060606
0.272727
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
8e4f4bc25620fce51519ce5a256433ab305fe6e2
68
py
Python
python/818.race-car.py
stavanmehta/leetcode
1224e43ce29430c840e65daae3b343182e24709c
[ "Apache-2.0" ]
null
null
null
python/818.race-car.py
stavanmehta/leetcode
1224e43ce29430c840e65daae3b343182e24709c
[ "Apache-2.0" ]
null
null
null
python/818.race-car.py
stavanmehta/leetcode
1224e43ce29430c840e65daae3b343182e24709c
[ "Apache-2.0" ]
null
null
null
class Solution: def racecar(self, target: int) -> int:
17
42
0.573529
8
68
4.875
0.875
0
0
0
0
0
0
0
0
0
0
0
0.308824
68
3
43
22.666667
0.829787
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
f3f546883f53f47e7eb6de36db0529062f3b88a3
379
py
Python
inputs.py
Lusorede/lr-hr-cr
fa4244517db2c778d3f09762599007be26b88f3c
[ "MIT" ]
null
null
null
inputs.py
Lusorede/lr-hr-cr
fa4244517db2c778d3f09762599007be26b88f3c
[ "MIT" ]
null
null
null
inputs.py
Lusorede/lr-hr-cr
fa4244517db2c778d3f09762599007be26b88f3c
[ "MIT" ]
null
null
null
IR_Sensor_1 = 6 #GPIO number IR_Sensor_2 = 13 #GPIO number IR_Sensor_3 = 19 #GPIO number IR_Sensor_4 = 26 #GPIO number IR_Sensor_5 = 12 #GPIO number IR_Sensor_6 = 16 #GPIO number IR_Sensor_7 = 20 #GPIO number IR_Sensor_8 = 21 #GPIO number I_Restart = 5 #GPIO number I_Pair = 11 #GPIO number IR_time = 500 # time in ms Re...
29.153846
32
0.746702
76
379
3.447368
0.381579
0.381679
0.366412
0.480916
0
0
0
0
0
0
0
0.116505
0.184697
379
13
33
29.153846
0.731392
0.377309
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6d18ea0a68ae03962ae604ef4551693d0dff47f8
435
py
Python
steps/generate_target_distribution.py
Ben-Foxman/z-quantum-qcbm
6e0aff5283f4a1b2b788317c3a12f8ef8c562a29
[ "Apache-2.0" ]
null
null
null
steps/generate_target_distribution.py
Ben-Foxman/z-quantum-qcbm
6e0aff5283f4a1b2b788317c3a12f8ef8c562a29
[ "Apache-2.0" ]
null
null
null
steps/generate_target_distribution.py
Ben-Foxman/z-quantum-qcbm
6e0aff5283f4a1b2b788317c3a12f8ef8c562a29
[ "Apache-2.0" ]
null
null
null
from zquantum.qcbm.target import get_bars_and_stripes_target_distribution as _get_bars_and_stripes_target_distribution from zquantum.core.bitstring_distribution import save_bitstring_distribution def get_bars_and_stripes_target_distribution(nrows, ncols, fraction, method): distribution = _get_bars_and_stripes_targ...
62.142857
118
0.875862
55
435
6.436364
0.363636
0.079096
0.112994
0.19209
0.531073
0.531073
0.333333
0.333333
0.333333
0.333333
0
0
0.073563
435
7
119
62.142857
0.878412
0
0
0
0
0
0.038991
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.6
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6d554e73a8347c1c35c7d41c476e2ea2f3f9a5a0
770
py
Python
zvt/domain/quotes/stock/stock_technical_factor.py
markqiu/zvt
1bcfb71279f2652c3600f0f8e45d941f98ceaa10
[ "MIT" ]
6
2020-09-03T10:02:00.000Z
2021-02-04T02:51:47.000Z
zvt/domain/quotes/stock/stock_technical_factor.py
wlwd13303/zvt
23105a5bfdc3a5080c6c22d11e9e53d216688dea
[ "MIT" ]
null
null
null
zvt/domain/quotes/stock/stock_technical_factor.py
wlwd13303/zvt
23105a5bfdc3a5080c6c22d11e9e53d216688dea
[ "MIT" ]
2
2020-07-08T04:15:40.000Z
2021-06-08T08:51:31.000Z
# -*- coding: utf-8 -*- # this file is generated by gen_kdata_schema function, dont't change it from sqlalchemy.ext.declarative import declarative_base from zvt.contract.register import register_schema from zvt.domain.quotes import StockTechnicalFactorCommon FactorBase = declarative_base() class StockTechnicalFacto...
33.478261
107
0.737662
84
770
6.488095
0.738095
0.055046
0.073395
0
0
0
0
0
0
0
0
0.037651
0.137662
770
22
108
35
0.783133
0.118182
0
0
1
0
0.235207
0.065089
0
0
0
0
0
1
0.083333
false
0
0.333333
0.083333
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
6d5f8dec13b5c3310fd2d8a3033f624f422b1b51
62
py
Python
python/task2.py
mifomen/codepuzzles
430ffcc2d55a91746ce55c2881582f9db5a5b051
[ "MIT" ]
null
null
null
python/task2.py
mifomen/codepuzzles
430ffcc2d55a91746ce55c2881582f9db5a5b051
[ "MIT" ]
null
null
null
python/task2.py
mifomen/codepuzzles
430ffcc2d55a91746ce55c2881582f9db5a5b051
[ "MIT" ]
null
null
null
name = str(input('Type you name \n')) print(f'Hello {name}')
15.5
37
0.629032
11
62
3.545455
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.145161
62
3
38
20.666667
0.735849
0
0
0
0
0
0.459016
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
ed98d3cdb93e61d2d3d1915e262d7611d90ae013
67
py
Python
sauri/sensors/temperature/types.py
healem/sauri
3233106c830fdb2901d647a7019d61b290f9c727
[ "MIT" ]
null
null
null
sauri/sensors/temperature/types.py
healem/sauri
3233106c830fdb2901d647a7019d61b290f9c727
[ "MIT" ]
null
null
null
sauri/sensors/temperature/types.py
healem/sauri
3233106c830fdb2901d647a7019d61b290f9c727
[ "MIT" ]
null
null
null
class Type: DS18B20 = 'ds18b20' TEMPC = 'C' TEMPF = 'F'
16.75
23
0.522388
8
67
4.375
0.875
0
0
0
0
0
0
0
0
0
0
0.177778
0.328358
67
4
24
16.75
0.6
0
0
0
0
0
0.132353
0
0
0
0
0
0
1
0
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
ede996ae2f4a3afef3d0ed0aad62a41cf8eb7c5d
654
py
Python
118_Pascal's Triangle.py
Alvin1994/leetcode-python3-
ba2bde873c925554cc39f2bd13be81967713477d
[ "Apache-2.0" ]
null
null
null
118_Pascal's Triangle.py
Alvin1994/leetcode-python3-
ba2bde873c925554cc39f2bd13be81967713477d
[ "Apache-2.0" ]
null
null
null
118_Pascal's Triangle.py
Alvin1994/leetcode-python3-
ba2bde873c925554cc39f2bd13be81967713477d
[ "Apache-2.0" ]
null
null
null
class Solution: def generate(self, numRows: 'int') -> 'List[List[int]]': if numRows<1: return [] rst = [] if numRows == 1: rst.append([1]) elif numRows == 2: rst.append([1]) rst.append([1,1]) else: rst.append([1]) ...
31.142857
72
0.412844
78
654
3.461538
0.282051
0.181481
0.222222
0.162963
0.155556
0.155556
0.155556
0
0
0
0
0.05163
0.437309
654
21
73
31.142857
0.682065
0
0
0.3
1
0
0.027481
0
0
0
0
0
0
1
0.05
false
0
0
0
0.2
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
edf22b0044aefdd6d9a4a95d24f4a1093838e357
827
py
Python
jstc/api.py
canaryhealth/jstc
d4be1f213e041b80708e8a7e40edfe2ae308b637
[ "MIT" ]
null
null
null
jstc/api.py
canaryhealth/jstc
d4be1f213e041b80708e8a7e40edfe2ae308b637
[ "MIT" ]
null
null
null
jstc/api.py
canaryhealth/jstc
d4be1f213e041b80708e8a7e40edfe2ae308b637
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- #------------------------------------------------------------------------------ # file: $Id$ # auth: Philip J Grabner <phil@canary.md> # date: 2016/09/14 # copy: (C) Copyright 2016-EOT Canary Health, Inc., All Rights Reserved. #--------------------------------------------------------------------...
35.956522
79
0.280532
45
827
5.155556
0.8
0.077586
0
0
0
0
0
0
0
0
0
0.017196
0.085852
827
22
80
37.590909
0.289683
0.788392
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.75
0
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
611f1ae40c71f9f844451682ca337b4b89c21342
2,795
py
Python
shopit/modifier_conditions.py
dinoperovic/djangoshop-shopit
b42a2bf0ec319817eb37ef939608b04498fc4ff2
[ "BSD-3-Clause" ]
14
2016-11-25T16:06:20.000Z
2018-08-30T19:20:41.000Z
shopit/modifier_conditions.py
dinoperovic/djangoshop-shopit
b42a2bf0ec319817eb37ef939608b04498fc4ff2
[ "BSD-3-Clause" ]
3
2017-04-14T13:18:22.000Z
2018-07-18T11:34:53.000Z
shopit/modifier_conditions.py
dinoperovic/django-shop
b42a2bf0ec319817eb37ef939608b04498fc4ff2
[ "BSD-3-Clause" ]
6
2019-04-07T23:52:54.000Z
2020-09-20T05:30:07.000Z
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals from django.utils.module_loading import import_string from django.utils.translation import ugettext_lazy as _ from shop.money import Money from shopit.conf import app_settings class ModifierCondition(object): """ A base model f...
31.761364
115
0.687657
335
2,795
5.429851
0.244776
0.06597
0.08796
0.105553
0.434305
0.388125
0.349643
0.3326
0.3326
0.31116
0
0.003188
0.214311
2,795
87
116
32.126437
0.825137
0.07585
0
0.166667
0
0
0.073823
0
0
0
0
0
0
1
0.25
false
0
0.125
0.125
0.8125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
b62c597f195dcf743fb3a167a9eaed18cc862a19
158
py
Python
Codeforces/B_Valerii_Against_Everyone.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
Codeforces/B_Valerii_Against_Everyone.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
Codeforces/B_Valerii_Against_Everyone.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
for _ in range(int(input())): n=int(input()) l=list(map(int,input().split())) if len(set(l))<n: print("YES") else: print("NO")
22.571429
36
0.493671
24
158
3.208333
0.708333
0.311688
0
0
0
0
0
0
0
0
0
0
0.265823
158
7
37
22.571429
0.663793
0
0
0
0
0
0.031447
0
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b65362cca4433c061af86a9f9b5eb1e12a454b76
593
py
Python
ed2d/physics/aabb.py
explosiveduck/cubix
16e7a298a83fe53174bda8ec77dfcf6869ed5336
[ "BSD-2-Clause" ]
1
2015-11-02T02:11:18.000Z
2015-11-02T02:11:18.000Z
ed2d/physics/aabb.py
explosiveduck/cubix
16e7a298a83fe53174bda8ec77dfcf6869ed5336
[ "BSD-2-Clause" ]
29
2015-06-09T19:27:49.000Z
2016-03-08T06:13:24.000Z
ed2d/physics/aabb.py
explosiveduck/cubix
16e7a298a83fe53174bda8ec77dfcf6869ed5336
[ "BSD-2-Clause" ]
null
null
null
from ed2d.physics.collisiondata import* class AABB(object): def __init__(self, min_edge2D, max_edge2D): self.minEdge2D = min_edge2D self.maxEdge2D = max_edge2D def IntersectAABB(self, oAABB): distance1 = oAABB.getMinEdges() - self.maxEdge2D distance2 = self.minEdge2D - oAABB.g...
25.782609
56
0.674536
61
593
6.42623
0.459016
0.09949
0.071429
0
0
0
0
0
0
0
0
0.042129
0.23946
593
23
57
25.782609
0.827051
0
0
0
0
0
0
0
0
0
0
0
0
1
0.266667
false
0
0.066667
0.133333
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
b655b3de29abe3295cf285642e14c14e29ed438a
974
py
Python
indicators/migrations/0099_adjust_bulk_import_file_model.py
mercycorps/toladata
4d5f9b45905a81af9981b586690e020d5b3bfc60
[ "Apache-2.0" ]
null
null
null
indicators/migrations/0099_adjust_bulk_import_file_model.py
mercycorps/toladata
4d5f9b45905a81af9981b586690e020d5b3bfc60
[ "Apache-2.0" ]
268
2020-03-31T15:46:59.000Z
2022-03-31T18:01:08.000Z
indicators/migrations/0099_adjust_bulk_import_file_model.py
mercycorps/toladata
4d5f9b45905a81af9981b586690e020d5b3bfc60
[ "Apache-2.0" ]
1
2021-01-05T01:58:24.000Z
2021-01-05T01:58:24.000Z
# Generated by Django 2.2.21 on 2021-05-15 05:13 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('indicators', '0098_bulk_indicator_import_file'), ] operations = [ migrations.RemoveField( model_name='bulkindicatorimportfile',...
28.647059
105
0.591376
88
974
6.375
0.534091
0.064171
0.228164
0.256684
0.417112
0.409982
0.206774
0
0
0
0
0.037956
0.296715
974
33
106
29.515152
0.781022
0.047228
0
0.518519
1
0
0.213823
0.132829
0
0
0
0
0
1
0
false
0
0.222222
0
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b6637e599fdb9233dbb0220ecb23a3d425247108
167
py
Python
1-Two-Sum/twosum.py
jams/leetcode
c714e35d8cf3965bd22342ca9bc160c1323f0ae7
[ "MIT" ]
null
null
null
1-Two-Sum/twosum.py
jams/leetcode
c714e35d8cf3965bd22342ca9bc160c1323f0ae7
[ "MIT" ]
null
null
null
1-Two-Sum/twosum.py
jams/leetcode
c714e35d8cf3965bd22342ca9bc160c1323f0ae7
[ "MIT" ]
null
null
null
class Solution: def twoSum(self, nums, target): """ :type nums: List[int] :type target: int :rtype: List[int] """
18.555556
35
0.45509
17
167
4.470588
0.647059
0.184211
0
0
0
0
0
0
0
0
0
0
0.413174
167
8
36
20.875
0.77551
0.341317
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
b6a1db641afc2144a930339df46f1207dab40062
4,829
py
Python
store/symbol.py
gigaquads/store
20cb11225c93c47f02fe3e07f94f3b33366d2479
[ "MIT" ]
null
null
null
store/symbol.py
gigaquads/store
20cb11225c93c47f02fe3e07f94f3b33366d2479
[ "MIT" ]
null
null
null
store/symbol.py
gigaquads/store
20cb11225c93c47f02fe3e07f94f3b33366d2479
[ "MIT" ]
null
null
null
""" class Symbol """ from copy import deepcopy from typing import Any, Optional, Text, Iterable, Type, Dict, Union from .util import get_hashable from .constants import OP_CODE from .predicate import ConditionalExpression from .interfaces import OrderingInterface, QueryInterface, StateDictInterface, StoreInterface, S...
31.562092
121
0.64299
523
4,829
5.730402
0.275335
0.033033
0.077411
0.088088
0.384051
0.305639
0.284952
0.250918
0.096096
0.096096
0
0
0.255954
4,829
153
122
31.562092
0.834122
0.312073
0
0.071429
0
0
0.033599
0
0
0
0
0
0
1
0.303571
false
0
0.125
0.142857
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
b6b301f1b05f5e42889bcae496cd7d57c5ed4876
65
py
Python
hellosign_sdk/tests/functional_tests/__init__.py
breigle/hellosign-python-sdk
4c5a7e0e4d230cc0c08b5813bcaa91483545a115
[ "MIT" ]
20
2018-11-01T01:15:21.000Z
2021-08-03T15:23:46.000Z
hellosign_sdk/tests/functional_tests/__init__.py
breigle/hellosign-python-sdk
4c5a7e0e4d230cc0c08b5813bcaa91483545a115
[ "MIT" ]
46
2018-08-20T21:17:22.000Z
2022-03-25T18:57:24.000Z
hellosign_sdk/tests/functional_tests/__init__.py
breigle/hellosign-python-sdk
4c5a7e0e4d230cc0c08b5813bcaa91483545a115
[ "MIT" ]
22
2018-10-05T11:31:27.000Z
2022-03-03T04:23:29.000Z
from base_test_case import BaseTestCase __all__ = [BaseTestCase]
21.666667
39
0.846154
8
65
6.125
0.875
0
0
0
0
0
0
0
0
0
0
0
0.107692
65
3
40
21.666667
0.844828
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
fcd203c8076bd857a73c89ba62ebbe7af6c378cb
808
py
Python
hstore_flattenfields/db/manager.py
modohash/django-hstore-flattenfields
09626a638b9ef85d28fa5bfef1b040f9926bb95b
[ "BSD-3-Clause" ]
5
2015-09-18T16:35:56.000Z
2020-12-24T11:46:17.000Z
hstore_flattenfields/db/manager.py
modohash/django-hstore-flattenfields
09626a638b9ef85d28fa5bfef1b040f9926bb95b
[ "BSD-3-Clause" ]
9
2020-02-11T22:01:06.000Z
2021-06-10T17:46:04.000Z
hstore_flattenfields/db/manager.py
modohash/django-hstore-flattenfields
09626a638b9ef85d28fa5bfef1b040f9926bb95b
[ "BSD-3-Clause" ]
2
2015-10-20T10:21:30.000Z
2016-03-23T09:54:54.000Z
#!/usr/bin/env python # encoding: utf-8 """ fields.py Created by Luan Fonseca de Farias on 2013-09-23. Copyright (c) 2012 Multmeio [design+tecnologia]. All rights reserved. """ from django.db import models from django_orm.postgresql.hstore import HStoreManager from hstore_flattenfields.db.queryset import FlattenFiel...
29.925926
79
0.720297
97
808
5.865979
0.628866
0.035149
0.042179
0
0
0
0
0
0
0
0
0.01949
0.174505
808
27
79
29.925926
0.833583
0.205446
0
0
0
0
0.039432
0
0
0
0
0
0
1
0.230769
false
0
0.230769
0.153846
0.769231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
fce335754a315917f344f58ca30b476298a9bc67
378
py
Python
tests/input/func_models_related_field_name_with_id.py
enefeq/django_linter
d5a27004acc9c7caf8663a8fb519060f210c81ec
[ "MIT" ]
101
2015-07-26T15:52:31.000Z
2021-04-29T14:01:23.000Z
tests/input/func_models_related_field_name_with_id.py
enefeq/django_linter
d5a27004acc9c7caf8663a8fb519060f210c81ec
[ "MIT" ]
3
2015-08-14T14:22:04.000Z
2017-09-21T12:24:43.000Z
tests/input/func_models_related_field_name_with_id.py
enefeq/django_linter
d5a27004acc9c7caf8663a8fb519060f210c81ec
[ "MIT" ]
4
2015-08-14T10:59:48.000Z
2022-03-22T13:28:58.000Z
""" Check that related fields do not contain _id prefix """ from django.db import models class Category(models.Model): name = models.CharField() def __unicode__(self): return self.name class Product(models.Model): name = models.CharField(max_length=255) category_id = models.ForeignKey(Categ...
18.9
51
0.698413
48
378
5.270833
0.583333
0.086957
0.118577
0.166008
0.458498
0.221344
0
0
0
0
0
0.01
0.206349
378
19
52
19.894737
0.833333
0.134921
0
0.4
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.1
0.2
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
1e0f2e3a4f9abcef99a866b977b0ade9617874b7
64
py
Python
pycoda/__init__.py
mhemeryck/pycoda
42aa6702e37b66c7b86c292a06ad68eeca1091e3
[ "MIT" ]
3
2019-03-27T16:55:48.000Z
2019-12-07T20:20:56.000Z
pycoda/__init__.py
mhemeryck/pycoda
42aa6702e37b66c7b86c292a06ad68eeca1091e3
[ "MIT" ]
21
2017-04-08T23:29:01.000Z
2021-06-02T07:25:27.000Z
pycoda/__init__.py
mhemeryck/pycoda
42aa6702e37b66c7b86c292a06ad68eeca1091e3
[ "MIT" ]
null
null
null
from __future__ import unicode_literals __version__ = "0.3.16"
16
39
0.796875
9
64
4.666667
1
0
0
0
0
0
0
0
0
0
0
0.071429
0.125
64
3
40
21.333333
0.678571
0
0
0
0
0
0.09375
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
1e148d6a56d9cf2f16c023ccfc39d152b0821061
2,673
py
Python
test_camera.py
dsp-c01/patrol_and_greet
bd1ebe40a4e1c8ee2d7bfe66a3c3f708411f231f
[ "MIT" ]
null
null
null
test_camera.py
dsp-c01/patrol_and_greet
bd1ebe40a4e1c8ee2d7bfe66a3c3f708411f231f
[ "MIT" ]
null
null
null
test_camera.py
dsp-c01/patrol_and_greet
bd1ebe40a4e1c8ee2d7bfe66a3c3f708411f231f
[ "MIT" ]
null
null
null
# import cv2 # import socket # import struct # import pickle # # # client # client_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) # client_socket.connect(('192.168.0.193', 7777)) # encode_param = [int(cv2.IMWRITE_JPEG_QUALITY), 90] # # # server # TCP_IP = "192.168.0.130" # TCP_PORT = 8081 # BUFFER_SIZE = 20...
34.269231
141
0.618406
356
2,673
4.570225
0.404494
0.060234
0.077443
0.086048
0.33866
0.33866
0.33866
0.33866
0.28949
0.28949
0
0.083888
0.157127
2,673
77
142
34.714286
0.63826
0.585484
0
0
0
0.545455
0.71165
0.590291
0
0
0
0
0
1
0
false
0
0.181818
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1e1acc201590676015915a40fa4be6ad4706234e
23
py
Python
python/src/__init__.py
bryanherger/datasketches-cpp
9b7fcf28f4e87109292304f4e300760e78d7d236
[ "BSL-1.0", "Apache-2.0", "MIT" ]
64
2021-01-10T19:13:34.000Z
2022-03-29T00:31:02.000Z
python/src/__init__.py
bryanherger/datasketches-cpp
9b7fcf28f4e87109292304f4e300760e78d7d236
[ "BSL-1.0", "Apache-2.0", "MIT" ]
74
2021-01-04T18:43:50.000Z
2022-03-17T22:11:02.000Z
python/src/__init__.py
bryanherger/datasketches-cpp
9b7fcf28f4e87109292304f4e300760e78d7d236
[ "BSL-1.0", "Apache-2.0", "MIT" ]
30
2019-05-20T21:17:27.000Z
2020-12-05T09:14:00.000Z
name = "datasketches"
11.5
21
0.695652
2
23
8
1
0
0
0
0
0
0
0
0
0
0
0
0.173913
23
2
22
11.5
0.842105
0
0
0
0
0
0.5
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1e33066e6e7f923b5e2b565ffdfdbd55deaf98d9
213
py
Python
auctions/auctions/applicaiton/ports/email_gateway.py
hyunsung-kim/py-clean-architecture
50f8d1fabdbbf70fa45a8b31fe235cd0f0e0dd34
[ "MIT" ]
34
2018-02-02T21:42:09.000Z
2022-01-22T20:19:01.000Z
auctions/auctions/applicaiton/ports/email_gateway.py
hyunsung-kim/py-clean-architecture
50f8d1fabdbbf70fa45a8b31fe235cd0f0e0dd34
[ "MIT" ]
null
null
null
auctions/auctions/applicaiton/ports/email_gateway.py
hyunsung-kim/py-clean-architecture
50f8d1fabdbbf70fa45a8b31fe235cd0f0e0dd34
[ "MIT" ]
10
2018-09-18T23:56:59.000Z
2020-10-15T15:32:02.000Z
from abc import ( ABCMeta, abstractmethod, ) class EmailGateway(metaclass=ABCMeta): @abstractmethod def notify_about_winning_auction(self, auction_id: int, winner_id: int) -> None: pass
17.75
84
0.699531
24
213
6
0.791667
0.291667
0
0
0
0
0
0
0
0
0
0
0.215962
213
11
85
19.363636
0.862275
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0.125
0.125
0
0.375
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
1e35c10a0ccd56358a5130bf81314da59bca19e2
1,179
py
Python
playback/interception/output_interception.py
stjordanis/playback
7e8ea29f764a52753aef4e3334fd9bcf7826e082
[ "BSD-3-Clause" ]
85
2021-03-10T15:11:09.000Z
2022-03-07T13:03:48.000Z
playback/interception/output_interception.py
stjordanis/playback
7e8ea29f764a52753aef4e3334fd9bcf7826e082
[ "BSD-3-Clause" ]
35
2021-02-03T12:48:18.000Z
2021-11-14T11:48:46.000Z
playback/interception/output_interception.py
stjordanis/playback
7e8ea29f764a52753aef4e3334fd9bcf7826e082
[ "BSD-3-Clause" ]
6
2021-02-03T14:19:49.000Z
2021-08-11T06:43:35.000Z
from abc import ABCMeta, abstractmethod class OutputInterceptionDataHandler(object): """ A class that act as a pluggable hook that can be used during output interception when recording and playing the data """ __metaclass__ = ABCMeta @abstractmethod def prepare_output_for_recording(self, inte...
33.685714
120
0.672604
139
1,179
5.589928
0.42446
0.07722
0.030888
0.043758
0.126126
0.079794
0.079794
0
0
0
0
0
0.277354
1,179
34
121
34.676471
0.911972
0.575912
0
0.444444
0
0
0
0
0
0
0
0
0
1
0.222222
false
0.222222
0.111111
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
1e5bbc365e7c2a25bcb8a1ca4503462baf00965d
99
py
Python
src/rpdk/core/__init__.py
shishir2510GitHub1/cloudformation-cli_test
0d27a19465ddebc4f9e72ba94cf997db64dd95de
[ "Apache-2.0" ]
null
null
null
src/rpdk/core/__init__.py
shishir2510GitHub1/cloudformation-cli_test
0d27a19465ddebc4f9e72ba94cf997db64dd95de
[ "Apache-2.0" ]
null
null
null
src/rpdk/core/__init__.py
shishir2510GitHub1/cloudformation-cli_test
0d27a19465ddebc4f9e72ba94cf997db64dd95de
[ "Apache-2.0" ]
null
null
null
import logging __version__ = "0.1" logging.getLogger(__name__).addHandler(logging.NullHandler())
16.5
61
0.787879
11
99
6.363636
0.818182
0
0
0
0
0
0
0
0
0
0
0.021978
0.080808
99
5
62
19.8
0.747253
0
0
0
0
0
0.030303
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
1e9b89df9108d3397c0f5f3613f02264f766094a
2,013
py
Python
spectra/SpectraPreProccessingStep.py
amirlevis/consumer_physics_spectra_pipeline
9f29581e7af362b00e538da60fd58062f55a4b14
[ "MIT" ]
null
null
null
spectra/SpectraPreProccessingStep.py
amirlevis/consumer_physics_spectra_pipeline
9f29581e7af362b00e538da60fd58062f55a4b14
[ "MIT" ]
null
null
null
spectra/SpectraPreProccessingStep.py
amirlevis/consumer_physics_spectra_pipeline
9f29581e7af362b00e538da60fd58062f55a4b14
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod import numpy as np class PreProccessingStep: pass class FitPreProccessingStep(PreProccessingStep): @abstractmethod def fit(self): pass class TransformPreProccessingStep(PreProccessingStep): @abstractmethod def transform(self): pass class ...
23.964286
80
0.614009
261
2,013
4.704981
0.321839
0.04886
0.065147
0.074919
0.096906
0.075733
0
0
0
0
0
0.075
0.244908
2,013
83
81
24.253012
0.732895
0.36314
0
0.242424
0
0
0.026981
0
0
0
0
0
0
1
0.272727
false
0.090909
0.060606
0.090909
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
1eb83c202de77a22652c241a3408aab1670a8378
121
py
Python
baseline/deep_ed_PyTorch/deep_ed_PyTorch/entities/ent_name2id_freq/__init__.py
yifding/e2e_EL_evaluate
48e12a93c98daf99bb560efcc267749247f590ba
[ "MIT" ]
5
2021-11-30T02:19:52.000Z
2021-12-10T14:38:17.000Z
baseline/deep_ed_PyTorch/deep_ed_PyTorch/entities/ent_name2id_freq/__init__.py
yifding/e2e_EL_evaluate
48e12a93c98daf99bb560efcc267749247f590ba
[ "MIT" ]
1
2021-11-15T02:18:41.000Z
2021-12-01T13:36:26.000Z
baseline/deep_ed_PyTorch/deep_ed_PyTorch/entities/ent_name2id_freq/__init__.py
yifding/e2e_EL_evaluate
48e12a93c98daf99bb560efcc267749247f590ba
[ "MIT" ]
null
null
null
from .ent_name_id import EntNameID from .e_freq_index import EFreqIndex __all__ = [ 'EntNameID', 'EFreqIndex', ]
17.285714
36
0.727273
15
121
5.333333
0.733333
0
0
0
0
0
0
0
0
0
0
0
0.181818
121
7
37
17.285714
0.808081
0
0
0
0
0
0.155738
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
1eb9026d5a7e4f82fe0c440f30958cf4b8fbedcc
840
py
Python
stix/utils/parser.py
saegel/python-stix
a777aafa2573d5e66233e29b1909ce178f643891
[ "BSD-3-Clause" ]
194
2015-02-20T17:52:06.000Z
2022-03-06T07:29:08.000Z
stix/utils/parser.py
saegel/python-stix
a777aafa2573d5e66233e29b1909ce178f643891
[ "BSD-3-Clause" ]
136
2015-01-12T05:33:35.000Z
2022-03-12T07:41:42.000Z
stix/utils/parser.py
saegel/python-stix
a777aafa2573d5e66233e29b1909ce178f643891
[ "BSD-3-Clause" ]
82
2015-01-05T14:46:16.000Z
2022-03-30T06:00:45.000Z
# Copyright (c) 2017, The MITRE Corporation. All rights reserved. # See LICENSE.txt for complete terms. import stix from stix.xmlconst import TAG_STIX_PACKAGE import mixbox.parser # Import these from mixbox for backward compatibility from mixbox.parser import (UnknownVersionError, UnsupportedVersionError, ...
28.965517
72
0.755952
96
840
6.458333
0.489583
0.045161
0.090323
0.045161
0.1
0.1
0.1
0
0
0
0
0.005806
0.179762
840
28
73
30
0.894049
0.220238
0
0
0
0
0.010769
0
0
0
0
0
0
1
0.266667
false
0
0.266667
0.266667
0.866667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1eb917747489bd1ac28aaeb9f309d0bc408c3868
5,707
py
Python
tests/test_p2p.py
Youngestdev/buycoins-python
fa17600cfa92278d1c7f80f0a860e3ba7b5bc3b0
[ "MIT" ]
46
2021-02-06T07:29:22.000Z
2022-01-28T06:52:18.000Z
tests/test_p2p.py
Youngestdev/buycoins-python
fa17600cfa92278d1c7f80f0a860e3ba7b5bc3b0
[ "MIT" ]
1
2021-04-05T12:40:38.000Z
2021-04-09T18:46:20.000Z
tests/test_p2p.py
Youngestdev/buycoins-python
fa17600cfa92278d1c7f80f0a860e3ba7b5bc3b0
[ "MIT" ]
5
2021-02-06T08:02:19.000Z
2022-02-18T12:46:26.000Z
from unittest.mock import Mock from buycoins import P2P from tests.mock_responses import ( coins_price, coin_price, get_orders, get_market_book, open_status_dynamic_price, completed_status_dynamic_price, post_market_order, place_limit_order, ) P2P = Mock() def test_coins_price(): ...
40.190141
115
0.677063
541
5,707
6.968577
0.210721
0.219098
0.207427
0.038196
0.265782
0.228117
0.187268
0.187268
0.187268
0.135809
0
0.090214
0.174523
5,707
141
116
40.475177
0.71004
0
0
0.106195
0
0
0.325215
0.092518
0
0
0
0
0.522124
1
0.070796
false
0
0.026549
0
0.097345
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
1ec2ea80b915a169cd445f4722da351277c6b461
36,092
py
Python
tests/frequencies.py
avcopan/KinBot
847e430fb1ee15b5c16ce095bdf7a07087ec9b0a
[ "BSD-3-Clause" ]
30
2018-09-28T04:10:10.000Z
2022-02-27T13:13:52.000Z
tests/frequencies.py
avcopan/KinBot
847e430fb1ee15b5c16ce095bdf7a07087ec9b0a
[ "BSD-3-Clause" ]
19
2019-06-28T23:23:09.000Z
2022-03-16T08:01:42.000Z
tests/frequencies.py
avcopan/KinBot
847e430fb1ee15b5c16ce095bdf7a07087ec9b0a
[ "BSD-3-Clause" ]
10
2018-09-27T18:13:13.000Z
2021-07-07T01:19:45.000Z
################################################### ## ## ## This file is part of the KinBot code v2.0 ## ## ## ## The contents are covered by the terms of the ## ## BSD 3-clause license included in the LICENSE ## ## file,...
259.654676
731
0.725313
4,091
36,092
6.39428
0.297482
0.001529
0.003364
0.004282
0.016285
0.012997
0.012997
0.012997
0.012997
0.012997
0
0.78167
0.132356
36,092
138
732
261.536232
0.05368
0.03854
0
0.067416
0
0
0.007541
0
0
0
0
0
0.044944
1
0.022472
false
0.011236
0.044944
0
0.078652
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1ecacb966d7e7826d90d43ddf1d68e791c8be6ab
363
py
Python
timefred/space/string_space.py
giladbarnea/timefred
36cc8b0f09d38c0ed7b3e659ce337a75cd8b0c60
[ "MIT" ]
null
null
null
timefred/space/string_space.py
giladbarnea/timefred
36cc8b0f09d38c0ed7b3e659ce337a75cd8b0c60
[ "MIT" ]
null
null
null
timefred/space/string_space.py
giladbarnea/timefred
36cc8b0f09d38c0ed7b3e659ce337a75cd8b0c60
[ "MIT" ]
null
null
null
from timefred.space import Space class StringSpace(str, Space): # keep order because repr def __new__(cls, seq='', **kwargs) -> str: """Necessary to prevent **kwargs from passing to str.__new__()""" inst = str.__new__(cls, seq) return inst def __init__(self, seq='', **kwargs) -> No...
36.3
73
0.619835
45
363
4.555556
0.555556
0.058537
0.087805
0
0
0
0
0
0
0
0
0
0.236915
363
9
74
40.333333
0.740072
0.231405
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
1ed9cbc290ab420037a1d7a71afa79219c1fa8d4
270
py
Python
dsbox/ml/markov/hmmlearn/__init__.py
Pandinosaurus/dsbox
aea56049025ed7e6e66427f8636286f8be1b6e03
[ "Apache-2.0" ]
16
2020-05-11T09:10:15.000Z
2021-04-13T08:43:28.000Z
dsbox/ml/markov/hmmlearn/__init__.py
Pandinosaurus/dsbox
aea56049025ed7e6e66427f8636286f8be1b6e03
[ "Apache-2.0" ]
1
2020-12-03T20:02:32.000Z
2020-12-03T20:02:32.000Z
dsbox/ml/markov/hmmlearn/__init__.py
Pandinosaurus/dsbox
aea56049025ed7e6e66427f8636286f8be1b6e03
[ "Apache-2.0" ]
1
2020-05-11T17:22:20.000Z
2020-05-11T17:22:20.000Z
from . import _utils from .stats import log_multivariate_normal_density from .base import _BaseHMM from .utils import iter_from_X_lengths, normalize, fill_covars from .hmm import GMMHMM, GaussianHMM, MultinomialHMM __all__ = ["GMMHMM", "GaussianHMM", "MultinomialHMM"]
33.75
62
0.814815
34
270
6.088235
0.617647
0.164251
0.299517
0
0
0
0
0
0
0
0
0
0.111111
270
7
63
38.571429
0.8625
0
0
0
0
0
0.114815
0
0
0
0
0
0
1
0
false
0
0.833333
0
0.833333
0
0
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
0
0
1
0
0
0
0
3
94a0e2a5ad53220409c56c8f360df99b545a200c
115
py
Python
api/pict/apps.py
Gentostage/Darya
01ac7abc10ecc7662c3010635cece1efb7727868
[ "MIT" ]
null
null
null
api/pict/apps.py
Gentostage/Darya
01ac7abc10ecc7662c3010635cece1efb7727868
[ "MIT" ]
1
2020-06-06T02:05:10.000Z
2020-06-06T02:05:10.000Z
api/pict/apps.py
Gentostage/Darya
01ac7abc10ecc7662c3010635cece1efb7727868
[ "MIT" ]
null
null
null
from django.apps import AppConfig class PictConfig(AppConfig): name = 'pict' verbose_name = "Мои работы"
16.428571
33
0.713043
14
115
5.785714
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.2
115
6
34
19.166667
0.880435
0
0
0
0
0
0.121739
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
94c16f445c33f2137fdaf8e178f0255d059000da
742
py
Python
src/python/main/functions/utils.py
abhatia1205/MessengerBot
a417f2ad8f177f34dcd6063d6c23fd8686ba0741
[ "MIT" ]
null
null
null
src/python/main/functions/utils.py
abhatia1205/MessengerBot
a417f2ad8f177f34dcd6063d6c23fd8686ba0741
[ "MIT" ]
null
null
null
src/python/main/functions/utils.py
abhatia1205/MessengerBot
a417f2ad8f177f34dcd6063d6c23fd8686ba0741
[ "MIT" ]
null
null
null
def get_ref(db, col, identifier, obj): for doc in db.collection(col).where(identifier, u'==', obj).stream(): return doc.reference return None def get_field(ref, field): return ref.get().to_dict()[field] def update(ref, key, val): return ref.set({key: val}, merge=True) def addEntry(ref, key, v...
27.481481
73
0.65903
110
742
4.390909
0.336364
0.099379
0.091097
0.086957
0.153209
0.099379
0
0
0
0
0
0
0.192722
742
26
74
28.538462
0.806344
0
0
0.1
0
0
0.002695
0
0
0
0
0
0
1
0.35
false
0
0
0.15
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
94c82ce752b49ca24ead76e13c192cacaee110fa
124
py
Python
src/dml_thread/pyx files/somecython.py
Yobmod/dmlmung
4672c6a6faa3e8ed31f0bbc1d8c8fdee8b8f928a
[ "MIT" ]
null
null
null
src/dml_thread/pyx files/somecython.py
Yobmod/dmlmung
4672c6a6faa3e8ed31f0bbc1d8c8fdee8b8f928a
[ "MIT" ]
1
2022-03-12T01:06:21.000Z
2022-03-12T01:06:21.000Z
src/dml_thread/pyx files/somecython.py
Yobmod/dmlmung
4672c6a6faa3e8ed31f0bbc1d8c8fdee8b8f928a
[ "MIT" ]
null
null
null
import cython @cython.ccall def somemath(number: cython.int) -> cython.int: dn: cython.int = number * 6 return dn
15.5
47
0.677419
18
124
4.666667
0.555556
0.321429
0
0
0
0
0
0
0
0
0
0.010204
0.209677
124
7
48
17.714286
0.846939
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
94e1a3cc8b6606e47ea2f7671b805037f1ed2d60
78
py
Python
habu/lib/ip_reputation.py
riccigrj/habu
336a5d771edd318b01a94a9b793e2706ad4ccd2e
[ "BSD-3-Clause" ]
461
2017-05-27T15:35:13.000Z
2019-11-30T23:13:15.000Z
habu/lib/ip_reputation.py
kobbycyber/habu
cda99c8df97fe669c8e45148615ba546b1f8226e
[ "BSD-3-Clause" ]
10
2017-10-12T09:43:23.000Z
2019-06-21T17:25:09.000Z
habu/lib/ip_reputation.py
kobbycyber/habu
cda99c8df97fe669c8e45148615ba546b1f8226e
[ "BSD-3-Clause" ]
108
2017-09-23T19:55:23.000Z
2019-11-30T19:08:32.000Z
import ipaddress import requests def update_database(): def quert(ip)
6
22
0.730769
10
78
5.6
0.8
0
0
0
0
0
0
0
0
0
0
0
0.205128
78
12
23
6.5
0.903226
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.5
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
3
94ed2e0b56ad8758448fef8c569382f4f06851cb
200
py
Python
scripts/portal/momijiTraining.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
54
2019-04-16T23:24:48.000Z
2021-12-18T11:41:50.000Z
scripts/portal/momijiTraining.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
3
2019-05-19T15:19:41.000Z
2020-04-27T16:29:16.000Z
scripts/portal/momijiTraining.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
49
2020-11-25T23:29:16.000Z
2022-03-26T16:20:24.000Z
# Momijigaoka if sm.hasQuest(57106): sm.warp(807030000, 0) elif sm.hasQuest(57107): sm.warp(807030100, 0) else: sm.systemMessage("There is nothing to see here.") #sm.warp(807030200, 0)
25
53
0.685
30
200
4.566667
0.666667
0.131387
0
0
0
0
0
0
0
0
0
0.240964
0.17
200
8
54
25
0.584337
0.16
0
0
0
0
0.174699
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
94f9a8bbd9c63586672351d53abab4742d960e6f
807
py
Python
tests/celeryapp/config.py
supplayer/exec_celery
fd0f563072dd57e4a7ae1f280bc3904e117aa8c1
[ "MIT" ]
null
null
null
tests/celeryapp/config.py
supplayer/exec_celery
fd0f563072dd57e4a7ae1f280bc3904e117aa8c1
[ "MIT" ]
null
null
null
tests/celeryapp/config.py
supplayer/exec_celery
fd0f563072dd57e4a7ae1f280bc3904e117aa8c1
[ "MIT" ]
null
null
null
from execcelery.connection import CeleryClient, Celery app = CeleryClient('tests.celeryapp', broker='amqp://user:bitnami@0.0.0.0:5672//', include=['tests.celeryapp.tasks_final', 'tests.celeryapp.tasks_update', 'tests.celeryapp.tasks_usual']) # noqa app_o = Celery('tests.celeryapp', broker='amqp://user:bitnami@0.0.0.0...
36.681818
194
0.718711
102
807
5.401961
0.392157
0.203267
0.206897
0.087114
0.46098
0.46098
0.46098
0.46098
0.46098
0.46098
0
0.022535
0.120198
807
21
195
38.428571
0.753521
0.054523
0
0
0
0
0.524374
0.403162
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0.066667
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a205cdf0ec4b5f3af3a0036eaf9408a330ebe5f0
1,227
py
Python
scholariumat/library/admin.py
valuehack/scholariumat
47c13f3429b95b9ad5ca59b45cf971895260bb5c
[ "MIT" ]
null
null
null
scholariumat/library/admin.py
valuehack/scholariumat
47c13f3429b95b9ad5ca59b45cf971895260bb5c
[ "MIT" ]
232
2018-06-30T11:40:52.000Z
2020-04-29T23:55:41.000Z
scholariumat/library/admin.py
valuehack/scholariumat
47c13f3429b95b9ad5ca59b45cf971895260bb5c
[ "MIT" ]
3
2018-05-31T12:57:03.000Z
2020-02-27T16:25:44.000Z
from django.contrib import admin from .models import ZotItem, Author, Collection from products.admin import ProductBaseAdmin class ZotItemAdmin(ProductBaseAdmin): raw_id_fields = ['authors'] search_fields = ['description', 'title', 'authors__name'] list_display = ['title', 'get_authors', 'published'] ...
29.214286
92
0.723716
140
1,227
6.185714
0.421429
0.051963
0.098152
0.062356
0.055427
0
0
0
0
0
0
0
0.151589
1,227
41
93
29.926829
0.831892
0.123879
0
0
0
0
0.12605
0
0
0
0
0.02439
0
1
0.12
false
0
0.12
0.12
0.88
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
1
1
0
0
3
a21e65b760545abba88d3e4f13a6011bb331e683
619
py
Python
src/pyrin/security/authorization/handlers/exceptions.py
wilsonGmn/pyrin
25dbe3ce17e80a43eee7cfc7140b4c268a6948e0
[ "BSD-3-Clause" ]
null
null
null
src/pyrin/security/authorization/handlers/exceptions.py
wilsonGmn/pyrin
25dbe3ce17e80a43eee7cfc7140b4c268a6948e0
[ "BSD-3-Clause" ]
null
null
null
src/pyrin/security/authorization/handlers/exceptions.py
wilsonGmn/pyrin
25dbe3ce17e80a43eee7cfc7140b4c268a6948e0
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ authorization handlers exceptions module. """ from pyrin.core.exceptions import CoreException, CoreBusinessException class AuthorizationHandlersException(CoreException): """ authorization handlers exception. """ pass class AuthorizationHandlersBusinessException(CoreBusin...
21.344828
77
0.686591
39
619
10.897436
0.641026
0.148235
0.084706
0
0
0
0
0
0
0
0
0.002105
0.232633
619
28
78
22.107143
0.892632
0.28433
0
0.375
0
0
0
0
0
0
0
0
0
1
0
true
0.375
0.125
0
0.5
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
a21f9613901d1edbc351b81c6b1610ac1d015595
259
py
Python
tests/paradrop/core/plan/test_hostconfig.py
lhartung/paradrop-test
22a491bf3198bf61bcabaedfaecde5b9be97e76f
[ "Apache-2.0" ]
76
2015-08-24T18:15:20.000Z
2021-12-06T20:03:19.000Z
tests/paradrop/core/plan/test_hostconfig.py
leilei1881/Paradrop
546464e075f8a226b9eb4fe444390dc5c8527ad9
[ "Apache-2.0" ]
35
2015-07-07T22:27:49.000Z
2022-03-01T17:13:40.000Z
tests/paradrop/core/plan/test_hostconfig.py
lhartung/paradrop-test
22a491bf3198bf61bcabaedfaecde5b9be97e76f
[ "Apache-2.0" ]
27
2016-02-03T22:00:09.000Z
2021-09-26T16:59:38.000Z
from mock import MagicMock, patch from nose.tools import assert_raises from paradrop.core.plan import hostconfig def test_generatePlans(): update = MagicMock() assert hostconfig.generatePlans(update) is None assert update.plans.addPlans.called
23.545455
51
0.787645
33
259
6.121212
0.666667
0.188119
0
0
0
0
0
0
0
0
0
0
0.150579
259
10
52
25.9
0.918182
0
0
0
1
0
0
0
0
0
0
0
0.428571
1
0.142857
false
0
0.428571
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
1
0
0
0
0
1
0
0
0
0
3
a22388b4324b3eaa2c72ac9f265292d22aa2589e
213
py
Python
betatest/__init__.py
unnecessary-abstraction/betatest
497a4e795775f9840c45eed7998c98286e0df2a6
[ "Apache-2.0" ]
null
null
null
betatest/__init__.py
unnecessary-abstraction/betatest
497a4e795775f9840c45eed7998c98286e0df2a6
[ "Apache-2.0" ]
null
null
null
betatest/__init__.py
unnecessary-abstraction/betatest
497a4e795775f9840c45eed7998c98286e0df2a6
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2018-2019 Beta Five Ltd # # SPDX-License-Identifier: Apache-2.0 # """betatest: Python testing helpers.""" from betatest.version import __version__ import betatest.amtest import betatest.subtest
17.75
40
0.765258
28
213
5.678571
0.785714
0.163522
0
0
0
0
0
0
0
0
0
0.053763
0.126761
213
11
41
19.363636
0.801075
0.507042
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
a2245168ae07e737da99a79296e3c868aa2db63a
210
py
Python
DTU/bund.py
magn3144/DTU-Library
a3386754958d8804e2176b268b77e4d7b22d0ef0
[ "MIT" ]
null
null
null
DTU/bund.py
magn3144/DTU-Library
a3386754958d8804e2176b268b77e4d7b22d0ef0
[ "MIT" ]
null
null
null
DTU/bund.py
magn3144/DTU-Library
a3386754958d8804e2176b268b77e4d7b22d0ef0
[ "MIT" ]
null
null
null
import numpy as np class shrek_class: def __init__(self): self.name = "shrek" def say_hello(self): return "Hello im " + self.name def numpy_test_func(arr): return np.mean(arr)
19.090909
38
0.628571
31
210
4
0.580645
0.129032
0
0
0
0
0
0
0
0
0
0
0.271429
210
11
39
19.090909
0.810458
0
0
0
0
0
0.066351
0
0
0
0
0
0
1
0.375
false
0
0.125
0.25
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
bf463fd05cd24db2a954e11d4c11ad03008e2c5a
441
py
Python
third_party/mordred/_base/util.py
uta-smile/CD-MVGNN
b48f4cd14befed298980a83edb417ab6809f0af6
[ "MIT" ]
3
2022-02-06T09:13:51.000Z
2022-02-19T15:03:35.000Z
third_party/mordred/_base/util.py
uta-smile/CD-MVGNN
b48f4cd14befed298980a83edb417ab6809f0af6
[ "MIT" ]
1
2022-02-14T23:16:27.000Z
2022-02-14T23:16:27.000Z
third_party/mordred/_base/util.py
uta-smile/CD-MVGNN
b48f4cd14befed298980a83edb417ab6809f0af6
[ "MIT" ]
null
null
null
from ..error import MissingValueBase def is_missing(v): """Check argument is either MissingValue or not. >>> from third_party.mordred import Missing, Error >>> is_missing(1) False >>> is_missing(Missing(ValueError("missing"), ())) True >>> is_missing(Error(ValueError("error"), ())) Tr...
19.173913
54
0.621315
48
441
5.604167
0.583333
0.133829
0
0
0
0
0
0
0
0
0
0.003012
0.247166
441
22
55
20.045455
0.807229
0.632653
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
bf4777af1bb1b666c02cc5c991793341009902a5
190
py
Python
paymentapp/urls.py
bambadiagne/django-payment-gateway
d2122bce8c1fcc7644c39fa46c14626ce6b35dcd
[ "MIT" ]
2
2021-03-31T15:22:13.000Z
2021-04-02T14:43:15.000Z
paymentapp/urls.py
bambadiagne/django-payment-gateway
d2122bce8c1fcc7644c39fa46c14626ce6b35dcd
[ "MIT" ]
null
null
null
paymentapp/urls.py
bambadiagne/django-payment-gateway
d2122bce8c1fcc7644c39fa46c14626ce6b35dcd
[ "MIT" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path("checked",views.checked,name="checked"), path("order_product/<int:product_id>",views.order,name="order_product") ]
27.142857
75
0.742105
26
190
5.307692
0.5
0.173913
0
0
0
0
0
0
0
0
0
0
0.1
190
7
76
27.142857
0.807018
0
0
0
0
0
0.298429
0.157068
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
bf51adb2e7bc63717ca8c0808cefb9ab526c7fdd
163
py
Python
hte_jobs/apis/__init__.py
pengpengge/ml_server_old
d685b33286d8c75f6f0777c3b58b6edc86a459ba
[ "MIT" ]
2
2018-12-05T14:50:19.000Z
2019-06-02T14:49:49.000Z
hte_jobs/apis/__init__.py
pengpengge/ml_server_old
d685b33286d8c75f6f0777c3b58b6edc86a459ba
[ "MIT" ]
1
2020-04-12T14:21:35.000Z
2020-04-12T14:21:35.000Z
hte_jobs/apis/__init__.py
pengpengge/ml_server_old
d685b33286d8c75f6f0777c3b58b6edc86a459ba
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # @File : __init__.py # @Author : Yuvv # @Date : 2018/5/4 from .manger import task_manager_bp __all__ = [ 'task_manager_bp', ]
12.538462
35
0.595092
22
163
3.863636
0.863636
0.258824
0.305882
0
0
0
0
0
0
0
0
0.056
0.233129
163
12
36
13.583333
0.624
0.472393
0
0
0
0
0.185185
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bf6cb35f29d7eb772ffd73f808669ecb986df6be
3,127
py
Python
temboo/core/Library/Utilities/TokenStorage/SetValid.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
7
2016-03-07T02:07:21.000Z
2022-01-21T02:22:41.000Z
temboo/core/Library/Utilities/TokenStorage/SetValid.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
null
null
null
temboo/core/Library/Utilities/TokenStorage/SetValid.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
8
2016-06-14T06:01:11.000Z
2020-04-22T09:21:44.000Z
# -*- coding: utf-8 -*- ############################################################################### # # SetValid # Sets a specified token as valid or invalid. # # Python versions 2.6, 2.7, 3.x # # Copyright 2014, Temboo Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this...
35.534091
158
0.676367
387
3,127
5.387597
0.403101
0.028777
0.026859
0.04988
0.136211
0.023981
0.023981
0
0
0
0
0.005573
0.196674
3,127
87
159
35.942529
0.824443
0.478734
0
0
0
0
0.042683
0.030488
0
0
0
0
0
1
0.333333
false
0
0.185185
0.185185
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
bf7f2c11c3914e4b6653eb56675f1bee67d30496
1,422
py
Python
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GL/ARB/texture_cube_map.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GL/ARB/texture_cube_map.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GL/ARB/texture_cube_map.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
'''Autogenerated by xml_generate script, do not edit!''' from OpenGL import platform as _p, arrays # Code generation uses this from OpenGL.raw.GL import _types as _cs # End users want this... from OpenGL.raw.GL._types import * from OpenGL.raw.GL import _errors from OpenGL.constant import Constant as _C import...
52.666667
118
0.850211
251
1,422
4.179283
0.262948
0.146806
0.240229
0.213537
0.608198
0.505243
0.375596
0
0
0
0
0.043116
0.070323
1,422
26
119
54.692308
0.750378
0.070323
0
0
1
0
0.312888
0.299689
0
0
0.055901
0
0
1
0.047619
false
0
0.285714
0.047619
0.380952
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bf8457553b34859482b8d21cb00859f6e5182a47
349
py
Python
django_road/serializer_fields.py
SiSol-Systems/django-road
99eda4dcdf2a1d901e0ae9d21c148cb01ff0ecf0
[ "MIT" ]
null
null
null
django_road/serializer_fields.py
SiSol-Systems/django-road
99eda4dcdf2a1d901e0ae9d21c148cb01ff0ecf0
[ "MIT" ]
null
null
null
django_road/serializer_fields.py
SiSol-Systems/django-road
99eda4dcdf2a1d901e0ae9d21c148cb01ff0ecf0
[ "MIT" ]
null
null
null
from rest_framework import serializers ''' Make the field compatible with jsonb postgres store binary strings, but return json, not text returns json as simple data structure instead of text, even if binary is set to True ''' class RemoteDBJSONField(serializers.JSONField): def to_representation(self, ...
29.083333
88
0.750716
47
349
5.531915
0.851064
0
0
0
0
0
0
0
0
0
0
0
0.200573
349
11
89
31.727273
0.9319
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
bf8593b3803b79332d0896b72dc8eef515f2fa2f
620
py
Python
mcts/node.py
DaiCapra/reinforcement-learning
1b507d15aa1d3e60e0ba62f2b0621b0e64035f23
[ "MIT" ]
1
2021-10-04T17:06:09.000Z
2021-10-04T17:06:09.000Z
mcts/node.py
DaiCapra/reinforcement-learning
1b507d15aa1d3e60e0ba62f2b0621b0e64035f23
[ "MIT" ]
null
null
null
mcts/node.py
DaiCapra/reinforcement-learning
1b507d15aa1d3e60e0ba62f2b0621b0e64035f23
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod class Node(ABC): def __init__(self): self.q = 0 self.n = 0 self.winner = 0 self.current_player = 1 def clear(self): self.q = 0 self.n = 0 self.winner = 0 self.current_player = 1 @abstractmethod def ge...
17.222222
35
0.56129
73
620
4.547945
0.383562
0.090361
0.054217
0.060241
0.620482
0.271084
0.271084
0.271084
0.271084
0.271084
0
0.025063
0.356452
620
35
36
17.714286
0.807018
0
0
0.62963
0
0
0
0
0
0
0
0
0
1
0.259259
false
0
0.037037
0.185185
0.518519
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
bf907fce4fa64fcfe6d834c2d6bd99ecbd2ca3a5
376
py
Python
profiles_api/admin.py
3ugi/profiles-rest-api
8131e702ec7d9c1afe8e7fcf2ca3092fd6927945
[ "MIT" ]
null
null
null
profiles_api/admin.py
3ugi/profiles-rest-api
8131e702ec7d9c1afe8e7fcf2ca3092fd6927945
[ "MIT" ]
null
null
null
profiles_api/admin.py
3ugi/profiles-rest-api
8131e702ec7d9c1afe8e7fcf2ca3092fd6927945
[ "MIT" ]
null
null
null
from django.contrib import admin # 27. Enable django admin (Register newly created model with django admin to display this model in admin interface) from profiles_api import models # 27. Enable django admin (Register model to be visible in admin site) admin.site.register(models.UserProfile) # 61. Add profile feed mod...
37.6
115
0.805851
57
376
5.298246
0.508772
0.109272
0.092715
0.125828
0.178808
0
0
0
0
0
0
0.018519
0.138298
376
9
116
41.777778
0.91358
0.579787
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
bf98b2e8d5404d36260261f2fa6472a9339d468e
139
py
Python
app_contact/urls.py
bogdandrienko/kostanay-minerals
d266b3899f8403b5182e1dadf74b1f8bb580d17c
[ "MIT" ]
1
2021-02-13T08:40:51.000Z
2021-02-13T08:40:51.000Z
app_contact/urls.py
bogdandrienko/chrysotile-minerals
47a4097e29ee40f2606807e28b2da466dfd7f3f4
[ "MIT" ]
null
null
null
app_contact/urls.py
bogdandrienko/chrysotile-minerals
47a4097e29ee40f2606807e28b2da466dfd7f3f4
[ "MIT" ]
null
null
null
from django.urls import path from . import views app_name = 'app_contact' urlpatterns = [ path('', views.contact, name='contact'), ]
15.444444
44
0.690647
18
139
5.222222
0.555556
0
0
0
0
0
0
0
0
0
0
0
0.172662
139
8
45
17.375
0.817391
0
0
0
0
0
0.129496
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
bfa0af89239e0853351a9c1118fd11c1f05a646c
1,765
py
Python
src/connectedk8s/azext_connectedk8s/_client_factory.py
YingXue/azure-cli-extensions
30086b7fe22ed591daaae9019920db6c16aef9de
[ "MIT" ]
1
2020-09-16T03:47:44.000Z
2020-09-16T03:47:44.000Z
src/connectedk8s/azext_connectedk8s/_client_factory.py
YingXue/azure-cli-extensions
30086b7fe22ed591daaae9019920db6c16aef9de
[ "MIT" ]
null
null
null
src/connectedk8s/azext_connectedk8s/_client_factory.py
YingXue/azure-cli-extensions
30086b7fe22ed591daaae9019920db6c16aef9de
[ "MIT" ]
1
2019-05-02T00:55:30.000Z
2019-05-02T00:55:30.000Z
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
46.447368
114
0.711048
200
1,765
5.895
0.33
0.071247
0.040712
0.054283
0.383376
0.383376
0.383376
0.356234
0.283291
0.198473
0
0.001953
0.129745
1,765
37
115
47.702703
0.765625
0.190368
0
0
0
0
0
0
0
0
0
0
0
1
0.217391
false
0
0.26087
0.130435
0.695652
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
bfa7fba19f305366512dec4b526dccc5ceddcaee
57
py
Python
libs/redis_conn/redis_conn.py
Mhh123/tornado
4d2b44f00142f57ac71241eebe07c1130a6c7e48
[ "Apache-2.0" ]
null
null
null
libs/redis_conn/redis_conn.py
Mhh123/tornado
4d2b44f00142f57ac71241eebe07c1130a6c7e48
[ "Apache-2.0" ]
null
null
null
libs/redis_conn/redis_conn.py
Mhh123/tornado
4d2b44f00142f57ac71241eebe07c1130a6c7e48
[ "Apache-2.0" ]
1
2018-06-07T09:59:38.000Z
2018-06-07T09:59:38.000Z
#-*-coding:utf-8-*- import redis conn = redis.Redis()
14.25
20
0.614035
8
57
4.375
0.75
0
0
0
0
0
0
0
0
0
0
0.020833
0.157895
57
4
21
14.25
0.708333
0.315789
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
bfc3bdf5853656aafc474008b66bfe869a2ebd13
357
py
Python
students/K33402/Akhmetzhanov Alisher/lr2/main/admin.py
AlishKZ/ITMO_ICT_WebDevelopment_2020-2021
b3ce82e17392d26d815e64343f5103f1bd46cd81
[ "MIT" ]
null
null
null
students/K33402/Akhmetzhanov Alisher/lr2/main/admin.py
AlishKZ/ITMO_ICT_WebDevelopment_2020-2021
b3ce82e17392d26d815e64343f5103f1bd46cd81
[ "MIT" ]
null
null
null
students/K33402/Akhmetzhanov Alisher/lr2/main/admin.py
AlishKZ/ITMO_ICT_WebDevelopment_2020-2021
b3ce82e17392d26d815e64343f5103f1bd46cd81
[ "MIT" ]
null
null
null
from main.models import Comentator, Comment, Hotel, HotelRoom, RoomReservation, UserRoom, Сonvenience from django.contrib import admin admin.site.register(Hotel) admin.site.register(Сonvenience) admin.site.register(HotelRoom) admin.site.register(UserRoom) admin.site.register(RoomReservation) admin.site.register(Come...
27.461538
101
0.831933
44
357
6.75
0.363636
0.212121
0.400673
0
0
0
0
0
0
0
0
0
0.067227
357
12
102
29.75
0.891892
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.222222
0
0.222222
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
449ff15b32a91b0c2805ce9b4ce3205bf3912c54
2,194
py
Python
resources/lib/kodiutils.py
FraserChapman/plugin.video.bfi
1ce6f21f32e35c72df0ab171c04155467b787661
[ "MIT" ]
null
null
null
resources/lib/kodiutils.py
FraserChapman/plugin.video.bfi
1ce6f21f32e35c72df0ab171c04155467b787661
[ "MIT" ]
1
2020-08-06T13:06:18.000Z
2020-08-06T13:06:18.000Z
resources/lib/kodiutils.py
FraserChapman/plugin.video.bfi
1ce6f21f32e35c72df0ab171c04155467b787661
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import logging import os import xbmc import xbmcaddon import xbmcgui logger = logging.getLogger(__name__) ADDON = xbmcaddon.Addon() ADDON_PATH = ADDON.getAddonInfo("path") ADDON_NAME = ADDON.getAddonInfo("name") MEDIA_URI = os.path.join(ADDON_PATH, "resources", "media") def art(domain, ima...
23.847826
91
0.638104
263
2,194
5.205323
0.380228
0.056245
0.074507
0.043828
0.137327
0.107378
0
0
0
0
0
0.015437
0.202826
2,194
91
92
24.10989
0.767296
0.090246
0
0.111111
0
0
0.07413
0
0
0
0
0
0
1
0.240741
false
0
0.092593
0.111111
0.574074
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
44d40a4f7ade36a95f436344d28c198eb2f0d59b
1,866
py
Python
discoursesimplification/runner/discourse_tree/model/discourse_tree.py
kkatsamaktsis/PyDiscourseSimplification
18d247894355b4b51f5abcced86e7a7292b17ac0
[ "MIT" ]
null
null
null
discoursesimplification/runner/discourse_tree/model/discourse_tree.py
kkatsamaktsis/PyDiscourseSimplification
18d247894355b4b51f5abcced86e7a7292b17ac0
[ "MIT" ]
null
null
null
discoursesimplification/runner/discourse_tree/model/discourse_tree.py
kkatsamaktsis/PyDiscourseSimplification
18d247894355b4b51f5abcced86e7a7292b17ac0
[ "MIT" ]
null
null
null
from __future__ import annotations from typing import TYPE_CHECKING, List from discoursesimplification.utils import pretty_tree_printer if TYPE_CHECKING: from discoursesimplification.runner.discourse_tree.model.leaf import Leaf # This class should normally be abstract class DiscourseTree: def __init__(sel...
31.1
93
0.68328
222
1,866
5.495496
0.36036
0.063934
0.094262
0.066393
0.247541
0.136066
0.088525
0
0
0
0
0.00144
0.255627
1,866
59
94
31.627119
0.87689
0.179528
0
0.076923
0
0
0.015779
0
0
0
0
0
0.025641
1
0.25641
false
0.076923
0.102564
0.076923
0.538462
0.051282
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
44dc748187053932e4ec7a22b94b3f99c5cfaca8
185
py
Python
Reversi/reversi.py
tvetan/Reversi
ad4644293f3e6f6885183bc228d3673ce54ff02b
[ "MIT" ]
1
2015-06-07T18:45:23.000Z
2015-06-07T18:45:23.000Z
Reversi/reversi.py
tvetan/Reversi
ad4644293f3e6f6885183bc228d3673ce54ff02b
[ "MIT" ]
null
null
null
Reversi/reversi.py
tvetan/Reversi
ad4644293f3e6f6885183bc228d3673ce54ff02b
[ "MIT" ]
null
null
null
from gui.gui import * from common.board import * from common.game import * def main(): board = Board() gui = Gui(board) gui.show() if __name__ == '__main__': main()
13.214286
26
0.616216
25
185
4.24
0.44
0.113208
0.301887
0
0
0
0
0
0
0
0
0
0.248649
185
13
27
14.230769
0.76259
0
0
0
0
0
0.043243
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.444444
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
0
0
0
1
0
0
0
0
3
44ea4581a0c805257918b183bf61af9fe49533c7
738
py
Python
PyFlow/Packages/PyflowBase/Nodes/address.py
dlario/PyFlow
b53b9d14b37aa586426d85842c6cd9a9c35443f2
[ "MIT" ]
null
null
null
PyFlow/Packages/PyflowBase/Nodes/address.py
dlario/PyFlow
b53b9d14b37aa586426d85842c6cd9a9c35443f2
[ "MIT" ]
null
null
null
PyFlow/Packages/PyflowBase/Nodes/address.py
dlario/PyFlow
b53b9d14b37aa586426d85842c6cd9a9c35443f2
[ "MIT" ]
null
null
null
from PyFlow.Core import NodeBase from PyFlow.Core.Common import * class address(NodeBase): def __init__(self, name): super(address, self).__init__(name) self.obj = self.createInputPin("obj", "AnyPin", structure=PinStructure.Multi) self.addr = self.createOutputPin('out', 'StringPin') @...
25.448276
85
0.634146
79
738
5.822785
0.56962
0.130435
0.06087
0
0
0
0
0
0
0
0
0
0.228997
738
28
86
26.357143
0.808436
0
0
0.190476
0
0
0.127371
0
0
0
0
0
0
1
0.285714
false
0
0.095238
0.190476
0.619048
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
44f40670a7d522f6caef5896a82e5979fb911c0f
331
py
Python
files/exercises/defensive-pre-post-conditions.py
mforneris/introduction_to_python_course
8075973ee89a921a5e2693f649adbf1fc0e0b2cb
[ "CC-BY-4.0" ]
null
null
null
files/exercises/defensive-pre-post-conditions.py
mforneris/introduction_to_python_course
8075973ee89a921a5e2693f649adbf1fc0e0b2cb
[ "CC-BY-4.0" ]
null
null
null
files/exercises/defensive-pre-post-conditions.py
mforneris/introduction_to_python_course
8075973ee89a921a5e2693f649adbf1fc0e0b2cb
[ "CC-BY-4.0" ]
1
2020-01-09T10:58:56.000Z
2020-01-09T10:58:56.000Z
# Pre- and Post-Conditions # Suppose you are writing a function called average that calculates the average of the numbers in a list. # What pre-conditions and post-conditions would you write for it? # Compare your answer to your neighbor’s: can you think of a function that will pass your tests but not his/hers or vi...
47.285714
127
0.773414
58
331
4.413793
0.724138
0.054688
0.132813
0
0
0
0
0
0
0
0
0
0.18429
331
6
128
55.166667
0.948148
0.966767
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
780d744cf057c0375da15165f5caa08c672dd0f5
4,531
py
Python
kg_core/models.py
apdavison/kg-core-python
daa049f9b99345fefbf632efd1e6b4617315b5b6
[ "Apache-2.0" ]
2
2021-04-12T12:47:46.000Z
2021-11-23T11:21:59.000Z
kg_core/models.py
apdavison/kg-core-python
daa049f9b99345fefbf632efd1e6b4617315b5b6
[ "Apache-2.0" ]
null
null
null
kg_core/models.py
apdavison/kg-core-python
daa049f9b99345fefbf632efd1e6b4617315b5b6
[ "Apache-2.0" ]
2
2021-03-05T08:58:21.000Z
2021-06-02T13:39:30.000Z
# Copyright 2018 - 2021 Swiss Federal Institute of Technology Lausanne (EPFL) # # 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 ...
40.81982
207
0.726109
658
4,531
4.919453
0.221885
0.084955
0.0346
0.0519
0.59067
0.58511
0.535063
0.535063
0.535063
0.535063
0
0.020868
0.196204
4,531
110
208
41.190909
0.86793
0.503862
0
0
0
0
0.054214
0
0
0
0
0
0
1
0.3
false
0
0.025
0.225
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
780eeefc291a5222d065d4454b584b68f11067a4
28
py
Python
data/vars.py
earney/WallaceSubmit
5a7ca3f03b4fb9a0d1e995489dd1259a386447cd
[ "MIT" ]
null
null
null
data/vars.py
earney/WallaceSubmit
5a7ca3f03b4fb9a0d1e995489dd1259a386447cd
[ "MIT" ]
null
null
null
data/vars.py
earney/WallaceSubmit
5a7ca3f03b4fb9a0d1e995489dd1259a386447cd
[ "MIT" ]
null
null
null
CurrentSemester="Fall 2019"
14
27
0.821429
3
28
7.666667
1
0
0
0
0
0
0
0
0
0
0
0.153846
0.071429
28
1
28
28
0.730769
0
0
0
0
0
0.321429
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
78132be5aab42bfb57cccdd5340654469ef67965
185
py
Python
adb/my_test.py
ITXIAOKE/XKADB
39209a06c740e6a7d15d093897bbab193d65a565
[ "Apache-2.0" ]
null
null
null
adb/my_test.py
ITXIAOKE/XKADB
39209a06c740e6a7d15d093897bbab193d65a565
[ "Apache-2.0" ]
null
null
null
adb/my_test.py
ITXIAOKE/XKADB
39209a06c740e6a7d15d093897bbab193d65a565
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # @Time : 2018/5/23 20:53 # @Author : xiaoke # @Email : 976249817@qq.com # @File : my_test.py print(range(1)) for i in range(1): print(i)
18.5
30
0.52973
29
185
3.344828
0.862069
0.123711
0
0
0
0
0
0
0
0
0
0.171642
0.275676
185
9
31
20.555556
0.552239
0.627027
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
782499bba4ae2b5fe4178a84a145cdadc771ff12
151
py
Python
python/488.py
ThePeeps191/online-judge-solutions
1cc7d26233c7bd2da23b82ac0fd1d4132cf8d0ad
[ "MIT" ]
1
2022-03-14T22:53:44.000Z
2022-03-14T22:53:44.000Z
python/488.py
ThePeeps191/online-judge-solutions
1cc7d26233c7bd2da23b82ac0fd1d4132cf8d0ad
[ "MIT" ]
null
null
null
python/488.py
ThePeeps191/online-judge-solutions
1cc7d26233c7bd2da23b82ac0fd1d4132cf8d0ad
[ "MIT" ]
null
null
null
# not yet finished N = int(input()) input() for _ in range(int(input())): A, F = int(input()), int(input()) try: input() except EOFError: pass
13.727273
34
0.602649
23
151
3.913043
0.652174
0.355556
0
0
0
0
0
0
0
0
0
0
0.198676
151
10
35
15.1
0.743802
0.10596
0
0.25
0
0
0
0
0
0
0
0
0
1
0
false
0.125
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
7828ac2312217b19999d1b11e36f5f2469549513
760
py
Python
layout/ElementData.py
soumikmohianuta/pixtoapp
f103a580e015ef7779998f14c9533a238a4bf1d1
[ "BSD-3-Clause" ]
31
2018-03-19T19:30:29.000Z
2022-02-16T08:50:42.000Z
resource/ElementData.py
soumikmohianuta/Doodle2App
384d4e66124b510370ed01edd00881746d987afd
[ "BSD-3-Clause" ]
4
2018-10-04T08:01:15.000Z
2019-04-25T15:50:36.000Z
resource/ElementData.py
soumikmohianuta/Doodle2App
384d4e66124b510370ed01edd00881746d987afd
[ "BSD-3-Clause" ]
12
2018-07-24T18:52:07.000Z
2021-07-15T11:36:14.000Z
from RectUtils.Rect import Rect class ElementData: def __init__(self, top, left, width, height): self.x = top self.y = left self.width = width self.height = height self.rect = Rect(top,left,width,height) # @Override def bound(self): return self.rect # ...
23.75
90
0.521053
88
760
4.318182
0.363636
0.084211
0.110526
0.094737
0
0
0
0
0
0
0
0.002033
0.352632
760
31
91
24.516129
0.770325
0.028947
0
0
0
0
0.010944
0
0
0
0
0
0
1
0.238095
false
0
0.047619
0.142857
0.619048
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
7849c8a2558daa016b1d45d20ea361a344384af3
690
py
Python
lattice/__init__.py
WillemGispen/Lattice-QuaRL
8bdc8bfe2deb2a673249bb7ed9659d2e5819d89e
[ "MIT" ]
4
2021-04-19T10:11:40.000Z
2021-04-21T13:38:20.000Z
lattice/__init__.py
WillemGispen/Lattice-QuaRL
8bdc8bfe2deb2a673249bb7ed9659d2e5819d89e
[ "MIT" ]
null
null
null
lattice/__init__.py
WillemGispen/Lattice-QuaRL
8bdc8bfe2deb2a673249bb7ed9659d2e5819d89e
[ "MIT" ]
2
2021-04-19T13:22:26.000Z
2021-09-07T14:44:57.000Z
""" Package for lattice models. Usage: Create custom hparams from lattice.DEFAULT_HPARAMS, and pass this into lattice.Model. Submodules: evaluate: calculates evaluated losses for models. model: defines lattice.Model potentials: defines potential energy functions that can be used by Model. markov_solvers: ...
26.538462
75
0.808696
90
690
6.133333
0.555556
0.117754
0
0
0
0
0
0
0
0
0
0
0.143478
690
25
76
27.6
0.93401
0.67971
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
3
785d13b88a984d094ea4cc9ab96646dde5f774d8
153
py
Python
src/slave/save_file.py
emanuelibiapino/micro_cluster
42ecf3d50aea1e8ec70d3782cac3e440ea08194c
[ "MIT" ]
null
null
null
src/slave/save_file.py
emanuelibiapino/micro_cluster
42ecf3d50aea1e8ec70d3782cac3e440ea08194c
[ "MIT" ]
null
null
null
src/slave/save_file.py
emanuelibiapino/micro_cluster
42ecf3d50aea1e8ec70d3782cac3e440ea08194c
[ "MIT" ]
null
null
null
def save_txt(file): saida = open('cache/data.txt','w') for line in file: saida.write(str(line.replace('\n',''))+'\n') saida.close()
21.857143
52
0.562092
23
153
3.695652
0.73913
0.211765
0
0
0
0
0
0
0
0
0
0
0.20915
153
7
53
21.857143
0.702479
0
0
0
0
0
0.124183
0
0
0
0
0
0
1
0.2
false
0
0
0
0.2
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7873090e3c9df0af8d7a324dccc8cab18243edea
255
py
Python
movie/urls.py
justnclrk/MCURanker
97f946e75bb911a2073955c1ea66402da839d2ef
[ "MIT" ]
null
null
null
movie/urls.py
justnclrk/MCURanker
97f946e75bb911a2073955c1ea66402da839d2ef
[ "MIT" ]
6
2020-09-24T04:35:08.000Z
2022-03-12T00:27:25.000Z
movie/urls.py
justnclrk/MCURanker
97f946e75bb911a2073955c1ea66402da839d2ef
[ "MIT" ]
null
null
null
from django.urls import path from .views import MovieDetailView, MovieListView from . import views urlpatterns = [ path('', MovieListView.as_view(), name="movie-list"), path('movie/<slug:slug>/', MovieDetailView.as_view(), name="movie-detail") ]
28.333333
78
0.721569
31
255
5.870968
0.516129
0.065934
0.10989
0.164835
0
0
0
0
0
0
0
0
0.12549
255
8
79
31.875
0.816144
0
0
0
0
0
0.156863
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7898dac22d6310ffd4e943543d303cb9ac63eebd
161
py
Python
app/compat.py
astrofra/amiga-memories
4af9f7658fa83cf1cf27596ca1c7d56eceb0e6bf
[ "MIT" ]
null
null
null
app/compat.py
astrofra/amiga-memories
4af9f7658fa83cf1cf27596ca1c7d56eceb0e6bf
[ "MIT" ]
null
null
null
app/compat.py
astrofra/amiga-memories
4af9f7658fa83cf1cf27596ca1c7d56eceb0e6bf
[ "MIT" ]
null
null
null
# GS Squirrel compatibility layer import hashlib def SHA1(_str): sha_1 = hashlib.sha1() sha_1.update(_str.encode()) return sha_1.hexdigest()
20.125
34
0.677019
22
161
4.727273
0.681818
0.115385
0
0
0
0
0
0
0
0
0
0.039683
0.217391
161
8
35
20.125
0.785714
0.192547
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
789975d8960f6bc55f50b7dd5eef190bf5e0031a
589
py
Python
tests/lupin/fields/test_number.py
Clustaar/lupin
9ef73642d84a99adb80abf5a922a9422ddae9254
[ "MIT" ]
22
2017-10-18T08:27:20.000Z
2022-03-25T18:53:43.000Z
tests/lupin/fields/test_number.py
Clustaar/lupin
9ef73642d84a99adb80abf5a922a9422ddae9254
[ "MIT" ]
5
2019-09-16T15:31:55.000Z
2022-02-10T08:29:14.000Z
tests/lupin/fields/test_number.py
Clustaar/lupin
9ef73642d84a99adb80abf5a922a9422ddae9254
[ "MIT" ]
null
null
null
import pytest from lupin.fields import Number from lupin.errors import InvalidType from lupin import Mapper @pytest.fixture def mapper(): return Mapper() @pytest.fixture def field(): return Number() class TestValidate(object): def test_raises_error_if_not_an_number(self, field, mapper): with ...
21.035714
64
0.699491
78
589
5.102564
0.397436
0.067839
0.113065
0.110553
0.324121
0.324121
0.211055
0.211055
0.211055
0.211055
0
0.016842
0.193548
589
27
65
21.814815
0.821053
0
0
0.111111
0
0
0.006791
0
0
0
0
0
0
1
0.277778
false
0
0.222222
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
78a21af1e60f5e0b96c7406f6a323b9b6fcfc31e
639
py
Python
D_arrays/operation_on_arrays/C_deletion.py
Princeton21/DSA
0f2321b284fc54f4ddf73733cc1a8d05e549aeea
[ "MIT" ]
58
2021-01-06T10:05:51.000Z
2022-02-10T05:15:19.000Z
D_arrays/operation_on_arrays/C_deletion.py
Princeton21/DSA
0f2321b284fc54f4ddf73733cc1a8d05e549aeea
[ "MIT" ]
5
2021-02-22T04:14:24.000Z
2021-12-26T09:19:17.000Z
D_arrays/operation_on_arrays/C_deletion.py
Princeton21/DSA
0f2321b284fc54f4ddf73733cc1a8d05e549aeea
[ "MIT" ]
27
2021-02-09T13:58:33.000Z
2022-03-06T03:48:08.000Z
def method1(n: int, l: list) -> list: n = 2 l = [i for i in range(10)] # [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] return l.remove(2) # [0, 1, 3, 4, 5, 6, 7, 8, 9] def method2(n: int, l: list) -> list: n = 2 l = [i for i in range(10)] # [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] return l.pop(0) # [1, 2, 3, 4, 5,...
30.428571
78
0.505477
124
639
2.540323
0.298387
0.031746
0.047619
0.063492
0.526984
0.438095
0.438095
0.415873
0.415873
0.415873
0
0.245614
0.286385
639
20
79
31.95
0.445175
0.183099
0
0.444444
0
0
0.032653
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
78abb1837d661dd2205cd91948043e30d1b52583
5,098
py
Python
tests/oxml/test_dml.py
just4jc/python-pptx
ec433085d84d48b5539c379e52eb3c279ab2cbc0
[ "MIT" ]
1
2016-06-07T17:12:37.000Z
2016-06-07T17:12:37.000Z
tests/oxml/test_dml.py
just4jc/python-pptx
ec433085d84d48b5539c379e52eb3c279ab2cbc0
[ "MIT" ]
4
2021-03-18T20:28:17.000Z
2022-03-11T23:18:51.000Z
tests/oxml/test_dml.py
just4jc/python-pptx
ec433085d84d48b5539c379e52eb3c279ab2cbc0
[ "MIT" ]
3
2019-05-14T13:40:08.000Z
2021-04-12T08:00:34.000Z
# encoding: utf-8 """ Test suite for pptx.oxml.dml module. """ from __future__ import absolute_import, print_function import pytest from pptx.enum.dml import MSO_THEME_COLOR from pptx.oxml.dml.color import CT_Percentage, CT_SchemeColor, CT_SRgbColor from pptx.oxml.ns import qn from .unitdata.dml import a_lumMod, a...
31.664596
75
0.688701
643
5,098
5.091757
0.1493
0.103238
0.073305
0.061087
0.507941
0.404704
0.32865
0.30452
0.207392
0.189982
0
0.015746
0.190271
5,098
160
76
31.8625
0.777374
0.05355
0
0.254717
0
0
0.013505
0
0
0
0
0
0.179245
1
0.273585
false
0
0.056604
0.103774
0.509434
0.009434
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
78c968ff27814ef0deadf72bcfe17db4d77eb0a6
174
py
Python
tests/test_mod.py
scienceopen/python-lcpfct
cbac7f8a4091c89e7fd58372d55ea406cde8f509
[ "MIT" ]
3
2019-06-12T08:34:49.000Z
2020-08-15T17:41:47.000Z
tests/test_mod.py
scienceopen/pyLCPFCT
cbac7f8a4091c89e7fd58372d55ea406cde8f509
[ "MIT" ]
null
null
null
tests/test_mod.py
scienceopen/pyLCPFCT
cbac7f8a4091c89e7fd58372d55ea406cde8f509
[ "MIT" ]
4
2019-02-17T10:32:43.000Z
2020-09-18T09:44:36.000Z
import shock from pytest import approx def test_shock(): nx = 50 darr = shock.shock(nx) assert [darr[500, 3], darr[1500, 4]] == approx([1.8167841, 80.751778])
17.4
74
0.637931
27
174
4.074074
0.703704
0.127273
0
0
0
0
0
0
0
0
0
0.19708
0.212644
174
9
75
19.333333
0.605839
0
0
0
0
0
0
0
0
0
0
0
0.166667
1
0.166667
false
0
0.333333
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
152ba35ba9666e01ff8ccd2e291e623c75960863
139
py
Python
Part_3_advanced/m08_abstract_protocol/protocol/example_1/tax_calculator/frequency.py
Mikma03/InfoShareacademy_Python_Courses
3df1008c8c92831bebf1625f960f25b39d6987e6
[ "MIT" ]
null
null
null
Part_3_advanced/m08_abstract_protocol/protocol/example_1/tax_calculator/frequency.py
Mikma03/InfoShareacademy_Python_Courses
3df1008c8c92831bebf1625f960f25b39d6987e6
[ "MIT" ]
null
null
null
Part_3_advanced/m08_abstract_protocol/protocol/example_1/tax_calculator/frequency.py
Mikma03/InfoShareacademy_Python_Courses
3df1008c8c92831bebf1625f960f25b39d6987e6
[ "MIT" ]
null
null
null
from enum import Enum, auto class Frequency(Enum): WEEKLY = auto() MONTHLY = auto() QUARTERLY = auto() ANNUALLY = auto()
15.444444
27
0.618705
16
139
5.375
0.625
0
0
0
0
0
0
0
0
0
0
0
0.266187
139
8
28
17.375
0.843137
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.166667
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
1568af1b8d5c05f034c2bb78c234f26b90930fd2
3,826
py
Python
app.py
floodski/cool-pass
c58990417ab4543dbb64d8182290d99033e06665
[ "MIT" ]
1
2021-03-16T00:15:09.000Z
2021-03-16T00:15:09.000Z
app.py
floodski/cool-pass
c58990417ab4543dbb64d8182290d99033e06665
[ "MIT" ]
null
null
null
app.py
floodski/cool-pass
c58990417ab4543dbb64d8182290d99033e06665
[ "MIT" ]
null
null
null
#!usr/bin/python3 import sys from flask import Flask import random app = Flask(__name__) class CoolPassGen(object): dipshitMode = False with open("CA.txt", 'r') as reader: CleanAdjects = [x.rstrip() for x in reader] with open("CN.txt", 'r') as reader: CleanNouns = [x.rstrip() for x ...
52.410959
1,539
0.684266
541
3,826
4.831793
0.454713
0.032135
0.041316
0.018363
0.165264
0.122418
0.030987
0.030987
0
0
0
0.012231
0.209357
3,826
72
1,540
53.138889
0.851901
0.129378
0
0.175
0
0.05
0.474343
0
0
0
0
0
0
1
0.175
false
0.375
0.075
0.025
0.55
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
156ec3fb87424870fa9bb28a791243d61f1422a7
897
py
Python
sources/datasets/client_dataset_definitions/client_dataset_processors/client_dataset_processor.py
M4rukku/impact_of_non_iid_data_in_federated_learning
c818db03699c82e42217d56f8ddd4cc2081c8bb1
[ "MIT" ]
null
null
null
sources/datasets/client_dataset_definitions/client_dataset_processors/client_dataset_processor.py
M4rukku/impact_of_non_iid_data_in_federated_learning
c818db03699c82e42217d56f8ddd4cc2081c8bb1
[ "MIT" ]
null
null
null
sources/datasets/client_dataset_definitions/client_dataset_processors/client_dataset_processor.py
M4rukku/impact_of_non_iid_data_in_federated_learning
c818db03699c82e42217d56f8ddd4cc2081c8bb1
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from sources.utils.unmodifyable_attributes_trait import UnmodifiableAttributes class ClientDatasetProcessor(ABC, UnmodifiableAttributes): @abstractmethod def process_x(self, raw_x_batch): """Pre-processes each batch of features before being fed to the mode...
29.9
79
0.7068
110
897
5.6
0.309091
0.11039
0.155844
0.136364
0.63961
0.63961
0.63961
0.626623
0.597403
0.597403
0
0
0.22408
897
29
80
30.931034
0.885057
0.297659
0
0.625
0
0
0
0
0
0
0
0
0
1
0.25
false
0.125
0.125
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
1572efdaf4602a6cb320f3a3e14f92f7921417b3
875
py
Python
numpy_linalg/testing/__init__.py
subhylahiri/numpy_linalg_extras
dfc875c43c5b0c734b0df2fcf14cd415406682bb
[ "BSD-3-Clause" ]
5
2019-01-16T01:47:00.000Z
2021-08-04T08:22:03.000Z
numpy_linalg/testing/__init__.py
subhylahiri/numpy_linalg_extras
dfc875c43c5b0c734b0df2fcf14cd415406682bb
[ "BSD-3-Clause" ]
null
null
null
numpy_linalg/testing/__init__.py
subhylahiri/numpy_linalg_extras
dfc875c43c5b0c734b0df2fcf14cd415406682bb
[ "BSD-3-Clause" ]
null
null
null
"""Tools for writing unit tests. main Runs unit tests when called. By default it does not sort the tests. load_tests_helper Implements the `load_tests` protocol to load tests in order of definition. TestCaseNumpy A subclass of `unittest.TestCase` with methods for testing arrays. It can be used as a bas...
38.043478
78
0.790857
128
875
5.25
0.445313
0.080357
0.089286
0.059524
0.193452
0.125
0
0
0
0
0
0
0.156571
875
22
79
39.772727
0.910569
0.660571
0
0
0
0
0
0
0
0
0
0
0.4
1
0
true
0
0.6
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
1577de0d0ca9db15b0a32a2f0096e198127f3020
972
py
Python
tests/test_class_template.py
sasasasasas2/seasnake
ad7b73b51cfc5052cbf202b04c1b45ef382c9622
[ "BSD-3-Clause" ]
156
2016-01-12T08:13:28.000Z
2022-03-13T16:10:18.000Z
tests/test_class_template.py
sasasasasas2/seasnake
ad7b73b51cfc5052cbf202b04c1b45ef382c9622
[ "BSD-3-Clause" ]
5
2016-01-12T11:57:18.000Z
2016-10-11T14:10:39.000Z
tests/test_class_template.py
sasasasasas2/seasnake
ad7b73b51cfc5052cbf202b04c1b45ef382c9622
[ "BSD-3-Clause" ]
120
2016-01-12T11:40:02.000Z
2022-03-30T00:51:31.000Z
from __future__ import unicode_literals from tests.utils import ConverterTestCase class ClassTestCase(ConverterTestCase): def test_simple_template(self): self.assertGeneratedOutput( """ template<typename T> class Foo {}; void test() { Foo<i...
19.058824
46
0.403292
71
972
5.394366
0.366197
0.073107
0.151436
0.193211
0.281984
0.281984
0.281984
0.281984
0
0
0
0.008282
0.503086
972
50
47
19.44
0.784679
0
0
0.181818
1
0
0
0
0
0
0
0
0.181818
1
0.181818
false
0
0.181818
0
0.454545
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
1
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
3
158ed1bc20e2db4a2fb193cec6eee5f41e903de1
921
py
Python
setup.py
xdusongwei/rdict
ab275a9db079b18cd4da17110441d3407bdb106a
[ "MIT" ]
null
null
null
setup.py
xdusongwei/rdict
ab275a9db079b18cd4da17110441d3407bdb106a
[ "MIT" ]
null
null
null
setup.py
xdusongwei/rdict
ab275a9db079b18cd4da17110441d3407bdb106a
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='rdict', version='0.1.1', author='songwei', author_email='songwei@songwei.io', description='A Pythonic tool is used for operating redis commands.', long_description='', url='https://github.com/xdusongwei/rdict', python_requires='>=3', package...
30.7
72
0.59392
93
921
5.827957
0.602151
0.175277
0.230627
0.239852
0.099631
0
0
0
0
0
0
0.02029
0.250814
921
29
73
31.758621
0.765217
0
0
0
0
0
0.539631
0
0
0
0
0
0
1
0
true
0
0.035714
0
0.035714
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
15a8c87d9ddb0206d3f97da707370e365b30a5b9
165
py
Python
acapy_client/models/submission_requirements_rule.py
dbluhm/acapy-client
d92ef607ba2ff1152ec15429f2edb20976991424
[ "Apache-2.0" ]
4
2021-08-05T09:20:34.000Z
2021-08-08T19:37:29.000Z
acapy_client/models/submission_requirements_rule.py
dbluhm/acapy-client
d92ef607ba2ff1152ec15429f2edb20976991424
[ "Apache-2.0" ]
null
null
null
acapy_client/models/submission_requirements_rule.py
dbluhm/acapy-client
d92ef607ba2ff1152ec15429f2edb20976991424
[ "Apache-2.0" ]
2
2021-08-12T18:18:45.000Z
2021-08-14T13:22:28.000Z
from enum import Enum class SubmissionRequirementsRule(str, Enum): ALL = "all" PICK = "pick" def __str__(self) -> str: return str(self.value)
16.5
44
0.636364
20
165
5.05
0.6
0.138614
0
0
0
0
0
0
0
0
0
0
0.254545
165
9
45
18.333333
0.821138
0
0
0
0
0
0.042424
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.166667
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
15b48f4335b3cf5571d1984859005a573ae9e8d0
88
py
Python
djangocms_forms/__init__.py
gruy/djangocms-forms
96fa3c249b8f443d0063f07b9273f1eaca3314fe
[ "BSD-3-Clause" ]
136
2015-04-28T18:09:13.000Z
2022-01-11T19:46:44.000Z
djangocms_forms/__init__.py
gruy/djangocms-forms
96fa3c249b8f443d0063f07b9273f1eaca3314fe
[ "BSD-3-Clause" ]
80
2015-05-20T15:33:13.000Z
2021-05-31T07:49:23.000Z
djangocms_forms/__init__.py
gruy/djangocms-forms
96fa3c249b8f443d0063f07b9273f1eaca3314fe
[ "BSD-3-Clause" ]
91
2015-04-28T18:13:55.000Z
2022-03-17T10:49:04.000Z
__version__ = '0.2.5' default_app_config = 'djangocms_forms.apps.DjangoCMSFormsConfig'
22
64
0.806818
11
88
5.818182
1
0
0
0
0
0
0
0
0
0
0
0.037037
0.079545
88
3
65
29.333333
0.753086
0
0
0
0
0
0.522727
0.465909
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
15b5b8f36452834326a16521e601e27ad92f1f47
367
py
Python
arrow/commands/cannedkeys/get_keys.py
trstickland/python-apollo
04cccf2923e6977b2cfb6ebb2ff7e5227b740bcb
[ "MIT" ]
5
2017-06-27T19:41:57.000Z
2021-06-05T13:36:11.000Z
arrow/commands/cannedkeys/get_keys.py
trstickland/python-apollo
04cccf2923e6977b2cfb6ebb2ff7e5227b740bcb
[ "MIT" ]
28
2017-07-24T15:10:37.000Z
2021-09-03T11:56:35.000Z
arrow/commands/cannedkeys/get_keys.py
trstickland/python-apollo
04cccf2923e6977b2cfb6ebb2ff7e5227b740bcb
[ "MIT" ]
10
2017-05-10T19:13:44.000Z
2021-08-09T04:52:33.000Z
import click from arrow.cli import pass_context, json_loads from arrow.decorators import custom_exception, list_output @click.command('get_keys') @pass_context @custom_exception @list_output def cli(ctx): """Get all canned keys available in this Apollo instance Output: list of canned key info dictionaries ...
20.388889
60
0.768392
53
367
5.150943
0.622642
0.065934
0.139194
0.18315
0
0
0
0
0
0
0
0
0.155313
367
17
61
21.588235
0.880645
0.283379
0
0
0
0
0.031746
0
0
0
0
0
0
1
0.111111
false
0.222222
0.333333
0
0.555556
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
3
ec630a8b89102fad15eea5ea874f8f78447e8955
993
py
Python
utils/browser.py
miketheinkman/facebook_admin
14dbab65b70ac4f3bb4fa9e78918c8f383115787
[ "MIT" ]
null
null
null
utils/browser.py
miketheinkman/facebook_admin
14dbab65b70ac4f3bb4fa9e78918c8f383115787
[ "MIT" ]
null
null
null
utils/browser.py
miketheinkman/facebook_admin
14dbab65b70ac4f3bb4fa9e78918c8f383115787
[ "MIT" ]
null
null
null
import settings from selenium import webdriver import os import sys def platform_browser(): if settings.PLATFORM == 'linux': if sys.maxsize > 2 ** 32: browser = webdriver.Firefox(executable_path=os.path.join(settings.BIN_PATH, ...
39.72
90
0.49144
85
993
5.635294
0.317647
0.133612
0.192067
0.275574
0.697286
0.697286
0.697286
0.697286
0.697286
0.697286
0
0.017575
0.426989
993
24
91
41.375
0.824253
0
0
0.4
0
0
0.068479
0
0
0
0
0
0
1
0.05
false
0
0.2
0
0.3
0
0
0
0
null
0
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ec70134637c30d8e393da9091e8ac61a1329f4c6
199
py
Python
blm_header/__init__.py
loiccoyle/blm_header
f3430ad5013bcd6f1918ca1ec1ef9b676335c885
[ "MIT" ]
1
2020-04-21T09:51:22.000Z
2020-04-21T09:51:22.000Z
blm_header/__init__.py
loiccoyle/blm_header
f3430ad5013bcd6f1918ca1ec1ef9b676335c885
[ "MIT" ]
null
null
null
blm_header/__init__.py
loiccoyle/blm_header
f3430ad5013bcd6f1918ca1ec1ef9b676335c885
[ "MIT" ]
null
null
null
import logging from .header_maker import HeaderMaker logger = logging.getLogger(__name__).addHandler(logging.NullHandler()) __version__ = "1.1.2" __author__ = "Loic Coyle <loic.coyle@hotmail.fr>"
22.111111
70
0.778894
25
199
5.68
0.76
0.126761
0
0
0
0
0
0
0
0
0
0.01676
0.100503
199
8
71
24.875
0.776536
0
0
0
0
0
0.19598
0.115578
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
ec72bfc3efcb7b535c1ddd6fef71adecaec81d96
1,416
py
Python
code/layers.py
kevingoh/ml-glossary
cd8bca9a176a9feaadc7bd996281a9ebe79b3c84
[ "MIT" ]
4
2020-09-26T01:26:28.000Z
2021-08-05T20:54:04.000Z
code/layers.py
Gavin-Hoang/ml-glossary
91f7bc0315f788206e9202d83585121ecc7d3698
[ "MIT" ]
null
null
null
code/layers.py
Gavin-Hoang/ml-glossary
91f7bc0315f788206e9202d83585121ecc7d3698
[ "MIT" ]
null
null
null
import math import numpy as np def BatchNorm(): # From https://wiseodd.github.io/techblog/2016/07/04/batchnorm/ # TODO: Add doctring for variable names. Add momentum to init. def __init__(self): pass def forward(self, X, gamma, beta): mu = np.mean(X, axis=0) var = np.var(X, ax...
20.823529
85
0.557203
230
1,416
3.313043
0.347826
0.045932
0.057743
0.028871
0.097113
0.065617
0.065617
0.065617
0
0
0
0.025355
0.303672
1,416
67
86
21.134328
0.747465
0.086158
0
0.146341
0
0
0
0
0
0
0
0.014925
0
1
0.243902
false
0.146341
0.04878
0
0.341463
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
0
0
0
3
ec8e00e5678c90d571c8412c8dd1d0d1b811fae8
507
py
Python
hackerrank/algorithms/contests/projecteuler/tes.py
harry-7/mycodes
442d84fab9dddde12fa0e68fd1a43f7bf13f849d
[ "MIT" ]
1
2016-11-10T13:21:57.000Z
2016-11-10T13:21:57.000Z
hackerrank/algorithms/contests/projecteuler/tes.py
harry-7/mycodes
442d84fab9dddde12fa0e68fd1a43f7bf13f849d
[ "MIT" ]
null
null
null
hackerrank/algorithms/contests/projecteuler/tes.py
harry-7/mycodes
442d84fab9dddde12fa0e68fd1a43f7bf13f849d
[ "MIT" ]
null
null
null
import time def accelAsc(n): a = [0 for i in range(n + 1)] k = 1 y = n - 1 while k != 0: x = a[k - 1] + 1 k -= 1 while 2*x <= y: a[k] = x y -= x k += 1 l = k + 1 while x <= y: a[k] = x a[l] = y ...
18.777778
33
0.317554
82
507
1.963415
0.268293
0.074534
0.055901
0.049689
0.062112
0
0
0
0
0
0
0.067511
0.532544
507
26
34
19.5
0.611814
0
0
0.076923
0
0
0
0
0
0
0
0
0
0
null
null
0
0.038462
null
null
0.038462
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
ec8f2348fda69be1296400e9e0f26d1e2f866812
1,359
py
Python
qiskit/ignis/mitigation/__init__.py
ikkoham/qiskit-ignis
f885a5990aab4ec4eedcf9c6d469f4d71c01382b
[ "Apache-2.0" ]
null
null
null
qiskit/ignis/mitigation/__init__.py
ikkoham/qiskit-ignis
f885a5990aab4ec4eedcf9c6d469f4d71c01382b
[ "Apache-2.0" ]
1
2019-02-21T12:45:03.000Z
2019-02-21T12:45:03.000Z
qiskit/ignis/mitigation/__init__.py
ikkoham/qiskit-ignis
f885a5990aab4ec4eedcf9c6d469f4d71c01382b
[ "Apache-2.0" ]
null
null
null
# This code is part of Qiskit. # # (C) Copyright IBM 2019. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivative wo...
31.604651
77
0.693157
168
1,359
5.559524
0.607143
0.029979
0.021413
0.049251
0.207709
0.207709
0.207709
0.207709
0.207709
0.207709
0
0.008057
0.178072
1,359
42
78
32.357143
0.828111
0.835909
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
eca54e2a0ac20cd1cb88c9e341e6a37b0490e157
544
py
Python
interpreter/test_simple_calc.py
LimaBD/studies
512dee0b1ad3b98ffb265e70af21e68bc8098d55
[ "MIT" ]
null
null
null
interpreter/test_simple_calc.py
LimaBD/studies
512dee0b1ad3b98ffb265e70af21e68bc8098d55
[ "MIT" ]
null
null
null
interpreter/test_simple_calc.py
LimaBD/studies
512dee0b1ad3b98ffb265e70af21e68bc8098d55
[ "MIT" ]
null
null
null
#! /usr/bin/env python # # Tests for simple_calc interpreter # """Tests for simple_calc interpreter""" # Standard packages import unittest # Local packages import simple_calc as sc class TestSimpleCalc(unittest.TestCase): """Class for testcase definition""" ## TODO: test IntToken ## TODO: test Ope...
16.484848
40
0.678309
62
544
5.774194
0.516129
0.178771
0.078212
0.100559
0.162011
0
0
0
0
0
0
0
0.215074
544
33
41
16.484848
0.838407
0.59375
0
0
0
0
0.042105
0
0
0
0
0.030303
0
1
0
true
0
0.4
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
1
0
0
0
0
3