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
584f6d166970adb6f3793037f401b85f026ce2ab
511
py
Python
tests/kyu_7_tests/test_binary_addition.py
the-zebulan/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
40
2016-03-09T12:26:20.000Z
2022-03-23T08:44:51.000Z
tests/kyu_7_tests/test_binary_addition.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
null
null
null
tests/kyu_7_tests/test_binary_addition.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
36
2016-11-07T19:59:58.000Z
2022-03-31T11:18:27.000Z
import unittest from katas.kyu_7.binary_addition import add_binary class AddBinaryTestCase(unittest.TestCase): def test_equals(self): self.assertEqual(add_binary(1, 1), '10') def test_equals_2(self): self.assertEqual(add_binary(0, 1), '1') def test_equals_3(self): self.assertEqu...
24.333333
54
0.675147
74
511
4.432432
0.378378
0.164634
0.198171
0.335366
0.432927
0.176829
0
0
0
0
0
0.072993
0.195695
511
20
55
25.55
0.725061
0
0
0
0
0
0.02544
0
0
0
0
0
0.384615
1
0.384615
false
0
0.153846
0
0.615385
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
587fce66d43c23ddc2eed105e1033650f3ef5080
174
py
Python
configs/models/aott.py
yoxu515/aot-benchmark
5a7665fc8e0f0e64bc8ba6028b15d9ab32f4c56a
[ "BSD-3-Clause" ]
105
2021-11-16T12:43:59.000Z
2022-03-31T08:05:11.000Z
configs/models/aott.py
lingyunwu14/aot-benchmark
99f74f051c91ac221e44f3edab3534ae4dd233f7
[ "BSD-3-Clause" ]
14
2021-11-18T09:52:36.000Z
2022-03-31T16:26:32.000Z
configs/models/aott.py
lingyunwu14/aot-benchmark
99f74f051c91ac221e44f3edab3534ae4dd233f7
[ "BSD-3-Clause" ]
17
2021-11-16T13:28:29.000Z
2022-03-29T02:14:48.000Z
import os from .default import DefaultModelConfig class ModelConfig(DefaultModelConfig): def __init__(self): super().__init__() self.MODEL_NAME = 'AOTT'
21.75
39
0.706897
18
174
6.333333
0.777778
0.140351
0
0
0
0
0
0
0
0
0
0
0.201149
174
7
40
24.857143
0.820144
0
0
0
0
0
0.022989
0
0
0
0
0
0
1
0.166667
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
588dd58a16badefdc5a90e5e3a2eb711ee8221dd
194
py
Python
modules/util/objects/query_parts/postgres_query_part.py
stevekineeve88/doubloon
4c7c9163e96877ad23663c3dd9a73ef6ccde3e22
[ "MIT" ]
null
null
null
modules/util/objects/query_parts/postgres_query_part.py
stevekineeve88/doubloon
4c7c9163e96877ad23663c3dd9a73ef6ccde3e22
[ "MIT" ]
8
2021-01-29T15:49:17.000Z
2021-10-14T01:03:27.000Z
modules/util/objects/query_parts/postgres_query_part.py
stevekineeve88/doubloon
4c7c9163e96877ad23663c3dd9a73ef6ccde3e22
[ "MIT" ]
null
null
null
class PostgresQueryPart: """ Object representing Postgres query part """ def get_query(self) -> str: """ Get query Returns: str """ pass
17.636364
47
0.505155
17
194
5.705882
0.764706
0.164948
0
0
0
0
0
0
0
0
0
0
0.396907
194
10
48
19.4
0.82906
0.365979
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.333333
0
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
4
58a347a92a051b6eeb3be14043e523039fd31e40
784
py
Python
backend/app/models/weather.py
francoiscolombo/webnews
2f4c3fa5343919e6c658d97aebec4997d4d7ea48
[ "MIT" ]
null
null
null
backend/app/models/weather.py
francoiscolombo/webnews
2f4c3fa5343919e6c658d97aebec4997d4d7ea48
[ "MIT" ]
4
2021-03-10T12:26:29.000Z
2022-02-27T02:00:32.000Z
backend/app/models/weather.py
francoiscolombo/webnews
2f4c3fa5343919e6c658d97aebec4997d4d7ea48
[ "MIT" ]
null
null
null
from app import db from app.models.serializer import Serializer class Weather(db.Model, Serializer): id = db.Column(db.Integer, primary_key=True) ip = db.Column(db.String(15), index=True, unique=True) country = db.Column(db.String(80)) flag = db.Column(db.String(512)) town = db.Column(db.String(80...
32.666667
70
0.672194
113
784
4.59292
0.362832
0.184971
0.231214
0.339114
0.34104
0.16763
0
0
0
0
0
0.035604
0.17602
784
23
71
34.086957
0.767802
0
0
0
0
0
0.021684
0
0
0
0
0
0
1
0.105263
false
0
0.105263
0.105263
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
544703b0ead742e49b1d2aa2223e76a2cd97299b
62,639
py
Python
src.py
edbezci/mapOverlayHumanoid
95d5e16fb983a7384abea6f51599483274ff0f62
[ "MIT" ]
null
null
null
src.py
edbezci/mapOverlayHumanoid
95d5e16fb983a7384abea6f51599483274ff0f62
[ "MIT" ]
null
null
null
src.py
edbezci/mapOverlayHumanoid
95d5e16fb983a7384abea6f51599483274ff0f62
[ "MIT" ]
null
null
null
# lines 1-4 imports the necessary libraries import pygame import os import random import math import sys import hlp import intro import dsb # this is the last module with the description files ''' declaring some global variables beacause in Python, we can set global variables that can be used in future functions se...
56.279425
200
0.61765
8,872
62,639
4.347723
0.08803
0.009333
0.0077
0.013688
0.748788
0.73764
0.720297
0.709693
0.699505
0.696809
0
0.041287
0.308242
62,639
1,112
201
56.330036
0.848907
0.446271
0
0.626075
0
0
0.033456
0.000826
0
0
0
0
0
1
0.025788
false
0
0.011461
0
0.044413
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
545fd8631d933f37ee5ed9022359f6f1a7a06f4b
73
py
Python
software/python/XilinxKcu1500Pgp3/__init__.py
ejangelico/cryo-on-epix-hr-dev
354bf205a67d3c43b4e815823dd78cec85d3b672
[ "BSD-3-Clause-LBNL" ]
1
2021-05-24T22:01:54.000Z
2021-05-24T22:01:54.000Z
software/python/XilinxKcu1500Pgp3/__init__.py
ejangelico/cryo-on-epix-hr-dev
354bf205a67d3c43b4e815823dd78cec85d3b672
[ "BSD-3-Clause-LBNL" ]
1
2021-02-25T20:27:36.000Z
2021-03-31T17:55:08.000Z
software/python/XilinxKcu1500Pgp3/__init__.py
ejangelico/cryo-on-epix-hr-dev
354bf205a67d3c43b4e815823dd78cec85d3b672
[ "BSD-3-Clause-LBNL" ]
4
2020-10-21T21:39:37.000Z
2021-07-24T02:19:34.000Z
#!/usr/bin/env python from XilinxKcu1500Pgp3.XilinxKcu1500Pgp3 import *
18.25
49
0.808219
8
73
7.375
0.875
0
0
0
0
0
0
0
0
0
0
0.151515
0.09589
73
3
50
24.333333
0.742424
0.273973
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
54615497a597809e722b75e586e88b607f457119
470
py
Python
magma/backend/util.py
Kuree/magma
be2439aa897768c5810be72e3a55a6f772ac83cf
[ "MIT" ]
null
null
null
magma/backend/util.py
Kuree/magma
be2439aa897768c5810be72e3a55a6f772ac83cf
[ "MIT" ]
null
null
null
magma/backend/util.py
Kuree/magma
be2439aa897768c5810be72e3a55a6f772ac83cf
[ "MIT" ]
null
null
null
import os __magma_codegen_debug_info = False if os.environ.get("MAGMA_CODEGEN_DEBUG_INFO", False): __magma_codegen_debug_info = True def set_codegen_debug_info(val): global __magma_codegen_debug_info __magma_codegen_debug_info = val def get_codegen_debug_info(): return __magma_codegen_debug_info ...
21.363636
53
0.77234
68
470
4.794118
0.367647
0.294479
0.392638
0.386503
0.159509
0
0
0
0
0
0
0
0.148936
470
21
54
22.380952
0.815
0
0
0
0
0
0.051064
0.051064
0
0
0
0
0
1
0.230769
false
0
0.076923
0.076923
0.461538
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
5491d3f5c105c58d0e54d67614d6a8faed7a1e75
256
py
Python
Algorithm/Array/217. Contains Duplicate.py
smsubham/Data-Structure-Algorithms-Questions
45da68231907068ef4e4a0444ffdac69b337fa7c
[ "Apache-2.0" ]
null
null
null
Algorithm/Array/217. Contains Duplicate.py
smsubham/Data-Structure-Algorithms-Questions
45da68231907068ef4e4a0444ffdac69b337fa7c
[ "Apache-2.0" ]
null
null
null
Algorithm/Array/217. Contains Duplicate.py
smsubham/Data-Structure-Algorithms-Questions
45da68231907068ef4e4a0444ffdac69b337fa7c
[ "Apache-2.0" ]
null
null
null
# https://leetcode.com/problems/contains-duplicate/ # We are forming whole set always which isn't optimal though time complexity is O(n). class Solution: def containsDuplicate(self, nums: List[int]) -> bool: return len(nums) != len(set(nums))
36.571429
85
0.710938
37
256
4.918919
0.891892
0
0
0
0
0
0
0
0
0
0
0
0.164063
256
7
86
36.571429
0.850467
0.519531
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.333333
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
1
0
0
0
1
1
0
0
4
54a10b062decccd624d8a14f46543d84c61a99d9
176
py
Python
project_e/jobs/apps.py
ElectricFleming/project-e
cf05d2a835a09555e3dba5813d635d329684a71c
[ "bzip2-1.0.6" ]
null
null
null
project_e/jobs/apps.py
ElectricFleming/project-e
cf05d2a835a09555e3dba5813d635d329684a71c
[ "bzip2-1.0.6" ]
3
2020-01-30T03:47:26.000Z
2021-05-11T00:58:08.000Z
project_e/jobs/apps.py
effortless-electric/project-e
ae4e8415204319999ee2ecac248e2504ec1fff63
[ "bzip2-1.0.6" ]
1
2019-12-27T22:45:45.000Z
2019-12-27T22:45:45.000Z
from django.apps import AppConfig from django.utils.translation import gettext_lazy as _ class JobsConfig(AppConfig): name = 'project_e.jobs' verbose_name = _("Jobs")
25.142857
54
0.761364
23
176
5.608696
0.73913
0.155039
0
0
0
0
0
0
0
0
0
0
0.153409
176
6
55
29.333333
0.865772
0
0
0
0
0
0.102273
0
0
0
0
0
0
1
0
false
0
0.4
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
54bcc1399279abf79ea8c42b52f38e4ad74979ae
1,155
py
Python
models.py
zhangjingqiang/qiang-tools
73fcb896bfec14f1ed668a1ef81526d80c80082f
[ "MIT" ]
null
null
null
models.py
zhangjingqiang/qiang-tools
73fcb896bfec14f1ed668a1ef81526d80c80082f
[ "MIT" ]
null
null
null
models.py
zhangjingqiang/qiang-tools
73fcb896bfec14f1ed668a1ef81526d80c80082f
[ "MIT" ]
null
null
null
from flask.ext.login import UserMixin from werkzeug.security import generate_password_hash, check_password_hash from app import db class User(UserMixin, db.Model): """ User who can use this application. """ __tablename__ = 'users' id = db.Column(db.Integer, primary_key=True) username = db....
26.25
73
0.665801
142
1,155
5.176056
0.387324
0.114286
0.068027
0.065306
0.089796
0.089796
0.089796
0.089796
0
0
0
0.005562
0.221645
1,155
43
74
26.860465
0.812013
0.042424
0
0.148148
1
0
0.048735
0
0
0
0
0
0
1
0.222222
false
0.407407
0.111111
0.111111
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
4
49a4e7b419d4d64776cdbda3fd3b82f70e450c6d
96
py
Python
ardget_app/apps.py
shumdeveloper/ardget
585a93ce24e747014f2cbde8daae600e26fbd835
[ "MIT" ]
null
null
null
ardget_app/apps.py
shumdeveloper/ardget
585a93ce24e747014f2cbde8daae600e26fbd835
[ "MIT" ]
null
null
null
ardget_app/apps.py
shumdeveloper/ardget
585a93ce24e747014f2cbde8daae600e26fbd835
[ "MIT" ]
null
null
null
from django.apps import AppConfig class TempArduinoConfig(AppConfig): name = 'ardget_app'
16
35
0.770833
11
96
6.636364
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.15625
96
5
36
19.2
0.901235
0
0
0
0
0
0.104167
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
49b2849f5a27a9f4b798aac2f6c1149060ada338
96
py
Python
first_project/pizza_store/apps.py
itamaro/django-zero-to-cloud
0b0a4f75bf6a27855b00a88aebf93471a38e0c3c
[ "Apache-2.0" ]
null
null
null
first_project/pizza_store/apps.py
itamaro/django-zero-to-cloud
0b0a4f75bf6a27855b00a88aebf93471a38e0c3c
[ "Apache-2.0" ]
null
null
null
first_project/pizza_store/apps.py
itamaro/django-zero-to-cloud
0b0a4f75bf6a27855b00a88aebf93471a38e0c3c
[ "Apache-2.0" ]
null
null
null
from django.apps import AppConfig class PizzaStoreConfig(AppConfig): name = 'pizza_store'
16
34
0.770833
11
96
6.636364
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.15625
96
5
35
19.2
0.901235
0
0
0
0
0
0.114583
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
49d510eb8a62e95ceab2defdd45b0de37d252639
968
py
Python
module3-nosql-and-document-oriented-databases/rpg_mongo.py
Dpgofast/DS-Unit-3-Sprint-2-SQL-and-Databases
f78bb4c67a182dd3c96ffdca1175d888239f2099
[ "MIT" ]
null
null
null
module3-nosql-and-document-oriented-databases/rpg_mongo.py
Dpgofast/DS-Unit-3-Sprint-2-SQL-and-Databases
f78bb4c67a182dd3c96ffdca1175d888239f2099
[ "MIT" ]
null
null
null
module3-nosql-and-document-oriented-databases/rpg_mongo.py
Dpgofast/DS-Unit-3-Sprint-2-SQL-and-Databases
f78bb4c67a182dd3c96ffdca1175d888239f2099
[ "MIT" ]
null
null
null
import pymongo client = pymongo.MongoClient('''mongodb://dakotapope:passwrd@ cluster0-shard-00-00-iaoct.mongodb.net:27017,cluster0-shard-00 -01-iaoct.mongodb.net:27017,cluster0-shard-00-02-iaoct.mongodb. net:27017/test?ssl=true&replicaSet=Cluster0-shard-0&authSource= admin&retryWrites=true''') # investigate the databa...
34.571429
74
0.764463
153
968
4.777778
0.581699
0.071135
0.06156
0.082079
0.095759
0.095759
0.095759
0
0
0
0
0.05075
0.104339
968
27
75
35.851852
0.792388
0.372934
0
0
0
0.230769
0.62709
0.605351
0
0
0
0
0
1
0
false
0.076923
0.076923
0
0.076923
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
b7150935db3a2cd174419b41f2e68609597221e8
103
py
Python
python/testData/quickdoc/AncestorClassDocstringForConstructor.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/quickdoc/AncestorClassDocstringForConstructor.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/quickdoc/AncestorClassDocstringForConstructor.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
class Base: """Class docstring.""" class Sub(Base): def __in<the_ref>it__(self): pass
14.714286
32
0.592233
14
103
4
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.252427
103
6
33
17.166667
0.727273
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0.25
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
4
b7222728ba7e52a01bbb0861ac4236dbfa5ce453
1,003
py
Python
utils/builder/register_builder/riscv/BootPriority.py
noahsherrill/force-riscv
500cec3017f619dbf853a497bf02eaeecca927c9
[ "Apache-2.0" ]
111
2020-06-12T22:31:30.000Z
2022-03-19T03:45:20.000Z
utils/builder/register_builder/riscv/BootPriority.py
noahsherrill/force-riscv
500cec3017f619dbf853a497bf02eaeecca927c9
[ "Apache-2.0" ]
34
2020-06-12T20:23:40.000Z
2022-03-15T20:04:31.000Z
utils/builder/register_builder/riscv/BootPriority.py
noahsherrill/force-riscv
500cec3017f619dbf853a497bf02eaeecca927c9
[ "Apache-2.0" ]
32
2020-06-12T19:15:26.000Z
2022-02-20T11:38:31.000Z
# # Copyright (C) [2020] Futurewei Technologies, Inc. # # FORCE-RISCV is licensed under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # THIS SOFTWARE IS PR...
37.148148
78
0.755733
148
1,003
5.121622
0.641892
0.065963
0.034301
0.042216
0
0
0
0
0
0
0
0.012151
0.179462
1,003
26
79
38.576923
0.90887
0.847458
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.333333
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
3f74e2e86d84e340b05f4456f8d63e50bac1ee3e
495
py
Python
package/awesome_panel/database/settings.py
mycarta/awesome-panel
dae17d11f686daaedd48b8e74ac4307c89e2b031
[ "Apache-2.0" ]
1
2020-05-08T21:44:37.000Z
2020-05-08T21:44:37.000Z
package/awesome_panel/database/settings.py
mycarta/awesome-panel
dae17d11f686daaedd48b8e74ac4307c89e2b031
[ "Apache-2.0" ]
null
null
null
package/awesome_panel/database/settings.py
mycarta/awesome-panel
dae17d11f686daaedd48b8e74ac4307c89e2b031
[ "Apache-2.0" ]
null
null
null
"""In this module we provide a list paths, urls and other usefull settings.""" GITHUB_URL = "https://github.com/MarcSkovMadsen/awesome-panel/" GITHUB_BLOB_MASTER_URL = "https://github.com/MarcSkovMadsen/awesome-panel/blob/master/" GITHUB_RAW_URL = "https://raw.githubusercontent.com/MarcSkovMadsen/awesome-panel/maste...
55
92
0.775758
63
495
5.952381
0.444444
0.085333
0.256
0.309333
0.397333
0.397333
0.397333
0.282667
0.282667
0
0
0
0.084848
495
8
93
61.875
0.827815
0.145455
0
0
0
0.142857
0.704156
0.061125
0
0
0
0
0
1
0
false
0
0
0
0
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
3f880cabd29a75530eb1d2132bd05625f3e4cd8e
98
py
Python
checkov/common/comment/enum.py
antonblr/checkov
9415c6593c537945c08f7a19f28bdd8b96966f67
[ "Apache-2.0" ]
4,013
2019-12-09T13:16:54.000Z
2022-03-31T14:31:01.000Z
checkov/common/comment/enum.py
antonblr/checkov
9415c6593c537945c08f7a19f28bdd8b96966f67
[ "Apache-2.0" ]
1,258
2019-12-17T09:55:51.000Z
2022-03-31T19:17:17.000Z
checkov/common/comment/enum.py
antonblr/checkov
9415c6593c537945c08f7a19f28bdd8b96966f67
[ "Apache-2.0" ]
638
2019-12-19T08:57:38.000Z
2022-03-30T21:38:37.000Z
import re COMMENT_REGEX = re.compile(r'(checkov:skip=|bridgecrew:skip=) *([A-Z_\d]+)(:[^\n]+)?')
24.5
86
0.622449
15
98
3.933333
0.866667
0
0
0
0
0
0
0
0
0
0
0
0.071429
98
3
87
32.666667
0.648352
0
0
0
0
0
0.561224
0.55102
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
3f9839dc98473c8e4ea48d01106d9d7e95ce9755
1,009
py
Python
labels/migrations/0002_auto_20210210_0110.py
plaf2000/webspec
487ccccff088ddbda0e5e475aaad167a01f4aab2
[ "MIT" ]
null
null
null
labels/migrations/0002_auto_20210210_0110.py
plaf2000/webspec
487ccccff088ddbda0e5e475aaad167a01f4aab2
[ "MIT" ]
null
null
null
labels/migrations/0002_auto_20210210_0110.py
plaf2000/webspec
487ccccff088ddbda0e5e475aaad167a01f4aab2
[ "MIT" ]
null
null
null
# Generated by Django 3.1.3 on 2021-02-10 01:10 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('labels', '0001_initial'), ] operations = [ migrations.AddField( model_name='species', name='de', field=m...
26.552632
63
0.544103
95
1,009
5.642105
0.4
0.134328
0.171642
0.201493
0.723881
0.723881
0.652985
0.652985
0.652985
0.652985
0
0.0462
0.334985
1,009
37
64
27.27027
0.752608
0.044599
0
0.645161
1
0
0.056133
0
0
0
0
0
0
1
0
false
0
0.032258
0
0.129032
0
0
0
0
null
0
0
1
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
3fac820670f21ea8c46cbcd7d979941dd6e7c18a
409,678
py
Python
3algo/homo/1_10_10datap.py
allengrr/deadlock_project
933878077c45a7df04daa087407bb2620c064617
[ "MIT" ]
null
null
null
3algo/homo/1_10_10datap.py
allengrr/deadlock_project
933878077c45a7df04daa087407bb2620c064617
[ "MIT" ]
null
null
null
3algo/homo/1_10_10datap.py
allengrr/deadlock_project
933878077c45a7df04daa087407bb2620c064617
[ "MIT" ]
1
2021-03-21T17:54:26.000Z
2021-03-21T17:54:26.000Z
wt1_10_10 = {'192.168.122.110': [5.5754, 5.5952, 9.2422, 8.5338, 9.0058, 8.4025, 8.7557, 8.4405, 8.1397, 8.1318, 8.0657, 7.8501, 8.1701, 8.0757, 7.8899, 7.7329, 7.6153, 7.9967, 7.9363, 7.838, 8.7936, 8.6351, 8.5151, 8.6381, 8.7262, 8.816, 8.8984, 8.7799, 8.8584, 8.9543, 8.8833, 8.794, 8.6935, 8.735, 8.635, 8.5429, 8.6...
25,604.875
386,495
0.620085
103,726
409,678
2.44873
0.062974
0.000362
0.000921
0.000433
0.559601
0.174852
0.174726
0.040674
0.040674
0.011256
0
0.709549
0.126609
409,678
16
386,496
25,604.875
0.000319
0
0
0
0
0
0.000701
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
3fb348a99aed4f8624038b9f92d6819ccde7fa22
589
py
Python
aiohttp_apispec/decorators/__init__.py
maksimvrs/aiohttp-apispec
186e354ce244ccc4b36999bca56a9d8ca41e63d0
[ "MIT" ]
null
null
null
aiohttp_apispec/decorators/__init__.py
maksimvrs/aiohttp-apispec
186e354ce244ccc4b36999bca56a9d8ca41e63d0
[ "MIT" ]
null
null
null
aiohttp_apispec/decorators/__init__.py
maksimvrs/aiohttp-apispec
186e354ce244ccc4b36999bca56a9d8ca41e63d0
[ "MIT" ]
null
null
null
from .docs import docs from .request import ( request_schema, use_kwargs, # for backward compatibility path_schema, # request_schema with locations=["path"] querystring_schema, # request_schema with locations=["querystring"] form_schema, # request_schema with locations=["form"] json_schema, ...
36.8125
72
0.730051
66
589
6.272727
0.30303
0.219807
0.275362
0.333333
0.463768
0
0
0
0
0
0
0
0.17657
589
15
73
39.266667
0.853608
0.509338
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
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
3fcb54fe77197f1040f44681301381a698a9f1e0
831
py
Python
dfdatetime/__init__.py
joachimmetz/dfdatetime
de6da30114b952abeac8909906862e78aa7286dc
[ "Apache-2.0" ]
null
null
null
dfdatetime/__init__.py
joachimmetz/dfdatetime
de6da30114b952abeac8909906862e78aa7286dc
[ "Apache-2.0" ]
null
null
null
dfdatetime/__init__.py
joachimmetz/dfdatetime
de6da30114b952abeac8909906862e78aa7286dc
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """Digital Forensics Date and Time (dfDateTime). dfDateTime, or Digital Forensics date and time, provides date and time objects to preserve accuracy and precision. """ # Imports for date time values factory. from dfdatetime import apfs_time from dfdatetime import cocoa_time from dfdatetime imp...
29.678571
70
0.839952
116
831
5.827586
0.353448
0.331361
0.473373
0.390533
0.204142
0
0
0
0
0
0
0.017956
0.128761
831
27
71
30.777778
0.915746
0.267148
0
0
0
0
0.013311
0
0
0
0
0
0
1
0
false
0
0.941176
0
0.941176
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
1
0
0
0
0
4
3fce96f02b43f368aab74e2c6e770ef0bfeee1f2
107
py
Python
run.py
Arthurdb1999/dash-plotly-example
a54dce5e233aab75746a433665a4a958a77e4b58
[ "MIT" ]
null
null
null
run.py
Arthurdb1999/dash-plotly-example
a54dce5e233aab75746a433665a4a958a77e4b58
[ "MIT" ]
null
null
null
run.py
Arthurdb1999/dash-plotly-example
a54dce5e233aab75746a433665a4a958a77e4b58
[ "MIT" ]
null
null
null
from app import app if __name__ == '__main__': app.run_server(port=5000, debug=True, host='localhost')
26.75
59
0.719626
16
107
4.25
0.875
0
0
0
0
0
0
0
0
0
0
0.043478
0.140187
107
4
59
26.75
0.695652
0
0
0
0
0
0.157407
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
3fe371c906222e31026634c1cd2e9e52427c680b
151
py
Python
language/python/modules/websocket/websocket_module.py
bigfoolliu/liu_aistuff
aa661d37c05c257ee293285dd0868fb7e8227628
[ "MIT" ]
1
2019-11-25T07:23:42.000Z
2019-11-25T07:23:42.000Z
language/python/modules/websocket/websocket_module.py
bigfoolliu/liu_aistuff
aa661d37c05c257ee293285dd0868fb7e8227628
[ "MIT" ]
13
2020-01-07T16:09:47.000Z
2022-03-02T12:51:44.000Z
language/python/modules/websocket/websocket_module.py
bigfoolliu/liu_aistuff
aa661d37c05c257ee293285dd0868fb7e8227628
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding:utf-8 -*- # author: bigfoolliu """ web socket可用于实时聊天 """ import websocket if __name__ == '__main__': pass
10.066667
26
0.629139
17
151
5.117647
1
0
0
0
0
0
0
0
0
0
0
0.016393
0.192053
151
14
27
10.785714
0.696721
0.523179
0
0
0
0
0.129032
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.333333
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
b20ed9c65d8b7c88f2047aafe3f3e3d7c3016629
2,401
py
Python
dashboard_api/widget_def/migrations/0059_auto_20160701_0929.py
data61/Openboard
aaf7ef49e05c0771094efc6be811c6ae88055252
[ "Apache-2.0" ]
2
2017-08-29T23:05:51.000Z
2019-04-02T21:11:35.000Z
dashboard_api/widget_def/migrations/0059_auto_20160701_0929.py
data61/Openboard
aaf7ef49e05c0771094efc6be811c6ae88055252
[ "Apache-2.0" ]
1
2019-04-02T21:11:26.000Z
2019-04-03T15:12:57.000Z
dashboard_api/widget_def/migrations/0059_auto_20160701_0929.py
data61/Openboard
aaf7ef49e05c0771094efc6be811c6ae88055252
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-06-30 23:29 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('widget_def', '0058_auto_20160617_1124'), ] operations = [ migrations.AlterUn...
28.247059
110
0.549354
178
2,401
7.252809
0.382022
0.076685
0.181255
0.20914
0.503486
0.503486
0.072812
0
0
0
0
0.024081
0.342774
2,401
84
111
28.583333
0.794043
0.027905
0
0.701299
1
0
0.195624
0.063921
0
0
0
0
0
1
0
false
0
0.025974
0
0.064935
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
b748865dafd57226e01bad7504ce06ab355e363a
75
py
Python
anti_freeze/__main__.py
Donluigimx/anti-freeze
03699e5c4f82ccd06f37b4e8b51da22cc5841b57
[ "MIT" ]
null
null
null
anti_freeze/__main__.py
Donluigimx/anti-freeze
03699e5c4f82ccd06f37b4e8b51da22cc5841b57
[ "MIT" ]
null
null
null
anti_freeze/__main__.py
Donluigimx/anti-freeze
03699e5c4f82ccd06f37b4e8b51da22cc5841b57
[ "MIT" ]
null
null
null
if __name__ == '__main__': from .system import MyApp MyApp().run()
18.75
29
0.626667
9
75
4.333333
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.226667
75
3
30
25
0.672414
0
0
0
0
0
0.106667
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
b749f4714d0c5e5ad919fdd5ae7b07a02ccd8628
71
py
Python
sensorAtlas/__init__.py
iosefa/pyMatau
7b3f768db578771ba55a912bc4a9b8be58619070
[ "MIT" ]
2
2021-05-28T10:26:17.000Z
2021-07-03T03:11:22.000Z
sensorAtlas/__init__.py
iosefa/pyMatau
7b3f768db578771ba55a912bc4a9b8be58619070
[ "MIT" ]
2
2020-11-19T00:51:19.000Z
2020-11-19T01:18:03.000Z
sensorAtlas/__init__.py
sensoratlas/sensoratlas
7b3f768db578771ba55a912bc4a9b8be58619070
[ "MIT" ]
1
2019-10-10T14:03:42.000Z
2019-10-10T14:03:42.000Z
# app config default_app_config = 'sensorAtlas.apps.sensorAtlasConfig'
23.666667
57
0.830986
8
71
7.125
0.75
0.315789
0
0
0
0
0
0
0
0
0
0
0.084507
71
2
58
35.5
0.876923
0.140845
0
0
0
0
0.576271
0.576271
0
0
0
0
0
1
0
false
0
0
0
0
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
b74f2a4a74090ecd5db981f0f8052fb5379e118a
410
py
Python
runtime/python/Lib/site-packages/numpy/typing/tests/data/fail/datasource.py
hwaipy/InteractionFreeNode
88642b68430f57b028fd0f276a5709f89279e30d
[ "MIT" ]
null
null
null
runtime/python/Lib/site-packages/numpy/typing/tests/data/fail/datasource.py
hwaipy/InteractionFreeNode
88642b68430f57b028fd0f276a5709f89279e30d
[ "MIT" ]
null
null
null
runtime/python/Lib/site-packages/numpy/typing/tests/data/fail/datasource.py
hwaipy/InteractionFreeNode
88642b68430f57b028fd0f276a5709f89279e30d
[ "MIT" ]
null
null
null
from pathlib import Path import numpy as np path: Path d1: np.DataSource d1.abspath(path) # E: incompatible type d1.abspath(b"...") # E: incompatible type d1.exists(path) # E: incompatible type d1.exists(b"...") # E: incompatible type d1.open(path, "r") # E: incompatible type d1.open(b"...", encod...
25.625
57
0.656098
60
410
4.483333
0.366667
0.33829
0.442379
0.423792
0.550186
0
0
0
0
0
0
0.026946
0.185366
410
15
58
27.333333
0.778443
0.356098
0
0
0
0
0.06639
0
0
0
0
0
0
1
0
true
0
0.181818
0
0.181818
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
b76026927b6eb058284eefad5002a87c72c21db0
520
py
Python
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/openedx/core/djangoapps/video_pipeline/utils.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
3
2021-12-15T04:58:18.000Z
2022-02-06T12:15:37.000Z
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/openedx/core/djangoapps/video_pipeline/utils.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
null
null
null
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/openedx/core/djangoapps/video_pipeline/utils.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
1
2019-01-02T14:38:50.000Z
2019-01-02T14:38:50.000Z
""" Utils for video_pipeline app. """ from django.conf import settings from edx_rest_api_client.client import OAuthAPIClient def create_video_pipeline_api_client(api_client_id, api_client_secret): """ Returns an API client which can be used to make Video Pipeline API requests. Arguments: api_cli...
28.888889
82
0.765385
73
520
5.150685
0.465753
0.215426
0.087766
0.135638
0.199468
0.138298
0
0
0
0
0
0
0.169231
520
17
83
30.588235
0.87037
0.45
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.5
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
4
b76c4833b7dafb63e3cda3a938dba6519b8c5061
1,544
py
Python
snpy/spline2/__init__.py
emirkmo/snpy
2a0153c84477ba8a30310d7dbca3d5a8f24de3c6
[ "MIT" ]
6
2019-01-14T19:40:45.000Z
2021-06-05T12:19:39.000Z
snpy/spline2/__init__.py
emirkmo/snpy
2a0153c84477ba8a30310d7dbca3d5a8f24de3c6
[ "MIT" ]
3
2017-04-25T20:06:22.000Z
2021-06-09T20:46:41.000Z
snpy/spline2/__init__.py
emirkmo/snpy
2a0153c84477ba8a30310d7dbca3d5a8f24de3c6
[ "MIT" ]
8
2017-04-25T19:57:57.000Z
2021-11-12T11:54:19.000Z
''' Spline2.py: wrapper for B. Thijsse et al.'s hyper-spline routines. Yet another spline interpolation routine. The problem: given a set of experimental data with noise, find the spline with the optimal number of knots. Solution : They use the usual kind of routines to determine least-squares splines ...
49.806452
74
0.687824
225
1,544
4.72
0.577778
0.026365
0.036723
0.047081
0
0
0
0
0
0
0
0.009769
0.270725
1,544
30
75
51.466667
0.933393
0.979275
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
b7937e5f465626651bc0a037a47d5bc1cfd62cdf
261
py
Python
tests/future_division_eval.py
mayl8822/onelinerizer
bad341f261d35e56872b4c22297a44dc6d5cfab3
[ "MIT" ]
1,062
2015-11-18T01:04:33.000Z
2022-03-29T07:13:30.000Z
tests/future_division_eval.py
CoDeRgAnEsh/1line
507ef35b0006fc2998463dee92c2fdae53fe0694
[ "MIT" ]
26
2015-11-17T06:58:07.000Z
2022-01-15T18:11:16.000Z
tests/future_division_eval.py
CoDeRgAnEsh/1line
507ef35b0006fc2998463dee92c2fdae53fe0694
[ "MIT" ]
100
2015-11-17T09:01:22.000Z
2021-09-12T13:58:28.000Z
from __future__ import division print eval('1/2') exec('print 1/2') eval(compile('print 1/2', 'wat.py', 'exec')) print eval(compile('1/2', 'wat.py', 'eval')) print eval(compile('1/2', 'wat.py', 'eval', 0, 0)) print eval(compile('1/2', 'wat.py', 'eval', 0, ~0))
32.625
51
0.62069
48
261
3.291667
0.270833
0.075949
0.126582
0.177215
0.537975
0.537975
0.537975
0.537975
0.367089
0.367089
0
0.06867
0.10728
261
7
52
37.285714
0.609442
0
0
0
0
0
0.268199
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.857143
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
1
0
0
0
0
0
0
1
0
4
b7c4b41079ffcb026b138a48570833eeaf51d196
149
py
Python
testing/run-tests.py
8enmann/blobfile
34bf6fac2a0cd4ff5eb5c3e4964914758f264c0b
[ "Unlicense" ]
21
2020-02-26T08:00:20.000Z
2022-02-28T00:06:50.000Z
testing/run-tests.py
8enmann/blobfile
34bf6fac2a0cd4ff5eb5c3e4964914758f264c0b
[ "Unlicense" ]
146
2020-02-28T18:15:53.000Z
2022-03-24T06:37:57.000Z
testing/run-tests.py
8enmann/blobfile
34bf6fac2a0cd4ff5eb5c3e4964914758f264c0b
[ "Unlicense" ]
15
2020-04-10T08:31:57.000Z
2022-02-28T03:43:02.000Z
import subprocess as sp import sys sp.run(["pip", "install", "-e", "."], check=True) sp.run(["pytest", "blobfile"] + sys.argv[1:], check=True)
24.833333
58
0.604027
22
149
4.090909
0.681818
0.111111
0
0
0
0
0
0
0
0
0
0.007874
0.147651
149
5
59
29.8
0.700787
0
0
0
0
0
0.1875
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
b7d98d9548c561ff4d20a9c30014735028dc693b
19,134
py
Python
tests/test_ciftify_recon_all.py
lgrennan/ciftify
8488423bd081370614b676a2e1d1a8dbfd9aba1c
[ "MIT" ]
null
null
null
tests/test_ciftify_recon_all.py
lgrennan/ciftify
8488423bd081370614b676a2e1d1a8dbfd9aba1c
[ "MIT" ]
null
null
null
tests/test_ciftify_recon_all.py
lgrennan/ciftify
8488423bd081370614b676a2e1d1a8dbfd9aba1c
[ "MIT" ]
null
null
null
#!/usr/bin/env python import unittest import logging import importlib import copy import os from mock import patch from nose.tools import raises logging.disable(logging.CRITICAL) ciftify_recon_all = importlib.import_module('ciftify.bin.ciftify_recon_all') class ConvertFreesurferSurface(unittest.TestCase): meshe...
40.710638
89
0.669907
2,460
19,134
4.913415
0.104472
0.041698
0.04964
0.052784
0.748076
0.736659
0.726648
0.71126
0.697361
0.67494
0
0.005366
0.240305
19,134
469
90
40.797441
0.826156
0.140222
0
0.609091
0
0
0.208825
0.136222
0
0
0
0
0.10303
1
0.072727
false
0
0.024242
0
0.124242
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
b7f7a2d524260e395bf0b274a89d51e8f9652827
240
py
Python
nbgrader/nbgraderformat/__init__.py
FrattisUC/nbgrader
f6402dcbb875e41ee3317be9e7af518afda9f72c
[ "BSD-3-Clause-Clear" ]
2
2021-09-11T20:32:18.000Z
2021-09-11T20:32:37.000Z
nbgrader/nbgraderformat/__init__.py
FrattisUC/nbgrader
f6402dcbb875e41ee3317be9e7af518afda9f72c
[ "BSD-3-Clause-Clear" ]
null
null
null
nbgrader/nbgraderformat/__init__.py
FrattisUC/nbgrader
f6402dcbb875e41ee3317be9e7af518afda9f72c
[ "BSD-3-Clause-Clear" ]
1
2019-09-13T07:46:09.000Z
2019-09-13T07:46:09.000Z
SCHEMA_VERSION = 2 from .common import ValidationError, SchemaMismatchError from .v2 import MetadataValidatorV2 as MetadataValidator from .v2 import read_v2 as read, write_v2 as write from .v2 import reads_v2 as reads, writes_v2 as writes
34.285714
56
0.829167
36
240
5.388889
0.444444
0.082474
0.185567
0
0
0
0
0
0
0
0
0.043478
0.1375
240
6
57
40
0.89372
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
b7f8ec16e2bfb80be5a624728d6c0040fc0bbacb
16,352
py
Python
cpp-linux/Release/envcpp.py
thu-media/Comyco
38cc0266b1c0a9f20e48a173d0157452cb411b85
[ "BSD-2-Clause" ]
40
2019-08-09T07:33:41.000Z
2021-11-26T06:58:44.000Z
cpp-linux/Release/envcpp.py
ragnarkor/Comyco
38cc0266b1c0a9f20e48a173d0157452cb411b85
[ "BSD-2-Clause" ]
9
2019-10-09T03:10:46.000Z
2021-12-26T15:31:15.000Z
cpp-linux/Release/envcpp.py
ragnarkor/Comyco
38cc0266b1c0a9f20e48a173d0157452cb411b85
[ "BSD-2-Clause" ]
12
2019-11-06T08:31:19.000Z
2021-11-12T09:56:37.000Z
# This file was automatically generated by SWIG (http://www.swig.org). # Version 4.0.0 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info as _swig_python_version_info if _swig_python_version_info < (2, 7, 0): raise Runtime...
31.446154
145
0.707131
2,078
16,352
5.055823
0.104427
0.129069
0.086808
0.041881
0.642966
0.475252
0.432515
0.347421
0.238435
0.125642
0
0.00275
0.199425
16,352
519
146
31.506744
0.799786
0.034675
0
0.353933
1
0
0.023412
0
0
0
0
0
0
1
0.370787
false
0
0.016854
0.33427
0.873596
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
4d06738fefc51f3cbb68390fbd2da42ba7057869
262
py
Python
src/season/framework/status.py
season-framework/season-flask-wiz
95d75758a6036d387c1b803bd6a68f238ec430e0
[ "MIT" ]
6
2021-12-09T05:06:49.000Z
2022-01-18T02:38:03.000Z
src/season/framework/status.py
season-framework/season-flask-wiz
95d75758a6036d387c1b803bd6a68f238ec430e0
[ "MIT" ]
2
2022-02-18T02:00:36.000Z
2022-03-22T05:18:30.000Z
src/season/framework/status.py
season-framework/season-flask-wiz
95d75758a6036d387c1b803bd6a68f238ec430e0
[ "MIT" ]
2
2022-01-07T00:26:00.000Z
2022-03-07T06:24:27.000Z
class status(Exception): def __init__(self, code=200, response=None): super().__init__("season.core.CLASS.RESPONSE.STATUS") self.code = code self.response = response def get_response(self): return self.response, self.code
32.75
61
0.660305
32
262
5.125
0.46875
0.146341
0
0
0
0
0
0
0
0
0
0.014706
0.221374
262
8
62
32.75
0.789216
0
0
0
0
0
0.125475
0.125475
0
0
0
0
0
1
0.285714
false
0
0
0.142857
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
4d23e4d034125a3f8c2a16ba07229fdc1c90a016
257
py
Python
toontown/estate/DistributedPlantBaseAI.py
TheFamiliarScoot/open-toontown
678313033174ea7d08e5c2823bd7b473701ff547
[ "BSD-3-Clause" ]
99
2019-11-02T22:25:00.000Z
2022-02-03T03:48:00.000Z
toontown/estate/DistributedPlantBaseAI.py
TheFamiliarScoot/open-toontown
678313033174ea7d08e5c2823bd7b473701ff547
[ "BSD-3-Clause" ]
42
2019-11-03T05:31:08.000Z
2022-03-16T22:50:32.000Z
toontown/estate/DistributedPlantBaseAI.py
TheFamiliarScoot/open-toontown
678313033174ea7d08e5c2823bd7b473701ff547
[ "BSD-3-Clause" ]
57
2019-11-03T07:47:37.000Z
2022-03-22T00:41:49.000Z
from direct.directnotify import DirectNotifyGlobal from direct.distributed.DistributedObjectAI import DistributedObjectAI class DistributedPlantBaseAI(DistributedObjectAI): notify = DirectNotifyGlobal.directNotify.newCategory('DistributedPlantBaseAI')
42.833333
82
0.879377
19
257
11.894737
0.578947
0.088496
0
0
0
0
0
0
0
0
0
0
0.070039
257
5
83
51.4
0.945607
0
0
0
0
0
0.085603
0.085603
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
4d2521ea6310ee9cc5f131827f5a83488f594d5f
66
py
Python
python/testData/refactoring/move/docstringTypes/before/src/b.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2018-12-29T09:53:39.000Z
2018-12-29T09:53:42.000Z
python/testData/refactoring/move/docstringTypes/before/src/b.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/refactoring/move/docstringTypes/before/src/b.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
def f(x): '''Does nothing. :type x: a.C ''' pass
9.428571
20
0.409091
10
66
2.7
0.9
0
0
0
0
0
0
0
0
0
0
0
0.393939
66
6
21
11
0.675
0.409091
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
4d2554382ea5d2316a7d1a204e1adf6165ec8877
195
py
Python
datapack/validate.py
emorgan00/EasyDatapacks
535bf30a23e4e8fa22ff827bc6c223f91a0228ed
[ "MIT" ]
35
2019-06-23T22:35:56.000Z
2022-02-23T18:09:25.000Z
datapack/validate.py
emorgan00/EasyDatapacks
535bf30a23e4e8fa22ff827bc6c223f91a0228ed
[ "MIT" ]
5
2019-07-08T04:54:21.000Z
2022-03-24T12:44:19.000Z
datapack/validate.py
emorgan00/EasyDatapacks
535bf30a23e4e8fa22ff827bc6c223f91a0228ed
[ "MIT" ]
5
2019-06-24T04:09:15.000Z
2022-02-22T03:50:41.000Z
# this should accept a command as a string, and raturn a string detailing the issue # if <command> is not a valid vanilla minecraft command. None otherwise. def check(command): return None
27.857143
83
0.753846
31
195
4.741935
0.741935
0.095238
0
0
0
0
0
0
0
0
0
0
0.194872
195
6
84
32.5
0.936306
0.779487
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
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
1
0
0
0
1
1
0
0
4
4d2be9274f40cf5428dff78da1531be1cba5e3f0
28
py
Python
tests/fixtures/pkg1/pkg2/pkg3/pkg4/pkg5/__init__.py
shashankrnr32/pytkdocs
bf04764f1608970643932329c9f6c8c63a0c5632
[ "0BSD" ]
21
2021-02-20T05:20:52.000Z
2022-03-04T20:57:16.000Z
tests/fixtures/pkg1/pkg2/pkg3/pkg4/pkg5/__init__.py
shashankrnr32/pytkdocs
bf04764f1608970643932329c9f6c8c63a0c5632
[ "0BSD" ]
84
2020-03-22T15:29:56.000Z
2021-02-09T21:47:11.000Z
tests/fixtures/pkg1/pkg2/pkg3/pkg4/pkg5/__init__.py
shashankrnr32/pytkdocs
bf04764f1608970643932329c9f6c8c63a0c5632
[ "0BSD" ]
21
2020-04-09T13:56:23.000Z
2021-01-19T19:18:42.000Z
"""Hello from the abyss."""
14
27
0.607143
4
28
4.25
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
28
1
28
28
0.708333
0.75
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
4d2f1c615c504ceda8bcf1bd0cf231a9e5310a56
4,914
py
Python
release/stubs.min/Autodesk/Revit/UI/Plumbing.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
182
2017-06-27T02:26:15.000Z
2022-03-30T18:53:43.000Z
release/stubs.min/Autodesk/Revit/UI/Plumbing.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
28
2017-06-27T13:38:23.000Z
2022-03-15T11:19:44.000Z
release/stubs.min/Autodesk/Revit/UI/Plumbing.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
67
2017-06-28T09:43:59.000Z
2022-03-20T21:17:10.000Z
# encoding: utf-8 # module Autodesk.Revit.UI.Plumbing calls itself Plumbing # from RevitAPIUI,Version=17.0.0.0,Culture=neutral,PublicKeyToken=null # by generator 1.145 # no doc # no imports # no functions # classes class IPipeFittingAndAccessoryPressureDropUIServer(IExternalServer): """ Interface for exte...
28.905882
215
0.71571
520
4,914
6.451923
0.257692
0.035469
0.038152
0.045306
0.43845
0.418778
0.418778
0.356781
0.356781
0.335917
0
0.00249
0.182743
4,914
169
216
29.076923
0.832918
0.614367
0
0.777778
0
0
0
0
0
0
0
0
0
1
0.444444
false
0.444444
0
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
4
4d31fdb12184ec34b1dcc98d224f9491db93ddd4
708
py
Python
migrations/versions/010_Add_uploader_link_to_upload.py
LCBRU/lbrc_upload
be42fef97b67c1f25329db52ae3a88eb293a1203
[ "MIT" ]
null
null
null
migrations/versions/010_Add_uploader_link_to_upload.py
LCBRU/lbrc_upload
be42fef97b67c1f25329db52ae3a88eb293a1203
[ "MIT" ]
null
null
null
migrations/versions/010_Add_uploader_link_to_upload.py
LCBRU/lbrc_upload
be42fef97b67c1f25329db52ae3a88eb293a1203
[ "MIT" ]
null
null
null
from sqlalchemy import MetaData, Table, Index, Column, Integer meta = MetaData() def upgrade(migrate_engine): meta = MetaData(bind=migrate_engine) upload = Table("upload", meta, autoload=True) uploader_id = Column("uploader_id", Integer) uploader_id.create(upload) idx_upload_uploader_id = Index...
28.32
82
0.75565
95
708
5.315789
0.252632
0.237624
0.20198
0.225743
0.609901
0.609901
0.609901
0.609901
0.609901
0.609901
0
0
0.141243
708
24
83
29.5
0.830592
0
0
0.4
0
0
0.094633
0.062147
0
0
0
0
0
1
0.133333
false
0
0.066667
0
0.2
0
0
0
0
null
1
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
4d3d9898f84561406d75802e9d8427f790dcd648
32
py
Python
vesicashapi/vesicash.py
vesicash/vesicash-python-sdk
0a665e302b88c4eeb316a635c5485c9c3c1fffeb
[ "Apache-2.0" ]
null
null
null
vesicashapi/vesicash.py
vesicash/vesicash-python-sdk
0a665e302b88c4eeb316a635c5485c9c3c1fffeb
[ "Apache-2.0" ]
null
null
null
vesicashapi/vesicash.py
vesicash/vesicash-python-sdk
0a665e302b88c4eeb316a635c5485c9c3c1fffeb
[ "Apache-2.0" ]
1
2021-04-20T14:54:40.000Z
2021-04-20T14:54:40.000Z
""" Entry point defined here """
32
32
0.65625
4
32
5.25
1
0
0
0
0
0
0
0
0
0
0
0
0.15625
32
1
32
32
0.777778
0.75
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
4d5862aa5b9a7ab6497cf927fcc9eb557781d081
213
py
Python
src/books/api.py
lukecyx/lms
eff57c4026e63cd7dd7ea5ac1f061fa0a9ec1a4c
[ "MIT" ]
null
null
null
src/books/api.py
lukecyx/lms
eff57c4026e63cd7dd7ea5ac1f061fa0a9ec1a4c
[ "MIT" ]
null
null
null
src/books/api.py
lukecyx/lms
eff57c4026e63cd7dd7ea5ac1f061fa0a9ec1a4c
[ "MIT" ]
null
null
null
from src.books.models import Book from src.books.schema import BookOut from ninja import Router router = Router() @router.get("/", response=list[BookOut]) def get_books(request): return Book.objects.all()
17.75
40
0.746479
31
213
5.096774
0.580645
0.227848
0.151899
0
0
0
0
0
0
0
0
0
0.13615
213
11
41
19.363636
0.858696
0
0
0
0
0
0.004695
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0.142857
0.714286
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
4
4d5be74386b958660be296261cac18d84c28239e
297
py
Python
tests/data/expected/main/main_jsonschema_ids/id.py
roadsync/datamodel-code-generator
c22ea471d46300771c15cfaf21864cbe23bfbba4
[ "MIT" ]
null
null
null
tests/data/expected/main/main_jsonschema_ids/id.py
roadsync/datamodel-code-generator
c22ea471d46300771c15cfaf21864cbe23bfbba4
[ "MIT" ]
null
null
null
tests/data/expected/main/main_jsonschema_ids/id.py
roadsync/datamodel-code-generator
c22ea471d46300771c15cfaf21864cbe23bfbba4
[ "MIT" ]
null
null
null
# generated by datamodel-codegen: # filename: Organization.schema.json # timestamp: 1985-10-26T08:21:00+00:00 from __future__ import annotations from pydantic import BaseModel, Field class Schema(BaseModel): __root__: str = Field(..., description='Identifier string of this object.')
24.75
79
0.750842
37
297
5.810811
0.810811
0.037209
0
0
0
0
0
0
0
0
0
0.070866
0.144781
297
11
80
27
0.775591
0.363636
0
0
1
0
0.178378
0
0
0
0
0
0
1
0
true
0
0.5
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
4d9a26770685da502961cca228e3f8b5f696e2a2
172
py
Python
tests/conftest.py
s0undt3ch/mommas-cookbook
ccca526eee9241f12674cad8c1e1da1a900cef82
[ "Apache-2.0" ]
2
2022-01-02T23:47:32.000Z
2022-01-07T11:14:15.000Z
tests/conftest.py
UfSoft/mommas-cookbook
ccca526eee9241f12674cad8c1e1da1a900cef82
[ "Apache-2.0" ]
1
2022-01-17T12:47:37.000Z
2022-01-17T12:47:37.000Z
tests/conftest.py
s0undt3ch/mommas-cookbook
ccca526eee9241f12674cad8c1e1da1a900cef82
[ "Apache-2.0" ]
1
2022-01-10T18:49:36.000Z
2022-01-10T18:49:36.000Z
# Import our project so that our custom logging gets setup early enough from __future__ import annotations import mcookbook # noqa: F401 # pylint: disable=unused-import
34.4
71
0.796512
24
172
5.541667
0.833333
0
0
0
0
0
0
0
0
0
0
0.020833
0.162791
172
4
72
43
0.902778
0.651163
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
4da29c483d3fd7e63823596e88d9d101fcad2df3
78
py
Python
wsgi.py
FlexMeasures/flexmeasures
a4367976d37ac5721b8eb3ce8a2414595e52c678
[ "Apache-2.0" ]
12
2021-12-18T10:41:10.000Z
2022-03-29T23:00:29.000Z
wsgi.py
FlexMeasures/flexmeasures
a4367976d37ac5721b8eb3ce8a2414595e52c678
[ "Apache-2.0" ]
103
2021-12-07T08:51:15.000Z
2022-03-31T13:28:48.000Z
wsgi.py
FlexMeasures/flexmeasures
a4367976d37ac5721b8eb3ce8a2414595e52c678
[ "Apache-2.0" ]
3
2022-01-18T04:45:48.000Z
2022-03-14T09:48:22.000Z
from flexmeasures.app import create as create_app application = create_app()
19.5
49
0.820513
11
78
5.636364
0.636364
0.290323
0
0
0
0
0
0
0
0
0
0
0.128205
78
3
50
26
0.911765
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
4da98c7999598efa40ea85ebd1e548863fec9e17
15,783
py
Python
coremltools/test/neural_network/test_graph_passes.py
domcorvasce/coremltools
391114169687b6ac9122174ff77d8072e6bf6b68
[ "BSD-3-Clause" ]
65
2019-10-02T09:56:22.000Z
2022-03-16T22:41:14.000Z
coremltools/test/neural_network/test_graph_passes.py
domcorvasce/coremltools
391114169687b6ac9122174ff77d8072e6bf6b68
[ "BSD-3-Clause" ]
51
2020-01-13T07:54:13.000Z
2022-03-17T09:11:56.000Z
coremltools/test/neural_network/test_graph_passes.py
domcorvasce/coremltools
391114169687b6ac9122174ff77d8072e6bf6b68
[ "BSD-3-Clause" ]
16
2020-03-06T09:26:03.000Z
2022-02-05T05:35:05.000Z
import numpy as np import unittest import coremltools.models.datatypes as datatypes from coremltools.models import neural_network as neural_network from coremltools.models import MLModel from coremltools.models.neural_network.printer import print_network_spec from coremltools.converters.nnssa.coreml.graph_pass.mlmodel_...
50.264331
120
0.593677
1,782
15,783
5.023569
0.138047
0.034629
0.040214
0.046917
0.755139
0.719057
0.715929
0.67214
0.662087
0.641533
0
0.024473
0.288031
15,783
313
121
50.42492
0.772181
0.066337
0
0.621094
0
0
0.089914
0.001711
0
0
0
0
0.09375
1
0.03125
false
0.050781
0.035156
0
0.070313
0.035156
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
4db85d3fc2b5c525eb2343fee5b61c2b7cad4134
27
py
Python
salman.py
Fayad-hub/Fayad-hub
b132b8266da8a36b6162feb69c67639067a90b69
[ "BSD-2-Clause" ]
null
null
null
salman.py
Fayad-hub/Fayad-hub
b132b8266da8a36b6162feb69c67639067a90b69
[ "BSD-2-Clause" ]
null
null
null
salman.py
Fayad-hub/Fayad-hub
b132b8266da8a36b6162feb69c67639067a90b69
[ "BSD-2-Clause" ]
1
2021-05-26T06:06:38.000Z
2021-05-26T06:06:38.000Z
<html> salman.py <html/>
6.75
16
0.592593
4
27
4
0.75
0
0
0
0
0
0
0
0
0
0
0
0.185185
27
3
17
9
0.727273
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
4db9da7c1b63e7750aa55027e3ed9ae8620596ff
148
py
Python
test_default_application/application.py
Ca11MeE/dophon
6737b0f0dc9ec2c2229865940c3c6d6ee326fc28
[ "Apache-2.0" ]
1
2018-08-13T09:57:34.000Z
2018-08-13T09:57:34.000Z
test_default_application/application.py
Ca11MeE/dophon
6737b0f0dc9ec2c2229865940c3c6d6ee326fc28
[ "Apache-2.0" ]
null
null
null
test_default_application/application.py
Ca11MeE/dophon
6737b0f0dc9ec2c2229865940c3c6d6ee326fc28
[ "Apache-2.0" ]
null
null
null
# properties detail please read \ # default_properties.py in dophon_properties module \ # inside your used dophon module package. # author: CallMeE
29.6
53
0.790541
19
148
6.052632
0.789474
0
0
0
0
0
0
0
0
0
0
0
0.148649
148
4
54
37
0.912698
0.939189
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
151724d850402f50ae0bbd91cc2f5825d03ab2de
22,871
py
Python
cfn_policy_validator/tests/validation_tests/test_resource_validator.py
awslabs/aws-cloudformation-iam-policy-validator
52c1439e4d76d2c7d45c97563cc87f8458134e0b
[ "MIT-0" ]
41
2021-09-30T01:28:51.000Z
2022-03-24T09:42:09.000Z
cfn_policy_validator/tests/validation_tests/test_resource_validator.py
awslabs/aws-cloudformation-iam-policy-validator
52c1439e4d76d2c7d45c97563cc87f8458134e0b
[ "MIT-0" ]
10
2021-09-30T08:13:11.000Z
2022-03-22T07:34:41.000Z
cfn_policy_validator/tests/validation_tests/test_resource_validator.py
awslabs/aws-cloudformation-iam-policy-validator
52c1439e4d76d2c7d45c97563cc87f8458134e0b
[ "MIT-0" ]
3
2021-11-29T21:13:30.000Z
2022-02-04T12:49:40.000Z
""" Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: MIT-0 """ import boto3 import copy import unittest from botocore.stub import ANY from cfn_policy_validator.tests import account_config, offline_only, only_run_for_end_to_end from cfn_policy_validator.tests.boto_mocks impor...
33.437135
145
0.773425
2,751
22,871
6.061796
0.093057
0.022787
0.022667
0.032742
0.787659
0.759235
0.75048
0.706824
0.666887
0.644519
0
0.016576
0.108434
22,871
683
146
33.486091
0.801236
0.018145
0
0.575652
0
0
0.213812
0.061484
0
0
0
0
0.095652
1
0.05913
false
0
0.017391
0.005217
0.093913
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
129824738bfae0f0fbd02b667cf74972ac9ca42e
143
py
Python
scripts/python/printings.py
samk-ai/cmd-tools-course-materials
fa3615df7ae70bbc701661bdeef588cbbf17be97
[ "MIT" ]
null
null
null
scripts/python/printings.py
samk-ai/cmd-tools-course-materials
fa3615df7ae70bbc701661bdeef588cbbf17be97
[ "MIT" ]
null
null
null
scripts/python/printings.py
samk-ai/cmd-tools-course-materials
fa3615df7ae70bbc701661bdeef588cbbf17be97
[ "MIT" ]
null
null
null
str1 = "Python" str2 = "Python" print("\nMemory location of str1 =", hex(id(str1))) print("Memory location of str2 =", hex(id(str2))) print()
23.833333
51
0.657343
21
143
4.47619
0.47619
0.212766
0
0
0
0
0
0
0
0
0
0.04878
0.13986
143
6
52
23.833333
0.715447
0
0
0
0
0
0.444444
0
0
0
0
0
0
1
0
false
0
0
0
0
0.6
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
12b18047e85021cd05074093d60424bfe744046f
167
py
Python
src/setup/__init__.py
ScottDay/DFN-Maintenance-GUI-Backend
bfb05c75747fa9c334224b99609baef7321860a4
[ "MIT" ]
2
2017-03-31T00:57:35.000Z
2017-08-04T10:38:28.000Z
src/setup/__init__.py
CPedersen3245/Desert-Fireball-Maintainence-GUI
bfb05c75747fa9c334224b99609baef7321860a4
[ "MIT" ]
10
2017-03-29T04:13:14.000Z
2017-08-14T06:14:52.000Z
src/setup/__init__.py
ScottDay/DFN-Maintenance-GUI-Backend
bfb05c75747fa9c334224b99609baef7321860a4
[ "MIT" ]
4
2017-12-23T03:16:00.000Z
2018-06-20T07:15:50.000Z
from .args import args from .extensions import extensions from .logger import logger from .routes import routes __all__ = ['args', 'extensions', 'logger', 'routes']
20.875
52
0.748503
21
167
5.761905
0.333333
0
0
0
0
0
0
0
0
0
0
0
0.143713
167
7
53
23.857143
0.846154
0
0
0
0
0
0.155689
0
0
0
0
0
0
1
0
false
0
0.8
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
12e658cebecc095f8910cdb95d0ccbd190f22eff
106
py
Python
module01/classes/class06b.py
LauroHBrant/python-course
2154181ca4b684b0d1fa635706bcb1647a753bc3
[ "MIT" ]
2
2021-01-07T23:59:36.000Z
2021-01-18T00:23:52.000Z
module01/classes/class06b.py
LauroHBrant/python-course
2154181ca4b684b0d1fa635706bcb1647a753bc3
[ "MIT" ]
null
null
null
module01/classes/class06b.py
LauroHBrant/python-course
2154181ca4b684b0d1fa635706bcb1647a753bc3
[ "MIT" ]
null
null
null
from style import blue, none n = input(f'Type {blue}something{none}: ') print(f'{blue}{n.isnumeric()}')
17.666667
42
0.669811
17
106
4.176471
0.705882
0
0
0
0
0
0
0
0
0
0
0
0.122642
106
5
43
21.2
0.763441
0
0
0
0
0
0.462264
0.40566
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
1
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
4204040a123c3ac5e25851793e3ded084eda1953
41
py
Python
ANNarchy_future/__init__.py
vitay/ANNarchy_future
2c2a43c67f4201cf72175793aaa51189d208436b
[ "MIT" ]
2
2021-03-11T18:11:30.000Z
2021-05-12T09:15:17.000Z
ANNarchy_future/__init__.py
vitay/ANNarchy_future
2c2a43c67f4201cf72175793aaa51189d208436b
[ "MIT" ]
null
null
null
ANNarchy_future/__init__.py
vitay/ANNarchy_future
2c2a43c67f4201cf72175793aaa51189d208436b
[ "MIT" ]
null
null
null
from .api import * __version__ = "5.0.0"
13.666667
21
0.658537
7
41
3.285714
0.857143
0
0
0
0
0
0
0
0
0
0
0.088235
0.170732
41
3
21
13.666667
0.588235
0
0
0
0
0
0.119048
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
42370720ae2a40bece1dbd04a95205d5f5073cbf
131
py
Python
apps/weapons/admin.py
tufbel/wFocus
ee0f02053b8a5bc9c40dd862306fc5df1a063b9d
[ "Apache-2.0" ]
null
null
null
apps/weapons/admin.py
tufbel/wFocus
ee0f02053b8a5bc9c40dd862306fc5df1a063b9d
[ "Apache-2.0" ]
11
2020-06-06T01:51:51.000Z
2022-02-10T14:31:21.000Z
apps/weapons/admin.py
tufbel/wFocus
ee0f02053b8a5bc9c40dd862306fc5df1a063b9d
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin # Register your models here. from apps.weapons.models import Weapon admin.site.register(Weapon)
18.714286
38
0.80916
19
131
5.578947
0.684211
0
0
0
0
0
0
0
0
0
0
0
0.122137
131
6
39
21.833333
0.921739
0.198473
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
425afadcb24a0ea23083f2d7fe78d83b6b1403c9
971
py
Python
Owner/models.py
2000090063/Vehicle_Rental_System-SDP-2-
483d811aa239a226607b4bfb262c99da3be017b4
[ "MIT" ]
3
2022-03-12T08:27:42.000Z
2022-03-17T12:16:16.000Z
Owner/models.py
2000090063/Vehicle_Rental_System-SDP-2-
483d811aa239a226607b4bfb262c99da3be017b4
[ "MIT" ]
null
null
null
Owner/models.py
2000090063/Vehicle_Rental_System-SDP-2-
483d811aa239a226607b4bfb262c99da3be017b4
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class Owner(models.Model): Owner_id = models.AutoField Owner_firstname = models.CharField(max_length=60) Owner_lastname = models.CharField(max_length=60) Owner_address = models.CharField(max_length=600) Owner_email = models.CharField(max_lengt...
42.217391
70
0.748713
127
971
5.456693
0.401575
0.238095
0.285714
0.380952
0.316017
0.316017
0
0
0
0
0
0.030303
0.15036
971
23
71
42.217391
0.809697
0.024717
0
0
0
0
0.021142
0
0
0
0
0
0
1
0.05
false
0.05
0.05
0.05
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
0
0
0
0
1
0
0
4
426fdd67326d3cc89802cd8abeba99af022807c1
117
py
Python
application/flicket_errors/__init__.py
abbas0001/flicket
547a5e783cccf157d10df88608440aa2919d7e7b
[ "MIT" ]
null
null
null
application/flicket_errors/__init__.py
abbas0001/flicket
547a5e783cccf157d10df88608440aa2919d7e7b
[ "MIT" ]
null
null
null
application/flicket_errors/__init__.py
abbas0001/flicket
547a5e783cccf157d10df88608440aa2919d7e7b
[ "MIT" ]
null
null
null
#! python3 # -*- coding: utf-8 -*- # from flask import Blueprint bp_errors = Blueprint('flicket-errors', __name__)
14.625
49
0.683761
14
117
5.357143
0.857143
0
0
0
0
0
0
0
0
0
0
0.020202
0.153846
117
7
50
16.714286
0.737374
0.264957
0
0
0
0
0.168675
0
0
0
0
0
0
1
0
false
0
0.5
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
0
0
0
1
0
0
1
0
4
427bd9dc45f6695e499240fef94ddec3e4b3fe88
80
py
Python
p40-49/p48.py
kbrose/project_euler
f582ef1887f44628997e05d88253adad0822d6b9
[ "Unlicense" ]
1
2015-10-11T15:53:00.000Z
2015-10-11T15:53:00.000Z
p40-49/p48.py
kbrose/project_euler
f582ef1887f44628997e05d88253adad0822d6b9
[ "Unlicense" ]
null
null
null
p40-49/p48.py
kbrose/project_euler
f582ef1887f44628997e05d88253adad0822d6b9
[ "Unlicense" ]
null
null
null
sum = 0 for i in xrange(1,1001): sum = sum + i**i print sum % 10000000000
11.428571
24
0.6
15
80
3.2
0.666667
0
0
0
0
0
0
0
0
0
0
0.293103
0.275
80
6
25
13.333333
0.534483
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
4293119f4fbe0691576ba0bf3959decad7140860
6,388
py
Python
metageta/icons.py
ssutee/metageta
70b7e572acefcce7a8f4d8de719f936934319064
[ "MIT" ]
null
null
null
metageta/icons.py
ssutee/metageta
70b7e572acefcce7a8f4d8de719f936934319064
[ "MIT" ]
null
null
null
metageta/icons.py
ssutee/metageta
70b7e572acefcce7a8f4d8de719f936934319064
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2013 Australian Government, Department of the Environment # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without...
63.88
89
0.688009
409
6,388
10.731051
0.726161
0.02005
0.016405
0.021873
0
0
0
0
0
0
0
0.061973
0.163901
6,388
99
90
64.525253
0.759783
0.181904
0
0.15942
0
0.014493
0.941373
0.803922
0
1
0
0
0
1
0
false
0
0
0
0.26087
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
4
429cf2c16bb83449ca0bd5d3338a9cac6d753159
74
py
Python
constants.py
phy1um/tmtc-discord-bot
7d01cd4c1a78dc0b8aa2bb703c8970ff7bb27f92
[ "MIT" ]
null
null
null
constants.py
phy1um/tmtc-discord-bot
7d01cd4c1a78dc0b8aa2bb703c8970ff7bb27f92
[ "MIT" ]
null
null
null
constants.py
phy1um/tmtc-discord-bot
7d01cd4c1a78dc0b8aa2bb703c8970ff7bb27f92
[ "MIT" ]
null
null
null
ANNOUNCEMENT_ROLE = "941805571915513857" GUILD_ID = "878926572235665418"
18.5
40
0.824324
6
74
9.833333
1
0
0
0
0
0
0
0
0
0
0
0.537313
0.094595
74
3
41
24.666667
0.343284
0
0
0
0
0
0.493151
0
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
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
42a664bd1e777200555f859b46debbdacf24989f
61
py
Python
other.py
nunenuh/idcard_datagen
694a1736f0f5c97c22462474991a6e32456f9498
[ "MIT" ]
1
2020-09-30T04:34:01.000Z
2020-09-30T04:34:01.000Z
other.py
nunenuh/idcard_datagen
694a1736f0f5c97c22462474991a6e32456f9498
[ "MIT" ]
null
null
null
other.py
nunenuh/idcard_datagen
694a1736f0f5c97c22462474991a6e32456f9498
[ "MIT" ]
null
null
null
def is_true(a,b,c,d,e,f,g): if a>10: print(10)
10.166667
27
0.47541
15
61
1.866667
0.866667
0
0
0
0
0
0
0
0
0
0
0.095238
0.311475
61
6
28
10.166667
0.571429
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.333333
0.333333
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
42ab8cf968e58717ef4f86c899c0440ef99114b5
26
py
Python
the_file_propagator/__init__.py
joeflack4/the-file-propagator
c72fdad7774c82c8bfa6bf5253b83f6bb1e4e713
[ "MIT" ]
null
null
null
the_file_propagator/__init__.py
joeflack4/the-file-propagator
c72fdad7774c82c8bfa6bf5253b83f6bb1e4e713
[ "MIT" ]
null
null
null
the_file_propagator/__init__.py
joeflack4/the-file-propagator
c72fdad7774c82c8bfa6bf5253b83f6bb1e4e713
[ "MIT" ]
null
null
null
"""The File Propagator"""
13
25
0.653846
3
26
5.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.115385
26
1
26
26
0.73913
0.730769
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
c40260dc06f3a35df8d6b1598c7152ecade68c53
204
py
Python
argv.py
christoga/python
1395b3177e7baf46677a7a7a4ae89d2488c6f0fa
[ "MIT" ]
5
2015-11-15T19:08:31.000Z
2015-11-27T02:34:28.000Z
argv.py
christoga/python
1395b3177e7baf46677a7a7a4ae89d2488c6f0fa
[ "MIT" ]
null
null
null
argv.py
christoga/python
1395b3177e7baf46677a7a7a4ae89d2488c6f0fa
[ "MIT" ]
null
null
null
from sys import argv script, first, second, third = argv print "This script called", script print "The first variable :", first print "The second variable :", second print "The third variable :", third
22.666667
37
0.735294
29
204
5.172414
0.448276
0.16
0
0
0
0
0
0
0
0
0
0
0.171569
204
8
38
25.5
0.887574
0
0
0
0
0
0.387255
0
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.666667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
4
c406c0be47fb741172f1a8941c81701c0d28eb02
253
py
Python
yakut/cmd/file_server/__init__.py
pavel-kirienko/un
996e64668d8902bd876fab16b64e3361094a674d
[ "MIT" ]
1
2020-12-23T22:59:12.000Z
2020-12-23T22:59:12.000Z
yakut/cmd/file_server/__init__.py
pavel-kirienko/un
996e64668d8902bd876fab16b64e3361094a674d
[ "MIT" ]
null
null
null
yakut/cmd/file_server/__init__.py
pavel-kirienko/un
996e64668d8902bd876fab16b64e3361094a674d
[ "MIT" ]
null
null
null
# Copyright (c) 2021 OpenCyphal # This software is distributed under the terms of the MIT License. # Author: Pavel Kirienko <pavel@opencyphal.org> from ._app_descriptor import AppDescriptor as AppDescriptor from ._cmd import file_server as file_server
36.142857
66
0.810277
36
253
5.555556
0.75
0.1
0
0
0
0
0
0
0
0
0
0.018349
0.13834
253
6
67
42.166667
0.899083
0.55336
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
c42001c4593f0af28c9a44cdd561459d12ab258c
195
py
Python
output/copilot/python/timeout/palindrome-partitioning.py
nhtnhan/CMPUT663-copilot-eval
896711d006eb37a78e010cd1b9f79dc285ad054d
[ "Apache-2.0" ]
null
null
null
output/copilot/python/timeout/palindrome-partitioning.py
nhtnhan/CMPUT663-copilot-eval
896711d006eb37a78e010cd1b9f79dc285ad054d
[ "Apache-2.0" ]
null
null
null
output/copilot/python/timeout/palindrome-partitioning.py
nhtnhan/CMPUT663-copilot-eval
896711d006eb37a78e010cd1b9f79dc285ad054d
[ "Apache-2.0" ]
null
null
null
# https://leetcode.com/problems/palindrome-partitioning/ class Solution(object): def partition(self, s): """ :type s: str :rtype: List[List[str]] """
21.666667
56
0.54359
20
195
5.3
0.85
0
0
0
0
0
0
0
0
0
0
0
0.302564
195
9
57
21.666667
0.779412
0.471795
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
c42094cad42afee256fee1fad8338f794ac45419
255
py
Python
proxySTAR_V3/certbot/venv/lib/python2.7/site-packages/pylint/test/functional/pygtk_enum_crash.py
mami-project/lurk
98c293251e9b1e9c9a4b02789486c5ddaf46ba3c
[ "Apache-2.0" ]
2
2017-07-05T09:57:33.000Z
2017-11-14T23:05:53.000Z
Libraries/Python/pylint/v1.4.4/pylint/test/functional/pygtk_enum_crash.py
davidbrownell/Common_Environment
4015872aeac8d5da30a6aa7940e1035a6aa6a75d
[ "BSL-1.0" ]
1
2019-01-17T14:26:22.000Z
2019-01-17T22:56:26.000Z
Libraries/Python/pylint/v1.4.4/pylint/test/functional/pygtk_enum_crash.py
davidbrownell/Common_Environment
4015872aeac8d5da30a6aa7940e1035a6aa6a75d
[ "BSL-1.0" ]
1
2017-08-31T14:33:03.000Z
2017-08-31T14:33:03.000Z
# pylint: disable=C0121 """http://www.logilab.org/ticket/124337""" import gtk def print_some_constant(arg=gtk.BUTTONS_OK): """crash because gtk.BUTTONS_OK, a gtk enum type, is returned by astroid as a constant """ print(arg)
21.25
69
0.662745
37
255
4.459459
0.756757
0.121212
0.145455
0
0
0
0
0
0
0
0
0.049751
0.211765
255
11
70
23.181818
0.771144
0.560784
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
0.666667
0.666667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
1
0
4
c4401d23a46ea6a328e85a6fd337eb170ed7e08b
212
py
Python
P1480.py
Muntaha-Islam0019/Leetcode-Solutions
0bc56ce43a6d8ad10461b69078166a2a5b913e7f
[ "MIT" ]
null
null
null
P1480.py
Muntaha-Islam0019/Leetcode-Solutions
0bc56ce43a6d8ad10461b69078166a2a5b913e7f
[ "MIT" ]
null
null
null
P1480.py
Muntaha-Islam0019/Leetcode-Solutions
0bc56ce43a6d8ad10461b69078166a2a5b913e7f
[ "MIT" ]
null
null
null
class Solution: def runningSum(self, nums: List[int]) -> List[int]: for index in range(1, len(nums)): nums[index] = nums[index - 1] + nums[index] return nums
26.5
55
0.514151
26
212
4.192308
0.576923
0.247706
0
0
0
0
0
0
0
0
0
0.014706
0.358491
212
7
56
30.285714
0.786765
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.6
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
c450bd09aaf8a942b6ab2b24bef1d3ae022e6398
485
py
Python
lib/prefab/errors.py
lexsca/docker-prefab
bb34f1382e307346d0a0a95bde56861c28e56ec9
[ "MIT" ]
1
2021-04-06T21:37:59.000Z
2021-04-06T21:37:59.000Z
lib/prefab/errors.py
lexsca/docker-prefab
bb34f1382e307346d0a0a95bde56861c28e56ec9
[ "MIT" ]
1
2020-11-03T01:12:06.000Z
2020-11-03T03:55:28.000Z
lib/prefab/errors.py
lexsca/prefab
bb34f1382e307346d0a0a95bde56861c28e56ec9
[ "MIT" ]
null
null
null
class PrefabError(Exception): pass class HashAlgorithmNotFound(PrefabError): pass class ImageAccessError(PrefabError): pass class ImageBuildError(PrefabError): pass class ImageNotFoundError(PrefabError): pass class ImagePushError(PrefabError): pass class ImageValidationError(PrefabEr...
12.435897
41
0.756701
40
485
9.175
0.325
0.220708
0.435967
0
0
0
0
0
0
0
0
0
0.181443
485
38
42
12.763158
0.924433
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
4
c460565d7c12782c020979637ad1d6a595e59cab
504
py
Python
rl/valuefunction/FeatureExtractor.py
nickswalker/counterpoint-reinforcement-learning
1d0481bd2c9976533175339e411a41f4eb1650aa
[ "MIT" ]
1
2016-12-09T18:29:30.000Z
2016-12-09T18:29:30.000Z
rl/valuefunction/FeatureExtractor.py
nickswalker/counterpoint-reinforcement-learning
1d0481bd2c9976533175339e411a41f4eb1650aa
[ "MIT" ]
null
null
null
rl/valuefunction/FeatureExtractor.py
nickswalker/counterpoint-reinforcement-learning
1d0481bd2c9976533175339e411a41f4eb1650aa
[ "MIT" ]
null
null
null
from abc import abstractmethod from typing import List from rl.action import Action from rl.state import State class StateActionFeatureExtractor: @abstractmethod def num_features(self) -> int: pass @abstractmethod def extract(self, state: State, action: Action) -> List[float]: pass ...
19.384615
67
0.684524
56
504
6.125
0.357143
0.198251
0.116618
0.163265
0.44898
0.44898
0.44898
0.44898
0.44898
0.44898
0
0
0.240079
504
25
68
20.16
0.895561
0
0
0.555556
0
0
0
0
0
0
0
0
0
1
0.222222
false
0.222222
0.222222
0
0.555556
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
4
c47907817d94beb66a4ec9f0e248f596065c0464
231
py
Python
autoprep/service/sqlite_project_service.py
haginot/auto-prep
b1de3eceba5b82432e7042e7e62270df467ed828
[ "Apache-2.0" ]
null
null
null
autoprep/service/sqlite_project_service.py
haginot/auto-prep
b1de3eceba5b82432e7042e7e62270df467ed828
[ "Apache-2.0" ]
4
2019-01-15T01:55:46.000Z
2019-02-21T04:15:25.000Z
autoprep/service/sqlite_project_service.py
haginot/auto-prep
b1de3eceba5b82432e7042e7e62270df467ed828
[ "Apache-2.0" ]
null
null
null
from autoprep.service.project_service import ProjectService class SQLiteProjectService(ProjectService): def get_projects(self): pass def get_project(self): pass def save_project(self): pass
16.5
59
0.69697
25
231
6.28
0.56
0.152866
0.140127
0
0
0
0
0
0
0
0
0
0.242424
231
13
60
17.769231
0.897143
0
0
0.375
0
0
0
0
0
0
0
0
0
1
0.375
false
0.375
0.125
0
0.625
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
1
0
0
1
0
0
4
c4819144b63cb938bdc3a631c3adcbd846e22f52
80
py
Python
src/__init__.py
Victorpc98/CE888-Project
99c20adc78eb53ac4d3c87543ef8da1ef4d10adc
[ "MIT" ]
1
2020-04-18T21:03:28.000Z
2020-04-18T21:03:28.000Z
src/__init__.py
Victorpc98/CE888-Project
99c20adc78eb53ac4d3c87543ef8da1ef4d10adc
[ "MIT" ]
null
null
null
src/__init__.py
Victorpc98/CE888-Project
99c20adc78eb53ac4d3c87543ef8da1ef4d10adc
[ "MIT" ]
null
null
null
import sys sys.path.append("..") # Adds higher directory to python modules path.
40
69
0.75
12
80
5
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.125
80
2
69
40
0.857143
0.5625
0
0
0
0
0.058824
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
67194761b98bb4ec0d555cbb6324bf54ba4345ac
663
py
Python
engine/view.py
amirgeva/py2d
88210240b71446d53ee85cf07ca8d253d522a265
[ "BSD-2-Clause" ]
null
null
null
engine/view.py
amirgeva/py2d
88210240b71446d53ee85cf07ca8d253d522a265
[ "BSD-2-Clause" ]
null
null
null
engine/view.py
amirgeva/py2d
88210240b71446d53ee85cf07ca8d253d522a265
[ "BSD-2-Clause" ]
null
null
null
import pygame from engine.utils import Rect from engine.app import get_screen_size # EXPORT class View(object): def __init__(self, rect=None): if rect: self.rect = rect else: res = get_screen_size() self.rect = Rect(0,0,res[0],res[1]) def offset(self, d): ...
23.678571
89
0.600302
101
663
3.821782
0.356436
0.207254
0.093264
0.067358
0
0
0
0
0
0
0
0.012422
0.271493
663
27
90
24.555556
0.786749
0.00905
0
0
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0.15
0.15
0.65
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
674eb289511fbd351f416105eb842fadb81a491d
291
py
Python
gammapy/maps/__init__.py
watsonjj/gammapy
8d2498c8f63f73d1fbe4ba81ab02d9e72552df67
[ "BSD-3-Clause" ]
null
null
null
gammapy/maps/__init__.py
watsonjj/gammapy
8d2498c8f63f73d1fbe4ba81ab02d9e72552df67
[ "BSD-3-Clause" ]
1
2020-10-29T19:55:46.000Z
2020-10-29T19:55:46.000Z
gammapy/maps/__init__.py
watsonjj/gammapy
8d2498c8f63f73d1fbe4ba81ab02d9e72552df67
[ "BSD-3-Clause" ]
null
null
null
# Licensed under a 3-clause BSD style license - see LICENSE.rst """Sky maps.""" from .base import * from .geom import * from .hpx import * from .hpxnd import * from .hpxsparse import * from .hpxmap import * from .wcs import * from .wcsnd import * from .wcsmap import * from .sparse import *
22.384615
63
0.71134
43
291
4.813953
0.55814
0.434783
0
0
0
0
0
0
0
0
0
0.004202
0.182131
291
12
64
24.25
0.865546
0.247423
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
675aeab4c1e2b9cf3c2dce4e2188f947ea6ee089
50
py
Python
tests/__init__.py
AdamRuddGH/super_json_normalize
4a3c77d0e0dce632678ffe40b37fbd98fd2b4be8
[ "MIT" ]
2
2021-10-03T02:43:41.000Z
2021-10-04T10:15:20.000Z
tests/__init__.py
AdamRuddGH/super_json_normalize
4a3c77d0e0dce632678ffe40b37fbd98fd2b4be8
[ "MIT" ]
null
null
null
tests/__init__.py
AdamRuddGH/super_json_normalize
4a3c77d0e0dce632678ffe40b37fbd98fd2b4be8
[ "MIT" ]
null
null
null
"""Unit test package for super_json_normalize."""
25
49
0.76
7
50
5.142857
1
0
0
0
0
0
0
0
0
0
0
0
0.1
50
1
50
50
0.8
0.86
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
676261a506ad81b93b8c0f929316b27e9a10621d
169
py
Python
app/app/calc.py
benning55/recipe-app-api
a63366c7bb576fefbc755fe873731d2edf3e74d2
[ "MIT" ]
null
null
null
app/app/calc.py
benning55/recipe-app-api
a63366c7bb576fefbc755fe873731d2edf3e74d2
[ "MIT" ]
null
null
null
app/app/calc.py
benning55/recipe-app-api
a63366c7bb576fefbc755fe873731d2edf3e74d2
[ "MIT" ]
null
null
null
# # def add(x, y): # """ # Add Number Together # """ # return x+y # # # def subtract(x, y): # """ # Subtract x from y # """ # return x-y
12.071429
25
0.402367
21
169
3.238095
0.428571
0.117647
0.235294
0
0
0
0
0
0
0
0
0
0.390533
169
13
26
13
0.660194
0.840237
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
1
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
0
0
0
0
0
4
6778560530351b13b5aa71d380046a6c4d5f1c9f
307
py
Python
pyadds/__init__.py
wabu/pyadds
a09ac4ca89a809fecffe4e9f63b29b20df7c2872
[ "MIT" ]
null
null
null
pyadds/__init__.py
wabu/pyadds
a09ac4ca89a809fecffe4e9f63b29b20df7c2872
[ "MIT" ]
null
null
null
pyadds/__init__.py
wabu/pyadds
a09ac4ca89a809fecffe4e9f63b29b20df7c2872
[ "MIT" ]
null
null
null
class AnythingType(set): def __contains__(self, other): return True def intersection(self, other): return other def union(self, other): return self def __str__(self): return '*' def __repr__(self): return "Anything" Anything = AnythingType()
17.055556
34
0.602606
32
307
5.40625
0.4375
0.156069
0.260116
0
0
0
0
0
0
0
0
0
0.302932
307
17
35
18.058824
0.808411
0
0
0
0
0
0.029316
0
0
0
0
0
0
1
0.416667
false
0
0
0.416667
0.916667
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
67d23e8a7d069e05acd374ed761b417602e522e5
287
py
Python
app/pydantic_models/phone.py
matiasbavera/fastapi-tortoise-fk-example
b61b202e20604a03bb36291fc534935048f17187
[ "Apache-2.0" ]
null
null
null
app/pydantic_models/phone.py
matiasbavera/fastapi-tortoise-fk-example
b61b202e20604a03bb36291fc534935048f17187
[ "Apache-2.0" ]
null
null
null
app/pydantic_models/phone.py
matiasbavera/fastapi-tortoise-fk-example
b61b202e20604a03bb36291fc534935048f17187
[ "Apache-2.0" ]
null
null
null
from pydantic import BaseModel from app.orm_models.phone import Phone from tortoise.contrib.pydantic import pydantic_model_creator Phone_Pydantic = pydantic_model_creator(Phone, name="Phone") PhoneIn_Pydantic = pydantic_model_creator( Phone, name="PhoneIn", exclude_readonly=True)
31.888889
60
0.832753
38
287
6.026316
0.447368
0.170306
0.262009
0.327511
0.323144
0.323144
0
0
0
0
0
0
0.097561
287
8
61
35.875
0.88417
0
0
0
0
0
0.041812
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
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
67f01ead8301ab0d013d90c2874dceeac2e0f7b9
233
py
Python
chat/messaging/apps.py
VsevolodOkhrimenko/enchad
eca2790b374d336dfc5e109657d25ab0616196ee
[ "MIT" ]
null
null
null
chat/messaging/apps.py
VsevolodOkhrimenko/enchad
eca2790b374d336dfc5e109657d25ab0616196ee
[ "MIT" ]
null
null
null
chat/messaging/apps.py
VsevolodOkhrimenko/enchad
eca2790b374d336dfc5e109657d25ab0616196ee
[ "MIT" ]
null
null
null
from django.apps import AppConfig class MessagingConfig(AppConfig): name = 'chat.messaging' def ready(self): try: import chat.messaging.signals # noqa F401 except ImportError: pass
19.416667
54
0.622318
24
233
6.041667
0.833333
0.17931
0
0
0
0
0
0
0
0
0
0.018634
0.309013
233
11
55
21.181818
0.881988
0.038627
0
0
0
0
0.063063
0
0
0
0
0
0
1
0.125
false
0.125
0.375
0
0.75
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
0
1
1
0
1
0
0
4
67fce63714fc2695753fbce893969560aebb15c1
203
py
Python
algorithms/Grayscale.py
AadityaMunjal/image-processing-algorithms
ff7bba1a4bb3dce930f9481f92a29277084e33d9
[ "MIT" ]
2
2021-03-09T03:54:10.000Z
2021-03-22T21:35:29.000Z
algorithms/Grayscale.py
AadityaMunjal/image-processing-algorithms
ff7bba1a4bb3dce930f9481f92a29277084e33d9
[ "MIT" ]
1
2022-01-20T03:06:27.000Z
2022-01-22T12:04:16.000Z
algorithms/Grayscale.py
AadityaMunjal/image-processing-algorithms
ff7bba1a4bb3dce930f9481f92a29277084e33d9
[ "MIT" ]
null
null
null
def grayscale(image): for row in range(image.shape[0]): for col in range(image.shape[1]): avg = sum(image[row][col][i] for i in range(3)) // 3 image[row][col] = [avg for _ in range(3)]
33.833333
58
0.600985
37
203
3.27027
0.405405
0.231405
0.198347
0.280992
0
0
0
0
0
0
0
0.031447
0.216749
203
5
59
40.6
0.72956
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.2
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
db00271e05f78081485f6f0bf77fff9b5da0dd36
929
py
Python
nesta/packages/examples/tests/test_example_package.py
anniyanvr/nesta
4b3ae79922cebde0ad33e08ac4c40b9a10e8e7c3
[ "MIT" ]
13
2019-06-18T16:53:53.000Z
2021-03-04T10:58:52.000Z
nesta/packages/examples/tests/test_example_package.py
nestauk/old_nesta_daps
4b3ae79922cebde0ad33e08ac4c40b9a10e8e7c3
[ "MIT" ]
208
2018-08-10T13:15:40.000Z
2021-07-21T10:16:07.000Z
nesta/packages/examples/tests/test_example_package.py
nestauk/old_nesta_daps
4b3ae79922cebde0ad33e08ac4c40b9a10e8e7c3
[ "MIT" ]
8
2018-09-20T15:19:23.000Z
2020-12-15T17:41:34.000Z
from collections import namedtuple import pytest from nesta.packages.examples.example_package import some_func @pytest.fixture def mocked_row(): def _mocked_row(*, id, name): Row = namedtuple('Row', ['id', 'name']) return Row(id=id, name=name) return _mocked_row class TestSomeFunc: def...
33.178571
85
0.697524
140
929
4.257143
0.292857
0.22651
0.151007
0.181208
0.474832
0.39094
0.39094
0.286913
0.130872
0.130872
0
0.007864
0.178687
929
27
86
34.407407
0.773263
0
0
0
0
0
0.054898
0
0
0
0
0
0.157895
1
0.263158
false
0
0.157895
0
0.578947
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
db0bae1eb24630016d687ec03ec4ffa465df2055
397
py
Python
pyflu/update/signals.py
flupke/pyflu
8856759ced5367fc8439a418b3ce6570b82707ce
[ "BSD-3-Clause" ]
1
2017-07-17T06:50:24.000Z
2017-07-17T06:50:24.000Z
pyflu/update/signals.py
flupke/pyflu
8856759ced5367fc8439a418b3ce6570b82707ce
[ "BSD-3-Clause" ]
null
null
null
pyflu/update/signals.py
flupke/pyflu
8856759ced5367fc8439a418b3ce6570b82707ce
[ "BSD-3-Clause" ]
null
null
null
from louie import Signal class update_finished(Signal): """ Sent by :class:`~pyflu.update.qt.UpdateDialogMixin` when an update finished successfully. It receives a single argument, containing the path of the patched files. """ class not_updated(Signal): """ Sent by :meth:`~pyflu.update....
22.055556
79
0.697733
50
397
5.48
0.66
0.10219
0.087591
0.218978
0
0
0
0
0
0
0
0
0.20403
397
17
80
23.352941
0.867089
0.647355
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
db1c1d0e4cd2adbba4dafd1f97c64d82fddfdf36
102
py
Python
sharing_groups/apps.py
sthagen/misp-hub
5b528b40796a74dc7e8367d75cb3c84920b87bfb
[ "BSD-3-Clause" ]
2
2020-10-08T18:35:04.000Z
2020-10-08T18:35:08.000Z
sharing_groups/apps.py
sthagen/misp-hub
5b528b40796a74dc7e8367d75cb3c84920b87bfb
[ "BSD-3-Clause" ]
null
null
null
sharing_groups/apps.py
sthagen/misp-hub
5b528b40796a74dc7e8367d75cb3c84920b87bfb
[ "BSD-3-Clause" ]
1
2020-10-08T18:35:17.000Z
2020-10-08T18:35:17.000Z
from django.apps import AppConfig class SharingGroupsConfig(AppConfig): name = 'sharing_groups'
17
37
0.784314
11
102
7.181818
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.147059
102
5
38
20.4
0.908046
0
0
0
0
0
0.137255
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
e1f4c12b169ff0fc2c245e310a2a7024653caedb
116
py
Python
base.py
chenzhangyu/WeiboOAuth
a00cc5983e989bb2ea8907b8d590a0a6c750d804
[ "MIT" ]
1
2019-10-10T08:26:08.000Z
2019-10-10T08:26:08.000Z
base.py
chenzhangyu/WeiboOAuth
a00cc5983e989bb2ea8907b8d590a0a6c750d804
[ "MIT" ]
null
null
null
base.py
chenzhangyu/WeiboOAuth
a00cc5983e989bb2ea8907b8d590a0a6c750d804
[ "MIT" ]
1
2019-04-12T09:42:03.000Z
2019-04-12T09:42:03.000Z
# encoding=utf-8 __author__ = 'lance' import tornado.web class BaseHandler(tornado.web.RequestHandler): pass
12.888889
46
0.75
14
116
5.928571
0.857143
0.240964
0
0
0
0
0
0
0
0
0
0.010101
0.146552
116
8
47
14.5
0.828283
0.12069
0
0
0
0
0.05
0
0
0
0
0
0
1
0
false
0.25
0.25
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
1
0
0
0
0
0
4
c0003725e83dcd344816d0f9a584c175d9cf972f
712
py
Python
poetry/packages/constraints/any_constraint.py
vanyakosmos/poetry
b218969107e49dc57e65dbc0d349e83cbe1f44a8
[ "MIT" ]
2
2019-06-19T15:07:58.000Z
2019-11-24T14:08:55.000Z
poetry/packages/constraints/any_constraint.py
vanyakosmos/poetry
b218969107e49dc57e65dbc0d349e83cbe1f44a8
[ "MIT" ]
18
2020-01-15T04:11:31.000Z
2020-06-30T13:24:27.000Z
poetry/packages/constraints/any_constraint.py
vanyakosmos/poetry
b218969107e49dc57e65dbc0d349e83cbe1f44a8
[ "MIT" ]
1
2021-04-08T03:26:23.000Z
2021-04-08T03:26:23.000Z
from .base_constraint import BaseConstraint from .empty_constraint import EmptyConstraint class AnyConstraint(BaseConstraint): def allows(self, other): return True def allows_all(self, other): return True def allows_any(self, other): return True def difference(self, other): ...
18.736842
45
0.622191
81
712
5.271605
0.308642
0.147541
0.210773
0.133489
0.18267
0.131148
0
0
0
0
0
0
0.299157
712
37
46
19.243243
0.855711
0
0
0.24
0
0
0.001404
0
0
0
0
0
0
1
0.4
false
0
0.08
0.36
0.96
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
c024d083863172cd08c0e34544cc15c4d39eca0b
345
py
Python
common/data_refinery_common/models/__init__.py
dongbohu/ccdl_test
be50b7ca35fba28676b594ba3f003b0b581abcb7
[ "BSD-3-Clause" ]
null
null
null
common/data_refinery_common/models/__init__.py
dongbohu/ccdl_test
be50b7ca35fba28676b594ba3f003b0b581abcb7
[ "BSD-3-Clause" ]
3
2020-06-05T17:18:10.000Z
2021-06-10T20:55:12.000Z
common/data_refinery_common/models/__init__.py
dongbohu/ccdl_test
be50b7ca35fba28676b594ba3f003b0b581abcb7
[ "BSD-3-Clause" ]
null
null
null
from data_refinery_common.models.surveys import SurveyJob, SurveyJobKeyValue from data_refinery_common.models.batches import ( BatchStatuses, Batch, BatchKeyValue, File ) from data_refinery_common.models.jobs import ( WorkerJob, DownloaderJob, ProcessorJob ) from data_refinery_common.models....
24.642857
76
0.791304
38
345
6.973684
0.5
0.120755
0.241509
0.332075
0.422642
0
0
0
0
0
0
0
0.156522
345
13
77
26.538462
0.910653
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.307692
0
0.307692
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
c02a0889807a2eb0056cc9fc59fcd71cd6dcb6b8
146
py
Python
scenarios/order_show/executable.py
trenton42/txbalanced
9ee1b906d75b4b2fc3d2f5424dc3bbb9886c2b14
[ "MIT" ]
null
null
null
scenarios/order_show/executable.py
trenton42/txbalanced
9ee1b906d75b4b2fc3d2f5424dc3bbb9886c2b14
[ "MIT" ]
null
null
null
scenarios/order_show/executable.py
trenton42/txbalanced
9ee1b906d75b4b2fc3d2f5424dc3bbb9886c2b14
[ "MIT" ]
null
null
null
import balanced balanced.configure('ak-test-1o9QKwUCrwstHWO5sGxICtIJdQXFTjnrV') order = balanced.Order.fetch('/orders/OR7qAh5x1cFzX0U9hD628LPa')
29.2
64
0.842466
13
146
9.461538
0.769231
0
0
0
0
0
0
0
0
0
0
0.079137
0.047945
146
5
64
29.2
0.805755
0
0
0
0
0
0.496599
0.496599
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
c02c417a57c64011bc9f7af79d7ad7b2fc564c8d
132
py
Python
examples/basic.py
EmbarkStudios/Python-xNormal
a4f005220d31d1e9085a7cbcc1ef46e70cff2753
[ "BSD-2-Clause" ]
52
2015-04-26T19:46:37.000Z
2021-12-23T01:45:16.000Z
examples/basic.py
EmbarkStudios/Python-xNormal
a4f005220d31d1e9085a7cbcc1ef46e70cff2753
[ "BSD-2-Clause" ]
3
2015-10-22T08:07:38.000Z
2019-08-02T18:13:59.000Z
examples/basic.py
EmbarkStudios/Python-xNormal
a4f005220d31d1e9085a7cbcc1ef46e70cff2753
[ "BSD-2-Clause" ]
10
2016-08-24T14:02:07.000Z
2021-11-10T02:40:47.000Z
import xNormal xNormal.run("piano_high.obj", "piano_low.obj", "piano.png", width=256, height=256, gen_normals = True, gen_ao = True)
66
117
0.742424
22
132
4.272727
0.681818
0.170213
0
0
0
0
0
0
0
0
0
0.05
0.090909
132
2
117
66
0.733333
0
0
0
0
0
0.270677
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
c0451d8d32195eb2257b24e61657609915f300f2
87
py
Python
venues/apps.py
danroberts728/hsvdotbeer
5b977bf4a7aab149ad56564b3adbb09424500308
[ "Apache-2.0" ]
18
2018-12-06T01:46:37.000Z
2021-10-17T10:37:17.000Z
venues/apps.py
danroberts728/hsvdotbeer
5b977bf4a7aab149ad56564b3adbb09424500308
[ "Apache-2.0" ]
194
2018-11-04T12:50:49.000Z
2022-01-06T22:43:43.000Z
venues/apps.py
danroberts728/hsvdotbeer
5b977bf4a7aab149ad56564b3adbb09424500308
[ "Apache-2.0" ]
7
2019-03-18T05:36:06.000Z
2020-12-25T03:27:29.000Z
from django.apps import AppConfig class VenuesConfig(AppConfig): name = "venues"
14.5
33
0.747126
10
87
6.5
0.9
0
0
0
0
0
0
0
0
0
0
0
0.172414
87
5
34
17.4
0.902778
0
0
0
0
0
0.068966
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
c06110be42afdd7912f3230ce0bb253e62f06b14
107
py
Python
example.py
karishmashuklaa/flatifyLists
af9c1cfc45c29756ff9e285dba65f3b4909dabab
[ "MIT" ]
null
null
null
example.py
karishmashuklaa/flatifyLists
af9c1cfc45c29756ff9e285dba65f3b4909dabab
[ "MIT" ]
null
null
null
example.py
karishmashuklaa/flatifyLists
af9c1cfc45c29756ff9e285dba65f3b4909dabab
[ "MIT" ]
null
null
null
from flatifylists import flatifyList example = [[[1,2], [3,[4,[5],6],7],8,9]] print(flatifyList(example))
21.4
40
0.672897
17
107
4.235294
0.882353
0.5
0
0
0
0
0
0
0
0
0
0.092784
0.093458
107
5
41
21.4
0.649485
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
2214b7a4b4680d12ebfcca09d05d0ee1ade6215e
932
py
Python
pyptoolz/transforms.py
embedio/pyplinez
14b2e84d0f0bd86870d492a78f02c0b19810d3f6
[ "MIT" ]
null
null
null
pyptoolz/transforms.py
embedio/pyplinez
14b2e84d0f0bd86870d492a78f02c0b19810d3f6
[ "MIT" ]
null
null
null
pyptoolz/transforms.py
embedio/pyplinez
14b2e84d0f0bd86870d492a78f02c0b19810d3f6
[ "MIT" ]
null
null
null
from pathlib import Path from toolz import itertoolz, curried import vaex transform_path_to_posix = lambda path: path.as_posix() def path_to_posix(): return curried.valmap(transform_path_to_posix) transform_xlsx_to_vaex = lambda path: vaex.from_ascii(path, seperator="\t") def xlsx_to_vaex(): return curr...
20.26087
80
0.784335
144
932
4.701389
0.208333
0.072378
0.16839
0.248154
0.50517
0.50517
0.313146
0.313146
0.313146
0.313146
0
0.00369
0.127682
932
45
81
20.711111
0.829028
0
0
0.095238
0
0
0.004292
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0.285714
0.714286
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
22199caafbe2cf83aa5b2f765370eb9a8ab49f37
169
py
Python
todolist/wsgi.py
HangeZoe/django-todo-list
8a3232916e57724d52f0f93124f346d82b72e0ce
[ "MIT" ]
null
null
null
todolist/wsgi.py
HangeZoe/django-todo-list
8a3232916e57724d52f0f93124f346d82b72e0ce
[ "MIT" ]
null
null
null
todolist/wsgi.py
HangeZoe/django-todo-list
8a3232916e57724d52f0f93124f346d82b72e0ce
[ "MIT" ]
null
null
null
import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'todolist.settings') application = get_wsgi_application()
21.125
68
0.828402
22
169
6.090909
0.590909
0.104478
0.268657
0
0
0
0
0
0
0
0
0
0.08284
169
7
69
24.142857
0.864516
0
0
0
0
0
0.230769
0.130178
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
2227e03ea94ec70b6e6c0445734948d8034414f4
708
py
Python
runehistory_api/app/config.py
RuneHistory/runehistory-api
4e857c7fdbdf585d57cf4c7fe6214b565ac37a22
[ "MIT" ]
null
null
null
runehistory_api/app/config.py
RuneHistory/runehistory-api
4e857c7fdbdf585d57cf4c7fe6214b565ac37a22
[ "MIT" ]
6
2018-06-14T13:58:43.000Z
2018-07-16T14:02:24.000Z
runehistory_api/app/config.py
RuneHistory/runehistory-api
4e857c7fdbdf585d57cf4c7fe6214b565ac37a22
[ "MIT" ]
null
null
null
import yaml class Config: def __init__(self, path: str): self.path = path self.cfg = {} self.parse() def parse(self): with open(self.path, 'r') as f: self.cfg = yaml.load(f) @property def secret(self) -> str: return self.cfg.get('secret') @pro...
21.454545
53
0.572034
97
708
4.030928
0.340206
0.12532
0.16624
0.204604
0.314578
0.314578
0.255754
0
0
0
0
0.021782
0.286723
708
32
54
22.125
0.752475
0
0
0.208333
0
0
0.096045
0
0
0
0
0
0
1
0.291667
false
0
0.041667
0.208333
0.583333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
2246b2f969806313a587b3933434d8a9f94f2b5f
106
py
Python
mundo 1/aula 7/exer8.py
jonatan098/cursopython
6e4cbaef6229e230fdbc66d80ec1b5a089887b0d
[ "MIT" ]
null
null
null
mundo 1/aula 7/exer8.py
jonatan098/cursopython
6e4cbaef6229e230fdbc66d80ec1b5a089887b0d
[ "MIT" ]
null
null
null
mundo 1/aula 7/exer8.py
jonatan098/cursopython
6e4cbaef6229e230fdbc66d80ec1b5a089887b0d
[ "MIT" ]
1
2020-02-22T17:21:05.000Z
2020-02-22T17:21:05.000Z
m = float(input('digite o metro ')) print(f'{m} metros e igual {m*100} centimetros e {m*1000} milimetros')
53
70
0.688679
19
106
3.842105
0.789474
0
0
0
0
0
0
0
0
0
0
0.076087
0.132075
106
2
70
53
0.717391
0
0
0
0
0
0.700935
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
224e634019de5a0413838cff34d92fa96b8463fb
1,402
py
Python
src/data_migrator/emitters/__init__.py
schubergphilis/data-migrator
b5ced9abd6bc2c60e9c115951fee38c2fd08923f
[ "MIT" ]
18
2017-04-27T08:57:40.000Z
2021-04-01T22:39:40.000Z
src/data_migrator/emitters/__init__.py
schubergphilis/data-migrator
b5ced9abd6bc2c60e9c115951fee38c2fd08923f
[ "MIT" ]
1,077
2017-04-13T20:56:44.000Z
2022-03-31T01:23:50.000Z
src/data_migrator/emitters/__init__.py
schubergphilis/data-migrator
b5ced9abd6bc2c60e9c115951fee38c2fd08923f
[ "MIT" ]
6
2017-04-17T14:14:45.000Z
2020-05-05T10:05:23.000Z
#!/usr/bin/env python # -*- coding: UTF-8 -*- """Emitters are used to export models to output format. This module contains all classes for emitters: base and actuals. Currently the system has two emitters: :class:`~.CSVEmitter` and :class:`~.MySQLEmitter` implemented, of which the last is the default emitter. An emitt...
32.604651
78
0.738231
198
1,402
5.222222
0.575758
0.030948
0
0
0
0
0
0
0
0
0
0.000849
0.159772
1,402
42
79
33.380952
0.87691
0.867332
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
226279b24caaedae28347564e963c2b64e533cf3
217
py
Python
datapackage_pipelines/generators/utilities.py
gperonato/datapackage-pipelines
72b98918db1c19590586a3a85c5b087227cbbc3b
[ "MIT" ]
109
2016-09-01T08:41:55.000Z
2021-11-10T10:08:35.000Z
datapackage_pipelines/generators/utilities.py
gperonato/datapackage-pipelines
72b98918db1c19590586a3a85c5b087227cbbc3b
[ "MIT" ]
144
2016-08-30T16:26:50.000Z
2021-04-18T09:06:12.000Z
datapackage_pipelines/generators/utilities.py
gperonato/datapackage-pipelines
72b98918db1c19590586a3a85c5b087227cbbc3b
[ "MIT" ]
34
2016-09-05T12:46:53.000Z
2022-03-05T01:53:49.000Z
def arg_to_step(arg): if isinstance(arg, str): return {'run': arg} else: return dict(zip(['run', 'parameters', 'cache'], arg)) def steps(*args): return [arg_to_step(arg) for arg in args]
21.7
61
0.59447
32
217
3.90625
0.5625
0.08
0.144
0.192
0
0
0
0
0
0
0
0
0.239631
217
9
62
24.111111
0.757576
0
0
0
0
0
0.096774
0
0
0
0
0
0
1
0.285714
false
0
0
0.142857
0.714286
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
1
0
0
0
1
0
0
0
4
226ee0a94d2c674c5419d2b1671a6c420a52ce80
98
py
Python
flask-backend/create_database.py
amlannandy/OpenMF
da5f474bb3002084f3e5bc9ceb18b32efdf34107
[ "Apache-2.0" ]
null
null
null
flask-backend/create_database.py
amlannandy/OpenMF
da5f474bb3002084f3e5bc9ceb18b32efdf34107
[ "Apache-2.0" ]
null
null
null
flask-backend/create_database.py
amlannandy/OpenMF
da5f474bb3002084f3e5bc9ceb18b32efdf34107
[ "Apache-2.0" ]
null
null
null
from api.models.models import User from api import db, create_app db.create_all(app=create_app())
24.5
34
0.806122
18
98
4.222222
0.5
0.184211
0
0
0
0
0
0
0
0
0
0
0.102041
98
4
35
24.5
0.863636
0
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
2275883293755489ec49ada67afba2a65cceb970
179
py
Python
y10m/join.lines.py
goodagood/story
99dd959f4be44070144fe87313cf51595d928a11
[ "Apache-2.0" ]
3
2019-12-03T02:08:55.000Z
2021-05-30T14:02:21.000Z
y10m/join.lines.py
goodagood/story
99dd959f4be44070144fe87313cf51595d928a11
[ "Apache-2.0" ]
null
null
null
y10m/join.lines.py
goodagood/story
99dd959f4be44070144fe87313cf51595d928a11
[ "Apache-2.0" ]
1
2020-08-07T23:09:45.000Z
2020-08-07T23:09:45.000Z
#inputFile = 'sand.407' inputFile = 'sand.407' outputFile= 'sand.out' def joinLine(): pass with open(inputFile) as OF: lines = OF.readlines() print(lines[0:3])
11.1875
27
0.631285
24
179
4.708333
0.708333
0.230089
0.283186
0
0
0
0
0
0
0
0
0.056738
0.212291
179
15
28
11.933333
0.744681
0.122905
0
0
0
0
0.104575
0
0
0
0
0
0
1
0.142857
false
0.142857
0
0
0.142857
0.142857
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
3f147cdd3b7dfdb59f469f69eb27289609a80ec7
169
py
Python
quant_test/__init__.py
rgkimball/quant_test
efa74de02f6a65c2d61029d6e8a1c0b5ac34b0c2
[ "Apache-2.0" ]
null
null
null
quant_test/__init__.py
rgkimball/quant_test
efa74de02f6a65c2d61029d6e8a1c0b5ac34b0c2
[ "Apache-2.0" ]
1
2021-02-02T23:10:35.000Z
2021-02-02T23:10:35.000Z
quant_test/__init__.py
rgkimball/quant_test
efa74de02f6a65c2d61029d6e8a1c0b5ac34b0c2
[ "Apache-2.0" ]
null
null
null
""" quant_test ~~~~~~ The quant_test package - a Python package template project that is intended to be used as a cookie-cutter for developing new Python packages. """
21.125
75
0.745562
26
169
4.769231
0.807692
0.145161
0
0
0
0
0
0
0
0
0
0
0.16568
169
7
76
24.142857
0.879433
0.946746
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
3f18ab10027c8065766c8a8c8fb7ac830007c2ab
127
py
Python
reassign.py
Ca2Patton/PythonStuff
9d13f340296bcea41dfca87a4b36e445821703de
[ "Apache-2.0" ]
null
null
null
reassign.py
Ca2Patton/PythonStuff
9d13f340296bcea41dfca87a4b36e445821703de
[ "Apache-2.0" ]
null
null
null
reassign.py
Ca2Patton/PythonStuff
9d13f340296bcea41dfca87a4b36e445821703de
[ "Apache-2.0" ]
null
null
null
#!/Library/Frameworks/Python.framework/Versions/2.7/bin/python x=5 print x def reassign(b): x=6 print x reassign(x) print x
12.7
62
0.740157
24
127
3.916667
0.625
0.191489
0
0
0
0
0
0
0
0
0
0.035714
0.11811
127
9
63
14.111111
0.803571
0.480315
0
0.428571
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.428571
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
4
3f45b952c9fbaad033d9a0d8b00c659fec74f672
675
py
Python
qiskit/util.py
alejomonbar/qiskit-terra
207fe593f6f616b0d55b43afe4451dcaa672871a
[ "Apache-2.0" ]
null
null
null
qiskit/util.py
alejomonbar/qiskit-terra
207fe593f6f616b0d55b43afe4451dcaa672871a
[ "Apache-2.0" ]
null
null
null
qiskit/util.py
alejomonbar/qiskit-terra
207fe593f6f616b0d55b43afe4451dcaa672871a
[ "Apache-2.0" ]
null
null
null
# This code is part of Qiskit. # # (C) Copyright IBM 2017. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivative wo...
35.526316
77
0.764444
108
675
4.777778
0.675926
0.046512
0.03876
0
0
0
0
0
0
0
0
0.014159
0.162963
675
18
78
37.5
0.899115
0.908148
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4