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
82c10b885edbd5a2733f7cbb16f246e7f6390464
6,390
py
Python
gymV02/qcore/utils/CandleHistory.py
onesoftsa/neutrino-lab
2d52bdc46895e5659f4ffbc6ffa2629392ed4f9a
[ "Apache-2.0" ]
8
2019-11-27T17:55:01.000Z
2022-01-24T21:41:05.000Z
gymV02/qcore/utils/CandleHistory.py
onesoftsa/neutrino-lab
2d52bdc46895e5659f4ffbc6ffa2629392ed4f9a
[ "Apache-2.0" ]
null
null
null
gymV02/qcore/utils/CandleHistory.py
onesoftsa/neutrino-lab
2d52bdc46895e5659f4ffbc6ffa2629392ed4f9a
[ "Apache-2.0" ]
1
2020-08-08T22:34:41.000Z
2020-08-08T22:34:41.000Z
# automatically generated by the FlatBuffers compiler, do not modify # namespace: quantix import numpy as np from .Indicator import Indicator REUSE_OBJ = Indicator() # simulation stuff class CandleHistory(object): @classmethod def GetRootAsCandleHistory(cls, buf, offset=0): n = 0 x = Cand...
25.256917
68
0.617058
781
6,390
4.700384
0.140845
0.118496
0.102969
0.137292
0.606374
0.595206
0.549169
0.485971
0.4383
0.374557
0
0.001523
0.280751
6,390
252
69
25.357143
0.797215
0.121596
0
0.348684
1
0
0.040633
0
0
0
0
0
0
1
0.302632
false
0
0.013158
0.013158
0.638158
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
1
0
0
0
0
1
0
0
3
7d69bff0509f32de9459335ce7746a7039988eee
142
py
Python
tests/urls.py
DJMedhaug/tiny_spot
ddae45bb6bbb62c4e5f9f0baf9c3c82b0bd3cb99
[ "MIT" ]
15
2015-06-27T13:56:28.000Z
2022-02-12T18:47:30.000Z
tests/urls.py
DJMedhaug/tiny_spot
ddae45bb6bbb62c4e5f9f0baf9c3c82b0bd3cb99
[ "MIT" ]
4
2015-09-11T11:48:30.000Z
2015-09-20T10:25:09.000Z
tests/urls.py
DJMedhaug/tiny_spot
ddae45bb6bbb62c4e5f9f0baf9c3c82b0bd3cb99
[ "MIT" ]
13
2015-01-09T10:19:25.000Z
2022-02-12T18:50:35.000Z
from django.conf.urls import include, patterns, url urlpatterns = patterns('', url(r'^', include('forums.urls', namespace='forums')), )
20.285714
58
0.683099
17
142
5.705882
0.705882
0.226804
0
0
0
0
0
0
0
0
0
0
0.133803
142
6
59
23.666667
0.788618
0
0
0
0
0
0.126761
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
7d763b9c8e24d838e28b275f7606736103d94381
785
py
Python
Miscellaneous/Number Guessing.py
PythonCodes1/Python-Progression
21fdcd3ab34cf7319469f7941a59a1f88f12fe4e
[ "MIT" ]
null
null
null
Miscellaneous/Number Guessing.py
PythonCodes1/Python-Progression
21fdcd3ab34cf7319469f7941a59a1f88f12fe4e
[ "MIT" ]
null
null
null
Miscellaneous/Number Guessing.py
PythonCodes1/Python-Progression
21fdcd3ab34cf7319469f7941a59a1f88f12fe4e
[ "MIT" ]
null
null
null
import random randint = random.randint(0, 100) while True: guess = int(input("Guess a number from 0 to 100 >:) ")) if guess == randint: print("Yes! Are you a mindreader!?") break; elif guess < 0 or guess > 100: print("Input out of range") elif randint+2 > guess > randint: print("So close!") ...
23.088235
57
0.611465
108
785
4.444444
0.388889
0.225
0.2125
0.14375
0.210417
0.114583
0.114583
0
0
0
0
0.04
0.235669
785
34
58
23.088235
0.76
0
0
0.222222
0
0
0.250996
0
0
0
0
0
0
1
0
false
0
0.037037
0
0.037037
0.407407
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
0
0
0
0
0
1
0
3
7d77951646000ee75277004c9aec4e235eaf7c0e
153
py
Python
clases/test.py
PythonCisco/clase
6e18715012ce72385637b7f09a0a9c810165f1af
[ "MIT" ]
null
null
null
clases/test.py
PythonCisco/clase
6e18715012ce72385637b7f09a0a9c810165f1af
[ "MIT" ]
null
null
null
clases/test.py
PythonCisco/clase
6e18715012ce72385637b7f09a0a9c810165f1af
[ "MIT" ]
null
null
null
print("hello world") #prin("how are you") def fa(): return fb() def fb(): return fc() def fc(): return 1 def suma(a, b): return a + b
10.928571
20
0.542484
26
153
3.192308
0.615385
0.048193
0
0
0
0
0
0
0
0
0
0.009091
0.281046
153
13
21
11.769231
0.745455
0.124183
0
0
0
0
0.083333
0
0
0
0
0
0
1
0.444444
false
0
0
0.444444
0.888889
0.111111
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
1
0
0
0
1
0
0
0
3
7d79d3f9ad419fc64417b468c7f9117d78f70514
56
py
Python
03 Asset Classes/01 Equities/01 Equities/02 code.py
Jay-Jay-D/Documentation
c4894e5ac20355ec82ee0db19618ad7f17bf8592
[ "Apache-2.0" ]
null
null
null
03 Asset Classes/01 Equities/01 Equities/02 code.py
Jay-Jay-D/Documentation
c4894e5ac20355ec82ee0db19618ad7f17bf8592
[ "Apache-2.0" ]
null
null
null
03 Asset Classes/01 Equities/01 Equities/02 code.py
Jay-Jay-D/Documentation
c4894e5ac20355ec82ee0db19618ad7f17bf8592
[ "Apache-2.0" ]
null
null
null
# In Initialize self.AddEquity("SPY", Resolution.Minute)
28
40
0.785714
7
56
6.285714
1
0
0
0
0
0
0
0
0
0
0
0
0.071429
56
2
40
28
0.846154
0.232143
0
0
0
0
0.071429
0
0
0
0
0
0
1
0
true
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
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
7d7bd3b1389edcc3481f4d6468e2dcc63d022305
47,309
py
Python
pysnmp/Nortel-Magellan-Passport-BaseRoutingMIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/Nortel-Magellan-Passport-BaseRoutingMIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/Nortel-Magellan-Passport-BaseRoutingMIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module Nortel-Magellan-Passport-BaseRoutingMIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Nortel-Magellan-Passport-BaseRoutingMIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:16:59 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwan...
136.337176
7,300
0.756558
5,497
47,309
6.511188
0.061488
0.019055
0.014668
0.019557
0.498827
0.463288
0.44876
0.441272
0.433169
0.409477
0
0.0874
0.088715
47,309
346
7,301
136.731214
0.742809
0.007863
0
0
0
0
0.155153
0.077182
0
0
0
0
0
1
0
false
0.097345
0.026549
0
0.026549
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
7da2afbcad04b0976ae33356e14ea6747175227b
532
py
Python
app/admin.py
CRLTeam/iot_device
afde149e3d94f456c32d2f3c8ef3d4002042f017
[ "Apache-2.0" ]
1
2021-02-10T23:50:41.000Z
2021-02-10T23:50:41.000Z
app/admin.py
CRLTeam/iot_device
afde149e3d94f456c32d2f3c8ef3d4002042f017
[ "Apache-2.0" ]
null
null
null
app/admin.py
CRLTeam/iot_device
afde149e3d94f456c32d2f3c8ef3d4002042f017
[ "Apache-2.0" ]
null
null
null
# -*- encoding: utf-8 -*- """ Copyright (c) 2019 - present AppSeed.us """ from django.contrib import admin from app.models import Log, Setting, Simulation, Status admin.site.register(Log) admin.site.register(Status) admin.site.register(Setting) admin.site.register(Simulation) #from django.contrib.admin import Admin...
22.166667
56
0.761278
68
532
5.911765
0.470588
0.134328
0.211443
0.109453
0.159204
0
0
0
0
0
0
0.010593
0.112782
532
23
57
23.130435
0.841102
0.56203
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
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
1
0
0
0
0
3
7da89cd70ef47a2f279f29fa072989a5eb6d467a
2,097
py
Python
designate/conf/__init__.py
mrlesmithjr/designate
bff3d5f6e31fe595a77143ec4ac779c187bf72a8
[ "Apache-2.0" ]
145
2015-01-02T09:35:53.000Z
2021-12-14T17:03:53.000Z
designate/conf/__init__.py
mrlesmithjr/designate
bff3d5f6e31fe595a77143ec4ac779c187bf72a8
[ "Apache-2.0" ]
6
2015-03-15T00:22:27.000Z
2019-12-16T09:37:38.000Z
designate/conf/__init__.py
mrlesmithjr/designate
bff3d5f6e31fe595a77143ec4ac779c187bf72a8
[ "Apache-2.0" ]
109
2015-01-13T16:47:34.000Z
2021-03-15T13:18:48.000Z
# All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
32.261538
78
0.815451
309
2,097
5.443366
0.31068
0.177765
0.232461
0.314507
0.030916
0
0
0
0
0
0
0.004341
0.121125
2,097
64
79
32.765625
0.908302
0.274201
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
0
0
1
0
0
0
0
3
7da9f1687257b64b8f50fe4c8438856dbf2b9a54
240
py
Python
soma.py
mario-nobre/python-guanabara
2048d833f61c8545ced2163ae1b6b0d844494ada
[ "MIT" ]
null
null
null
soma.py
mario-nobre/python-guanabara
2048d833f61c8545ced2163ae1b6b0d844494ada
[ "MIT" ]
null
null
null
soma.py
mario-nobre/python-guanabara
2048d833f61c8545ced2163ae1b6b0d844494ada
[ "MIT" ]
null
null
null
print('olá mário') n1=int(input('digite um valor ')) n2=int(input('digite o segundo número ')) s=n1+n2 print('a soma entre {} e {:.2f} \n vale {}'.format(n1,n2,s),end=' >>> ') # (end='')tambem continua a linha porém com espaço. print('olá')
34.285714
72
0.6375
42
240
3.642857
0.690476
0.104575
0.183007
0
0
0
0
0
0
0
0
0.033493
0.129167
240
7
73
34.285714
0.698565
0.204167
0
0
0
0
0.484211
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
0
0
0
1
0
3
7db0d233736ea3268e74eb43d8edd299e3ebf62a
173
py
Python
atcoder/abc086/a.py
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
506
2018-08-22T10:30:38.000Z
2022-03-31T10:01:49.000Z
atcoder/abc086/a.py
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
13
2019-08-07T18:31:18.000Z
2020-12-15T21:54:41.000Z
atcoder/abc086/a.py
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
234
2018-08-06T17:11:41.000Z
2022-03-26T10:56:42.000Z
#!/usr/bin/env python2 # https://abc086.contest.atcoder.jp/tasks/abc086_a [a, b] = map(int, raw_input().split()) if (a * b) % 2 == 0: print 'Even' else: print 'Odd'
21.625
50
0.606936
29
173
3.551724
0.827586
0.038835
0
0
0
0
0
0
0
0
0
0.062937
0.17341
173
7
51
24.714286
0.657343
0.404624
0
0
0
0
0.069307
0
0
0
0
0
0
0
null
null
0
0
null
null
0.4
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
7db5a5fa7dddb8905c492cf2d26d92b6af6b06e1
2,169
py
Python
tests/test_genographic.py
ryanraaum/oldowan.mtconvert
b9911e907ecd5932600cf199ffd3916bc8a0d887
[ "MIT" ]
2
2016-05-08T12:18:49.000Z
2019-07-26T03:19:59.000Z
tests/test_genographic.py
ryanraaum/oldowan.mtconvert
b9911e907ecd5932600cf199ffd3916bc8a0d887
[ "MIT" ]
null
null
null
tests/test_genographic.py
ryanraaum/oldowan.mtconvert
b9911e907ecd5932600cf199ffd3916bc8a0d887
[ "MIT" ]
null
null
null
from oldowan.mtconvert import seq2sites from oldowan.mtconvert import sites2seq from oldowan.mtconvert import str2sites from oldowan.polymorphism import Polymorphism def test_haplotype_1810(): sites = str2sites('16093C 16183d 16193.1C 16193.2C 16249C') seq = sites2seq(sites, region=range(16000,16570)) rt...
34.983871
84
0.666667
295
2,169
4.854237
0.19322
0.097765
0.078212
0.11243
0.736034
0.694134
0.694134
0.694134
0.694134
0.694134
0
0.21003
0.218534
2,169
61
85
35.557377
0.634808
0.070539
0
0.660377
0
0
0.212755
0
0
0
0
0
0.132075
0
null
null
0
0.075472
null
null
0.264151
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
7dc19c37f953ed380bbb6f86316103aa284f9c43
756
py
Python
portfolio_exercises/PythonPackageTemplate/polynomial_TMC/polynomial_TMC/polynomial.py
TomCanty/DSND_Term2
1481606c96d063c6851d74edc7d8b85ba57bfca7
[ "MIT" ]
null
null
null
portfolio_exercises/PythonPackageTemplate/polynomial_TMC/polynomial_TMC/polynomial.py
TomCanty/DSND_Term2
1481606c96d063c6851d74edc7d8b85ba57bfca7
[ "MIT" ]
null
null
null
portfolio_exercises/PythonPackageTemplate/polynomial_TMC/polynomial_TMC/polynomial.py
TomCanty/DSND_Term2
1481606c96d063c6851d74edc7d8b85ba57bfca7
[ "MIT" ]
null
null
null
import numpy as np class Polynomial(): def __init__(self, coef=[0]): self.coef = np.array(coef) self.exp = self._determine_exponents() pass def _determine_exponents(self): # Create list of exponents based on size of array return np.array(range(len(self.coef)-1,-1,-1)) ...
29.076923
73
0.566138
107
756
3.850467
0.411215
0.135922
0.058252
0.07767
0.087379
0.087379
0
0
0
0
0
0.009434
0.298942
756
25
74
30.24
0.767925
0.126984
0
0
0
0
0.025875
0
0
0
0
0
0
1
0.222222
false
0.055556
0.055556
0.111111
0.5
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
1
0
0
0
3
7dc7be2b053afa31458cbb1b2bd78f519002ffe1
16,340
py
Python
components/model.py
nus-mtp/another-cs-study-planner
02b52871a34f580b779ede08750f2d4e887bcf65
[ "MIT" ]
1
2017-04-30T17:59:08.000Z
2017-04-30T17:59:08.000Z
components/model.py
nus-mtp/another-cs-study-planner
02b52871a34f580b779ede08750f2d4e887bcf65
[ "MIT" ]
87
2017-02-13T09:06:13.000Z
2017-04-14T09:23:08.000Z
components/model.py
nus-mtp/another-cs-study-planner
02b52871a34f580b779ede08750f2d4e887bcf65
[ "MIT" ]
1
2017-04-11T05:26:00.000Z
2017-04-11T05:26:00.000Z
''' model.py Acts as a facade for database.py and helper.py ''' from components import database, helper, check_string INDEX_FIRST_ELEM = 0 INDEX_SECOND_ELEM = 1 LENGTH_EMPTY = 0 ###################################################################################### # Functions that query general module infor...
29.872029
94
0.650918
1,973
16,340
4.930563
0.103903
0.120888
0.076891
0.022615
0.76285
0.593133
0.384252
0.234683
0.165913
0.139803
0
0.00137
0.106365
16,340
546
95
29.92674
0.66484
0.071114
0
0
0
0
0
0
0
0
0
0
0
1
0.481172
false
0.016736
0.004184
0.481172
0.966527
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
7dd1ddfea923c794d136246778f06e9d5f4d6416
1,193
py
Python
feincms/tests/applicationcontent_urls.py
duointeractive/feincms
29b6bc197e854ec69bfb9a4923f029803c8d8f50
[ "BSD-3-Clause" ]
null
null
null
feincms/tests/applicationcontent_urls.py
duointeractive/feincms
29b6bc197e854ec69bfb9a4923f029803c8d8f50
[ "BSD-3-Clause" ]
null
null
null
feincms/tests/applicationcontent_urls.py
duointeractive/feincms
29b6bc197e854ec69bfb9a4923f029803c8d8f50
[ "BSD-3-Clause" ]
null
null
null
""" This is a dummy module used to test the ApplicationContent """ from django import template from django.conf.urls.defaults import * from django.http import HttpResponse, HttpResponseRedirect def module_root(request): return 'module_root' def args_test(request, kwarg1, kwarg2): return HttpResponse(u'%s-%...
29.825
160
0.677284
148
1,193
5.324324
0.378378
0.060914
0.030457
0.060914
0.071066
0
0
0
0
0
0
0.005831
0.137469
1,193
39
161
30.589744
0.759961
0.048617
0
0
0
0.043478
0.351375
0.125111
0
0
0
0
0
1
0.217391
false
0
0.130435
0.130435
0.565217
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
7dd408c9dd2dedaaf2888fe0ad0a0d290d1a44f8
1,573
py
Python
p2/__init__.py
zgoda/ormbench
78189655558c8928fa810b8b87ccf49d43eacdb6
[ "BSD-3-Clause" ]
null
null
null
p2/__init__.py
zgoda/ormbench
78189655558c8928fa810b8b87ccf49d43eacdb6
[ "BSD-3-Clause" ]
null
null
null
p2/__init__.py
zgoda/ormbench
78189655558c8928fa810b8b87ccf49d43eacdb6
[ "BSD-3-Clause" ]
null
null
null
"""Pony ORM """ from datetime import datetime from faker import Faker from memory_profiler import profile from pony.orm import db_session from .models import Post, User fake = Faker() @profile def populate(num_people: int, num_posts: int): t0 = datetime.utcnow() with db_session: for _ in range(num_...
25.786885
62
0.585505
182
1,573
4.917582
0.28022
0.093855
0.053631
0.067039
0.740782
0.740782
0.70838
0.643575
0.643575
0.643575
0
0.015288
0.293071
1,573
60
63
26.216667
0.789568
0.005086
0
0.653061
0
0
0.050064
0
0
0
0
0
0
1
0.061224
false
0
0.102041
0
0.163265
0.061224
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
815ab568e927ecc99e531486e37a1793f82e82ca
161
py
Python
scripts/portal/evantalk60.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
54
2019-04-16T23:24:48.000Z
2021-12-18T11:41:50.000Z
scripts/portal/evantalk60.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
3
2019-05-19T15:19:41.000Z
2020-04-27T16:29:16.000Z
scripts/portal/evantalk60.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
49
2020-11-25T23:29:16.000Z
2022-03-26T16:20:24.000Z
if not "mo60=o" in sm.getQRValue(22014): sm.avatarOriented("Effect/OnUserEff.img/guideEffect/evanTutorial/evanBalloon60") sm.addQRValue(22014, "mo60=o")
40.25
84
0.751553
21
161
5.761905
0.761905
0.082645
0
0
0
0
0
0
0
0
0
0.110345
0.099379
161
3
85
53.666667
0.724138
0
0
0
0
0
0.440994
0.36646
0
0
0
0
0
1
0
true
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
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
817944b87ab97120940cbd8886223b877384df68
66
py
Python
python/279.perfect-squares.py
stavanmehta/leetcode
1224e43ce29430c840e65daae3b343182e24709c
[ "Apache-2.0" ]
null
null
null
python/279.perfect-squares.py
stavanmehta/leetcode
1224e43ce29430c840e65daae3b343182e24709c
[ "Apache-2.0" ]
null
null
null
python/279.perfect-squares.py
stavanmehta/leetcode
1224e43ce29430c840e65daae3b343182e24709c
[ "Apache-2.0" ]
null
null
null
class Solution: def numSquares(self, n: int) -> int:
16.5
40
0.560606
8
66
4.625
0.875
0
0
0
0
0
0
0
0
0
0
0
0.318182
66
3
41
22
0.822222
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
8188b184f4d4f88fcd704255031161cb95b101f2
266
py
Python
Scripts/bubbleMin.py
hnava47/PythonDevelopment
f5a715fdca1dd3ab8dddbf918dcae987128af10b
[ "CNRI-Python" ]
null
null
null
Scripts/bubbleMin.py
hnava47/PythonDevelopment
f5a715fdca1dd3ab8dddbf918dcae987128af10b
[ "CNRI-Python" ]
null
null
null
Scripts/bubbleMin.py
hnava47/PythonDevelopment
f5a715fdca1dd3ab8dddbf918dcae987128af10b
[ "CNRI-Python" ]
null
null
null
def custMin(paramList): n = len(paramList)-1 for pos in range(n): if paramList[pos] < paramList[pos+1]: paramList[pos], paramList[pos+1] = paramList[pos+1], paramList[pos] return paramList[n] print(custMin([5, 2, 9, 10, -2, 90]))
22.166667
79
0.601504
39
266
4.102564
0.461538
0.45
0.24375
0.4125
0.46875
0.3875
0.3875
0
0
0
0
0.058824
0.233083
266
11
80
24.181818
0.72549
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.285714
0.142857
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
819f68b65d6f7b30017940cbef48806871779e3f
170
py
Python
problem0712.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0712.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0712.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
########################### # # #712 Exponent Difference - Project Euler # https://projecteuler.net/problem=712 # # Code by Kevin Marciniak # ###########################
18.888889
42
0.488235
14
170
5.928571
0.928571
0
0
0
0
0
0
0
0
0
0
0.039735
0.111765
170
8
43
21.25
0.509934
0.588235
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
81a7668459035f0de3ad044166a6587d314ab8fc
249
py
Python
misago/misago/core/migrations/0003_delete_cacheversion.py
vascoalramos/misago-deployment
20226072138403108046c0afad9d99eb4163cedc
[ "MIT" ]
2
2021-03-06T21:06:13.000Z
2021-03-09T15:05:12.000Z
misago/misago/core/migrations/0003_delete_cacheversion.py
vascoalramos/misago-deployment
20226072138403108046c0afad9d99eb4163cedc
[ "MIT" ]
null
null
null
misago/misago/core/migrations/0003_delete_cacheversion.py
vascoalramos/misago-deployment
20226072138403108046c0afad9d99eb4163cedc
[ "MIT" ]
null
null
null
# Generated by Django 1.11.17 on 2019-01-08 19:49 from django.db import migrations class Migration(migrations.Migration): dependencies = [("misago_core", "0002_basic_settings")] operations = [migrations.DeleteModel(name="CacheVersion")]
24.9
62
0.746988
32
249
5.71875
0.875
0
0
0
0
0
0
0
0
0
0
0.097222
0.13253
249
9
63
27.666667
0.75
0.188755
0
0
1
0
0.21
0
0
0
0
0
0
1
0
false
0
0.25
0
1
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
81b0675739957f9ed3a9aff631f2566655664b21
2,908
py
Python
virtool/users/utils.py
ColeVoelpel/virtool
859c8d2516f07343bde47f3bae0247dedd76e6c4
[ "MIT" ]
1
2019-08-23T00:19:00.000Z
2019-08-23T00:19:00.000Z
virtool/users/utils.py
ColeVoelpel/virtool
859c8d2516f07343bde47f3bae0247dedd76e6c4
[ "MIT" ]
null
null
null
virtool/users/utils.py
ColeVoelpel/virtool
859c8d2516f07343bde47f3bae0247dedd76e6c4
[ "MIT" ]
null
null
null
import hashlib import bcrypt #: A list of the permission strings used by Virtool. PERMISSIONS = [ "cancel_job", "create_ref", "create_sample", "modify_hmm", "modify_subtraction", "remove_file", "remove_job", "upload_file" ] def calculate_identicon(user_id: str) -> str: """ Ca...
26.198198
116
0.675378
398
2,908
4.856784
0.278894
0.021728
0.013968
0.032592
0.195551
0.140714
0.09312
0.055872
0.055872
0.055872
0
0.008834
0.221458
2,908
110
117
26.436364
0.844965
0.520977
0
0
0
0
0.092072
0
0
0
0
0
0
1
0.285714
false
0.214286
0.071429
0
0.642857
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
81bb4398ef8e9aebe3205cefa325e10423179265
704
py
Python
dapper/mods/Lorenz96/__init__.py
cgrudz/DAPPER
177917bd6d7520ac221e384174f07b35dc03b45b
[ "MIT" ]
null
null
null
dapper/mods/Lorenz96/__init__.py
cgrudz/DAPPER
177917bd6d7520ac221e384174f07b35dc03b45b
[ "MIT" ]
null
null
null
dapper/mods/Lorenz96/__init__.py
cgrudz/DAPPER
177917bd6d7520ac221e384174f07b35dc03b45b
[ "MIT" ]
null
null
null
"""A 1D emulator of chaotic atmospheric behaviour. `bib.lorenz1996predictability` For a short introduction, see - `demo` and - "Dynamical systems, chaos, Lorenz.ipynb" from the DA-tutorials Note: the implementation is `len(x)`-agnostic. """ import numpy as np from dapper.mods.integration import rk4 from .extras ...
16.372093
64
0.669034
116
704
3.991379
0.594828
0.051836
0.064795
0
0
0
0
0
0
0
0
0.034904
0.18608
704
42
65
16.761905
0.773124
0.336648
0
0
0
0
0.008696
0
0
0
0
0
0
1
0.3125
false
0
0.1875
0.3125
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
81c40e803d86176178c40cdcd3dcc101d47a79f2
10,051
py
Python
aliyun-python-sdk-edas/aliyunsdkedas/request/v20170801/InsertK8sApplicationRequest.py
bricklayer-Liu/aliyun-openapi-python-sdk
20da2554de22679fc7c5462c483663e4d79512aa
[ "Apache-2.0" ]
1
2021-03-08T02:59:17.000Z
2021-03-08T02:59:17.000Z
aliyun-python-sdk-edas/aliyunsdkedas/request/v20170801/InsertK8sApplicationRequest.py
bricklayer-Liu/aliyun-openapi-python-sdk
20da2554de22679fc7c5462c483663e4d79512aa
[ "Apache-2.0" ]
null
null
null
aliyun-python-sdk-edas/aliyunsdkedas/request/v20170801/InsertK8sApplicationRequest.py
bricklayer-Liu/aliyun-openapi-python-sdk
20da2554de22679fc7c5462c483663e4d79512aa
[ "Apache-2.0" ]
null
null
null
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
31.311526
81
0.768978
1,241
10,051
5.979855
0.13054
0.038809
0.090554
0.109958
0.200512
0.200512
0.200512
0
0
0
0
0.00192
0.119192
10,051
321
82
31.311526
0.836327
0.075017
0
0
0
0
0.138169
0.008232
0
0
0
0
0
1
0.477833
false
0
0.009852
0.236453
0.729064
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
81d312c4ee8372b45d1dd9c75cdbabf39ce5474b
451
py
Python
modoboa_public_api/factories.py
tonioo/modoboa-public-api
6f8f31348488e15fe935cacc6ee4655d56087fa1
[ "MIT" ]
2
2017-08-31T14:59:40.000Z
2019-03-02T21:39:26.000Z
modoboa_public_api/factories.py
tonioo/modoboa-public-api
6f8f31348488e15fe935cacc6ee4655d56087fa1
[ "MIT" ]
null
null
null
modoboa_public_api/factories.py
tonioo/modoboa-public-api
6f8f31348488e15fe935cacc6ee4655d56087fa1
[ "MIT" ]
2
2017-07-24T22:42:01.000Z
2018-10-26T05:05:50.000Z
"""API factories.""" import factory from . import models class ModoboaExtensionFactory(factory.DjangoModelFactory): """Factory for ModoboaExtension.""" class Meta: model = models.ModoboaExtension version = "1.0.0" class ModoboaInstanceFactory(factory.DjangoModelFactory): """Factory for M...
18.04
58
0.682927
46
451
6.652174
0.521739
0.163399
0.20915
0.228758
0
0
0
0
0
0
0
0.027778
0.201774
451
24
59
18.791667
0.822222
0.161863
0
0.181818
0
0
0.046961
0
0
0
0
0
0
1
0
false
0
0.181818
0
0.818182
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
0
0
0
0
1
0
0
3
c4e38caa7b2bc946046d5f9a3ca34457945f6177
1,556
py
Python
rsocket/load_balancer/load_balancer_rsocket.py
Precognize/rsocket-py
31704d53c232e0c0f53783b9a56117e5bd0645ce
[ "MIT" ]
null
null
null
rsocket/load_balancer/load_balancer_rsocket.py
Precognize/rsocket-py
31704d53c232e0c0f53783b9a56117e5bd0645ce
[ "MIT" ]
null
null
null
rsocket/load_balancer/load_balancer_rsocket.py
Precognize/rsocket-py
31704d53c232e0c0f53783b9a56117e5bd0645ce
[ "MIT" ]
null
null
null
from asyncio import Future from typing import Union, Optional, Any from reactivestreams.publisher import Publisher from rsocket.load_balancer.load_balancer_strategy import LoadBalancerStrategy from rsocket.payload import Payload from rsocket.rsocket import RSocket from rsocket.streams.backpressureapi import Backpressu...
32.416667
118
0.73072
179
1,556
6.072626
0.268156
0.077277
0.073597
0.060718
0.096596
0.069917
0
0
0
0
0
0
0.184447
1,556
47
119
33.106383
0.85658
0
0
0.121212
0
0
0
0
0
0
0
0
0
1
0.212121
false
0
0.212121
0.121212
0.606061
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
c4e75040424baf8e0e55b7bd6604103134097739
2,658
py
Python
release/stubs.min/Autodesk/Revit/DB/__init___parts/FilteredElementIdIterator.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
182
2017-06-27T02:26:15.000Z
2022-03-30T18:53:43.000Z
release/stubs.min/Autodesk/Revit/DB/__init___parts/FilteredElementIdIterator.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
28
2017-06-27T13:38:23.000Z
2022-03-15T11:19:44.000Z
release/stubs.min/Autodesk/Revit/DB/__init___parts/FilteredElementIdIterator.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
67
2017-06-28T09:43:59.000Z
2022-03-20T21:17:10.000Z
class FilteredElementIdIterator(object,IEnumerator[ElementId],IDisposable,IEnumerator): """ An iterator to a set of element ids filtered by the settings of a FilteredElementCollector. """ def Dispose(self): """ Dispose(self: FilteredElementIdIterator) """ pass def GetCurrent(self): """ GetCurrent(self...
26.848485
215
0.68623
303
2,658
5.745875
0.323432
0.048248
0.029868
0.03274
0.154509
0.12579
0.12579
0.12579
0.12579
0.12579
0
0
0.20015
2,658
98
216
27.122449
0.818909
0.540632
0
0.448276
0
0
0
0
0
0
0
0
0
1
0.448276
false
0.448276
0
0
0.551724
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
c4e9f281c10d40217e8ff4ac22cfaef434355b14
454
py
Python
tests/test_config.py
ernestomedinam/e-boilerplate-flask
e7fc1366f263610c58035025babe1eb27426dfff
[ "MIT" ]
null
null
null
tests/test_config.py
ernestomedinam/e-boilerplate-flask
e7fc1366f263610c58035025babe1eb27426dfff
[ "MIT" ]
2
2021-05-21T03:49:06.000Z
2021-05-21T03:49:08.000Z
tests/test_config.py
ernestomedinam/e-boilerplate-flask
e7fc1366f263610c58035025babe1eb27426dfff
[ "MIT" ]
null
null
null
import os import pytest import json from app_name.app import create_app def test_dev_config(): """ tests config variables for development """ app = create_app() assert app.config["ENV"] == "development" assert app.config["DEBUG"] == True def test_test_config(app): """ tests config variables for t...
25.222222
50
0.676211
60
454
5
0.35
0.15
0.25
0.153333
0.353333
0.353333
0.353333
0.353333
0.353333
0.353333
0
0
0.189427
454
17
51
26.705882
0.815217
0.156388
0
0.333333
0
0
0.121951
0
0
0
0
0
0.416667
1
0.166667
false
0
0.333333
0
0.5
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
1
0
0
0
0
3
c4ed43ea95ef50f9547c995a511fdd4dcfbe4517
574
py
Python
PassiveAgent.py
youssef-sherif/riskgame
48a1758b305f463e6965c176a5bf745eb32791dd
[ "MIT" ]
null
null
null
PassiveAgent.py
youssef-sherif/riskgame
48a1758b305f463e6965c176a5bf745eb32791dd
[ "MIT" ]
3
2021-03-09T19:20:20.000Z
2021-10-06T05:04:53.000Z
PassiveAgent.py
youssef-sherif/riskgame
48a1758b305f463e6965c176a5bf745eb32791dd
[ "MIT" ]
null
null
null
from Agent import Agent from Color import Color class PassiveAgent(Agent): def make_decision(self, board): self.receive_armies(board) self.place_territories(board) def place_territories(self, board): territory = self.find_owned_territory_with_fewest_armies(board) board.update...
30.210526
72
0.740418
73
574
5.561644
0.39726
0.066502
0.08867
0.108374
0.167488
0.167488
0
0
0
0
0
0
0.179443
574
18
73
31.888889
0.861996
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0.083333
0.166667
0
0.583333
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
c4fa86a8a589e17888ca38c1c1920b8ccc4a3c59
1,121
py
Python
portals/wwits/groups/batch/remark_new/schemas.py
jalanb/portals
7a5360b48547719d3fbe50790f08eaf5571148dd
[ "ADSL" ]
null
null
null
portals/wwits/groups/batch/remark_new/schemas.py
jalanb/portals
7a5360b48547719d3fbe50790f08eaf5571148dd
[ "ADSL" ]
null
null
null
portals/wwits/groups/batch/remark_new/schemas.py
jalanb/portals
7a5360b48547719d3fbe50790f08eaf5571148dd
[ "ADSL" ]
null
null
null
from marshmallow import fields, post_load from portals.wwits.apis.rest import BaseSchemaExcludeFields as Schema from .models import RemarkNewModel, ParmModel class ParmSchema(Schema): UserID = fields.Str(data_key="UserID") Version = fields.Str(data_key="Version") Env = fields.Str(data_key="Env") Sourc...
32.970588
69
0.706512
142
1,121
5.43662
0.323944
0.13601
0.185233
0.227979
0.106218
0.106218
0.106218
0.106218
0.106218
0
0
0
0.164139
1,121
33
70
33.969697
0.823906
0
0
0.148148
0
0
0.08653
0
0
0
0
0
0
1
0.074074
false
0
0.111111
0.074074
0.925926
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
0
0
0
0
1
0
0
3
c4fff6ac92c8140784c83a5e9582d21fcae08a12
2,823
py
Python
Models/Chlorophyll-Flask-API.py
Apurva-tech/chlorophyll
2c9ed947e54489ed5434ac69db37bc30b854d880
[ "MIT" ]
17
2021-03-21T19:13:05.000Z
2021-12-23T10:19:37.000Z
Models/Chlorophyll-Flask-API.py
Apurva-tech/chlorophyll
2c9ed947e54489ed5434ac69db37bc30b854d880
[ "MIT" ]
null
null
null
Models/Chlorophyll-Flask-API.py
Apurva-tech/chlorophyll
2c9ed947e54489ed5434ac69db37bc30b854d880
[ "MIT" ]
1
2021-06-08T08:18:16.000Z
2021-06-08T08:18:16.000Z
# -*- coding: utf-8 -*- """Chlorophyll-API-flask.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1-5OfgecarJZpowR6jJH1lRYDWCOl-2cD """ from google.colab import drive drive.mount('/content/drive') cd /content/drive/MyDrive/Plant\ Disease\ Detecti...
27.950495
303
0.756642
380
2,823
5.4
0.405263
0.04386
0.02924
0.040936
0.30653
0.293372
0.254386
0.254386
0.254386
0.254386
0
0.010625
0.133192
2,823
100
304
28.23
0.827953
0.03011
0
0.220588
1
0
0.266876
0.093014
0
0
0
0
0
0
null
null
0
0.382353
null
null
0.029412
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
1
0
0
0
1
0
0
0
0
3
f21bb3969eec377ac9ba9b64f692c7f7e169ab73
280
py
Python
apple_potato.py
decpsg/ctfun
8ffeecfd793d6c1d4ddaed10dc2242230d55f287
[ "MIT" ]
null
null
null
apple_potato.py
decpsg/ctfun
8ffeecfd793d6c1d4ddaed10dc2242230d55f287
[ "MIT" ]
null
null
null
apple_potato.py
decpsg/ctfun
8ffeecfd793d6c1d4ddaed10dc2242230d55f287
[ "MIT" ]
null
null
null
# https://www.youtube.com/watch?v=1PbZMudPP5E # Using computational thinking and coding, determine # - How many apples can a potato farmer receive for x potatoes? # - How many potatoes can an apple farmer receive for y apples? # - What is the price of each potato/apple? # main
35
63
0.75
44
280
4.772727
0.772727
0.066667
0.152381
0
0
0
0
0
0
0
0
0.008621
0.171429
280
7
64
40
0.896552
0.95
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
f2240bf69743228c9386f2f937cbdb54a8e6eec8
644
py
Python
rlkit/envs/meta_task_params_sampler.py
yifan-you-37/rl_swiss
8b0ee7caa5c1fa93860916004cf4fd970667764f
[ "MIT" ]
56
2019-10-20T03:09:02.000Z
2022-03-25T09:21:40.000Z
rlkit/envs/meta_task_params_sampler.py
yifan-you-37/rl_swiss
8b0ee7caa5c1fa93860916004cf4fd970667764f
[ "MIT" ]
3
2020-10-01T07:33:51.000Z
2021-05-12T03:40:57.000Z
rlkit/envs/meta_task_params_sampler.py
yifan-you-37/rl_swiss
8b0ee7caa5c1fa93860916004cf4fd970667764f
[ "MIT" ]
10
2019-11-04T16:56:09.000Z
2022-03-25T09:21:41.000Z
import abc class MetaTaskParamsSampler(metaclass=abc.ABCMeta): def __init__(self): pass @abc.abstractmethod def __iter__(self): ''' returns an iterator that iterates and returns all possible task_params and obs_task_params forcing the existence of ...
22.206897
78
0.61646
75
644
5.133333
0.666667
0.054545
0.163636
0.187013
0.238961
0
0
0
0
0
0
0
0.330745
644
28
79
23
0.893271
0.392857
0
0.538462
0
0
0
0
0
0
0
0
0
1
0.307692
false
0.307692
0.076923
0
0.461538
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
1
0
1
0
0
0
0
0
3
1ef22e03eef6bd61bdcad2030216024abf7a2afd
74,749
py
Python
utils/trianglemap.py
xqterry/3DDFA
3b8f7bb4cfafa349e628d6433d7a4edc55627243
[ "MIT" ]
null
null
null
utils/trianglemap.py
xqterry/3DDFA
3b8f7bb4cfafa349e628d6433d7a4edc55627243
[ "MIT" ]
null
null
null
utils/trianglemap.py
xqterry/3DDFA
3b8f7bb4cfafa349e628d6433d7a4edc55627243
[ "MIT" ]
null
null
null
matched = [[0, 450], [1, 466], [2, 566], [3, 974], [4, 1000], [5, 1222], [6, 1298], [7, 1322], [8, 1340], [9, 1704], [10, 1752], [11, 2022], [12, 2114], [13, 2332], [14, 2360], [15, 2380], [16, 2388], [17, 2596], [18, 2662], [19, 2706], [20, 2842], [21, 2914], [22, 3132], [23, 3148], [24, 3158], [...
113.256061
116
0.493893
10,593
74,749
3.485037
0.29123
0.00065
0.000488
0
0
0
0
0
0
0
0
0.663663
0.256151
74,749
659
117
113.427921
0.000288
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
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
4808d034a4186d5621a72afe762287b9d5102b6c
1,939
py
Python
tools/cbmc/proofs/make_remove_makefiles.py
ictk-solution-dev/amazon-freertos
cc76512292ddfb70bba3030dbcb740ef3c6ead8b
[ "MIT" ]
2
2020-06-23T08:05:58.000Z
2020-06-24T01:25:51.000Z
tools/cbmc/proofs/make_remove_makefiles.py
LibreWireless/amazon-freertos-uno
2ddb5c0ac906e4ab5340062641776f44e0f1d67d
[ "MIT" ]
2
2022-03-29T05:16:50.000Z
2022-03-29T05:16:50.000Z
tools/cbmc/proofs/make_remove_makefiles.py
ictk-solution-dev/amazon-freertos
cc76512292ddfb70bba3030dbcb740ef3c6ead8b
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # # Removing the generated Makefiles and cbmc-batch.yaml files. # # Copyright (C) 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Soft...
39.571429
81
0.69933
271
1,939
4.937269
0.512915
0.06577
0.019432
0.028401
0
0
0
0
0
0
0
0.003378
0.23672
1,939
48
82
40.395833
0.900676
0.698298
0
0.375
1
0
0.088235
0
0
0
0
0
0
1
0.0625
true
0.125
0.125
0
0.1875
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
1
1
0
0
0
0
0
3
481087f6914895f938ccfc4022953d3f07aabaeb
449
py
Python
pygears/sim/extens/sim_execution.py
Risto97/pygears
19393e85101a16762cb3bbbf3010946ef69217f2
[ "MIT" ]
null
null
null
pygears/sim/extens/sim_execution.py
Risto97/pygears
19393e85101a16762cb3bbbf3010946ef69217f2
[ "MIT" ]
null
null
null
pygears/sim/extens/sim_execution.py
Risto97/pygears
19393e85101a16762cb3bbbf3010946ef69217f2
[ "MIT" ]
null
null
null
from .sim_extend import SimExtend from pygears.sim import sim_log class SimExecution(SimExtend): # def before_call_forward(self, sim, sim_gear): # return True def after_call_forward(self, sim, sim_gear): sim_log().info(f'forward') return True # def before_call_back(self, sim, sim...
23.631579
51
0.66147
64
449
4.390625
0.328125
0.099644
0.142349
0.199288
0.540925
0.540925
0.434164
0.434164
0.256228
0
0
0
0.242762
449
18
52
24.944444
0.826471
0.267261
0
0.222222
0
0
0.033951
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.777778
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
1
0
0
0
0
1
0
0
3
483343c6c05fb541320c5760011f4623f4f0bd96
693
py
Python
misc_base/admin.py
BlackWizard/django-misc-base
892752f4c4553e2b936b8be861639f2d8141b57e
[ "BSD-2-Clause" ]
null
null
null
misc_base/admin.py
BlackWizard/django-misc-base
892752f4c4553e2b936b8be861639f2d8141b57e
[ "BSD-2-Clause" ]
null
null
null
misc_base/admin.py
BlackWizard/django-misc-base
892752f4c4553e2b936b8be861639f2d8141b57e
[ "BSD-2-Clause" ]
null
null
null
from tinymce.widgets import TinyMCE class SEOMixin(object): def formfield_for_dbfield(self, db_field, **kwargs): if db_field.name in ('ft', ): return db_field.formfield(widget=TinyMCE( attrs={'cols': 120, 'rows': 30}, )) return super(SEOMixin, self).formfield...
38.5
85
0.633478
81
693
5.222222
0.37037
0.132388
0.179669
0.099291
0.747045
0.747045
0.747045
0.576832
0.576832
0.576832
0
0.019011
0.240981
693
17
86
40.764706
0.785171
0
0
0.533333
0
0
0.034632
0
0
0
0
0
0
1
0.133333
false
0
0.066667
0
0.6
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
483553dfe88b305b43a8db998d024e7fac335c4b
1,424
py
Python
src/masonite/mail/drivers/TerminalDriver.py
cercos/masonite
f7f220efa7fae833683e9f07ce13c3795a87d3b8
[ "MIT" ]
1,816
2018-02-14T01:59:51.000Z
2022-03-31T17:09:20.000Z
src/masonite/mail/drivers/TerminalDriver.py
cercos/masonite
f7f220efa7fae833683e9f07ce13c3795a87d3b8
[ "MIT" ]
340
2018-02-11T00:27:26.000Z
2022-03-21T12:00:24.000Z
src/masonite/mail/drivers/TerminalDriver.py
cercos/masonite
f7f220efa7fae833683e9f07ce13c3795a87d3b8
[ "MIT" ]
144
2018-03-18T00:08:16.000Z
2022-02-26T01:51:58.000Z
from ..Recipient import Recipient class TerminalDriver: def __init__(self, application): self.application = application self.options = {} self.content_type = None def set_options(self, options): self.options = options return self def send(self): print("---...
41.882353
87
0.516854
144
1,424
5.048611
0.270833
0.22696
0.231087
0.126547
0.103164
0
0
0
0
0
0
0.000909
0.227528
1,424
33
88
43.151515
0.66
0
0
0.137931
0
0
0.41573
0.297753
0
0
0
0
0
1
0.103448
false
0
0.034483
0
0.206897
0.448276
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
0
0
0
0
0
1
0
3
483c29158771a3ef3cb024fcbad728238b37b31e
401
py
Python
lmcore/__init__.py
rj79/lapmaster
edf12f7685df572f6022b50a808651ef5b0404d7
[ "BSD-3-Clause" ]
null
null
null
lmcore/__init__.py
rj79/lapmaster
edf12f7685df572f6022b50a808651ef5b0404d7
[ "BSD-3-Clause" ]
null
null
null
lmcore/__init__.py
rj79/lapmaster
edf12f7685df572f6022b50a808651ef5b0404d7
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ :copyright: (c) 2016 by Robert Johansson. :license: BSD, see LICENSE for more details. """ from .configloader import loadConfig from .startinfo import StartInfo from .log import Log from .log import loadLog from .log import saveLog from .clazz import Class from .person import Person ...
25.0625
48
0.745636
56
401
5.339286
0.535714
0.070234
0.130435
0
0
0
0
0
0
0
0
0.015015
0.169576
401
15
49
26.733333
0.882883
0.27182
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
487e6029158acb4d4ed56ec5c0ff4e5aa5ac7293
139
py
Python
my_packages/Operations/math.py
elbendari/new-as
e6f07e43929802d8ba3cec0a784cf7bcf3fde1aa
[ "MIT" ]
null
null
null
my_packages/Operations/math.py
elbendari/new-as
e6f07e43929802d8ba3cec0a784cf7bcf3fde1aa
[ "MIT" ]
null
null
null
my_packages/Operations/math.py
elbendari/new-as
e6f07e43929802d8ba3cec0a784cf7bcf3fde1aa
[ "MIT" ]
null
null
null
def cal_average(num): i = 0 for x in num: i += x avg = i / len(num) return avg cal_average([1,2,3,4])
15.444444
26
0.460432
24
139
2.583333
0.666667
0.322581
0
0
0
0
0
0
0
0
0
0.060976
0.410072
139
9
27
15.444444
0.695122
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.285714
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
4882d9fc0b43cb91e77333e73cdcbe9a15073f79
116
py
Python
software_tracker/settings_app.py
birkin/software_tracker
3fa668bc7ffa8af83c5709f8ed29adf4d336255f
[ "MIT" ]
null
null
null
software_tracker/settings_app.py
birkin/software_tracker
3fa668bc7ffa8af83c5709f8ed29adf4d336255f
[ "MIT" ]
null
null
null
software_tracker/settings_app.py
birkin/software_tracker
3fa668bc7ffa8af83c5709f8ed29adf4d336255f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals import os FOO = 'BAR' FOO2 = os.environ['FOO2']
11.6
39
0.663793
16
116
4.5
0.8125
0
0
0
0
0
0
0
0
0
0
0.031579
0.181034
116
9
40
12.888889
0.726316
0.181034
0
0
0
0
0.075269
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
6f8e0f96069e08c290c9458dcf41a88f17b7068c
3,737
py
Python
tests/test_call_graph.py
anonymousWork000/TVMfuzz
0ccbb33af89758b8ead59a8c686645246ccd0545
[ "Apache-2.0" ]
16
2021-05-22T07:39:53.000Z
2022-02-23T14:50:38.000Z
tests/test_call_graph.py
anonymousWork000/TVMfuzz
0ccbb33af89758b8ead59a8c686645246ccd0545
[ "Apache-2.0" ]
null
null
null
tests/test_call_graph.py
anonymousWork000/TVMfuzz
0ccbb33af89758b8ead59a8c686645246ccd0545
[ "Apache-2.0" ]
3
2021-05-28T07:12:14.000Z
2021-11-28T02:10:48.000Z
import pytest import tvm from tvm import relay def test_callgraph_construct(): mod = tvm.IRModule({}) x = relay.var("x", shape=(2, 3)) y = relay.var("y", shape=(2, 3)) mod["g1"] = relay.Function([x, y], x + y) call_graph = relay.analysis.CallGraph(mod) assert "g1" in str(call_graph) assert ...
32.495652
80
0.591383
585
3,737
3.682051
0.11453
0.100279
0.077994
0.091922
0.794336
0.794336
0.719591
0.689415
0.662488
0.631848
0
0.067586
0.204174
3,737
114
81
32.780702
0.656691
0
0
0.617021
0
0
0.041745
0
0
0
0
0
0.138298
1
0.06383
false
0
0.031915
0
0.095745
0.031915
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
6fb5a060f9073ebb2fe161d9457eab263abeed4e
729
py
Python
expandas/experiment.py
rcabanasdepaz/expandas
371d654bbf263aed78c1446a4b1ff936972f07ca
[ "Apache-2.0" ]
null
null
null
expandas/experiment.py
rcabanasdepaz/expandas
371d654bbf263aed78c1446a4b1ff936972f07ca
[ "Apache-2.0" ]
null
null
null
expandas/experiment.py
rcabanasdepaz/expandas
371d654bbf263aed78c1446a4b1ff936972f07ca
[ "Apache-2.0" ]
null
null
null
from expandas.input import generate_input class Experiment(object): def __init__(self, functions, verbose=0, logfolder="."): self.__verbose__ = verbose self.__logfolder__ = logfolder self.__functions = functions def __is_evaluable__(self, params): return True def __run...
22.090909
82
0.595336
79
729
5.126582
0.455696
0.096296
0.096296
0
0
0
0
0
0
0
0
0.001996
0.312757
729
32
83
22.78125
0.806387
0
0
0
1
0
0.011034
0
0
0
0
0
0
1
0.210526
false
0
0.052632
0.105263
0.473684
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
1
0
0
0
1
0
0
0
3
6fdd0e8961b6f28ced729ac88b328ac2b35eabb3
16
py
Python
app/models/__init__.py
kalxed/FCS-ClubHub
656cfe171c81471884cda8b4312bb31ed9812592
[ "MIT" ]
1
2021-11-23T03:33:35.000Z
2021-11-23T03:33:35.000Z
app/models/__init__.py
kalxed/FCS-ClubHub
656cfe171c81471884cda8b4312bb31ed9812592
[ "MIT" ]
5
2021-11-25T03:41:50.000Z
2021-12-07T13:55:41.000Z
app/models/__init__.py
kalxed/FCS-ClubHub
656cfe171c81471884cda8b4312bb31ed9812592
[ "MIT" ]
12
2021-11-08T16:04:28.000Z
2022-01-31T15:42:54.000Z
author = 'FCCC'
8
15
0.625
2
16
5
1
0
0
0
0
0
0
0
0
0
0
0
0.1875
16
1
16
16
0.769231
0
0
0
0
0
0.25
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
6ff0da0995a60ae318f36077f9dc1bdd0b65916c
228
py
Python
teams/sampleTeam.py
davibarberini/pythonbots-v1.1
3c1f47c2579e73e1e9211e3c6b85cf3c0e64dc71
[ "MIT" ]
null
null
null
teams/sampleTeam.py
davibarberini/pythonbots-v1.1
3c1f47c2579e73e1e9211e3c6b85cf3c0e64dc71
[ "MIT" ]
1
2019-09-24T14:00:08.000Z
2019-09-24T14:00:08.000Z
teams/sampleTeam2.py
davibarberini/pythonbots-v1.1
3c1f47c2579e73e1e9211e3c6b85cf3c0e64dc71
[ "MIT" ]
null
null
null
def robots(): return [['Andrew_Cassius.py', <Surface(399x59x32 SW)>, 99, 273, True, (0, 76, 215), False], ['sampleStan.py', <Surface(284x59x32 SW)>, 267, 273, True, (80, 80, 80), False]] def colour(): return (0,76,215)
38
176
0.618421
34
228
4.117647
0.617647
0.128571
0.085714
0
0
0
0
0
0
0
0
0.223958
0.157895
228
5
177
45.6
0.505208
0
0
0
0
0
0.131579
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
3
6ff8a488bc2aefda35c1f993ad0568713f097129
934
py
Python
lswifi/schemas/beacon.py
joshschmelzle/lswifi
f488a98e5ba5e3be6a8715806317d63a6989932c
[ "BSD-3-Clause" ]
21
2020-09-15T15:33:25.000Z
2022-03-06T08:28:25.000Z
lswifi/schemas/beacon.py
joshschmelzle/lswifi
f488a98e5ba5e3be6a8715806317d63a6989932c
[ "BSD-3-Clause" ]
11
2020-09-21T02:55:17.000Z
2022-01-31T16:45:36.000Z
lswifi/schemas/beacon.py
joshschmelzle/lswifi
f488a98e5ba5e3be6a8715806317d63a6989932c
[ "BSD-3-Clause" ]
2
2020-09-15T15:34:37.000Z
2021-01-16T11:16:01.000Z
# -*- coding: utf-8 -*- """ lswifi.beacon ~~~~~~~~~~~~~ schema definition for beacon """ from .out import * class BeaconInterval(OutObject): """Base class for Beacon Interval""" def __init__(self, **kwargs): self.value = self.get_beacon_interval(kwargs.get("value")) super(BeaconInterval, s...
27.470588
153
0.652034
128
934
4.632813
0.554688
0.070826
0.057336
0
0
0
0
0
0
0
0
0.038028
0.239829
934
33
154
28.30303
0.797183
0.528908
0
0
0
0
0.05
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0.111111
0.777778
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
b503d71a860e2368dfff108d8ee665f1e9b6a398
355
py
Python
multauth/api/services/whatsapp/me/views.py
andrenerd/django-multiform-authentication
4a8b94ebd660cc7afc7dcdedcc12344ef85e6615
[ "MIT" ]
7
2020-08-28T16:17:02.000Z
2021-11-11T18:01:20.000Z
multauth/api/services/whatsapp/me/views.py
andrenerd/django-multiform-authentication
4a8b94ebd660cc7afc7dcdedcc12344ef85e6615
[ "MIT" ]
null
null
null
multauth/api/services/whatsapp/me/views.py
andrenerd/django-multiform-authentication
4a8b94ebd660cc7afc7dcdedcc12344ef85e6615
[ "MIT" ]
2
2021-01-06T04:11:28.000Z
2021-05-19T14:43:52.000Z
from django.db import transaction from django.utils.translation import gettext_lazy as _ from rest_framework import exceptions, parsers, views, status from rest_framework.permissions import IsAuthenticated from rest_framework.response import Response # from ..permissions import IsCustomUser from .. import swagger_aut...
32.272727
61
0.847887
45
355
6.533333
0.533333
0.081633
0.173469
0
0
0
0
0
0
0
0
0
0.112676
355
10
62
35.5
0.933333
0.107042
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
82efdb04912bd9e47a6d37e473ef633c7c9e5f02
10,516
py
Python
foundations-homework/01/homework-1-Gruen.py
gcgruen/homework
6a2a638d8c423e47629cfb4e2124fb9bb8b32448
[ "MIT" ]
null
null
null
foundations-homework/01/homework-1-Gruen.py
gcgruen/homework
6a2a638d8c423e47629cfb4e2124fb9bb8b32448
[ "MIT" ]
null
null
null
foundations-homework/01/homework-1-Gruen.py
gcgruen/homework
6a2a638d8c423e47629cfb4e2124fb9bb8b32448
[ "MIT" ]
null
null
null
# Gianna-Carina Gruen # 05/23/2016 # Homework 1 # 1. Prompt the user for their year of birth, and tell them (approximately): year_of_birth = input ("Hello! I'm not interested in your name, but I would like to know your age. In what year were you born?") # Additionally, if someone gives you a year in the futu...
68.732026
272
0.722994
1,775
10,516
4.205634
0.175211
0.046618
0.085466
0.101273
0.556196
0.508908
0.466309
0.454789
0.454789
0.45211
0
0.055824
0.194275
10,516
152
273
69.184211
0.825209
0.241442
0
0.044444
0
0.3
0.622254
0
0
0
0
0
0
1
0
false
0
0
0
0
0.477778
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
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
d23004c642c1fdbb1bfb14a052772687818d0150
292
py
Python
sushibar/admin.py
donnatto/hamachi-sushi-python
2d98f1e76a9c85ab1b5720e7d3314a04c7125340
[ "MIT" ]
null
null
null
sushibar/admin.py
donnatto/hamachi-sushi-python
2d98f1e76a9c85ab1b5720e7d3314a04c7125340
[ "MIT" ]
8
2021-03-19T03:58:23.000Z
2022-02-10T10:01:22.000Z
sushibar/admin.py
donnatto/hamachi-sushi-python
2d98f1e76a9c85ab1b5720e7d3314a04c7125340
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Dish, BlogPost, Staff, Reserva, Postulante, Mensaje admin.site.register(Dish) admin.site.register(BlogPost) admin.site.register(Staff) admin.site.register(Reserva) admin.site.register(Postulante) admin.site.register(Mensaje)
24.333333
72
0.780822
38
292
6
0.368421
0.236842
0.447368
0
0
0
0
0
0
0
0
0
0.113014
292
11
73
26.545455
0.880309
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
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
d239604ffbfc41a1d4a4e7d404b705bb953254f0
453
py
Python
python/yahooFinance-1.py
tlee753/stock-market-analysis
11dc6b3d1849c10a0e0403816b800b3fd924791b
[ "MIT" ]
null
null
null
python/yahooFinance-1.py
tlee753/stock-market-analysis
11dc6b3d1849c10a0e0403816b800b3fd924791b
[ "MIT" ]
null
null
null
python/yahooFinance-1.py
tlee753/stock-market-analysis
11dc6b3d1849c10a0e0403816b800b3fd924791b
[ "MIT" ]
null
null
null
from yahoo_finance import Share microsoft = Share("amzn") nvidia = Share("NVDA") print "Nvidia Open: ", nvidia.get_price() print nvidia.get_200day_moving_avg() print nvidia.get_trade_datetime() print nvidia.get_change() print nvidia.get_historical('2017-9-9', '2017-10-10') print nvidia.get_market_cap() print microso...
25.166667
68
0.774834
68
453
4.970588
0.588235
0.195266
0.207101
0
0
0
0
0
0
0
0
0.042289
0.112583
453
17
69
26.647059
0.798507
0.231788
0
0
0
0
0.113372
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0.7
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
3
d23c6eb662d1e95241e517594c2c28eae181b006
1,708
py
Python
var/spack/repos/builtin/packages/r-pillar/package.py
Bidibulke/spack
673a42a0815839943571ef5c81cd5c3cc77558e8
[ "ECL-2.0", "Apache-2.0", "MIT" ]
3
2019-06-27T13:26:50.000Z
2019-07-01T16:24:54.000Z
var/spack/repos/builtin/packages/r-pillar/package.py
openbiox/spack
bb6ec7fb40c14b37e094a860e3625af53f633174
[ "ECL-2.0", "Apache-2.0", "MIT" ]
75
2016-07-27T11:43:00.000Z
2020-12-08T15:56:53.000Z
var/spack/repos/builtin/packages/r-pillar/package.py
openbiox/spack
bb6ec7fb40c14b37e094a860e3625af53f633174
[ "ECL-2.0", "Apache-2.0", "MIT" ]
8
2015-10-16T13:51:49.000Z
2021-10-18T13:58:03.000Z
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class RPillar(RPackage): """Provides a 'pillar' generic designed for formatting columns of data ...
53.375
95
0.757611
177
1,708
7.271186
0.485876
0.055944
0.03885
0.059052
0.135198
0.119658
0.051282
0.051282
0
0
0
0.278398
0.108314
1,708
31
96
55.096774
0.566645
0.186768
0
0
0
0.052632
0.616169
0.419519
0
0
0
0
0
1
0
false
0
0.052632
0
0.263158
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d25e28c259653bbc377ff9820e4dee7958111356
583
py
Python
auth.py
hanuchu/fuiibot
1ac67b91bbe54037d3f18eef1cf3974da5f1c3c7
[ "Apache-2.0" ]
null
null
null
auth.py
hanuchu/fuiibot
1ac67b91bbe54037d3f18eef1cf3974da5f1c3c7
[ "Apache-2.0" ]
null
null
null
auth.py
hanuchu/fuiibot
1ac67b91bbe54037d3f18eef1cf3974da5f1c3c7
[ "Apache-2.0" ]
null
null
null
from twython import Twython import webbrowser APP_KEY = '' APP_SECRET = '' twitter = Twython(APP_KEY, APP_SECRET) auth = twitter.get_authentication_tokens() OAUTH_TOKEN = auth['oauth_token'] OAUTH_TOKEN_SECRET = auth['oauth_token_secret'] webbrowser.open(auth['auth_url']) pin = raw_input('pin\n') twitter = Twyth...
20.821429
53
0.77187
82
583
5.085366
0.292683
0.28777
0.230216
0.107914
0.369305
0.306954
0.167866
0
0
0
0
0
0.13036
583
27
54
21.592593
0.822485
0
0
0
0
0
0.121784
0
0
0
0
0
0
0
null
null
0
0.117647
null
null
0.117647
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
1
0
0
0
0
0
0
0
0
3
d2703dc5d0ecd20f5f8253749c1780463662b907
214
py
Python
django/cryptoService/urls.py
sjaved02/pythia
72b8b6a9cb301eaf80d6033ae61b0b54b57f0453
[ "MIT" ]
null
null
null
django/cryptoService/urls.py
sjaved02/pythia
72b8b6a9cb301eaf80d6033ae61b0b54b57f0453
[ "MIT" ]
null
null
null
django/cryptoService/urls.py
sjaved02/pythia
72b8b6a9cb301eaf80d6033ae61b0b54b57f0453
[ "MIT" ]
null
null
null
""" URLs configured for our remote cryptographic services. """ from django.conf.urls import include, url from django.contrib import admin urlpatterns = [ url(r'^pythia/', include('pythiaPrfService.urls')), ]
21.4
55
0.733645
26
214
6.038462
0.730769
0.127389
0
0
0
0
0
0
0
0
0
0
0.140187
214
9
56
23.777778
0.853261
0.252336
0
0
0
0
0.190789
0.138158
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
965109f4379dacc97a12e6b36955a5466b71c058
647
py
Python
modelmanager/resources/settings.py
mwort/modelmanager
f079d5aa09165fcd43a2bef3cb1cfc2ab36cb47a
[ "BSD-3-Clause" ]
1
2020-06-11T17:29:49.000Z
2020-06-11T17:29:49.000Z
modelmanager/resources/settings.py
mwort/modelmanager
f079d5aa09165fcd43a2bef3cb1cfc2ab36cb47a
[ "BSD-3-Clause" ]
1
2020-02-12T01:15:46.000Z
2020-02-12T01:15:46.000Z
modelmanager/resources/settings.py
mwort/modelmanager
f079d5aa09165fcd43a2bef3cb1cfc2ab36cb47a
[ "BSD-3-Clause" ]
1
2021-04-05T13:33:31.000Z
2021-04-05T13:33:31.000Z
""" This is a modelmanager settings file. Import or define your settings variables, functions or classes below. For example: ``` # will only be available here import pandas as example_module from pandas.some_module import some_function as _pandas_function # will be available as project.example_variable example_varia...
22.310345
69
0.74034
89
647
5.224719
0.494382
0.070968
0.116129
0.16129
0.133333
0.133333
0
0
0
0
0
0.015267
0.190108
647
28
70
23.107143
0.872137
0.98609
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
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
9657750fac4ca9514f05595e7fbd1f18a5071c4f
1,382
py
Python
deprecated/environments/pybullet/simulator.py
MinRegret/TigerControl
b1ca0617cbb2198f9d5cb37f725f3d7accbab08f
[ "Apache-2.0" ]
31
2019-11-08T06:01:54.000Z
2021-11-20T04:50:43.000Z
deprecated/environments/pybullet/simulator.py
johnhallman/ctsb
b1ca0617cbb2198f9d5cb37f725f3d7accbab08f
[ "Apache-2.0" ]
32
2019-06-27T15:05:04.000Z
2019-08-07T04:23:47.000Z
deprecated/environments/pybullet/simulator.py
MinRegret/tigercontrol
b1ca0617cbb2198f9d5cb37f725f3d7accbab08f
[ "Apache-2.0" ]
3
2020-09-30T17:06:50.000Z
2021-04-12T22:39:34.000Z
""" Core class for PyBullet environments """ import pybullet as p class Simulator(object): def __init__(self, env=None): self.initialized = (env != None) self._env = env def initialize(self, env): self.initialized = True self._env = env initial_obs = self._env.reset() ...
23.423729
90
0.641823
167
1,382
5.179641
0.383234
0.09711
0.060116
0.05896
0.050867
0
0
0
0
0
0
0
0.264834
1,382
58
91
23.827586
0.851378
0.154124
0
0.057143
0
0
0.004325
0
0
0
0
0
0.028571
1
0.371429
false
0
0.028571
0.114286
0.628571
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
96820aed73641880b8d61d20cff5733a4392a44c
192
py
Python
play/urls.py
AutonomousCrazyshaking/music
0180c0ae382860f1840fcdb31355df240321dfa3
[ "MIT" ]
null
null
null
play/urls.py
AutonomousCrazyshaking/music
0180c0ae382860f1840fcdb31355df240321dfa3
[ "MIT" ]
null
null
null
play/urls.py
AutonomousCrazyshaking/music
0180c0ae382860f1840fcdb31355df240321dfa3
[ "MIT" ]
null
null
null
from django.urls import path from .views import * urlpatterns = [ path('<int:id>.html', playView, name='play'), path('download/<int:id>.html', downloadView, name='download') ]
24
66
0.645833
24
192
5.166667
0.625
0.080645
0.145161
0
0
0
0
0
0
0
0
0
0.177083
192
8
67
24
0.78481
0
0
0
0
0
0.252688
0.11828
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
968969d1012fb0ef68a73a7f3e979920c287d0b4
899
py
Python
recursion/permutation_with_space.py
neerajp99/algorithms
1d6885d2a895821ac511fa8a46913d34db2511ca
[ "MIT" ]
1
2021-06-17T07:59:42.000Z
2021-06-17T07:59:42.000Z
recursion/permutation_with_space.py
neerajp99/algorithms
1d6885d2a895821ac511fa8a46913d34db2511ca
[ "MIT" ]
null
null
null
recursion/permutation_with_space.py
neerajp99/algorithms
1d6885d2a895821ac511fa8a46913d34db2511ca
[ "MIT" ]
1
2022-01-13T08:42:31.000Z
2022-01-13T08:42:31.000Z
# Generate permutations with a space def permutation_with_space_helper(input_val, output_val): if len(input_val) == 0: # Base condition to get a final output once the input string is empty final.append(output_val) return # Store the first element of the string and make decisions on it ...
40.863636
84
0.719689
134
899
4.58209
0.358209
0.130293
0.19544
0.169381
0.433225
0.433225
0.322476
0.192182
0.192182
0.192182
0
0.006944
0.19911
899
22
85
40.863636
0.845833
0.361513
0
0
1
0
0.007042
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.214286
0.071429
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
968d2e4171ddb8e517155ef7dfd7ddff173b8b77
249
py
Python
modules/users/__init__.py
vladpi/zenmoney-bot
280723a49979632811f585fb8dced3c396fe563a
[ "Apache-2.0" ]
null
null
null
modules/users/__init__.py
vladpi/zenmoney-bot
280723a49979632811f585fb8dced3c396fe563a
[ "Apache-2.0" ]
1
2022-02-16T22:29:36.000Z
2022-02-16T22:29:54.000Z
modules/users/__init__.py
vladpi/zenmoney-bot
280723a49979632811f585fb8dced3c396fe563a
[ "Apache-2.0" ]
null
null
null
from .exports import ( # noqa create_or_update_user, get_user, init_user_zenmoney_data, update_user_default_outcome_account, update_user_zenmoney_last_sync, ) from .schemas import UserModel # noqa from .tables import * # noqa
24.9
40
0.75502
33
249
5.242424
0.606061
0.17341
0
0
0
0
0
0
0
0
0
0
0.188755
249
9
41
27.666667
0.856436
0.056225
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
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
969efda5cdc147ea4eabfb408613b0c746100f71
944
py
Python
zvt/recorders/joinquant/__init__.py
alucardxh/zvt
02a2c64828146f4e15e702150f26a5ab6647a91c
[ "MIT" ]
22
2020-10-22T14:24:32.000Z
2022-03-30T22:19:14.000Z
zvt/recorders/joinquant/__init__.py
alucardxh/zvt
02a2c64828146f4e15e702150f26a5ab6647a91c
[ "MIT" ]
1
2021-08-14T12:19:18.000Z
2021-09-30T06:44:04.000Z
zvt/recorders/joinquant/__init__.py
alucardxh/zvt
02a2c64828146f4e15e702150f26a5ab6647a91c
[ "MIT" ]
6
2021-01-14T20:50:06.000Z
2022-01-11T23:12:43.000Z
# -*- coding: utf-8 -*- # the __all__ is generated __all__ = [] # __init__.py structure: # common code of the package # export interface in __all__ which contains __all__ of its sub modules # import all from submodule misc from .misc import * from .misc import __all__ as _misc_all __all__ += _misc_all # import all f...
25.513514
71
0.779661
135
944
4.77037
0.22963
0.167702
0.121118
0.204969
0.194099
0
0
0
0
0
0
0.001266
0.163136
944
37
72
25.513514
0.813924
0.387712
0
0
1
0
0
0
0
0
0
0
0
1
0
false
0
0.631579
0
0.631579
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
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
96a1a467585c6c06ba0fae2e6f9da620b1e7c115
161
py
Python
spiders/spiders/common/response.py
jiangxuewen16/hq-crawler
f03ec1e454513307e335943f224f4d927eaf2bbf
[ "MIT" ]
1
2021-02-25T08:33:40.000Z
2021-02-25T08:33:40.000Z
spiders/spiders/common/response.py
jiangxuewen16/hq-crawler
f03ec1e454513307e335943f224f4d927eaf2bbf
[ "MIT" ]
null
null
null
spiders/spiders/common/response.py
jiangxuewen16/hq-crawler
f03ec1e454513307e335943f224f4d927eaf2bbf
[ "MIT" ]
2
2021-03-08T07:25:16.000Z
2021-12-07T15:28:02.000Z
from enum import Enum, unique @unique class ResponseHandleType(Enum): JS = 'application/x-javascript' HTML = 'text/html' JSON = 'application/json'
17.888889
35
0.695652
19
161
5.894737
0.684211
0
0
0
0
0
0
0
0
0
0
0
0.192547
161
8
36
20.125
0.861538
0
0
0
0
0
0.304348
0.149068
0
0
0
0
0
1
0
false
0
0.166667
0
0.833333
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
96b416da940a62f7eff167882394216e1b952c01
2,910
py
Python
libtbx/scheduling/result.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
155
2016-11-23T12:52:16.000Z
2022-03-31T15:35:44.000Z
libtbx/scheduling/result.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
590
2016-12-10T11:31:18.000Z
2022-03-30T23:10:09.000Z
libtbx/scheduling/result.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
115
2016-11-15T08:17:28.000Z
2022-02-09T15:30:14.000Z
from __future__ import absolute_import, division, print_function class success(object): """ Valid result """ def __init__(self, value): self.value = value def __call__(self): return self.value def __str__(self): return "success( value = %s )" % self.value # Exception handling classes c...
18.074534
89
0.706873
330
2,910
5.909091
0.227273
0.086667
0.028205
0.032821
0.182051
0.053846
0
0
0
0
0
0.000427
0.195876
2,910
160
90
18.1875
0.832906
0.072509
0
0.242857
0
0
0.034457
0
0
0
0
0
0
1
0.3
false
0
0.085714
0.114286
0.671429
0.057143
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
96bcad70a6eb58473b32c7c16f79c6d4c9671888
199
py
Python
Exercicio_3.py
Matheus2037/Exercicio_LP_1B
7fab8246e999d7dde0ddb96f2a4ca45216c229d0
[ "MIT" ]
null
null
null
Exercicio_3.py
Matheus2037/Exercicio_LP_1B
7fab8246e999d7dde0ddb96f2a4ca45216c229d0
[ "MIT" ]
null
null
null
Exercicio_3.py
Matheus2037/Exercicio_LP_1B
7fab8246e999d7dde0ddb96f2a4ca45216c229d0
[ "MIT" ]
null
null
null
dia = input("Digite o dia de nascimento: ") mes = input("Digite o mês de nascimento: ") ano = input("Digite o ano de nascimento: ") print("A data de nascimento é: {}/{}/{} ." .format(dia, mes, ano))
39.8
66
0.643216
31
199
4.129032
0.451613
0.375
0.28125
0
0
0
0
0
0
0
0
0
0.170854
199
5
66
39.8
0.775758
0
0
0
0
0
0.59
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
736c0ce7b563d0bc91bea9f82f82404f735596fe
202
py
Python
apps/pages/urls.py
samupl/website
6eb640f8e8afc4c6801b44c42671dc4f5c1d3471
[ "MIT" ]
1
2018-07-14T19:54:20.000Z
2018-07-14T19:54:20.000Z
apps/pages/urls.py
samupl/website
6eb640f8e8afc4c6801b44c42671dc4f5c1d3471
[ "MIT" ]
null
null
null
apps/pages/urls.py
samupl/website
6eb640f8e8afc4c6801b44c42671dc4f5c1d3471
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.home, name='home'), url(r'^project/(.*)$', views.project, name='project_modal'), ]
22.444444
64
0.613861
27
202
4.555556
0.592593
0.065041
0
0
0
0
0
0
0
0
0
0.005882
0.158416
202
8
65
25.25
0.717647
0.10396
0
0
0
0
0.184358
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
7370611dc52600165706e194544ca64e6cbc95ae
1,600
py
Python
algorithms/python/leetcode/tests/test_SumofSquareNumbers.py
ytjia/coding-pratice
6ddba1f3b86c40639a8203cbc3373d52301c1b1f
[ "MIT" ]
null
null
null
algorithms/python/leetcode/tests/test_SumofSquareNumbers.py
ytjia/coding-pratice
6ddba1f3b86c40639a8203cbc3373d52301c1b1f
[ "MIT" ]
null
null
null
algorithms/python/leetcode/tests/test_SumofSquareNumbers.py
ytjia/coding-pratice
6ddba1f3b86c40639a8203cbc3373d52301c1b1f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Authors: Y. Jia <ytjia.zju@gmail.com> import unittest from .. import SumofSquareNumbers class test_SumofSquareNumbers(unittest.TestCase): solution = SumofSquareNumbers.Solution() def test_sqrt_binary_search(self): self.assertTrue(self.solution.sqrt_binary_search(9, 1, 6))...
39.02439
72
0.70375
188
1,600
5.87234
0.255319
0.206522
0.137681
0.195652
0.720109
0.285326
0.285326
0.081522
0.081522
0
0
0.033507
0.160625
1,600
40
73
40
0.788533
0.036875
0
0
0
0
0.005202
0
0
0
0
0
0.678571
1
0.107143
false
0
0.071429
0
0.25
0
0
0
0
null
1
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
1
0
0
0
0
0
0
0
0
0
3
73724ea7d88b5771867fe875eb5631585864518a
671
py
Python
libddog/metrics/formulas.py
albertteoh/libddog
9018bd07a2c42a6cbd344995a22b8b3ae450a1f8
[ "MIT" ]
5
2021-07-30T02:09:46.000Z
2021-12-23T02:45:07.000Z
libddog/metrics/formulas.py
albertteoh/libddog
9018bd07a2c42a6cbd344995a22b8b3ae450a1f8
[ "MIT" ]
28
2021-07-27T22:53:27.000Z
2021-11-18T22:03:31.000Z
libddog/metrics/formulas.py
albertteoh/libddog
9018bd07a2c42a6cbd344995a22b8b3ae450a1f8
[ "MIT" ]
1
2022-03-18T04:29:28.000Z
2022-03-18T04:29:28.000Z
from libddog.metrics.bases import FormulaNode class BinaryFormula(FormulaNode): symbol: str = "" def __init__(self, left: FormulaNode, right: FormulaNode) -> None: self.left = left self.right = right def codegen(self) -> str: return f"({self.left.codegen()} {self.symbol} {self.ri...
18.638889
78
0.627422
73
671
5.712329
0.328767
0.227818
0.230216
0.081535
0.311751
0.311751
0.311751
0.311751
0.311751
0.311751
0
0
0.219076
671
35
79
19.171429
0.795802
0
0
0.1
0
0
0.181818
0.150522
0
0
0
0
0
1
0.15
false
0
0.05
0.1
0.9
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
0
0
0
0
1
0
0
3
7374f2a2abffbac1635ead8f00c7eb9786eea00a
136
py
Python
2 semester/PW/Coursera/Python/1 Week/2.py
kurpenok/Labs
069c92b7964a1445d093313b38ebdc56318d2a73
[ "MIT" ]
1
2022-02-06T17:50:25.000Z
2022-02-06T17:50:25.000Z
2 semester/PW/Coursera/Python/1 Week/2.py
kurpenok/Labs
069c92b7964a1445d093313b38ebdc56318d2a73
[ "MIT" ]
null
null
null
2 semester/PW/Coursera/Python/1 Week/2.py
kurpenok/Labs
069c92b7964a1445d093313b38ebdc56318d2a73
[ "MIT" ]
1
2022-03-02T06:45:06.000Z
2022-03-02T06:45:06.000Z
count = int(input()) tux = [" _~_ ", " (o o) ", " / V \ ", "/( _ )\\ ", " ^^ ^^ "] for i in tux: print(i * count)
19.428571
77
0.308824
14
136
2.785714
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.397059
136
6
78
22.666667
0.47561
0
0
0
0
0
0.375
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
73873746ee404e79483cf28b6d9853c173db9ffa
1,522
py
Python
tests/test_datetime.py
krishan711/python-hl7
ebdf5bae2b5d5d88193d2d33864995c263952d74
[ "BSD-3-Clause" ]
171
2015-01-13T12:18:30.000Z
2022-03-28T21:47:16.000Z
tests/test_datetime.py
krishan711/python-hl7
ebdf5bae2b5d5d88193d2d33864995c263952d74
[ "BSD-3-Clause" ]
31
2015-06-10T13:17:09.000Z
2022-03-31T12:52:47.000Z
tests/test_datetime.py
krishan711/python-hl7
ebdf5bae2b5d5d88193d2d33864995c263952d74
[ "BSD-3-Clause" ]
56
2015-01-13T12:18:34.000Z
2022-03-22T16:32:38.000Z
from datetime import datetime from unittest import TestCase from hl7.datatypes import _UTCOffset, parse_datetime class DatetimeTest(TestCase): def test_parse_date(self): self.assertEqual(datetime(1901, 2, 13), parse_datetime("19010213")) def test_parse_datetime(self): self.assertEqual( ...
32.382979
79
0.597898
167
1,522
5.305389
0.311377
0.1614
0.207675
0.213318
0.293454
0.293454
0.293454
0.293454
0.21219
0.090293
0
0.233212
0.275953
1,522
46
80
33.086957
0.57078
0
0
0.179487
0
0
0.09067
0
0
0
0
0
0.25641
1
0.128205
false
0
0.076923
0
0.230769
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
1
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
739aeace6bfe56ac47b8daf0f7244f2bae934797
227
py
Python
2015/Day3/Point2D.py
dh256/adventofcode
428eec13f4cbf153333a0e359bcff23070ef6d27
[ "MIT" ]
null
null
null
2015/Day3/Point2D.py
dh256/adventofcode
428eec13f4cbf153333a0e359bcff23070ef6d27
[ "MIT" ]
null
null
null
2015/Day3/Point2D.py
dh256/adventofcode
428eec13f4cbf153333a0e359bcff23070ef6d27
[ "MIT" ]
null
null
null
class Point2D: def __init__(self,x,y): self.x = x self.y = y def __eq__(self, value): return self.x == value.x and self.y == value.y def __hash__(self): return hash((self.x,self.y))
22.7
54
0.550661
36
227
3.138889
0.333333
0.176991
0.106195
0
0
0
0
0
0
0
0
0.006369
0.30837
227
10
55
22.7
0.713376
0
0
0
0
0
0
0
0
0
0
0
0
1
0.375
false
0
0
0.25
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
73bb9bb1ffb8300f77ea3cc003a32d9377665cb2
229
py
Python
workspaces/routing.py
Exaphis/Synchronous
17334442ee3d54d6704469bba8a53eb35c1f555e
[ "MIT" ]
null
null
null
workspaces/routing.py
Exaphis/Synchronous
17334442ee3d54d6704469bba8a53eb35c1f555e
[ "MIT" ]
null
null
null
workspaces/routing.py
Exaphis/Synchronous
17334442ee3d54d6704469bba8a53eb35c1f555e
[ "MIT" ]
null
null
null
from django.urls import path from . import consumers # possible problems with nesting routers when not using re_path websocket_urlpatterns = [ path("ws/<uuid:unique_id>/", consumers.WorkspaceWebsocketConsumer.as_asgi()), ]
25.444444
81
0.777293
29
229
6
0.827586
0
0
0
0
0
0
0
0
0
0
0
0.131004
229
8
82
28.625
0.874372
0.266376
0
0
0
0
0.120482
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
73e8d7b471e4a8b8a8e91643ae490833ebb9fb94
816
py
Python
5.py
wdhif/daily-coding-problem
8d643b0679469a63e4fba1e0a34f7dfa0c2a2e46
[ "Apache-2.0" ]
null
null
null
5.py
wdhif/daily-coding-problem
8d643b0679469a63e4fba1e0a34f7dfa0c2a2e46
[ "Apache-2.0" ]
null
null
null
5.py
wdhif/daily-coding-problem
8d643b0679469a63e4fba1e0a34f7dfa0c2a2e46
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 """cons(a, b) constructs a pair, and car(pair) and cdr(pair) returns the first and last element of that pair. For example, car(cons(3, 4)) returns 3, and cdr(cons(3, 4)) returns 4.""" import unittest def cons(a, b): def pair(f): return f(a, b) return pair def car(pair): ...
19.428571
183
0.599265
137
816
3.459854
0.291971
0.07384
0.113924
0.084388
0.236287
0.236287
0.236287
0.236287
0.236287
0.236287
0
0.045234
0.241422
816
41
184
19.902439
0.720517
0.243873
0
0
0
0
0.013093
0
0
0
0
0
0.090909
1
0.318182
false
0
0.045455
0.136364
0.727273
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
fb445fe4a3fb2ce0916edb2fd74d3fc2d9a4a438
1,761
py
Python
baselines/predict_models.py
dialogue-evaluation/taxonomy-enrichment
6ee12174163368f38276b6e58e81c21625660e13
[ "Apache-2.0" ]
11
2019-12-23T09:43:40.000Z
2021-11-19T06:49:07.000Z
baselines/predict_models.py
dialogue-evaluation/taxonomy-enrichment
6ee12174163368f38276b6e58e81c21625660e13
[ "Apache-2.0" ]
null
null
null
baselines/predict_models.py
dialogue-evaluation/taxonomy-enrichment
6ee12174163368f38276b6e58e81c21625660e13
[ "Apache-2.0" ]
9
2019-12-22T12:07:31.000Z
2020-11-23T20:36:09.000Z
from abc import abstractmethod from ruwordnet.ruwordnet_reader import RuWordnet from gensim.models import KeyedVectors class Model: def __init__(self, params): self.ruwordnet = RuWordnet(db_path=params["db_path"], ruwordnet_path=params["ruwordnet_path"]) self.w2v_ruwordnet = KeyedVectors...
38.282609
111
0.705281
208
1,761
5.663462
0.264423
0.035654
0.078098
0.091681
0.576401
0.49236
0.460951
0.427844
0.427844
0.427844
0
0.017009
0.198751
1,761
45
112
39.133333
0.81786
0.021011
0
0.46875
0
0
0.035778
0.013119
0
0
0
0
0
1
0.28125
false
0.0625
0.09375
0.09375
0.59375
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
fb4a534f239acb2102a0f20a5730ec6344e83ab8
247
py
Python
viper_web/viperweb/apps.py
pridhvi-zz/viper-web
dfe93755136d12ce474aff890bc10ef66c9f9d42
[ "BSD-3-Clause" ]
6
2019-11-11T00:16:30.000Z
2022-01-23T12:47:28.000Z
viper_web/viperweb/apps.py
pridhvi-zz/viper-web
dfe93755136d12ce474aff890bc10ef66c9f9d42
[ "BSD-3-Clause" ]
14
2019-11-21T12:28:19.000Z
2021-07-14T09:22:50.000Z
viper_web/viperweb/apps.py
pridhvi-zz/viper-web
dfe93755136d12ce474aff890bc10ef66c9f9d42
[ "BSD-3-Clause" ]
12
2019-11-18T07:23:15.000Z
2021-11-23T22:11:52.000Z
# -*- coding: utf-8 -*- # This file is part of Viper - https://github.com/viper-framework/viper # See the file 'LICENSE' for copying permission. from django.apps import AppConfig class ViperWebConfig(AppConfig): name = 'viper_web.viperweb'
24.7
71
0.724696
34
247
5.235294
0.852941
0
0
0
0
0
0
0
0
0
0
0.004785
0.153846
247
9
72
27.444444
0.84689
0.558704
0
0
0
0
0.171429
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
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
0
0
1
0
1
0
0
3
fb4cbd4d411951fd36e4105e26b50c188895f50c
636
py
Python
rfidsecuritysvc/model/config.py
bcurnow/rfid-security-svc
d3806cb74d3d0cc2623ea425230dc8781ba4d8b4
[ "Apache-2.0" ]
null
null
null
rfidsecuritysvc/model/config.py
bcurnow/rfid-security-svc
d3806cb74d3d0cc2623ea425230dc8781ba4d8b4
[ "Apache-2.0" ]
null
null
null
rfidsecuritysvc/model/config.py
bcurnow/rfid-security-svc
d3806cb74d3d0cc2623ea425230dc8781ba4d8b4
[ "Apache-2.0" ]
null
null
null
from rfidsecuritysvc.db import config as table from rfidsecuritysvc.model import BaseModel class Config(BaseModel): def __init__(self, key, value): self.key = key self.value = value def get(key): return __model(table.get(key)) def list(): result = [] for row in table.list(): ...
16.307692
46
0.647799
86
636
4.674419
0.325581
0.099502
0.069652
0.094527
0
0
0
0
0
0
0
0
0.235849
636
38
47
16.736842
0.82716
0
0
0
0
0
0.012579
0
0
0
0
0
0
1
0.304348
false
0
0.086957
0.173913
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
fb53c68793c0c5e7f5594a3b1dd45729cdb71b14
1,857
py
Python
src/python/callers/ab_denovo_caller.py
ForomePlatform/variant_callers
e7d8e050d3c777f58e528157dad142d838199267
[ "Apache-2.0" ]
null
null
null
src/python/callers/ab_denovo_caller.py
ForomePlatform/variant_callers
e7d8e050d3c777f58e528157dad142d838199267
[ "Apache-2.0" ]
null
null
null
src/python/callers/ab_denovo_caller.py
ForomePlatform/variant_callers
e7d8e050d3c777f58e528157dad142d838199267
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2019. Partners HealthCare, Harvard Medical School’s # Department of Biomedical Informatics # # Developed by Sergey Trifonov and Michael Bouzinier, based on contributions by: # Anwoy Kumar Mohanty, Andrew Bjonnes, # Ignat Leshchiner, Shamil Sunyaev and other members of Division of Genetics, # Brigh...
32.017241
81
0.700054
256
1,857
4.933594
0.542969
0.047506
0.019002
0.025337
0.133017
0.068092
0.068092
0
0
0
0
0.006845
0.213247
1,857
57
82
32.578947
0.857632
0.462574
0
0.24
0
0
0.056295
0
0
0
0
0
0
1
0.36
false
0
0.08
0.24
0.84
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
fb5f1779089cadf9f4fc8f9109a7b39ad5d42edf
71
py
Python
INF101/TD/1.1.4.py
Marshellson/UGA_IMF
eb293deabcc5ef6e45617d8c5bb6268b63b34f21
[ "MIT" ]
1
2021-09-21T21:53:17.000Z
2021-09-21T21:53:17.000Z
INF101/TD/1.1.4.py
Marshellson/UGA_INF
eb293deabcc5ef6e45617d8c5bb6268b63b34f21
[ "MIT" ]
null
null
null
INF101/TD/1.1.4.py
Marshellson/UGA_INF
eb293deabcc5ef6e45617d8c5bb6268b63b34f21
[ "MIT" ]
null
null
null
prenom = input("Comment t'appelle-tu? ") print("Bonjour %s" % prenom)
17.75
40
0.661972
10
71
4.7
0.9
0
0
0
0
0
0
0
0
0
0
0
0.140845
71
3
41
23.666667
0.770492
0
0
0
0
0
0.450704
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
fb62f87d8c86b96ed8a23fa72648fd54e5a1583a
8,028
py
Python
Lib/site-packages/wx-2.8-msw-unicode/wx/lib/flashwin.py
ekkipermana/robotframework-test
243ca26f69962f8cf20cd7d054e0ff3e709bc7f4
[ "bzip2-1.0.6" ]
27
2020-11-12T19:24:54.000Z
2022-03-27T23:10:45.000Z
Lib/site-packages/wx-2.8-msw-unicode/wx/lib/flashwin.py
ekkipermana/robotframework-test
243ca26f69962f8cf20cd7d054e0ff3e709bc7f4
[ "bzip2-1.0.6" ]
2
2020-11-02T06:30:39.000Z
2022-02-23T18:39:55.000Z
Lib/site-packages/wx-2.8-msw-unicode/wx/lib/flashwin.py
ekkipermana/robotframework-test
243ca26f69962f8cf20cd7d054e0ff3e709bc7f4
[ "bzip2-1.0.6" ]
7
2018-02-13T10:22:39.000Z
2019-07-04T07:39:28.000Z
#---------------------------------------------------------------------- # Name: wx.lib.flashwin # Purpose: A class that allows the use of the Shockwave Flash # ActiveX control # # Author: Robin Dunn # # Created: 22-March-2004 # RCS-ID: $Id: flashwin.py 54040 2008-06-08 23:03:22Z RD...
30.524715
80
0.668535
932
8,028
5.561159
0.166309
0.115763
0.145861
0.114605
0.098013
0.056338
0.014277
0
0
0
0
0.013604
0.221724
8,028
262
81
30.641221
0.815941
0.060538
0
0
0
0
0.016472
0.014214
0
0
0
0
0
1
0.406417
false
0
0.026738
0.28877
0.850267
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
fb6e28998f857e5675f044eb03deac4620f3d115
255
py
Python
laptoppp.py
jatinchaudhary/python_dump
5f7d63237fcb96a66bc3c4151599c7849f0f2735
[ "bzip2-1.0.6" ]
null
null
null
laptoppp.py
jatinchaudhary/python_dump
5f7d63237fcb96a66bc3c4151599c7849f0f2735
[ "bzip2-1.0.6" ]
null
null
null
laptoppp.py
jatinchaudhary/python_dump
5f7d63237fcb96a66bc3c4151599c7849f0f2735
[ "bzip2-1.0.6" ]
null
null
null
class laptop: brand=[] year=[] ram=[] def __init__(self,brand,year,ram,cost): self.brand.append(brand) self.year.append(year) self.ram.append(ram) self.cost.append(cost)
18.214286
44
0.494118
28
255
4.357143
0.357143
0.147541
0.196721
0
0
0
0
0
0
0
0
0
0.376471
255
13
45
19.615385
0.767296
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.555556
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
0
0
1
0
0
3
fb7849dcd8a3bad4aa8f9e9d9c1b460d92e6ac7a
95
py
Python
Python/pierwszy.py
amundsenscott4/helloworld
f14e77c5a3a3bb2d3d88d730d658589f9a007330
[ "MIT" ]
null
null
null
Python/pierwszy.py
amundsenscott4/helloworld
f14e77c5a3a3bb2d3d88d730d658589f9a007330
[ "MIT" ]
null
null
null
Python/pierwszy.py
amundsenscott4/helloworld
f14e77c5a3a3bb2d3d88d730d658589f9a007330
[ "MIT" ]
null
null
null
import random print("Hello world") for i in range(10): print(round(random.random()*100))
13.571429
37
0.684211
15
95
4.333333
0.8
0
0
0
0
0
0
0
0
0
0
0.0625
0.157895
95
6
38
15.833333
0.75
0
0
0
0
0
0.115789
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
fba18201cf24076824ff12a99a4dc09a942cbaff
1,484
py
Python
Python3/aoc2020/solutions/day_15.py
maddenvvs/advent-of-code-2020
f0ed187698878102598e53f356ad47c26b5a44e1
[ "MIT" ]
1
2021-01-09T15:29:50.000Z
2021-01-09T15:29:50.000Z
Python3/aoc2020/solutions/day_15.py
maddenvvs/advent-of-code-2020
f0ed187698878102598e53f356ad47c26b5a44e1
[ "MIT" ]
null
null
null
Python3/aoc2020/solutions/day_15.py
maddenvvs/advent-of-code-2020
f0ed187698878102598e53f356ad47c26b5a44e1
[ "MIT" ]
null
null
null
from itertools import dropwhile from typing import Generator, List, Sequence, Tuple from .solution import Solution def parse_numbers(numbers_text: str) -> List[int]: return [int(i, base=10) for i in numbers_text.split(",")] def numbers_game(numbers: Sequence[int], move: int) -> Generator[Tuple[int, int], None,...
28
94
0.688679
213
1,484
4.553991
0.248826
0.065979
0.074227
0.092784
0.472165
0.358763
0.358763
0.358763
0.358763
0.358763
0
0.042301
0.203504
1,484
52
95
28.538462
0.778342
0
0
0.193548
0
0
0.000674
0
0
0
0
0
0
1
0.225806
false
0
0.096774
0.129032
0.548387
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
fba36119b450d35ee4d8b4a65126151ed2225087
10,169
py
Python
syot/models/lol.py
andrewdge/Pyot
a0b44a4462fd643bb21fbdc349beb9546543997c
[ "MIT" ]
null
null
null
syot/models/lol.py
andrewdge/Pyot
a0b44a4462fd643bb21fbdc349beb9546543997c
[ "MIT" ]
null
null
null
syot/models/lol.py
andrewdge/Pyot
a0b44a4462fd643bb21fbdc349beb9546543997c
[ "MIT" ]
null
null
null
import asyncio from pyot.models import lol from syot.models import riot from .__core__ import SyotBaseObject class SyotBase(SyotBaseObject): pass # from .championmastery import ChampionMasteries, ChampionMastery class ChampionMasteries(SyotBase, lol.ChampionMasteries): class Meta(lol.ChampionMasteries.Meta):...
29.054286
200
0.700954
1,116
10,169
6.380824
0.062724
0.061789
0.098863
0.142115
0.371015
0.371015
0.366662
0.366662
0.366662
0.366662
0
0
0.164028
10,169
349
201
29.137536
0.837666
0.094896
0
0.401786
0
0
0.054213
0.007403
0
0
0
0
0
1
0.196429
false
0.196429
0.017857
0.196429
0.799107
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
0
1
0
1
1
0
0
3
fba972d08f544e82d352b8f3de2dbef560599b2a
139
py
Python
wordplay.py
imattman/wordplay
e118a9f5882f5f6bf883c719e3806c0d5802caf2
[ "MIT" ]
5
2019-02-24T04:29:39.000Z
2022-01-08T21:45:37.000Z
wordplay.py
imattman/wordplay
e118a9f5882f5f6bf883c719e3806c0d5802caf2
[ "MIT" ]
null
null
null
wordplay.py
imattman/wordplay
e118a9f5882f5f6bf883c719e3806c0d5802caf2
[ "MIT" ]
11
2019-02-10T23:37:19.000Z
2019-04-24T00:59:32.000Z
#!/usr/bin/env python3 def score_word(word): score = 0 for letter in word: # add code here pass return score
13.9
23
0.57554
20
139
3.95
0.8
0
0
0
0
0
0
0
0
0
0
0.021978
0.345324
139
9
24
15.444444
0.846154
0.251799
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0.2
0
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
1
0
0
0
0
0
3
fbb4384b1a7e403eb455a46b37766af527b55794
2,432
py
Python
neurolang/interval_algebra.py
hndgzkn/NeuroLang
a3178d47f80bc0941440d9bb09e06c2f217b9566
[ "BSD-3-Clause" ]
1
2021-01-07T02:00:22.000Z
2021-01-07T02:00:22.000Z
neurolang/interval_algebra.py
hndgzkn/NeuroLang
a3178d47f80bc0941440d9bb09e06c2f217b9566
[ "BSD-3-Clause" ]
207
2020-11-04T12:51:10.000Z
2022-03-30T13:42:26.000Z
neurolang/interval_algebra.py
hndgzkn/NeuroLang
a3178d47f80bc0941440d9bb09e06c2f217b9566
[ "BSD-3-Clause" ]
6
2020-11-04T13:59:35.000Z
2021-03-19T05:28:10.000Z
import numpy as np def before(i1, i2) -> bool: return i1[0] < i1[1] < i2[0] < i2[1] def overlaps(i1, i2) -> bool: return i1[0] < i2[0] < i1[1] < i2[1] def during(i1, i2) -> bool: return i2[0] < i1[0] < i1[1] < i2[1] def meets(i1, i2) -> bool: return i1[0] < i1[1] == i2[0] < i2[1] def starts(i1...
23.161905
75
0.524671
424
2,432
2.910377
0.117925
0.053485
0.051864
0.068071
0.602917
0.564019
0.551864
0.551864
0.551864
0.551864
0
0.132065
0.287007
2,432
104
76
23.384615
0.579585
0
0
0.257143
0
0
0.000411
0
0
0
0
0
0
1
0.242857
false
0
0.014286
0.128571
0.671429
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
fbce736b846f5c3b4971481afef50bec9e5b2041
72
py
Python
lang/py/cookbook/v2/source/cb2_20_0_exm_2.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/cookbook/v2/source/cb2_20_0_exm_2.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/cookbook/v2/source/cb2_20_0_exm_2.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
class Point(object): __metaclass__ = M __slots__ = ['_x', '_y']
18
28
0.597222
8
72
4.125
1
0
0
0
0
0
0
0
0
0
0
0
0.236111
72
3
29
24
0.6
0
0
0
0
0
0.055556
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
83a6ee1259a8b731bc3a0e6a2e4ded12e1cdcd22
676
py
Python
rx/concurrency/immediatescheduler.py
rlugojr/RxPy
9f9b1de0ab833e53b0d1626a3b43a6c9424f01ec
[ "ECL-2.0", "Apache-2.0" ]
78
2015-01-22T23:57:01.000Z
2021-06-04T15:16:22.000Z
rx/concurrency/immediatescheduler.py
rlugojr/RxPy
9f9b1de0ab833e53b0d1626a3b43a6c9424f01ec
[ "ECL-2.0", "Apache-2.0" ]
1
2015-10-19T12:59:57.000Z
2015-10-19T12:59:57.000Z
rx/concurrency/immediatescheduler.py
rlugojr/RxPy
9f9b1de0ab833e53b0d1626a3b43a6c9424f01ec
[ "ECL-2.0", "Apache-2.0" ]
11
2015-02-16T20:43:45.000Z
2018-05-30T11:46:50.000Z
from datetime import timedelta from .scheduler import Scheduler # Immediate Scheduler SCHEDULER_NO_BLOCK_ERROR = "Scheduler is not allowed to block the thread" class ImmediateScheduler(Scheduler): def schedule(self, action, state=None): return self.invoke_action(action, state) def schedule_relative(...
32.190476
74
0.742604
81
676
6.049383
0.407407
0.134694
0.091837
0.085714
0.336735
0.179592
0.179592
0.179592
0
0
0
0.001799
0.177515
676
21
75
32.190476
0.879496
0.028107
0
0.153846
0
0
0.067073
0
0
0
0
0
0
1
0.230769
false
0
0.153846
0.153846
0.692308
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
83a907b15d5c507e7cbc770b14f69727ecad266a
186
py
Python
examples/python/simple/base_break.py
airgiser/ucb
d03e62a17f35a9183ed36662352f603f0f673194
[ "MIT" ]
1
2022-01-08T14:59:44.000Z
2022-01-08T14:59:44.000Z
examples/python/simple/base_break.py
airgiser/just-for-fun
d03e62a17f35a9183ed36662352f603f0f673194
[ "MIT" ]
null
null
null
examples/python/simple/base_break.py
airgiser/just-for-fun
d03e62a17f35a9183ed36662352f603f0f673194
[ "MIT" ]
null
null
null
#!/usr/bin/python # Filename: base_break.py while True: s = raw_input('Enter something:') if s == 'quit': break print 'Length of the string is', len(s) print 'Done'
18.6
43
0.612903
28
186
4
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.241935
186
9
44
20.666667
0.794326
0.215054
0
0
0
0
0.326389
0
0
0
0
0
0
0
null
null
0
0
null
null
0.333333
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
83bf55acc01096c1be59900d22fb617140e83515
87
py
Python
ex002.py
Jordemar-D-Bousquet/Exercicios_Python
705d4c83720db033841f01aa843e4dbab08f1423
[ "MIT" ]
null
null
null
ex002.py
Jordemar-D-Bousquet/Exercicios_Python
705d4c83720db033841f01aa843e4dbab08f1423
[ "MIT" ]
null
null
null
ex002.py
Jordemar-D-Bousquet/Exercicios_Python
705d4c83720db033841f01aa843e4dbab08f1423
[ "MIT" ]
null
null
null
nome = input('Qual é o seu nome: ') print('É um prazer te conhcecer, {}!'.format(nome))
43.5
51
0.655172
15
87
3.8
0.8
0
0
0
0
0
0
0
0
0
0
0
0.149425
87
2
51
43.5
0.77027
0
0
0
0
0
0.545455
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
83e3c6520e327cf83d6dd88441ed94bb6cea455e
74
py
Python
code/arc017_1_02.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
3
2019-08-16T16:55:48.000Z
2021-04-11T10:21:40.000Z
code/arc017_1_02.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
code/arc017_1_02.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
N=int(input()) print("NO" if any([N%n==0 for n in range(2,N)]) else "YES")
37
59
0.594595
18
74
2.444444
0.777778
0
0
0
0
0
0
0
0
0
0
0.030769
0.121622
74
2
59
37
0.646154
0
0
0
0
0
0.066667
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
f7ae6d70063e5acdc56881dddddaf1da47cb6b05
301
py
Python
Module05/problem06.py
kholt90/DataStruct
acc42358f27ec4bac15b87e2bfd53b5843d592b6
[ "Unlicense" ]
null
null
null
Module05/problem06.py
kholt90/DataStruct
acc42358f27ec4bac15b87e2bfd53b5843d592b6
[ "Unlicense" ]
null
null
null
Module05/problem06.py
kholt90/DataStruct
acc42358f27ec4bac15b87e2bfd53b5843d592b6
[ "Unlicense" ]
null
null
null
def k_th_smallest_distance(nums): nums_pairs = [] for i in nums: for j in nums[i:]: nums_pairs.append((i, j)) return nums_pairs nums = [1, 3, 1] print(k_th_smallest_distance(nums)) def k_th_smallest_distance(nums): nums.sort() for index in range(k):
20.066667
37
0.614618
48
301
3.604167
0.395833
0.052023
0.190751
0.32948
0.479769
0.346821
0.346821
0
0
0
0
0.013636
0.269103
301
14
38
21.5
0.772727
0
0
0.181818
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.090909
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
1
0
0
0
0
0
0
0
0
3
f7bc5e1dea12f8dfba6a2810bec47c53cfe140c3
181
py
Python
1_Python/Desafios/110_Manipular_preco_v4.py
guilhermebaos/Curso-em-Video-Python
0e67f6f59fa3216889bd2dde4a26b532c7c545fd
[ "MIT" ]
null
null
null
1_Python/Desafios/110_Manipular_preco_v4.py
guilhermebaos/Curso-em-Video-Python
0e67f6f59fa3216889bd2dde4a26b532c7c545fd
[ "MIT" ]
null
null
null
1_Python/Desafios/110_Manipular_preco_v4.py
guilhermebaos/Curso-em-Video-Python
0e67f6f59fa3216889bd2dde4a26b532c7c545fd
[ "MIT" ]
null
null
null
from Modules_Ex import Ex110 from Modules import my_inputs preco = my_inputs.inputfloat('Escreve o preço de um produto, em euros: ') print(Ex110.price_manipulation(preco, 20, 10))
30.166667
73
0.790055
29
181
4.793103
0.758621
0.158273
0
0
0
0
0
0
0
0
0
0.063291
0.127072
181
5
74
36.2
0.816456
0
0
0
0
0
0.226519
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.25
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
f7c8cceac8d62ac773ee3c602c232376bc22a38b
568
py
Python
scfmsp/controlflowanalysis/instructions/InstructionDadd.py
sepidehpouyan/SCF-MSP430
1d7565bf38d9f42e775031d4ea8515ff99bef778
[ "MIT" ]
1
2020-07-03T21:26:52.000Z
2020-07-03T21:26:52.000Z
scfmsp/controlflowanalysis/instructions/InstructionDadd.py
sepidehpouyan/SCF-MSP430
1d7565bf38d9f42e775031d4ea8515ff99bef778
[ "MIT" ]
null
null
null
scfmsp/controlflowanalysis/instructions/InstructionDadd.py
sepidehpouyan/SCF-MSP430
1d7565bf38d9f42e775031d4ea8515ff99bef778
[ "MIT" ]
null
null
null
from scfmsp.controlflowanalysis.instructions.AbstractInstructionTwoRegisters import AbstractInstructionTwoRegisters class InstructionDadd(AbstractInstructionTwoRegisters): name = 'dadd' def get_execution_time(self): return self.clock def execute_judgment(self, ac): super(InstructionDadd,...
33.411765
115
0.765845
57
568
7.280702
0.45614
0.253012
0.274699
0.253012
0.125301
0
0
0
0
0
0
0
0.167254
568
16
116
35.5
0.877378
0
0
0
0
0
0.007042
0
0
0
0
0
0
1
0.166667
false
0
0.083333
0.083333
0.5
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
7905360af6477616d3533bddce9622fc67b53657
924
py
Python
fastapi_builder/helpers.py
fmw666/fastapi-cli
6a1b1827f2abd9490f4eeed8b4594634f0a08fd2
[ "MIT" ]
1
2022-02-16T12:27:53.000Z
2022-02-16T12:27:53.000Z
fastapi_builder/helpers.py
fmw666/fastapi-cli
6a1b1827f2abd9490f4eeed8b4594634f0a08fd2
[ "MIT" ]
null
null
null
fastapi_builder/helpers.py
fmw666/fastapi-cli
6a1b1827f2abd9490f4eeed8b4594634f0a08fd2
[ "MIT" ]
null
null
null
import re from typing import TypeVar import questionary EnumType = TypeVar("EnumType") # 驼峰命名转蛇形命名 def camel_to_snake(text: str) -> str: return re.sub(r"(?<!^)(?=[A-Z])", "_", text).lower() # 蛇形命名转驼峰命名 def snake_to_camel(text: str) -> str: return text.split('_')[0] + "".join(x.title() for x in text.split('...
28
94
0.691558
126
924
4.928571
0.428571
0.033816
0.048309
0.077295
0.190016
0
0
0
0
0
0
0.005076
0.147186
924
32
95
28.875
0.782995
0.046537
0
0
0
0
0.131279
0
0
0
0
0
0
1
0.352941
false
0
0.176471
0.294118
0.882353
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
790e880e49a4aff05d076208bbe8350a414f060a
5,986
py
Python
analyzer/apisan/parse/sparser.py
oslab-swrc/apisan
9ff3d3bc04c8e119f4d659f03b38747395e58c3e
[ "MIT" ]
58
2016-08-27T03:19:14.000Z
2022-01-05T17:33:44.000Z
analyzer/apisan/parse/sparser.py
oslab-swrc/apisan
9ff3d3bc04c8e119f4d659f03b38747395e58c3e
[ "MIT" ]
14
2017-12-01T17:16:59.000Z
2020-12-21T12:16:35.000Z
analyzer/apisan/parse/sparser.py
oslab-swrc/apisan
9ff3d3bc04c8e119f4d659f03b38747395e58c3e
[ "MIT" ]
22
2016-11-27T09:53:31.000Z
2021-11-22T00:22:53.000Z
# SPDX-License-Identifier: MIT #!/usr/bin/env python3 import os import sys from ply import yacc from ply.lex import TOKEN from .slexer import SLexer from ..lib import dbg from .symbol import ( BinaryOperatorSymbol, ConstraintSymbol, FieldSymbol, ArraySymbol, CallSymbol, IDSymbol, ConcreteIntSymbol, StringLitera...
35.005848
109
0.538423
649
5,986
4.738059
0.214176
0.218537
0.16065
0.187317
0.149919
0.139512
0.078699
0.063089
0.063089
0.019512
0
0.027338
0.346141
5,986
170
110
35.211765
0.758304
0.331607
0
0.170213
0
0
0.057464
0.006558
0
0
0
0
0
1
0.234043
false
0
0.074468
0.010638
0.351064
0.010638
0
0
0
null
1
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
1
0
0
0
0
0
0
0
3
79203707bd9e24aec5b4fba0ccf3c50aa69f4299
7,899
py
Python
src/backend/database_migrations/versions/20210209_134758_rename_enumtables.py
chanzuckerberg/czgenepi
87bd2b1739acdfe2c7c25663fafb01dc24c5e2fd
[ "MIT" ]
5
2021-02-04T20:18:46.000Z
2021-09-09T13:42:42.000Z
src/backend/database_migrations/versions/20210209_134758_rename_enumtables.py
chanzuckerberg/aspen
9853778a7ef68b0446751657af5a835f98dde3dc
[ "MIT" ]
422
2021-01-30T04:16:00.000Z
2022-01-31T23:18:44.000Z
src/backend/database_migrations/versions/20210209_134758_rename_enumtables.py
chanzuckerberg/covidr
afe05d703d30ec18ac83944bfb551c313cb216c4
[ "MIT" ]
1
2021-05-20T14:54:39.000Z
2021-05-20T14:54:39.000Z
"""rename enumtables Create Date: 2021-02-09 13:47:59.276384 """ import enumtables # noqa: F401 import sqlalchemy as sa from alembic import op # revision identifiers, used by Alembic. revision = "20210209_134758" down_revision = "20210205_105007" branch_labels = None depends_on = None def upgrade(): #########...
30.034221
88
0.552222
762
7,899
5.380577
0.141732
0.12878
0.082439
0.049756
0.831951
0.759512
0.653902
0.653902
0.57439
0.507073
0
0.008719
0.259527
7,899
262
89
30.148855
0.692255
0.037347
0
0.740426
0
0
0.336909
0.135215
0
0
0
0
0
1
0.008511
false
0
0.012766
0
0.021277
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
792875c65cbf82da851dfd5e6eafb84355acffa9
440
py
Python
utils/positions.py
Mosfreds/karl-heinz
3b4473136d95a0d3a33263bd097e1fc8814a5595
[ "WTFPL" ]
null
null
null
utils/positions.py
Mosfreds/karl-heinz
3b4473136d95a0d3a33263bd097e1fc8814a5595
[ "WTFPL" ]
9
2020-01-28T22:01:11.000Z
2022-02-09T23:29:10.000Z
utils/positions.py
Mosfreds/karl-heinz
3b4473136d95a0d3a33263bd097e1fc8814a5595
[ "WTFPL" ]
null
null
null
directions = [(-1,0), (0,1), (1,0), (0,-1), (0,0)] dirs = ["North", "East", "South", "West", "Stay"] def add(a, b): return tuple(map(lambda a, b: a + b, a, b)) def sub(a,b): return tuple(map(lambda a, b: a - b, a, b)) def manhattan_dist(a, b): return abs(a[0]-b[0]) + abs(a[1]-b[1]) def direction_t...
18.333333
50
0.563636
84
440
2.892857
0.321429
0.074074
0.049383
0.065844
0.255144
0.255144
0.255144
0.255144
0.255144
0.255144
0
0.044818
0.188636
440
23
51
19.130435
0.635854
0
0
0
0
0
0.050228
0
0
0
0
0
0
1
0.416667
false
0
0
0.416667
0.833333
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
79376113834bc365b16d24e3faa0a1b2c76825c8
4,940
py
Python
myproject/settings.py
animedhruv/Portfolio-Generator
c6dd71e546e38065276653e9c81acdaa2578ea56
[ "MIT" ]
199
2017-07-04T10:48:40.000Z
2021-12-24T22:27:18.000Z
myproject/settings.py
satishkollu/PortfolioMaker
0230926092539e8f8a7308a2bb7d38c5f9e68d65
[ "MIT" ]
52
2017-09-24T09:53:41.000Z
2021-07-08T09:18:05.000Z
myproject/settings.py
satishkollu/PortfolioMaker
0230926092539e8f8a7308a2bb7d38c5f9e68d65
[ "MIT" ]
126
2017-07-04T17:01:31.000Z
2021-12-02T08:22:19.000Z
""" Django settings for myproject project. Generated by 'django-admin startproject' using Django 1.11.1. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import ...
30.493827
91
0.730769
584
4,940
5.97089
0.325342
0.05965
0.05162
0.050186
0.271867
0.194436
0.12733
0.107829
0.064525
0.029252
0
0.00967
0.1417
4,940
162
92
30.493827
0.812736
0.214777
0
0
1
0
0.500134
0.403213
0
0
0
0
0
1
0
false
0.06
0.02
0
0.02
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
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
f70f010c765e7d5b11c81cbf2a8a5f6563f97562
1,657
py
Python
pyrasterframes/python/geomesa_pyspark/types.py
jdenisgiguere/rasterframes
4226cde5223e67ab0e9f27c98bc1053d0a4b7a4e
[ "Apache-2.0" ]
null
null
null
pyrasterframes/python/geomesa_pyspark/types.py
jdenisgiguere/rasterframes
4226cde5223e67ab0e9f27c98bc1053d0a4b7a4e
[ "Apache-2.0" ]
null
null
null
pyrasterframes/python/geomesa_pyspark/types.py
jdenisgiguere/rasterframes
4226cde5223e67ab0e9f27c98bc1053d0a4b7a4e
[ "Apache-2.0" ]
null
null
null
"""*********************************************************************** This file was created by Astraea, Inc., 2018 from an excerpt of the original: Copyright (c) 2013-2018 Commonwealth Computer Research, Inc. All rights reserved. This program and the accompanying materials are made available under ...
24.014493
77
0.652384
177
1,657
6.062147
0.548023
0.111836
0.130475
0.035415
0.046598
0
0
0
0
0
0
0.012555
0.182861
1,657
68
78
24.367647
0.779911
0.361497
0
0.314286
0
0
0.046578
0.043726
0
0
0
0
0
1
0.142857
false
0.228571
0.114286
0.114286
0.657143
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
0
1
0
1
1
0
0
3
f724c9711779d4f88a28880eec79b4a0e04ab006
907
py
Python
src/coinc/exceptions.py
kimklai/Coinc
dbce0d257d90104bd012996c18884a68e01375a9
[ "MIT" ]
15
2020-07-11T23:30:23.000Z
2022-03-25T08:10:26.000Z
src/coinc/exceptions.py
kimklai/Coinc
dbce0d257d90104bd012996c18884a68e01375a9
[ "MIT" ]
10
2020-06-26T18:20:22.000Z
2022-03-31T02:55:29.000Z
src/coinc/exceptions.py
kimklai/Coinc
dbce0d257d90104bd012996c18884a68e01375a9
[ "MIT" ]
2
2020-09-10T10:51:01.000Z
2021-04-11T09:08:48.000Z
# -*- coding: utf-8 -*- """Exceptions used in this module""" class CoincError(Exception): """Base Class used to declare other errors for Coinc Extends: Exception """ pass class ConfigError(CoincError): """Raised when there are invalid value filled in Configuration Sheet Extends: ...
15.912281
72
0.63065
96
907
5.958333
0.5625
0.078671
0.174825
0.181818
0
0
0
0
0
0
0
0.001546
0.286659
907
56
73
16.196429
0.882535
0.561191
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
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
1
1
0
0
0
0
0
3
f72f4dfc280dbab31721c4c7456f8993a0b4131e
142
py
Python
code/abc110_c_03.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
3
2019-08-16T16:55:48.000Z
2021-04-11T10:21:40.000Z
code/abc110_c_03.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
code/abc110_c_03.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
from collections import Counter S=Counter(input()) T=Counter(input()) s=S.values() t=T.values() print("Yes" if sorted(s)==sorted(t) else "No")
23.666667
46
0.704225
25
142
4
0.56
0.24
0
0
0
0
0
0
0
0
0
0
0.084507
142
6
46
23.666667
0.769231
0
0
0
0
0
0.034965
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
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
f734a66e2c9c3a9152513b54ee2173267e0546dc
222
py
Python
wall_properties.py
sundeep110/revitforarchitects
6aebdf6ca3c381688659dd32462b494c36c24b37
[ "Apache-2.0" ]
1
2018-04-14T13:30:50.000Z
2018-04-14T13:30:50.000Z
wall_properties.py
sundeep110/revitforarchitects
6aebdf6ca3c381688659dd32462b494c36c24b37
[ "Apache-2.0" ]
null
null
null
wall_properties.py
sundeep110/revitforarchitects
6aebdf6ca3c381688659dd32462b494c36c24b37
[ "Apache-2.0" ]
null
null
null
filteredElementCollector = FilteredElementCollector(doc) walls = filteredElementCollector.OfClass(Wall) for wall in walls: for parameter in wall.Parameters: print parameter.Definition.Name, parameter.AsValueString()
37
62
0.824324
22
222
8.318182
0.590909
0
0
0
0
0
0
0
0
0
0
0
0.103604
222
5
63
44.4
0.919598
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.2
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
f7572b9436ba7e251ee5f16016857384e6d3549e
909
py
Python
jmetal/operator/__init__.py
Amgroot-w/jMetalPy
fcfc5bf436734c6318c89dde0e543fbfd8551ba0
[ "MIT" ]
null
null
null
jmetal/operator/__init__.py
Amgroot-w/jMetalPy
fcfc5bf436734c6318c89dde0e543fbfd8551ba0
[ "MIT" ]
null
null
null
jmetal/operator/__init__.py
Amgroot-w/jMetalPy
fcfc5bf436734c6318c89dde0e543fbfd8551ba0
[ "MIT" ]
null
null
null
from .crossover import NullCrossover, SBXCrossover, SPXCrossover, DifferentialEvolutionCrossover, IntegerSBXCrossover from .mutation import NullMutation, BitFlipMutation, PolynomialMutation, IntegerPolynomialMutation, UniformMutation, \ SimpleRandomMutation from .selection import BestSolutionSelection, BinaryTourna...
64.928571
118
0.834983
44
909
17.159091
0.522727
0.066225
0.098013
0.177483
0.921854
0.69404
0
0
0
0
0
0.002407
0.085809
909
13
119
69.923077
0.906137
0
0
0
0
0
0.382838
0.233223
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
1
null
0
0
1
1
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
f75a61995b4ae30d0fcab9ff9337eb6e8b7580f7
143
py
Python
asking/types.py
cariad/asking
482947f70e90928314b90c2db14a86908714125a
[ "MIT" ]
null
null
null
asking/types.py
cariad/asking
482947f70e90928314b90c2db14a86908714125a
[ "MIT" ]
4
2021-11-28T08:40:52.000Z
2021-11-30T14:43:58.000Z
asking/types.py
cariad/asking
482947f70e90928314b90c2db14a86908714125a
[ "MIT" ]
null
null
null
from typing import Any, Dict, List AnyDict = Dict[Any, Any] StageKey = str StageType = List[Dict[str, Any]] ScriptDict = Dict[str, StageType]
20.428571
34
0.727273
21
143
4.952381
0.52381
0.230769
0
0
0
0
0
0
0
0
0
0
0.153846
143
6
35
23.833333
0.859504
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
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