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
4ecc634df37a40e7e1eb673e794fa59d0a3fd54c
164
py
Python
tests_common/fixtures/add_a_draft.py
django-doctor/lite-frontend
330ff9575fd22d7c4c42698ac2d653244e6180d6
[ "MIT" ]
1
2021-10-16T16:36:58.000Z
2021-10-16T16:36:58.000Z
tests_common/fixtures/add_a_draft.py
django-doctor/lite-frontend
330ff9575fd22d7c4c42698ac2d653244e6180d6
[ "MIT" ]
45
2020-08-11T14:37:46.000Z
2022-03-29T17:03:02.000Z
fixtures/add_a_draft.py
uktrade/lite-tests-common
8ae386e55f899d0ffd61cc0a9156cd4db340d6d1
[ "MIT" ]
3
2021-02-01T06:26:19.000Z
2022-02-21T23:02:46.000Z
from pytest import fixture @fixture(scope="module") def add_a_draft(context, api_test_client): context.draft_id = api_test_client.applications.create_draft()
23.428571
66
0.79878
24
164
5.125
0.708333
0.113821
0.211382
0
0
0
0
0
0
0
0
0
0.103659
164
6
67
27.333333
0.836735
0
0
0
0
0
0.036585
0
0
0
0
0
0
1
0.25
false
0
0.25
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
1
0
0
0
0
0
0
0
4
4ecf4d2f55df59db5ed8227da2f3fa546993336f
115
py
Python
production/pygsl-0.9.5/pygsl/_numobj.py
juhnowski/FishingRod
457e7afb5cab424296dff95e1acf10ebf70d32a9
[ "MIT" ]
1
2019-07-29T02:53:51.000Z
2019-07-29T02:53:51.000Z
production/pygsl-0.9.5/pygsl/_numobj.py
juhnowski/FishingRod
457e7afb5cab424296dff95e1acf10ebf70d32a9
[ "MIT" ]
1
2021-09-11T14:30:32.000Z
2021-09-11T14:30:32.000Z
Dockerfiles/gedlab-khmer-filter-abund/pymodules/python2.7/lib/python/pygsl/_numobj.py
poojavade/Genomics_Docker
829b5094bba18bbe03ae97daf925fee40a8476e8
[ "Apache-2.0" ]
2
2016-12-19T02:27:46.000Z
2019-07-29T02:53:54.000Z
""" WARNING: File Generated during build. DO NOT MODIFY!!! """ from numpy import * nummodule = "numpy"
12.777778
62
0.617391
13
115
5.461538
0.923077
0
0
0
0
0
0
0
0
0
0
0
0.252174
115
8
63
14.375
0.825581
0.469565
0
0
1
0
0.116279
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
14c5cbafa7531e7e1a4e02f5e674d8c0e5338896
180
py
Python
hello.py
vjmiyagi/twitoff_vjm
ff2dece8abcaf9da79c6222de1d22239b74d255a
[ "MIT" ]
null
null
null
hello.py
vjmiyagi/twitoff_vjm
ff2dece8abcaf9da79c6222de1d22239b74d255a
[ "MIT" ]
null
null
null
hello.py
vjmiyagi/twitoff_vjm
ff2dece8abcaf9da79c6222de1d22239b74d255a
[ "MIT" ]
null
null
null
from flask import Flask app = Flask(__name__) @app.route('/') def hello_world(): return 'Hello, World!' @app.route('/new') def new_page(): return 'This is another page!'
16.363636
34
0.661111
26
180
4.346154
0.576923
0.141593
0
0
0
0
0
0
0
0
0
0
0.172222
180
11
34
16.363636
0.758389
0
0
0
0
0
0.21547
0
0
0
0
0
0
1
0.25
false
0
0.125
0.25
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
0
0
1
1
0
0
4
14c8e2785ee49590f7ac66420333602e0bbb06fc
85
py
Python
src/smach_based_introspection_framework/__init__.py
birlrobotics/smach_based_introspection_framework
f16742339cddfc86effba4dbf6e5062304704b89
[ "BSD-3-Clause" ]
7
2018-02-23T13:02:13.000Z
2020-07-28T18:27:47.000Z
src/smach_based_introspection_framework/__init__.py
birlrobotics/smach_based_introspection_framework
f16742339cddfc86effba4dbf6e5062304704b89
[ "BSD-3-Clause" ]
null
null
null
src/smach_based_introspection_framework/__init__.py
birlrobotics/smach_based_introspection_framework
f16742339cddfc86effba4dbf6e5062304704b89
[ "BSD-3-Clause" ]
1
2019-06-24T09:20:06.000Z
2019-06-24T09:20:06.000Z
from offline_part.collect_data_from_rosbag.ExperimentRecord import ExperimentRecord
28.333333
83
0.917647
10
85
7.4
0.8
0
0
0
0
0
0
0
0
0
0
0
0.058824
85
2
84
42.5
0.925
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
14e19e15ab85a2b184f3b9bfdbc97bc598503587
33
py
Python
nlbsg/__version__.py
kohrongying/nlbsg
13d57edc8a5af4201f1cb6b7276775d93d6cde0c
[ "MIT" ]
null
null
null
nlbsg/__version__.py
kohrongying/nlbsg
13d57edc8a5af4201f1cb6b7276775d93d6cde0c
[ "MIT" ]
null
null
null
nlbsg/__version__.py
kohrongying/nlbsg
13d57edc8a5af4201f1cb6b7276775d93d6cde0c
[ "MIT" ]
null
null
null
# generated __version__ = 'HEAD'
11
20
0.727273
3
33
6.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.151515
33
2
21
16.5
0.714286
0.272727
0
0
1
0
0.181818
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
14e317ecc6b2fdef8fd5dd47bc82d568d5acecb1
194
py
Python
.venv35/Scripts/django-admin.py
ndaley7/BodySlide-Group-Generator
3ed7b78c5f5ccec103b6bf06bc24398cfb6ad014
[ "BSD-3-Clause" ]
2
2019-11-10T16:13:51.000Z
2021-02-17T18:29:44.000Z
.venv35/Scripts/django-admin.py
ndaley7/BodySlide-Group-Generator
3ed7b78c5f5ccec103b6bf06bc24398cfb6ad014
[ "BSD-3-Clause" ]
5
2019-11-10T16:20:09.000Z
2019-12-02T14:23:58.000Z
.venv35/Scripts/django-admin.py
ndaley7/BodySlide-Group-Generator
3ed7b78c5f5ccec103b6bf06bc24398cfb6ad014
[ "BSD-3-Clause" ]
null
null
null
#!C:\Users\ndaley\Documents\GitHub\BodySlide-Group-Generator\.venv35\Scripts\python.exe from django.core import management if __name__ == "__main__": management.execute_from_command_line()
32.333333
87
0.798969
25
194
5.76
0.92
0
0
0
0
0
0
0
0
0
0
0.011173
0.07732
194
5
88
38.8
0.793296
0.443299
0
0
0
0
0.074766
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
092b5020548f18f50050bda973935b452d40fe59
2,023
py
Python
01_Modelos_Supervisionados/1.5_Descida_do_Gradiente_Estocastico/1.5.9_Detalhes_de_Implementacao.py
BrunoBertti/Scikit_Learning
4b9e10ff7909f3728ac1e8bba19f5fd779340bc4
[ "MIT" ]
null
null
null
01_Modelos_Supervisionados/1.5_Descida_do_Gradiente_Estocastico/1.5.9_Detalhes_de_Implementacao.py
BrunoBertti/Scikit_Learning
4b9e10ff7909f3728ac1e8bba19f5fd779340bc4
[ "MIT" ]
null
null
null
01_Modelos_Supervisionados/1.5_Descida_do_Gradiente_Estocastico/1.5.9_Detalhes_de_Implementacao.py
BrunoBertti/Scikit_Learning
4b9e10ff7909f3728ac1e8bba19f5fd779340bc4
[ "MIT" ]
null
null
null
########## 1.5.9. Detalhes de implementação ########## # A implementação do SGD é influenciada pelo Gradiente Estocástico SVM de 7. Semelhante ao SvmSGD, o vetor de peso é representado como o produto de um escalar e um vetor que permite uma atualização de peso eficiente no caso de regularização L2. No caso da ent...
112.388889
806
0.751854
319
2,023
4.768025
0.623824
0.047337
0.065746
0.037475
0.084813
0.084813
0.084813
0.084813
0.084813
0.084813
0
0.052509
0.152743
2,023
18
807
112.388889
0.834889
0.957983
0
null
0
null
0
0
null
0
0
0.055556
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
0
0
0
0
0
4
093a7036ef2bd8eeb688673c8ef8111a988169bd
166
py
Python
backend/run.py
GJCav/thywy
3c458bccdd23bab78b6a8bd65603c7845e643d70
[ "MIT" ]
8
2022-01-23T07:30:06.000Z
2022-02-15T03:39:25.000Z
backend/run.py
Dr-Left/thuwy
3c458bccdd23bab78b6a8bd65603c7845e643d70
[ "MIT" ]
5
2022-01-21T03:31:22.000Z
2022-03-04T00:01:59.000Z
backend/run.py
Dr-Left/thuwy
3c458bccdd23bab78b6a8bd65603c7845e643d70
[ "MIT" ]
2
2022-01-23T08:09:46.000Z
2022-02-24T05:55:02.000Z
import eventlet from eventlet import wsgi eventlet.monkey_patch() from app import app if __name__ == "__main__": wsgi.server(eventlet.listen(('', 5000)), app)
16.6
49
0.728916
22
166
5.090909
0.590909
0
0
0
0
0
0
0
0
0
0
0.028369
0.150602
166
9
50
18.444444
0.765957
0
0
0
0
0
0.048193
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
116ea34b7f66c3d37a69ff247824b04d5e705aaa
17
py
Python
data/studio21_generated/introductory/3982/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/introductory/3982/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/introductory/3982/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
def stat(strg):
8.5
15
0.647059
3
17
3.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.176471
17
2
16
8.5
0.785714
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
1186c072c190896ff04f29dec923b10aa187dbf3
555
py
Python
src/megrok/rdb/__init__.py
prsephton/megrok.rdb
5e1f5493704159869eac24518b77fc0a06c62c14
[ "ZPL-2.1" ]
null
null
null
src/megrok/rdb/__init__.py
prsephton/megrok.rdb
5e1f5493704159869eac24518b77fc0a06c62c14
[ "ZPL-2.1" ]
null
null
null
src/megrok/rdb/__init__.py
prsephton/megrok.rdb
5e1f5493704159869eac24518b77fc0a06c62c14
[ "ZPL-2.1" ]
null
null
null
from megrok.rdb.components import Model, Container, QueryContainer from megrok.rdb.schema import schema_from_model from megrok.rdb.directive import (key, metadata, tablename, reflected, table, tableargs, polymorphic_on, inherits, polymorphic_identity...
37
77
0.745946
60
555
6.833333
0.516667
0.146341
0.190244
0
0
0
0
0
0
0
0
0.002273
0.207207
555
14
78
39.642857
0.929545
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.8
0
0.8
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
119074f6d3e2051f386f94dba00fca89ea6339fe
19
py
Python
fonty/models/__init__.py
jamesssooi/font-cli
c98227606ad5c6ebeab01f70d754db29b8406f44
[ "Apache-2.0" ]
12
2018-05-02T05:59:31.000Z
2022-03-15T13:03:26.000Z
fonty/models/__init__.py
jamesssooi/font-cli
c98227606ad5c6ebeab01f70d754db29b8406f44
[ "Apache-2.0" ]
null
null
null
fonty/models/__init__.py
jamesssooi/font-cli
c98227606ad5c6ebeab01f70d754db29b8406f44
[ "Apache-2.0" ]
2
2018-05-02T05:59:40.000Z
2020-04-19T13:18:09.000Z
'''fonty.models'''
9.5
18
0.578947
2
19
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.052632
19
1
19
19
0.611111
0.631579
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
1198b8fa2ed6be576f806d91852fb958d42523b1
78
py
Python
src/adventofcode/util/console.py
MushroomMaula/adventofcode
924cd9ffe2bbdd4a2743a38c737ddafd9fb2d21b
[ "MIT" ]
null
null
null
src/adventofcode/util/console.py
MushroomMaula/adventofcode
924cd9ffe2bbdd4a2743a38c737ddafd9fb2d21b
[ "MIT" ]
null
null
null
src/adventofcode/util/console.py
MushroomMaula/adventofcode
924cd9ffe2bbdd4a2743a38c737ddafd9fb2d21b
[ "MIT" ]
null
null
null
from rich.console import Console console = Console(color_system='truecolor')
19.5
43
0.807692
10
78
6.2
0.7
0.451613
0
0
0
0
0
0
0
0
0
0
0.102564
78
3
44
26
0.885714
0
0
0
0
0
0.115385
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
11a2ab3aaf636c8c285e0db440943f273466780e
10,516
py
Python
txdav/caldav/datastore/scheduling/ischedule/test/test_cross_pod_scheduling.py
backwardn/ccs-calendarserver
13c706b985fb728b9aab42dc0fef85aae21921c3
[ "Apache-2.0" ]
462
2016-08-14T17:43:24.000Z
2022-03-17T07:38:16.000Z
txdav/caldav/datastore/scheduling/ischedule/test/test_cross_pod_scheduling.py
backwardn/ccs-calendarserver
13c706b985fb728b9aab42dc0fef85aae21921c3
[ "Apache-2.0" ]
72
2016-09-01T23:19:35.000Z
2020-02-05T02:09:26.000Z
txdav/caldav/datastore/scheduling/ischedule/test/test_cross_pod_scheduling.py
backwardn/ccs-calendarserver
13c706b985fb728b9aab42dc0fef85aae21921c3
[ "Apache-2.0" ]
171
2016-08-16T03:50:30.000Z
2022-03-26T11:49:55.000Z
## # Copyright (c) 2012-2017 Apple Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
37.827338
141
0.700932
1,166
10,516
6.295026
0.20669
0.039237
0.053134
0.035967
0.712943
0.712943
0.701226
0.678883
0.663896
0.628747
0
0.040951
0.191898
10,516
277
142
37.963899
0.822782
0.09652
0
0.75122
0
0
0.220587
0.114688
0
0
0
0
0.073171
1
0.029268
false
0
0.053659
0
0.092683
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
11be88f0d69076009035e61b8ed26441d54a8cb2
3,642
py
Python
selenium_tests/Tests/TestSuiteWithinPage/test_RegisterPage.py
avielfedida/RoboAdvisor
ca8ba3c479f5fd3ae1e468f11f09ecf08e2a0cf9
[ "MIT" ]
null
null
null
selenium_tests/Tests/TestSuiteWithinPage/test_RegisterPage.py
avielfedida/RoboAdvisor
ca8ba3c479f5fd3ae1e468f11f09ecf08e2a0cf9
[ "MIT" ]
3
2020-12-31T08:03:30.000Z
2021-03-30T06:39:50.000Z
selenium_tests/Tests/TestSuiteWithinPage/test_RegisterPage.py
avielfedida/RoboAdvisor
ca8ba3c479f5fd3ae1e468f11f09ecf08e2a0cf9
[ "MIT" ]
1
2021-06-20T09:13:03.000Z
2021-06-20T09:13:03.000Z
import pytest from selenium_tests.Data.SiteMessages import SiteMessages from selenium_tests.Data.TemplateData import TemplateData from selenium_tests.Pages.RegisterPage import RegisterPage from selenium_tests.utils import get_random_username_password @pytest.mark.usefixtures("tear_up_down") class Test_RegisterPage: ...
46.692308
113
0.7257
426
3,642
5.830986
0.131455
0.092593
0.111111
0.086957
0.772544
0.751208
0.704509
0.675523
0.675523
0.675523
0
0
0.199616
3,642
77
114
47.298701
0.852144
0
0
0.619048
0
0
0.003295
0
0
0
0
0
0.365079
1
0.063492
false
0.222222
0.079365
0
0.15873
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
11da44163e56d17ab6e07e6aee2f8cb70fcc8149
860
py
Python
UnitTests/test_merge_images.py
Mohamab29/FracSegment
2cca4e69a82ca3e6733d3b29e0e093fff5e55fe2
[ "Apache-2.0" ]
null
null
null
UnitTests/test_merge_images.py
Mohamab29/FracSegment
2cca4e69a82ca3e6733d3b29e0e093fff5e55fe2
[ "Apache-2.0" ]
null
null
null
UnitTests/test_merge_images.py
Mohamab29/FracSegment
2cca4e69a82ca3e6733d3b29e0e093fff5e55fe2
[ "Apache-2.0" ]
null
null
null
import cv2 import numpy as np import pytest from BackEnd.merge_images import resize_two_images from BackEnd.merge_images import merge_images @pytest.fixture(scope="module") def colored_image(): return cv2.imread('./utest_assets/images/colored-image-merge.png') @pytest.fixture(scope="module") def original_image(...
29.655172
82
0.774419
129
860
4.968992
0.356589
0.112324
0.093604
0.162246
0.605304
0.371295
0.24025
0
0
0
0
0.012097
0.134884
860
28
83
30.714286
0.849462
0.151163
0
0.111111
0
0
0.129298
0.112792
0
0
0
0
0.166667
1
0.222222
false
0
0.277778
0.111111
0.611111
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
eee66954ca5f1b2943a43fd7d4e4dee31cb3f328
255
py
Python
machine/serializers.py
mostafaitalian/digitec
46496ab23ef20a22840fb106d672ea56ba63f1f6
[ "MIT" ]
null
null
null
machine/serializers.py
mostafaitalian/digitec
46496ab23ef20a22840fb106d672ea56ba63f1f6
[ "MIT" ]
3
2021-09-08T03:21:22.000Z
2022-03-12T01:02:48.000Z
machine/serializers.py
mostafaitalian/digitec
46496ab23ef20a22840fb106d672ea56ba63f1f6
[ "MIT" ]
null
null
null
from rest_framework import serializers from .models import Machine class MachineSerializer(serializers.ModelSerializer): class Meta: model = Machine fields=('name', 'slug', 'serial', 'speed', 'category', 'customer','department')
28.333333
87
0.698039
25
255
7.08
0.8
0
0
0
0
0
0
0
0
0
0
0
0.184314
255
9
87
28.333333
0.850962
0
0
0
0
0
0.175781
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
e11e09729975783df8e853d44fc2f00e34178a31
118
py
Python
yc205/787.py
c-yan/yukicoder
cdbbd65402177225dd989df7fe01f67908484a69
[ "MIT" ]
null
null
null
yc205/787.py
c-yan/yukicoder
cdbbd65402177225dd989df7fe01f67908484a69
[ "MIT" ]
null
null
null
yc205/787.py
c-yan/yukicoder
cdbbd65402177225dd989df7fe01f67908484a69
[ "MIT" ]
null
null
null
P, Q = map(float, input().split()) p, q = P / 100, Q / 100 a = p * q b = (1 - p) * (1 - q) print(a / (a + b) * 100)
14.75
34
0.415254
25
118
1.96
0.44
0.122449
0
0
0
0
0
0
0
0
0
0.135802
0.313559
118
7
35
16.857143
0.469136
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
e1283fc4da632841d8d6a12cb428a2c4bb33531b
523
py
Python
nata/containers/__init__.py
babjarob/nata
8273f959ea025a9ab2e644988bf2e807be03ac85
[ "MIT" ]
30
2020-04-30T13:09:55.000Z
2021-12-27T22:05:41.000Z
nata/containers/__init__.py
babjarob/nata
8273f959ea025a9ab2e644988bf2e807be03ac85
[ "MIT" ]
60
2020-04-30T09:25:22.000Z
2021-09-18T21:26:39.000Z
nata/containers/__init__.py
babjarob/nata
8273f959ea025a9ab2e644988bf2e807be03ac85
[ "MIT" ]
13
2020-04-30T09:30:19.000Z
2021-10-18T20:51:08.000Z
# -*- coding: utf-8 -*- from .axis import Axis from .grid import GridDataset from .grid import GridArray from .particle import Quantity from .particle import QuantityArray from .particle import Particle from .particle import ParticleArray from .particle import ParticleDataset # from .ParticleDataset import ParticleQ...
24.904762
50
0.818356
61
523
6.983607
0.344262
0.140845
0.211268
0.107981
0
0
0
0
0
0
0
0.002203
0.131931
523
20
51
26.15
0.936123
0.307839
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
0101bbecfb43ed18fb87e9612a4a71d3f350a479
78
py
Python
corehq/apps/es/exceptions.py
akashkj/commcare-hq
b00a62336ec26cea1477dfb8c048c548cc462831
[ "BSD-3-Clause" ]
null
null
null
corehq/apps/es/exceptions.py
akashkj/commcare-hq
b00a62336ec26cea1477dfb8c048c548cc462831
[ "BSD-3-Clause" ]
null
null
null
corehq/apps/es/exceptions.py
akashkj/commcare-hq
b00a62336ec26cea1477dfb8c048c548cc462831
[ "BSD-3-Clause" ]
null
null
null
class ESError(Exception): pass class ESRegistryError(ESError): pass
11.142857
31
0.717949
8
78
7
0.625
0
0
0
0
0
0
0
0
0
0
0
0.205128
78
6
32
13
0.903226
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
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
0
1
1
0
0
0
0
0
4
0134d4e7d024b7be10824f42458f089f2a3aabdc
57
py
Python
src/test/data/pa3/AdditionalTestCase/UnitTest/IfExpr_then.py
Leo-Enrique-Wu/chocopy_compiler_code_generation
4606be0531b3de77411572aae98f73169f46b3b9
[ "BSD-2-Clause" ]
null
null
null
src/test/data/pa3/AdditionalTestCase/UnitTest/IfExpr_then.py
Leo-Enrique-Wu/chocopy_compiler_code_generation
4606be0531b3de77411572aae98f73169f46b3b9
[ "BSD-2-Clause" ]
null
null
null
src/test/data/pa3/AdditionalTestCase/UnitTest/IfExpr_then.py
Leo-Enrique-Wu/chocopy_compiler_code_generation
4606be0531b3de77411572aae98f73169f46b3b9
[ "BSD-2-Clause" ]
null
null
null
print("then" if (len("Hello") > len("test")) else "else")
57
57
0.596491
9
57
3.777778
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.105263
57
1
57
57
0.666667
0
0
0
0
0
0.293103
0
0
0
0
0
0
1
0
true
0
0
0
0
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
1
0
0
0
0
1
0
4
01445b5e860aa383334f8f501ba0cc1edc2e28c0
177
py
Python
wouso/games/grandchallenge/urls.py
AlexandruGhergut/wouso
f26244ff58ae626808ae8c58ccc93d21f9f2666f
[ "Apache-2.0" ]
117
2015-01-02T18:07:33.000Z
2021-01-06T22:36:25.000Z
wouso/games/grandchallenge/urls.py
AlexandruGhergut/wouso
f26244ff58ae626808ae8c58ccc93d21f9f2666f
[ "Apache-2.0" ]
229
2015-01-12T07:07:58.000Z
2019-10-12T08:27:01.000Z
wouso/games/grandchallenge/urls.py
AlexandruGhergut/wouso
f26244ff58ae626808ae8c58ccc93d21f9f2666f
[ "Apache-2.0" ]
96
2015-01-07T05:26:09.000Z
2020-06-25T07:28:51.000Z
from django.conf.urls.defaults import * from django.conf import settings urlpatterns = patterns('', url(r'^$', 'games.grandchallenge.views.index', name='gc_index_view'), )
25.285714
73
0.728814
23
177
5.521739
0.782609
0.15748
0.220472
0
0
0
0
0
0
0
0
0
0.112994
177
6
74
29.5
0.808917
0
0
0
0
0
0.265537
0.180791
0
0
0
0
0
1
0
false
0
0.4
0
0.4
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
014ee716d6c791118285b196d4612b86573d357b
226
py
Python
python/roland_checksum.py
olemb/midibab
c8629d171ebaf53de1a30ee0e5f02d71d742dd42
[ "MIT" ]
null
null
null
python/roland_checksum.py
olemb/midibab
c8629d171ebaf53de1a30ee0e5f02d71d742dd42
[ "MIT" ]
null
null
null
python/roland_checksum.py
olemb/midibab
c8629d171ebaf53de1a30ee0e5f02d71d742dd42
[ "MIT" ]
null
null
null
# Also used on the Yamaha Reface CS? def compute_checksum(data): """Compute checksum from a list of byte values. This is appended to the data of the sysex message. """ return (128 - (sum(data) & 0x7F)) & 0x7F
28.25
54
0.663717
35
226
4.257143
0.771429
0.201342
0
0
0
0
0
0
0
0
0
0.040698
0.238938
226
7
55
32.285714
0.825581
0.584071
0
0
0
0
0
0
0
0
0.101266
0
0
1
0.5
false
0
0
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
015cf1081b3221e2466a328672856fde32c14744
453,369
py
Python
Resources/Background/background.py
Gaoyifei1011/AmapProgram
d45a27abf9f508d922f37abc34f00da6d0aab4a0
[ "MIT" ]
1
2021-05-19T02:48:49.000Z
2021-05-19T02:48:49.000Z
Resources/Background/background.py
Gaoyifei1011/AmapProgram
d45a27abf9f508d922f37abc34f00da6d0aab4a0
[ "MIT" ]
1
2021-05-18T16:01:56.000Z
2021-05-20T02:14:52.000Z
Resources/Background/background.py
Gaoyifei1011/AmapProgram
d45a27abf9f508d922f37abc34f00da6d0aab4a0
[ "MIT" ]
1
2021-06-04T06:39:57.000Z
2021-06-04T06:39:57.000Z
# -*- coding: utf-8 -*- # Resource object code # # Created by: The Resource Compiler for PyQt5 (Qt v5.15.2) # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore qt_resource_data = b"\ \x00\x01\xa5\xb0\ \xff\ \xd8\xff\xe0\x00\x10\x4a\x46\x49\x46\x00\x01\x01\x01\x00\x48\x00\ ...
66.701339
106
0.716383
108,179
453,369
3.00195
0.002838
0.005284
0.00158
0.001737
0.002042
0.002032
0.00166
0.001651
0.001651
0.001651
0
0.318637
0.030174
453,369
6,796
107
66.711154
0.419949
0.000335
0
0.000885
0
0.99587
0.000002
0
0
1
0
0
0
1
0.000295
false
0
0.000147
0
0.000442
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
4
0173965548649b6b3831717b20b7333ff83c484d
65,604
py
Python
proj_1_cv.py
marianlupascu/Automatic-grading-of-multiple-choice-tests
c574d957fdb605dfebad5e00753721b44bdc3ee9
[ "MIT" ]
null
null
null
proj_1_cv.py
marianlupascu/Automatic-grading-of-multiple-choice-tests
c574d957fdb605dfebad5e00753721b44bdc3ee9
[ "MIT" ]
null
null
null
proj_1_cv.py
marianlupascu/Automatic-grading-of-multiple-choice-tests
c574d957fdb605dfebad5e00753721b44bdc3ee9
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Proj#1-CV.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1qCUW5rOrcw27liqwla1YaSKlBLw1Fa-V # **Imports** """ #1 #Check CPU and RAM specifications !cat /proc/cpuinfo !cat /proc/meminfo #2 #Check GPU specifications fro...
33.45436
269
0.602936
9,569
65,604
3.887972
0.069182
0.025723
0.018869
0.014515
0.744355
0.719519
0.694468
0.680895
0.651946
0.624745
0
0.04121
0.268002
65,604
1,961
270
33.45436
0.733518
0.079888
0
0.689474
1
0
0.04985
0.013439
0
0
0
0.00051
0
0
null
null
0.000752
0.012782
null
null
0.078195
0
0
0
null
0
0
0
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
1
0
0
0
0
0
0
0
0
4
0188c7c18851a8d89c0c3929fce9ddb47895e4d8
182
py
Python
option1/match/candidates/admin.py
FOH-BOH/engineering-assessment-full-stack
c239ca4ccb4a18a41692f503f17098b033688c99
[ "Apache-2.0" ]
null
null
null
option1/match/candidates/admin.py
FOH-BOH/engineering-assessment-full-stack
c239ca4ccb4a18a41692f503f17098b033688c99
[ "Apache-2.0" ]
null
null
null
option1/match/candidates/admin.py
FOH-BOH/engineering-assessment-full-stack
c239ca4ccb4a18a41692f503f17098b033688c99
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from .models import Candidate @admin.register(Candidate) class CandidateAdmin(admin.ModelAdmin): list_display = ('name', 'city', 'positions',)
22.75
49
0.758242
21
182
6.52381
0.761905
0
0
0
0
0
0
0
0
0
0
0
0.120879
182
8
49
22.75
0.85625
0
0
0
0
0
0.092896
0
0
0
0
0
0
1
0
false
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
6d748d047aa68c5492497d1e38a1c0d6ba06f892
297
py
Python
nari/types/event/partylist.py
lunarrize/nari
9fbd9fa1b3f44f9c934131a9cfa780dff31e824d
[ "MIT" ]
9
2021-03-15T03:18:09.000Z
2022-03-28T23:44:32.000Z
nari/types/event/partylist.py
lunarrize/nari
9fbd9fa1b3f44f9c934131a9cfa780dff31e824d
[ "MIT" ]
23
2021-02-11T16:05:44.000Z
2022-02-20T07:18:53.000Z
nari/types/event/partylist.py
lunarrize/nari
9fbd9fa1b3f44f9c934131a9cfa780dff31e824d
[ "MIT" ]
4
2021-02-11T07:30:21.000Z
2022-02-07T03:51:57.000Z
"""This event fires when the party list changes""" from nari.types.event.base import Event from nari.types.event import Type class PartyList(Event): """List of members in the party""" __id__ = Type.partylist.value def __repr__(self): return f'<Partylist ({self.params[0]})>'
27
50
0.693603
43
297
4.604651
0.651163
0.080808
0.131313
0.181818
0
0
0
0
0
0
0
0.004115
0.181818
297
10
51
29.7
0.8107
0.245791
0
0
0
0
0.140845
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0.166667
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
4
6d75cc909ec9de91050e0fb63bfb406c827a268a
493
py
Python
pref/webapp/templatetags/webapp_extras.py
ahampt/Pref
6a6b44c751da4358d97c7f170237b8fc0a4bc3d0
[ "MIT" ]
null
null
null
pref/webapp/templatetags/webapp_extras.py
ahampt/Pref
6a6b44c751da4358d97c7f170237b8fc0a4bc3d0
[ "MIT" ]
7
2015-08-02T20:58:23.000Z
2016-05-02T03:25:21.000Z
pref/webapp/templatetags/webapp_extras.py
ahampt/Pref
6a6b44c751da4358d97c7f170237b8fc0a4bc3d0
[ "MIT" ]
null
null
null
from django import template import math import urllib register = template.Library() @register.filter def multiply(value, arg): return int(value) * int(arg) @register.filter def divide_rounding_up(value, arg): return int(math.ceil(float(value) / float(arg))) @register.filter def get_range(value): return range(v...
17.607143
49
0.732252
72
493
4.958333
0.416667
0.196078
0.238095
0.095238
0
0
0
0
0
0
0
0.004695
0.135903
493
28
50
17.607143
0.833333
0
0
0.227273
0
0
0
0
0
0
0
0
0
1
0.227273
false
0
0.136364
0.181818
0.636364
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
6d8644d43e963f1b38245559afa1dc2ccd6e0090
82
py
Python
IMDB/apps.py
MrRobot100/api-Auth
e6d5aba3e100f92ed3b48251ec8567c23ad8224d
[ "MIT" ]
1
2020-06-09T14:04:10.000Z
2020-06-09T14:04:10.000Z
IMDB/apps.py
MrRobot100/api-Auth
e6d5aba3e100f92ed3b48251ec8567c23ad8224d
[ "MIT" ]
8
2019-11-24T08:49:08.000Z
2021-09-22T18:20:44.000Z
IMDB/apps.py
ParserKnight/DjangoRest-api-Auth
e6d5aba3e100f92ed3b48251ec8567c23ad8224d
[ "MIT" ]
null
null
null
from django.apps import AppConfig class ImdbConfig(AppConfig): name = 'IMDB'
16.4
33
0.743902
10
82
6.1
0.9
0
0
0
0
0
0
0
0
0
0
0
0.170732
82
4
34
20.5
0.897059
0
0
0
0
0
0.04878
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
6d86f468231ffdeb8e0811b51296e715daa99257
31,258
py
Python
main.py
Bhavishrg/notakto
e6ec82cbe3d4a8dcea4620354870073fbf39eb80
[ "Apache-2.0" ]
null
null
null
main.py
Bhavishrg/notakto
e6ec82cbe3d4a8dcea4620354870073fbf39eb80
[ "Apache-2.0" ]
null
null
null
main.py
Bhavishrg/notakto
e6ec82cbe3d4a8dcea4620354870073fbf39eb80
[ "Apache-2.0" ]
null
null
null
import pygame import sys import webbrowser from pygame import mixer #initialize pygame.init() #creating the screen screen = pygame.display.set_mode((800,600)) #font font = pygame.font.Font("fonts\chalk.ttf", 72) #title,icon and background pygame.display.set_caption('''Misere's Tic Tac Toe''') icon =...
42.936813
127
0.429426
3,749
31,258
3.532942
0.061883
0.05436
0.070819
0.09966
0.786032
0.781955
0.707739
0.70117
0.695206
0.611325
0
0.176153
0.426099
31,258
727
128
42.995873
0.562183
0.002335
0
0.608319
0
0.001733
0.024104
0
0
0
0
0
0
1
0.019064
false
0
0.006932
0
0.032929
0.001733
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
6da4baef07c060b3ee2cc6ed2b2151eb9033b410
429
py
Python
python/kyu-5/extract-domain/test_extract_domain.py
ledwindra/codewars
0552669a69e801cfe5f9a3696a4d98be63a96951
[ "WTFPL" ]
1
2020-11-13T16:55:04.000Z
2020-11-13T16:55:04.000Z
python/kyu-5/extract-domain/test_extract_domain.py
ledwindra/codewars
0552669a69e801cfe5f9a3696a4d98be63a96951
[ "WTFPL" ]
1
2020-01-28T15:48:17.000Z
2020-01-28T15:48:17.000Z
python/kyu-5/extract-domain/test_extract_domain.py
ledwindra/codewars
0552669a69e801cfe5f9a3696a4d98be63a96951
[ "WTFPL" ]
null
null
null
from extract_domain import domain_name class TestExtractDomain: def test_google_com(self): assert domain_name('http://google.com') == 'google' def test_google_jp(self): assert domain_name('http://google.co.jp') == 'google' def test_xakep_ru(self): assert domain_name('www.xakep.ru...
28.6
62
0.668998
57
429
4.789474
0.368421
0.18315
0.234432
0.29304
0.315018
0.21978
0
0
0
0
0
0
0.191142
429
15
62
28.6
0.786744
0
0
0
0
0
0.211628
0
0
0
0
0
0.4
1
0.4
false
0
0.1
0
0.6
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
6db1a621719ebdc4944f2dcccd36fcd37b899f10
19,719
py
Python
hoki/csp/eventrate.py
HeloiseS/hoki
31cecc4c4ee2bbb617e1451df1cab896f485d801
[ "BSD-3-Clause" ]
40
2019-09-18T13:04:09.000Z
2022-03-08T12:45:35.000Z
hoki/csp/eventrate.py
HeloiseS/hoki
31cecc4c4ee2bbb617e1451df1cab896f485d801
[ "BSD-3-Clause" ]
60
2019-10-26T01:11:52.000Z
2022-02-10T06:52:08.000Z
hoki/csp/eventrate.py
HeloiseS/hoki
31cecc4c4ee2bbb617e1451df1cab896f485d801
[ "BSD-3-Clause" ]
8
2020-03-04T23:35:01.000Z
2021-05-23T16:32:54.000Z
""" Author: Max Briel Object to calculate the event rate at a certain lookback time or over binned lookback time """ import numpy as np import numba from hoki.csp.csp import CSP import hoki.csp.utils as utils from hoki.constants import (BPASS_LINEAR_TIME_EDGES, BPASS_NUM_METALLICITIES, BPASS_EVENT_TYPES, HOK...
37.921154
123
0.578325
2,542
19,719
4.290323
0.108969
0.040345
0.026224
0.012837
0.766275
0.731249
0.716578
0.689437
0.627911
0.609848
0
0.018379
0.335007
19,719
519
124
37.99422
0.813315
0.510421
0
0.572581
0
0
0.016015
0
0
0
0
0
0
1
0.056452
false
0.169355
0.072581
0
0.201613
0.024194
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
6dc617b49c0990bf925bba3712c8d5c7913999c4
27,269
py
Python
tests/test_xrosfs.py
hankei6km/xrosfs
17d9db92345d53198eb6a50d8a826557e41f293f
[ "MIT" ]
1
2021-07-09T16:56:52.000Z
2021-07-09T16:56:52.000Z
tests/test_xrosfs.py
hankei6km/xrosfs
17d9db92345d53198eb6a50d8a826557e41f293f
[ "MIT" ]
null
null
null
tests/test_xrosfs.py
hankei6km/xrosfs
17d9db92345d53198eb6a50d8a826557e41f293f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright (c) 2018 hankei6km # Licensed under the MIT License. See LICENSE.txt in the project root. import pytest # import unittest from unittest import mock import os import types import datetime import time from xrosfs.xrosfs import XrosFS from xrosfs.conshell import ConShell, EntryResul...
34.960256
79
0.530823
3,061
27,269
4.545247
0.098334
0.068785
0.0989
0.052325
0.815209
0.771581
0.735643
0.694315
0.660102
0.610077
0
0.027736
0.321721
27,269
779
80
35.005135
0.724481
0.065312
0
0.558394
0
0
0.198794
0.034551
0
0
0.001064
0
0.182482
1
0.060219
false
0
0.014599
0
0.083942
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
6de769873a25272ec99b9c089da5d0e0d40dd13a
57
py
Python
tests/testapp/tests/__init__.py
lentinj/django-newsletter-subscription
2c4bf083b70218cf0abd9d87a23edd90f9eca531
[ "BSD-3-Clause" ]
21
2015-02-12T12:31:18.000Z
2020-11-16T12:32:53.000Z
tests/testapp/tests/__init__.py
lentinj/django-newsletter-subscription
2c4bf083b70218cf0abd9d87a23edd90f9eca531
[ "BSD-3-Clause" ]
4
2016-02-02T20:03:34.000Z
2017-09-18T12:30:15.000Z
tests/testapp/tests/__init__.py
lentinj/django-newsletter-subscription
2c4bf083b70218cf0abd9d87a23edd90f9eca531
[ "BSD-3-Clause" ]
18
2015-06-05T14:21:46.000Z
2021-12-22T17:06:50.000Z
from .test_subscriptions import SubscriptionTest # noqa
28.5
56
0.842105
6
57
7.833333
1
0
0
0
0
0
0
0
0
0
0
0
0.122807
57
1
57
57
0.94
0.070175
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
6df0b0a23e51dc178321cada6e0e9277fb164b20
24,343
py
Python
tests/unit/test_reconciler.py
PreetiKamble29/stacktach
f4f905393a0d7eaa226a72b6a27b61e4ef52211d
[ "Apache-2.0" ]
null
null
null
tests/unit/test_reconciler.py
PreetiKamble29/stacktach
f4f905393a0d7eaa226a72b6a27b61e4ef52211d
[ "Apache-2.0" ]
4
2020-02-28T10:27:34.000Z
2022-02-02T01:13:09.000Z
tests/unit/test_reconciler.py
PreetiKamble29/stacktach
f4f905393a0d7eaa226a72b6a27b61e4ef52211d
[ "Apache-2.0" ]
null
null
null
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
43.940433
80
0.640595
2,648
24,343
5.574396
0.089124
0.046474
0.059278
0.028318
0.775015
0.739381
0.722241
0.701375
0.654359
0.62218
0
0.006628
0.268701
24,343
553
81
44.019892
0.822548
0.030974
0
0.586694
0
0
0.070677
0.008739
0
0
0
0
0.064516
1
0.066532
false
0.004032
0.028226
0.002016
0.106855
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
6dffe9a937643aa95aa125ea9eb37401119b2596
310
py
Python
api/converter.py
Abhi-nab/Ed-Flix
6c19ac19d240455e08dacb435e23b0438f188983
[ "MIT" ]
6
2021-02-28T06:12:22.000Z
2021-02-28T19:13:00.000Z
api/converter.py
Abhi-nab/Ed-Flix
6c19ac19d240455e08dacb435e23b0438f188983
[ "MIT" ]
3
2021-02-27T21:36:43.000Z
2021-03-01T14:53:53.000Z
api/converter.py
Abhi-nab/Ed-Flix
6c19ac19d240455e08dacb435e23b0438f188983
[ "MIT" ]
9
2020-11-20T07:24:02.000Z
2021-05-02T06:01:07.000Z
def longToSizeString(longVal): if longVal >= 1073741824 : return str(round(longVal/1073741824,2))+"GB" elif longVal >= 1048576: return str(round(longVal/1048576,2)) + "MB" elif longVal >= 1024: return str(round(longVal/1024,2))+"KB" else: return str(longVal)+"B"
34.444444
52
0.619355
38
310
5.052632
0.447368
0.1875
0.21875
0.328125
0
0
0
0
0
0
0
0.189873
0.235484
310
9
53
34.444444
0.620253
0
0
0
0
0
0.022508
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.555556
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
097a77dcda524305d788848b1f993a7115c1cb93
243
py
Python
django_contact_form_project/contacts/forms.py
prontointern/django-contact-form
cfbaeafce40910f8afeee8c5cd14c2e3ae2c7cbc
[ "MIT" ]
null
null
null
django_contact_form_project/contacts/forms.py
prontointern/django-contact-form
cfbaeafce40910f8afeee8c5cd14c2e3ae2c7cbc
[ "MIT" ]
null
null
null
django_contact_form_project/contacts/forms.py
prontointern/django-contact-form
cfbaeafce40910f8afeee8c5cd14c2e3ae2c7cbc
[ "MIT" ]
null
null
null
from django import forms class ContactForm(forms.Form): firstname = forms.CharField(max_length=100, required=True) lastname = forms.CharField(max_length=100, required=True) email = forms.EmailField(max_length=100, required=True)
30.375
62
0.765432
32
243
5.71875
0.53125
0.147541
0.196721
0.327869
0.546448
0.415301
0.415301
0
0
0
0
0.042654
0.131687
243
7
63
34.714286
0.824645
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
09a4d68b60431611af76b5fce501a689632cc1fe
74
py
Python
__init__.py
groceryheist/ores_bias_project
b887206a6de3c768275ab4b326d7b39e7ed63ed2
[ "MIT" ]
2
2020-04-24T13:53:05.000Z
2020-10-06T23:57:06.000Z
__init__.py
groceryheist/ores_bias_project
b887206a6de3c768275ab4b326d7b39e7ed63ed2
[ "MIT" ]
null
null
null
__init__.py
groceryheist/ores_bias_project
b887206a6de3c768275ab4b326d7b39e7ed63ed2
[ "MIT" ]
null
null
null
from .confidence_levels import ORESConfidenceLevel, dmg_levels, gf_levels
37
73
0.878378
9
74
6.888889
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.081081
74
1
74
74
0.911765
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
09ad63edba2aedb8664c7317e93e71d4a809ceca
168
py
Python
wandb/integration/tensorboard/__init__.py
borisgrafx/client
c079f7816947a3092b500751eb920fda3866985f
[ "MIT" ]
null
null
null
wandb/integration/tensorboard/__init__.py
borisgrafx/client
c079f7816947a3092b500751eb920fda3866985f
[ "MIT" ]
null
null
null
wandb/integration/tensorboard/__init__.py
borisgrafx/client
c079f7816947a3092b500751eb920fda3866985f
[ "MIT" ]
null
null
null
""" wandb integration tensorboard module. """ from .monkeypatch import patch, unpatch from .log import _log, log, tf_summary_to_dict, reset_state __all__ = ["patch"]
18.666667
59
0.755952
22
168
5.363636
0.772727
0
0
0
0
0
0
0
0
0
0
0
0.136905
168
8
60
21
0.813793
0.220238
0
0
0
0
0.04065
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
09af9358b7d3e4897675f7b44514a5c7ae5bebd8
249
py
Python
pycollocation/basis_functions/basis_functions.py
davidrpugh/bvp-solver
9376f3488a992dc416cfd2a4dbb396d094927569
[ "MIT" ]
16
2015-10-23T15:54:51.000Z
2021-06-23T15:31:17.000Z
pycollocation/basis_functions/basis_functions.py
davidrpugh/bvp-solver
9376f3488a992dc416cfd2a4dbb396d094927569
[ "MIT" ]
36
2015-03-26T15:35:39.000Z
2016-09-13T06:36:55.000Z
pycollocation/basis_functions/basis_functions.py
davidrpugh/bvp-solver
9376f3488a992dc416cfd2a4dbb396d094927569
[ "MIT" ]
8
2015-04-08T12:45:32.000Z
2021-07-19T08:56:50.000Z
class BasisFunctionLike(object): @classmethod def derivatives_factory(cls, coef, *args, **kwargs): raise NotImplementedError @classmethod def functions_factory(cls, coef, *args, **kwargs): raise NotImplementedError
24.9
56
0.698795
23
249
7.478261
0.608696
0.162791
0.162791
0.209302
0.55814
0.55814
0.55814
0
0
0
0
0
0.208835
249
9
57
27.666667
0.873096
0
0
0.571429
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0
0
0.428571
0
1
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
09bbc81bc1bfb680912da5409575ad0a4222f0d2
166
py
Python
desafio010.py
EdnaMota/python3_estudos
78fd4cf0063329d02b1e8b6f0094679e8922d5d7
[ "MIT" ]
null
null
null
desafio010.py
EdnaMota/python3_estudos
78fd4cf0063329d02b1e8b6f0094679e8922d5d7
[ "MIT" ]
null
null
null
desafio010.py
EdnaMota/python3_estudos
78fd4cf0063329d02b1e8b6f0094679e8922d5d7
[ "MIT" ]
null
null
null
d = float(input('Quanto dinheiro você tem na carteira? R$ ')) print(f'Com {d:.2f} você pode comprar US$ {d / 5.39:.2f} dólares americanos e € {d / 6.15:.2f} euros.')
83
103
0.644578
32
166
3.375
0.8125
0
0
0
0
0
0
0
0
0
0
0.064748
0.162651
166
2
103
83
0.705036
0
0
0
0
0.5
0.807229
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
09d223d88ee706676bcb6c66427380662ce6c4a2
2,035
py
Python
tests/test_yaml_configs.py
tangzhoutz/pyconf
2f43280be0cbcf140f66bfc8b9ddb6dd33d8e257
[ "MIT" ]
4
2018-04-08T03:35:16.000Z
2022-01-13T14:09:14.000Z
tests/test_yaml_configs.py
Microndgt/pyconf
2f43280be0cbcf140f66bfc8b9ddb6dd33d8e257
[ "MIT" ]
1
2021-03-25T22:53:33.000Z
2021-03-25T22:53:33.000Z
tests/test_yaml_configs.py
tangzhoutz/pyconf
2f43280be0cbcf140f66bfc8b9ddb6dd33d8e257
[ "MIT" ]
1
2019-09-30T02:21:18.000Z
2019-09-30T02:21:18.000Z
import unittest from pyconf import api, YamlConfig, Section from typing import Sequence class TestPyConfig(unittest.TestCase): def setUp(self): self.sample_config_filename = 'tests/sample.yml' self.missing_config_filename = 'missing.yml' def test_load_general(self): """Check if a va...
42.395833
105
0.7086
231
2,035
6.025974
0.294372
0.229885
0.280172
0.323276
0.561063
0.46408
0.282328
0.248563
0.213362
0
0
0.008235
0.164619
2,035
47
106
43.297872
0.810588
0.097789
0
0
0
0
0.135165
0
0
0
0
0
0.548387
1
0.129032
false
0
0.096774
0
0.258065
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
4
09e5dc0b7bac82251241671f27a75674fa26e6fa
887
py
Python
tests/test_regular_array.py
AndrewKirby2/data_synthesis
656858137a348fd5dcb57bcd04bdfece2b9eac1b
[ "MIT" ]
null
null
null
tests/test_regular_array.py
AndrewKirby2/data_synthesis
656858137a348fd5dcb57bcd04bdfece2b9eac1b
[ "MIT" ]
null
null
null
tests/test_regular_array.py
AndrewKirby2/data_synthesis
656858137a348fd5dcb57bcd04bdfece2b9eac1b
[ "MIT" ]
null
null
null
import numpy as np import numpy.testing as npt from regular_array_sampling.functions import find_important_turbines def test_closest_turbines_calc(): """Test that find_important_turbines correctly calculates the coordinates of the closest turbines """ test_answer = np.array([6, 0, 12, 0, 18, 0]) n...
49.277778
89
0.736189
156
887
3.923077
0.25641
0.147059
0.240196
0.212418
0.560458
0.531046
0.486928
0.486928
0.346405
0.269608
0
0.067445
0.130778
887
18
90
49.277778
0.726329
0.105975
0
0
0
0
0
0
0
0
0
0
0.384615
1
0.076923
false
0
0.615385
0
0.692308
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
61dad08aef9a396a952f8c3eeff6acc8f7ab7b88
817
py
Python
examples/core.py
alex-kalanis/kw_input
ac7beddadc5e766d7b4921352a472abcea6e16cf
[ "BSD-3-Clause" ]
null
null
null
examples/core.py
alex-kalanis/kw_input
ac7beddadc5e766d7b4921352a472abcea6e16cf
[ "BSD-3-Clause" ]
null
null
null
examples/core.py
alex-kalanis/kw_input
ac7beddadc5e766d7b4921352a472abcea6e16cf
[ "BSD-3-Clause" ]
null
null
null
# example core loads from kw_input.input import Inputs from kw_input.sources import ISource class Core1: def __init__(self): self._inputs = None # ... def set_inputs(self, inputs: Inputs): self._inputs = inputs # ... class Core2: def __init__(self, cli_args=None): s...
15.415094
56
0.582619
100
817
4.57
0.45
0.091904
0.183807
0.185996
0
0
0
0
0
0
0
0.003597
0.319461
817
52
57
15.711538
0.818345
0.146879
0
0.25
0
0
0
0
0
0
0
0
0
1
0.375
false
0
0.083333
0.25
0.833333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
4
61f6bb2d05a47399298b630780e45800d6ce8b29
21
py
Python
test/login.py
1409sk/test001
6105addc6452ee87b78b9a8e6445b118fa4dd504
[ "MIT" ]
null
null
null
test/login.py
1409sk/test001
6105addc6452ee87b78b9a8e6445b118fa4dd504
[ "MIT" ]
null
null
null
test/login.py
1409sk/test001
6105addc6452ee87b78b9a8e6445b118fa4dd504
[ "MIT" ]
null
null
null
print('hehe') num=1
5.25
13
0.619048
4
21
3.25
1
0
0
0
0
0
0
0
0
0
0
0.055556
0.142857
21
3
14
7
0.666667
0
0
0
0
0
0.2
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
61f7da46f11171b573b8876decb0a9d1bab78667
268
py
Python
lino_cosi/lib/__init__.py
khchine5/cosi
808d71cc4d709fbab0d2d598d069dfc749b235b6
[ "BSD-2-Clause" ]
null
null
null
lino_cosi/lib/__init__.py
khchine5/cosi
808d71cc4d709fbab0d2d598d069dfc749b235b6
[ "BSD-2-Clause" ]
null
null
null
lino_cosi/lib/__init__.py
khchine5/cosi
808d71cc4d709fbab0d2d598d069dfc749b235b6
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: UTF-8 -*- # Copyright 2013-2017 Luc Saffre # License: BSD (see file COPYING for details) """ Plugins ======= .. autosummary:: :toctree: cosi contacts b2c Not used ======== .. autosummary:: :toctree: orders delivery """
9.571429
45
0.55597
27
268
5.518519
0.925926
0.241611
0
0
0
0
0
0
0
0
0
0.050761
0.264925
268
27
46
9.925926
0.705584
0.932836
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
1
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
0
0
0
0
0
4
113c3fe7ab5f7acdc253ad854545bf4b976bab19
120
py
Python
tracktotrip/__init__.py
dserafim1999/TrackToTrip
339da58db6e09053f44a576868f9c95cb061575f
[ "MIT" ]
39
2016-06-01T14:47:08.000Z
2021-12-21T07:42:18.000Z
tracktotrip/__init__.py
dserafim1999/TrackToTrip
339da58db6e09053f44a576868f9c95cb061575f
[ "MIT" ]
9
2016-05-05T09:10:52.000Z
2020-10-29T11:35:44.000Z
tracktotrip/__init__.py
dserafim1999/TrackToTrip
339da58db6e09053f44a576868f9c95cb061575f
[ "MIT" ]
14
2017-01-15T16:15:12.000Z
2021-09-24T09:53:30.000Z
""" Export most common entry points """ from .point import Point from .track import Track from .segment import Segment
15
31
0.758333
17
120
5.352941
0.588235
0
0
0
0
0
0
0
0
0
0
0
0.166667
120
7
32
17.142857
0.91
0.258333
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
1156f0677f55fe62a2432dd605847e245f582271
236
py
Python
slos/test/mocks/cinder/volume/utils.py
softlayer/softlayer-cinder-driver
465c2a15b7692f9fa1171a212fe162a990267e62
[ "MIT" ]
2
2016-04-19T14:08:47.000Z
2016-05-30T02:57:19.000Z
slos/test/mocks/cinder/volume/utils.py
softlayer/softlayer-cinder-driver
465c2a15b7692f9fa1171a212fe162a990267e62
[ "MIT" ]
1
2015-02-23T09:32:25.000Z
2015-02-23T09:32:25.000Z
slos/test/mocks/cinder/volume/utils.py
softlayer/softlayer-cinder-driver
465c2a15b7692f9fa1171a212fe162a990267e62
[ "MIT" ]
1
2016-04-19T14:17:13.000Z
2016-04-19T14:17:13.000Z
#!/usr/bin/python from mock import MagicMock class Utils: copy_volume = MagicMock() def reset_mocks(self): from mock import MagicMock self.copy_volume = MagicMock() import sys sys.modules[__name__] = Utils()
16.857143
38
0.686441
30
236
5.166667
0.6
0.103226
0.180645
0.296774
0
0
0
0
0
0
0
0
0.220339
236
13
39
18.153846
0.842391
0.067797
0
0.25
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.75
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
11674961d7e9eb7daeb73c22c39e24a8c9496832
125
py
Python
scripts/test_scan.py
sodaplayer/approxeng.input
c08dd789d8435a73e776422ad50ffeecb1d7dd2f
[ "Apache-2.0" ]
51
2017-04-10T15:09:56.000Z
2022-03-16T19:16:08.000Z
scripts/test_scan.py
sodaplayer/approxeng.input
c08dd789d8435a73e776422ad50ffeecb1d7dd2f
[ "Apache-2.0" ]
53
2017-03-04T16:22:18.000Z
2022-01-11T09:19:49.000Z
scripts/test_scan.py
sodaplayer/approxeng.input
c08dd789d8435a73e776422ad50ffeecb1d7dd2f
[ "Apache-2.0" ]
20
2017-05-04T19:37:36.000Z
2021-07-02T18:16:18.000Z
import approxeng.input.sys as sys import pprint pp = pprint.PrettyPrinter(indent=2, width=100) pp.pprint(sys.scan_system())
20.833333
46
0.784
20
125
4.85
0.7
0.164948
0
0
0
0
0
0
0
0
0
0.035398
0.096
125
6
47
20.833333
0.823009
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.75
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
fecf1773e38861b762170758c8bace4b6d170e1e
23,564
py
Python
tests/testing_data.py
Barabazs/py-is_ipfs
c8ac622879b2223e298d9cc4a59ae7da89eb0479
[ "MIT" ]
1
2022-03-09T14:23:44.000Z
2022-03-09T14:23:44.000Z
tests/testing_data.py
Barabazs/py-is_ipfs
c8ac622879b2223e298d9cc4a59ae7da89eb0479
[ "MIT" ]
null
null
null
tests/testing_data.py
Barabazs/py-is_ipfs
c8ac622879b2223e298d9cc4a59ae7da89eb0479
[ "MIT" ]
null
null
null
from multibase import encode import cid valid_entries = { "cid": { "v0": [ "QmPZ9gcCEpqKTo6aq61g2nXGUhM4iCL3ewB6LDXZCtioEB", # base58btc "QmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR", # base58btc ], "v1": [ "000000001011100000001001000100000110000111...
77.768977
361
0.73625
1,191
23,564
14.5466
0.127624
0.020317
0.017143
0.012121
0.522886
0.437922
0.405253
0.396248
0.394401
0.385108
0
0.337565
0.174291
23,564
302
362
78.02649
0.55286
0.077915
0
0.216667
0
0.003333
0.764878
0.414442
0
0
0
0
0
1
0
false
0
0.006667
0
0.006667
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
fed08a258be404011cce184ecf77e6aad5f9e7af
199
py
Python
venv/Lib/site-packages/flask_allows/__init__.py
themakerkid/the-maker-kid
e969ec3c9b2bb8555f6bb5940a2df00df3126db8
[ "BSD-3-Clause" ]
null
null
null
venv/Lib/site-packages/flask_allows/__init__.py
themakerkid/the-maker-kid
e969ec3c9b2bb8555f6bb5940a2df00df3126db8
[ "BSD-3-Clause" ]
null
null
null
venv/Lib/site-packages/flask_allows/__init__.py
themakerkid/the-maker-kid
e969ec3c9b2bb8555f6bb5940a2df00df3126db8
[ "BSD-3-Clause" ]
null
null
null
from .allows import Allows from .requirements import Requirement, ConditionalRequirement, C, And, Or, Not from .permission import Permission __version__ = "0.1.0" __author__ = 'Alec Nikolas Reiter'
28.428571
78
0.788945
25
199
5.96
0.72
0
0
0
0
0
0
0
0
0
0
0.017341
0.130653
199
6
79
33.166667
0.843931
0
0
0
0
0
0.120603
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
fedd54edb640bb7de75db3e210ffa40eb0d44e26
98
py
Python
video_features/__folder_params.py
zhengx4/video_image_features
08a980caffab1120dcf0ff689f31d78f61ea83fc
[ "MIT" ]
5
2018-09-19T13:04:00.000Z
2021-04-28T15:12:09.000Z
video_features/__folder_params.py
zhengx4/video_image_features
08a980caffab1120dcf0ff689f31d78f61ea83fc
[ "MIT" ]
1
2019-05-11T21:58:48.000Z
2019-05-11T21:58:48.000Z
video_features/__folder_params.py
zhengx4/video_image_features
08a980caffab1120dcf0ff689f31d78f61ea83fc
[ "MIT" ]
2
2019-03-24T15:48:26.000Z
2020-03-22T12:37:59.000Z
home = '/media/ricardo/wk/2018Memorability/video_image_features/' data_folder = home + "../data/"
32.666667
65
0.744898
12
98
5.833333
0.833333
0
0
0
0
0
0
0
0
0
0
0.044444
0.081633
98
2
66
49
0.733333
0
0
0
0
0
0.653061
0.571429
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
3a436e24ad597eca5668484610712071cf31afbe
6,625
py
Python
authors/apps/profiles/tests/test_follow_profile.py
andela/ah-codeofduty
ab749037dbb08712a2e47848e31a1ccb14de1165
[ "BSD-3-Clause" ]
null
null
null
authors/apps/profiles/tests/test_follow_profile.py
andela/ah-codeofduty
ab749037dbb08712a2e47848e31a1ccb14de1165
[ "BSD-3-Clause" ]
41
2018-10-23T08:45:43.000Z
2022-03-11T23:34:18.000Z
authors/apps/profiles/tests/test_follow_profile.py
andela/ah-codeofduty
ab749037dbb08712a2e47848e31a1ccb14de1165
[ "BSD-3-Clause" ]
3
2020-05-01T16:21:13.000Z
2021-05-11T08:25:11.000Z
from authors.apps.authentication.tests.base import * from django.conf import settings class FollowProfileTestCase(BaseTest): """Test user profile""" def follow_user(self, token, username): """Helper method to follow a user """ res = self.client.put( self.PROFILE_URL + username +'/...
31.547619
77
0.612226
734
6,625
5.333787
0.115804
0.070498
0.030651
0.042912
0.859004
0.854406
0.812261
0.726181
0.626309
0.583142
0
0.010381
0.287547
6,625
209
78
31.698565
0.819068
0.147472
0
0.669565
0
0
0.063063
0
0
0
0
0
0.156522
1
0.130435
false
0
0.017391
0
0.182609
0
0
0
0
null
0
0
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
3a551d47ee165e31f9f5b794a8f528ae369cdf31
302
py
Python
generated-libraries/python/netapp/sis/undo_selective_enum.py
radekg/netapp-ontap-lib-get
6445ebb071ec147ea82a486fbe9f094c56c5c40d
[ "MIT" ]
2
2017-03-28T15:31:26.000Z
2018-08-16T22:15:18.000Z
generated-libraries/python/netapp/sis/undo_selective_enum.py
radekg/netapp-ontap-lib-get
6445ebb071ec147ea82a486fbe9f094c56c5c40d
[ "MIT" ]
null
null
null
generated-libraries/python/netapp/sis/undo_selective_enum.py
radekg/netapp-ontap-lib-get
6445ebb071ec147ea82a486fbe9f094c56c5c40d
[ "MIT" ]
null
null
null
class UndoSelectiveEnum(basestring): """ all|wrong Possible values: <ul> <li> "all" - Undo all shared data, <li> "wrong" - Only undo the incorrectly shared data </ul> """ @staticmethod def get_api_name(): return "undo-selective-enum"
20.133333
59
0.559603
32
302
5.21875
0.71875
0.11976
0
0
0
0
0
0
0
0
0
0
0.324503
302
14
60
21.571429
0.818627
0.440397
0
0
0
0
0.142857
0
0
0
0
0
0
1
0.25
true
0
0
0.25
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
1
0
0
4
3a561260921626b90239b47d9ed774dac4316596
71
py
Python
robots/small/strategies/2019/test/test_stuckpos/init.py
memristor/mep2
bc5cddacba3d740f791f3454b8cb51bda83ce202
[ "MIT" ]
5
2018-11-27T15:15:00.000Z
2022-02-10T21:44:13.000Z
robots/small/strategies/2019/test/test_stuckpos/init.py
memristor/mep2
bc5cddacba3d740f791f3454b8cb51bda83ce202
[ "MIT" ]
2
2018-10-20T15:48:40.000Z
2018-11-20T05:11:33.000Z
robots/small/strategies/2019/test/test_stuckpos/init.py
memristor/mep2
bc5cddacba3d740f791f3454b8cb51bda83ce202
[ "MIT" ]
1
2020-02-07T12:44:47.000Z
2020-02-07T12:44:47.000Z
def run(): r.setpos(50,50,0) # r.stuckpos(1, x=5, o=-90, check=True)
17.75
40
0.591549
16
71
2.625
0.875
0
0
0
0
0
0
0
0
0
0
0.147541
0.140845
71
3
41
23.666667
0.540984
0.521127
0
0
0
0
0
0
0
0
0
0
0
1
0.5
true
0
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
1
0
0
0
0
0
0
4
28cc6a4a571468b72ae6e7d802fff7a4d7b757c4
40
py
Python
autosub/config.py
nzukie-b/AutoSub
2ae2cd287272beb8c6c5b74b970f3d95e7908dec
[ "MIT" ]
null
null
null
autosub/config.py
nzukie-b/AutoSub
2ae2cd287272beb8c6c5b74b970f3d95e7908dec
[ "MIT" ]
null
null
null
autosub/config.py
nzukie-b/AutoSub
2ae2cd287272beb8c6c5b74b970f3d95e7908dec
[ "MIT" ]
null
null
null
# Line count for SRT file line_count = 0
20
25
0.75
8
40
3.625
0.75
0.62069
0
0
0
0
0
0
0
0
0
0.03125
0.2
40
2
26
20
0.875
0.575
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
28f6dba83e408c9f8dbefbdc1fbb0e37c512e70a
172
py
Python
evalml/data_checks/data_check_action_code.py
BlockchainClimateInstitute/price_microservice
11d1cff8965fe1befc997e9da3dc09efceed4579
[ "BSD-3-Clause" ]
null
null
null
evalml/data_checks/data_check_action_code.py
BlockchainClimateInstitute/price_microservice
11d1cff8965fe1befc997e9da3dc09efceed4579
[ "BSD-3-Clause" ]
13
2021-03-04T19:29:09.000Z
2022-03-07T01:00:43.000Z
evalml/data_checks/data_check_action_code.py
RG4421/evalml
33c62abe6d107d1da2f54e9e44a90f18aaf916a9
[ "BSD-3-Clause" ]
null
null
null
from enum import Enum class DataCheckActionCode(Enum): """Enum for data check action code.""" DROP_COL = "drop_col" """Action code for dropping a column."""
19.111111
44
0.674419
23
172
4.956522
0.652174
0.175439
0
0
0
0
0
0
0
0
0
0
0.209302
172
8
45
21.5
0.838235
0.186047
0
0
0
0
0.085106
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
e91605a7bdee5ee6d5524e81dcc60ee94a5d1220
121
py
Python
dynamodb/models/billing_type.py
ceb10n/awesome
1b6e392a48431597e07ab680f71774580c3f2a97
[ "MIT" ]
null
null
null
dynamodb/models/billing_type.py
ceb10n/awesome
1b6e392a48431597e07ab680f71774580c3f2a97
[ "MIT" ]
1
2021-06-02T00:35:34.000Z
2021-06-02T00:35:34.000Z
dynamodb/models/billing_type.py
ceb10n/awesome
1b6e392a48431597e07ab680f71774580c3f2a97
[ "MIT" ]
null
null
null
from enum import Enum class BillingType(Enum): PROVISIONED = 'PROVISIONED' PAY_PER_REQUEST = 'PAY_PER_REQUEST'
17.285714
39
0.743802
15
121
5.733333
0.6
0.139535
0.302326
0
0
0
0
0
0
0
0
0
0.181818
121
6
40
20.166667
0.868687
0
0
0
0
0
0.214876
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
e9357fcb54b9246ac013f55892c21adb0e3c1b59
4,936
py
Python
indicatorlibrary/quickstart/migrations/0005_auto_20180625_1501.py
andrewtpham/Indicator-Library
d8fb434b467775ab8e2dae2190c36a93ada242a0
[ "Apache-2.0" ]
2
2020-12-07T10:49:30.000Z
2022-03-12T18:52:24.000Z
indicatorlibrary/quickstart/migrations/0005_auto_20180625_1501.py
andrewtpham/Indicator-Library
d8fb434b467775ab8e2dae2190c36a93ada242a0
[ "Apache-2.0" ]
3
2020-06-05T17:08:54.000Z
2022-02-12T02:47:07.000Z
indicatorlibrary/quickstart/migrations/0005_auto_20180625_1501.py
andrewtpham/Indicator-Library
d8fb434b467775ab8e2dae2190c36a93ada242a0
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.0.2 on 2018-06-25 15:01 from django.db import migrations, models import uuid class Migration(migrations.Migration): dependencies = [ ('quickstart', '0004_auto_20180625_1331'), ] operations = [ migrations.AlterField( model_name='additionalfields', ...
37.969231
134
0.59137
490
4,936
5.8
0.159184
0.161858
0.202322
0.234694
0.780788
0.772343
0.661858
0.593596
0.564743
0.564743
0
0.02974
0.291532
4,936
129
135
38.263566
0.782957
0.009117
0
0.642276
1
0
0.147065
0.018
0
0
0
0
0
1
0
false
0
0.01626
0
0.04065
0
0
0
0
null
0
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
3a80028e472fd8acf789b299af0e909d0a7bc8e8
730
py
Python
2017/04/passphrases.py
tobiasvl/adventofcode2017
2acc1d30cafb6b73f1cb29335fd790e3864df8fc
[ "CC0-1.0" ]
3
2018-12-03T06:42:01.000Z
2020-04-12T09:49:45.000Z
2017/04/passphrases.py
tobiasvl/adventofcode2017
2acc1d30cafb6b73f1cb29335fd790e3864df8fc
[ "CC0-1.0" ]
null
null
null
2017/04/passphrases.py
tobiasvl/adventofcode2017
2acc1d30cafb6b73f1cb29335fd790e3864df8fc
[ "CC0-1.0" ]
null
null
null
import itertools with open('input.txt') as f: passphrases = [line.strip().split() for line in f if line != '\n'] def contains_anagram(passphrase): for w1, w2 in itertools.combinations(passphrase, 2): if sorted(w1) == sorted(w2): return True return False passphrases_without_repeats = ...
28.076923
76
0.719178
89
730
5.741573
0.449438
0.2818
0.203523
0.1409
0
0
0
0
0
0
0
0.015306
0.194521
730
25
77
29.2
0.853742
0
0
0.105263
0
0
0.109589
0
0
0
0
0
0
0
null
null
0.631579
0.052632
null
null
0.105263
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
4
3a9a9cd62342d3f160cae0280b9969d4b0f5cbfd
54
py
Python
infi/__init__.py
Infinidat/infi.amqp
ba943afa836fb73203ed520a0d78821b282b499e
[ "BSD-3-Clause" ]
null
null
null
infi/__init__.py
Infinidat/infi.amqp
ba943afa836fb73203ed520a0d78821b282b499e
[ "BSD-3-Clause" ]
null
null
null
infi/__init__.py
Infinidat/infi.amqp
ba943afa836fb73203ed520a0d78821b282b499e
[ "BSD-3-Clause" ]
null
null
null
__import__('pkg_resources').declare_namespace('infi')
27
53
0.814815
6
54
6.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.018519
54
1
54
54
0.716981
0
0
0
0
0
0.314815
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
3ac94b089dee3c340e2684b32af1993a7bc14b7f
3,676
py
Python
Codes/NetworkSelector.py
DiversisAI/Deep-Optimizer-Framework
fc7864203dedbb90948e4e0a73890cc8b09d6790
[ "Apache-2.0" ]
1
2022-03-16T02:39:49.000Z
2022-03-16T02:39:49.000Z
Codes/NetworkSelector.py
DiversisAI/Deep-Optimizer-Framework
fc7864203dedbb90948e4e0a73890cc8b09d6790
[ "Apache-2.0" ]
null
null
null
Codes/NetworkSelector.py
DiversisAI/Deep-Optimizer-Framework
fc7864203dedbb90948e4e0a73890cc8b09d6790
[ "Apache-2.0" ]
1
2020-04-26T03:37:07.000Z
2020-04-26T03:37:07.000Z
# Copyright 2019 DIVERSIS Software. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law o...
54.058824
175
0.510337
779
3,676
2.408216
0.124519
0.151386
0.214286
0.268657
0.570362
0.565032
0.565032
0.545842
0.545842
0.514925
0
0.251121
0.211371
3,676
67
176
54.865672
0.395999
0.15642
0
0.307692
0
0
0.011974
0
0
0
0
0
0
1
0.019231
false
0
0
0
0.038462
0.019231
0
0
0
null
0
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
3aebf7023ffb32d1d922e3d43f37df7bff203dd9
261
py
Python
example/mpldemo/views.py
scidam/django_matplotlib
468fee0b6e92858e4ddf7c0e987c70cec7725c40
[ "MIT" ]
3
2020-03-25T02:49:57.000Z
2020-06-15T01:33:49.000Z
example/mpldemo/views.py
scidam/django_matplotlib
468fee0b6e92858e4ddf7c0e987c70cec7725c40
[ "MIT" ]
1
2021-05-12T17:42:29.000Z
2021-05-12T17:42:29.000Z
example/mpldemo/views.py
scidam/django_matplotlib
468fee0b6e92858e4ddf7c0e987c70cec7725c40
[ "MIT" ]
2
2020-04-29T15:12:14.000Z
2020-11-12T21:52:35.000Z
#!/usr/bin/env python3 # -*- coding:utf-8 -*- """ Created Date: Wednesday October 23rd 2019 Author: Dmitry Kislov E-mail: kislov@easydan.com ----- Last Modified: Wednesday, October 23rd 2019, 9:08:59 am Modified By: Dmitry Kislov ----- Copyright (c) 2019 """
17.4
55
0.685824
38
261
4.710526
0.763158
0.178771
0.223464
0.268156
0
0
0
0
0
0
0
0.103139
0.145594
261
14
56
18.642857
0.699552
0.94636
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
aaee70680abc75232c7196a4043559a274173e68
175
py
Python
erc-server/erc_server.py
Veasy/easy-remote-control
6fe8375599d33c2604db0f4f8400cf794cc3849d
[ "MIT" ]
2
2015-08-08T11:07:34.000Z
2015-08-09T18:40:38.000Z
erc-server/erc_server.py
Veasy/easy-remote-control
6fe8375599d33c2604db0f4f8400cf794cc3849d
[ "MIT" ]
7
2015-08-09T18:38:53.000Z
2015-08-10T07:03:38.000Z
erc-server/erc_server.py
veasy/easy-remote-control
6fe8375599d33c2604db0f4f8400cf794cc3849d
[ "MIT" ]
null
null
null
import erc_config from erc_server import socketio, app if __name__ == '__main__': socketio.run(app=app, host='0.0.0.0', port=erc_config.ERC_SERVER_PORT)
25
49
0.68
27
175
3.925926
0.518519
0.056604
0.056604
0
0
0
0
0
0
0
0
0.028777
0.205714
175
6
50
29.166667
0.733813
0
0
0
0
0
0.085714
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
aaf2fd17e2d94d37a4e7e44a0b5240d512113b1a
188
py
Python
NodeDefender/mqtt/command/icpe/zwave/info.py
CTSNE/NodeDefender
24e19f53a27d3b53e599cba8b1448f8f16c0bd5e
[ "MIT" ]
4
2016-09-23T17:51:05.000Z
2017-03-14T02:52:26.000Z
NodeDefender/mqtt/command/icpe/zwave/info.py
CTSNE/NodeDefender
24e19f53a27d3b53e599cba8b1448f8f16c0bd5e
[ "MIT" ]
1
2016-09-22T11:32:33.000Z
2017-11-14T10:00:24.000Z
NodeDefender/mqtt/command/icpe/zwave/info.py
CTSNE/NodeDefender
24e19f53a27d3b53e599cba8b1448f8f16c0bd5e
[ "MIT" ]
4
2016-10-09T19:05:16.000Z
2020-05-14T04:00:30.000Z
from NodeDefender.mqtt.command import fire, topic_format def qry(mac_address): topic = topic_format.format(mac_address, "0", "info", "qry") return fire(topic, icpe = mac_address)
31.333333
64
0.734043
27
188
4.925926
0.592593
0.225564
0
0
0
0
0
0
0
0
0
0.006211
0.143617
188
5
65
37.6
0.819876
0
0
0
0
0
0.042553
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
aaf91ea28fc5ef2ccb7e6fffad0fe4c59078bb35
365
py
Python
cue.py
jeremycryan/7DRL-2021
3458928df78f10dbc3ebb39a00bd837cb2b078b2
[ "MIT" ]
2
2021-03-28T12:53:03.000Z
2021-04-03T09:44:38.000Z
cue.py
jeremycryan/7DRL-2021
3458928df78f10dbc3ebb39a00bd837cb2b078b2
[ "MIT" ]
null
null
null
cue.py
jeremycryan/7DRL-2021
3458928df78f10dbc3ebb39a00bd837cb2b078b2
[ "MIT" ]
null
null
null
class Cue: def __init__(self): pass def power_to_speed(self, power, ball=None): # Translate a power (0-100) to the ball's velocity. # Ball object passed in in case this depends on ball weight. return power*10 def on_hit(self, ball): # Apply some effect to ball on hi...
24.333333
68
0.616438
55
365
3.963636
0.6
0.045872
0
0
0
0
0
0
0
0
0
0.02381
0.309589
365
15
69
24.333333
0.84127
0.386301
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.333333
0
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4
c90777f50bfce4ce3dc4b32bd359ff67a02bd220
212
py
Python
usp_1/semana4/maior_primo.py
dialup/py
758da136b16c00a6c4f50191e233a9428bf64698
[ "BSD-2-Clause" ]
null
null
null
usp_1/semana4/maior_primo.py
dialup/py
758da136b16c00a6c4f50191e233a9428bf64698
[ "BSD-2-Clause" ]
null
null
null
usp_1/semana4/maior_primo.py
dialup/py
758da136b16c00a6c4f50191e233a9428bf64698
[ "BSD-2-Clause" ]
null
null
null
def maior_primo(num): if num < 2: return False else: for n in range(2, num): while num % n == 0: return num - 1 return num
21.2
35
0.386792
25
212
3.24
0.64
0.222222
0
0
0
0
0
0
0
0
0
0.041237
0.542453
212
9
36
23.555556
0.793814
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
1
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
c922d4cd5c4014d5418fcda9787eafa1153a6ae4
1,654
py
Python
examples/example1.py
colives/epsapy
d288bfbf9f72fc40dadd6d3dc4b89a92676498c8
[ "MIT" ]
1
2020-12-20T20:10:05.000Z
2020-12-20T20:10:05.000Z
examples/example1.py
colives/epsapy
d288bfbf9f72fc40dadd6d3dc4b89a92676498c8
[ "MIT" ]
null
null
null
examples/example1.py
colives/epsapy
d288bfbf9f72fc40dadd6d3dc4b89a92676498c8
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ This example is based on Microgrid Islanding of European LV distribution network benchmark model """ import numpy as np import epsapy # System cigre_eu = epsapy.System(50, 100e6, 3, 4) # Buses cigre_eu.bus('busR0', 20e3/np.sqrt(3)) cigre_eu.bus('busR1', 230) cigre...
31.807692
99
0.637243
303
1,654
3.366337
0.409241
0.19902
0.186275
0.216667
0.219608
0.143137
0.137255
0.137255
0.137255
0.137255
0
0.223538
0.131802
1,654
52
100
31.807692
0.486769
0.155985
0
0
0
0
0.149384
0
0
0
0
0
0
1
0
false
0
0.064516
0
0.064516
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
c924bfa9520170cd41c4f65022bca663c8f63cd1
114
py
Python
docs/quickstart/dto.py
keotl/jivago
892dfb0cae773e36245083c3e56f0f8523145523
[ "MIT" ]
12
2018-03-19T20:57:44.000Z
2020-01-27T14:11:24.000Z
docs/quickstart/dto.py
keotl/jivago
892dfb0cae773e36245083c3e56f0f8523145523
[ "MIT" ]
73
2018-04-20T22:26:00.000Z
2021-12-01T14:17:37.000Z
docs/quickstart/dto.py
keotl/jivago
892dfb0cae773e36245083c3e56f0f8523145523
[ "MIT" ]
1
2019-02-28T13:33:45.000Z
2019-02-28T13:33:45.000Z
from jivago.lang.annotations import Serializable @Serializable class MyDto(object): name: str age: int
12.666667
48
0.736842
14
114
6
0.928571
0
0
0
0
0
0
0
0
0
0
0
0.192982
114
8
49
14.25
0.913043
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.2
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
1
0
0
0
1
0
0
4
c92509e243b29ad09030ac9e8b70aba78115ed93
230
py
Python
apps/lectures/views.py
csilouanos/student-management-system
91800a1d95234918ab7e9ce5a2a017eb93e81431
[ "MIT" ]
null
null
null
apps/lectures/views.py
csilouanos/student-management-system
91800a1d95234918ab7e9ce5a2a017eb93e81431
[ "MIT" ]
null
null
null
apps/lectures/views.py
csilouanos/student-management-system
91800a1d95234918ab7e9ce5a2a017eb93e81431
[ "MIT" ]
null
null
null
from rest_framework import viewsets from .models import Lecture from .serializers import LectureSerializer class LectureViewSet(viewsets.ModelViewSet): queryset = Lecture.objects.all() serializer_class = LectureSerializer
32.857143
44
0.826087
24
230
7.833333
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.121739
230
7
45
32.857143
0.930693
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
c929c806b43b8d5e44abfedbd011896e6b68409b
161
py
Python
pines/timesize.py
jpn--/pine
3980a9f0b09dd36b2fed7e52750847637be5f067
[ "MIT" ]
2
2017-08-09T02:42:37.000Z
2020-06-16T14:14:16.000Z
pines/timesize.py
jpn--/pine
3980a9f0b09dd36b2fed7e52750847637be5f067
[ "MIT" ]
null
null
null
pines/timesize.py
jpn--/pine
3980a9f0b09dd36b2fed7e52750847637be5f067
[ "MIT" ]
null
null
null
def timesize(t): if t<60: return f"{t:.2f}s" elif t<3600: return f"{t/60:.2f}m" elif t<86400: return f"{t/3600:.2f}h" else: return f"{t/86400:.2f}d"
16.1
26
0.590062
36
161
2.638889
0.444444
0.294737
0.336842
0
0
0
0
0
0
0
0
0.19697
0.180124
161
9
27
17.888889
0.522727
0
0
0
0
0
0.285714
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.555556
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
c939357ff6a324e8deb895acb9a66324c840de05
127
py
Python
fxwebgen/markdown/__init__.py
tiliado/fxwebgen
5d1c5120b27fc13b6b45ee4e0017771271c3c3e0
[ "BSD-2-Clause" ]
null
null
null
fxwebgen/markdown/__init__.py
tiliado/fxwebgen
5d1c5120b27fc13b6b45ee4e0017771271c3c3e0
[ "BSD-2-Clause" ]
13
2018-08-06T15:25:50.000Z
2019-04-14T14:09:22.000Z
fxwebgen/markdown/__init__.py
tiliado/fxwebgen
5d1c5120b27fc13b6b45ee4e0017771271c3c3e0
[ "BSD-2-Clause" ]
null
null
null
# Copyright 2018 Jiří Janoušek <janousek.jiri@gmail.com> # Licensed under BSD-2-Clause license - see file LICENSE for details.
42.333333
69
0.779528
19
127
5.210526
0.947368
0
0
0
0
0
0
0
0
0
0
0.045455
0.133858
127
2
70
63.5
0.854545
0.96063
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
c942288ab4ea654751314e6938dcbdbb7d69c620
2,395
py
Python
DailyProgrammer/DP20171020C.py
DayGitH/Python-Challenges
bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf
[ "MIT" ]
2
2020-12-23T18:59:22.000Z
2021-04-14T13:16:09.000Z
DailyProgrammer/DP20171020C.py
DayGitH/Python-Challenges
bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf
[ "MIT" ]
null
null
null
DailyProgrammer/DP20171020C.py
DayGitH/Python-Challenges
bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf
[ "MIT" ]
null
null
null
""" [2017-10-20] Challenge #336 [Hard] Van der Waerden numbers https://www.reddit.com/r/dailyprogrammer/comments/77m6l4/20171020_challenge_336_hard_van_der_waerden/ # Description This one came to me via the always interesting [Data Genetics blog](http://datagenetics.com/blog/august12017/index.html). Van der Waerden'...
46.960784
119
0.74405
420
2,395
4.154762
0.419048
0.030946
0.067049
0.034384
0.111175
0.033238
0
0
0
0
0
0.045989
0.182881
2,395
50
120
47.9
0.845682
0.969937
0
0
0
0
0.125
0
0
0
0
0
0
1
0.25
true
0.25
0
0
0.25
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
1
1
0
0
0
0
0
4
c9761395a4d6e90d0d0bac53608342020571e00a
343
py
Python
program/B.py
ID-Arief/sippitt
6ed09996d69915f786ee53bfc4b72d1dcbffbfda
[ "MIT" ]
null
null
null
program/B.py
ID-Arief/sippitt
6ed09996d69915f786ee53bfc4b72d1dcbffbfda
[ "MIT" ]
null
null
null
program/B.py
ID-Arief/sippitt
6ed09996d69915f786ee53bfc4b72d1dcbffbfda
[ "MIT" ]
null
null
null
import os try: os.mkdir('../s-mbf_backupdir') except: pass try: print('[moving] result folder') os.system('mv result ../s-mbf_backupdir') except: pass try: print('[moving] checker folder') os.system('mv checker ../s-mbf_backupdir') except: pass try: print('[moving] toket folder') os.system('mv toket ../s-mbf_ba...
19.055556
43
0.699708
52
343
4.538462
0.326923
0.067797
0.220339
0.322034
0.567797
0.470339
0.470339
0.470339
0
0
0
0
0.119534
343
17
44
20.176471
0.781457
0
0
0.5
0
0
0.489796
0
0
0
0
0
0
1
0
true
0.25
0.0625
0
0.0625
0.1875
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
1
0
0
0
0
0
4
a35a1c288aa3fcdc51734048bce94df5d56501c9
677
py
Python
ade25/sitecontent/upgrades.py
ade25/ade25.sitecontent
631757262cb25a2fd251513102a70a39f38f6c93
[ "MIT" ]
null
null
null
ade25/sitecontent/upgrades.py
ade25/ade25.sitecontent
631757262cb25a2fd251513102a70a39f38f6c93
[ "MIT" ]
2
2017-10-09T16:17:47.000Z
2020-01-09T11:58:08.000Z
ade25/sitecontent/upgrades.py
ade25/ade25.sitecontent
631757262cb25a2fd251513102a70a39f38f6c93
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Module providing version specific upgrade steps import logging default_profile = 'profile-ade25.sitecontent:default' logger = logging.getLogger(__name__) def upgrade_1001(setup): setup.runImportStepFromProfile(default_profile, 'typeinfo') setup.runImportStepFromProfile(default_profi...
32.238095
73
0.781388
69
677
7.492754
0.550725
0.162476
0.348162
0.415861
0.425532
0.22824
0.22824
0
0
0
0
0.018581
0.125554
677
20
74
33.85
0.85473
0.220089
0
0.4
0
0
0.185824
0.063218
0
0
0
0
0
1
0.2
false
0
0.6
0
0.8
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
a35adc342553ad3e6214b24cccb01a2a8bf439f5
128
py
Python
democracy_club/apps/report_2019_general_election/apps.py
chromy/Website
54c69e82a85dd1431925cf9cd9bef5e67bfe1b5e
[ "BSD-3-Clause" ]
3
2015-09-29T15:29:39.000Z
2019-11-26T14:04:27.000Z
democracy_club/apps/report_2019_general_election/apps.py
chromy/Website
54c69e82a85dd1431925cf9cd9bef5e67bfe1b5e
[ "BSD-3-Clause" ]
415
2015-03-20T18:50:57.000Z
2022-03-29T19:02:36.000Z
democracy_club/apps/report_2019_general_election/apps.py
chromy/Website
54c69e82a85dd1431925cf9cd9bef5e67bfe1b5e
[ "BSD-3-Clause" ]
14
2015-02-04T16:05:17.000Z
2021-04-10T17:20:39.000Z
from django.apps import AppConfig class Report2019GeneralElectionConfig(AppConfig): name = "report_2019_general_election"
21.333333
49
0.828125
13
128
7.923077
0.923077
0
0
0
0
0
0
0
0
0
0
0.070796
0.117188
128
5
50
25.6
0.840708
0
0
0
0
0
0.21875
0.21875
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
6e6662a97a476c59af62d823f790458a4ee7984f
1,372
py
Python
src/abaqus/Material/Others/HeatTransfer/JouleHeatFraction.py
Haiiliin/PyAbaqus
f20db6ebea19b73059fe875a53be370253381078
[ "MIT" ]
7
2022-01-21T09:15:45.000Z
2022-02-15T09:31:58.000Z
src/abaqus/Material/Others/HeatTransfer/JouleHeatFraction.py
Haiiliin/PyAbaqus
f20db6ebea19b73059fe875a53be370253381078
[ "MIT" ]
null
null
null
src/abaqus/Material/Others/HeatTransfer/JouleHeatFraction.py
Haiiliin/PyAbaqus
f20db6ebea19b73059fe875a53be370253381078
[ "MIT" ]
null
null
null
class JouleHeatFraction: """The JouleHeatFraction object defines the fraction of electric energy released as heat. Notes ----- This object can be accessed by: .. code-block:: python import material mdb.models[name].materials[name].jouleHeatFraction import odbMaterial ...
24.070175
97
0.565598
125
1,372
6.176
0.496
0.119171
0.088083
0.176166
0.417098
0.305699
0.07772
0
0
0
0
0.003359
0.349125
1,372
56
98
24.5
0.861142
0.701166
0
0.4
0
0
0
0
0
0
0
0
0
1
0.4
false
0.4
0
0
0.6
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
6e70ff671299399e89b6373652e2f374c8bc1851
11,887
py
Python
app/backend/gwells/migrations/0005_auto_20180629_0024.py
stephenhillier/gwells
235d35f1f40dd845f8fecd0d7c3371c4564567c6
[ "Apache-2.0" ]
null
null
null
app/backend/gwells/migrations/0005_auto_20180629_0024.py
stephenhillier/gwells
235d35f1f40dd845f8fecd0d7c3371c4564567c6
[ "Apache-2.0" ]
null
null
null
app/backend/gwells/migrations/0005_auto_20180629_0024.py
stephenhillier/gwells
235d35f1f40dd845f8fecd0d7c3371c4564567c6
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.13 on 2018-06-29 00:24 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('gwells', '0004_auto_20180628_2350'), ] state_oper...
29.423267
190
0.539245
842
11,887
7.381235
0.159145
0.101368
0.28029
0.323411
0.685921
0.683025
0.56428
0.296862
0.07852
0.027031
0
0.004455
0.357954
11,887
403
191
29.496278
0.809879
0.005805
0
0.832911
1
0
0.218959
0.047143
0
0
0
0
0
1
0
false
0
0.007595
0
0.017722
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
6e7f7cd7645b6817aa04c87f2d158dd18bf2ae49
327
py
Python
harder/__init__.py
chbrown/harder
d7f44816dd1bf708961d7845eadb76cca3597505
[ "MIT" ]
3
2017-02-13T11:12:47.000Z
2021-04-21T21:08:09.000Z
harder/__init__.py
chbrown/harder
d7f44816dd1bf708961d7845eadb76cca3597505
[ "MIT" ]
null
null
null
harder/__init__.py
chbrown/harder
d7f44816dd1bf708961d7845eadb76cca3597505
[ "MIT" ]
null
null
null
import os # here is the directory containing this __init__.py file here = os.path.dirname(__file__) or os.curdir # root is the directory containing `here`, i.e., the directory containing setup.py root = os.path.dirname(os.path.abspath(here)) import pkg_resources __version__ = pkg_resources.get_distribution('harder').v...
36.333333
82
0.788991
50
327
4.86
0.52
0.148148
0.271605
0.197531
0
0
0
0
0
0
0
0
0.11315
327
8
83
40.875
0.837931
0.412844
0
0
0
0
0.031746
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
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
6ec7c39465ffde98d3584690632c39e6a109c8e3
521
py
Python
r2_16.py
wonghoifung/learning-python
ad1691be1d185bfff828779a553b2c59d36d16ea
[ "MIT" ]
null
null
null
r2_16.py
wonghoifung/learning-python
ad1691be1d185bfff828779a553b2c59d36d16ea
[ "MIT" ]
null
null
null
r2_16.py
wonghoifung/learning-python
ad1691be1d185bfff828779a553b2c59d36d16ea
[ "MIT" ]
null
null
null
s = "Look into my eyes, look into my eyes, the eyes, the eyes, \ the eyes, not around the eyes, don't look around the eyes, \ look into my eyes, you're under." import textwrap print textwrap.fill(s,70) print '--------------' print textwrap.fill(s,40) print '--------------' print textwrap.fill(s,20) print '-----------...
26.05
64
0.614203
76
521
4.157895
0.368421
0.110759
0.268987
0.28481
0.490506
0.237342
0
0
0
0
0
0.022272
0.138196
521
19
65
27.421053
0.681514
0.069098
0
0.333333
0
0
0.165289
0
0
0
0
0
0
0
null
null
0
0.133333
null
null
0.666667
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
4
6ed9037a00b0eaec0e35ac64bb2c3b53dc3c4c53
70,925
py
Python
operations/dataimports/views.py
kaizer88/emps
2669b32c46befcf1a19390fb25013817e6b00980
[ "MIT" ]
null
null
null
operations/dataimports/views.py
kaizer88/emps
2669b32c46befcf1a19390fb25013817e6b00980
[ "MIT" ]
null
null
null
operations/dataimports/views.py
kaizer88/emps
2669b32c46befcf1a19390fb25013817e6b00980
[ "MIT" ]
null
null
null
from django import http from django.template.loader import render_to_string, get_template from django.template import RequestContext, Context from django.conf import settings from django.contrib.auth.decorators import login_required,user_passes_test,permission_required from django.core.mail import send_mail, EmailMessa...
39.912774
186
0.546549
7,393
70,925
5.080211
0.073989
0.028223
0.024282
0.008573
0.765216
0.735902
0.712258
0.689707
0.679722
0.671575
0
0.020652
0.339824
70,925
1,776
187
39.935248
0.781475
0.290349
0
0.385129
0
0
0.038929
0.000963
0
0
0
0
0
0
null
null
0.000953
0.122021
null
null
0.023832
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
1
0
0
0
0
0
0
0
0
4
6ee70fe2b1f992a9497aea8d1369862cf364767f
25
py
Python
D_Network_analysis/solutions/ex2_1d.py
oercompbiomed/CBM101
20010dcb99fbf218c4789eb5918dcff8ceb94898
[ "MIT" ]
7
2019-07-03T07:41:55.000Z
2022-02-06T20:25:37.000Z
D_Network_analysis/solutions/ex2_1d.py
oercompbiomed/CBM101
20010dcb99fbf218c4789eb5918dcff8ceb94898
[ "MIT" ]
9
2019-03-14T15:15:09.000Z
2019-08-01T14:18:21.000Z
D_Network_analysis/solutions/ex2_1d.py
oercompbiomed/CBM101
20010dcb99fbf218c4789eb5918dcff8ceb94898
[ "MIT" ]
11
2019-03-12T10:43:11.000Z
2021-10-05T12:15:00.000Z
list(G.neighbors('AKT1'))
25
25
0.72
4
25
4.5
1
0
0
0
0
0
0
0
0
0
0
0.04
0
25
1
25
25
0.68
0
0
0
0
0
0.153846
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
42b5a6c2a91c9cbb17bc76ccd082b1efab4f0872
104
py
Python
mathly/math/cos.py
bangyen/mathly
efbd40cf1972fd7e9685ca0e1cda1ddacf77bf59
[ "MIT" ]
1
2020-05-02T00:14:54.000Z
2020-05-02T00:14:54.000Z
mathly/math/cos.py
bangyen/mathly
efbd40cf1972fd7e9685ca0e1cda1ddacf77bf59
[ "MIT" ]
null
null
null
mathly/math/cos.py
bangyen/mathly
efbd40cf1972fd7e9685ca0e1cda1ddacf77bf59
[ "MIT" ]
2
2020-04-27T23:05:30.000Z
2020-07-06T20:19:15.000Z
# COSINE FUNCTION def cosine(x) -> float: """ Returns cosine of x radians """ return 0.0
17.333333
31
0.576923
14
104
4.285714
0.714286
0
0
0
0
0
0
0
0
0
0
0.027397
0.298077
104
6
32
17.333333
0.794521
0.423077
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
42d697013bc55149d27f9aeb2e317a18cba3916c
390
py
Python
qbank/views.py
bobort/cheese
5200b6e1383c5c4eed02afde53e9a8389dfab743
[ "MIT" ]
null
null
null
qbank/views.py
bobort/cheese
5200b6e1383c5c4eed02afde53e9a8389dfab743
[ "MIT" ]
28
2019-06-18T13:39:32.000Z
2021-10-05T22:54:12.000Z
qbank/views.py
bobort/cheese
5200b6e1383c5c4eed02afde53e9a8389dfab743
[ "MIT" ]
null
null
null
from rest_framework import viewsets from qbank.models import Question, Answer from qbank.serializers import QuestionSerializer, AnswerSerializer class QuestionView(viewsets.ModelViewSet): serializer_class = QuestionSerializer queryset = Question.objects.all() class AnswerView(viewsets.ModelViewSet): se...
26
66
0.807692
39
390
8
0.512821
0.057692
0.192308
0.224359
0
0
0
0
0
0
0
0
0.130769
390
14
67
27.857143
0.920354
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
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
1
0
1
0
0
4
42e07df894c34bb276175d2aba28296fd306b01d
271
py
Python
models/__init__.py
tunasoup/multimodal-scene-classification
85f72da3f6ab947fff0929a6ff0e4a8d1fd34377
[ "MIT" ]
null
null
null
models/__init__.py
tunasoup/multimodal-scene-classification
85f72da3f6ab947fff0929a6ff0e4a8d1fd34377
[ "MIT" ]
null
null
null
models/__init__.py
tunasoup/multimodal-scene-classification
85f72da3f6ab947fff0929a6ff0e4a8d1fd34377
[ "MIT" ]
null
null
null
from .audio.audio_vggish_network import AudioVGGishModel from .audio.audio_l3_network import AudioL3Model from .combiner.combiner_network import CombinerModel from .visual.visual_l3_network import VisualL3Model from .visual.visual_resnet_network import VisualResnetModel
45.166667
59
0.889299
34
271
6.823529
0.411765
0.280172
0.12069
0
0
0
0
0
0
0
0
0.015936
0.073801
271
5
60
54.2
0.908367
0
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
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
6e123d812daba803c05e62505e6e67d5a1ad244f
89
py
Python
scripts/layers.py
hdknr/py-layers
884ffb2a681910cec7c8deb934c60a71dbd72b80
[ "MIT" ]
null
null
null
scripts/layers.py
hdknr/py-layers
884ffb2a681910cec7c8deb934c60a71dbd72b80
[ "MIT" ]
null
null
null
scripts/layers.py
hdknr/py-layers
884ffb2a681910cec7c8deb934c60a71dbd72b80
[ "MIT" ]
null
null
null
import click from layersclick import dispatch if __name__ == '__main__': dispatch()
14.833333
32
0.741573
10
89
5.8
0.8
0
0
0
0
0
0
0
0
0
0
0
0.179775
89
6
33
14.833333
0.794521
0
0
0
0
0
0.088889
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
6e25b186af61158beed9700659877260c8883beb
124
py
Python
blocks/land_cover_classification/src/run.py
bmoska/land-cover-classification-demo
2362913b586c8915086bb5ccc9bd17be15177954
[ "MIT" ]
1
2021-04-16T13:32:18.000Z
2021-04-16T13:32:18.000Z
blocks/land_cover_classification/src/run.py
bmoska/land-cover-classification-demo
2362913b586c8915086bb5ccc9bd17be15177954
[ "MIT" ]
null
null
null
blocks/land_cover_classification/src/run.py
bmoska/land-cover-classification-demo
2362913b586c8915086bb5ccc9bd17be15177954
[ "MIT" ]
null
null
null
from land_cover_classification import LandCoverClassification if __name__ == "__main__": LandCoverClassification.run()
24.8
61
0.822581
11
124
8.363636
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.112903
124
4
62
31
0.836364
0
0
0
0
0
0.064516
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
6e2bb88516c09ae1ce53a67cffe0d701759d2a91
581
py
Python
src/aturan_calendar_web/__init__.py
c17r/aturan-calendar-web
d31a23dce119b6e76a9a1d396e6ed23b60a525f6
[ "MIT" ]
null
null
null
src/aturan_calendar_web/__init__.py
c17r/aturan-calendar-web
d31a23dce119b6e76a9a1d396e6ed23b60a525f6
[ "MIT" ]
6
2020-02-24T19:16:02.000Z
2021-09-21T12:39:53.000Z
src/aturan_calendar_web/__init__.py
c17r/aturan-calendar-web
d31a23dce119b6e76a9a1d396e6ed23b60a525f6
[ "MIT" ]
1
2022-01-11T06:03:49.000Z
2022-01-11T06:03:49.000Z
""" aturan_calendar_web ~~~~~~~~~~~~~~~~~~~ Converts current Gregorian date into the Aturan calendar and shows both dates. Also provides an API: - /date/YYYY-MM-DD: Converts provided date into Aturan - /year/YYYY: Returns entire calendar list for provided Aturan year :copyright: 2016-2017 Christian Erick Saue...
29.05
87
0.740103
81
581
5.283951
0.716049
0.098131
0
0
0
0
0
0
0
0
0
0.020492
0.160069
581
19
88
30.578947
0.856557
0.938038
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
6e4a8040f14dbd1a9f539a8b59d6bdb31bb99702
66
py
Python
dfvfs/file_io/__init__.py
DianaYejiKang/dfVFS_ubi
a2d5c0ca2d475336d338a2af5cddcac46e703ca2
[ "Apache-2.0" ]
7
2015-02-28T17:46:25.000Z
2022-01-18T22:56:53.000Z
dfvfs/file_io/__init__.py
dfrc-korea/dfvfs
7be70af72f56f4feadd50206e33b0f5024907473
[ "Apache-2.0" ]
null
null
null
dfvfs/file_io/__init__.py
dfrc-korea/dfvfs
7be70af72f56f4feadd50206e33b0f5024907473
[ "Apache-2.0" ]
2
2019-08-28T23:47:08.000Z
2021-07-23T07:15:11.000Z
# -*- coding: utf-8 -*- """Imports for file input/output (IO)."""
22
41
0.560606
9
66
4.111111
1
0
0
0
0
0
0
0
0
0
0
0.017857
0.151515
66
2
42
33
0.642857
0.878788
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
2823ad01ea245531cce4b8751c08ceaa5335c90f
125
py
Python
packages/girder_worker/girder_worker/plugins/types/format/graph/adjacencylist_to_networkx.py
ShenQianwithC/HistomicsTK
4ad7e72a7ebdabbdfc879254fad04ce7ca47e320
[ "Apache-2.0" ]
null
null
null
packages/girder_worker/girder_worker/plugins/types/format/graph/adjacencylist_to_networkx.py
ShenQianwithC/HistomicsTK
4ad7e72a7ebdabbdfc879254fad04ce7ca47e320
[ "Apache-2.0" ]
null
null
null
packages/girder_worker/girder_worker/plugins/types/format/graph/adjacencylist_to_networkx.py
ShenQianwithC/HistomicsTK
4ad7e72a7ebdabbdfc879254fad04ce7ca47e320
[ "Apache-2.0" ]
null
null
null
from networkx.readwrite.adjlist import read_adjlist from six import StringIO io = StringIO(input) output = read_adjlist(io)
20.833333
51
0.816
18
125
5.555556
0.611111
0.22
0
0
0
0
0
0
0
0
0
0
0.12
125
5
52
25
0.909091
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
282d0308106fbf4a84d51f62660c202d460af57c
292
py
Python
cpdb/sitemap/sitemaps/attachment_sitemap.py
invinst/CPDBv2_backend
b4e96d620ff7a437500f525f7e911651e4a18ef9
[ "Apache-2.0" ]
25
2018-07-20T22:31:40.000Z
2021-07-15T16:58:41.000Z
cpdb/sitemap/sitemaps/attachment_sitemap.py
invinst/CPDBv2_backend
b4e96d620ff7a437500f525f7e911651e4a18ef9
[ "Apache-2.0" ]
13
2018-06-18T23:08:47.000Z
2022-02-10T07:38:25.000Z
cpdb/sitemap/sitemaps/attachment_sitemap.py
invinst/CPDBv2_backend
b4e96d620ff7a437500f525f7e911651e4a18ef9
[ "Apache-2.0" ]
6
2018-05-17T21:59:43.000Z
2020-11-17T00:30:26.000Z
from data.constants import MEDIA_TYPE_DOCUMENT from data.models import AttachmentFile from sitemap.sitemaps.base_sitemap import BaseSitemap class AttachmentSitemap(BaseSitemap): def items(self): return AttachmentFile.showing.filter(file_type=MEDIA_TYPE_DOCUMENT).order_by('id')
32.444444
90
0.821918
37
292
6.297297
0.675676
0.06867
0.145923
0
0
0
0
0
0
0
0
0
0.109589
292
8
91
36.5
0.896154
0
0
0
0
0
0.006849
0
0
0
0
0
0
1
0.166667
false
0
0.5
0.166667
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
4
284f3c23678f64f4928e819f174d3bf2e87aa1ee
124
py
Python
qlib/contrib/report/data/__init__.py
lpd6375/qlib
3a911bc09ba5136cd7c61c2c8dcca8a63339e738
[ "MIT" ]
1
2021-12-14T13:48:38.000Z
2021-12-14T13:48:38.000Z
qlib/contrib/report/data/__init__.py
lpd6375/qlib
3a911bc09ba5136cd7c61c2c8dcca8a63339e738
[ "MIT" ]
null
null
null
qlib/contrib/report/data/__init__.py
lpd6375/qlib
3a911bc09ba5136cd7c61c2c8dcca8a63339e738
[ "MIT" ]
1
2022-03-22T06:37:38.000Z
2022-03-22T06:37:38.000Z
# Copyright (c) Microsoft Corporation. # Licensed under the MIT License. """ This module is designed to analysis data """
15.5
40
0.725806
16
124
5.625
1
0
0
0
0
0
0
0
0
0
0
0
0.177419
124
7
41
17.714286
0.882353
0.887097
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
2855d25d0e7d983d01e5bffe8821dcc8eadef95d
115
py
Python
tests/exit_nojvm_exc.py
EMinsight/MPh
2b967b77352f9ce7effcd50ad4774bf5eaf731ea
[ "MIT" ]
null
null
null
tests/exit_nojvm_exc.py
EMinsight/MPh
2b967b77352f9ce7effcd50ad4774bf5eaf731ea
[ "MIT" ]
null
null
null
tests/exit_nojvm_exc.py
EMinsight/MPh
2b967b77352f9ce7effcd50ad4774bf5eaf731ea
[ "MIT" ]
null
null
null
"""Process exiting with exception when no Java VM is running.""" import mph # noqa F401 raise RuntimeError
19.166667
66
0.713043
17
115
4.882353
1
0
0
0
0
0
0
0
0
0
0
0.032967
0.208696
115
5
67
23
0.868132
0.078261
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.5
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
4
285ef98ecc21d3e9392aa5315d119ac6a5201323
365
py
Python
day03/t02.py
linlicro/python100
ca7309ce239bb83618351bb1326a9022dc18f145
[ "MIT" ]
1
2020-02-13T05:49:26.000Z
2020-02-13T05:49:26.000Z
day03/t02.py
linlicro/python100
ca7309ce239bb83618351bb1326a9022dc18f145
[ "MIT" ]
null
null
null
day03/t02.py
linlicro/python100
ca7309ce239bb83618351bb1326a9022dc18f145
[ "MIT" ]
null
null
null
#!/usr/bin/python3 """ 英制单位与公制单位互换掷骰子决定做什么 version: 0.1 author: icro """ from random import randint i = randint(1, 6) if i == 1: print('face=%d ***' % i) elif i == 2: print('face=%d ***' % i) elif i == 3: print('face=%d ***' % i) elif i == 4: print('face=%d ***' % i) elif i == 5: print('face=%d ...
14.6
28
0.49863
57
365
3.192982
0.438596
0.296703
0.32967
0.362637
0.351648
0.351648
0
0
0
0
0
0.036232
0.243836
365
24
29
15.208333
0.623188
0.175342
0
0.428571
0
0
0.225256
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0.428571
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
2868a553d0dc85e5ab5ec899699260aedd87fdd0
191
py
Python
src/model/expired.py
enriquecorimayo/Arbitraje-de-Tasas
6dbc474865a343d5279f81bd61b1567a7f165468
[ "MIT" ]
null
null
null
src/model/expired.py
enriquecorimayo/Arbitraje-de-Tasas
6dbc474865a343d5279f81bd61b1567a7f165468
[ "MIT" ]
null
null
null
src/model/expired.py
enriquecorimayo/Arbitraje-de-Tasas
6dbc474865a343d5279f81bd61b1567a7f165468
[ "MIT" ]
1
2022-02-21T14:10:42.000Z
2022-02-21T14:10:42.000Z
class ExpiredInstrument(Exception): def __init__(self, instrument): expire_message = f"El instrumento expiró: {instrument.maturity_date}" super().__init__(expire_message)
38.2
77
0.732984
20
191
6.45
0.8
0.20155
0
0
0
0
0
0
0
0
0
0
0.167539
191
4
78
47.75
0.811321
0
0
0
0
0
0.256545
0.136126
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
95496c97ed8e99e7c7b71a9f3026828daeed3d01
98
py
Python
Betting/test/mClassTest.py
jac2130/BayesGame
92a6e787ea0915fecb2735c5c3cead9a1dc3e23e
[ "MIT" ]
1
2018-01-15T08:38:09.000Z
2018-01-15T08:38:09.000Z
Betting/test/mClassTest.py
jac2130/BayesGame
92a6e787ea0915fecb2735c5c3cead9a1dc3e23e
[ "MIT" ]
null
null
null
Betting/test/mClassTest.py
jac2130/BayesGame
92a6e787ea0915fecb2735c5c3cead9a1dc3e23e
[ "MIT" ]
null
null
null
import pymongo import mClassDAO db = pymongo.MongoClient().blog dao = mClassDAO.mClassDAO(db)
10.888889
31
0.765306
12
98
6.25
0.583333
0.293333
0
0
0
0
0
0
0
0
0
0
0.142857
98
8
32
12.25
0.892857
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
956a2928f82bd98200932b51e4014ac341d3ace1
7,463
py
Python
DPGAnalysis/Skims/python/TrackerPointing_cfg.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
DPGAnalysis/Skims/python/TrackerPointing_cfg.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
DPGAnalysis/Skims/python/TrackerPointing_cfg.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms process = cms.Process("SKIM") process.source = cms.Source("PoolSource", fileNames = cms.untracked.vstring( '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/D266D139-D871-DE11-A709-001D09F28F0C.root', '/store/data/Commissioning09/Cosmics/RECO/...
65.464912
128
0.692617
808
7,463
6.375
0.313119
0.064648
0.163075
0.210639
0.417783
0.371967
0.348088
0.340711
0.340711
0.323044
0
0.213729
0.174327
7,463
113
129
66.044248
0.622201
0.029211
0
0.034483
0
0.413793
0.575059
0.547024
0
0
0
0
0
1
0
false
0
0.011494
0
0.011494
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
957e0d7121bcc620b83274c5542f8c59fe467a3c
169
py
Python
src/hks_pylib/errors/cryptography/batchcrypt/__init__.py
huykingsofm/hks_pylib
d73a896a395df301ef8082a358ec8e23f7bc708a
[ "MIT" ]
2
2021-04-06T07:01:27.000Z
2021-07-30T11:08:59.000Z
src/hks_pylib/errors/cryptography/batchcrypt/__init__.py
huykingsofm/hks_pylib
d73a896a395df301ef8082a358ec8e23f7bc708a
[ "MIT" ]
null
null
null
src/hks_pylib/errors/cryptography/batchcrypt/__init__.py
huykingsofm/hks_pylib
d73a896a395df301ef8082a358ec8e23f7bc708a
[ "MIT" ]
null
null
null
from hks_pylib.errors.cryptography import CryptographyError class BatchCryptError(CryptographyError): "The exception is raised by failures in batchcrypt module."
24.142857
63
0.822485
19
169
7.263158
0.947368
0
0
0
0
0
0
0
0
0
0
0
0.130178
169
6
64
28.166667
0.938776
0.337278
0
0
0
0
0.339286
0
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
4
253e7e1e6aeee5c221015f4b76db22c8bcb74285
6,011
py
Python
test/errors/python_error/python/ModuleNamesErrorTest.py
dkBrazz/zserio
29dd8145b7d851fac682d3afe991185ea2eac318
[ "BSD-3-Clause" ]
86
2018-09-06T09:30:53.000Z
2022-03-27T01:12:36.000Z
test/errors/python_error/python/ModuleNamesErrorTest.py
dkBrazz/zserio
29dd8145b7d851fac682d3afe991185ea2eac318
[ "BSD-3-Clause" ]
362
2018-09-04T20:21:24.000Z
2022-03-30T15:14:38.000Z
test/errors/python_error/python/ModuleNamesErrorTest.py
dkBrazz/zserio
29dd8145b7d851fac682d3afe991185ea2eac318
[ "BSD-3-Clause" ]
20
2018-09-10T15:59:02.000Z
2021-12-01T15:38:22.000Z
import unittest from testutils import compileErroneousZserio, assertErrorsPresent class ModuleNamesErrorTest(unittest.TestCase): @classmethod def setUpClass(cls): cls.errors = {} compileErroneousZserio(__file__, "module_names/bitmask_with_enum_clash_error.zs", cls.errors) compileErron...
48.088
106
0.639993
595
6,011
6.179832
0.144538
0.059831
0.065271
0.13598
0.810443
0.763938
0.753875
0.701659
0.549361
0.515638
0
0.013176
0.280319
6,011
124
107
48.475806
0.836801
0
0
0.252252
0
0
0.519714
0.166029
0
0
0
0
0.099099
1
0.099099
false
0
0.018018
0
0.126126
0
0
0
0
null
0
0
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
2559ed1b6ef039896b469250a47a966f4915a070
4,723
py
Python
tests/common/gcp_api/test_data/fake_servicemanagement_responses.py
mcunha/forseti-security
cbf25f6173c1a25d4e43a9738eca73f927361cb8
[ "Apache-2.0" ]
1
2018-10-06T23:16:59.000Z
2018-10-06T23:16:59.000Z
tests/common/gcp_api/test_data/fake_servicemanagement_responses.py
mcunha/forseti-security
cbf25f6173c1a25d4e43a9738eca73f927361cb8
[ "Apache-2.0" ]
null
null
null
tests/common/gcp_api/test_data/fake_servicemanagement_responses.py
mcunha/forseti-security
cbf25f6173c1a25d4e43a9738eca73f927361cb8
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 The Forseti Security Authors. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ap...
24.989418
74
0.692992
452
4,723
7.168142
0.360619
0.12037
0.277778
0.177778
0.347222
0.299074
0.271914
0.135494
0.135494
0.095988
0
0.023691
0.150963
4,723
188
75
25.12234
0.784289
0.135295
0
0.134146
0
0
0.895203
0.410086
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
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
2570f866d5ffdc28b7b03f32a9c7e5ca426cf877
70
py
Python
back/bookclub/models/genre.py
wonesy/bookclub
0b0368974ca5c9f25666efd556e5b514db44180f
[ "MIT" ]
null
null
null
back/bookclub/models/genre.py
wonesy/bookclub
0b0368974ca5c9f25666efd556e5b514db44180f
[ "MIT" ]
null
null
null
back/bookclub/models/genre.py
wonesy/bookclub
0b0368974ca5c9f25666efd556e5b514db44180f
[ "MIT" ]
null
null
null
from pydantic import BaseModel class Genre(BaseModel): name: str
14
30
0.757143
9
70
5.888889
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.185714
70
4
31
17.5
0.929825
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
4