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
31c411f06ad582e4a0fa3fab2a675d3cd66653a8
88
py
Python
md_autogen/__init__.py
vfdev-5/markdown-apidocs
711c15e9cd93a2291501cc49e072786757d76386
[ "MIT" ]
null
null
null
md_autogen/__init__.py
vfdev-5/markdown-apidocs
711c15e9cd93a2291501cc49e072786757d76386
[ "MIT" ]
null
null
null
md_autogen/__init__.py
vfdev-5/markdown-apidocs
711c15e9cd93a2291501cc49e072786757d76386
[ "MIT" ]
null
null
null
from __future__ import absolute_import from .md_autogen import * __version__ = "0.5"
12.571429
38
0.772727
12
88
4.833333
0.75
0
0
0
0
0
0
0
0
0
0
0.027027
0.159091
88
6
39
14.666667
0.756757
0
0
0
1
0
0.034091
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
31eb67a6115f58b56d7f9e7ee853b1a3ec47352e
14,459
py
Python
test/wecall_acceptance/single_sample_diploid/test_quality_recalibration.py
dylex/wecall
35d24cefa4fba549e737cd99329ae1b17dd0156b
[ "MIT" ]
8
2018-10-08T15:47:21.000Z
2021-11-09T07:13:05.000Z
test/wecall_acceptance/single_sample_diploid/test_quality_recalibration.py
dylex/wecall
35d24cefa4fba549e737cd99329ae1b17dd0156b
[ "MIT" ]
4
2018-11-05T09:16:27.000Z
2020-04-09T12:32:56.000Z
test/wecall_acceptance/single_sample_diploid/test_quality_recalibration.py
dylex/wecall
35d24cefa4fba549e737cd99329ae1b17dd0156b
[ "MIT" ]
4
2019-09-03T15:46:39.000Z
2021-06-04T07:28:33.000Z
# All content Copyright (C) 2018 Genomics plc from unittest import expectedFailure from wecall_test_drivers.ascii_quality_recalibration_runner import AsciiQualityRecalibrationTest from wecall_test_drivers.ascii_wecall_runner import AsciiWecallRunnerTest class TestQualityRecalibrationDeletion(AsciiQualityRecalibratio...
65.722727
137
0.254859
504
14,459
6.861111
0.198413
0.036437
0.059861
0.067091
0.747831
0.710816
0.64546
0.614228
0.586466
0.562175
0
0.02575
0.298983
14,459
219
138
66.022831
0.31541
0.007054
0
0.631016
0
0
0.604878
0.455749
0
0
0
0
0.042781
1
0.069519
false
0
0.016043
0
0.112299
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
9eca174bbb96c3698dc1e23f38d14eee2c1a29a5
1,699
py
Python
Dragan_Dorin_Alexandru/api/app.py
RazvanBalau/parallel-2020
bd9c0dea6cc70e167320f64632d7a235522dfdb3
[ "MIT" ]
null
null
null
Dragan_Dorin_Alexandru/api/app.py
RazvanBalau/parallel-2020
bd9c0dea6cc70e167320f64632d7a235522dfdb3
[ "MIT" ]
null
null
null
Dragan_Dorin_Alexandru/api/app.py
RazvanBalau/parallel-2020
bd9c0dea6cc70e167320f64632d7a235522dfdb3
[ "MIT" ]
23
2020-01-15T15:02:39.000Z
2020-01-15T17:23:03.000Z
from flask import Flask from worker import celery import celery.states as states import csv import time app = Flask(__name__) def chunker_list(seq, size): return (seq[i::size] for i in range(size)) @app.route('/correct_addresses/<int:number_of_tasks>') def correct_addresses(number_of_tasks: int) -> str: data...
65.346154
966
0.637434
209
1,699
5.066986
0.22488
0.424929
0.566572
0.661001
0.519358
0.519358
0.519358
0.519358
0.519358
0.519358
0
0
0.130665
1,699
25
967
67.96
0.716994
0
0
0
0
0
0.383755
0.050618
0
0
0
0
0
1
0.142857
false
0
0.238095
0.047619
0.571429
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
1
0
0
4
9edebf441b9d33147c13ec2faedae7abbe689c00
96
py
Python
tests/test_intervalmap.py
marciogameiro/intervalmap
2ae87100dc3954a67e62d30f1f7882ea40a0e326
[ "MIT" ]
null
null
null
tests/test_intervalmap.py
marciogameiro/intervalmap
2ae87100dc3954a67e62d30f1f7882ea40a0e326
[ "MIT" ]
null
null
null
tests/test_intervalmap.py
marciogameiro/intervalmap
2ae87100dc3954a67e62d30f1f7882ea40a0e326
[ "MIT" ]
null
null
null
# test_intervalmap.py # Marcio Gameiro # 2021-01-05 # MIT LICENSE import intervalmap as intmap
13.714286
28
0.770833
14
96
5.214286
0.928571
0
0
0
0
0
0
0
0
0
0
0.098765
0.15625
96
6
29
16
0.802469
0.59375
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
4
730191f687faf0fb84d6fd6f958f9a55ee8c94ac
93
py
Python
src/sql_alchemy/02_final_svc5_data_auto_service/restful_auto_service/data/sqlalchemy_base.py
turing4ever/restful-services-in-pyramid
953d8415f37c0d3d0040f35f9b139f45339939bc
[ "MIT" ]
58
2017-02-16T18:17:00.000Z
2021-11-12T02:18:32.000Z
src/sql_alchemy/02_final_svc5_data_auto_service/restful_auto_service/data/sqlalchemy_base.py
imbi7py/restful-services-in-pyramid
8521dbdb186513f498752048699bc9379bba64f5
[ "MIT" ]
7
2017-08-31T00:37:28.000Z
2019-09-08T16:04:45.000Z
src/sql_alchemy/02_final_svc5_data_auto_service/restful_auto_service/data/sqlalchemy_base.py
imbi7py/restful-services-in-pyramid
8521dbdb186513f498752048699bc9379bba64f5
[ "MIT" ]
36
2017-08-24T19:53:32.000Z
2021-11-12T02:18:33.000Z
from sqlalchemy.ext.declarative import declarative_base SqlAlchemyBase = declarative_base()
23.25
55
0.860215
10
93
7.8
0.7
0.384615
0
0
0
0
0
0
0
0
0
0
0.086022
93
3
56
31
0.917647
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
731281ec640ebe7f98b3e4310429e5853297d28c
244
py
Python
rippl/legislature/admin.py
gnmerritt/dailyrippl
9a0f9615ba597a475dbd6305b589827cb2d97b03
[ "MIT" ]
6
2016-12-03T20:30:43.000Z
2017-01-10T01:50:09.000Z
rippl/legislature/admin.py
gnmerritt/dailyrippl
9a0f9615ba597a475dbd6305b589827cb2d97b03
[ "MIT" ]
24
2016-11-30T02:31:13.000Z
2020-02-25T22:47:27.000Z
rippl/legislature/admin.py
gnmerritt/dailyrippl
9a0f9615ba597a475dbd6305b589827cb2d97b03
[ "MIT" ]
1
2016-12-25T21:42:31.000Z
2016-12-25T21:42:31.000Z
from django.contrib import admin from . import models admin.site.register(models.State) admin.site.register(models.District) admin.site.register(models.Representative) admin.site.register(models.Term) admin.site.register(models.ContactInfo)
22.181818
42
0.82377
33
244
6.090909
0.393939
0.223881
0.422886
0.572139
0
0
0
0
0
0
0
0
0.065574
244
10
43
24.4
0.881579
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.285714
0
0.285714
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
1
0
0
0
0
0
0
4
733ac65472342a53c51bb203028ce20ee9757d52
3,537
py
Python
python/sparkdl/transformers/keras_applications.py
alonsoir/spark-deep-learning
3f668d9b4a0aa2ef6fe05df5bf5c1d705cd2530d
[ "Apache-2.0" ]
54
2017-10-12T04:42:18.000Z
2021-08-24T08:47:03.000Z
python/sparkdl/transformers/keras_applications.py
alonsoir/spark-deep-learning
3f668d9b4a0aa2ef6fe05df5bf5c1d705cd2530d
[ "Apache-2.0" ]
null
null
null
python/sparkdl/transformers/keras_applications.py
alonsoir/spark-deep-learning
3f668d9b4a0aa2ef6fe05df5bf5c1d705cd2530d
[ "Apache-2.0" ]
17
2017-10-12T07:34:10.000Z
2020-03-12T12:25:25.000Z
# Copyright 2017 Databricks, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
31.300885
91
0.685327
373
3,537
6.404826
0.404826
0.037673
0.036836
0.041859
0.255337
0.228548
0.123064
0.123064
0.123064
0.069485
0
0.009989
0.235793
3,537
112
92
31.580357
0.873844
0.195646
0
0.349206
0
0
0.040419
0
0
0
0
0
0
1
0.238095
false
0.063492
0.079365
0.126984
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4
733f51061eb2713e3c023fe22c3f5f6e897b10a9
213
py
Python
listener/normal/stats/urls.py
andymckay/arecibo
eb6787ea0a276047ef5add2df67a4dd051e5c961
[ "Apache-2.0" ]
6
2016-01-26T04:47:52.000Z
2022-01-24T19:55:04.000Z
listener/normal/stats/urls.py
andymckay/arecibo
eb6787ea0a276047ef5add2df67a4dd051e5c961
[ "Apache-2.0" ]
6
2017-02-12T05:11:25.000Z
2017-02-12T05:12:15.000Z
listener/normal/stats/urls.py
andymckay/arecibo
eb6787ea0a276047ef5add2df67a4dd051e5c961
[ "Apache-2.0" ]
2
2015-12-09T22:37:58.000Z
2021-09-09T17:04:33.000Z
from django.conf.urls.defaults import * urlpatterns = patterns('', url(r'^$', 'stats.views.stats_view', name="stats-view"), url(r'^view/(?P<key>[\w-]+)/$', 'stats.views.stats_view', name="stats-view"), )
30.428571
81
0.629108
30
213
4.4
0.566667
0.272727
0.227273
0.287879
0.484848
0.484848
0.484848
0
0
0
0
0
0.107981
213
6
82
35.5
0.694737
0
0
0
0
0
0.41784
0.314554
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
b43daadc65f2076c7fc8d0b65301e47cddc4b0e8
186
py
Python
argyle/tests/__init__.py
mlavin/argyle
92cc6e1dd9b8e7cb41c5098a79d05e14b8243d72
[ "BSD-2-Clause" ]
6
2015-11-05T08:53:00.000Z
2020-03-11T14:27:00.000Z
argyle/tests/__init__.py
mlavin/argyle
92cc6e1dd9b8e7cb41c5098a79d05e14b8243d72
[ "BSD-2-Clause" ]
1
2017-12-18T07:50:47.000Z
2017-12-18T07:50:47.000Z
argyle/tests/__init__.py
mlavin/argyle
92cc6e1dd9b8e7cb41c5098a79d05e14b8243d72
[ "BSD-2-Clause" ]
null
null
null
import os from .utils import unittest def main(): suite = unittest.loader.defaultTestLoader.discover(os.path.dirname(__file__)) unittest.TextTestRunner(verbosity=2).run(suite)
23.25
81
0.768817
23
186
6.043478
0.782609
0
0
0
0
0
0
0
0
0
0
0.006098
0.11828
186
7
82
26.571429
0.841463
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
b44bc64c35e9214f1257cb65b012e32cd37b0036
51,098
py
Python
tests/_andre/test_perf.py
mehdisadeghi/saga-python
19950ec1a4a0409b3c102eb60fc18ec91d578ca6
[ "MIT" ]
null
null
null
tests/_andre/test_perf.py
mehdisadeghi/saga-python
19950ec1a4a0409b3c102eb60fc18ec91d578ca6
[ "MIT" ]
null
null
null
tests/_andre/test_perf.py
mehdisadeghi/saga-python
19950ec1a4a0409b3c102eb60fc18ec91d578ca6
[ "MIT" ]
null
null
null
__author__ = "Andre Merzky" __copyright__ = "Copyright 2012-2013, The SAGA Project" __license__ = "MIT" # import gc import os import sys import time import saga import pprint import cProfile import subprocess import threading def create_service (url, services) : service = saga.job.Service (url) # pri...
49.465634
93
0.525461
6,814
51,098
3.93484
0.019665
0.14046
0.17164
0.221916
0.826235
0.662614
0.655975
0.258466
0.049083
0.047106
0
0.085463
0.16304
51,098
1,032
94
49.513566
0.541469
0.908959
0
0.263889
0
0
0.178629
0.128548
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.069444
0
0
0
null
0
0
1
1
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
1
0
0
0
0
0
0
0
0
4
b45cbc2310b2fe5212db3beb0e669c9f10d913b3
60
py
Python
Lesson_5/Plays/lets_to_play.py
Mike030668/Python--learning--UII
4b0a3fe32b1bb4e6f98130aab09b3ab55eca2df4
[ "Apache-2.0" ]
null
null
null
Lesson_5/Plays/lets_to_play.py
Mike030668/Python--learning--UII
4b0a3fe32b1bb4e6f98130aab09b3ab55eca2df4
[ "Apache-2.0" ]
null
null
null
Lesson_5/Plays/lets_to_play.py
Mike030668/Python--learning--UII
4b0a3fe32b1bb4e6f98130aab09b3ab55eca2df4
[ "Apache-2.0" ]
null
null
null
from Lesson_5.Plays import victorina victorina.start_play()
20
36
0.85
9
60
5.444444
0.888889
0
0
0
0
0
0
0
0
0
0
0.018182
0.083333
60
3
37
20
0.872727
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
b486b3ec9fdd13c49a29c9a48bd55d3a962a9108
1,204
py
Python
src/SpiderPi/HiwonderSDK/BuzzerControlDemo.py
peteh/spiderpi
19c4e254979a756acb641b67e944568c7c79520c
[ "MIT" ]
null
null
null
src/SpiderPi/HiwonderSDK/BuzzerControlDemo.py
peteh/spiderpi
19c4e254979a756acb641b67e944568c7c79520c
[ "MIT" ]
null
null
null
src/SpiderPi/HiwonderSDK/BuzzerControlDemo.py
peteh/spiderpi
19c4e254979a756acb641b67e944568c7c79520c
[ "MIT" ]
null
null
null
import time import Board print(''' ********************************************************** ********Function:Hiwonder SpiderPi expansion board, serial servo control routine,buzzer control routine********* ********************************************************** -----------------------------------------------------...
33.444444
112
0.446013
117
1,204
4.589744
0.641026
0.130354
0.083799
0.074488
0
0
0
0
0
0
0
0.019248
0.093854
1,204
35
113
34.4
0.472961
0.023256
0
0.433333
0
0.033333
0.833333
0.417949
0
0
0
0
0
1
0
true
0
0.066667
0
0.066667
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
b488066a0925814a00202a70c47ee90f52971945
135
py
Python
backend/src/applications/user/get_user_request.py
Seina88/attendance-system
afa7ba64c7fd99623a1c5dd3b09151ade759d715
[ "MIT" ]
2
2021-05-12T14:09:44.000Z
2021-06-19T12:38:33.000Z
backend/src/applications/user/get_user_request.py
Seina88/attendance-system
afa7ba64c7fd99623a1c5dd3b09151ade759d715
[ "MIT" ]
10
2021-05-13T12:09:47.000Z
2021-06-07T13:28:17.000Z
backend/src/applications/user/get_user_request.py
Seina88/attendance-system
afa7ba64c7fd99623a1c5dd3b09151ade759d715
[ "MIT" ]
1
2021-06-17T00:54:04.000Z
2021-06-17T00:54:04.000Z
class GetUserRequest: def __init__(self, id: str, api_token: str) -> None: self.id = id self.api_token = api_token
27
56
0.62963
19
135
4.105263
0.526316
0.307692
0
0
0
0
0
0
0
0
0
0
0.266667
135
4
57
33.75
0.787879
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
81f6bc873588c44cb452c2efc36feed33e7dba7b
2,102
py
Python
pacu/models/awsapi/ec2-instance-connect.py
RyanJarv/Pacu2
27df4bcf296fc8f467d3dc671a47bf9519ce7a24
[ "MIT" ]
1
2022-03-09T14:51:54.000Z
2022-03-09T14:51:54.000Z
pacu/models/awsapi/ec2-instance-connect.py
RyanJarv/Pacu2
27df4bcf296fc8f467d3dc671a47bf9519ce7a24
[ "MIT" ]
null
null
null
pacu/models/awsapi/ec2-instance-connect.py
RyanJarv/Pacu2
27df4bcf296fc8f467d3dc671a47bf9519ce7a24
[ "MIT" ]
null
null
null
# generated by datamodel-codegen: # filename: openapi.yaml # timestamp: 2021-12-31T02:48:35+00:00 from __future__ import annotations from typing import Annotated, Any, Optional from pydantic import BaseModel, Field class AuthException(BaseModel): __root__: Any class InvalidArgsException(AuthException): ...
20.019048
88
0.725975
204
2,102
7.25
0.377451
0.054767
0.118999
0.067613
0.127789
0.127789
0.127789
0.10142
0.10142
0.10142
0
0.029868
0.171741
2,102
104
89
20.211538
0.819644
0.045671
0
0.258621
1
0.017241
0.043956
0.037463
0
0
0
0
0
1
0
true
0.155172
0.051724
0
0.689655
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
1
0
0
4
5ee34ca0f9dd76add60d238d407a47dadcff64cf
185
py
Python
run.py
ASHWINISINHA/pi-oled-intelligent-clock
1452079bdd9c152eac6a20722de5601fb455dc78
[ "MIT" ]
null
null
null
run.py
ASHWINISINHA/pi-oled-intelligent-clock
1452079bdd9c152eac6a20722de5601fb455dc78
[ "MIT" ]
null
null
null
run.py
ASHWINISINHA/pi-oled-intelligent-clock
1452079bdd9c152eac6a20722de5601fb455dc78
[ "MIT" ]
null
null
null
import subprocess from time import sleep y=(0.1) subprocess.Popen(["python", 'rd1.py']) sleep(y) subprocess.Popen(["python", 'rs1.py']) sleep(y) subprocess.Popen(["python", 'rl1.py'])
18.5
38
0.691892
28
185
4.571429
0.5
0.140625
0.492188
0.28125
0.453125
0.453125
0
0
0
0
0
0.029586
0.086486
185
9
39
20.555556
0.727811
0
0
0.25
0
0
0.194595
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
5eeaa0320e60e8cb1e770189fadf3c208691cdae
174
py
Python
Compete/Class of Code/Reverse Mode/reverse1.py
H2u-Hwng/CodinGame
cbef4000b30b25475dfbf002f575d62ac6a61ce1
[ "MIT" ]
null
null
null
Compete/Class of Code/Reverse Mode/reverse1.py
H2u-Hwng/CodinGame
cbef4000b30b25475dfbf002f575d62ac6a61ce1
[ "MIT" ]
null
null
null
Compete/Class of Code/Reverse Mode/reverse1.py
H2u-Hwng/CodinGame
cbef4000b30b25475dfbf002f575d62ac6a61ce1
[ "MIT" ]
null
null
null
drink = input() straw = int(input()) if straw == 1: print('____|____') else: print('_________') print('\\ /') print(' \\ ' + drink + ' /') print(' \\___/')
15.818182
30
0.488506
15
174
4.333333
0.533333
0.307692
0
0
0
0
0
0
0
0
0
0.007634
0.247126
174
10
31
17.4
0.48855
0
0
0
0
0
0.252874
0
0
0
0
0
0
1
0
false
0
0
0
0
0.555556
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
6f2f7c4e8d8fb33a0c93291ce64b2977ac6d5cc9
196
py
Python
minigest/contabilita/urls/bilancio.py
ctrlmaniac/minigest
2bfceb57e41c872e4112e24d0e6991164846888b
[ "MIT" ]
null
null
null
minigest/contabilita/urls/bilancio.py
ctrlmaniac/minigest
2bfceb57e41c872e4112e24d0e6991164846888b
[ "MIT" ]
1
2021-09-22T19:10:20.000Z
2021-09-22T19:10:20.000Z
minigest/contabilita/urls/bilancio.py
ctrlmaniac/minigest
2bfceb57e41c872e4112e24d0e6991164846888b
[ "MIT" ]
null
null
null
from django.urls import path from ..views import BilancioView urlpatterns = [ path("<int:azienda>/", BilancioView.as_view()), path("<int:azienda>/<periodo>/", BilancioView.as_view()), ]
21.777778
61
0.688776
23
196
5.782609
0.565217
0.105263
0.210526
0
0
0
0
0
0
0
0
0
0.132653
196
8
62
24.5
0.782353
0
0
0
0
0
0.193878
0.122449
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
6f3235501d00dede1c66cda9ae6fab069df84e56
277
py
Python
vsparsedvd/utils/utils.py
Setsugennoao/vs-parsedvd
fe89ff51b85758dca32e73b3c884acfccf583451
[ "MIT" ]
2
2021-12-06T05:48:14.000Z
2022-02-10T09:17:18.000Z
vsparsedvd/utils/utils.py
Setsugennoao/vs-parsedvd
fe89ff51b85758dca32e73b3c884acfccf583451
[ "MIT" ]
null
null
null
vsparsedvd/utils/utils.py
Setsugennoao/vs-parsedvd
fe89ff51b85758dca32e73b3c884acfccf583451
[ "MIT" ]
null
null
null
from __future__ import annotations from typing import Sequence def opt_int(val: str | int | None) -> int | None: return int(val) if val is not None else None def opt_ints(vals: Sequence[str | int | None]) -> Sequence[int | None]: return [opt_int(x) for x in vals]
23.083333
71
0.689531
46
277
4
0.478261
0.152174
0.108696
0
0
0
0
0
0
0
0
0
0.209386
277
11
72
25.181818
0.840183
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
4
6f6fccf217ecb38f32e0056202da74b90bfbc6e0
683
py
Python
ipymd/formats/tests/test_utils.py
nathanfdunn/ipymd
cca5f98e34a024396e21ab7a3f322bbe2e3f37d1
[ "BSD-3-Clause" ]
521
2015-01-01T09:22:05.000Z
2022-02-06T23:54:10.000Z
ipymd/formats/tests/test_utils.py
nathanfdunn/ipymd
cca5f98e34a024396e21ab7a3f322bbe2e3f37d1
[ "BSD-3-Clause" ]
79
2015-01-04T21:17:29.000Z
2018-08-28T16:39:21.000Z
ipymd/formats/tests/test_utils.py
nathanfdunn/ipymd
cca5f98e34a024396e21ab7a3f322bbe2e3f37d1
[ "BSD-3-Clause" ]
56
2015-03-01T08:48:26.000Z
2022-01-29T03:11:13.000Z
# -*- coding: utf-8 -*- """Test utils.""" #------------------------------------------------------------------------------ # Imports #------------------------------------------------------------------------------ import os.path as op from ._utils import _test_file_path, _exec_test_file #----------------------------...
27.32
79
0.373353
51
683
4.647059
0.45098
0.202532
0.151899
0.168776
0
0
0
0
0
0
0
0.004862
0.096633
683
24
80
28.458333
0.379254
0.549048
0
0.25
0
0
0.047297
0
0
0
0
0
0.25
1
0.25
false
0
0.25
0
0.5
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
6f7775072bcc1c947a80de9ca39c577d0a29f71e
224
py
Python
workalendar/usa/new_jersey.py
taiyeoguns/workalendar
35ef15b0fe166ab2e73e419c83ad45738a62ac8d
[ "MIT" ]
405
2017-11-21T14:33:58.000Z
2021-06-03T01:58:55.000Z
workalendar/usa/new_jersey.py
taiyeoguns/workalendar
35ef15b0fe166ab2e73e419c83ad45738a62ac8d
[ "MIT" ]
236
2017-11-20T16:11:50.000Z
2021-05-28T08:02:53.000Z
workalendar/usa/new_jersey.py
taiyeoguns/workalendar
35ef15b0fe166ab2e73e419c83ad45738a62ac8d
[ "MIT" ]
126
2017-12-12T14:04:25.000Z
2021-05-29T14:27:11.000Z
from ..registry_tools import iso_register from .core import UnitedStates @iso_register('US-NJ') class NewJersey(UnitedStates): """New Jersey""" include_good_friday = True include_election_day_every_year = True
22.4
42
0.763393
29
224
5.586207
0.758621
0.135802
0
0
0
0
0
0
0
0
0
0
0.147321
224
9
43
24.888889
0.848168
0.044643
0
0
0
0
0.024038
0
0
0
0
0
0
1
0
false
0
0.333333
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
1
0
1
0
0
4
48b04817aba5557350700788058f6de5ce4b787d
29,778
py
Python
pytests/test_cphd_consistency.py
pressler-vsc/sarpy
fa6c951c42b9a7d9df2edfa53c771494cb0246fb
[ "MIT" ]
null
null
null
pytests/test_cphd_consistency.py
pressler-vsc/sarpy
fa6c951c42b9a7d9df2edfa53c771494cb0246fb
[ "MIT" ]
null
null
null
pytests/test_cphd_consistency.py
pressler-vsc/sarpy
fa6c951c42b9a7d9df2edfa53c771494cb0246fb
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright 2020-2021 Valkyrie Systems Corporation # # Licensed under MIT License. See LICENSE. # import copy import os import re import shutil import tempfile from lxml import etree import numpy as np import pytest from sarpy.consistency import cphd_consistency from sarpy.io.phase_history...
45.741935
115
0.597119
3,585
29,778
4.705439
0.076709
0.069299
0.087498
0.099591
0.792815
0.759974
0.741478
0.717826
0.69684
0.67467
0
0.011525
0.25989
29,778
650
116
45.812308
0.753891
0.031433
0
0.607884
0
0
0.131682
0.055401
0
0
0
0
0.064315
1
0.080913
false
0
0.020747
0.002075
0.126556
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
48c7b95e25db83b298727eceeb0bb5aecb735fac
16,616
py
Python
venv/Lib/site-packages/Cryptodome/SelfTest/Cipher/test_Salsa20.py
JagahOrg/Voting
893fbbda0584c63ac5b86328fffb44744a0e1239
[ "Apache-2.0" ]
4
2021-07-12T16:37:36.000Z
2021-08-06T09:42:37.000Z
venv/Lib/site-packages/Cryptodome/SelfTest/Cipher/test_Salsa20.py
JagahOrg/Voting
893fbbda0584c63ac5b86328fffb44744a0e1239
[ "Apache-2.0" ]
20
2021-05-03T18:02:23.000Z
2022-03-12T12:01:04.000Z
Lib/site-packages/Cryptodome/SelfTest/Cipher/test_Salsa20.py
fochoao/cpython
3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9
[ "bzip2-1.0.6", "0BSD" ]
2
2021-03-16T12:41:29.000Z
2021-03-16T14:50:08.000Z
# -*- coding: utf-8 -*- # # SelfTest/Cipher/Salsa20.py: Self-test for the Salsa20 stream cipher # # Written in 2013 by Fabrizio Tarizzo <fabrizio@fabriziotarizzo.org> # # =================================================================== # The contents of this file are dedicated to the public domain. To # the extent...
45.152174
113
0.768897
1,028
16,616
12.358949
0.339494
0.015742
0.018418
0.01889
0.175049
0.160882
0.152853
0.147501
0.126013
0.094687
0
0.399575
0.150518
16,616
367
114
45.275204
0.500531
0.093885
0
0.243446
0
0
0.584955
0.565032
0
1
0
0.002725
0.078652
1
0.026217
false
0
0.022472
0
0.071161
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
4
48e039205b6042c1203a6f6039adda6bce80c257
278
py
Python
milkviz/utils/__init__.py
Mr-Milk/milkviz
f2ebef805776301ddfe2ea1c778f9dbdd8edb420
[ "MIT" ]
null
null
null
milkviz/utils/__init__.py
Mr-Milk/milkviz
f2ebef805776301ddfe2ea1c778f9dbdd8edb420
[ "MIT" ]
4
2021-09-17T10:56:25.000Z
2022-03-19T09:17:02.000Z
milkviz/utils/__init__.py
Mr-Milk/milkviz
f2ebef805776301ddfe2ea1c778f9dbdd8edb420
[ "MIT" ]
null
null
null
from .doc import doc from .fig import adaptive_figsize, norm_arr, set_cbar, set_size_legend, set_category_legend, \ set_ticks, set_spines, color_mapper_cat, color_mapper_val, mask_triu, get_cmap_colors, create_cmap, get_render_size from .geo import rotate_points, normalize
55.6
119
0.830935
45
278
4.688889
0.666667
0.085308
0
0
0
0
0
0
0
0
0
0
0.107914
278
4
120
69.5
0.850806
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.75
0
0.75
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
1
0
0
4
48e9d3da231af6fee11d152800a73020aaa605cb
156
py
Python
page278-c/question-1.py
CodyAaTherf/Grade9-ComputerSolutions-Python
828648269a079e4b187ef9cdbd3c14262962d9d2
[ "MIT" ]
null
null
null
page278-c/question-1.py
CodyAaTherf/Grade9-ComputerSolutions-Python
828648269a079e4b187ef9cdbd3c14262962d9d2
[ "MIT" ]
null
null
null
page278-c/question-1.py
CodyAaTherf/Grade9-ComputerSolutions-Python
828648269a079e4b187ef9cdbd3c14262962d9d2
[ "MIT" ]
null
null
null
x = float(input("Enter first number: ")) y = float(input("Enter second number: ")) q = x + y r = x - y print(f"{x} + {y} = {q}") print(f"{x} - {y} = {r}")
19.5
41
0.50641
28
156
2.821429
0.428571
0.101266
0.379747
0.202532
0
0
0
0
0
0
0
0
0.211538
156
8
42
19.5
0.642276
0
0
0
0
0
0.452229
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
48f5360c26913d9d95e28ea8fefe16b18bea0fb0
27
py
Python
muser/muser/__init__.py
briankim-pitt/muser
55be568ff58c40517f53f555da59f1acdad57ae3
[ "MIT" ]
1
2021-10-01T02:35:22.000Z
2021-10-01T02:35:22.000Z
muser/muser/__init__.py
briankim-pitt/muser
55be568ff58c40517f53f555da59f1acdad57ae3
[ "MIT" ]
null
null
null
muser/muser/__init__.py
briankim-pitt/muser
55be568ff58c40517f53f555da59f1acdad57ae3
[ "MIT" ]
null
null
null
""" Package for muser. """
6.75
18
0.555556
3
27
5
1
0
0
0
0
0
0
0
0
0
0
0
0.185185
27
3
19
9
0.681818
0.666667
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
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
4
48ff59ae8aaec2febd81a3a4cfa7a9cb57a188c0
327
py
Python
src/utils/io.py
yasamangs/Anonymous-Telegram-bot
dfcc9115403ed85dab6c4b651fb12824a3e11376
[ "MIT" ]
null
null
null
src/utils/io.py
yasamangs/Anonymous-Telegram-bot
dfcc9115403ed85dab6c4b651fb12824a3e11376
[ "MIT" ]
null
null
null
src/utils/io.py
yasamangs/Anonymous-Telegram-bot
dfcc9115403ed85dab6c4b651fb12824a3e11376
[ "MIT" ]
null
null
null
import json def read_json_file(file_path): with open(file_path, 'r') as f: json.load(f) def write_json_file(data, file_path, indent=4): with open(file_path, 'a') as f: json.dump(data, f, indent=indent) def write_file(data, file_path): with open(file_path, 'w') as f: f.write(data...
19.235294
47
0.633028
56
327
3.5
0.339286
0.244898
0.183673
0.244898
0.244898
0.244898
0
0
0
0
0
0.004
0.235474
327
16
48
20.4375
0.78
0
0
0
0
0
0.009174
0
0
0
0
0
0
1
0.3
false
0
0.1
0
0.4
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
5b197ba86dff41ae0a9405f0648bcf80eebce69e
320
py
Python
qaseio/src/qaseio/client/models/__init__.py
aleksandr-kotlyar/qase-python
3e6916eb4bf3518651e0a8e2e62281bfe0bfa464
[ "Apache-2.0" ]
null
null
null
qaseio/src/qaseio/client/models/__init__.py
aleksandr-kotlyar/qase-python
3e6916eb4bf3518651e0a8e2e62281bfe0bfa464
[ "Apache-2.0" ]
null
null
null
qaseio/src/qaseio/client/models/__init__.py
aleksandr-kotlyar/qase-python
3e6916eb4bf3518651e0a8e2e62281bfe0bfa464
[ "Apache-2.0" ]
null
null
null
# flake8: noqa from .attachments import * from .base import * from .cases import * from .custom_fields import * from .defects import * from .milestones import * from .plans import * from .projects import * from .results import * from .runs import * from .shared_steps import * from .suites import * from .users import *
21.333333
28
0.740625
43
320
5.465116
0.44186
0.510638
0
0
0
0
0
0
0
0
0
0.003774
0.171875
320
14
29
22.857143
0.883019
0.0375
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
5b1a14142cca0e0c2c2f0b27bf6b99e5490d946d
5,197
gyp
Python
third_party/css_parser/css_parser.gyp
PeterDaveHello/incubator-pagespeed-mod
885f4653e204e1152cb3928f0755d93ec5fdceae
[ "Apache-2.0" ]
2
2019-11-02T07:54:17.000Z
2020-04-16T09:26:51.000Z
third_party/css_parser/css_parser.gyp
PeterDaveHello/incubator-pagespeed-mod
885f4653e204e1152cb3928f0755d93ec5fdceae
[ "Apache-2.0" ]
12
2017-03-14T18:26:11.000Z
2021-10-01T15:33:50.000Z
third_party/css_parser/css_parser.gyp
PeterDaveHello/incubator-pagespeed-mod
885f4653e204e1152cb3928f0755d93ec5fdceae
[ "Apache-2.0" ]
1
2020-04-16T09:28:30.000Z
2020-04-16T09:28:30.000Z
# Copyright 2009 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
37.121429
79
0.620165
628
5,197
4.882166
0.278662
0.161448
0.207763
0.123288
0.573386
0.558382
0.431507
0.169276
0.169276
0.113503
0
0.002922
0.209736
5,197
139
80
37.388489
0.743608
0.210506
0
0.392523
0
0
0.672718
0.552012
0
0
0
0
0
1
0
true
0
0
0
0
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
1
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
5b1d1d0d618a7cef45f8eb019e394a33d379e8c4
687
py
Python
neurokit2/ecg/__init__.py
TiagoTostas/NeuroKit
664350463fc1c03eb81f0bba37296762be7c81ae
[ "MIT" ]
1
2020-05-26T09:46:57.000Z
2020-05-26T09:46:57.000Z
neurokit2/ecg/__init__.py
TiagoTostas/NeuroKit
664350463fc1c03eb81f0bba37296762be7c81ae
[ "MIT" ]
null
null
null
neurokit2/ecg/__init__.py
TiagoTostas/NeuroKit
664350463fc1c03eb81f0bba37296762be7c81ae
[ "MIT" ]
1
2020-10-27T06:47:51.000Z
2020-10-27T06:47:51.000Z
"""Submodule for NeuroKit.""" from .ecg_simulate import ecg_simulate from .ecg_clean import ecg_clean from .ecg_findpeaks import ecg_findpeaks from .ecg_fixpeaks import ecg_fixpeaks from .ecg_peaks import ecg_peaks from .ecg_rate import ecg_rate from .ecg_segment import ecg_segment from .ecg_process import ecg_process...
32.714286
52
0.852984
111
687
4.954955
0.216216
0.229091
0
0
0
0
0
0
0
0
0
0
0.110626
687
20
53
34.35
0.900164
0.033479
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
d29ec8bb169267d50e52ac323768bca2dbf55690
3,658
py
Python
dev_nb/nb_002b.py
lesscomfortable/fastai_v1
bbc5c37329cf45f59bd2daaa2f56723cb7565643
[ "Apache-2.0" ]
1
2018-10-23T20:45:41.000Z
2018-10-23T20:45:41.000Z
dev_nb/nb_002b.py
lesscomfortable/fastai_v1
bbc5c37329cf45f59bd2daaa2f56723cb7565643
[ "Apache-2.0" ]
null
null
null
dev_nb/nb_002b.py
lesscomfortable/fastai_v1
bbc5c37329cf45f59bd2daaa2f56723cb7565643
[ "Apache-2.0" ]
null
null
null
################################################# ### THIS FILE WAS AUTOGENERATED! DO NOT EDIT! ### ################################################# from nb_002 import * import typing from typing import Dict, Any, AnyStr, List, Sequence, TypeVar, Tuple, Optional, Union def normalize(x, mean...
38.914894
113
0.639967
527
3,658
4.263757
0.233397
0.021807
0.031153
0.018692
0.155763
0
0
0
0
0
0
0.012003
0.202843
3,658
94
114
38.914894
0.758573
0.011208
0
0.098592
1
0
0
0
0
0
0
0
0
1
0.267606
false
0
0.042254
0.15493
0.521127
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
1
0
0
4
d2ff39f2333f671356abe0fb9bfa6f02265efda9
18,507
py
Python
vseq/modules/hmlstm.py
JakobHavtorn/vseq
bdd0258738b5f43d6f0f6c3df4b8b270f06d0aea
[ "MIT" ]
7
2021-03-25T12:33:53.000Z
2022-03-23T13:10:31.000Z
vseq/modules/hmlstm.py
JakobHavtorn/vseq
bdd0258738b5f43d6f0f6c3df4b8b270f06d0aea
[ "MIT" ]
null
null
null
vseq/modules/hmlstm.py
JakobHavtorn/vseq
bdd0258738b5f43d6f0f6c3df4b8b270f06d0aea
[ "MIT" ]
null
null
null
from typing import List, Optional, Union, Tuple import math import torch import torch.nn as nn from torch import sigmoid, tanh from torch.nn import Parameter from torchtyping import TensorType from vseq.modules.straight_through import BernoulliSTE, BinaryThresholdSTE def hard_sigmoid(x, slope: float = 1): tem...
39.044304
119
0.573026
2,651
18,507
3.834025
0.108638
0.032468
0.022039
0.018103
0.77804
0.757576
0.748131
0.72137
0.696183
0.670504
0
0.017793
0.295456
18,507
473
120
39.12685
0.761715
0.261739
0
0.554007
0
0.013937
0.062201
0.018444
0
0
0
0
0.003484
1
0.041812
false
0
0.034843
0.006969
0.111498
0.010453
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
826aafa7cf07e63c0a0fd1c82f2280ac3515e8bc
100
py
Python
flask_app/common/__init__.py
Jarrettluo/flask-restful-quick-start
50b923baa80e769f07a89fba71745d9333cf9e88
[ "MIT" ]
6
2021-11-15T04:39:41.000Z
2022-03-03T09:59:24.000Z
flask_app/common/__init__.py
Jarrettluo/flask-restful-quick-start
50b923baa80e769f07a89fba71745d9333cf9e88
[ "MIT" ]
null
null
null
flask_app/common/__init__.py
Jarrettluo/flask-restful-quick-start
50b923baa80e769f07a89fba71745d9333cf9e88
[ "MIT" ]
null
null
null
# encoding: utf-8 """ @version: 1.0 @author: Jarrett @file: __init__.py @time: 2021/11/10 15:50 """
12.5
23
0.64
17
100
3.529412
1
0
0
0
0
0
0
0
0
0
0
0.174419
0.14
100
7
24
14.285714
0.523256
0.9
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
8273790a5ce59a9fcfc206bec5e557c7014c8ce0
3,940
py
Python
tests/charts-out/test_graphics_charts_piecharts_sample2.py
debragail/reportlab-mirror
1e5814e1313ed50d5abb65487b207711cb4f7595
[ "BSD-3-Clause" ]
1
2020-05-21T23:34:55.000Z
2020-05-21T23:34:55.000Z
tests/charts-out/test_graphics_charts_piecharts_sample2.py
debragail/reportlab-mirror
1e5814e1313ed50d5abb65487b207711cb4f7595
[ "BSD-3-Clause" ]
null
null
null
tests/charts-out/test_graphics_charts_piecharts_sample2.py
debragail/reportlab-mirror
1e5814e1313ed50d5abb65487b207711cb4f7595
[ "BSD-3-Clause" ]
null
null
null
#Autogenerated by ReportLab guiedit do not edit from reportlab.graphics.shapes import _DrawingEditorMixin, Drawing, Group, Wedge, String from reportlab.lib.colors import Color, CMYKColor, PCMYKColor class ExplodedDrawing_Drawing(_DrawingEditorMixin,Drawing): def __init__(self,width=400,height=200,*args,**kw): Drawi...
127.096774
263
0.784264
609
3,940
5.041051
0.239737
0.024756
0.018567
0.046906
0.762215
0.762215
0.653094
0.653094
0.653094
0.653094
0
0.153746
0.024365
3,940
30
264
131.333333
0.644901
0.014213
0
0
1
0
0.044822
0
0
0
0
0
0
1
0.038462
false
0
0.076923
0
0.153846
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
8277c5f90252eb63190632587c07ff681043bb78
4,151
py
Python
python/src/drop_one_align_feature.py
antlr/groom
909c04b386c6d384344cd0d060dd1e3b4bde77a2
[ "BSD-2-Clause" ]
408
2016-04-21T09:40:08.000Z
2022-03-22T02:05:29.000Z
python/src/drop_one_align_feature.py
antlr/groom
909c04b386c6d384344cd0d060dd1e3b4bde77a2
[ "BSD-2-Clause" ]
25
2016-01-24T17:28:49.000Z
2021-05-05T19:17:55.000Z
python/src/drop_one_align_feature.py
antlr/groom
909c04b386c6d384344cd0d060dd1e3b4bde77a2
[ "BSD-2-Clause" ]
78
2016-02-14T07:22:21.000Z
2022-02-10T08:23:12.000Z
# # AUTO-GENERATED FILE. DO NOT EDIT # CodeBuff 1.4.13 'Fri May 13 12:46:16 PDT 2016' # import matplotlib.pyplot as plt fig = plt.figure() ax = plt.subplot(111) N = 19 featureIndexes = range(0,N) java = [0.0, 0.0, 0.0, 0.042016808, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0] ax.plot(feat...
115.305556
2,245
0.668755
730
4,151
3.791781
0.173973
0.075867
0.107298
0.134393
0.666546
0.643786
0.643786
0.611633
0.611633
0.611633
0
0.184354
0.119248
4,151
35
2,246
118.6
0.572757
0.019032
0
0
1
0
0.476764
0.008114
0
0
0
0
0
1
0
false
0
0.035714
0
0.035714
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
827f584a8724a0574ee052fa46cdf97997fceb51
231
py
Python
intro/part03-31_print_many_times/src/print_many_times.py
Hannah-Abi/python-pro-21
2ce32c4bf118054329d19afdf83c50561be1ada8
[ "MIT" ]
null
null
null
intro/part03-31_print_many_times/src/print_many_times.py
Hannah-Abi/python-pro-21
2ce32c4bf118054329d19afdf83c50561be1ada8
[ "MIT" ]
null
null
null
intro/part03-31_print_many_times/src/print_many_times.py
Hannah-Abi/python-pro-21
2ce32c4bf118054329d19afdf83c50561be1ada8
[ "MIT" ]
null
null
null
# Write your solution here def print_many_times(text, times): print((text + "\n") * int(times) ) # You can test your function by calling it within the following block if __name__ == "__main__": print_many_times("python", 5)
38.5
69
0.709957
35
231
4.342857
0.771429
0.118421
0.184211
0
0
0
0
0
0
0
0
0.005236
0.17316
231
6
70
38.5
0.790576
0.398268
0
0
0
0
0.116788
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
0.75
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
1
0
0
0
0
0
1
0
4
82c6a6219f1368afbca59065c9a922bdbd956dea
205
py
Python
text/_cascade/block_format_context.py
jedhsu/text
8525b602d304ac571a629104c48703443244545c
[ "Apache-2.0" ]
null
null
null
text/_cascade/block_format_context.py
jedhsu/text
8525b602d304ac571a629104c48703443244545c
[ "Apache-2.0" ]
null
null
null
text/_cascade/block_format_context.py
jedhsu/text
8525b602d304ac571a629104c48703443244545c
[ "Apache-2.0" ]
null
null
null
# [TODO] place more preicsely from dataclasses import dataclass @dataclass class Overflow: anchor: type block: type clip_margin: type inline: type wrap: type x: type y: type
13.666667
33
0.663415
26
205
5.192308
0.730769
0
0
0
0
0
0
0
0
0
0
0
0.278049
205
14
34
14.642857
0.912162
0.131707
0
0
0
0
0
0
0
0
0
0.071429
0
1
0
true
0
0.1
0
0.9
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
0
0
1
0
0
4
82d49e9b4bbcb41faa8653654b49687ef26ae5f2
113
py
Python
src/config.py
jowtro/jx-flask-temp1
4d3d998469658c884ba706316381ac59628cfc5c
[ "MIT" ]
null
null
null
src/config.py
jowtro/jx-flask-temp1
4d3d998469658c884ba706316381ac59628cfc5c
[ "MIT" ]
null
null
null
src/config.py
jowtro/jx-flask-temp1
4d3d998469658c884ba706316381ac59628cfc5c
[ "MIT" ]
null
null
null
import os from dotenv import load_dotenv # load env vars from .env load_dotenv() TEST = os.getenv("test_var")
12.555556
30
0.743363
19
113
4.263158
0.526316
0.246914
0
0
0
0
0
0
0
0
0
0
0.168142
113
8
31
14.125
0.861702
0.20354
0
0
0
0
0.090909
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
1
0
0
0
0
4
7d5eb8d8bd72a42336471a51607777e70d6b8a0c
135
py
Python
django_misaka/apps.py
chiehtu/django-misaka
943404ae68b5c70af1915b33693dbb7d891a3906
[ "MIT" ]
3
2015-03-09T22:37:18.000Z
2017-10-18T19:27:35.000Z
django_misaka/apps.py
chiehtu/django-misaka
943404ae68b5c70af1915b33693dbb7d891a3906
[ "MIT" ]
8
2017-02-10T01:35:31.000Z
2022-01-07T10:06:17.000Z
django_misaka/apps.py
chiehtu/django-misaka
943404ae68b5c70af1915b33693dbb7d891a3906
[ "MIT" ]
2
2017-01-26T23:02:55.000Z
2019-09-25T13:36:28.000Z
from django.apps import AppConfig class DjangoMisakaConfig(AppConfig): name = 'django_misaka' verbose_name = 'Django Misaka'
19.285714
36
0.755556
15
135
6.666667
0.666667
0.2
0.32
0
0
0
0
0
0
0
0
0
0.17037
135
6
37
22.5
0.892857
0
0
0
0
0
0.192593
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
7d67765f1fa1c229aef2a0cdf1a0c0f69960f80f
132
py
Python
djangosige/apps/cadastro/apps.py
limeiragabriel/sige
c7c1728aee1ed134cab1841db945223234e9a40e
[ "MIT" ]
330
2017-07-03T08:41:24.000Z
2022-03-31T04:34:17.000Z
djangosige/apps/cadastro/apps.py
limeiragabriel/sige
c7c1728aee1ed134cab1841db945223234e9a40e
[ "MIT" ]
107
2017-07-03T22:21:35.000Z
2022-03-30T08:10:24.000Z
djangosige/apps/cadastro/apps.py
limeiragabriel/sige
c7c1728aee1ed134cab1841db945223234e9a40e
[ "MIT" ]
258
2017-06-27T20:11:46.000Z
2022-03-20T21:46:34.000Z
from __future__ import unicode_literals from django.apps import AppConfig class CadastroConfig(AppConfig): name = 'cadastro'
16.5
39
0.795455
15
132
6.666667
0.8
0
0
0
0
0
0
0
0
0
0
0
0.151515
132
7
40
18.857143
0.892857
0
0
0
0
0
0.060606
0
0
0
0
0
0
1
0
false
0
0.5
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
1
0
1
0
0
4
7d67943b13b730875ff3da0d4948c019b04394f1
19,520
py
Python
geosoft/gxapi/GXFFT.py
fearaschiarrai/gxpy
4c5e7594b24e530a8cd94df1eef562c5c6ce3e92
[ "BSD-2-Clause" ]
25
2017-07-14T06:39:37.000Z
2022-03-09T21:39:51.000Z
geosoft/gxapi/GXFFT.py
fearaschiarrai/gxpy
4c5e7594b24e530a8cd94df1eef562c5c6ce3e92
[ "BSD-2-Clause" ]
100
2016-12-13T17:30:41.000Z
2021-08-01T20:21:13.000Z
geosoft/gxapi/GXFFT.py
fearaschiarrai/gxpy
4c5e7594b24e530a8cd94df1eef562c5c6ce3e92
[ "BSD-2-Clause" ]
28
2016-12-12T17:34:40.000Z
2022-03-16T15:39:39.000Z
### extends 'class_empty.py' ### block ClassImports # NOTICE: Do not edit anything here, it is generated code from . import gxapi_cy from geosoft.gxapi import GXContext, float_ref, int_ref, str_ref ### endblock ClassImports ### block Header # NOTICE: The code generator will not replace the code in this block ### end...
30.837283
214
0.606557
2,343
19,520
4.959454
0.135723
0.033735
0.046816
0.060241
0.684079
0.650861
0.625732
0.610671
0.580981
0.552926
0
0.019969
0.28166
19,520
633
215
30.837283
0.808729
0.688678
0
0.155844
1
0
0
0
0
0
0
0
0
1
0.402597
false
0.077922
0.025974
0
0.558442
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
1
0
0
1
0
0
4
7dc2e4a999b96350f22e02f0f9ac5d6623fb8c94
55
py
Python
ensconce/webapp/__init__.py
netwrkr/ensconce
eda938c67eb0af8fb7d3ccf668e07d2f76485aa5
[ "BSD-3-Clause" ]
1
2021-05-05T13:52:44.000Z
2021-05-05T13:52:44.000Z
ensconce/webapp/__init__.py
netwrkr/ensconce
eda938c67eb0af8fb7d3ccf668e07d2f76485aa5
[ "BSD-3-Clause" ]
null
null
null
ensconce/webapp/__init__.py
netwrkr/ensconce
eda938c67eb0af8fb7d3ccf668e07d2f76485aa5
[ "BSD-3-Clause" ]
null
null
null
""" The top-level package for the cherrypy webapp. """
18.333333
47
0.690909
8
55
4.75
0.875
0
0
0
0
0
0
0
0
0
0
0
0.163636
55
3
48
18.333333
0.826087
0.836364
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
7deccc78170f97c1f308154f730928b6045f3b60
152
py
Python
Max_Waelbers/Code/Source_Data/data.py
ArtezGDA/MappingTheCity-Maps
a29377af7878907d30b4199d0859f007ba08b5e6
[ "MIT" ]
null
null
null
Max_Waelbers/Code/Source_Data/data.py
ArtezGDA/MappingTheCity-Maps
a29377af7878907d30b4199d0859f007ba08b5e6
[ "MIT" ]
null
null
null
Max_Waelbers/Code/Source_Data/data.py
ArtezGDA/MappingTheCity-Maps
a29377af7878907d30b4199d0859f007ba08b5e6
[ "MIT" ]
null
null
null
#!/usr/bin/pyhton #scrape brandstofelektrisch.json import urllib import json def main(): with open("brandstofelektrisch.json"), 'r') as inputfile
15.2
57
0.743421
19
152
5.947368
0.789474
0.40708
0
0
0
0
0
0
0
0
0
0
0.131579
152
10
58
15.2
0.856061
0
0
0
0
0
0.240385
0.230769
0
0
0
0
0
0
null
null
0
0.5
null
null
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
4
814a3241a7119f0f80b0e55dd020d4fc69437423
132
py
Python
HIS_void/patient/signals.py
YuanchenZhu2020/HIS_void
7289bf537e9fc4b09750bbca76a4cc8354dc770f
[ "MIT" ]
null
null
null
HIS_void/patient/signals.py
YuanchenZhu2020/HIS_void
7289bf537e9fc4b09750bbca76a4cc8354dc770f
[ "MIT" ]
null
null
null
HIS_void/patient/signals.py
YuanchenZhu2020/HIS_void
7289bf537e9fc4b09750bbca76a4cc8354dc770f
[ "MIT" ]
null
null
null
from django.dispatch import Signal patient_logged_in = Signal() patient_login_failed = Signal() patient_logged_out = Signal()
22
35
0.780303
17
132
5.705882
0.647059
0.402062
0.391753
0
0
0
0
0
0
0
0
0
0.143939
132
5
36
26.4
0.858407
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
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
4
8151676fbd111d73aaf820188ecadf414d67b40e
55
py
Python
tests/__init__.py
Prior99/go2
837dc91717cd875b207ac4ebd44cad3f6ffdfadb
[ "FSFAP" ]
null
null
null
tests/__init__.py
Prior99/go2
837dc91717cd875b207ac4ebd44cad3f6ffdfadb
[ "FSFAP" ]
null
null
null
tests/__init__.py
Prior99/go2
837dc91717cd875b207ac4ebd44cad3f6ffdfadb
[ "FSFAP" ]
null
null
null
import config config.database_uri = 'sqlite:///memory'
18.333333
40
0.763636
7
55
5.857143
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.090909
55
2
41
27.5
0.82
0
0
0
0
0
0.290909
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
815bd59f2daf5e53f1fb4671188b22e365b14bde
51
py
Python
src/models/wgangp_g_model.py
universuen/RVGAN-TL
d370673063a3dfd9cc4a20bfd1c18bc95aadabca
[ "MIT" ]
null
null
null
src/models/wgangp_g_model.py
universuen/RVGAN-TL
d370673063a3dfd9cc4a20bfd1c18bc95aadabca
[ "MIT" ]
null
null
null
src/models/wgangp_g_model.py
universuen/RVGAN-TL
d370673063a3dfd9cc4a20bfd1c18bc95aadabca
[ "MIT" ]
null
null
null
from .gan_g_model import GANGModel as WGANGPGModel
25.5
50
0.862745
8
51
5.25
1
0
0
0
0
0
0
0
0
0
0
0
0.117647
51
1
51
51
0.933333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
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
4
8160498c3c38cd7845e475c12a1285069bb88303
147
py
Python
gym_missile_command/__init__.py
ElieKadoche/gym_missile_command
e729721024005d2adcabc759768756516c70bc06
[ "MIT" ]
4
2021-02-22T11:07:11.000Z
2022-03-30T04:14:46.000Z
gym_missile_command/__init__.py
ElieKadoche/gym_missile_command
e729721024005d2adcabc759768756516c70bc06
[ "MIT" ]
null
null
null
gym_missile_command/__init__.py
ElieKadoche/gym_missile_command
e729721024005d2adcabc759768756516c70bc06
[ "MIT" ]
1
2021-06-04T04:02:49.000Z
2021-06-04T04:02:49.000Z
from gym.envs.registration import register register( id="missile-command-v0", entry_point="gym_missile_command.envs:MissileCommandEnv", )
21
61
0.77551
18
147
6.166667
0.722222
0.252252
0
0
0
0
0
0
0
0
0
0.007692
0.115646
147
6
62
24.5
0.846154
0
0
0
0
0
0.408163
0.285714
0
0
0
0
0
1
0
true
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
1
0
0
0
0
0
0
4
817143745dff70101296903798e901861afafeab
334
py
Python
tests/test_site.py
GabrielIFPB/little-notes
cd1176275e9a2523801626a6c22b6218867bd21b
[ "MIT" ]
null
null
null
tests/test_site.py
GabrielIFPB/little-notes
cd1176275e9a2523801626a6c22b6218867bd21b
[ "MIT" ]
null
null
null
tests/test_site.py
GabrielIFPB/little-notes
cd1176275e9a2523801626a6c22b6218867bd21b
[ "MIT" ]
null
null
null
# def test_site_index(client, captured_templates): # response = client.get("/") # assert response.status_code == 200 # assert len(captured_templates) == 1 # template, context = captured_templates[0] # assert template.name == "index.html" # assert response.headers["content-Type"] == "text/html; c...
41.75
75
0.679641
40
334
5.525
0.675
0.230769
0
0
0
0
0
0
0
0
0
0.021739
0.173653
334
7
76
47.714286
0.778986
0.95509
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
1
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
4
8187b1f711a0d3747d35e21360ef5beff63489f6
130
py
Python
utils/single_out.py
JBarmentlo/Piscine-Math-42
6d94d382e95010f0daf910fa9da712e878869351
[ "MIT" ]
null
null
null
utils/single_out.py
JBarmentlo/Piscine-Math-42
6d94d382e95010f0daf910fa9da712e878869351
[ "MIT" ]
null
null
null
utils/single_out.py
JBarmentlo/Piscine-Math-42
6d94d382e95010f0daf910fa9da712e878869351
[ "MIT" ]
null
null
null
def single_out(a, index): ''' returns a with all bits but the index bit set to 0 ''' return (a & (1 << index))
26
58
0.546154
21
130
3.333333
0.809524
0
0
0
0
0
0
0
0
0
0
0.022727
0.323077
130
5
59
26
0.772727
0.384615
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
8192ace4c343bdf09ab21619981b7c91ee219fcc
204
py
Python
tests/simple_class.py
ssarangi/PyVyM
f96c46e7b8d38f938345ca915c5356b4d9c86d64
[ "MIT" ]
3
2017-09-24T17:35:29.000Z
2021-02-14T21:53:03.000Z
tests/simple_class.py
ssarangi/PyVyM
f96c46e7b8d38f938345ca915c5356b4d9c86d64
[ "MIT" ]
null
null
null
tests/simple_class.py
ssarangi/PyVyM
f96c46e7b8d38f938345ca915c5356b4d9c86d64
[ "MIT" ]
1
2019-08-22T01:09:15.000Z
2019-08-22T01:09:15.000Z
class Foo: def __init__(self): self.member1 = 1 def print(self): self.member1 += 5 print("Member1: %s" % self.member1) def main(): foo = Foo() foo.print() main()
15.692308
43
0.529412
26
204
4
0.423077
0.317308
0.288462
0
0
0
0
0
0
0
0
0.043165
0.318627
204
13
44
15.692308
0.705036
0
0
0
0
0
0.053659
0
0
0
0
0
0
1
0.3
false
0
0
0
0.4
0.3
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
81af4087dfc40937c5e9a5d883a350420adf9436
93
py
Python
HealthKit/healthapp/apps.py
Koushik-Sarker-Seemanto/DatabaseProject
d936d83643242942b903381ef263dc10f8fbc177
[ "MIT" ]
null
null
null
HealthKit/healthapp/apps.py
Koushik-Sarker-Seemanto/DatabaseProject
d936d83643242942b903381ef263dc10f8fbc177
[ "MIT" ]
null
null
null
HealthKit/healthapp/apps.py
Koushik-Sarker-Seemanto/DatabaseProject
d936d83643242942b903381ef263dc10f8fbc177
[ "MIT" ]
null
null
null
from django.apps import AppConfig class HealthappConfig(AppConfig): name = 'healthapp'
15.5
33
0.763441
10
93
7.1
0.9
0
0
0
0
0
0
0
0
0
0
0
0.16129
93
5
34
18.6
0.910256
0
0
0
0
0
0.096774
0
0
0
0
0
0
1
0
false
0
0.333333
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
1
0
1
0
0
4
81c65d327337882fa0595cb517fbaf5a266fd0e0
44
py
Python
__init__.py
vyouzhis/energy
c9c9b0c7dc2e85a093fb531f80c3aa6f458e8b6e
[ "Apache-2.0" ]
null
null
null
__init__.py
vyouzhis/energy
c9c9b0c7dc2e85a093fb531f80c3aa6f458e8b6e
[ "Apache-2.0" ]
null
null
null
__init__.py
vyouzhis/energy
c9c9b0c7dc2e85a093fb531f80c3aa6f458e8b6e
[ "Apache-2.0" ]
1
2019-07-19T03:03:43.000Z
2019-07-19T03:03:43.000Z
__version__ = '0.0.1' __author__ = 'EtoMC2'
14.666667
21
0.681818
6
44
3.666667
0.833333
0
0
0
0
0
0
0
0
0
0
0.105263
0.136364
44
2
22
22
0.473684
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
81c77558a514adeba4130477ed1fc1b7f429e070
24
py
Python
caller/textractcaller/_version.py
aws-samples/amazon-textract-textractor
35da7d662b06f03d1fc9db5fbabb3d1f45b1edd6
[ "Apache-2.0" ]
187
2019-05-07T20:20:33.000Z
2022-03-26T11:29:50.000Z
caller/textractcaller/_version.py
aws-samples/amazon-textract-textractor
35da7d662b06f03d1fc9db5fbabb3d1f45b1edd6
[ "Apache-2.0" ]
37
2019-05-15T13:51:50.000Z
2022-03-25T21:57:37.000Z
caller/textractcaller/_version.py
aws-samples/amazon-textract-textractor
35da7d662b06f03d1fc9db5fbabb3d1f45b1edd6
[ "Apache-2.0" ]
84
2019-05-28T01:28:00.000Z
2022-03-10T01:59:21.000Z
__version__ = '0.0.15'
8
22
0.625
4
24
2.75
0.75
0
0
0
0
0
0
0
0
0
0
0.2
0.166667
24
2
23
12
0.35
0
0
0
0
0
0.26087
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
81d1b538fa5a380347b8c66fb4e24794c1d2ab00
21
py
Python
certbot_dns_duckdns/__init__.py
chaptergy/certbot_dns_duckdns
13daa19a06e6cfbf8ca1c5cc7f0a31e9142d1da6
[ "MIT" ]
null
null
null
certbot_dns_duckdns/__init__.py
chaptergy/certbot_dns_duckdns
13daa19a06e6cfbf8ca1c5cc7f0a31e9142d1da6
[ "MIT" ]
null
null
null
certbot_dns_duckdns/__init__.py
chaptergy/certbot_dns_duckdns
13daa19a06e6cfbf8ca1c5cc7f0a31e9142d1da6
[ "MIT" ]
null
null
null
__version__ = "v0.5"
10.5
20
0.666667
3
21
3.333333
1
0
0
0
0
0
0
0
0
0
0
0.111111
0.142857
21
1
21
21
0.444444
0
0
0
0
0
0.190476
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
81d29f9a18034cf0d9190547ac37fad69fe6780e
142
py
Python
simf/common/__init__.py
MartinJakomin/SIMF
e04110ddcaed887abc58084686d00f84fdc6a8c8
[ "MIT" ]
1
2021-01-22T05:15:30.000Z
2021-01-22T05:15:30.000Z
simf/common/__init__.py
MartinJakomin/SIMF
e04110ddcaed887abc58084686d00f84fdc6a8c8
[ "MIT" ]
null
null
null
simf/common/__init__.py
MartinJakomin/SIMF
e04110ddcaed887abc58084686d00f84fdc6a8c8
[ "MIT" ]
null
null
null
from .data import build_test_set, split_streams, build_sparse_matrix __all__ = ['build_sparse_matrix', 'split_streams', 'build_test_set']
35.5
69
0.795775
20
142
4.95
0.55
0.181818
0.242424
0
0
0
0
0
0
0
0
0
0.105634
142
3
70
47.333333
0.779528
0
0
0
0
0
0.330935
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
c4b128ac557de255d8f01c1bb376ec1b5cedffbb
140
py
Python
python/pangram/pangram.py
cjcbusatto/exercism-solved
51cfe3d0134899b043d5668bc270bf480e6d9644
[ "MIT" ]
null
null
null
python/pangram/pangram.py
cjcbusatto/exercism-solved
51cfe3d0134899b043d5668bc270bf480e6d9644
[ "MIT" ]
null
null
null
python/pangram/pangram.py
cjcbusatto/exercism-solved
51cfe3d0134899b043d5668bc270bf480e6d9644
[ "MIT" ]
1
2018-12-25T22:14:40.000Z
2018-12-25T22:14:40.000Z
def is_pangram(sentence): if len(set(sentence.lower()) & set("abcdefghijklmnopqrstuvwxyz")) == 26: return True return False
28
76
0.671429
16
140
5.8125
0.8125
0
0
0
0
0
0
0
0
0
0
0.017857
0.2
140
4
77
35
0.8125
0
0
0
0
0
0.185714
0.185714
0
0
0
0
0
1
0.25
false
0
0
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
c4f37043eaa55b7d635818bedd81a249aff9fc87
83
py
Python
captain_hook/services/scrutinizer/__init__.py
brantje/captain_hook
dde076a96afffa2235b7d8d01d47c4e61099c6b6
[ "Apache-2.0" ]
1
2017-01-07T16:22:05.000Z
2017-01-07T16:22:05.000Z
captain_hook/services/scrutinizer/__init__.py
brantje/captain_hook
dde076a96afffa2235b7d8d01d47c4e61099c6b6
[ "Apache-2.0" ]
3
2017-02-27T00:34:19.000Z
2017-02-27T14:25:44.000Z
captain_hook/services/scrutinizer/__init__.py
brantje/telegram-github-bot
dde076a96afffa2235b7d8d01d47c4e61099c6b6
[ "Apache-2.0" ]
null
null
null
from __future__ import absolute_import from .scrutinizer import ScrutinizerService
27.666667
43
0.891566
9
83
7.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.096386
83
2
44
41.5
0.92
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
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
4
f201efd0e1a3771cdd775b1c1d1798d4da78978a
130
py
Python
lib/plugs/snowflake.py
bankova-gabriella/layer
87feadbca7bcb935b91e1a4b29fd15ea26103075
[ "MIT" ]
null
null
null
lib/plugs/snowflake.py
bankova-gabriella/layer
87feadbca7bcb935b91e1a4b29fd15ea26103075
[ "MIT" ]
null
null
null
lib/plugs/snowflake.py
bankova-gabriella/layer
87feadbca7bcb935b91e1a4b29fd15ea26103075
[ "MIT" ]
null
null
null
import snowflake class Snowflake: def __init__(self, layer): self.layer = layer self.snowflake = snowflake
14.444444
34
0.653846
14
130
5.785714
0.5
0.222222
0
0
0
0
0
0
0
0
0
0
0.276923
130
8
35
16.25
0.861702
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
f207144b351ffd741359857d5183bbc812a5bb2f
102
py
Python
7_kyu/Triangle_area.py
UlrichBerntien/Codewars-Katas
bbd025e67aa352d313564d3862db19fffa39f552
[ "MIT" ]
null
null
null
7_kyu/Triangle_area.py
UlrichBerntien/Codewars-Katas
bbd025e67aa352d313564d3862db19fffa39f552
[ "MIT" ]
null
null
null
7_kyu/Triangle_area.py
UlrichBerntien/Codewars-Katas
bbd025e67aa352d313564d3862db19fffa39f552
[ "MIT" ]
null
null
null
def t_area(t_str: str) -> float: rows = sum(c == '\n' for c in t_str) - 2 return (rows*rows)/2
34
44
0.568627
21
102
2.619048
0.619048
0.145455
0
0
0
0
0
0
0
0
0
0.025974
0.245098
102
3
45
34
0.688312
0
0
0
0
0
0.019417
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
f207bef41b000bbce592a8e78f6aacb879188ea2
623
py
Python
src/compas_occ/geometry/__init__.py
jf---/compas_occ
8f8a4d7f38984d06e6c32c851625275735503611
[ "MIT" ]
1
2021-06-15T22:49:40.000Z
2021-06-15T22:49:40.000Z
src/compas_occ/geometry/__init__.py
jf---/compas_occ
8f8a4d7f38984d06e6c32c851625275735503611
[ "MIT" ]
null
null
null
src/compas_occ/geometry/__init__.py
jf---/compas_occ
8f8a4d7f38984d06e6c32c851625275735503611
[ "MIT" ]
null
null
null
""" ******************************************************************************** compas_occ.geometry ******************************************************************************** .. currentmodule:: compas_occ.geometry Curves ====== .. autosummary:: :toctree: generated/ :nosignatures: Curve Nu...
18.878788
80
0.495987
45
623
6.822222
0.4
0.104235
0.117264
0.254072
0.169381
0
0
0
0
0
0
0.022857
0.157303
623
32
81
19.46875
0.561905
0.770465
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
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
f20aeb65920da97fa582a49f9f3ecd700ffacafa
2,304
py
Python
parlai/mturk/core/worlds.py
ysglh/ParlAI
e0f16e9168839be12f72d3431b9819cf3d51fe10
[ "BSD-3-Clause" ]
2
2017-09-30T23:23:44.000Z
2021-07-08T17:12:58.000Z
parlai/mturk/core/worlds.py
ysglh/ParlAI
e0f16e9168839be12f72d3431b9819cf3d51fe10
[ "BSD-3-Clause" ]
1
2018-03-08T20:44:39.000Z
2018-03-08T23:49:29.000Z
parlai/mturk/core/worlds.py
ysglh/ParlAI
e0f16e9168839be12f72d3431b9819cf3d51fe10
[ "BSD-3-Clause" ]
1
2018-03-08T20:42:57.000Z
2018-03-08T20:42:57.000Z
# Copyright (c) 2017-present, Facebook, Inc. # All rights reserved. # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. An additional grant # of patent rights can be found in the PATENTS file in the same directory. from parlai.core.worlds im...
30.72
79
0.619792
284
2,304
4.880282
0.419014
0.11544
0.10101
0.04329
0.307359
0.251082
0.251082
0.251082
0.204906
0.204906
0
0.011714
0.296007
2,304
74
80
31.135135
0.842787
0.43967
0
0.76
0
0
0
0
0
0
0
0
0
1
0.4
false
0.12
0.04
0.08
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
4
48524b96a63c4f9c7f28c9f360015d66badfb200
68
py
Python
__main__.py
lwhjon/repo-labels-cli
5a16638f45f0b13e9fdddc59b1a0952f3ba51287
[ "MIT" ]
1
2021-07-14T06:32:50.000Z
2021-07-14T06:32:50.000Z
__main__.py
lwhjon/repo-labels-cli
5a16638f45f0b13e9fdddc59b1a0952f3ba51287
[ "MIT" ]
2
2021-08-31T18:14:03.000Z
2021-12-29T18:14:25.000Z
__main__.py
lwhjon/repo-labels-cli
5a16638f45f0b13e9fdddc59b1a0952f3ba51287
[ "MIT" ]
null
null
null
import repolabels if __name__ == "__main__": repolabels.main()
13.6
26
0.705882
7
68
5.714286
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.176471
68
4
27
17
0.714286
0
0
0
0
0
0.117647
0
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
4
4871e17eb202394f9905e405eff685389769acab
12,132
py
Python
tests/unit/test_config.py
neuro-inc/platform-reports
161c18733370235af0b63a772de49343e956c35c
[ "Apache-2.0" ]
null
null
null
tests/unit/test_config.py
neuro-inc/platform-reports
161c18733370235af0b63a772de49343e956c35c
[ "Apache-2.0" ]
9
2021-12-23T03:10:40.000Z
2022-03-31T03:15:52.000Z
tests/unit/test_config.py
neuro-inc/platform-reports
161c18733370235af0b63a772de49343e956c35c
[ "Apache-2.0" ]
null
null
null
from pathlib import Path from yarl import URL from platform_reports.config import ( EnvironConfigFactory, GrafanaProxyConfig, KubeClientAuthType, KubeConfig, MetricsConfig, PlatformAuthConfig, PlatformServiceConfig, PrometheusProxyConfig, SentryConfig, ServerConfig, ZipkinC...
37.329231
85
0.561161
1,252
12,132
5.128594
0.091853
0.043607
0.024918
0.020558
0.800498
0.745678
0.705653
0.667653
0.651145
0.631833
0
0.016805
0.303495
12,132
324
86
37.444444
0.743077
0
0
0.588235
0
0
0.286515
0.057781
0
0
0
0
0.044983
1
0.044983
false
0
0.010381
0
0.058824
0
0
0
0
null
0
0
0
1
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
4
6f9000a11b2cc5bd11480c338dedf03621015a05
183
py
Python
viocetotext/setup.py
ASaiun/voice_to_text
6afcf3403c6d4365e7d1c7586fe250d0ade83b12
[ "Apache-2.0" ]
null
null
null
viocetotext/setup.py
ASaiun/voice_to_text
6afcf3403c6d4365e7d1c7586fe250d0ade83b12
[ "Apache-2.0" ]
null
null
null
viocetotext/setup.py
ASaiun/voice_to_text
6afcf3403c6d4365e7d1c7586fe250d0ade83b12
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 11/28/2017 11:41 AM # @Author : Siyuan(Saiun) # @Site : # @File : setup.py.py # @Software: PyCharm Community Edition
26.142857
38
0.590164
26
183
4.153846
0.923077
0
0
0
0
0
0
0
0
0
0
0.090278
0.213115
183
7
38
26.142857
0.659722
0.928962
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
6f90d64459bbbda4b0e6e2e16202d5046a2ed99b
31,520
py
Python
college/models.py
dwillis/fumblerooski
68a1d4f759ac7c23023ccdcca558a0fbcfb1e48c
[ "BSD-3-Clause" ]
6
2015-06-30T14:11:07.000Z
2021-01-13T12:11:36.000Z
college/models.py
dwillis/fumblerooski
68a1d4f759ac7c23023ccdcca558a0fbcfb1e48c
[ "BSD-3-Clause" ]
null
null
null
college/models.py
dwillis/fumblerooski
68a1d4f759ac7c23023ccdcca558a0fbcfb1e48c
[ "BSD-3-Clause" ]
4
2017-06-23T00:14:34.000Z
2022-03-03T20:10:43.000Z
from django.db import models from django import forms import datetime from django.template.defaultfilters import slugify from django.conf import settings CURRENT_SEASON = getattr(settings, 'CURRENT_SEASON', datetime.date.today().year) STATUS_CHOICES = ( ('FR', 'Freshman'), ('SO', 'Sophomore'), ('JR', 'Ju...
37.568534
230
0.692259
3,900
31,520
5.414615
0.101538
0.180707
0.204811
0.211773
0.669792
0.565516
0.492731
0.436094
0.416489
0.395369
0
0.01243
0.188325
31,520
838
231
37.613365
0.812969
0.004029
0
0.427515
0
0.005917
0.057377
0.014424
0
0
0
0
0
1
0.133136
false
0.038462
0.008876
0.106509
0.85355
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
1
1
0
0
4
6fb04c6b934dbc2c2a8f1050502568403cd8b120
142
py
Python
reddit2telegram/channels/azurlane_sub/app.py
mainyordle/reddit2telegram
1163e15aed3b6ff0fba65b222d3d9798f644c386
[ "MIT" ]
187
2016-09-20T09:15:54.000Z
2022-03-29T12:22:33.000Z
reddit2telegram/channels/azurlane_sub/app.py
mainyordle/reddit2telegram
1163e15aed3b6ff0fba65b222d3d9798f644c386
[ "MIT" ]
84
2016-09-22T14:25:07.000Z
2022-03-19T01:26:17.000Z
reddit2telegram/channels/azurlane_sub/app.py
mainyordle/reddit2telegram
1163e15aed3b6ff0fba65b222d3d9798f644c386
[ "MIT" ]
172
2016-09-21T15:39:39.000Z
2022-03-16T15:15:58.000Z
#encoding:utf-8 subreddit = 'AzureLane' t_channel = '@AzurLane_sub' def send_post(submission, r2t): return r2t.send_simple(submission)
15.777778
38
0.746479
19
142
5.368421
0.842105
0
0
0
0
0
0
0
0
0
0
0.02439
0.133803
142
8
39
17.75
0.804878
0.098592
0
0
0
0
0.173228
0
0
0
0
0
0
1
0.25
false
0
0
0.25
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
1
0
0
0
1
0
0
0
4
6fc618b732031598e6c69fb80b53fe55b2821831
11,533
py
Python
tests/gdk/common/test_model_actions.py
timmattison/aws-greengrass-gdk-cli
60a002f0f2fee84b79022662ba0cae9e0246b6f8
[ "Apache-2.0" ]
10
2022-01-15T09:50:32.000Z
2022-03-26T16:39:49.000Z
tests/gdk/common/test_model_actions.py
timmattison/aws-greengrass-gdk-cli
60a002f0f2fee84b79022662ba0cae9e0246b6f8
[ "Apache-2.0" ]
46
2021-11-30T19:49:16.000Z
2022-03-31T07:14:23.000Z
tests/gdk/common/test_model_actions.py
timmattison/aws-greengrass-gdk-cli
60a002f0f2fee84b79022662ba0cae9e0246b6f8
[ "Apache-2.0" ]
7
2021-11-30T19:49:42.000Z
2022-03-17T16:25:34.000Z
from pathlib import Path from unittest.mock import mock_open, patch import gdk.common.consts as consts import gdk.common.model_actions as model_actions import pytest def test_get_validated_model_file_not_exists(mocker): mock_get_static_file_path = mocker.patch("gdk.common.utils.get_static_file_path", return_valu...
42.091241
126
0.62759
1,381
11,533
4.877625
0.081825
0.077939
0.080166
0.087441
0.821704
0.779394
0.717191
0.692844
0.679335
0.664489
0
0.001658
0.215729
11,533
273
127
42.245421
0.743062
0.054192
0
0.557604
0
0
0.24433
0.055826
0
0
0
0
0.165899
1
0.078341
false
0
0.023041
0
0.101382
0
0
0
0
null
0
0
0
1
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
4
6fd04634351c4906a1efba5cd00441acf0488bd7
207
py
Python
guet/steps/action/_print.py
AbhishekMashetty/pairprogrammingmasetty
0528d4999b472ec6d94058193275a505eaf2c762
[ "Apache-2.0" ]
13
2018-12-21T22:47:28.000Z
2021-12-17T14:27:35.000Z
guet/steps/action/_print.py
chiptopher/guet
1099ee623311ba1d052237612efc9b06b7ff68bb
[ "Apache-2.0" ]
63
2018-08-30T11:19:12.000Z
2021-05-13T12:11:08.000Z
guet/steps/action/_print.py
chiptopher/guet
1099ee623311ba1d052237612efc9b06b7ff68bb
[ "Apache-2.0" ]
7
2019-05-21T13:52:37.000Z
2022-01-30T22:57:21.000Z
from .action import Action class PrintAction(Action): def __init__(self, message: str): super().__init__() self.message = message def execute(self, _): print(self.message)
18.818182
37
0.63285
23
207
5.304348
0.565217
0.270492
0.245902
0
0
0
0
0
0
0
0
0
0.256039
207
10
38
20.7
0.792208
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.571429
0.142857
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
6ff86ddd5ce0c454281e6568c628bd3c49ea5024
394
py
Python
examples/MMPT/mmpt/__init__.py
Shiguang-Guo/fairseq
c9d3df5679d0829cda8fc3c818b6cab52b78dc37
[ "MIT" ]
16,259
2018-05-02T02:31:30.000Z
2022-03-31T21:50:23.000Z
examples/MMPT/mmpt/__init__.py
Shiguang-Guo/fairseq
c9d3df5679d0829cda8fc3c818b6cab52b78dc37
[ "MIT" ]
3,863
2018-05-02T13:42:39.000Z
2022-03-31T19:03:32.000Z
examples/MMPT/mmpt/__init__.py
Shiguang-Guo/fairseq
c9d3df5679d0829cda8fc3c818b6cab52b78dc37
[ "MIT" ]
4,796
2018-05-02T07:55:51.000Z
2022-03-31T14:46:45.000Z
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. try: # fairseq user dir from .datasets import FairseqMMDataset from .losses import FairseqCriterion from .models import Fairseq...
30.307692
65
0.751269
52
394
5.692308
0.769231
0.067568
0
0
0
0
0
0
0
0
0
0
0.205584
394
12
66
32.833333
0.945687
0.469543
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.142857
0.714286
0
0.714286
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
1
1
0
1
0
0
4
b50d441499382a84f41458396af0f4f8d532fb26
2,559
py
Python
project/server/middlewares/auth.py
ecralx/rotten-potatoes-api
7061eaff272cab04469777716dda3a620776ed1e
[ "MIT" ]
null
null
null
project/server/middlewares/auth.py
ecralx/rotten-potatoes-api
7061eaff272cab04469777716dda3a620776ed1e
[ "MIT" ]
null
null
null
project/server/middlewares/auth.py
ecralx/rotten-potatoes-api
7061eaff272cab04469777716dda3a620776ed1e
[ "MIT" ]
null
null
null
# project/server/middlewares/auth.py from flask import request, make_response, jsonify from functools import wraps from project.server.models import User def with_authorization_middleware(fn): """ Checks if there's an Authorization header in the request and supplies the valid user to the function (view) "...
35.054795
111
0.550215
281
2,559
4.882562
0.266904
0.085277
0.056851
0.065598
0.794461
0.794461
0.77551
0.704082
0.543732
0.543732
0
0.01207
0.352481
2,559
73
112
35.054795
0.815932
0.14068
0
0.810345
0
0
0.074896
0
0
0
0
0
0
1
0.068966
false
0
0.051724
0
0.293103
0
0
0
0
null
0
0
0
0
1
1
1
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
4
82f97c32f939d4327706890dff7a052ac9a87566
3,151
py
Python
mpvr/test/test.py
nearj/mpvr-motionfiltering
478304391e031a11bd15a604a272017ce8e48abf
[ "MIT" ]
null
null
null
mpvr/test/test.py
nearj/mpvr-motionfiltering
478304391e031a11bd15a604a272017ce8e48abf
[ "MIT" ]
null
null
null
mpvr/test/test.py
nearj/mpvr-motionfiltering
478304391e031a11bd15a604a272017ce8e48abf
[ "MIT" ]
1
2019-07-14T01:32:04.000Z
2019-07-14T01:32:04.000Z
import numpy as np import pandas as pd import cv2 from numba import jit from . import datamanager class ThreeDI(datamanager.DataManager): """data manager for 3DI :param _scenarios: list of scenario :type _scenarios: dict :param _sensored: sensored axis list in 3di experiment :type _sensored: list ...
42.581081
97
0.606791
381
3,151
4.745407
0.32021
0.043142
0.006637
0.00885
0.19469
0.19469
0.19469
0.155973
0.120575
0.120575
0
0.021592
0.29451
3,151
73
98
43.164384
0.791723
0.827674
0
0
0
0
0
0
0
0
0
0.013699
0
1
0.125
false
0
0.625
0
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
4
d227a55a3a1ec41066cf45c9a1652ae46dbb46c9
103
py
Python
BasicProject/HelloDjangoApp/apps.py
chimmilisrinivas/python-sample-vs-learning-django
30ce250b187507a99bf35e2691d483ebf03aa7f8
[ "MIT" ]
13
2018-07-19T04:05:17.000Z
2019-03-19T22:35:27.000Z
BasicProject/HelloDjangoApp/apps.py
chimmilisrinivas/python-sample-vs-learning-django
30ce250b187507a99bf35e2691d483ebf03aa7f8
[ "MIT" ]
4
2018-10-02T04:39:11.000Z
2018-11-29T01:06:30.000Z
BasicProject/HelloDjangoApp/apps.py
chimmilisrinivas/python-sample-vs-learning-django
30ce250b187507a99bf35e2691d483ebf03aa7f8
[ "MIT" ]
16
2019-11-03T23:14:50.000Z
2022-03-16T06:12:38.000Z
from django.apps import AppConfig class HelloDjangoAppConfig(AppConfig): name = 'HelloDjangoApp'
17.166667
38
0.786408
10
103
8.1
0.9
0
0
0
0
0
0
0
0
0
0
0
0.145631
103
5
39
20.6
0.920455
0
0
0
0
0
0.135922
0
0
0
0
0
0
1
0
false
0
0.333333
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
1
0
1
0
0
4
d22bd14dc917a4fe741f630af22e4772f91714c4
175
py
Python
importance/download_pageviews.py
halfak/Article-importance-in-Wikipedia
43dbb04e320fe2aed2bd72aa08ad6b7085ba84e9
[ "MIT" ]
2
2015-01-31T15:32:20.000Z
2022-01-23T22:23:53.000Z
importance/download_pageviews.py
Seanpm2001-research/Article-importance-in-Wikipedia
43dbb04e320fe2aed2bd72aa08ad6b7085ba84e9
[ "MIT" ]
null
null
null
importance/download_pageviews.py
Seanpm2001-research/Article-importance-in-Wikipedia
43dbb04e320fe2aed2bd72aa08ad6b7085ba84e9
[ "MIT" ]
4
2015-01-21T14:34:13.000Z
2022-01-23T22:24:37.000Z
""" Downloads hourly pageview files for a directory. Usage: download_pageviews <web directory> <output directory> """ import docopt def main(): args = docopt.docopt
15.909091
57
0.72
21
175
5.952381
0.809524
0
0
0
0
0
0
0
0
0
0
0
0.182857
175
10
58
17.5
0.874126
0.651429
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
4
d242a1b004c13331b65295d59929b3ce78ff0756
1,243
py
Python
verbcalc/tests/test_calculating.py
syedatif4118/VerbCalc
16834cbf1a78036b386ce1020bfd705fde7a0833
[ "BSD-3-Clause" ]
null
null
null
verbcalc/tests/test_calculating.py
syedatif4118/VerbCalc
16834cbf1a78036b386ce1020bfd705fde7a0833
[ "BSD-3-Clause" ]
null
null
null
verbcalc/tests/test_calculating.py
syedatif4118/VerbCalc
16834cbf1a78036b386ce1020bfd705fde7a0833
[ "BSD-3-Clause" ]
null
null
null
""" Tests calculating. """ import unittest import verbcalc class TestCalculate(unittest.TestCase): """ Tests calculate function. """ def test_calculations(self): self.assertEqual(verbcalc.calculate('2 plus 2'), 'The result is 4') self.assertEqual(verbcalc.calculate ...
36.558824
79
0.572808
144
1,243
4.881944
0.305556
0.213371
0.327169
0.455192
0.623044
0.519203
0.519203
0.445235
0.320057
0
0
0.033998
0.313757
1,243
33
80
37.666667
0.790152
0.035398
0
0.304348
0
0
0.263605
0
0
0
0
0
0.434783
1
0.043478
false
0
0.086957
0
0.173913
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
1
0
0
0
0
0
0
0
0
0
4
d24608d5ddc47d0a079c9d18aaab34a2d9d7dd27
8,331
py
Python
{{cookiecutter.project_slug}}/settings/base.py
yunior-dev/django-vue-cookie
74f04a3aaaa4f40070c816d855a165c7ecc2d12e
[ "BSD-3-Clause" ]
3
2020-10-10T20:08:08.000Z
2021-03-26T05:46:25.000Z
{{cookiecutter.project_slug}}/settings/base.py
yunior-dev/django-cookie
74f04a3aaaa4f40070c816d855a165c7ecc2d12e
[ "BSD-3-Clause" ]
null
null
null
{{cookiecutter.project_slug}}/settings/base.py
yunior-dev/django-cookie
74f04a3aaaa4f40070c816d855a165c7ecc2d12e
[ "BSD-3-Clause" ]
1
2021-11-19T21:25:45.000Z
2021-11-19T21:25:45.000Z
""" Base settings to build other settings file upon. """ from pathlib import Path from django.conf.locale.en import formats as en_formats import environ ROOT_DIR = Path(__file__).resolve(strict=True).parent.parent # apps/ directory APPS_DIR = ROOT_DIR / 'apps' # resources/ directory RESOURCES_DIR = ROOT_DIR / 'res...
35.909483
93
0.625375
880
8,331
5.8125
0.245455
0.058065
0.141935
0.16129
0.358358
0.358358
0.296188
0.289736
0.216422
0.084066
0
0.003425
0.123875
8,331
231
94
36.064935
0.697356
0.474733
0
0.094828
0
0
0.481948
0.411876
0
0
0
0
0
0
null
null
0.086207
0.025862
null
null
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
1
null
0
0
0
0
1
0
0
1
0
0
0
0
0
4
d24cef7075a55a780520530a7ea876fcd40efd6b
2,649
py
Python
test.py
santaclose/noose
e963138b81f380ca0f46369941cf65c4349bd4fb
[ "Apache-2.0" ]
8
2021-01-31T11:30:05.000Z
2021-09-01T07:48:34.000Z
test.py
santaclose/noose
e963138b81f380ca0f46369941cf65c4349bd4fb
[ "Apache-2.0" ]
4
2021-09-01T08:17:18.000Z
2021-09-24T22:32:24.000Z
test.py
santaclose/noose
e963138b81f380ca0f46369941cf65c4349bd4fb
[ "Apache-2.0" ]
1
2021-09-01T07:49:58.000Z
2021-09-01T07:49:58.000Z
import os import time import sys defines = ["LINUX", "TEST"] links = "-lsfml-graphics -lsfml-window -lsfml-system -lgtest -pthread" output = "test" defineString = "" first = True for item in defines: if not first: defineString += " " else: first = False defineString += f"-D{item}" os.chdir("test") print('---...
32.703704
259
0.624764
291
2,649
5.687285
0.230241
0.101511
0.12568
0.042296
0.700302
0.700302
0.681571
0.681571
0.681571
0.653776
0
0.000831
0.091733
2,649
81
260
32.703704
0.687032
0
0
0.444444
0
0.074074
0.66692
0.430956
0
0
0
0
0
1
0
false
0
0.055556
0
0.055556
0.277778
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
d26ce16c5b304988a6b5d84632bb238d29a3ef83
337
py
Python
sentiment/utils.py
SinanTang/simple-sentiment-analyser.lambda
3830b9c96dc4d436ff8d99e3aad049b03ebda34e
[ "MIT" ]
1
2020-11-29T12:50:41.000Z
2020-11-29T12:50:41.000Z
sentiment/utils.py
SinanTang/simple-sentiment-analyser.lambda
3830b9c96dc4d436ff8d99e3aad049b03ebda34e
[ "MIT" ]
null
null
null
sentiment/utils.py
SinanTang/simple-sentiment-analyser.lambda
3830b9c96dc4d436ff8d99e3aad049b03ebda34e
[ "MIT" ]
null
null
null
import os from pathlib import Path def get_project_root(): return Path(__file__).parent def get_training_data_path(): return os.path.join(get_project_root(), 'data/train') def load_stop_word_list(lang): fp = os.path.join(get_project_root(), 'data/stopwords/{}'.format(lang)) return open(fp, 'r').re...
21.0625
75
0.706231
52
337
4.269231
0.557692
0.135135
0.189189
0.117117
0.252252
0.252252
0.252252
0
0
0
0
0
0.136499
337
15
76
22.466667
0.762887
0
0
0
0
0
0.089021
0
0
0
0
0
0
1
0.333333
false
0
0.222222
0.222222
0.888889
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
964919d97c14fc18d854e30c3b2fc87b564be138
359
py
Python
elemental/admin.py
shawnadelic/django-elemental
5c09e3add921c9a7f661c29a4871846fb4c28f22
[ "MIT" ]
null
null
null
elemental/admin.py
shawnadelic/django-elemental
5c09e3add921c9a7f661c29a4871846fb4c28f22
[ "MIT" ]
null
null
null
elemental/admin.py
shawnadelic/django-elemental
5c09e3add921c9a7f661c29a4871846fb4c28f22
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Link, Menu, Page class LinkAdmin(admin.ModelAdmin): pass class MenuAdmin(admin.ModelAdmin): pass class PageAdmin(admin.ModelAdmin): prepopulated_fields = {"slug": ("title",)} admin.site.register(Link, MenuAdmin) admin.site.register(Menu, MenuAdmin...
17.95
46
0.749304
44
359
6.090909
0.477273
0.16791
0.190299
0.179104
0
0
0
0
0
0
0
0
0.133705
359
19
47
18.894737
0.861736
0
0
0.181818
0
0
0.02507
0
0
0
0
0
0
1
0
false
0.181818
0.181818
0
0.545455
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
1
0
0
1
0
0
4
9650c0a4124b207d1bb0afc39614d847e36d7bd8
825
py
Python
python/space-age/space_age.py
jjkeyser/exercism
c2c21eb04a6564d9d41c8b317ebec53d63e5a3e8
[ "MIT" ]
null
null
null
python/space-age/space_age.py
jjkeyser/exercism
c2c21eb04a6564d9d41c8b317ebec53d63e5a3e8
[ "MIT" ]
null
null
null
python/space-age/space_age.py
jjkeyser/exercism
c2c21eb04a6564d9d41c8b317ebec53d63e5a3e8
[ "MIT" ]
null
null
null
class SpaceAge: EARTH_YEAR_IN_SECONDS = 31557600 def __init__(self, seconds): self.seconds = seconds self.age_on_earth = self.seconds / self.EARTH_YEAR_IN_SECONDS def on_earth(self): return round(self.age_on_earth, 2) def on_mercury(self): return round(self.age_on_ear...
25.78125
69
0.65697
127
825
3.984252
0.275591
0.13834
0.160079
0.249012
0.462451
0.462451
0.462451
0.118577
0
0
0
0.1168
0.242424
825
31
70
26.612903
0.6928
0
0
0
0
0
0
0
0
0
0
0
0
1
0.428571
false
0
0
0.380952
0.904762
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
1
1
0
0
4
9682eb99d1cd900ae2b2a969a51a352adce579b7
35
py
Python
settings.py
softwaresaved/reposearch
cdf6422f9b674052e1867c02216cd01d64fe95f2
[ "BSD-3-Clause" ]
null
null
null
settings.py
softwaresaved/reposearch
cdf6422f9b674052e1867c02216cd01d64fe95f2
[ "BSD-3-Clause" ]
2
2017-07-20T09:51:33.000Z
2017-07-20T15:32:56.000Z
settings.py
softwaresaved/reposearch
cdf6422f9b674052e1867c02216cd01d64fe95f2
[ "BSD-3-Clause" ]
null
null
null
MONGODATABASENAME = 'figsharedata'
17.5
34
0.828571
2
35
14.5
1
0
0
0
0
0
0
0
0
0
0
0
0.085714
35
1
35
35
0.90625
0
0
0
0
0
0.342857
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
96962c7303052c39c4919d316c9072a143ffa973
121
py
Python
Python/Unsorted/112a.py
LittleEndu/Codeforces
82c49b10702c58bc5ce062801d740a2f5f600062
[ "MIT" ]
null
null
null
Python/Unsorted/112a.py
LittleEndu/Codeforces
82c49b10702c58bc5ce062801d740a2f5f600062
[ "MIT" ]
null
null
null
Python/Unsorted/112a.py
LittleEndu/Codeforces
82c49b10702c58bc5ce062801d740a2f5f600062
[ "MIT" ]
null
null
null
aa = input().lower() bb = input().lower() if aa == bb: print("0") elif aa > bb: print("1") else: print("-1")
13.444444
20
0.495868
19
121
3.157895
0.526316
0.333333
0.3
0
0
0
0
0
0
0
0
0.032967
0.247934
121
8
21
15.125
0.626374
0
0
0
0
0
0.033058
0
0
0
0
0
0
1
0
false
0
0
0
0
0.375
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
96b4dddfcd1a2da469fb76efebc1d459fa832367
127
py
Python
FUNDADESK/APPS/HELPDESK/admin.py
flopezcpam/fundadesk-fmlc
66275055828f6b6173155418d745f093d9e1fa2f
[ "CC0-1.0" ]
null
null
null
FUNDADESK/APPS/HELPDESK/admin.py
flopezcpam/fundadesk-fmlc
66275055828f6b6173155418d745f093d9e1fa2f
[ "CC0-1.0" ]
null
null
null
FUNDADESK/APPS/HELPDESK/admin.py
flopezcpam/fundadesk-fmlc
66275055828f6b6173155418d745f093d9e1fa2f
[ "CC0-1.0" ]
null
null
null
from django.contrib import admin from .models import Incidencia # Register your models here. admin.site.register(Incidencia)
21.166667
32
0.811024
17
127
6.058824
0.647059
0
0
0
0
0
0
0
0
0
0
0
0.125984
127
6
33
21.166667
0.927928
0.204724
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
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
4
736ae0cab9222b017a1c6bfd6552e32df5d97870
129
py
Python
submissions/abc080/a.py
m-star18/atcoder
08e475810516602fa088f87daf1eba590b4e07cc
[ "Unlicense" ]
1
2021-05-10T01:16:28.000Z
2021-05-10T01:16:28.000Z
submissions/abc080/a.py
m-star18/atcoder
08e475810516602fa088f87daf1eba590b4e07cc
[ "Unlicense" ]
3
2021-05-11T06:14:15.000Z
2021-06-19T08:18:36.000Z
submissions/abc080/a.py
m-star18/atcoder
08e475810516602fa088f87daf1eba590b4e07cc
[ "Unlicense" ]
null
null
null
# sys.stdin.readline() import sys import math input = sys.stdin.readline n, a, b = map(int, input().split()) print(min(n*a, b))
16.125
35
0.666667
23
129
3.73913
0.608696
0.186047
0.372093
0
0
0
0
0
0
0
0
0
0.139535
129
7
36
18.428571
0.774775
0.155039
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0.2
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
7370d6319aed0136ee694d5d67e4ac2834e1d6c0
54
py
Python
mtg_ssm/scryfall/third_party/__init__.py
suniahk/mtg_ssm
66912ff1a8d3532683d303b8d5d0c13287c28b32
[ "MIT" ]
29
2016-03-18T12:10:36.000Z
2022-02-20T17:32:06.000Z
mtg_ssm/scryfall/third_party/__init__.py
gwax/mtgcdb
f45b45052f34bebd600c8be0c4fb787856971162
[ "MIT" ]
6
2016-04-26T08:25:01.000Z
2021-02-22T11:56:27.000Z
mtg_ssm/scryfall/third_party/__init__.py
gwax/mtgcdb
f45b45052f34bebd600c8be0c4fb787856971162
[ "MIT" ]
8
2016-06-12T09:44:57.000Z
2021-11-05T01:17:59.000Z
"""Establish mtg_ssm.scryfall.third_party package."""
27
53
0.777778
7
54
5.714286
1
0
0
0
0
0
0
0
0
0
0
0
0.055556
54
1
54
54
0.784314
0.87037
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
737462f1355d5a240da40c16a10d16abce218a06
63
py
Python
airtech/apps/tickets/__init__.py
sam-karis/airtech
8e1cd7a9821719d27db046218625d70daaa46139
[ "MIT" ]
null
null
null
airtech/apps/tickets/__init__.py
sam-karis/airtech
8e1cd7a9821719d27db046218625d70daaa46139
[ "MIT" ]
4
2021-03-18T23:42:26.000Z
2022-02-10T12:36:23.000Z
airtech/apps/tickets/__init__.py
sam-karis/airtech
8e1cd7a9821719d27db046218625d70daaa46139
[ "MIT" ]
null
null
null
default_app_config = 'airtech.apps.tickets.apps.TicketsConfig'
31.5
62
0.84127
8
63
6.375
0.875
0
0
0
0
0
0
0
0
0
0
0
0.047619
63
1
63
63
0.85
0
0
0
0
0
0.619048
0.619048
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
7389a6131435fe7fc464918852f62d1c95ba54d3
146
py
Python
publicart_watcher/tests/test_command_line.py
rememberlenny/publicart-watcher
1bf880355f675eca2c0e6fbb48aa7d57ff39e515
[ "MIT" ]
null
null
null
publicart_watcher/tests/test_command_line.py
rememberlenny/publicart-watcher
1bf880355f675eca2c0e6fbb48aa7d57ff39e515
[ "MIT" ]
null
null
null
publicart_watcher/tests/test_command_line.py
rememberlenny/publicart-watcher
1bf880355f675eca2c0e6fbb48aa7d57ff39e515
[ "MIT" ]
null
null
null
from unittest import TestCase from publicart_watcher.command_line import main class TestCmd(TestCase): def test_basic(self): main()
18.25
47
0.753425
19
146
5.631579
0.789474
0
0
0
0
0
0
0
0
0
0
0
0.184932
146
8
48
18.25
0.89916
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
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
1
0
0
4
73a7b3a759250b8bb558898fe67d793d8c626091
485
py
Python
src/ikazuchi/tests/data/rst/api_call_text_with_indent.py
t2y/ikazuchi
7023111e92fa47360c50cfefd1398c554475f2c6
[ "Apache-2.0" ]
null
null
null
src/ikazuchi/tests/data/rst/api_call_text_with_indent.py
t2y/ikazuchi
7023111e92fa47360c50cfefd1398c554475f2c6
[ "Apache-2.0" ]
null
null
null
src/ikazuchi/tests/data/rst/api_call_text_with_indent.py
t2y/ikazuchi
7023111e92fa47360c50cfefd1398c554475f2c6
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- DATA_SET = [ ( u"text line", (u"", u"text line") ), ( u" ", (u" ", u" ") ), ( u" \t ", (u" \t", u" ") ), ( u" text line", (u" ", u"text line") ), ( u"\ttext line", (u"\t", u"te...
14.69697
33
0.265979
54
485
2.37037
0.222222
0.351563
0.492188
0.46875
0.59375
0.59375
0.578125
0.578125
0
0
0
0.004132
0.501031
485
32
34
15.15625
0.524793
0.043299
0
0.5
0
0
0.281385
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
1
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
4
73a8cea2d222e9e117fbd8fe7aaa76df18700d0f
91
py
Python
intask_api/subtasks/apps.py
KirovVerst/intask
4bdec6f49fa2873cca1354d7d3967973f5bcadc3
[ "MIT" ]
null
null
null
intask_api/subtasks/apps.py
KirovVerst/intask
4bdec6f49fa2873cca1354d7d3967973f5bcadc3
[ "MIT" ]
7
2016-08-17T23:08:31.000Z
2022-03-02T02:23:08.000Z
intask_api/subtasks/apps.py
KirovVerst/intask
4bdec6f49fa2873cca1354d7d3967973f5bcadc3
[ "MIT" ]
null
null
null
from django.apps import AppConfig class SubtasksConfig(AppConfig): name = 'subtasks'
15.166667
33
0.758242
10
91
6.9
0.9
0
0
0
0
0
0
0
0
0
0
0
0.164835
91
5
34
18.2
0.907895
0
0
0
0
0
0.087912
0
0
0
0
0
0
1
0
false
0
0.333333
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
1
0
1
0
0
4
73c80160f8e80e22732257c8bf5bc870cf6196ae
758
py
Python
p99/python3/p31.py
jlou2u/katas
bbdeef5f2bf3c26d9764c173793724df3f01341f
[ "MIT" ]
null
null
null
p99/python3/p31.py
jlou2u/katas
bbdeef5f2bf3c26d9764c173793724df3f01341f
[ "MIT" ]
null
null
null
p99/python3/p31.py
jlou2u/katas
bbdeef5f2bf3c26d9764c173793724df3f01341f
[ "MIT" ]
null
null
null
def is_prime(n): if n <= 3: return True return not any([n % i == 0 for i in range(2, n)]) def test_is_prime(): assert is_prime(1) assert is_prime(2) assert is_prime(3) assert is_prime(5) assert is_prime(7) assert is_prime(11) assert is_prime(13) assert is_prime(17) ...
19.435897
53
0.639842
133
758
3.43609
0.300752
0.413567
0.483589
0.280088
0.094092
0.094092
0.094092
0
0
0
0
0.079422
0.269129
758
38
54
19.947368
0.745487
0
0
0.066667
0
0
0
0
0
0
0
0
0.833333
1
0.066667
false
0
0
0
0.133333
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
1
0
0
0
0
0
0
0
0
0
4
73d31f64b5fd041e2478f9b98b095c6eef171d5b
735
py
Python
thredo/queue.py
dabeaz/thredo
bd17c885bdad514fa2729998fe8b9388800b5fc2
[ "MIT" ]
340
2018-07-23T18:21:56.000Z
2021-12-11T05:50:58.000Z
thredo/queue.py
dabeaz/thredo
bd17c885bdad514fa2729998fe8b9388800b5fc2
[ "MIT" ]
6
2018-07-31T11:52:56.000Z
2019-11-25T19:52:32.000Z
thredo/queue.py
dabeaz/thredo
bd17c885bdad514fa2729998fe8b9388800b5fc2
[ "MIT" ]
25
2018-07-27T06:09:05.000Z
2022-03-13T12:53:23.000Z
# queue.py # # A basic queue __all__ = [ 'Queue' ] import curio # -- Thredo from .thr import TAWAIT as AWAIT class Queue(object): def __init__(self, maxsize=0): self._queue = curio.Queue(maxsize) def empty(self): return self._queue.empty() def full(self): return self._queue.ful...
17.5
43
0.608163
97
735
4.340206
0.329897
0.171021
0.166271
0.190024
0.171021
0
0
0
0
0
0
0.001876
0.27483
735
41
44
17.926829
0.787993
0.043537
0
0
0
0
0.007163
0
0
0
0
0
0
1
0.416667
false
0
0.083333
0.375
0.916667
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
1
1
0
0
4
fb62541cdfbdf522f087d08126892db91d803f20
21
py
Python
singer_tap_amazon_mws/cache.py
pys933/singer-tap-amazon-mws
f36649ee0127c41ebde3cb3797469a736c59680f
[ "Apache-2.0" ]
4
2019-09-10T15:24:44.000Z
2020-06-18T18:36:10.000Z
singer_tap_amazon_mws/cache.py
pys933/singer-tap-amazon-mws
f36649ee0127c41ebde3cb3797469a736c59680f
[ "Apache-2.0" ]
1
2019-11-01T20:50:19.000Z
2020-05-25T16:57:52.000Z
singer_tap_amazon_mws/cache.py
pys933/singer-tap-amazon-mws
f36649ee0127c41ebde3cb3797469a736c59680f
[ "Apache-2.0" ]
6
2019-09-10T15:24:45.000Z
2021-03-30T23:51:49.000Z
InventoryCache = {}
7
19
0.666667
1
21
14
1
0
0
0
0
0
0
0
0
0
0
0
0.190476
21
2
20
10.5
0.823529
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
fb7c6d61e4eee6e1471882d1ec776feeceefe5aa
57
py
Python
models/synapses/PCDCNnMFDCN2015cSudhakar/__init__.py
HarshKhilawala/cerebmodels
d2a2f2ef947ef9dc23ddce6e55159240cd3233cb
[ "BSD-3-Clause" ]
null
null
null
models/synapses/PCDCNnMFDCN2015cSudhakar/__init__.py
HarshKhilawala/cerebmodels
d2a2f2ef947ef9dc23ddce6e55159240cd3233cb
[ "BSD-3-Clause" ]
9
2020-03-24T17:09:03.000Z
2021-05-17T16:11:17.000Z
models/synapses/PCDCNnMFDCN2015cSudhakar/__init__.py
myHBPwork/cerebmodels
371ea7f1bbe388f1acade17c7128b8ca6ab8fb7a
[ "BSD-3-Clause" ]
1
2021-05-21T03:08:41.000Z
2021-05-21T03:08:41.000Z
# ~/models/synapses/PCDCNnMFDCN2015cSudhakar/__init__.py
28.5
56
0.842105
5
57
8.8
1
0
0
0
0
0
0
0
0
0
0
0.072727
0.035088
57
1
57
57
0.727273
0.947368
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
fb7e349445e31e2c6f83c3028f877ba44b231032
8,837
py
Python
tests/test_decorators.py
simonw/django-sharding
06258973963eae1112ac4bc572592f729f6957fc
[ "BSD-3-Clause" ]
null
null
null
tests/test_decorators.py
simonw/django-sharding
06258973963eae1112ac4bc572592f729f6957fc
[ "BSD-3-Clause" ]
null
null
null
tests/test_decorators.py
simonw/django-sharding
06258973963eae1112ac4bc572592f729f6957fc
[ "BSD-3-Clause" ]
null
null
null
import unittest from django.conf import settings from django.db import models from django_sharding_library.id_generation_strategies import TableStrategyModel from django_sharding_library.decorators import model_config from django_sharding_library.exceptions import NonExistentDatabaseException, ShardedModelInitializati...
42.690821
123
0.665724
910
8,837
6.128571
0.148352
0.021517
0.031558
0.058096
0.720459
0.713825
0.681729
0.664156
0.657343
0.622198
0
0.007381
0.264117
8,837
206
124
42.898058
0.850223
0.021614
0
0.740506
0
0
0.040963
0.012266
0
0
0
0
0.082278
1
0.183544
false
0.113924
0.082278
0
0.411392
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
fb99f9ca00b3ff6d12f0884a7212dcf42fdfda5b
402
py
Python
KlasaDecyzyjna.py
Grundi1410/uwm-ssi
522e573203858f85d9cbe5e89daa7c0a5cdac7db
[ "MIT" ]
null
null
null
KlasaDecyzyjna.py
Grundi1410/uwm-ssi
522e573203858f85d9cbe5e89daa7c0a5cdac7db
[ "MIT" ]
null
null
null
KlasaDecyzyjna.py
Grundi1410/uwm-ssi
522e573203858f85d9cbe5e89daa7c0a5cdac7db
[ "MIT" ]
null
null
null
class KlasaDecyzyjna: def __init__(self, klasaDecyzyjna=0, attributes=0): self.klasaDecyzyjna = "" self.attributes = [] def setKlasaDecyzyjna(self, a): self.klasaDecyzyjna = a def setAttributes(self, a): self.attributes = a def getKlasaDecyzyjna(self): return...
22.333333
55
0.646766
39
402
6.564103
0.333333
0.28125
0.070313
0
0
0
0
0
0
0
0
0.006757
0.263682
402
17
56
23.647059
0.858108
0
0
0
0
0
0
0
0
0
0
0
0
1
0.416667
false
0
0
0.166667
0.666667
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
fba4a3752567cdbbfd0894624db7edce08ab87da
85
py
Python
flash/apps.py
mdrichar/speedymc
525dccf1f7629b50b3a7275991fd6d8efcf18701
[ "MIT" ]
null
null
null
flash/apps.py
mdrichar/speedymc
525dccf1f7629b50b3a7275991fd6d8efcf18701
[ "MIT" ]
null
null
null
flash/apps.py
mdrichar/speedymc
525dccf1f7629b50b3a7275991fd6d8efcf18701
[ "MIT" ]
null
null
null
from django.apps import AppConfig class FlashConfig(AppConfig): name = 'flash'
14.166667
33
0.741176
10
85
6.3
0.9
0
0
0
0
0
0
0
0
0
0
0
0.176471
85
5
34
17
0.9
0
0
0
0
0
0.058824
0
0
0
0
0
0
1
0
false
0
0.333333
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
1
0
1
0
0
4
fbb4b49cd4c8e4b50a3868ea30cc9e09b860d880
6,612
py
Python
pymars/tests/test_reduce_model.py
tsikes/pyMARS
ca393697f3bcc78d93c9f9d0254ea3f1dd049524
[ "MIT" ]
39
2016-03-23T19:52:11.000Z
2022-02-17T12:50:44.000Z
pymars/tests/test_reduce_model.py
tsikes/pyMARS
ca393697f3bcc78d93c9f9d0254ea3f1dd049524
[ "MIT" ]
62
2017-06-16T23:24:17.000Z
2021-07-23T03:01:34.000Z
pymars/tests/test_reduce_model.py
tsikes/pyMARS
ca393697f3bcc78d93c9f9d0254ea3f1dd049524
[ "MIT" ]
41
2016-02-25T18:38:12.000Z
2022-03-15T02:57:06.000Z
""" Tests the create trimmed model unit used by pyMARS """ import os import pkg_resources import pytest import cantera as ct from ..reduce_model import trim def relative_location(file): file_path = os.path.join(file) return pkg_resources.resource_filename(__name__, file_path) class TestTrim: def test_...
36.131148
106
0.660012
831
6,612
5.046931
0.158845
0.094421
0.064378
0.063424
0.768479
0.748927
0.735813
0.70267
0.692179
0.692179
0
0.013093
0.260738
6,612
182
107
36.32967
0.844926
0.26588
0
0.45122
0
0
0.068559
0.024816
0
0
0
0
0.304878
1
0.109756
false
0
0.060976
0
0.195122
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
83734422d52fcc66a3ec353f44ee1bb102e69dda
77
py
Python
gpcrawler/entrypoint.py
fst034356/crawler
98f0c1a129b3b5b77fe88971f4f0c6aae5a8964f
[ "MIT" ]
92
2017-03-06T06:32:49.000Z
2020-04-05T02:14:56.000Z
gpcrawler/entrypoint.py
GeraldDoubleJ/crawler
ab068b1b4d8d00336bb11cea0860244e0817e472
[ "MIT" ]
1
2018-06-03T10:38:26.000Z
2018-09-04T09:17:40.000Z
gpcrawler/entrypoint.py
GeraldDoubleJ/crawler
ab068b1b4d8d00336bb11cea0860244e0817e472
[ "MIT" ]
58
2017-04-09T11:18:40.000Z
2020-03-23T11:20:17.000Z
from scrapy.cmdline import execute execute(['scrapy', 'crawl', 'googleplay'])
38.5
42
0.753247
9
77
6.444444
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.077922
77
2
42
38.5
0.816901
0
0
0
0
0
0.269231
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
83a3a1112068729b380736efe81c6a6773f992fa
241
py
Python
pyleecan/Methods/Simulation/OPslip/get_slip.py
Eomys/Pyleecan
4d7f0cbabf0311006963e7a2f435db2ecd901118
[ "Apache-2.0" ]
4
2017-11-27T10:14:34.000Z
2018-09-20T11:30:32.000Z
pyleecan/Methods/Simulation/OPslip/get_slip.py
Eomys/Pyleecan
4d7f0cbabf0311006963e7a2f435db2ecd901118
[ "Apache-2.0" ]
null
null
null
pyleecan/Methods/Simulation/OPslip/get_slip.py
Eomys/Pyleecan
4d7f0cbabf0311006963e7a2f435db2ecd901118
[ "Apache-2.0" ]
null
null
null
def get_slip(self): """Returns the Rotor mechanical slip Parameters ---------- self : OPslip An OPslip object Returns ------- slip : float Rotor mechanical slip """ return self.slip_ref
15.0625
40
0.543568
25
241
5.16
0.6
0.232558
0.294574
0
0
0
0
0
0
0
0
0
0.3361
241
15
41
16.066667
0.80625
0.609959
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
83a618abd558f910856d16b1c240006ee4587c42
176
py
Python
Functions and modules/lambda_function.py
UgainJain/LearnPythonByDoing
4784c334d7f485223a29592ab47c6c017ec67145
[ "MIT" ]
5
2018-11-06T11:15:35.000Z
2020-07-29T21:54:28.000Z
Functions and modules/lambda_function.py
UgainJain/LearnPythonByDoing
4784c334d7f485223a29592ab47c6c017ec67145
[ "MIT" ]
1
2018-11-13T13:22:11.000Z
2018-11-13T13:22:11.000Z
Functions and modules/lambda_function.py
UgainJain/LearnPythonByDoing
4784c334d7f485223a29592ab47c6c017ec67145
[ "MIT" ]
11
2018-11-06T11:12:21.000Z
2019-07-12T11:43:05.000Z
cube=lambda a : a*a*a; #lambda function declaration print("cube of 6 :",cube(6)) print("cube of 9 :",cube(9)) print("cube of 11 :",cube(11))
35.2
83
0.522727
27
176
3.407407
0.37037
0.065217
0.358696
0
0
0
0
0
0
0
0
0.065574
0.306818
176
5
84
35.2
0.688525
0.153409
0
0
0
0
0.234483
0
0
0
0
0
0
1
0
false
0
0
0
0
0.75
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
83ce5331863c9703df63c671f015a407cc6f3ce3
340
py
Python
Instagram_Web_Scraper/public_account.py
rahulnair502/Projects
168572d99bb4c266b3f57a325edd8e10bc2e8344
[ "MIT" ]
null
null
null
Instagram_Web_Scraper/public_account.py
rahulnair502/Projects
168572d99bb4c266b3f57a325edd8e10bc2e8344
[ "MIT" ]
null
null
null
Instagram_Web_Scraper/public_account.py
rahulnair502/Projects
168572d99bb4c266b3f57a325edd8e10bc2e8344
[ "MIT" ]
null
null
null
##used for accounts that are not yours class Public_account: def __init__(self, username): self.username = username def insta_page2(self): print(f"https://www.instagram.com/{self.username}/?hl=en") driver.get(f"https://www.instagram.com/{self.username}/?hl=en") time.sleep(random...
34
71
0.658824
49
340
4.44898
0.673469
0.220183
0.082569
0.165138
0.33945
0.33945
0.33945
0.33945
0.33945
0
0
0.017986
0.182353
340
9
72
37.777778
0.766187
0.105882
0
0
0
0
0.317881
0
0
0
0
0
0
1
0.285714
false
0
0
0
0.428571
0.142857
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
83e047444793f7e0c02754f221c13cf66c3776bc
28
py
Python
data/studio21_generated/introductory/4208/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/introductory/4208/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/introductory/4208/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
def ipsubnet2list(subnet):
14
26
0.785714
3
28
7.333333
1
0
0
0
0
0
0
0
0
0
0
0.04
0.107143
28
2
27
14
0.84
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
4