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
9b7b749379709ce7660fccadfde9562d7d5c9546
197
py
Python
tests/util.py
wonesy/rstream
5a831f73711f9bc27076f93bcdefbc1b05a73300
[ "MIT" ]
16
2021-08-16T10:42:53.000Z
2022-03-30T18:35:41.000Z
tests/util.py
wonesy/rstream
5a831f73711f9bc27076f93bcdefbc1b05a73300
[ "MIT" ]
20
2021-09-22T08:12:52.000Z
2022-03-28T07:11:37.000Z
tests/util.py
wonesy/rstream
5a831f73711f9bc27076f93bcdefbc1b05a73300
[ "MIT" ]
4
2021-08-16T07:34:05.000Z
2022-03-21T13:42:24.000Z
import asyncio async def wait_for(condition, timeout=1): async def _wait(): while not condition(): await asyncio.sleep(0.01) await asyncio.wait_for(_wait(), timeout)
19.7
44
0.649746
26
197
4.769231
0.576923
0.129032
0.193548
0
0
0
0
0
0
0
0
0.026846
0.243655
197
9
45
21.888889
0.805369
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
9b8ab0431d3a446e429d5a1d1d20ab9f28b11bcc
110
py
Python
tests/conftest.py
cjrh/coroexecutor
a0f6cd4bee18b9a250744e7c9685ed04274f5ec4
[ "Apache-2.0" ]
12
2019-12-01T03:16:07.000Z
2022-02-14T12:18:41.000Z
tests/conftest.py
cjrh/coroexecutor
a0f6cd4bee18b9a250744e7c9685ed04274f5ec4
[ "Apache-2.0" ]
2
2020-05-12T13:57:40.000Z
2021-05-23T03:23:09.000Z
tests/conftest.py
cjrh/coroexecutor
a0f6cd4bee18b9a250744e7c9685ed04274f5ec4
[ "Apache-2.0" ]
null
null
null
import logging logging.basicConfig(level=logging.INFO) logging.getLogger('flake8').setLevel(logging.WARNING)
22
53
0.827273
13
110
7
0.692308
0
0
0
0
0
0
0
0
0
0
0.009524
0.045455
110
4
54
27.5
0.857143
0
0
0
0
0
0.054545
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
9b9c66d51660123cf06a8afe313cc5b227b6eebd
490
py
Python
asynchronous_queue/weather/models.py
tomaszpasternak94/Django_Celery_Redis_bsc_setup
5bef394e493f6979d93e74138130e47462c6d022
[ "MIT" ]
null
null
null
asynchronous_queue/weather/models.py
tomaszpasternak94/Django_Celery_Redis_bsc_setup
5bef394e493f6979d93e74138130e47462c6d022
[ "MIT" ]
null
null
null
asynchronous_queue/weather/models.py
tomaszpasternak94/Django_Celery_Redis_bsc_setup
5bef394e493f6979d93e74138130e47462c6d022
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class City(models.Model): name = models.CharField(max_length=64, unique=True) temperature = models.DecimalField(max_digits=10, decimal_places=2, null=True, blank=True) description = models.CharField(max_length=255, null=True, blank=True) icon = m...
37.692308
93
0.734694
70
490
5
0.5
0.171429
0.205714
0.274286
0.251429
0
0
0
0
0
0
0.026442
0.15102
490
13
94
37.692308
0.814904
0.04898
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0.111111
1
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
9ba4d8ef158690a04841f9519daeea84cc95bd9d
83
py
Python
gouda/java/__init__.py
NaturalHistoryMuseum/gouda
d748522dbf80c26f71e3e301ef4883b2f8d1f2a8
[ "MIT" ]
23
2015-12-09T20:12:10.000Z
2021-10-01T16:39:36.000Z
gouda/java/__init__.py
NaturalHistoryMuseum/gouda
d748522dbf80c26f71e3e301ef4883b2f8d1f2a8
[ "MIT" ]
27
2016-03-01T07:59:41.000Z
2016-12-21T09:24:03.000Z
gouda/java/__init__.py
NaturalHistoryMuseum/gouda
d748522dbf80c26f71e3e301ef4883b2f8d1f2a8
[ "MIT" ]
3
2015-07-22T18:12:17.000Z
2019-11-29T10:43:57.000Z
"""Java libraries and command-line programs required by some parts of Halloumi """
27.666667
78
0.771084
12
83
5.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.144578
83
2
79
41.5
0.901408
0.903614
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
9bb2c07550f235c8930ba73ccf0a34ae9fc451fb
824
py
Python
cysat/Command.py
tmusa/opencysat
885ce39182d4814e2f2937725b8cc8a4c3b08932
[ "Apache-2.0", "CC0-1.0" ]
null
null
null
cysat/Command.py
tmusa/opencysat
885ce39182d4814e2f2937725b8cc8a4c3b08932
[ "Apache-2.0", "CC0-1.0" ]
null
null
null
cysat/Command.py
tmusa/opencysat
885ce39182d4814e2f2937725b8cc8a4c3b08932
[ "Apache-2.0", "CC0-1.0" ]
null
null
null
import Queue class Command: def __init__(self, az, el): self.az = az self.el = el def __repr__(self): return "w " + "%.03d" % self.az + " " +"%.03d" % self.el class Choice: def __init__(self, q, pt, maxEl): self.q = q self.pt = pt self.maxEl = maxEl def __repr__(self): return...
21.128205
135
0.623786
130
824
3.769231
0.3
0.163265
0.142857
0.104082
0
0
0
0
0
0
0
0.006349
0.235437
824
38
136
21.684211
0.771429
0
0
0.1
0
0
0.125
0
0
0
0
0
0
1
0.366667
false
0.066667
0.033333
0.266667
0.766667
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
32f761758b61f9681b4167b3ac32c9953afd01c4
58
py
Python
dyndnsc/tests/updater/__init__.py
infothrill/python-dyndnsc
7ee6c55b3cca751d7bd7155ac935d4ad13189684
[ "MIT" ]
35
2015-02-13T02:54:49.000Z
2022-03-16T17:03:07.000Z
dyndnsc/tests/updater/__init__.py
infothrill/python-dyndnsc
7ee6c55b3cca751d7bd7155ac935d4ad13189684
[ "MIT" ]
121
2015-02-04T15:48:08.000Z
2022-03-27T17:25:58.000Z
dyndnsc/tests/updater/__init__.py
infothrill/python-dyndnsc
7ee6c55b3cca751d7bd7155ac935d4ad13189684
[ "MIT" ]
9
2015-04-30T15:48:06.000Z
2018-07-05T12:50:25.000Z
# -*- coding: utf-8 -*- """Tests for updater package."""
14.5
32
0.551724
7
58
4.571429
1
0
0
0
0
0
0
0
0
0
0
0.020833
0.172414
58
3
33
19.333333
0.645833
0.844828
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
fd25b5195a1a8e01b0ff1a00086d758e94358999
130
py
Python
pyprofstats.py
mschober/shell
e5ef738e5f299cecc62e9dc2f59c5849231426dc
[ "MIT" ]
null
null
null
pyprofstats.py
mschober/shell
e5ef738e5f299cecc62e9dc2f59c5849231426dc
[ "MIT" ]
null
null
null
pyprofstats.py
mschober/shell
e5ef738e5f299cecc62e9dc2f59c5849231426dc
[ "MIT" ]
null
null
null
#!/usr/bin/python import pstats, sys p = pstats.Stats(sys.argv[1]) print p.sort_stats('cumulative').print_stats(int(sys.argv[2]))
26
62
0.730769
23
130
4.043478
0.652174
0.150538
0
0
0
0
0
0
0
0
0
0.016529
0.069231
130
4
63
32.5
0.752066
0.123077
0
0
0
0
0.088496
0
0
0
0
0
0
0
null
null
0
0.333333
null
null
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
4
fd362cb0cd4c65b9ff6f67f5dd72fba0b2284d4e
126
py
Python
bugtests/test112.py
doom38/jython_v2.2.1
0803a0c953c294e6d14f9fc7d08edf6a3e630a15
[ "CNRI-Jython" ]
null
null
null
bugtests/test112.py
doom38/jython_v2.2.1
0803a0c953c294e6d14f9fc7d08edf6a3e630a15
[ "CNRI-Jython" ]
null
null
null
bugtests/test112.py
doom38/jython_v2.2.1
0803a0c953c294e6d14f9fc7d08edf6a3e630a15
[ "CNRI-Jython" ]
null
null
null
""" Check slice [::-1] """ import support if 'abcdef'[::-1] != 'fedcba': raise support.TestError("slice [::-1] failed")
14
50
0.571429
15
126
4.8
0.733333
0.166667
0
0
0
0
0
0
0
0
0
0.028571
0.166667
126
8
51
15.75
0.657143
0.142857
0
0
0
0
0.31
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
fd3a0f496e72a061fbe7dc6cd53657e1e4e8f729
144
py
Python
Python1/python1Homework/test.py
ceeblet/OST_PythonCertificationTrack
042e0ce964bc88b3f4132dcbd7e06c5f504eae34
[ "MIT" ]
null
null
null
Python1/python1Homework/test.py
ceeblet/OST_PythonCertificationTrack
042e0ce964bc88b3f4132dcbd7e06c5f504eae34
[ "MIT" ]
null
null
null
Python1/python1Homework/test.py
ceeblet/OST_PythonCertificationTrack
042e0ce964bc88b3f4132dcbd7e06c5f504eae34
[ "MIT" ]
null
null
null
#!/usr/local/bin/python3 #for c in "abcdefghijklmnopqrstuvwxyz": # print(c) for c in "aBcDEFghIJkLMNopqrSTUVwxyZ".lower(): print(c)
20.571429
46
0.6875
17
144
5.823529
0.588235
0.080808
0.121212
0.646465
0
0
0
0
0
0
0
0.008333
0.166667
144
7
47
20.571429
0.816667
0.506944
0
0
0
0
0.376812
0.376812
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
fd6264e63b511f77582f559e8b4e1b4a4ec05e58
37
py
Python
for.py
Srinivassan-Ramamurthy/python_programs
53b390669c7e88532c67d80b758a9199d6fde8cf
[ "bzip2-1.0.6" ]
null
null
null
for.py
Srinivassan-Ramamurthy/python_programs
53b390669c7e88532c67d80b758a9199d6fde8cf
[ "bzip2-1.0.6" ]
null
null
null
for.py
Srinivassan-Ramamurthy/python_programs
53b390669c7e88532c67d80b758a9199d6fde8cf
[ "bzip2-1.0.6" ]
null
null
null
for i in range(5,1,-1): print(i)
12.333333
23
0.540541
9
37
2.222222
0.777778
0
0
0
0
0
0
0
0
0
0
0.107143
0.243243
37
2
24
18.5
0.607143
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
b5c748dd8c80299c93ee8c019ad99af6735cf377
11,243
py
Python
myuw/test/dao/test_stud_future_terms.py
timtim17/myuw
d59702a8095daf049d7e57cbb1f7f2a5bebc69af
[ "Apache-2.0" ]
null
null
null
myuw/test/dao/test_stud_future_terms.py
timtim17/myuw
d59702a8095daf049d7e57cbb1f7f2a5bebc69af
[ "Apache-2.0" ]
null
null
null
myuw/test/dao/test_stud_future_terms.py
timtim17/myuw
d59702a8095daf049d7e57cbb1f7f2a5bebc69af
[ "Apache-2.0" ]
null
null
null
# Copyright 2022 UW-IT, University of Washington # SPDX-License-Identifier: Apache-2.0 from django.test import TransactionTestCase from django.conf import settings from restclients_core.exceptions import DataFailureException from myuw.dao.stud_future_terms import ( _get_future_registrations, get_registered_future_...
45.334677
73
0.621453
1,317
11,243
5.094913
0.091116
0.185544
0.14307
0.075112
0.839791
0.81237
0.754098
0.686289
0.643219
0.598808
0
0.044225
0.233745
11,243
247
74
45.518219
0.734649
0.01601
0
0.615023
0
0
0.152225
0.011306
0
0
0
0
0.544601
1
0.018779
false
0
0.032864
0
0.056338
0
0
0
0
null
0
0
0
1
1
1
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
1fbd4694afc66b3dfd48a173b7e474cb6f1308a8
271
py
Python
server/util/dates.py
ibnesayeed/glimpse
a2c876c9b46b426e675a6b6fcd705be395d2e054
[ "Apache-2.0" ]
32
2017-06-12T15:53:14.000Z
2020-08-31T15:23:38.000Z
server/util/dates.py
ibnesayeed/glimpse
a2c876c9b46b426e675a6b6fcd705be395d2e054
[ "Apache-2.0" ]
1,316
2017-05-04T17:14:15.000Z
2020-09-28T18:32:00.000Z
server/util/dates.py
ibnesayeed/glimpse
a2c876c9b46b426e675a6b6fcd705be395d2e054
[ "Apache-2.0" ]
20
2017-10-10T20:07:07.000Z
2020-08-30T14:03:06.000Z
from datetime import datetime as dt SOLR_DATE_FORMAT = '%Y-%m-%d' def unix_to_solr_date(timestamp): date = dt.fromtimestamp(timestamp) return date.strftime(SOLR_DATE_FORMAT) def solr_date_to_date(date_str): return dt.strptime(date_str, SOLR_DATE_FORMAT)
20.846154
50
0.767528
43
271
4.511628
0.465116
0.206186
0.216495
0
0
0
0
0
0
0
0
0
0.140221
271
12
51
22.583333
0.832618
0
0
0
0
0
0.02952
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0.142857
0.714286
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
4
1fe1c50415c331b8efbb5fda695a987a181470eb
165
py
Python
age_detection.py
fairoz-ahmed/Python_Practice
e498f81fca02f0773f1c6e9f93e5f1cf1f94eb89
[ "MIT" ]
null
null
null
age_detection.py
fairoz-ahmed/Python_Practice
e498f81fca02f0773f1c6e9f93e5f1cf1f94eb89
[ "MIT" ]
null
null
null
age_detection.py
fairoz-ahmed/Python_Practice
e498f81fca02f0773f1c6e9f93e5f1cf1f94eb89
[ "MIT" ]
null
null
null
name = raw_input('Enter your name: ') age = int(raw_input('Enter your age: ')) age = 100-age years = 2018+age print('you will be 100 years old in ',str(years))
27.5
50
0.660606
29
165
3.689655
0.586207
0.149533
0.242991
0.317757
0
0
0
0
0
0
0
0.074627
0.187879
165
5
51
33
0.723881
0
0
0
0
0
0.3875
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
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
1fe96c0d52663d8154b0ffd89dcc55afbd119ba7
64
py
Python
generator/vkxml2rs/vkxml2rs.py
tsukushibito/tempura-vulkan
44533f7bea8e990766f152b69fedc47b0e3f3589
[ "Apache-2.0" ]
null
null
null
generator/vkxml2rs/vkxml2rs.py
tsukushibito/tempura-vulkan
44533f7bea8e990766f152b69fedc47b0e3f3589
[ "Apache-2.0" ]
null
null
null
generator/vkxml2rs/vkxml2rs.py
tsukushibito/tempura-vulkan
44533f7bea8e990766f152b69fedc47b0e3f3589
[ "Apache-2.0" ]
null
null
null
def vkxml2rs(path: str): pass # elements = parse(path)
12.8
28
0.609375
8
64
4.875
0.875
0
0
0
0
0
0
0
0
0
0
0.021277
0.265625
64
4
29
16
0.808511
0.34375
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0.5
0
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
1
0
1
0
0
0
0
0
4
1f10ac588e854846cd599ccaec7e47919c0a0d52
92
py
Python
helper.py
csc5nz/cs3240-labdemo
d9caeb77094b4caa3cb17bdec4dce9e19d465770
[ "MIT" ]
null
null
null
helper.py
csc5nz/cs3240-labdemo
d9caeb77094b4caa3cb17bdec4dce9e19d465770
[ "MIT" ]
null
null
null
helper.py
csc5nz/cs3240-labdemo
d9caeb77094b4caa3cb17bdec4dce9e19d465770
[ "MIT" ]
null
null
null
def greeting(msg): print("test of helper,test of new change to helper on branch ", msg)
30.666667
72
0.706522
16
92
4.0625
0.75
0.184615
0
0
0
0
0
0
0
0
0
0
0.195652
92
2
73
46
0.878378
0
0
0
0
0
0.586957
0
0
0
0
0
0
1
0.5
false
0
0
0
0.5
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
1
0
4
1f2c94835f068175e215b95d245eb7aee5053959
317
py
Python
sample_statistics.py
catskillsresearch/openasr20
b9821c4ee6a51501e81103c1d6d4db0ea8aaa31e
[ "Apache-2.0" ]
null
null
null
sample_statistics.py
catskillsresearch/openasr20
b9821c4ee6a51501e81103c1d6d4db0ea8aaa31e
[ "Apache-2.0" ]
null
null
null
sample_statistics.py
catskillsresearch/openasr20
b9821c4ee6a51501e81103c1d6d4db0ea8aaa31e
[ "Apache-2.0" ]
1
2021-07-28T02:13:21.000Z
2021-07-28T02:13:21.000Z
import numpy as np def sample_statistics(corpus, measurement, samples): return [(corpus, measurement, 'Mean', np.mean(samples)), (corpus, measurement, 'Median', np.median(samples)), (corpus, measurement, 'Min', np.min(samples)), (corpus, measurement, 'Max', np.max(samples))]
39.625
64
0.634069
35
317
5.714286
0.428571
0.425
0.36
0
0
0
0
0
0
0
0
0
0.208202
317
7
65
45.285714
0.796813
0
0
0
0
0
0.050473
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.166667
0.5
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
4
1f34d6f32fcddceec39e4f27c6c9a4cd2f3e1fa5
779
py
Python
api/admin.py
zhangyafeii/rest_vue
b54f420537cb1b474e7463c0cce55a7b455d361c
[ "MIT" ]
null
null
null
api/admin.py
zhangyafeii/rest_vue
b54f420537cb1b474e7463c0cce55a7b455d361c
[ "MIT" ]
null
null
null
api/admin.py
zhangyafeii/rest_vue
b54f420537cb1b474e7463c0cce55a7b455d361c
[ "MIT" ]
null
null
null
from django.contrib import admin from api import models admin.site.register(models.Course) admin.site.register(models.CourseDetail) admin.site.register(models.CourseChapter) admin.site.register(models.CourseCategory) admin.site.register(models.CourseOutline) admin.site.register(models.CourseSection) admin.site.registe...
33.869565
46
0.84724
99
779
6.666667
0.272727
0.245455
0.463636
0.627273
0
0
0
0
0
0
0
0
0.035944
779
22
47
35.409091
0.878828
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.1
0
0.1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
1f34f96a8e31a18f0ecaffea5b5bcf58521a4826
146
py
Python
ramda/max.py
jakobkolb/ramda.py
982b2172f4bb95b9a5b09eff8077362d6f2f0920
[ "MIT" ]
56
2018-08-06T08:44:58.000Z
2022-03-17T09:49:03.000Z
ramda/max.py
jakobkolb/ramda.py
982b2172f4bb95b9a5b09eff8077362d6f2f0920
[ "MIT" ]
28
2019-06-17T11:09:52.000Z
2022-02-18T16:59:21.000Z
ramda/max.py
jakobkolb/ramda.py
982b2172f4bb95b9a5b09eff8077362d6f2f0920
[ "MIT" ]
5
2019-09-18T09:24:38.000Z
2021-07-21T08:40:23.000Z
from toolz import curry import builtins @curry def max(x, y): """Returns the larger of its two arguments""" return builtins.max([x, y])
16.222222
49
0.678082
23
146
4.304348
0.73913
0.080808
0.10101
0
0
0
0
0
0
0
0
0
0.205479
146
8
50
18.25
0.853448
0.267123
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
1f44adda3b2fd0b57e072b508125819236fa8112
654
py
Python
sorting_algos/selection_sort/test_selection.py
katcosgrove/data-structures-and-algorithms
8683268183e79c6abeeb58187101cb140c65568d
[ "MIT" ]
1
2021-04-02T12:12:20.000Z
2021-04-02T12:12:20.000Z
sorting_algos/selection_sort/test_selection.py
katcosgrove/data-structures-and-algorithms
8683268183e79c6abeeb58187101cb140c65568d
[ "MIT" ]
2
2018-03-21T17:34:34.000Z
2018-03-26T16:46:07.000Z
sorting_algos/selection_sort/test_selection.py
katcosgrove/data-structures-and-algorithms
8683268183e79c6abeeb58187101cb140c65568d
[ "MIT" ]
2
2018-08-29T18:59:59.000Z
2019-04-12T21:16:14.000Z
from selection import selection def test_selection_sort(): """Test selection sort with small, even-numbered list.""" temp = selection([1, 5, 2, 18]) assert temp == [1, 2, 5, 18] def test_selection_sort_odd(): """Test selection sort with small, odd-nubered list.""" temp = selection([1, 5, 2, 18, ...
25.153846
61
0.619266
92
654
4.282609
0.282609
0.263959
0.345178
0.203046
0.360406
0.228426
0.111675
0
0
0
0
0.046602
0.212538
654
25
62
26.16
0.718447
0.25841
0
0
0
0
0.038793
0
0
0
0
0
0.307692
1
0.307692
false
0
0.076923
0
0.384615
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
1f6f30703bf26e882a71f268f3888c7cc5161465
250
py
Python
dao/question/question_category_map_dao.py
emaste-r/doctor_server
6369b26a4ef87ca2546c94d9085eea92cb37df34
[ "MIT" ]
null
null
null
dao/question/question_category_map_dao.py
emaste-r/doctor_server
6369b26a4ef87ca2546c94d9085eea92cb37df34
[ "MIT" ]
null
null
null
dao/question/question_category_map_dao.py
emaste-r/doctor_server
6369b26a4ef87ca2546c94d9085eea92cb37df34
[ "MIT" ]
null
null
null
# coding=utf-8 from common import db_name_config from dao.base.base_dao import BaseDao class QuestionCategoryMapDao(BaseDao): db_name = db_name_config.DOCTOR_QUESTION_DB table_name = db_name_config.DOCTOR_QUESTION_QUESTION_CATEGORY_MAP_TBL
27.777778
73
0.84
38
250
5.105263
0.526316
0.123711
0.185567
0.164948
0.309278
0.309278
0
0
0
0
0
0.004505
0.112
250
8
74
31.25
0.869369
0.048
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
1f94b8f2e4c7a498cec8f94ab02c76fd41adb905
34
py
Python
startup/01-olog.py
mrakitin/profile_olog
55603a232c620fce4f41fe07548ed4ad5edff0cf
[ "BSD-3-Clause" ]
null
null
null
startup/01-olog.py
mrakitin/profile_olog
55603a232c620fce4f41fe07548ed4ad5edff0cf
[ "BSD-3-Clause" ]
null
null
null
startup/01-olog.py
mrakitin/profile_olog
55603a232c620fce4f41fe07548ed4ad5edff0cf
[ "BSD-3-Clause" ]
null
null
null
nslsii.configure_olog(ip.user_ns)
17
33
0.852941
6
34
4.5
1
0
0
0
0
0
0
0
0
0
0
0
0.029412
34
1
34
34
0.818182
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
1f96deed509afd18ec1f173c90d82f26270dfb62
182
py
Python
tests/basics/set_unop.py
learnforpractice/micropython-cpp
004bc8382f74899e7b876cc29bfa6a9cc976ba10
[ "MIT" ]
13,648
2015-01-01T01:34:51.000Z
2022-03-31T16:19:53.000Z
tests/basics/set_unop.py
learnforpractice/micropython-cpp
004bc8382f74899e7b876cc29bfa6a9cc976ba10
[ "MIT" ]
7,092
2015-01-01T07:59:11.000Z
2022-03-31T23:52:18.000Z
tests/basics/set_unop.py
learnforpractice/micropython-cpp
004bc8382f74899e7b876cc29bfa6a9cc976ba10
[ "MIT" ]
4,942
2015-01-02T11:48:50.000Z
2022-03-31T19:57:10.000Z
# test set unary operations print(bool(set())) print(bool(set('abc'))) print(len(set())) print(len(set('abc'))) try: hash(set('abc')) except TypeError: print('TypeError')
14
27
0.637363
26
182
4.461538
0.461538
0.155172
0.206897
0
0
0
0
0
0
0
0
0
0.137363
182
12
28
15.166667
0.738854
0.137363
0
0
0
0
0.116129
0
0
0
0
0
0
1
0
true
0
0
0
0
0.625
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
4
1f980a1cb59d060b18b77a1a821ea6b0c7125907
37
py
Python
examples/cogs/config.py
Sigmanificient/nipistaa
ea2fb8692e1377537d91be2acd0f11b810f744ea
[ "MIT" ]
null
null
null
examples/cogs/config.py
Sigmanificient/nipistaa
ea2fb8692e1377537d91be2acd0f11b810f744ea
[ "MIT" ]
5
2022-02-04T13:56:18.000Z
2022-03-18T13:48:34.000Z
examples/cogs/config.py
Sigmanificient/nipistaa
ea2fb8692e1377537d91be2acd0f11b810f744ea
[ "MIT" ]
null
null
null
GUILD_ID: int = ... TOKEN: str = ...
12.333333
19
0.513514
5
37
3.6
1
0
0
0
0
0
0
0
0
0
0
0
0.216216
37
2
20
18.5
0.62069
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
2f29a7e1114e7214a830c9b16d95bf482becb66e
135
py
Python
WebMirror/management/rss_parser_funcs/feed_parse_extractBlurbtranslationsWordpressCom.py
fake-name/ReadableWebProxy
ed5c7abe38706acc2684a1e6cd80242a03c5f010
[ "BSD-3-Clause" ]
193
2016-08-02T22:04:35.000Z
2022-03-09T20:45:41.000Z
WebMirror/management/rss_parser_funcs/feed_parse_extractBlurbtranslationsWordpressCom.py
fake-name/ReadableWebProxy
ed5c7abe38706acc2684a1e6cd80242a03c5f010
[ "BSD-3-Clause" ]
533
2016-08-23T20:48:23.000Z
2022-03-28T15:55:13.000Z
WebMirror/management/rss_parser_funcs/feed_parse_extractBlurbtranslationsWordpressCom.py
rrosajp/ReadableWebProxy
ed5c7abe38706acc2684a1e6cd80242a03c5f010
[ "BSD-3-Clause" ]
19
2015-08-13T18:01:08.000Z
2021-07-12T17:13:09.000Z
def extractBlurbtranslationsWordpressCom(item): ''' Parser for 'blurbtranslations.wordpress.com' source is ded ''' return None
16.875
47
0.755556
13
135
7.846154
1
0
0
0
0
0
0
0
0
0
0
0
0.148148
135
8
48
16.875
0.886957
0.437037
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
2f3f3004e62750441ddfcc46fe54ab7dd744e0c5
624
py
Python
tests/test_1791.py
sungho-joo/leetcode2github
ce7730ef40f6051df23681dd3c0e1e657abba620
[ "MIT" ]
2
2020-12-08T13:59:10.000Z
2021-05-01T05:07:39.000Z
tests/test_1791.py
sungho-joo/leetcode2github
ce7730ef40f6051df23681dd3c0e1e657abba620
[ "MIT" ]
null
null
null
tests/test_1791.py
sungho-joo/leetcode2github
ce7730ef40f6051df23681dd3c0e1e657abba620
[ "MIT" ]
1
2021-05-02T17:42:02.000Z
2021-05-02T17:42:02.000Z
#!/usr/bin/env python import pytest """ Test 1791. Find Center of Star Graph """ @pytest.fixture(scope="session") def init_variables_1791(): from src.leetcode_1791_find_center_of_star_graph import Solution solution = Solution() def _init_variables_1791(): return solution yield _init_varia...
22.285714
86
0.684295
88
624
4.556818
0.409091
0.226933
0.296758
0.079801
0.40399
0.40399
0.279302
0.279302
0.279302
0.279302
0
0.113949
0.184295
624
27
87
23.111111
0.67387
0.032051
0
0
0
0
0.012522
0
0
0
0
0
0.153846
1
0.307692
false
0
0.153846
0.076923
0.615385
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
2f96426124016d01e22aef323c33f3543d86540e
83
py
Python
slaclient/__init__.py
modaclouds/modaclouds-sla-dashboard
5812d6e3869e05a33083fcc0dc8f5ddc9561aebd
[ "Apache-2.0" ]
1
2015-03-05T13:35:25.000Z
2015-03-05T13:35:25.000Z
slaclient/__init__.py
modaclouds/modaclouds-sla-dashboard
5812d6e3869e05a33083fcc0dc8f5ddc9561aebd
[ "Apache-2.0" ]
null
null
null
slaclient/__init__.py
modaclouds/modaclouds-sla-dashboard
5812d6e3869e05a33083fcc0dc8f5ddc9561aebd
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- __author__ = 'Román Sosa <roman.sosa.external@atos.net>'
27.666667
57
0.638554
11
83
4.454545
0.909091
0
0
0
0
0
0
0
0
0
0
0.014085
0.144578
83
2
58
41.5
0.676056
0.253012
0
0
0
0
0.706897
0.517241
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
85f1e68745f428201594bdd508d052be6d902737
11,344
py
Python
test.py
KuoTzu-yang/Jupyter_Osiris
ecc9f8f47d2d9d348f4dc26a6396bc497918738f
[ "MIT" ]
5
2020-09-22T09:02:31.000Z
2021-02-02T17:43:06.000Z
test.py
KuoTzu-yang/Jupyter_Osiris
ecc9f8f47d2d9d348f4dc26a6396bc497918738f
[ "MIT" ]
null
null
null
test.py
KuoTzu-yang/Jupyter_Osiris
ecc9f8f47d2d9d348f4dc26a6396bc497918738f
[ "MIT" ]
2
2021-12-04T15:52:47.000Z
2022-01-11T05:03:22.000Z
import sys import os import warnings import unittest import Osiris from Osiris.utils import return_fix_statement_for_random_statement test_executability_notebook_path = 'tests/test_executability.ipynb' test_reproducibility_notebook_path = 'tests/test_reproducibility.ipynb' test_best_effort_notebook_path = 'tests/te...
52.276498
274
0.742331
1,367
11,344
5.733723
0.112655
0.035723
0.101046
0.113677
0.769967
0.743557
0.726206
0.710003
0.693672
0.630773
0
0.010342
0.173219
11,344
216
275
52.518519
0.825355
0.0186
0
0.490323
0
0.006452
0.103341
0.029271
0
0
0
0
0.232258
1
0.141935
false
0.006452
0.258065
0
0.406452
0.077419
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
85fff1e8407607dc0b4d41832b0729c03aa08f31
56
py
Python
money/tests/__init__.py
g--/money
1e51f651f93edd62c16eb3d7aa034fec03096046
[ "MIT" ]
212
2015-01-02T21:04:59.000Z
2022-03-29T03:20:57.000Z
money/tests/__init__.py
g--/money
1e51f651f93edd62c16eb3d7aa034fec03096046
[ "MIT" ]
23
2015-01-21T13:35:36.000Z
2021-06-19T16:07:46.000Z
money/tests/__init__.py
g--/money
1e51f651f93edd62c16eb3d7aa034fec03096046
[ "MIT" ]
30
2015-02-23T21:43:48.000Z
2022-01-11T03:20:27.000Z
""" Money unittests Run with: $ python -m unittest """
8
20
0.642857
7
56
5.142857
1
0
0
0
0
0
0
0
0
0
0
0
0.196429
56
7
21
8
0.8
0.839286
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
c803d03625e706275f82dc114604310edcdb1182
476
py
Python
evan/api/serializers/sponsors.py
eillarra/evan
befe0f8daedd1b1f629097110d92e68534e43da1
[ "MIT" ]
null
null
null
evan/api/serializers/sponsors.py
eillarra/evan
befe0f8daedd1b1f629097110d92e68534e43da1
[ "MIT" ]
20
2021-03-31T20:10:46.000Z
2022-02-15T09:58:13.000Z
evan/api/serializers/sponsors.py
eillarra/evan
befe0f8daedd1b1f629097110d92e68534e43da1
[ "MIT" ]
null
null
null
from rest_framework import serializers from evan.models import Sponsor from .files import FileSerializer class SponsorSerializer(serializers.ModelSerializer): self = serializers.HyperlinkedIdentityField(view_name="v1:sponsor-detail") rel_files = serializers.HyperlinkedIdentityField(view_name="v1:sponsor-file...
29.75
82
0.741597
51
476
6.803922
0.568627
0.201729
0.224784
0.247839
0.299712
0.299712
0
0
0
0
0
0.005038
0.165966
476
15
83
31.733333
0.869018
0
0
0
0
0
0.084034
0
0
0
0
0
0
1
0
false
0
0.272727
0
0.727273
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
c807ab83dde05d7b735fc607ea2bbadf9515a87c
418
py
Python
Python/pipelines/simple.py
wendrewdevelop/Estudos
f75d62574a0455ff35b97d404329e43f12f419fb
[ "MIT" ]
null
null
null
Python/pipelines/simple.py
wendrewdevelop/Estudos
f75d62574a0455ff35b97d404329e43f12f419fb
[ "MIT" ]
null
null
null
Python/pipelines/simple.py
wendrewdevelop/Estudos
f75d62574a0455ff35b97d404329e43f12f419fb
[ "MIT" ]
null
null
null
import os def do_ping(arg): return f'Pong, {arg}' def do_ls(arg): return '\n'.join(os.listdir(arg)) dispatch = { 'ping': do_ping, 'ls': do_ls } def process_network_command(command, arg): print(dispatch[command](arg)) # process_network_command('key', 'value') process_network_command('ping', '...
19
88
0.677033
61
418
4.442623
0.459016
0.206642
0.309963
0
0
0
0
0
0
0
0
0.01108
0.136364
418
22
88
19
0.739612
0.093301
0
0
0
0
0.230159
0.145503
0
0
0
0
0
1
0.230769
false
0
0.076923
0.153846
0.461538
0.076923
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
4
c84ab4cd95d246f0502e2ef908c42f8aa3cb0a24
861
py
Python
connect_four/problem/fake_problem_manager.py
rpachauri/connect4
6caf6965afaaff6883193ac295c6ac5b1f4e9c4a
[ "MIT" ]
null
null
null
connect_four/problem/fake_problem_manager.py
rpachauri/connect4
6caf6965afaaff6883193ac295c6ac5b1f4e9c4a
[ "MIT" ]
null
null
null
connect_four/problem/fake_problem_manager.py
rpachauri/connect4
6caf6965afaaff6883193ac295c6ac5b1f4e9c4a
[ "MIT" ]
null
null
null
from typing import Set, List from connect_four.game import Square from connect_four.problem.problem import Problem from connect_four.problem.problem_manager import ProblemManager class FakeProblemManager(ProblemManager): def __init__(self, problems: Set[Problem], removed_problems: Set[Problem] = None): s...
31.888889
86
0.713124
111
861
5.324324
0.297297
0.118443
0.076142
0.07445
0.328257
0
0
0
0
0
0
0
0.182346
861
26
87
33.115385
0.839489
0
0
0.111111
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.111111
0.222222
0.166667
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4
c0b89fa6281a8b41fb6f26b6ac1b45a22e4eb8c3
233
py
Python
covirus/data/worldwide/sources/cbc_news.py
covirus/covirus
85a97132d0773c947637b717b74a0ac4695bb8ad
[ "MIT" ]
2
2020-04-10T18:38:59.000Z
2020-04-11T20:24:49.000Z
covirus/data/worldwide/sources/cbc_news.py
covirus/covirus
85a97132d0773c947637b717b74a0ac4695bb8ad
[ "MIT" ]
1
2020-04-10T08:27:21.000Z
2020-04-12T06:05:57.000Z
covirus/data/worldwide/sources/cbc_news.py
maricatovictor/covirus
85a97132d0773c947637b717b74a0ac4695bb8ad
[ "MIT" ]
null
null
null
from ..world_dataset import WorldDataset import os import pandas as pd NAMES = ["cbc", "news", "cbc_news", "cbcNews"] this_dir, this_filename = os.path.split(__file__) def load(): return pd.read_csv(this_dir + "/data/news.csv")
25.888889
51
0.72103
36
233
4.388889
0.694444
0.088608
0
0
0
0
0
0
0
0
0
0
0.133047
233
9
51
25.888889
0.782178
0
0
0
0
0
0.153846
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0.142857
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
4
c0e1ae6e5cb9ebf967bd509be592f36fe9f02776
8,056
py
Python
tests/backup_sqlite3.py
byung-u/GranXiSearch
80a4a2cd19e39424013b7838aafbbbffd2a3574b
[ "MIT" ]
1
2017-06-21T10:44:27.000Z
2017-06-21T10:44:27.000Z
tests/backup_sqlite3.py
byung-u/GranXiSearch
80a4a2cd19e39424013b7838aafbbbffd2a3574b
[ "MIT" ]
5
2017-02-05T15:20:32.000Z
2017-03-11T14:09:49.000Z
tests/backup_sqlite3.py
byung-u/FindTheTreasure
80a4a2cd19e39424013b7838aafbbbffd2a3574b
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import os import sqlite3 from datetime import datetime class UseSqlite3: def __init__(self, mode=None): db_file_path = os.environ.get('SQLITE3_FOR_FT') self.conn = sqlite3.connect(db_file_path) self.c = self.conn.cursor() if mode == '...
33.566667
81
0.530412
960
8,056
4.260417
0.116667
0.03912
0.07335
0.061614
0.817359
0.770905
0.726161
0.682885
0.633496
0.5978
0
0.011186
0.35638
8,056
239
82
33.707113
0.777628
0.023337
0
0.70936
0
0
0.371895
0.006243
0
0
0
0
0
1
0.068966
false
0.004926
0.014778
0
0.17734
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
c0f19a44074528dcaedcaf44b5564ea4098ef371
123
py
Python
passporteye/mrz/__init__.py
EnjoyLifeFund/macHighSierra-py36-pkgs
5668b5785296b314ea1321057420bcd077dba9ea
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
2
2019-10-09T18:54:00.000Z
2021-04-03T08:52:14.000Z
passporteye/mrz/__init__.py
EnjoyLifeFund/macHighSierra-py36-pkgs
5668b5785296b314ea1321057420bcd077dba9ea
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
null
null
null
passporteye/mrz/__init__.py
EnjoyLifeFund/macHighSierra-py36-pkgs
5668b5785296b314ea1321057420bcd077dba9ea
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
1
2019-10-09T18:54:02.000Z
2019-10-09T18:54:02.000Z
''' PassportEye::MRZ: Machine-readable zone extraction and parsing. Author: Konstantin Tretyakov License: MIT '''
15.375
64
0.715447
13
123
6.769231
1
0
0
0
0
0
0
0
0
0
0
0
0.178862
123
7
65
17.571429
0.871287
0.861789
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
8d0aa21e99670461d011691fead58636ddb7dcd1
95
py
Python
tests/test_db.py
ab7289-tandon-nyu/csgy6083_PDS_Project
d2b7d22274dcabbb6ae35c17a8ffd06498f3634f
[ "MIT" ]
null
null
null
tests/test_db.py
ab7289-tandon-nyu/csgy6083_PDS_Project
d2b7d22274dcabbb6ae35c17a8ffd06498f3634f
[ "MIT" ]
null
null
null
tests/test_db.py
ab7289-tandon-nyu/csgy6083_PDS_Project
d2b7d22274dcabbb6ae35c17a8ffd06498f3634f
[ "MIT" ]
null
null
null
# from app.db import DBManager # def test_db_create(): # db = DBManager() # assert db
15.833333
30
0.631579
13
95
4.461538
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.252632
95
5
31
19
0.816901
0.894737
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
23aa0570638030c6c3244e6286f6ada4b5a98b3c
194
py
Python
posts/views.py
BurhanH/areket-phase-2
925391b7168ec611e4334671b6123f3cf8402bb6
[ "MIT" ]
null
null
null
posts/views.py
BurhanH/areket-phase-2
925391b7168ec611e4334671b6123f3cf8402bb6
[ "MIT" ]
1
2021-07-14T02:03:49.000Z
2021-07-14T02:03:49.000Z
posts/views.py
BurhanH/areket-phase-2
925391b7168ec611e4334671b6123f3cf8402bb6
[ "MIT" ]
null
null
null
from django.views.generic import ListView from . import models class HomePageView(ListView): model = models.Post template_name = 'home.html' context_object_name = 'all_posts_list'
21.555556
42
0.752577
25
194
5.64
0.8
0
0
0
0
0
0
0
0
0
0
0
0.170103
194
8
43
24.25
0.875776
0
0
0
0
0
0.118557
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
23d875ba844c2c4298a2b6037e23a4e722cbe578
136
py
Python
dwpicker/clipboard.py
Herizoran/dwpicker
cd993aaa5d5f0863cb49d291f33a4683996195c8
[ "MIT" ]
71
2021-12-09T04:03:37.000Z
2022-03-23T19:21:52.000Z
dwpicker/clipboard.py
Herizoran/dwpicker
cd993aaa5d5f0863cb49d291f33a4683996195c8
[ "MIT" ]
36
2021-12-22T06:11:29.000Z
2022-03-30T12:55:57.000Z
dwpicker/clipboard.py
Herizoran/dwpicker
cd993aaa5d5f0863cb49d291f33a4683996195c8
[ "MIT" ]
13
2022-01-05T20:34:02.000Z
2022-03-19T06:14:50.000Z
_clipboard_data = None def set(data): global _clipboard_data _clipboard_data = data def get(): return _clipboard_data
10.461538
26
0.705882
17
136
5.176471
0.470588
0.590909
0
0
0
0
0
0
0
0
0
0
0.235294
136
12
27
11.333333
0.846154
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.166667
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
4
9b0f93438f8d91f625a5734de4297097d6894dad
2,660
py
Python
test/all_unit.py
rsgmon/tdAmeritrade
43df1e0112be4f510dcb4e39ecb7381c838e965a
[ "MIT" ]
5
2018-09-19T11:53:12.000Z
2021-06-17T14:44:10.000Z
test/all_unit.py
rsgmon/tdAmeritrade
43df1e0112be4f510dcb4e39ecb7381c838e965a
[ "MIT" ]
1
2021-01-16T03:41:37.000Z
2021-01-16T03:41:37.000Z
test/all_unit.py
rsgmon/tdAmeritrade
43df1e0112be4f510dcb4e39ecb7381c838e965a
[ "MIT" ]
2
2019-05-06T16:13:09.000Z
2021-04-15T20:37:54.000Z
import unittest from tdAmeritrade import tdCall, credentials class TesttdCallGetData(unittest.TestCase): def test_get_configs(self): td_call = tdCall.tdCall(credentials.access_token, symbols=['SPY', 'AGG'], configs=[{'route':'h', 'periodType': 'daily'}]) config = td_call.get_configs() self...
48.363636
129
0.630827
314
2,660
5.057325
0.16242
0.11335
0.073678
0.102015
0.806675
0.738665
0.738665
0.671285
0.619647
0.619647
0
0.003916
0.231955
2,660
55
130
48.363636
0.773372
0
0
0.478261
0
0
0.047351
0
0
0
0
0
0.173913
1
0.173913
false
0
0.043478
0
0.23913
0.021739
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
9b26414bed9615f89530e55719c2a6d4b1a068d1
83
py
Python
oapi/apps.py
vantagecrypto/OV_Data_Bridge
b09f58e9c4664fa9842eead95b3e54a8027870e2
[ "MIT" ]
null
null
null
oapi/apps.py
vantagecrypto/OV_Data_Bridge
b09f58e9c4664fa9842eead95b3e54a8027870e2
[ "MIT" ]
null
null
null
oapi/apps.py
vantagecrypto/OV_Data_Bridge
b09f58e9c4664fa9842eead95b3e54a8027870e2
[ "MIT" ]
null
null
null
from django.apps import AppConfig class OapiConfig(AppConfig): name = 'oapi'
13.833333
33
0.73494
10
83
6.1
0.9
0
0
0
0
0
0
0
0
0
0
0
0.180723
83
5
34
16.6
0.897059
0
0
0
0
0
0.048193
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
9b2641f6554d966f4bcc97f98ef79c5f9b4e5f05
39
py
Python
Python/echo_echo_echo.py
mimseyedi/Kattis
a99ea2112544e89cc466feb7d81ffe6eb017f7e2
[ "MIT" ]
null
null
null
Python/echo_echo_echo.py
mimseyedi/Kattis
a99ea2112544e89cc466feb7d81ffe6eb017f7e2
[ "MIT" ]
null
null
null
Python/echo_echo_echo.py
mimseyedi/Kattis
a99ea2112544e89cc466feb7d81ffe6eb017f7e2
[ "MIT" ]
null
null
null
x = input().strip() print(f'{x} ' * 3)
13
19
0.487179
7
39
2.714286
0.857143
0
0
0
0
0
0
0
0
0
0
0.03125
0.179487
39
2
20
19.5
0.5625
0
0
0
0
0
0.102564
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
f192ae2ff13ccaa6dca07e9be16ffc5bc51e1e4b
89
py
Python
boxplot/apps.py
ANDI-Mckee/Bioinformatics-Toolkit
57e801e9a07f53f6587872c8e85d889589fd6b21
[ "MIT" ]
1
2021-04-12T10:56:21.000Z
2021-04-12T10:56:21.000Z
boxplot/apps.py
ANDI-Mckee/Bioinformatics-Toolkit
57e801e9a07f53f6587872c8e85d889589fd6b21
[ "MIT" ]
null
null
null
boxplot/apps.py
ANDI-Mckee/Bioinformatics-Toolkit
57e801e9a07f53f6587872c8e85d889589fd6b21
[ "MIT" ]
null
null
null
from django.apps import AppConfig class BoxplotConfig(AppConfig): name = 'boxplot'
14.833333
33
0.752809
10
89
6.7
0.9
0
0
0
0
0
0
0
0
0
0
0
0.168539
89
5
34
17.8
0.905405
0
0
0
0
0
0.078652
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
f199cfd03b61817e66785d1b6b8aca6b497c37ae
189
py
Python
turbulette/management/templates/project/app.py
turbulette/turbulette
32e2d0c18e4dd679a8bf9a3aa72eabe113328015
[ "BSD-3-Clause" ]
31
2020-12-21T23:55:14.000Z
2022-03-04T12:57:10.000Z
turbulette/management/templates/project/app.py
turbulette/turbulette
32e2d0c18e4dd679a8bf9a3aa72eabe113328015
[ "BSD-3-Clause" ]
57
2020-12-06T16:51:06.000Z
2022-02-14T22:10:40.000Z
turbulette/management/templates/project/app.py
gazorby/turbulette
32e2d0c18e4dd679a8bf9a3aa72eabe113328015
[ "BSD-3-Clause" ]
3
2020-09-26T17:26:46.000Z
2020-11-02T22:57:52.000Z
"""API entry point.""" from os import environ from turbulette import turbulette_starlette environ.setdefault("TURBULETTE_SETTINGS_MODULE", "{{ settings }}") app = turbulette_starlette()
21
66
0.772487
21
189
6.761905
0.619048
0.267606
0
0
0
0
0
0
0
0
0
0
0.111111
189
8
67
23.625
0.845238
0.084656
0
0
0
0
0.239521
0.155689
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
f1c4cd71f1718a67d191f95ffbfa51e6f838bf3f
421
py
Python
data_structures/queues/conftest.py
ShannonTully/data-structures-and-algorithms
f43f24f9f60beb37a2717f387c1050c9fd1ece60
[ "MIT" ]
null
null
null
data_structures/queues/conftest.py
ShannonTully/data-structures-and-algorithms
f43f24f9f60beb37a2717f387c1050c9fd1ece60
[ "MIT" ]
null
null
null
data_structures/queues/conftest.py
ShannonTully/data-structures-and-algorithms
f43f24f9f60beb37a2717f387c1050c9fd1ece60
[ "MIT" ]
null
null
null
from .queue import Queue from .fifo_animal_shelter import Queue as animal_q import pytest @pytest.fixture def empty_queue(): return Queue() @pytest.fixture def small_queue(): return Queue([1, 2, 3, 4]) @pytest.fixture def large_queue(): q = Queue() for num in range(1000): q.enqueue(num) ...
14.517241
50
0.660333
62
421
4.354839
0.435484
0.192593
0.237037
0
0
0
0
0
0
0
0
0.024024
0.209026
421
28
51
15.035714
0.786787
0
0
0.222222
0
0
0.028504
0
0
0
0
0
0
1
0.222222
false
0
0.166667
0.166667
0.611111
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
f1c62fef1868442a67735651ab87d68f613c67ad
85
py
Python
rng.py
bradchesney79/illacceptanything
4594ae4634fdb5e39263a6423dc255ed46c25208
[ "MIT" ]
1
2017-08-21T19:15:43.000Z
2017-08-21T19:15:43.000Z
rng.py
bradchesney79/illacceptanything
4594ae4634fdb5e39263a6423dc255ed46c25208
[ "MIT" ]
null
null
null
rng.py
bradchesney79/illacceptanything
4594ae4634fdb5e39263a6423dc255ed46c25208
[ "MIT" ]
1
2018-10-26T23:46:06.000Z
2018-10-26T23:46:06.000Z
def get_random_number(start=1, end=10): """https://xkcd.com/221/""" return 4
21.25
39
0.623529
14
85
3.642857
1
0
0
0
0
0
0
0
0
0
0
0.098592
0.164706
85
3
40
28.333333
0.619718
0.247059
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
f1e0ae79bf3480e4048ea940ff82559bd6c12d39
132
py
Python
mlinspect/utils/__init__.py
adrianlut/mlinspect
7d6137dedfaa6d1a9f0919f1ab792a95e38c7e85
[ "Apache-2.0" ]
40
2020-10-20T15:56:35.000Z
2022-02-22T14:48:09.000Z
mlinspect/utils/__init__.py
adrianlut/mlinspect
7d6137dedfaa6d1a9f0919f1ab792a95e38c7e85
[ "Apache-2.0" ]
55
2020-10-21T15:37:44.000Z
2022-02-10T02:44:18.000Z
mlinspect/utils/__init__.py
adrianlut/mlinspect
7d6137dedfaa6d1a9f0919f1ab792a95e38c7e85
[ "Apache-2.0" ]
9
2021-01-15T15:53:25.000Z
2022-03-31T23:42:12.000Z
""" Packages and classes we want to expose to users """ from ._utils import get_project_root __all__ = [ 'get_project_root', ]
14.666667
47
0.712121
19
132
4.473684
0.789474
0.235294
0.329412
0
0
0
0
0
0
0
0
0
0.189394
132
8
48
16.5
0.794393
0.356061
0
0
0
0
0.207792
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
9e4dfedf28d2a7bc640af3cc116346c79ff5b435
1,228
py
Python
tests/test_topics_influencers.py
leowmjw/Malaya
33f39835eca08c238d2dd68aeca3b09c5d0a45ab
[ "MIT" ]
2
2019-06-23T20:19:22.000Z
2020-04-16T13:02:32.000Z
tests/test_topics_influencers.py
aizatrosli/Malaya
d326384d2c0925c139a7224b77ac20f0ad57f237
[ "MIT" ]
null
null
null
tests/test_topics_influencers.py
aizatrosli/Malaya
d326384d2c0925c139a7224b77ac20f0ad57f237
[ "MIT" ]
1
2020-03-03T02:04:06.000Z
2020-03-03T02:04:06.000Z
import malaya def test_topics_influencers_short(): news = 'najib razak dan mahathir mengalami masalah air di kemamam terengganu' assert len(malaya.get_topics(news)) > 0 assert len(malaya.get_influencers(news)) > 0 def test_topics_influencers_long(): news = 'ikat penyedia perkhidmatan jalur lebar Telek...
102.333333
870
0.815147
169
1,228
5.863905
0.597633
0.036327
0.060545
0.072654
0.203835
0.127144
0.127144
0.127144
0.127144
0.127144
0
0.003813
0.145765
1,228
11
871
111.636364
0.940896
0
0
0.444444
0
0.111111
0.753257
0
0
0
0
0
0.444444
1
0.222222
false
0
0.111111
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
4
9e50ebc758ea3adca9360bce6ae12e68033a0942
93
py
Python
telegram_bot/modules/notification.py
Carmo-sousa/telegram-bot
7a2f675bc3b5da65742851c1a2c4438f9e982745
[ "MIT" ]
null
null
null
telegram_bot/modules/notification.py
Carmo-sousa/telegram-bot
7a2f675bc3b5da65742851c1a2c4438f9e982745
[ "MIT" ]
null
null
null
telegram_bot/modules/notification.py
Carmo-sousa/telegram-bot
7a2f675bc3b5da65742851c1a2c4438f9e982745
[ "MIT" ]
null
null
null
from time import sleep import signal def notification(dispat): print("Notificando...")
13.285714
27
0.731183
11
93
6.181818
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.16129
93
6
28
15.5
0.871795
0
0
0
0
0
0.150538
0
0
0
0
0
0
1
0.25
false
0
0.5
0
0.75
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
0
0
0
4
9e54a8f2809554d238845b6e9ca9f7626c227107
203
py
Python
gym/gym/auth_app/apps.py
rashkov7/gym-web-project
e4526099c91b0de5475562d76852e99f425f20fc
[ "MIT" ]
null
null
null
gym/gym/auth_app/apps.py
rashkov7/gym-web-project
e4526099c91b0de5475562d76852e99f425f20fc
[ "MIT" ]
null
null
null
gym/gym/auth_app/apps.py
rashkov7/gym-web-project
e4526099c91b0de5475562d76852e99f425f20fc
[ "MIT" ]
null
null
null
from django.apps import AppConfig class AuthAppConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'gym.auth_app' def ready(self): from . import signals
20.3
56
0.70936
25
203
5.64
0.84
0
0
0
0
0
0
0
0
0
0
0
0.20197
203
9
57
22.555556
0.87037
0
0
0
0
0
0.20197
0.142857
0
0
0
0
0
1
0.166667
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
9e77b7e67c8a5dc2ee99ef2c158930e0dc59f46c
188
py
Python
qd3dt/models/detectrackers/__init__.py
mengmengliu1998/qd-3dt
9fcd1c0b165793e259deb46a64fcbbdc33735f2f
[ "BSD-3-Clause" ]
384
2021-03-19T11:12:31.000Z
2022-03-31T01:59:16.000Z
qd3dt/models/detectrackers/__init__.py
mengmengliu1998/qd-3dt
9fcd1c0b165793e259deb46a64fcbbdc33735f2f
[ "BSD-3-Clause" ]
22
2021-04-06T14:28:12.000Z
2022-03-22T18:02:00.000Z
qd3dt/models/detectrackers/__init__.py
mengmengliu1998/qd-3dt
9fcd1c0b165793e259deb46a64fcbbdc33735f2f
[ "BSD-3-Clause" ]
73
2021-03-20T06:23:26.000Z
2022-03-16T08:00:21.000Z
from .base import BaseDetector from .rpn import RPN from .quasi_dense_3d_sep_uncertainty import QuasiDense3DSepUncertainty __all__ = ['BaseDetector', 'RPN', 'QuasiDense3DSepUncertainty']
31.333333
70
0.829787
20
188
7.4
0.6
0
0
0
0
0
0
0
0
0
0
0.017647
0.095745
188
5
71
37.6
0.852941
0
0
0
0
0
0.218085
0.138298
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
9e78812ce35a59c5504b08bde3bc3f19a8cedbb0
238
py
Python
source-code-from-author-book/Listings-for-Second-Edition/listing_1_12.py
robrac/algorithms-exercises-with-python
5780171517eacc1c7133fdc32cf079623cd14cf9
[ "MIT" ]
null
null
null
source-code-from-author-book/Listings-for-Second-Edition/listing_1_12.py
robrac/algorithms-exercises-with-python
5780171517eacc1c7133fdc32cf079623cd14cf9
[ "MIT" ]
null
null
null
source-code-from-author-book/Listings-for-Second-Edition/listing_1_12.py
robrac/algorithms-exercises-with-python
5780171517eacc1c7133fdc32cf079623cd14cf9
[ "MIT" ]
null
null
null
class UnaryGate(LogicGate): def __init__(self,n): super().__init__(n) self.pin = None def getPin(self): return int(input("Enter Pin input for gate "+ \ self.getLabel()+"-->"))
21.636364
55
0.516807
26
238
4.423077
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.340336
238
10
56
23.8
0.732484
0
0
0
0
0
0.117647
0
0
0
0
0
0
1
0.285714
false
0
0
0.142857
0.571429
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
0
1
1
0
0
4
9e86033868994a36c65f9d1db73b0794d5a5ea1e
117
py
Python
marketview/admin.py
sainateam/web-api
d9e94773828c0445c42e50292dea6858eddb2765
[ "Apache-2.0" ]
null
null
null
marketview/admin.py
sainateam/web-api
d9e94773828c0445c42e50292dea6858eddb2765
[ "Apache-2.0" ]
3
2021-05-10T05:47:51.000Z
2022-02-12T18:14:36.000Z
marketview/admin.py
sainateam/web-api
d9e94773828c0445c42e50292dea6858eddb2765
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from .models import Symbol # Register your models here. admin.site.register(Symbol)
23.4
32
0.811966
17
117
5.588235
0.647059
0
0
0
0
0
0
0
0
0
0
0
0.119658
117
5
33
23.4
0.92233
0.222222
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
7b4ca30b5f148624632813aca34a3d7a54df2f77
1,625
py
Python
CursoemVideoAulas/aula008.py
edujsnogueira/Curso-Python-GG
976bc89bd55fc72afafcf4f2e2213878cc6b09cb
[ "MIT" ]
null
null
null
CursoemVideoAulas/aula008.py
edujsnogueira/Curso-Python-GG
976bc89bd55fc72afafcf4f2e2213878cc6b09cb
[ "MIT" ]
null
null
null
CursoemVideoAulas/aula008.py
edujsnogueira/Curso-Python-GG
976bc89bd55fc72afafcf4f2e2213878cc6b09cb
[ "MIT" ]
null
null
null
# Aula 008: '''Nessa aula, vamos aprender como utilizar módulos em Python utilizando os comandos import e from/import no Python. Veja como carregar bibliotecas de funções e utilizar vários recursos adicionais nos seus programas utilizando módulos built-in e módulos externos, oferecidos no Pypi.''' # Módulos: # Pod...
34.574468
121
0.761231
235
1,625
5.255319
0.553191
0.022672
0.048583
0.02753
0.097166
0.097166
0.097166
0.097166
0.038866
0
0
0.002905
0.152615
1,625
46
122
35.326087
0.893972
0.903385
0
0
0
0
0.222222
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
4
7b5dd787fe6f5b028e0ea87f27245e6b2617cc7f
159
py
Python
test_io.py
vandanafs/Py-BasicStats
62622a8e8b67d80e780106baf65853b1fbf07580
[ "MIT" ]
null
null
null
test_io.py
vandanafs/Py-BasicStats
62622a8e8b67d80e780106baf65853b1fbf07580
[ "MIT" ]
null
null
null
test_io.py
vandanafs/Py-BasicStats
62622a8e8b67d80e780106baf65853b1fbf07580
[ "MIT" ]
null
null
null
from statszcw.stats import read_data_sets from sys import argv if __name__ == "__main__": z = read_data_sets(argv[1:]) # file read print("files",z)
22.714286
46
0.698113
25
159
3.96
0.68
0.161616
0.242424
0
0
0
0
0
0
0
0
0.007752
0.188679
159
7
47
22.714286
0.75969
0.056604
0
0
0
0
0.087248
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
7b8f546c98cfb7819a86ae9801eff5aba3d6d763
100
py
Python
Python/Strings/What's Your Name?.py
ArchieR7/HackerRank
53fa5f7006fb368ba6e948866d018fff11c13b90
[ "MIT" ]
2
2017-03-11T03:32:07.000Z
2019-05-18T09:40:45.000Z
Python/Strings/What's Your Name?.py
ArchieR7/HackerRank
53fa5f7006fb368ba6e948866d018fff11c13b90
[ "MIT" ]
null
null
null
Python/Strings/What's Your Name?.py
ArchieR7/HackerRank
53fa5f7006fb368ba6e948866d018fff11c13b90
[ "MIT" ]
null
null
null
def print_full_name(a, b): print("Hello {a} {b}! You just delved into python.".format(a=a, b=b))
50
73
0.65
20
100
3.15
0.65
0.095238
0
0
0
0
0
0
0
0
0
0
0.15
100
2
73
50
0.741176
0
0
0
0
0
0.425743
0
0
0
0
0
0
1
0.5
false
0
0
0
0.5
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
1
0
4
c878253800c903f0db441959c2ee2650359c9afa
82
py
Python
clock_import.py
ckwen81/pa2_2021
98d8d2bbd0397df80a8463c6625c0868a9f24692
[ "MIT" ]
null
null
null
clock_import.py
ckwen81/pa2_2021
98d8d2bbd0397df80a8463c6625c0868a9f24692
[ "MIT" ]
null
null
null
clock_import.py
ckwen81/pa2_2021
98d8d2bbd0397df80a8463c6625c0868a9f24692
[ "MIT" ]
null
null
null
from clock_class_enhanced import Clock my_clock = Clock(23,45,12) print(my_clock)
20.5
38
0.817073
15
82
4.2
0.666667
0.222222
0
0
0
0
0
0
0
0
0
0.081081
0.097561
82
4
39
20.5
0.77027
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
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
c8cdcb228a4a4609d5c89be900623f74b62e8cde
50
py
Python
tests/splint/__init__.py
maet3608/splint
2b8b7277bcc752a6005bde275c0f3d28d9d847b0
[ "Apache-2.0" ]
3
2019-09-18T23:12:08.000Z
2020-05-21T00:55:29.000Z
tests/splint/__init__.py
maet3608/splint
2b8b7277bcc752a6005bde275c0f3d28d9d847b0
[ "Apache-2.0" ]
null
null
null
tests/splint/__init__.py
maet3608/splint
2b8b7277bcc752a6005bde275c0f3d28d9d847b0
[ "Apache-2.0" ]
null
null
null
""" Tests for IBM Research Australia package. """
12.5
41
0.7
6
50
5.833333
1
0
0
0
0
0
0
0
0
0
0
0
0.16
50
3
42
16.666667
0.833333
0.82
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
c8e858b8281d9b9fa04c319be6905be763532e39
328
py
Python
tests/tests_notebook.py
Grokzen/tqdm
0f823e79f303b4a93ef1381badb1e65757e5070f
[ "MIT" ]
null
null
null
tests/tests_notebook.py
Grokzen/tqdm
0f823e79f303b4a93ef1381badb1e65757e5070f
[ "MIT" ]
null
null
null
tests/tests_notebook.py
Grokzen/tqdm
0f823e79f303b4a93ef1381badb1e65757e5070f
[ "MIT" ]
null
null
null
from tqdm.notebook import tqdm as tqdm_notebook from .tests_tqdm import pretest_posttest # NOQA, pylint: disable=unused-import def test_notebook_disabled_description(): """Test that set_description works for disabled tqdm_notebook""" with tqdm_notebook(1, disable=True) as t: t.set_description("descri...
36.444444
79
0.77439
45
328
5.422222
0.533333
0.196721
0
0
0
0
0
0
0
0
0
0.003571
0.146341
328
8
80
41
0.867857
0.289634
0
0
0
0
0.048458
0
0
0
0
0
0
1
0.2
true
0
0.4
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
c8e9624fb15730aafd82db26eba6d4e7f4de2077
481
py
Python
topCoder/srms/200s/srm267/div2/tax_table.py
ferhatelmas/algo
a7149c7a605708bc01a5cd30bf5455644cefd04d
[ "WTFPL" ]
25
2015-01-21T16:39:18.000Z
2021-05-24T07:01:24.000Z
topCoder/srms/200s/srm267/div2/tax_table.py
ferhatelmas/algo
a7149c7a605708bc01a5cd30bf5455644cefd04d
[ "WTFPL" ]
2
2020-09-30T19:39:36.000Z
2020-10-01T17:15:16.000Z
topCoder/srms/200s/srm267/div2/tax_table.py
ferhatelmas/algo
a7149c7a605708bc01a5cd30bf5455644cefd04d
[ "WTFPL" ]
15
2015-01-21T16:39:27.000Z
2020-10-01T17:00:22.000Z
class TaxTable: def income(self, taxAmount): n = round((taxAmount + 6525) * 100.0 / 25) if 100000 <= n < 117250: return n n = round((taxAmount + 10042.5) * 100 / 28) if 117250 <= n < 178650: return n n = round((taxAmount + 18975) * 100.0 / 33) ...
30.0625
51
0.471933
59
481
3.847458
0.440678
0.105727
0.264317
0.171806
0.290749
0
0
0
0
0
0
0.302817
0.409563
481
15
52
32.066667
0.496479
0
0
0.266667
0
0
0
0
0
0
0
0
0
1
0.066667
false
0
0
0
0.466667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
c8eb7443b3e4055fb31badef92993f6fe6bddc80
61
py
Python
d2bot/visualizer/__init__.py
lenLRX/Dota2BotStepByStep
3b6bebeb194bc9d4657947afa0776944dea24b84
[ "MIT" ]
11
2018-06-24T12:45:58.000Z
2021-10-14T02:16:12.000Z
d2bot/visualizer/__init__.py
lenLRX/Dota2BotStepByStep
3b6bebeb194bc9d4657947afa0776944dea24b84
[ "MIT" ]
null
null
null
d2bot/visualizer/__init__.py
lenLRX/Dota2BotStepByStep
3b6bebeb194bc9d4657947afa0776944dea24b84
[ "MIT" ]
3
2019-03-02T07:40:43.000Z
2021-06-05T02:09:16.000Z
try: from .visualizer import Visualizer except: pass
12.2
38
0.704918
7
61
6.142857
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.245902
61
4
39
15.25
0.934783
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.25
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
4
cda6dad83979cefab3c2f7192ccc4684dbcd778e
149
py
Python
forms.py
Lasanha/stockstory
d7e2ab42ec68f8373b9b9a300fdbed11a2bc1a40
[ "BSD-3-Clause" ]
1
2015-06-02T00:50:39.000Z
2015-06-02T00:50:39.000Z
forms.py
Lasanha/stockstory
d7e2ab42ec68f8373b9b9a300fdbed11a2bc1a40
[ "BSD-3-Clause" ]
null
null
null
forms.py
Lasanha/stockstory
d7e2ab42ec68f8373b9b9a300fdbed11a2bc1a40
[ "BSD-3-Clause" ]
null
null
null
from wtforms import Form, TextField, validators class CreatingForm(Form): text = TextField('Story', [validators.Length(min=20, max=1024)])
24.833333
68
0.718121
18
149
5.944444
0.833333
0
0
0
0
0
0
0
0
0
0
0.047619
0.154362
149
5
69
29.8
0.801587
0
0
0
0
0
0.033557
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
cdf154b294e55a35e1b9b4bf0182d4b41849b814
263
py
Python
apps/core/serializers/faq.py
sparcs-kaist/new-ara-api
63998da575cb148347708199fe1345c4e7ee3e1b
[ "MIT" ]
19
2017-09-13T07:51:58.000Z
2022-03-28T11:04:03.000Z
apps/core/serializers/faq.py
sparcs-kaist/new-ara-api
63998da575cb148347708199fe1345c4e7ee3e1b
[ "MIT" ]
147
2017-09-14T13:45:30.000Z
2022-03-14T15:54:09.000Z
apps/core/serializers/faq.py
sparcs-kaist/new-ara-api
63998da575cb148347708199fe1345c4e7ee3e1b
[ "MIT" ]
5
2019-08-31T13:13:30.000Z
2021-03-26T15:46:38.000Z
from apps.core.models.faq import FAQ from ara.classes.serializers import MetaDataModelSerializer class BaseFAQSerializer(MetaDataModelSerializer): class Meta: model = FAQ fields = '__all__' class FAQSerializer(BaseFAQSerializer): pass
20.230769
59
0.752852
26
263
7.461538
0.692308
0.28866
0
0
0
0
0
0
0
0
0
0
0.186312
263
12
60
21.916667
0.906542
0
0
0
0
0
0.026616
0
0
0
0
0
0
1
0
false
0.125
0.25
0
0.625
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
4
cdf619288ebdd100fa4538ba7abd5d9e4bcea2c1
341
py
Python
LeetCode/Tree/PreOrder/100. Same Tree.py
thehanemperor/LeetCode
8d120162657a1e29c3e821b51ac4121300fc7a12
[ "MIT" ]
null
null
null
LeetCode/Tree/PreOrder/100. Same Tree.py
thehanemperor/LeetCode
8d120162657a1e29c3e821b51ac4121300fc7a12
[ "MIT" ]
null
null
null
LeetCode/Tree/PreOrder/100. Same Tree.py
thehanemperor/LeetCode
8d120162657a1e29c3e821b51ac4121300fc7a12
[ "MIT" ]
null
null
null
class Solution: def isSameTree(self, p: TreeNode, q: TreeNode) -> bool: return self.preorder(p,q) def preorder(self,p,q): if not p or not q: return p == q if p.val != q.val: return False return self.preorder(p.left,q.left) and self.preor...
31
79
0.542522
50
341
3.7
0.38
0.194595
0.210811
0.205405
0
0
0
0
0
0
0
0
0.343109
341
11
79
31
0.825893
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0
0.111111
0.777778
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
4
cdff6ac9a9336c0f4276133d34b16ccdfaee11c9
209
py
Python
src/utils.py
danilpolkov/sweet_RS
eff597fbc0f74a18d39eeff2bee4043c2e0798b7
[ "MIT" ]
null
null
null
src/utils.py
danilpolkov/sweet_RS
eff597fbc0f74a18d39eeff2bee4043c2e0798b7
[ "MIT" ]
null
null
null
src/utils.py
danilpolkov/sweet_RS
eff597fbc0f74a18d39eeff2bee4043c2e0798b7
[ "MIT" ]
null
null
null
import pickle def save_to_pickle(obj, path): with open(path, 'wb') as f: pickle.dump(obj, f) def read_pickle(path): with open(path, 'rb') as f: return pickle.load(f)
19
31
0.569378
32
209
3.625
0.53125
0.137931
0.206897
0.275862
0
0
0
0
0
0
0
0
0.30622
209
11
32
19
0.8
0
0
0
0
0
0.019048
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.571429
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
a8048abafac9c8143b906a697e250477adb984a8
164
py
Python
footestproj/foolib/testcase.py
molayxu/QTAF
a036a22b7baa10214baa60954154bb865c98e44f
[ "BSD-3-Clause" ]
null
null
null
footestproj/foolib/testcase.py
molayxu/QTAF
a036a22b7baa10214baa60954154bb865c98e44f
[ "BSD-3-Clause" ]
null
null
null
footestproj/foolib/testcase.py
molayxu/QTAF
a036a22b7baa10214baa60954154bb865c98e44f
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- '''示例测试用例 ''' #2021/07/29 QTAF自动生成 from testbase import testcase class FooTestCase(testcase.TestCase): '''foo测试用例基类 ''' pass
12.615385
37
0.628049
18
164
5.722222
0.888889
0
0
0
0
0
0
0
0
0
0
0.068702
0.20122
164
12
38
13.666667
0.717557
0.384146
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
4
a80744527908136e389f632f64d384122f1db0a3
257
py
Python
app/esper/queries/dark_frames.py
DanFu09/esper
ccc5547de3637728b8aaab059b6781baebc269ec
[ "Apache-2.0" ]
4
2018-12-27T07:21:38.000Z
2019-01-04T10:35:02.000Z
app/esper/queries/dark_frames.py
DanFu09/esper
ccc5547de3637728b8aaab059b6781baebc269ec
[ "Apache-2.0" ]
null
null
null
app/esper/queries/dark_frames.py
DanFu09/esper
ccc5547de3637728b8aaab059b6781baebc269ec
[ "Apache-2.0" ]
null
null
null
from esper.prelude import * from .queries import query @query("Dark frames") def dark_frames(): from query.models import Frame from esper.stdlib import qs_to_result return qs_to_result(Frame.objects.filter(brightness__lt=50).all(), stride=100)
28.555556
82
0.762646
39
257
4.846154
0.615385
0.095238
0.10582
0
0
0
0
0
0
0
0
0.022624
0.140078
257
8
83
32.125
0.832579
0
0
0
0
0
0.042802
0
0
0
0
0
0
1
0.142857
true
0
0.571429
0
0.857143
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
a80b23407b42d74e3d3c8eb4158079e4883c43da
74
py
Python
Pyshare2020/07 - Dict & Class/File2.py
Bejjoeqq/python-share
9ec21c6926d9611d6ad807903d757d11f36b74b2
[ "MIT" ]
null
null
null
Pyshare2020/07 - Dict & Class/File2.py
Bejjoeqq/python-share
9ec21c6926d9611d6ad807903d757d11f36b74b2
[ "MIT" ]
null
null
null
Pyshare2020/07 - Dict & Class/File2.py
Bejjoeqq/python-share
9ec21c6926d9611d6ad807903d757d11f36b74b2
[ "MIT" ]
3
2020-10-24T14:15:41.000Z
2020-10-31T04:07:21.000Z
lis = [1,2,3,4] def tambah(x,y): return x+y def print(): print("hello")
12.333333
16
0.594595
16
74
2.75
0.75
0.090909
0
0
0
0
0
0
0
0
0
0.064516
0.162162
74
6
17
12.333333
0.645161
0
0
0
0
0
0.066667
0
0
0
0
0
0
1
0.4
false
0
0
0.2
0.6
0.4
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
4
a8378a6ac4f487eec9cda861ebbe2b5139c048ed
334
py
Python
flow/envs/loop/loop_accel.py
SHITIANYU-hue/flow
6fb5697868517fea7098a81b78c1be8e925f09f7
[ "MIT" ]
805
2018-08-16T22:30:51.000Z
2022-03-31T09:25:50.000Z
flow/envs/loop/loop_accel.py
SHITIANYU-hue/flow
6fb5697868517fea7098a81b78c1be8e925f09f7
[ "MIT" ]
879
2018-08-22T17:37:06.000Z
2022-03-29T01:06:11.000Z
flow/envs/loop/loop_accel.py
SHITIANYU-hue/flow
6fb5697868517fea7098a81b78c1be8e925f09f7
[ "MIT" ]
325
2018-08-22T06:48:00.000Z
2022-03-21T15:09:04.000Z
"""Pending deprecation file. To view the actual content, go to: flow/envs/ring/accel.py """ from flow.utils.flow_warnings import deprecated from flow.envs.ring.accel import AccelEnv as AEnv @deprecated('flow.envs.loop.accel', 'flow.envs.ring.accel.AccelEnv') class AccelEnv(AEnv): """See parent class....
22.266667
58
0.709581
48
334
4.916667
0.5625
0.135593
0.152542
0.216102
0
0
0
0
0
0
0
0
0.161677
334
14
59
23.857143
0.842857
0.308383
0
0
0
0
0.223744
0.13242
0
0
0
0
0
1
0
true
0.166667
0.333333
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
4
b549bf79f5572bdbc685059d730fe78fcc90d3b1
85
py
Python
camps/apps.py
chschenk/qcos
7eaa5f2a599f000c72e1ea2a17f6e663ddc14318
[ "MIT" ]
null
null
null
camps/apps.py
chschenk/qcos
7eaa5f2a599f000c72e1ea2a17f6e663ddc14318
[ "MIT" ]
null
null
null
camps/apps.py
chschenk/qcos
7eaa5f2a599f000c72e1ea2a17f6e663ddc14318
[ "MIT" ]
null
null
null
from django.apps import AppConfig class CampsConfig(AppConfig): name = 'camps'
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
b55521a0c1c076fbbded7bc04a425ba6e5c128d2
309
py
Python
misago/misago/socialauth/admin/forms/twitter.py
vascoalramos/misago-deployment
20226072138403108046c0afad9d99eb4163cedc
[ "MIT" ]
2
2021-03-06T21:06:13.000Z
2021-03-09T15:05:12.000Z
misago/misago/socialauth/admin/forms/twitter.py
vascoalramos/misago-deployment
20226072138403108046c0afad9d99eb4163cedc
[ "MIT" ]
null
null
null
misago/misago/socialauth/admin/forms/twitter.py
vascoalramos/misago-deployment
20226072138403108046c0afad9d99eb4163cedc
[ "MIT" ]
null
null
null
from django import forms from django.utils.translation import gettext_lazy as _ from .base import OAuthProviderForm class TwitterForm(OAuthProviderForm): key = forms.CharField(label=_("Consumer API key"), required=False) secret = forms.CharField(label=_("Consumer API secret key"), required=False)
30.9
80
0.779935
38
309
6.236842
0.552632
0.084388
0.160338
0.227848
0.253165
0
0
0
0
0
0
0
0.12945
309
9
81
34.333333
0.881041
0
0
0
0
0
0.126214
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
b573a143dbecab2d712d3456998b7978d85f960d
93
py
Python
src/compasweb/apps.py
emanehab99/SS20B-SStevenson
37a44aa23c732fceea596574ce9667767ecee29d
[ "MIT" ]
null
null
null
src/compasweb/apps.py
emanehab99/SS20B-SStevenson
37a44aa23c732fceea596574ce9667767ecee29d
[ "MIT" ]
null
null
null
src/compasweb/apps.py
emanehab99/SS20B-SStevenson
37a44aa23c732fceea596574ce9667767ecee29d
[ "MIT" ]
1
2021-08-23T04:35:36.000Z
2021-08-23T04:35:36.000Z
from django.apps import AppConfig class CompaswebConfig(AppConfig): name = 'compasweb'
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
b5a823b08154487648b097f724aaa1e385002a1b
119
py
Python
parsers/sps_parser.py
akrherz/pyWWA
011526f459db00d117e59f570535ac42ca267d83
[ "MIT" ]
9
2015-03-27T22:43:07.000Z
2020-04-10T04:19:47.000Z
parsers/sps_parser.py
akrherz/pyWWA
011526f459db00d117e59f570535ac42ca267d83
[ "MIT" ]
76
2015-03-05T18:20:07.000Z
2022-03-24T02:04:25.000Z
parsers/sps_parser.py
akrherz/pyWWA
011526f459db00d117e59f570535ac42ca267d83
[ "MIT" ]
3
2020-11-05T17:38:03.000Z
2022-03-04T17:39:40.000Z
"""SPS product ingestor""" # Local from pywwa.workflows.sps_parser import main if __name__ == "__main__": main()
14.875
43
0.697479
15
119
4.933333
0.8
0
0
0
0
0
0
0
0
0
0
0
0.168067
119
7
44
17
0.747475
0.226891
0
0
0
0
0.093023
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
b5af24155b29070763a34b90c54854cb2755b0ed
223
py
Python
sitetables/views.py
idlesign/django-sitetables
9ed851f646c5517234eb40304cfa38fa71c57884
[ "BSD-3-Clause" ]
4
2020-08-15T14:42:29.000Z
2022-01-16T16:09:20.000Z
sitetables/views.py
idlesign/django-sitetables
9ed851f646c5517234eb40304cfa38fa71c57884
[ "BSD-3-Clause" ]
null
null
null
sitetables/views.py
idlesign/django-sitetables
9ed851f646c5517234eb40304cfa38fa71c57884
[ "BSD-3-Clause" ]
null
null
null
from django.http import HttpRequest from .toolbox.tables import Table def respond(request: HttpRequest): """Responds to a serverside sitetable request. :param request: """ return Table.respond(request)
17.153846
50
0.721973
26
223
6.192308
0.692308
0.173913
0
0
0
0
0
0
0
0
0
0
0.192825
223
12
51
18.583333
0.894444
0.269058
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
4
b5b2c37533657f52b3876915b6e989e5fa1fb01d
357
py
Python
indicators/management/commands/load_ckan_sources.py
WPRDC/neighborhood-simulacrum
46892dfdbc8bc3201e31fee4ee991c49b208753e
[ "MIT" ]
null
null
null
indicators/management/commands/load_ckan_sources.py
WPRDC/neighborhood-simulacrum
46892dfdbc8bc3201e31fee4ee991c49b208753e
[ "MIT" ]
6
2020-12-18T17:21:35.000Z
2021-03-03T21:08:44.000Z
indicators/management/commands/load_ckan_sources.py
WPRDC/neighborhood-simulacrum
46892dfdbc8bc3201e31fee4ee991c49b208753e
[ "MIT" ]
null
null
null
from django.core.management.base import BaseCommand from ._ckan_loaders import load_sources class Command(BaseCommand): help = "Load standard geographies" def add_arguments(self, parser): # todo: add arguments that map to the `load_census_boundaries.run()` ones pass def handle(self, *args...
27.461538
81
0.708683
45
357
5.466667
0.755556
0.089431
0
0
0
0
0
0
0
0
0
0
0.204482
357
12
82
29.75
0.866197
0.19888
0
0
0
0
0.088028
0
0
0
0
0.083333
0
1
0.25
false
0.125
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
1
0
0
4
b5b930b256a4ae3e5cd462997cf3c9d390887b74
120
py
Python
santa/urls.py
SteveKueng/munkiwebadmin
60dc84838c8a13875c2b47b1d4ead73c32a5e1a8
[ "Apache-2.0" ]
35
2015-01-04T02:42:15.000Z
2021-12-08T17:24:33.000Z
santa/urls.py
SteveKueng/munkiwebadmin
60dc84838c8a13875c2b47b1d4ead73c32a5e1a8
[ "Apache-2.0" ]
9
2015-01-31T00:44:42.000Z
2019-10-21T07:08:51.000Z
santa/urls.py
SteveKueng/munkiwebadmin
60dc84838c8a13875c2b47b1d4ead73c32a5e1a8
[ "Apache-2.0" ]
6
2015-03-13T15:31:31.000Z
2016-08-24T10:56:14.000Z
from django.conf.urls import url import santa.views urlpatterns = [ url(r'^\Z', santa.views.index, name='santa'), ]
20
49
0.691667
18
120
4.611111
0.722222
0.240964
0
0
0
0
0
0
0
0
0
0
0.141667
120
6
50
20
0.805825
0
0
0
0
0
0.066116
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
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
a9606ea0391dc7df28e2a50e4ef62f15c56b7486
181
py
Python
python_snippets/drafts.py
valdirsalustino/python-rest-api
55ead3e1cb9eddcc5ab8482fbaaf3a90c10ab884
[ "MIT" ]
null
null
null
python_snippets/drafts.py
valdirsalustino/python-rest-api
55ead3e1cb9eddcc5ab8482fbaaf3a90c10ab884
[ "MIT" ]
null
null
null
python_snippets/drafts.py
valdirsalustino/python-rest-api
55ead3e1cb9eddcc5ab8482fbaaf3a90c10ab884
[ "MIT" ]
null
null
null
def named(**kwargs): print(kwargs) def print_nicely(**kwargs): named(**kwargs) for arg, value in kwargs.items(): print(f'{arg}: {value}') print_nicely(name='Valdir', age=35)
18.1
35
0.674033
27
181
4.444444
0.555556
0.183333
0
0
0
0
0
0
0
0
0
0.012579
0.121547
181
10
35
18.1
0.742138
0
0
0
0
0
0.10989
0
0
0
0
0
0
1
0.285714
true
0
0
0
0.285714
0.571429
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
1
0
0
0
0
1
0
4
a964dd787623fb7be72aec280535be31cda0f4c6
109
py
Python
graph/models.py
xingshuyin/manager
023cedc7a477285d71f4f69385aef0c6a1e14c79
[ "MIT" ]
null
null
null
graph/models.py
xingshuyin/manager
023cedc7a477285d71f4f69385aef0c6a1e14c79
[ "MIT" ]
null
null
null
graph/models.py
xingshuyin/manager
023cedc7a477285d71f4f69385aef0c6a1e14c79
[ "MIT" ]
null
null
null
from django.db import models # class Project(models.Model): # name = models.CharField(max_length=128) #
18.166667
45
0.724771
15
109
5.2
0.866667
0
0
0
0
0
0
0
0
0
0
0.032609
0.155963
109
5
46
21.8
0.815217
0.66055
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
a96bf473ef5f73b95e6ea8566366d297e7cdc00c
7,972
py
Python
dankfile.py
jorbecalona/sec_mirror
f5c5ee91d3fe1dd2b4e10cfc6bd50f470997aa8b
[ "MIT" ]
null
null
null
dankfile.py
jorbecalona/sec_mirror
f5c5ee91d3fe1dd2b4e10cfc6bd50f470997aa8b
[ "MIT" ]
2
2021-03-31T20:20:28.000Z
2021-06-02T03:53:13.000Z
dankfile.py
jorbecalona/sec_mirror
f5c5ee91d3fe1dd2b4e10cfc6bd50f470997aa8b
[ "MIT" ]
null
null
null
import sys from socket import * from threading import Thread import time, re LOGGING = 1 def log(s): if LOGGING: print "(%s) %s" % (time.ctime(), s) class UDPRequestHandler(Thread): def __init__(self, data_to_send, recv_addr, dst_addr): Thread.__init__(self) self.data_to_send = dat...
45.295455
1,781
0.633467
1,200
7,972
4.041667
0.1925
0.033402
0.033402
0.027216
0.303918
0.215464
0.18
0.123711
0.098557
0.081649
0
0.130832
0.231059
7,972
176
1,782
45.295455
0.660359
0.034747
0
0.205674
0
0.007092
0.28419
0.235394
0
1
0
0
0
0
null
null
0.070922
0.028369
null
null
0.021277
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
1
0
0
0
1
0
0
1
0
0
0
0
0
4
8d18d80cac1299218f49203da882aeb6898dace5
48
py
Python
bclaw_runner/src/runner/__init__.py
jack-e-tabaska/BayerCLAW
7e94777f4a5b155a3beead625c460117ffcb56af
[ "BSD-3-Clause" ]
7
2021-06-25T18:14:08.000Z
2022-03-20T18:27:29.000Z
bclaw_runner/src/runner/__init__.py
jack-e-tabaska/BayerCLAW
7e94777f4a5b155a3beead625c460117ffcb56af
[ "BSD-3-Clause" ]
1
2022-03-30T20:15:44.000Z
2022-03-30T20:15:44.000Z
bclaw_runner/src/runner/__init__.py
jack-e-tabaska/BayerCLAW
7e94777f4a5b155a3beead625c460117ffcb56af
[ "BSD-3-Clause" ]
3
2021-06-07T18:26:24.000Z
2021-12-02T17:59:04.000Z
from .runner_main import cli __all__ = ["cli"]
12
28
0.708333
7
48
4.142857
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.166667
48
3
29
16
0.725
0
0
0
0
0
0.0625
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
8d1cb8f38487a64ce9f43e98fcb708f99a085a85
312
py
Python
topiary/rna/__init__.py
hammerlab/utopia
04f0077bc4bf1ad350a0e78c26fa48c55fe7813b
[ "Apache-2.0" ]
13
2015-04-28T00:09:31.000Z
2017-11-11T11:02:36.000Z
topiary/rna/__init__.py
hammerlab/topiary
04f0077bc4bf1ad350a0e78c26fa48c55fe7813b
[ "Apache-2.0" ]
78
2015-04-28T19:24:33.000Z
2017-12-21T02:40:21.000Z
topiary/rna/__init__.py
hammerlab/utopia
04f0077bc4bf1ad350a0e78c26fa48c55fe7813b
[ "Apache-2.0" ]
6
2015-12-19T11:26:28.000Z
2017-01-09T17:32:41.000Z
from .cufflinks import ( load_cufflinks_dataframe, load_cufflinks_dict, load_cufflinks_fpkm_dict, ) from .gtf import load_transcript_fpkm_dict_from_gtf __all__ = [ "load_cufflinks_dataframe", "load_cufflinks_dict", "load_cufflinks_fpkm_dict", "load_transcript_fpkm_dict_from_gtf", ]
22.285714
51
0.772436
39
312
5.461538
0.25641
0.366197
0.169014
0.211268
0.835681
0.835681
0.56338
0.56338
0.56338
0.56338
0
0
0.157051
312
13
52
24
0.809886
0
0
0
0
0
0.323718
0.262821
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
1
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
8d407329308bfc4e189fd4be2700ca4261ff6174
29
py
Python
notebooks/_solutions/case4_air_quality_analysis2.py
jonasvdd/DS-python-data-analysis
835226f562ee0b0631d70e48a17c4526ff58a538
[ "BSD-3-Clause" ]
65
2017-03-21T09:15:40.000Z
2022-02-01T23:43:08.000Z
notebooks/_solutions/case4_air_quality_analysis2.py
jonasvdd/DS-python-data-analysis
835226f562ee0b0631d70e48a17c4526ff58a538
[ "BSD-3-Clause" ]
100
2016-12-15T03:44:06.000Z
2022-03-07T08:14:07.000Z
notebooks/_solutions/case4_air_quality_analysis2.py
jorisvandenbossche/ICES-python-data
63864947657f37cb26cb4e2dcd67ff106dffe9cd
[ "BSD-3-Clause" ]
52
2016-12-19T07:48:52.000Z
2022-02-19T17:53:48.000Z
data_tidy['no2'].isna().sum()
29
29
0.655172
5
29
3.6
1
0
0
0
0
0
0
0
0
0
0
0.034483
0
29
1
29
29
0.586207
0
0
0
0
0
0.1
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
8d5af047d997591b3fa96423126b40b3a271f1de
189
py
Python
async_tools/all_tasks.py
HeavenVolkoff/async_tools
c2fb373f4de11542f61fdbf596955f118a2ba467
[ "BSD-3-Clause" ]
4
2019-10-30T20:03:31.000Z
2021-03-05T18:29:42.000Z
async_tools/all_tasks.py
HeavenVolkoff/async_tools
c2fb373f4de11542f61fdbf596955f118a2ba467
[ "BSD-3-Clause" ]
2
2019-06-11T18:26:10.000Z
2021-05-25T20:43:50.000Z
async_tools/all_tasks.py
HeavenVolkoff/async_tools
c2fb373f4de11542f61fdbf596955f118a2ba467
[ "BSD-3-Clause" ]
1
2021-05-24T13:31:13.000Z
2021-05-24T13:31:13.000Z
# Internal from asyncio import all_tasks from warnings import warn warn("async_tools.all_tasks is deprecated, use asyncio.all_tasks instead", DeprecationWarning) __all__ = ("all_tasks",)
23.625
94
0.804233
26
189
5.5
0.576923
0.223776
0
0
0
0
0
0
0
0
0
0
0.116402
189
7
95
27
0.856287
0.042328
0
0
0
0
0.418994
0.117318
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
8d7879f9a3e57a4de7a26144b2cd4e56af0180b4
18,058
py
Python
proof_transfer/template.py
uiuc-arc/FANC
19aad400b62ccfbaa7376d0f3b9a6d88f084f023
[ "Apache-2.0" ]
6
2022-03-03T23:50:02.000Z
2022-03-29T05:58:47.000Z
proof_transfer/template.py
uiuc-arc/FANC
19aad400b62ccfbaa7376d0f3b9a6d88f084f023
[ "Apache-2.0" ]
null
null
null
proof_transfer/template.py
uiuc-arc/FANC
19aad400b62ccfbaa7376d0f3b9a6d88f084f023
[ "Apache-2.0" ]
null
null
null
''' The module is responsible for constructing the templates. ''' import util_pt as util from proof_zono import init_nn, init_nn_at_layer, init_nn_at_layer_with_optimizer, init_nn_with_optimizer, get_optimizer from elina_abstract0 import elina_abstract0_free import numpy as np import sys import logging from attack imp...
31.961062
139
0.53378
2,294
18,058
3.948561
0.091107
0.022522
0.02208
0.026496
0.790351
0.75701
0.719475
0.693641
0.67686
0.662508
0
0.018742
0.361779
18,058
564
140
32.017731
0.767202
0.077251
0
0.732394
0
0
0.016616
0.001746
0
0
0
0
0
1
0.030986
false
0
0.042254
0
0.098592
0.002817
0
0
0
null
0
0
0
0
1
1
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
0
0
0
0
0
0
4
8d8be3dce10eff30c8bdb8cd47dd903d9f9c2219
1,372
py
Python
backend/smiegel/util.py
erik/smiegel
34e9d132e241f2db4e96e84295588cd11d7c0164
[ "MIT" ]
null
null
null
backend/smiegel/util.py
erik/smiegel
34e9d132e241f2db4e96e84295588cd11d7c0164
[ "MIT" ]
null
null
null
backend/smiegel/util.py
erik/smiegel
34e9d132e241f2db4e96e84295588cd11d7c0164
[ "MIT" ]
null
null
null
import base64 import hmac import os from hashlib import sha256 def authenticate(token, message): """Generate a HMAC for the given message using the token. Args: token (bytearray): The shared authentication token to use. message (str): The text to authenticate. Returns: str: base64 enc...
20.787879
75
0.620262
179
1,372
4.681564
0.435754
0.01432
0.023866
0.040573
0
0
0
0
0
0
0
0.039526
0.262391
1,372
65
76
21.107692
0.788538
0.336006
0
0
1
0
0.045077
0
0
0
0
0.015385
0
1
0.222222
false
0
0.148148
0
0.62963
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
1
0
0
1
0
0
0
0
1
0
0
4
a5c8866f2e54e8e3052417540bd58d339ec26c74
99
py
Python
config.py
jos-b/image-man
19e21979a9abd4964c50e921b0cb1a1afe54d1b7
[ "MIT" ]
1
2019-11-10T23:13:26.000Z
2019-11-10T23:13:26.000Z
config.py
jos-b/image-man
19e21979a9abd4964c50e921b0cb1a1afe54d1b7
[ "MIT" ]
null
null
null
config.py
jos-b/image-man
19e21979a9abd4964c50e921b0cb1a1afe54d1b7
[ "MIT" ]
null
null
null
import yaml import attrdict config = attrdict.AttrDict(yaml.safe_load(open("config.yaml", "r")))
16.5
68
0.747475
14
99
5.214286
0.571429
0
0
0
0
0
0
0
0
0
0
0
0.10101
99
5
69
19.8
0.820225
0
0
0
0
0
0.121212
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
a5de92c32abd8a507290be4c8ea1c2c9bf3ff157
69
py
Python
Algorithm/Array/(P)1213 Intersection of Three Sorted Arrays.py
smsubham/Data-Structure-Algorithms-Questions
45da68231907068ef4e4a0444ffdac69b337fa7c
[ "Apache-2.0" ]
null
null
null
Algorithm/Array/(P)1213 Intersection of Three Sorted Arrays.py
smsubham/Data-Structure-Algorithms-Questions
45da68231907068ef4e4a0444ffdac69b337fa7c
[ "Apache-2.0" ]
null
null
null
Algorithm/Array/(P)1213 Intersection of Three Sorted Arrays.py
smsubham/Data-Structure-Algorithms-Questions
45da68231907068ef4e4a0444ffdac69b337fa7c
[ "Apache-2.0" ]
null
null
null
#https://leetcode.com/problems/intersection-of-three-sorted-arrays/
23
67
0.797101
9
69
6.111111
1
0
0
0
0
0
0
0
0
0
0
0
0.028986
69
2
68
34.5
0.820896
0.956522
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
570026442d1cc21e1d3f1914f2c2097715e6838c
45
py
Python
puzzle316.py
marcmanley/cbp
df0b0602d6cd209197989973f6e94594f599315f
[ "Apache-2.0" ]
null
null
null
puzzle316.py
marcmanley/cbp
df0b0602d6cd209197989973f6e94594f599315f
[ "Apache-2.0" ]
null
null
null
puzzle316.py
marcmanley/cbp
df0b0602d6cd209197989973f6e94594f599315f
[ "Apache-2.0" ]
null
null
null
# Coffee Break Python x = 50 // 11 print(x)
9
21
0.622222
8
45
3.5
0.875
0
0
0
0
0
0
0
0
0
0
0.117647
0.244444
45
4
22
11.25
0.705882
0.422222
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
5735f0ea44fcfc4a22f359e3cf8cdf0eaaa40450
134
py
Python
setup.py
cfclrk/git2dot
3d086d17270a6b01a045f1cb8a0c7bed23a358fa
[ "MIT" ]
null
null
null
setup.py
cfclrk/git2dot
3d086d17270a6b01a045f1cb8a0c7bed23a358fa
[ "MIT" ]
null
null
null
setup.py
cfclrk/git2dot
3d086d17270a6b01a045f1cb8a0c7bed23a358fa
[ "MIT" ]
null
null
null
# This file is required because editable installs (pip install -e) still requires a # setup.py. from setuptools import setup setup()
22.333333
83
0.768657
20
134
5.15
0.9
0
0
0
0
0
0
0
0
0
0
0
0.164179
134
5
84
26.8
0.919643
0.679104
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
5756301d40307f6403d964d055165a1020846285
21
py
Python
app/pages/__init__.py
WayneGoosen/snippet-generator
f1ac9cded97d431c5f220ea53fe0ed9308bf890f
[ "MIT" ]
2
2020-11-13T20:04:56.000Z
2020-12-04T06:21:24.000Z
app/pages/__init__.py
WayneGoosen/snippet-generator
f1ac9cded97d431c5f220ea53fe0ed9308bf890f
[ "MIT" ]
4
2021-03-19T23:14:03.000Z
2021-06-01T22:11:08.000Z
app/pages/__init__.py
WayneGoosen/snippet-generator
f1ac9cded97d431c5f220ea53fe0ed9308bf890f
[ "MIT" ]
null
null
null
""" Pages package """
21
21
0.571429
2
21
6
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
21
1
21
21
0.666667
0.619048
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
939a720e068975ffdc3fbd1273eb4776ce9a6c7d
242
py
Python
contak/serializers.py
dasfrosty/contak-service
49808b6232e751138e0e17683045540fbe5861d1
[ "MIT" ]
null
null
null
contak/serializers.py
dasfrosty/contak-service
49808b6232e751138e0e17683045540fbe5861d1
[ "MIT" ]
null
null
null
contak/serializers.py
dasfrosty/contak-service
49808b6232e751138e0e17683045540fbe5861d1
[ "MIT" ]
null
null
null
from rest_framework.serializers import ModelSerializer from .models import Contact class ContactSerializer(ModelSerializer): class Meta: model = Contact fields = ["id", "first_name", "last_name", "created", "modified"]
24.2
73
0.714876
25
242
6.8
0.76
0
0
0
0
0
0
0
0
0
0
0
0.18595
242
9
74
26.888889
0.862944
0
0
0
0
0
0.14876
0
0
0
0
0
0
1
0
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
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
93ad1539cced45ed1ab0d4978d51ffc8bd2ca57b
1,404
py
Python
day16/python/beckel/solution.py
JeyP91/aoc-2019
025359d872a2f9e2bd2e4e617fd9d2014d4387fa
[ "MIT" ]
null
null
null
day16/python/beckel/solution.py
JeyP91/aoc-2019
025359d872a2f9e2bd2e4e617fd9d2014d4387fa
[ "MIT" ]
null
null
null
day16/python/beckel/solution.py
JeyP91/aoc-2019
025359d872a2f9e2bd2e4e617fd9d2014d4387fa
[ "MIT" ]
null
null
null
def fft(output_list, num_phases): pattern = (0, 1, 0, -1) for phase in range(num_phases): print("Phase",phase) input_list = output_list output_list = '' for i in range(len(input_list)): current_pattern = [x for x in pattern for _ in range(i+1)] sum_of_phas...
66.857143
664
0.76567
104
1,404
10.038462
0.336538
0.047893
0.038314
0.028736
0.036398
0
0
0
0
0
0
0.571059
0.173077
1,404
21
665
66.857143
0.328165
0
0
0
0
0
0.471886
0.462633
0
0
0
0
0
1
0.05
false
0
0
0
0.1
0.1
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
93baf8e167a6a6bb41f5c218b3bbab4cf8efc228
229
py
Python
mintools/ormin/field/integer.py
bitstein/elements-explorer
ec9e5caa1bc6f209d2fbcea9d9d240075b7a179e
[ "MIT" ]
null
null
null
mintools/ormin/field/integer.py
bitstein/elements-explorer
ec9e5caa1bc6f209d2fbcea9d9d240075b7a179e
[ "MIT" ]
null
null
null
mintools/ormin/field/integer.py
bitstein/elements-explorer
ec9e5caa1bc6f209d2fbcea9d9d240075b7a179e
[ "MIT" ]
null
null
null
from .number import NumericField class IntField(NumericField): def __init__(self, **kwargs): super(IntField, self).__init__(field_type='int', **kwargs) def _clean_value(self, value): return int(value)
20.818182
66
0.681223
27
229
5.37037
0.62963
0
0
0
0
0
0
0
0
0
0
0
0.196507
229
10
67
22.9
0.788043
0
0
0
0
0
0.013158
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
0.833333
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
0
1
1
0
0
4
93f979e6ca0d9050ef1a82b503770df2b98b47df
118
py
Python
generator/main.py
nathank1894/phenoflow
20eb0f9fe02b283984e3502563ec30d7ddfe05be
[ "MIT" ]
2
2020-12-07T13:00:26.000Z
2020-12-07T14:30:57.000Z
generator/main.py
nathank1894/phenoflow
20eb0f9fe02b283984e3502563ec30d7ddfe05be
[ "MIT" ]
3
2021-03-04T16:18:24.000Z
2021-12-01T12:46:53.000Z
generator/main.py
nathank1894/phenoflow
20eb0f9fe02b283984e3502563ec30d7ddfe05be
[ "MIT" ]
10
2021-02-17T16:50:08.000Z
2021-10-19T10:43:16.000Z
from api.routes import app import uvicorn if __name__ == '__main__': uvicorn.run(app, host='0.0.0.0', port=3004)
19.666667
47
0.694915
20
118
3.7
0.7
0.081081
0.081081
0
0
0
0
0
0
0
0
0.08
0.152542
118
5
48
23.6
0.66
0
0
0
0
0
0.127119
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
93feb768082398a7dbae8c4bfbfda33cd851ea12
1,335
py
Python
python/setup.py
marcsello/jsonplus
86151b6a65bfaa8803f04d62d28ddfd342750768
[ "MIT" ]
11
2017-05-20T18:03:15.000Z
2020-06-29T03:22:21.000Z
python/setup.py
marcsello/jsonplus
86151b6a65bfaa8803f04d62d28ddfd342750768
[ "MIT" ]
5
2018-02-12T19:22:56.000Z
2019-07-12T11:32:43.000Z
python/setup.py
marcsello/jsonplus
86151b6a65bfaa8803f04d62d28ddfd342750768
[ "MIT" ]
5
2017-11-03T05:10:18.000Z
2020-10-28T13:19:23.000Z
#!/usr/bin/env python from setuptools import setup setup( name='jsonplus', version='0.8.0-dev', description="Custom datatypes (like datetime) serialization to/from JSON.", long_description=open('README.rst').read(), author='Radomir Stevanovic', author_email='radomir.stevanovic@gmail.com', u...
39.264706
81
0.632959
139
1,335
6.05036
0.582734
0.203329
0.267539
0.154578
0.064209
0
0
0
0
0
0
0.017274
0.219476
1,335
33
82
40.454545
0.789827
0.014981
0
0
0
0
0.613394
0.021309
0
0
0
0
0
1
0
true
0
0.032258
0
0.032258
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
f51935cd88357151f06bb4aafd627295e4539498
299
py
Python
timm/scheduler/__init__.py
KnockerPulsar/pytorch-image-models
893f5dde27ae6b17389f738bd6e37160e2868c72
[ "Apache-2.0" ]
null
null
null
timm/scheduler/__init__.py
KnockerPulsar/pytorch-image-models
893f5dde27ae6b17389f738bd6e37160e2868c72
[ "Apache-2.0" ]
null
null
null
timm/scheduler/__init__.py
KnockerPulsar/pytorch-image-models
893f5dde27ae6b17389f738bd6e37160e2868c72
[ "Apache-2.0" ]
null
null
null
from .cosine_lr import CosineLRScheduler from .multistep_lr import MultiStepLRScheduler from .plateau_lr import PlateauLRScheduler from .poly_lr import PolyLRScheduler from .step_lr import StepLRScheduler from .tanh_lr import TanhLRScheduler from .scheduler_factory import create_scheduler
33.222222
48
0.852843
36
299
6.861111
0.5
0.194332
0
0
0
0
0
0
0
0
0
0
0.123746
299
8
49
37.375
0.942748
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
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
f51a992fa3d057ec39e983a746b51ce29e9a8cd9
61
py
Python
codesamples/__init__.py
Manny27nyc/pythondotorg
257c96d3a94755451a5a5cdcd2abad1e27ea299b
[ "Apache-2.0" ]
911
2015-01-03T22:16:06.000Z
2022-03-31T23:56:22.000Z
codesamples/__init__.py
Manny27nyc/pythondotorg
257c96d3a94755451a5a5cdcd2abad1e27ea299b
[ "Apache-2.0" ]
1,342
2015-01-02T16:14:45.000Z
2022-03-28T08:01:20.000Z
codesamples/__init__.py
Manny27nyc/pythondotorg
257c96d3a94755451a5a5cdcd2abad1e27ea299b
[ "Apache-2.0" ]
551
2015-01-04T02:17:31.000Z
2022-03-23T11:59:25.000Z
default_app_config = 'codesamples.apps.CodesamplesAppConfig'
30.5
60
0.868852
6
61
8.5
1
0
0
0
0
0
0
0
0
0
0
0
0.04918
61
1
61
61
0.87931
0
0
0
0
0
0.606557
0.606557
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
f53f3569a130062acee9d0d9b23e510e580d7395
33
py
Python
data/studio21_generated/introductory/3518/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/introductory/3518/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/introductory/3518/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
def linux_type(file_attribute):
16.5
31
0.818182
5
33
5
1
0
0
0
0
0
0
0
0
0
0
0
0.090909
33
2
32
16.5
0.833333
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
f5482eed4e591cf1f452510e64073947d7a23c9e
195
py
Python
docs/source/examples/loop_1.py
astooke/gtimer
2146dab459e5d959feb291821733d3d3ba7c523c
[ "MIT" ]
8
2016-09-08T05:40:40.000Z
2020-04-29T18:17:54.000Z
docs/source/examples/loop_1.py
astooke/gtimer
2146dab459e5d959feb291821733d3d3ba7c523c
[ "MIT" ]
1
2022-01-27T13:11:58.000Z
2022-01-27T13:11:58.000Z
docs/source/examples/loop_1.py
astooke/gtimer
2146dab459e5d959feb291821733d3d3ba7c523c
[ "MIT" ]
null
null
null
import gtimer as gt import time time.sleep(0.1) gt.stamp('first') for i in [1, 2, 3]: time.sleep(0.1) gt.stamp('loop', unique=False) time.sleep(0.1) gt.stamp('second') print gt.report()
16.25
34
0.65641
38
195
3.368421
0.552632
0.210938
0.234375
0.257813
0.421875
0.421875
0
0
0
0
0
0.054545
0.153846
195
11
35
17.727273
0.721212
0
0
0.3
0
0
0.076923
0
0
0
0
0
0
0
null
null
0
0.2
null
null
0.1
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
1
0
0
0
0
0
0
0
0
4
f582279109f6890f7b88907868a1208e625c2235
55
py
Python
source/code/main.py
typesupply/lasermeasure
14531a145b4f748cd7acb2e02717959a1710f0a3
[ "MIT" ]
2
2022-03-26T21:40:41.000Z
2022-03-31T12:37:28.000Z
source/code/main.py
typesupply/lasermeasure
14531a145b4f748cd7acb2e02717959a1710f0a3
[ "MIT" ]
6
2022-03-31T01:04:41.000Z
2022-03-31T23:04:24.000Z
source/code/main.py
typesupply/lasermeasure
14531a145b4f748cd7acb2e02717959a1710f0a3
[ "MIT" ]
null
null
null
from laserMeasure import subscriber subscriber.main()
13.75
35
0.836364
6
55
7.666667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.109091
55
3
36
18.333333
0.938776
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
f598d992b4a97bfbf1d4f862fef3a20b5a1e6006
205
py
Python
snmp_qos/cbqos/cfg/match_statement.py
xiaopeng163/cbqos-snmp-discovery
2fe4d5c13c52c1add5dfbaa7edb7ea6bc9e56a91
[ "Apache-2.0" ]
1
2020-10-19T15:27:58.000Z
2020-10-19T15:27:58.000Z
snmp_qos/cbqos/cfg/match_statement.py
xiaopeng163/cbqos-snmp-discovery
2fe4d5c13c52c1add5dfbaa7edb7ea6bc9e56a91
[ "Apache-2.0" ]
null
null
null
snmp_qos/cbqos/cfg/match_statement.py
xiaopeng163/cbqos-snmp-discovery
2fe4d5c13c52c1add5dfbaa7edb7ea6bc9e56a91
[ "Apache-2.0" ]
1
2021-09-24T06:48:17.000Z
2021-09-24T06:48:17.000Z
from snmp_qos.cbqos.qos_object import QosObject from snmp_qos.cbqos.cfg.base import CfgBase @QosObject.register class MatchStatement(CfgBase): TYPE = '3' TYPE_STR = 'match statement'
18.636364
48
0.726829
27
205
5.37037
0.666667
0.110345
0.151724
0.22069
0
0
0
0
0
0
0
0.006061
0.195122
205
10
49
20.5
0.872727
0
0
0
0
0
0.082474
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.833333
0
1
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
f59be84590d69de4bc22a0758277dfbd8e094a0e
56
py
Python
tests/__init__.py
matheusfelipeog/vermon
d296c1db835e5a2adb7ba1792bde8e5fe361fffa
[ "MIT" ]
1
2021-04-15T19:28:04.000Z
2021-04-15T19:28:04.000Z
tests/__init__.py
matheusfelipeog/vermon
d296c1db835e5a2adb7ba1792bde8e5fe361fffa
[ "MIT" ]
null
null
null
tests/__init__.py
matheusfelipeog/vermon
d296c1db835e5a2adb7ba1792bde8e5fe361fffa
[ "MIT" ]
1
2021-11-13T08:41:12.000Z
2021-11-13T08:41:12.000Z
# -*- coding: utf-8 -*- """Tests of vermon package."""
14
30
0.535714
7
56
4.285714
1
0
0
0
0
0
0
0
0
0
0
0.021739
0.178571
56
3
31
18.666667
0.630435
0.839286
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