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
da32955b6a838809243690648ecdedc083802a70
344
py
Python
shop/mainapp/urls.py
Monkey8bit/django-basics
c9df06c68a5d7470bc5a4da4dc55e1fe0217e063
[ "MIT" ]
null
null
null
shop/mainapp/urls.py
Monkey8bit/django-basics
c9df06c68a5d7470bc5a4da4dc55e1fe0217e063
[ "MIT" ]
null
null
null
shop/mainapp/urls.py
Monkey8bit/django-basics
c9df06c68a5d7470bc5a4da4dc55e1fe0217e063
[ "MIT" ]
null
null
null
from django.urls import path import mainapp.views as mainapp app_name = "mainapp" urlpatterns = [ path("", mainapp.product, name="index"), path("<int:pk>/", mainapp.product, name="category"), path("<int:pk>/page/<int:page>/", mainapp.product, name="page"), path("product/<int:pk>/", mainapp.product_p...
24.571429
68
0.659884
45
344
5
0.377778
0.248889
0.24
0.168889
0
0
0
0
0
0
0
0
0.136628
344
13
69
26.461538
0.757576
0
0
0
0
0
0.238372
0.072674
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
da6640d3525fee28eab50ae45f0fb7607c6877ec
2,131
py
Python
visa2.py
MA0R/Ref-Step-Algorithm
7a30bbbd454339f5c3b634a81831d73e2cc2a688
[ "Apache-2.0" ]
null
null
null
visa2.py
MA0R/Ref-Step-Algorithm
7a30bbbd454339f5c3b634a81831d73e2cc2a688
[ "Apache-2.0" ]
null
null
null
visa2.py
MA0R/Ref-Step-Algorithm
7a30bbbd454339f5c3b634a81831d73e2cc2a688
[ "Apache-2.0" ]
null
null
null
""" A simple class to allow quick testing of GPIB programs without instruments. All reads from an instrument return a semi-randomised number regardless of the specific command that may have been sent prior to reading. """ import stuff import time ## VisaIOError = False """ Old pyvisa calls. """ def ge...
24.215909
79
0.596903
256
2,131
4.824219
0.425781
0.032389
0.032389
0.034008
0.19919
0.169231
0.169231
0.169231
0.169231
0.14251
0
0.018957
0.306898
2,131
87
80
24.494253
0.817197
0.256218
0
0.404762
0
0
0.027616
0
0
0
0
0
0
1
0.309524
false
0
0.047619
0.119048
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
da71e377e8640f7d0b437b9e9475e281b189b3c9
1,814
py
Python
setup.py
cvzi/foodemoji
b43d80f5a6abada96d8383a5fb442e4bf4083631
[ "MIT" ]
1
2021-07-28T18:31:59.000Z
2021-07-28T18:31:59.000Z
setup.py
cvzi/foodemoji
b43d80f5a6abada96d8383a5fb442e4bf4083631
[ "MIT" ]
null
null
null
setup.py
cvzi/foodemoji
b43d80f5a6abada96d8383a5fb442e4bf4083631
[ "MIT" ]
1
2018-10-23T09:20:52.000Z
2018-10-23T09:20:52.000Z
import setuptools import os import io with io.open("README.md", encoding="utf-8") as f: long_description = f.read().strip() version = None with io.open(os.path.join("foodemoji", "__init__.py"), encoding="utf-8") as f: for line in f: if line.strip().startswith("__version__"): ve...
35.568627
79
0.588754
190
1,814
5.521053
0.521053
0.181125
0.238322
0.173499
0.080076
0
0
0
0
0
0
0.014022
0.253032
1,814
50
80
36.28
0.75941
0
0
0
0
0
0.465116
0
0
0
0
0
0
0
null
null
0
0.06383
null
null
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
1
0
0
0
0
0
0
0
0
3
da73a8bee13190d7e6ce04a2adb3a4da8ce14080
255
py
Python
fetch.py
oosidat/pyphotoanalytics
8206b4836d2dac8f4321cfc4c214fc6a076f00e5
[ "MIT" ]
null
null
null
fetch.py
oosidat/pyphotoanalytics
8206b4836d2dac8f4321cfc4c214fc6a076f00e5
[ "MIT" ]
null
null
null
fetch.py
oosidat/pyphotoanalytics
8206b4836d2dac8f4321cfc4c214fc6a076f00e5
[ "MIT" ]
null
null
null
import requests INSTAGRAM_MEDIA_LINK = "https://www.instagram.com/{username}/media/" def fetch_user_photos(username): print "fetching..." url = INSTAGRAM_MEDIA_LINK.format(username=username) response = requests.get(url); return response
25.5
68
0.741176
31
255
5.903226
0.645161
0.153005
0.196721
0
0
0
0
0
0
0
0
0
0.137255
255
9
69
28.333333
0.831818
0
0
0
0
0
0.211765
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.142857
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
da8dea08257cffe7cb7b25d97d102c4ebef23d52
426
py
Python
src/constants/datasets.py
shivanip14/semisupclustering
c13f007e5e5ca3788ea79623f9bf975ae1b4d5f2
[ "MIT" ]
null
null
null
src/constants/datasets.py
shivanip14/semisupclustering
c13f007e5e5ca3788ea79623f9bf975ae1b4d5f2
[ "MIT" ]
null
null
null
src/constants/datasets.py
shivanip14/semisupclustering
c13f007e5e5ca3788ea79623f9bf975ae1b4d5f2
[ "MIT" ]
null
null
null
from src.runners.iris_runner import cluster as iris from src.runners.twentynewsgroups_runner import cluster as twentynewsgroups from src.runners.waveform_runner import cluster as waveform available_datasets = {'iris': {'runner': iris, 'name': 'iris'}, 'twentynewsgroups': {'runner': twentynewsgroup...
60.857143
98
0.694836
44
426
6.636364
0.295455
0.071918
0.143836
0.215753
0
0
0
0
0
0
0
0
0.180751
426
7
99
60.857143
0.836676
0
0
0
0
0
0.201405
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
16ffb21ba479da8e4fa3cbea8fc419e69eeafed7
5,976
py
Python
cpp_src/cmd/reindexer_server/test/specs/mixins/api_mixin.py
radiophysicist/reindexer
5a6e82158665f6e9c78536cc4a907143a157f1d7
[ "Apache-2.0" ]
null
null
null
cpp_src/cmd/reindexer_server/test/specs/mixins/api_mixin.py
radiophysicist/reindexer
5a6e82158665f6e9c78536cc4a907143a157f1d7
[ "Apache-2.0" ]
null
null
null
cpp_src/cmd/reindexer_server/test/specs/mixins/api_mixin.py
radiophysicist/reindexer
5a6e82158665f6e9c78536cc4a907143a157f1d7
[ "Apache-2.0" ]
null
null
null
import http.client import json from urllib.parse import urlencode class ApiMixin(object): API_STATUS = { 'success': 200, 'moved_permanently': 301, 'bad_request': 400, 'unauthorized': 401, 'forbidden': 403, 'not_found': 404 } def _server_request(self, method...
34.744186
129
0.601908
724
5,976
4.708564
0.168508
0.093869
0.091522
0.119683
0.533294
0.515107
0.477266
0.441772
0.327075
0.239366
0
0.006874
0.245315
5,976
171
130
34.947368
0.749002
0
0
0.059829
0
0
0.135208
0
0
0
0
0
0
1
0.282051
false
0
0.025641
0.222222
0.606838
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e50338744ce1ce4fd32a84e23f93cd09469073ba
4,343
py
Python
unit_tests/sequence_tests.py
YuseqYaseq/gry-kombinatoryczne
15e5d857cdbc6ec447c0028a90c4354ba25fc553
[ "MIT" ]
2
2020-04-26T16:57:37.000Z
2020-04-26T16:57:40.000Z
unit_tests/sequence_tests.py
YuseqYaseq/gry-kombinatoryczne
15e5d857cdbc6ec447c0028a90c4354ba25fc553
[ "MIT" ]
null
null
null
unit_tests/sequence_tests.py
YuseqYaseq/gry-kombinatoryczne
15e5d857cdbc6ec447c0028a90c4354ba25fc553
[ "MIT" ]
null
null
null
from unit_tests.common import expect, is_none, is_arithmetic_sequnce from game.sequence import Sequence def search_with_startidx_equals_zero(): sequence = Sequence([2, 4, 6, 7, 11], 3) res = sequence.search(1, 0) expect(-1, res) res = sequence.search(5, 0) expect(-1, res) res = sequence.sea...
22.502591
68
0.633433
661
4,343
3.92587
0.075643
0.099422
0.124855
0.105202
0.840077
0.768015
0.704046
0.58921
0.443545
0.396146
0
0.060417
0.226341
4,343
192
69
22.619792
0.711905
0
0
0.601504
0
0
0
0
0
0
0
0
0
1
0.090226
false
0
0.015038
0
0.105263
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e50c4316e567816ffac25b73b3ac2382e0a4cbc1
186
py
Python
codigo/Live102/exemplo_2.py
cassiasamp/live-de-python
00b5e51793097544ba9b75c97a0d30e63970bf45
[ "MIT" ]
572
2018-04-03T03:17:08.000Z
2022-03-31T19:05:32.000Z
codigo/Live102/exemplo_2.py
cassiasamp/live-de-python
00b5e51793097544ba9b75c97a0d30e63970bf45
[ "MIT" ]
176
2018-05-18T15:56:16.000Z
2022-03-28T20:39:07.000Z
codigo/Live102/exemplo_2.py
cassiasamp/live-de-python
00b5e51793097544ba9b75c97a0d30e63970bf45
[ "MIT" ]
140
2018-04-18T13:59:11.000Z
2022-03-29T00:43:49.000Z
from expects import expect, contain, be_an class Bacon: ... sanduiche = 'sanduiche com queijo' expect(sanduiche).to(contain('queijo')) expect(sanduiche).to_not(be_an(Bacon))
12.4
42
0.715054
25
186
5.2
0.56
0.061538
0.323077
0.353846
0
0
0
0
0
0
0
0
0.150538
186
14
43
13.285714
0.822785
0
0
0
0
0
0.141304
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.333333
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e53e1ddf1ca570ccb7d5d49732fffcd4fe1ad53e
619
py
Python
pylisten/correlation.py
deeuu/pylisten
3b8f9db7b7311a5a42ef7811acff284ca6854f30
[ "MIT" ]
null
null
null
pylisten/correlation.py
deeuu/pylisten
3b8f9db7b7311a5a42ef7811acff284ca6854f30
[ "MIT" ]
null
null
null
pylisten/correlation.py
deeuu/pylisten
3b8f9db7b7311a5a42ef7811acff284ca6854f30
[ "MIT" ]
null
null
null
import krippendorff import pandas as pd import numpy as np from . import utils def r_to_z(r): return np.arctanh(r) def z_to_r(z): return np.tanh(z) def confidence_interval(r, conf_level=95, stat=np.mean): z = r_to_z(r) ci = utils.bootstrap_ci(z, stat=stat, conf_level=conf_level) ci = z_to_r(c...
19.34375
72
0.675283
104
619
3.778846
0.365385
0.020356
0.030534
0.038168
0
0
0
0
0
0
0
0.00813
0.20517
619
31
73
19.967742
0.79065
0
0
0
0
0
0.01454
0
0
0
0
0
0
1
0.277778
false
0
0.222222
0.222222
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e547a43a31f8d08ff1dadd100b2b71f483a15550
83
py
Python
fastapi_amis_admin/__init__.py
cnss63/fastapi_amis_admin
52537d153a002b3c468cb2634779010be956a9b4
[ "Apache-2.0" ]
null
null
null
fastapi_amis_admin/__init__.py
cnss63/fastapi_amis_admin
52537d153a002b3c468cb2634779010be956a9b4
[ "Apache-2.0" ]
null
null
null
fastapi_amis_admin/__init__.py
cnss63/fastapi_amis_admin
52537d153a002b3c468cb2634779010be956a9b4
[ "Apache-2.0" ]
null
null
null
__version__ = "0.0.16" __url__ = "https://github.com/amisadmin/fastapi_amis_admin"
27.666667
59
0.759036
12
83
4.416667
0.916667
0
0
0
0
0
0
0
0
0
0
0.051948
0.072289
83
2
60
41.5
0.636364
0
0
0
0
0
0.638554
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e550f4d5fb03eb8cb378fb56b59904fa75ad5cbc
221
py
Python
src/app_object.py
pockeleewout/DataCleaner-public
242cd911b702a25fb2ad4751375c878e56127ef8
[ "MIT" ]
1
2019-05-09T15:38:29.000Z
2019-05-09T15:38:29.000Z
src/app_object.py
pockeleewout/DataCleaner-public
242cd911b702a25fb2ad4751375c878e56127ef8
[ "MIT" ]
null
null
null
src/app_object.py
pockeleewout/DataCleaner-public
242cd911b702a25fb2ad4751375c878e56127ef8
[ "MIT" ]
null
null
null
import flask import config # The main flask app that will run the whole show flask_app: flask.Flask = flask.Flask(__name__) # Load the configuration from the Config class flask_app.config.from_object(config.LocalConfig)
27.625
49
0.809955
35
221
4.914286
0.514286
0.139535
0.174419
0
0
0
0
0
0
0
0
0
0.131222
221
7
50
31.571429
0.895833
0.41629
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
e55990f1b8fe2ffef3eee8d0535d849c05832134
2,127
py
Python
server.py
Daerdemandt/blog
2d9f95f57c84c1ac87ed62b449ddc4644d98c4bf
[ "MIT" ]
null
null
null
server.py
Daerdemandt/blog
2d9f95f57c84c1ac87ed62b449ddc4644d98c4bf
[ "MIT" ]
null
null
null
server.py
Daerdemandt/blog
2d9f95f57c84c1ac87ed62b449ddc4644d98c4bf
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import http.server import socketserver from urllib.parse import parse_qsl as parse_query, urlparse as parse_url from abc import abstractmethod, ABC as abstractclass import json class ContentEncoder(abstractclass): @abstractmethod def get_type(): pass @abstractmethod def encode(self, conten...
29.957746
118
0.716032
286
2,127
5.164336
0.342657
0.037915
0.035207
0.054164
0.086662
0.041977
0
0
0
0
0
0.008767
0.141984
2,127
70
119
30.385714
0.800548
0.022567
0
0.172414
0
0
0.07896
0
0
0
0
0.014286
0
1
0.258621
false
0.034483
0.086207
0.086207
0.517241
0.017241
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
e57de3bc7fa48291a8d0d04475b14d2ef81827fc
1,715
py
Python
nncf/__init__.py
gnomonsis/nncf_pytorch
9fc4a92b5cb1b2c240e633c4ffa69b4fae1917fb
[ "Apache-2.0" ]
null
null
null
nncf/__init__.py
gnomonsis/nncf_pytorch
9fc4a92b5cb1b2c240e633c4ffa69b4fae1917fb
[ "Apache-2.0" ]
4
2020-07-17T11:12:35.000Z
2021-12-15T15:20:24.000Z
nncf/__init__.py
vshampor/nncf_pytorch
9fc4a92b5cb1b2c240e633c4ffa69b4fae1917fb
[ "Apache-2.0" ]
null
null
null
""" Copyright (c) 2019-2020 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
43.974359
90
0.82449
255
1,715
5.384314
0.545098
0.0437
0.05244
0.023307
0
0
0
0
0
0
0
0.008114
0.137609
1,715
38
91
45.131579
0.920216
0.56035
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.933333
0
0.933333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
e58656a4c65591083cf0922e65119f0db2a03f9e
863
py
Python
data_cleanup/tests/test_views.py
yashpatel12/CPIMS-api-newtest
d5129eb3aa034f70414a2471a72c0a74ad95f6ca
[ "Apache-2.0" ]
3
2022-02-18T13:25:29.000Z
2022-02-25T11:49:11.000Z
data_cleanup/tests/test_views.py
yashpatel12/CPIMS-api-newtest
d5129eb3aa034f70414a2471a72c0a74ad95f6ca
[ "Apache-2.0" ]
null
null
null
data_cleanup/tests/test_views.py
yashpatel12/CPIMS-api-newtest
d5129eb3aa034f70414a2471a72c0a74ad95f6ca
[ "Apache-2.0" ]
22
2022-02-05T13:43:53.000Z
2022-02-26T14:29:06.000Z
from unittest import TestCase from data_cleanup.views import validate_age class TestAgeValidation(TestCase): def test_age_provided_is_okay(self): """An integer is acceptable""" self.assertTrue(validate_age(10)) def test_age_provided_is_not_valid(self): """Anything which is not an int...
33.192308
65
0.707995
116
863
4.956897
0.344828
0.114783
0.086957
0.166957
0.577391
0.426087
0.13913
0
0
0
0
0.015737
0.190035
863
25
66
34.52
0.806867
0.221321
0
0
0
0
0.043344
0
0
0
0
0
0.384615
1
0.384615
false
0
0.153846
0
0.615385
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
e5aa4651626736cae0291004ae857c774922dfb4
418
py
Python
app/admin.py
mugisha-thierry/online-shop
d6e9b1f5c9b031a87af50ff490d2222706530536
[ "Unlicense" ]
1
2021-03-26T07:35:57.000Z
2021-03-26T07:35:57.000Z
app/admin.py
mugisha-thierry/online-shop
d6e9b1f5c9b031a87af50ff490d2222706530536
[ "Unlicense" ]
null
null
null
app/admin.py
mugisha-thierry/online-shop
d6e9b1f5c9b031a87af50ff490d2222706530536
[ "Unlicense" ]
null
null
null
from django.contrib import admin from .models import Profile,Category,Product,OrderItem,Order,Transaction,Rate,Delivery # Register your models here. admin.site.register(Category) admin.site.register(Delivery) admin.site.register(Profile) admin.site.register(Product) admin.site.register(OrderItem) admin.site.register(...
29.857143
86
0.827751
56
418
6.178571
0.321429
0.234104
0.442197
0.150289
0
0
0
0
0
0
0
0
0.057416
418
14
87
29.857143
0.878173
0.136364
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
e5b6836527d124d45d835502e7a3f43caa218c74
1,515
py
Python
telnet_rtr_functions.py
karimjamali/Class-2
9051d0c43fa9d23b5821ba12f324640a112e8d0e
[ "Apache-2.0" ]
null
null
null
telnet_rtr_functions.py
karimjamali/Class-2
9051d0c43fa9d23b5821ba12f324640a112e8d0e
[ "Apache-2.0" ]
null
null
null
telnet_rtr_functions.py
karimjamali/Class-2
9051d0c43fa9d23b5821ba12f324640a112e8d0e
[ "Apache-2.0" ]
null
null
null
import telnetlib import os import sys import time ip_addr='50.76.53.27' TELNET_PORT=23 TELNET_TIMEOUT=6 username = "pyclass" password = "88newclass" def telnet_connect(ip_addr, TELNET_PORT,TELNET_TIMEOUT): try: return telnetlib.Telnet(ip_addr, TELNET_PORT, TELNET_TIMEOUT) except socket.error: sys.exit('Connect...
23.307692
69
0.764356
225
1,515
4.853333
0.262222
0.201465
0.089744
0.105311
0.692308
0.671245
0.671245
0.671245
0.513736
0.513736
0
0.021386
0.104951
1,515
64
70
23.671875
0.783923
0.283828
0
0.27027
0
0
0.11319
0
0
0
0
0
0
0
null
null
0.135135
0.108108
null
null
0.027027
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3
e5e1b4447ba4303522437c28887d180da57f0e1f
397
py
Python
tools/leetcode.118.Pascal's Triangle/leetcode.118.Pascal's Triangle.submission9.py
tedye/leetcode
975d7e3b8cb9b6be9e80e07febf4bcf6414acd46
[ "MIT" ]
4
2015-10-10T00:30:55.000Z
2020-07-27T19:45:54.000Z
tools/leetcode.118.Pascal's Triangle/leetcode.118.Pascal's Triangle.submission9.py
tedye/leetcode
975d7e3b8cb9b6be9e80e07febf4bcf6414acd46
[ "MIT" ]
null
null
null
tools/leetcode.118.Pascal's Triangle/leetcode.118.Pascal's Triangle.submission9.py
tedye/leetcode
975d7e3b8cb9b6be9e80e07febf4bcf6414acd46
[ "MIT" ]
null
null
null
class Solution: # @param {integer} numRows # @return {integer[][]} def generate(self, numRows): if numRows == 0: return [] if numRows == 1: return [[1]] res = [[1]] cnt = 1 while cnt < numRows: cur = [0]+res[-1]+[0] res.append([cur[i]+cur[i+1] ...
397
397
0.455919
50
397
3.62
0.44
0.099448
0.055249
0
0
0
0
0
0
0
0
0.044715
0.380353
397
1
397
397
0.691057
0.115869
0
0
1
0
0
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e5e509fd20a9b4ab7170a3c1451b55b01d4539e0
13,514
py
Python
cloudkittyclient/tests/unit/v1/test_hashmap.py
NeCTAR-RC/python-cloudkittyclient
20003a58cec701dd39945246955d5434681e5184
[ "Apache-2.0" ]
19
2015-10-18T02:56:16.000Z
2019-07-19T16:33:08.000Z
cloudkittyclient/tests/unit/v1/test_hashmap.py
NeCTAR-RC/python-cloudkittyclient
20003a58cec701dd39945246955d5434681e5184
[ "Apache-2.0" ]
1
2018-12-17T13:11:24.000Z
2018-12-17T13:11:24.000Z
cloudkittyclient/tests/unit/v1/test_hashmap.py
NeCTAR-RC/python-cloudkittyclient
20003a58cec701dd39945246955d5434681e5184
[ "Apache-2.0" ]
11
2016-02-02T02:32:58.000Z
2022-02-11T02:22:56.000Z
# -*- coding: utf-8 -*- # Copyright 2018 Objectif Libre # # 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 ...
39.864307
79
0.674042
1,700
13,514
5.04
0.08
0.044118
0.048553
0.063025
0.835434
0.713469
0.676237
0.643441
0.613095
0.595588
0
0.006463
0.2214
13,514
338
80
39.982249
0.807831
0.044472
0
0.424812
0
0
0.168799
0.113282
0
0
0
0
0.210526
1
0.203008
false
0
0.015038
0
0.221805
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
f910aba9281480f82e13d077280efed0a98dee09
156
py
Python
kaldi/base/__init__.py
mxmpl/pykaldi
0570307138c5391cc47b019450d08bcb9686dd98
[ "Apache-2.0" ]
916
2017-11-22T19:33:36.000Z
2022-03-31T11:51:58.000Z
kaldi/base/__init__.py
mxmpl/pykaldi
0570307138c5391cc47b019450d08bcb9686dd98
[ "Apache-2.0" ]
268
2018-01-16T22:06:45.000Z
2022-03-29T03:24:41.000Z
kaldi/base/__init__.py
mxmpl/pykaldi
0570307138c5391cc47b019450d08bcb9686dd98
[ "Apache-2.0" ]
260
2018-01-23T18:39:40.000Z
2022-03-24T08:17:39.000Z
from ._kaldi_error import * from ._timer import * __all__ = [name for name in dir() if name[0] != '_' and not name.endswith('Base')]
22.285714
41
0.583333
21
156
3.952381
0.761905
0
0
0
0
0
0
0
0
0
0
0.009009
0.288462
156
6
42
26
0.738739
0
0
0
0
0
0.032051
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f923a5fbd964dbf16966cd0f142119498e714034
36,361
py
Python
2017/aoc_12.py
justanotherdot/advent-linguist
4dfd4ef483ddbd40fb8cf7a1719705186d4ed823
[ "MIT" ]
null
null
null
2017/aoc_12.py
justanotherdot/advent-linguist
4dfd4ef483ddbd40fb8cf7a1719705186d4ed823
[ "MIT" ]
4
2016-12-06T03:23:27.000Z
2019-04-07T21:50:04.000Z
2017/aoc_12.py
justanotherdot/advent-linguist
4dfd4ef483ddbd40fb8cf7a1719705186d4ed823
[ "MIT" ]
null
null
null
from collections import defaultdict s = """ 0 <-> 2 1 <-> 1 2 <-> 0, 3, 4 3 <-> 2, 4 4 <-> 2, 3, 6 5 <-> 6 6 <-> 4, 5 """ s = """ 0 <-> 659, 737 1 <-> 1, 1433 2 <-> 982, 1869 3 <-> 306, 380, 1462, 1827 4 <-> 1076 5 <-> 794, 1451 6 <-> 146, 1055 7 <-> 834, 1557 8 <-> 1333 9 <-> 849, 906, 1863 10 <-> 362, 505 11 <-> 33...
17.728425
64
0.559226
5,908
36,361
3.440758
0.34631
0.001771
0.00059
0
0
0
0
0
0
0
0
0.705106
0.222766
36,361
2,050
65
17.737073
0.014189
0.00165
0
0.001963
0
0
0.979385
0
0
0
0
0
0
1
0.000981
false
0
0.000491
0
0.002453
0.000491
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
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f924443256d91abd882927f0c2bb90dc099120f0
1,041
py
Python
setup.py
AliyevH/elasticfeed
15613ef5f545982c1e018e82fa9f47d1cf0f2684
[ "MIT" ]
3
2020-09-10T13:56:17.000Z
2020-11-23T22:32:02.000Z
setup.py
AliyevH/elk_feeder
15613ef5f545982c1e018e82fa9f47d1cf0f2684
[ "MIT" ]
null
null
null
setup.py
AliyevH/elk_feeder
15613ef5f545982c1e018e82fa9f47d1cf0f2684
[ "MIT" ]
1
2020-09-17T12:04:39.000Z
2020-09-17T12:04:39.000Z
from setuptools import setup, find_packages setup( name="elasticfeed", version="0.1.1", include_package_data=True, packages=find_packages(), author="Hasan Aliyev", author_email="hasan.aliyev.555@gmail.com", description="Export csv data into Elasticsearch", license="MIT", url="https:...
35.896552
83
0.632085
105
1,041
6.171429
0.647619
0.146605
0.192901
0.160494
0.08642
0
0
0
0
0
0
0.014888
0.225744
1,041
29
84
35.896552
0.789082
0
0
0
0
0
0.566219
0.073896
0
0
0
0
0
1
0
true
0
0.035714
0
0.035714
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
f92c3ddef01bd06b4fa574e22117773f52c66815
893
py
Python
saas/dataops/api/dataset/APP-META-PRIVATE/postrun/00_init_job.py
iuskye/SREWorks
a2a7446767d97ec5f6d15bd00189c42150d6c894
[ "Apache-2.0" ]
407
2022-03-16T08:09:38.000Z
2022-03-31T12:27:10.000Z
saas/dataops/api/dataset/APP-META-PRIVATE/postrun/00_init_job.py
iuskye/SREWorks
a2a7446767d97ec5f6d15bd00189c42150d6c894
[ "Apache-2.0" ]
25
2022-03-22T04:27:31.000Z
2022-03-30T08:47:28.000Z
saas/dataops/api/dataset/APP-META-PRIVATE/postrun/00_init_job.py
iuskye/SREWorks
a2a7446767d97ec5f6d15bd00189c42150d6c894
[ "Apache-2.0" ]
109
2022-03-21T17:30:44.000Z
2022-03-31T09:36:28.000Z
# coding: utf-8 from common import checker from warehouse import entry as warehouse_entry from pmdb import entry as pmdb_entry from dataset import entry as dataset_entry from health import entry as health_entry from job import entry as job_entry from es import entry as es_entry checker.check_sreworks_data_service_re...
24.135135
46
0.651736
121
893
4.677686
0.198347
0.116608
0.137809
0.180212
0.222615
0
0
0
0
0
0
0.001253
0.106383
893
36
47
24.805556
0.70802
0.014558
0
0
0
0
0.371298
0
0
0
0
0
0
1
0
true
0
0.269231
0
0.269231
0.461538
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
007e4dff95a85a34ae18115aba2405eea01f19e6
371
py
Python
{{cookiecutter.project}}/{{cookiecutter.project_slug}}/__init__.py
jhinAza/python-flask-microservice-template
8c399f81dfbb61903c7090fde7ea3acbe5a1d133
[ "MIT" ]
2
2018-05-11T10:34:19.000Z
2018-05-11T15:38:40.000Z
{{cookiecutter.project}}/{{cookiecutter.project_slug}}/__init__.py
jhinAza/python-flask-microservice-template
8c399f81dfbb61903c7090fde7ea3acbe5a1d133
[ "MIT" ]
1
2019-07-23T19:17:13.000Z
2019-07-23T19:17:13.000Z
{{cookiecutter.project}}/{{cookiecutter.project_slug}}/__init__.py
jhinAza/python-flask-microservice-template
8c399f81dfbb61903c7090fde7ea3acbe5a1d133
[ "MIT" ]
null
null
null
from flask import Flask from {{cookiecutter.project_slug}}.{{cookiecutter.project_slug}}_root import {{cookiecutter.project_slug}} __author__ = """{{cookiecutter.mantainer_name}}""" __email__ = '{{cookiecutter.mantainer_email}}' __version__ = '0.1.0' def create_app(): app = Flask(__name__) app.register_bluep...
28.538462
106
0.743935
42
371
5.97619
0.47619
0.302789
0.366534
0
0
0
0
0
0
0
0
0.009063
0.107817
371
12
107
30.916667
0.749245
0
0
0
0
0
0.183288
0.169811
0
0
0
0
0
0
null
null
0
0.222222
null
null
0.111111
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
0084357193a4b6b1663a56822a2584b81b55bed0
591
py
Python
Chapter_3/try_3.2.py
charliealpha094/Python_Crash_Course_2nd_edition
9d1548b775c861fd63890ccee19a9101eb0c5c6b
[ "MIT" ]
null
null
null
Chapter_3/try_3.2.py
charliealpha094/Python_Crash_Course_2nd_edition
9d1548b775c861fd63890ccee19a9101eb0c5c6b
[ "MIT" ]
null
null
null
Chapter_3/try_3.2.py
charliealpha094/Python_Crash_Course_2nd_edition
9d1548b775c861fd63890ccee19a9101eb0c5c6b
[ "MIT" ]
null
null
null
#Done by Carlos Amaral on 12/06/2020 """ Start with the list you used in Exercise 3-1, but instead of just printing each person’s name, print a message to them. The text of each mes- sage should be the same, but each message should be personalized with the person’s name. """ friends = ['Rita', 'Catarina', 'Emilia', '...
25.695652
75
0.658206
86
591
4.523256
0.55814
0.123393
0.195373
0.18509
0.277635
0.277635
0
0
0
0
0
0.028398
0.165821
591
22
76
26.863636
0.760649
0.450085
0
0.444444
0
0
0.208202
0
0
0
0
0
0
1
0
false
0
0
0
0
0.444444
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
00a29b6240cf24c82442f883dedd1272257afe95
203
py
Python
src/core/repository/file/__init__.py
lucassaporetti/car-rental
6e37032df3a399b78ed3d7998a2cb31a2a84d033
[ "MIT" ]
1
2021-02-11T18:45:12.000Z
2021-02-11T18:45:12.000Z
src/core/repository/file/__init__.py
lucassaporetti/car-rental
6e37032df3a399b78ed3d7998a2cb31a2a84d033
[ "MIT" ]
null
null
null
src/core/repository/file/__init__.py
lucassaporetti/car-rental
6e37032df3a399b78ed3d7998a2cb31a2a84d033
[ "MIT" ]
null
null
null
# _*_ coding: utf-8 _*_ # # Package: src.core.repository.file __all__ = [ "car_repository", "customer_repository", "employee_repository", "file_db", "file_repository", "rental_repository" ]
15.615385
35
0.689655
21
203
6
0.666667
0.222222
0
0
0
0
0
0
0
0
0
0.005848
0.157635
203
12
36
16.916667
0.730994
0.270936
0
0
0
0
0.631944
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
00b6cda207b6b419d6e64315af17b58474dfc10a
319
py
Python
isyntax2raw/cli/__init__.py
kkoz/isyntax2raw
84510eced69b44f4180c43d6a7c210de5b0a563d
[ "BSD-3-Clause" ]
6
2020-03-04T11:34:56.000Z
2022-02-03T18:27:18.000Z
isyntax2raw/cli/__init__.py
kkoz/isyntax2raw
84510eced69b44f4180c43d6a7c210de5b0a563d
[ "BSD-3-Clause" ]
18
2020-03-26T21:01:41.000Z
2022-03-04T18:40:20.000Z
isyntax2raw/cli/__init__.py
kkoz/isyntax2raw
84510eced69b44f4180c43d6a7c210de5b0a563d
[ "BSD-3-Clause" ]
12
2019-12-06T02:52:56.000Z
2022-01-05T05:32:33.000Z
# encoding: utf-8 # # Copyright (c) 2017 Glencoe Software, Inc. All rights reserved. # # This software is distributed under the terms described by the LICENCE file # you can find at the root of the distribution bundle. # If the file is missing please request a copy by contacting # support@glencoesoftware.com.
35.444444
77
0.749216
48
319
4.979167
0.833333
0
0
0
0
0
0
0
0
0
0
0.01938
0.191223
319
8
78
39.875
0.906977
0.92163
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
00cd526f4a00619cb396b7855857ea58ac675dea
15,522
py
Python
test/ServerTest.py
wmde/catgraph-client-python
69f87d86f809bb57b9d31e857e47f10bd370d703
[ "Unlicense" ]
1
2016-07-01T20:58:48.000Z
2016-07-01T20:58:48.000Z
test/ServerTest.py
wmde/catgraph-client-python
69f87d86f809bb57b9d31e857e47f10bd370d703
[ "Unlicense" ]
null
null
null
test/ServerTest.py
wmde/catgraph-client-python
69f87d86f809bb57b9d31e857e47f10bd370d703
[ "Unlicense" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 import unittest import os import tempfile from TestBase import * from gp.client import * TestGraphName = 'test' + str(os.getpid()) TestFilePrefix = '/tmp/gptest-' + str(os.getpid()) class ServerTest (ClientTestBase, unittest.TestCase): """Test server functions via client li...
32.136646
113
0.587811
1,673
15,522
5.380155
0.151225
0.016665
0.023997
0.026664
0.763471
0.702033
0.663149
0.639262
0.590268
0.582713
0
0.009109
0.306855
15,522
482
114
32.20332
0.8274
0.079564
0
0.671827
0
0.024768
0.211176
0
0
0
0
0.002075
0.139319
0
null
null
0.151703
0.01548
null
null
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3
00d16a3acb91e37537d431d492d21db547575a94
3,062
py
Python
scripts/download_external_data.py
TomAugspurger/modis
eb8db853ce25cb7bb3bc03d3c6f1bcd181e083a0
[ "Apache-2.0" ]
null
null
null
scripts/download_external_data.py
TomAugspurger/modis
eb8db853ce25cb7bb3bc03d3c6f1bcd181e083a0
[ "Apache-2.0" ]
null
null
null
scripts/download_external_data.py
TomAugspurger/modis
eb8db853ce25cb7bb3bc03d3c6f1bcd181e083a0
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import os import sys from azure.storage.blob import BlobServiceClient EXTERNAL_DATA_FILE_NAMES = [ "MCD15A2H.A2022025.h01v11.061.2022035062702.hdf", "MCD15A3H.A2022033.h12v10.061.2022039062215.hdf", "MCD43A4.A2022032.h14v10.061.2022041051831.hdf", "MCD64A1.A2021335.h10v06.061.20...
39.766234
79
0.725996
369
3,062
5.95935
0.512195
0.012278
0.014552
0.0191
0
0
0
0
0
0
0
0.410507
0.129654
3,062
76
80
40.289474
0.414634
0.006532
0
0
0
0
0.596514
0.557054
0
0
0
0
0
1
0.014925
false
0
0.044776
0
0.074627
0.029851
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
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
00d429eeb206e1ec171b7d2d336c0e24af713f91
416
py
Python
alarme/extras/sensor/web/views/home.py
insolite/alarme
2312e88299a07d47435f475e5617213404e6d365
[ "MIT" ]
null
null
null
alarme/extras/sensor/web/views/home.py
insolite/alarme
2312e88299a07d47435f475e5617213404e6d365
[ "MIT" ]
1
2017-02-04T13:03:05.000Z
2017-02-04T13:03:05.000Z
alarme/extras/sensor/web/views/home.py
insolite/alarme
2312e88299a07d47435f475e5617213404e6d365
[ "MIT" ]
null
null
null
from aiohttp.web import HTTPFound from .core import CoreView from ..util import login_required, handle_exception class Home(CoreView): @login_required async def req(self): return HTTPFound(self.request.app.router.get('control').url()) @handle_exception async def get(self): return aw...
20.8
70
0.692308
54
416
5.240741
0.5
0.159011
0.141343
0.162544
0.155477
0
0
0
0
0
0
0
0.213942
416
19
71
21.894737
0.865443
0
0
0.307692
0
0
0.016827
0
0
0
0
0
0
1
0
true
0
0.230769
0
0.538462
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
00f5160d30c4f3b0da6d3f746cf783b4e5b156af
449
py
Python
feature_extraction/tests/tss_tool_test.py
ramseylab/cerenkov
19570ad2a47416a70ae7bb066cc67842b3cdee1b
[ "Apache-2.0" ]
1
2020-06-25T08:10:10.000Z
2020-06-25T08:10:10.000Z
feature_extraction/tests/tss_tool_test.py
ramseylab/cerenkov
19570ad2a47416a70ae7bb066cc67842b3cdee1b
[ "Apache-2.0" ]
2
2017-08-23T21:09:10.000Z
2018-03-28T23:42:24.000Z
feature_extraction/tests/tss_tool_test.py
ramseylab/cerenkov
19570ad2a47416a70ae7bb066cc67842b3cdee1b
[ "Apache-2.0" ]
null
null
null
import unittest from tss_tool import min_tss_dist class TssToolTestCase(unittest.TestCase): def test_min_tss_dist(self): self.assertEqual(min_tss_dist([1, 2, 3]), 1) self.assertEqual(min_tss_dist([-1, -2, -3]), -1) self.assertEqual(min_tss_dist([1, -2, 3]), 1) self.assertEqual(min...
26.411765
56
0.643653
69
449
3.84058
0.289855
0.158491
0.264151
0.396226
0.535849
0.535849
0.535849
0.535849
0.426415
0.426415
0
0.055402
0.195991
449
16
57
28.0625
0.67867
0
0
0
0
0
0.017817
0
0
0
0
0
0.454545
1
0.090909
false
0
0.181818
0
0.363636
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
1
0
0
0
0
0
0
0
0
0
3
da979bee04c0f7f2ed748cd5e6ef72456594ed93
197
py
Python
Chapter04/exercise1/test_calculator.py
sportstube28/Continuous-Delivery-with-Docker-and-Jenkins-Second-Edition
0a9472a499b0ce0f181f95e2de6b1bee7f51ef59
[ "MIT" ]
51
2019-07-03T18:19:51.000Z
2022-02-02T04:04:32.000Z
Chapter04/exercise1/test_calculator.py
sportstube28/Continuous-Delivery-with-Docker-and-Jenkins-Second-Edition
0a9472a499b0ce0f181f95e2de6b1bee7f51ef59
[ "MIT" ]
1
2022-03-21T21:42:36.000Z
2022-03-21T21:42:36.000Z
Chapter04/exercise1/test_calculator.py
sportstube28/Continuous-Delivery-with-Docker-and-Jenkins-Second-Edition
0a9472a499b0ce0f181f95e2de6b1bee7f51ef59
[ "MIT" ]
69
2019-05-29T19:15:01.000Z
2022-03-28T05:19:30.000Z
import unittest from calculator import multiply class TestSomething(unittest.TestCase): def test_multiply(self): self.assertEqual(6, multiply(2,3)) if __name__ == '__main__': unittest.main()
19.7
39
0.771574
25
197
5.72
0.72
0
0
0
0
0
0
0
0
0
0
0.017241
0.116751
197
9
40
21.888889
0.804598
0
0
0
0
0
0.040609
0
0
0
0
0
0.142857
1
0.142857
false
0
0.285714
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
da9a71a5474b91b2b3a44d2706ab6ef85c4936e0
118
py
Python
UTMDriver/__init__.py
maxpoint2point/UTMDriver
75f5687fc0191eb2bf3005774cbde6e4935a6d04
[ "Apache-2.0" ]
1
2020-10-02T18:19:10.000Z
2020-10-02T18:19:10.000Z
UTMDriver/__init__.py
maxpoint2point/UTMDriver
75f5687fc0191eb2bf3005774cbde6e4935a6d04
[ "Apache-2.0" ]
null
null
null
UTMDriver/__init__.py
maxpoint2point/UTMDriver
75f5687fc0191eb2bf3005774cbde6e4935a6d04
[ "Apache-2.0" ]
null
null
null
# Copyright (c) maxpoint2point@gmail.com 2020. __version__ = '0.5.3-alpha' from UTMDriver.connector import Connector
29.5
47
0.779661
16
118
5.5
0.9375
0
0
0
0
0
0
0
0
0
0
0.07619
0.110169
118
3
48
39.333333
0.761905
0.372881
0
0
0
0
0.15493
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
daa653fdc21a0be688aabf9338b59826c9898962
1,443
py
Python
dopamine/generators/abstract_generator.py
K-Kielak/dopamine
f0bbc39825c7b769023901aa6c60e2b068390a42
[ "Apache-2.0" ]
null
null
null
dopamine/generators/abstract_generator.py
K-Kielak/dopamine
f0bbc39825c7b769023901aa6c60e2b068390a42
[ "Apache-2.0" ]
null
null
null
dopamine/generators/abstract_generator.py
K-Kielak/dopamine
f0bbc39825c7b769023901aa6c60e2b068390a42
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # Copyright 2019 Kacper Kielak. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agr...
27.75
74
0.727651
192
1,443
5.447917
0.598958
0.057361
0.024857
0.030593
0.063098
0.063098
0.063098
0
0
0
0
0.007874
0.2079
1,443
51
75
28.294118
0.907262
0.742204
0
0.444444
0
0
0
0
0
0
0
0
0
1
0.222222
false
0.222222
0.222222
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
dad216695495d070eaa4da0e6de2ddd0a6c181fc
55
py
Python
data/studio21_generated/introductory/3074/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/introductory/3074/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/introductory/3074/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
def growing_plant(upSpeed, downSpeed, desiredHeight):
27.5
53
0.818182
6
55
7.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.090909
55
2
54
27.5
0.88
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
dad821bed88e971811e3c402e9d522872917d46d
86
py
Python
test1.py
LotosPage/enviromnent0
fe2bf8912feb3fa59f87c69e29714ecacb202833
[ "Apache-2.0" ]
1
2019-02-10T17:11:43.000Z
2019-02-10T17:11:43.000Z
test1.py
LotosPage/enviromnent0
fe2bf8912feb3fa59f87c69e29714ecacb202833
[ "Apache-2.0" ]
null
null
null
test1.py
LotosPage/enviromnent0
fe2bf8912feb3fa59f87c69e29714ecacb202833
[ "Apache-2.0" ]
null
null
null
a = 1 b = 1 while 32 >= a: print(a,-b) b *= 2 a += 1 print("Year",b/365)
9.555556
19
0.418605
18
86
2
0.5
0.111111
0
0
0
0
0
0
0
0
0
0.163636
0.360465
86
8
20
10.75
0.490909
0
0
0
0
0
0.046512
0
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
97039496056b7e83ea410edfccaace315b1743cb
1,842
py
Python
k3rn3l-ctf-2021/non-square-freedom/nonsquarefreedom_hard.py
AZ-0/Writeups
1420a51cbf55dae9ffd6d458aac6dec03aad6f1c
[ "MIT" ]
null
null
null
k3rn3l-ctf-2021/non-square-freedom/nonsquarefreedom_hard.py
AZ-0/Writeups
1420a51cbf55dae9ffd6d458aac6dec03aad6f1c
[ "MIT" ]
null
null
null
k3rn3l-ctf-2021/non-square-freedom/nonsquarefreedom_hard.py
AZ-0/Writeups
1420a51cbf55dae9ffd6d458aac6dec03aad6f1c
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from Crypto.Util.number import getPrime import os # Local imports with open('flag.txt','rb') as f: FLAG = f.read() f.close() # Key gen P = getPrime(512//8) Q = getPrime(256) R = getPrime(256) N = P**8 * Q * R E = 0x10001 def pad_hard(m): m <<= 256 m += int.from_bytes(os.urandom...
36.84
312
0.718784
157
1,842
8.407643
0.388535
0.007576
0.006818
0
0
0
0
0
0
0
0
0.593596
0.11835
1,842
50
313
36.84
0.219212
0.137351
0
0
0
0
0.041191
0
0
1
0.004436
0
0
1
0.032258
false
0
0.064516
0
0.129032
0.225806
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
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
3
970bc5d985c5ec7c1678258df3a9cea0543b131f
97
py
Python
Guanabara/desafio01.py
manuellaAlvesVarella/python
eedb8362f0ebc8074f87d15c9e629e319ff29394
[ "MIT" ]
1
2022-03-25T20:42:20.000Z
2022-03-25T20:42:20.000Z
Guanabara/desafio01.py
manuellaAlvesVarella/python
eedb8362f0ebc8074f87d15c9e629e319ff29394
[ "MIT" ]
null
null
null
Guanabara/desafio01.py
manuellaAlvesVarella/python
eedb8362f0ebc8074f87d15c9e629e319ff29394
[ "MIT" ]
null
null
null
nome = (input('digite o seu nome:')) print ('muito prazer {} seja muito bem vinda!'.format(nome))
48.5
60
0.680412
15
97
4.4
0.8
0
0
0
0
0
0
0
0
0
0
0
0.134021
97
2
60
48.5
0.785714
0
0
0
0
0
0.561224
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
970dad092658f2157138a1a5f9f10c91aeb6717d
172
py
Python
dvc/utils/pkg.py
lucasalavapena/dvc
230eb7087df7f063ded7422af7ae45bd04eb794a
[ "Apache-2.0" ]
9,136
2018-05-30T05:10:44.000Z
2022-03-31T16:58:52.000Z
dvc/utils/pkg.py
lucasalavapena/dvc
230eb7087df7f063ded7422af7ae45bd04eb794a
[ "Apache-2.0" ]
4,804
2018-05-30T00:36:42.000Z
2022-03-31T18:34:54.000Z
dvc/utils/pkg.py
lucasalavapena/dvc
230eb7087df7f063ded7422af7ae45bd04eb794a
[ "Apache-2.0" ]
1,072
2018-05-30T07:59:35.000Z
2022-03-28T20:43:49.000Z
try: # file is created during dvc build from .build import PKG # noqa, pylint:disable=unused-import except ImportError: PKG = None # type: ignore[assignment]
28.666667
64
0.703488
23
172
5.26087
0.869565
0
0
0
0
0
0
0
0
0
0
0
0.215116
172
5
65
34.4
0.896296
0.534884
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
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
97185f3518d98406e32c428a023e22ba0091e6ee
723
py
Python
unmanic_api/exceptions.py
JeffResc/Unmanic-API
a68afccd90ac6fff7ad7eb4abae98fa1e086f239
[ "MIT" ]
1
2022-03-05T11:52:05.000Z
2022-03-05T11:52:05.000Z
unmanic_api/exceptions.py
JeffResc/Unmanic-API
a68afccd90ac6fff7ad7eb4abae98fa1e086f239
[ "MIT" ]
null
null
null
unmanic_api/exceptions.py
JeffResc/Unmanic-API
a68afccd90ac6fff7ad7eb4abae98fa1e086f239
[ "MIT" ]
null
null
null
"""Exceptions for Unmanic.""" class UnmanicError(Exception): """Generic Unmanic Exception.""" pass class UnmanicBadRequestRequestedEndpointNotFoundError(UnmanicError): """Unmanic bad request endpoint not found exception.""" pass class UnmanicBadRequestRequestedMethodNotAllowedError(UnmanicError)...
19.026316
68
0.744122
58
723
9.275862
0.431034
0.144981
0.167286
0.16171
0
0
0
0
0
0
0
0
0.163209
723
37
69
19.540541
0.889256
0.372061
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
972265b6659ddfb725f1785ebeaecf84eb10e0d9
539
py
Python
src/infra/factories/rest_repository_factory.py
marcelinoavelar/github-monitor
e0f850d05d1eaa7561eb3c838ae3cc35047ab033
[ "MIT" ]
null
null
null
src/infra/factories/rest_repository_factory.py
marcelinoavelar/github-monitor
e0f850d05d1eaa7561eb3c838ae3cc35047ab033
[ "MIT" ]
1
2022-03-30T20:31:18.000Z
2022-03-30T20:31:18.000Z
src/infra/factories/rest_repository_factory.py
marcelinoavelar/github-monitor
e0f850d05d1eaa7561eb3c838ae3cc35047ab033
[ "MIT" ]
null
null
null
from abc import ABC from src.domanin.factories.repository_factory import RepositoryFactory from src.infra.repositories.rest.github_data_rest_repository import GithubDataRestRepository from src.infra.repositories.rest.schedule_rest_repository import ScheduleJsonRepository class RestRepositoryFactory(RepositoryFactory...
31.705882
92
0.820037
53
539
8.169811
0.433962
0.048499
0.055427
0.110855
0.12933
0
0
0
0
0
0
0
0.12616
539
16
93
33.6875
0.919321
0
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0.363636
0.181818
0.818182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
973f92f26102c597df6a741cf04806779ca26948
956
py
Python
scripts/scrape.py
sobostion/IG-reverse
acb914253e35bb5588b15d9ac169dcbd13833971
[ "MIT" ]
null
null
null
scripts/scrape.py
sobostion/IG-reverse
acb914253e35bb5588b15d9ac169dcbd13833971
[ "MIT" ]
null
null
null
scripts/scrape.py
sobostion/IG-reverse
acb914253e35bb5588b15d9ac169dcbd13833971
[ "MIT" ]
null
null
null
#!/usr/bin/python # usage: python search.py <IG username> import sys import requests from bs4 import BeautifulSoup import urllib2 import re import json test_link = "https://www.google.com/searchbyimage?&image_url=https://scontent-iad3-1.cdninstagram.com/vp/63d07260370df51f9160551f3e800185/5AF88680/t51.2885-15/e35/2...
43.454545
453
0.873431
93
956
8.827957
0.752688
0.019488
0.034105
0
0
0
0
0
0
0
0
0.177118
0.049163
956
21
454
45.52381
0.726073
0.057531
0
0
0
0.166667
0.719689
0
0
0
0
0
0
0
null
null
0
0.5
null
null
0.083333
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
1
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
3
97606bfba680da74ee543b3ac40d4aeb418faf69
21,045
py
Python
rtk/hardware/component/resistor/fixed/Wirewound.py
rakhimov/rtk
adc35e218ccfdcf3a6e3082f6a1a1d308ed4ff63
[ "BSD-3-Clause" ]
null
null
null
rtk/hardware/component/resistor/fixed/Wirewound.py
rakhimov/rtk
adc35e218ccfdcf3a6e3082f6a1a1d308ed4ff63
[ "BSD-3-Clause" ]
null
null
null
rtk/hardware/component/resistor/fixed/Wirewound.py
rakhimov/rtk
adc35e218ccfdcf3a6e3082f6a1a1d308ed4ff63
[ "BSD-3-Clause" ]
2
2020-04-03T04:14:42.000Z
2021-02-22T05:30:35.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # # rtk.hardware.component.resistor.fixed.Wirewound.py is part of the RTK # Project # # All rights reserved. # Copyright 2007 - 2017 Andrew Rowland andrew.rowland <AT> reliaqual <DOT> com # # Redistribution and use in source and binary forms, with or without # ...
41.922311
87
0.53186
2,987
21,045
3.653833
0.121527
0.036284
0.040407
0.041415
0.752886
0.732637
0.711288
0.693513
0.649258
0.647059
0
0.114075
0.328534
21,045
501
88
42.005988
0.658269
0.338608
0
0.5
0
0
0.032375
0.002123
0
0
0
0.003992
0
1
0.040323
false
0
0.048387
0
0.197581
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
0
0
0
0
0
0
3
977258c0034beba563dc5e0a6c129c209d3a7adb
1,171
py
Python
main_direct_child.py
Volkova-Natalia/python_abstract_class_variables_example
66ac2f7646f6150e4f41b62d161fb379744e4f39
[ "MIT" ]
null
null
null
main_direct_child.py
Volkova-Natalia/python_abstract_class_variables_example
66ac2f7646f6150e4f41b62d161fb379744e4f39
[ "MIT" ]
null
null
null
main_direct_child.py
Volkova-Natalia/python_abstract_class_variables_example
66ac2f7646f6150e4f41b62d161fb379744e4f39
[ "MIT" ]
null
null
null
""" A direct child HAS TO define required class variables (pseudo "abstract"). """ class ClassWithAbstractVariables(object): @classmethod def __init_subclass__(cls): required_class_variables = [ 'abstract_class_variables_0', 'abstract_class_variables_1', 'abstract_...
29.275
103
0.69257
118
1,171
6.398305
0.330508
0.222517
0.262252
0.091391
0.287417
0.287417
0.287417
0.287417
0.287417
0.203974
0
0.013378
0.233988
1,171
39
104
30.025641
0.828317
0.319385
0
0.136364
0
0
0.177546
0.101828
0
0
0
0
0
1
0.045455
false
0.136364
0
0
0.318182
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
977d42e7ca844d53c6a215204b7d8a5ff0d065e2
346
py
Python
dynamic programing/change_dp.py
younes-assou/some-data-structures-and-algos
0ac46380d703d9bb58a4dcf5b03558973ff2ad99
[ "MIT" ]
null
null
null
dynamic programing/change_dp.py
younes-assou/some-data-structures-and-algos
0ac46380d703d9bb58a4dcf5b03558973ff2ad99
[ "MIT" ]
null
null
null
dynamic programing/change_dp.py
younes-assou/some-data-structures-and-algos
0ac46380d703d9bb58a4dcf5b03558973ff2ad99
[ "MIT" ]
null
null
null
import math def get_change(m, denominations=[1,3,4], memo={}): #write your code here if m in memo: return memo[m] if m<0: return math.inf if m==0: return 0 memo[m] = min(get_change(m-denominations[0])+1,get_change(m-denominations[1])+1,get_change(m-denominations[2])+1) return memo[m] m = int(inp...
34.6
117
0.66763
64
346
3.53125
0.390625
0.199115
0.221239
0.40708
0.323009
0
0
0
0
0
0
0.041379
0.16185
346
10
118
34.6
0.737931
0.057803
0
0
0
0
0
0
0
0
0
0.1
0
1
0.111111
false
0
0.111111
0
0.333333
0.111111
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
1
0
0
0
0
0
0
0
0
0
0
3
977fdeb278aee5c2843254083b77ca89cc2ce6fe
19
py
Python
dogebuild_fpc/__init__.py
dogebuild/dogebuild-fpc
8b061cfe25d22ecb49d792a4e4b1bd5f773a7e51
[ "MIT" ]
null
null
null
dogebuild_fpc/__init__.py
dogebuild/dogebuild-fpc
8b061cfe25d22ecb49d792a4e4b1bd5f773a7e51
[ "MIT" ]
null
null
null
dogebuild_fpc/__init__.py
dogebuild/dogebuild-fpc
8b061cfe25d22ecb49d792a4e4b1bd5f773a7e51
[ "MIT" ]
null
null
null
__author__ = 'kir'
9.5
18
0.684211
2
19
4.5
1
0
0
0
0
0
0
0
0
0
0
0
0.157895
19
1
19
19
0.5625
0
0
0
0
0
0.157895
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9783fca2dbabb59f33769ff174e176227eafec8c
220
py
Python
src/deploy/builder/stacks/admin.py
werelaxe/drapo
5f78da735819200f0e7efa6a5e6b3b45ba6e0d4b
[ "MIT" ]
null
null
null
src/deploy/builder/stacks/admin.py
werelaxe/drapo
5f78da735819200f0e7efa6a5e6b3b45ba6e0d4b
[ "MIT" ]
null
null
null
src/deploy/builder/stacks/admin.py
werelaxe/drapo
5f78da735819200f0e7efa6a5e6b3b45ba6e0d4b
[ "MIT" ]
null
null
null
from django.contrib import admin from . import models class StackAdmin(admin.ModelAdmin): list_display = ('name', 'status', 'error_text', 'context', 'download_url') admin.site.register(models.Stack, StackAdmin)
20
78
0.740909
27
220
5.925926
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.127273
220
10
79
22
0.833333
0
0
0
0
0
0.177273
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
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
3
979b934b57180cfe73a1e57dbb59cdf300e41582
343
py
Python
examples/django/0_drf_base_no_db/example_app/views.py
e-kor/yappa
1ea3c4e6a5ffb7a3fbd02d810a62f73a13b9d649
[ "MIT" ]
41
2021-07-15T14:54:16.000Z
2022-03-26T10:59:40.000Z
examples/django/0_drf_base_no_db/example_app/views.py
e-kor/yappa
1ea3c4e6a5ffb7a3fbd02d810a62f73a13b9d649
[ "MIT" ]
29
2021-08-04T08:04:26.000Z
2021-08-19T09:50:30.000Z
examples/django/0_drf_base_no_db/example_app/views.py
e-kor/yappa
1ea3c4e6a5ffb7a3fbd02d810a62f73a13b9d649
[ "MIT" ]
3
2021-07-23T14:56:40.000Z
2022-03-24T16:09:55.000Z
from django.db import connection from rest_framework.decorators import api_view from rest_framework.response import Response @api_view() def root(request): return Response({"message": "Hello, from Yappa!", "next step": "go to the next example: " "connect you ...
31.181818
69
0.641399
40
343
5.4
0.7
0.074074
0.157407
0
0
0
0
0
0
0
0
0
0.271137
343
10
70
34.3
0.864
0
0
0
0
0
0.259475
0
0
0
0
0
0
1
0.125
false
0
0.375
0.125
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
97a55329595ecfe4821d9aa4c929ccae964b38fa
3,761
py
Python
collections_loops.py
grzegorzwojdyga/SDA_excercises_3
83d47dfff97186254e39d2219b946f9cb31a036b
[ "MIT" ]
null
null
null
collections_loops.py
grzegorzwojdyga/SDA_excercises_3
83d47dfff97186254e39d2219b946f9cb31a036b
[ "MIT" ]
null
null
null
collections_loops.py
grzegorzwojdyga/SDA_excercises_3
83d47dfff97186254e39d2219b946f9cb31a036b
[ "MIT" ]
null
null
null
def task1(s): """ Function which receives a sequence of comma-separated numbers and generate a list and a tuple which contains every number Input: string with comma separated numbers Output: list and tuple with all the numbers """ pass def task2(): """ Function which receives a se...
23.216049
133
0.645573
565
3,761
4.277876
0.277876
0.034754
0.023169
0.034754
0.519239
0.473728
0.465039
0.413322
0.413322
0.391394
0
0.023486
0.275459
3,761
161
134
23.360248
0.863486
0.756714
0
0.40625
1
0
0.015038
0
0
0
0
0
0
1
0.4375
false
0.40625
0
0
0.4375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
97aa12a332ccb90915beee0fbbc02c5b1e6f7be1
809
py
Python
sqlite_dissect/file/journal/jounal.py
Defense-Cyber-Crime-Center/sqlite-dissect
e1a6c19928bc092bf7aeaff71072634f77a452ea
[ "MIT" ]
12
2021-10-21T21:23:51.000Z
2022-03-13T03:01:53.000Z
sqlite_dissect/file/journal/jounal.py
hartescout/sqlite-dissect
c4cd1047837a8bc6bbfa69f448149d046a7cc703
[ "MIT" ]
21
2021-09-13T17:00:33.000Z
2022-03-31T12:56:56.000Z
sqlite_dissect/file/journal/jounal.py
hartescout/sqlite-dissect
c4cd1047837a8bc6bbfa69f448149d046a7cc703
[ "MIT" ]
1
2021-10-21T22:00:07.000Z
2021-10-21T22:00:07.000Z
from re import sub from sqlite_dissect.constants import FILE_TYPE from sqlite_dissect.file.file_handle import FileHandle """ journal.py This script holds the class to parse the rollback journal file. This script holds the following object(s): RollbackJournal(object) """ class RollbackJournal(object): def __...
24.515152
103
0.698393
104
809
5.153846
0.403846
0.074627
0.063433
0.067164
0
0
0
0
0
0
0
0
0.184178
809
32
104
25.28125
0.812121
0
0
0
0
0
0.039634
0
0
0
0
0
0
1
0.285714
false
0
0.214286
0.142857
0.785714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
97ac51c2848f660af486a16579c5dc13497a5b73
160
py
Python
main.py
vehne/Maiwagen
fb385d840fee298d073ab07306277ed3d3c5fea8
[ "MIT" ]
null
null
null
main.py
vehne/Maiwagen
fb385d840fee298d073ab07306277ed3d3c5fea8
[ "MIT" ]
null
null
null
main.py
vehne/Maiwagen
fb385d840fee298d073ab07306277ed3d3c5fea8
[ "MIT" ]
null
null
null
import kivy kivy.require('1.10.0') # Aktuell verwendete Kivy Version from kivy.app import App meineAnwendung=App() print(meineAnwendung) meineAnwendung.run()
20
57
0.7875
22
160
5.727273
0.636364
0
0
0
0
0
0
0
0
0
0
0.027972
0.10625
160
8
58
20
0.853147
0.19375
0
0
0
0
0.046875
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
97bb092103a61f5af6ea9b2379b345b4e8352674
17,917
py
Python
src/botModerationCommands.py
ScrappyCocco/ScroccoDiscordBot
4af8a7202032ebe6faaf1e899edf60c2b0a7d8b3
[ "MIT" ]
1
2018-06-27T13:59:27.000Z
2018-06-27T13:59:27.000Z
src/botModerationCommands.py
ScrappyCocco/ScroccoDiscordBot
4af8a7202032ebe6faaf1e899edf60c2b0a7d8b3
[ "MIT" ]
6
2019-03-12T15:07:36.000Z
2021-06-11T17:46:24.000Z
src/botModerationCommands.py
ScrappyCocco/ScroccoDiscordBot
4af8a7202032ebe6faaf1e899edf60c2b0a7d8b3
[ "MIT" ]
null
null
null
# --------------------------------------------------------------------- # IMPORTS from discord.ext import commands import discord from botMethodsClass import BotMethods # --------------------------------------------------------------------- class BotModerationCommands(commands.Cog): """ Class with Bot 'Moder...
50.187675
119
0.542948
1,943
17,917
4.901698
0.091096
0.095548
0.077803
0.094183
0.788324
0.75273
0.711046
0.694246
0.635447
0.609618
0
0.003822
0.299101
17,917
356
120
50.328652
0.754579
0.12396
0
0.654902
0
0
0.15118
0.026101
0
0
0
0
0
1
0.011765
false
0
0.011765
0
0.121569
0.101961
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
97c4b433234dc56623e5071a69e0f921aae6acae
280
py
Python
POP1/worksheets/one/ex15/code.py
silvafj/BBK-MSCCS-2017-18
d97b0f8e7434d19a1a4006989c32c4c1deb93842
[ "MIT" ]
1
2021-12-29T19:38:56.000Z
2021-12-29T19:38:56.000Z
POP1/worksheets/one/ex15/code.py
silvafj/BBK-MSCCS-2017-18
d97b0f8e7434d19a1a4006989c32c4c1deb93842
[ "MIT" ]
null
null
null
POP1/worksheets/one/ex15/code.py
silvafj/BBK-MSCCS-2017-18
d97b0f8e7434d19a1a4006989c32c4c1deb93842
[ "MIT" ]
2
2021-04-08T22:58:03.000Z
2021-04-09T01:16:51.000Z
# Suppose the cover price of a book is $24.95, but bookstores get a 40% discount. # Shipping costs $3 for the first copy and 75 cents for each additional copy. # What is the total wholesale cost for 60 copies? print(round((24.95 - (24.95 * (40 / 100))) * 60 + 3 + 0.75 * 59, 2))
46.666667
81
0.678571
53
280
3.584906
0.716981
0.063158
0
0
0
0
0
0
0
0
0
0.148649
0.207143
280
5
82
56
0.707207
0.725
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
97d026b635066d5cf086038a8ca4235c00a5f2f4
618
py
Python
app/validator/client_validator.py
JunFuruya/Ratsnake
ff7fe7f6b56663978d2ee2d94df5d88786a0eaa7
[ "MIT" ]
null
null
null
app/validator/client_validator.py
JunFuruya/Ratsnake
ff7fe7f6b56663978d2ee2d94df5d88786a0eaa7
[ "MIT" ]
5
2018-05-17T04:03:39.000Z
2021-09-08T01:03:17.000Z
app/validator/client_validator.py
JunFuruya/Hideout
ff7fe7f6b56663978d2ee2d94df5d88786a0eaa7
[ "MIT" ]
null
null
null
# -*- coding: UTF-8 -*- from app.validator.base_validator import BaseValidator class ClientValidator(BaseValidator): def __init__(self): pass def get_error_messages(self): #self.__language_name = language_name #self.__validate() return super().get_error_messages() ...
28.090909
72
0.656958
67
618
5.597015
0.492537
0.138667
0.128
0.112
0
0
0
0
0
0
0
0.012552
0.226537
618
22
73
28.090909
0.771967
0.469256
0
0.25
0
0
0
0
0
0
0
0
0
1
0.375
false
0.25
0.125
0.125
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
3
8adb66241edd0a7ac39ba771a362637aa3498721
3,109
py
Python
commons.py
ruslanrf/LoadBus-Scheduler
8565379b5d35ec6acb802548d05786b651021e26
[ "BSD-3-Clause" ]
null
null
null
commons.py
ruslanrf/LoadBus-Scheduler
8565379b5d35ec6acb802548d05786b651021e26
[ "BSD-3-Clause" ]
null
null
null
commons.py
ruslanrf/LoadBus-Scheduler
8565379b5d35ec6acb802548d05786b651021e26
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- #burden -> n # нагрузка #bandage -> k # шина import numpy import collections class RepresentationBasic(object): """ Basic Representation of the current solution """ def __init__(self, burdens, bandage_n, zero_assignments=False, burdens_assignmts=None, band...
37.457831
121
0.664522
373
3,109
5.176944
0.211796
0.15536
0.093216
0.045572
0.14086
0.049715
0.025893
0
0
0
0
0.001699
0.242522
3,109
82
122
37.914634
0.818259
0.072371
0
0
0
0
0.042322
0.03043
0
0
0
0
0.017544
1
0.22807
false
0
0.035088
0.122807
0.508772
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c13152d4efb188b9f9014ada1985c451e4013c49
1,684
py
Python
fairways/io/syn/oracle.py
dan-win/fairways_py
771623c6f9ec40e8016b5cebb7951613d01e31f7
[ "Apache-2.0" ]
null
null
null
fairways/io/syn/oracle.py
dan-win/fairways_py
771623c6f9ec40e8016b5cebb7951613d01e31f7
[ "Apache-2.0" ]
null
null
null
fairways/io/syn/oracle.py
dan-win/fairways_py
771623c6f9ec40e8016b5cebb7951613d01e31f7
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import cx_Oracle import re from collections import namedtuple from .base import (SynDataDriver) import logging log = logging.getLogger(__name__) # RE_CONN_TEMPLATE = re.compile(r"(?:(?P<user>[^/]*)/(?P<password>[^@]*)@//)?(?P<host>[^:^/]*)(?::(?P<port>[^/|^?]*))?(?:/(?P<path>.*))?") RE_CONN_...
28.542373
138
0.625891
192
1,684
5.375
0.411458
0.017442
0.040698
0.031008
0.120155
0.075581
0.075581
0.075581
0.075581
0.075581
0
0.008996
0.207838
1,684
59
139
28.542373
0.764618
0.190024
0
0
0
0
0.083846
0.041538
0
0
0
0
0
1
0.212121
false
0.151515
0.181818
0.060606
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
0
1
0
0
3
c14aa5619a97a25dfa92cb827d5d705545efa05e
23
py
Python
main_module/__init__.py
T-R0D/Smok3_Tagg3r
87deec358a54275e440d02b2bf836550aed3b023
[ "BSD-3-Clause" ]
7
2017-03-13T17:32:26.000Z
2021-09-27T16:51:22.000Z
main_module/__init__.py
T-R0D/Smok3_Tagg3r
87deec358a54275e440d02b2bf836550aed3b023
[ "BSD-3-Clause" ]
1
2021-05-29T19:54:02.000Z
2021-05-29T19:54:52.000Z
main_module/__init__.py
T-R0D/Smok3_Tagg3r
87deec358a54275e440d02b2bf836550aed3b023
[ "BSD-3-Clause" ]
25
2016-10-18T03:31:44.000Z
2020-12-29T13:23:10.000Z
__author__ = 'Terence'
11.5
22
0.73913
2
23
6.5
1
0
0
0
0
0
0
0
0
0
0
0
0.130435
23
1
23
23
0.65
0
0
0
0
0
0.304348
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c14df36ecc98c5023fbace51e528ab56c196d926
150
py
Python
random_walk/__init__.py
NishanthVAnand/new_env_gym
6ed044e8ab9b64fb3e6b3def432609833730a60a
[ "MIT" ]
null
null
null
random_walk/__init__.py
NishanthVAnand/new_env_gym
6ed044e8ab9b64fb3e6b3def432609833730a60a
[ "MIT" ]
null
null
null
random_walk/__init__.py
NishanthVAnand/new_env_gym
6ed044e8ab9b64fb3e6b3def432609833730a60a
[ "MIT" ]
null
null
null
from gym.envs.registration import register register( id='RandomWalk-v0', entry_point='random_walk.envs:RandomWalk', timestep_limit=100, )
21.428571
46
0.746667
19
150
5.736842
0.842105
0
0
0
0
0
0
0
0
0
0
0.031008
0.14
150
7
47
21.428571
0.813953
0
0
0
0
0
0.264901
0.178808
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
c15823e6a5d56df3ed84662395def47c143a1b77
17,366
py
Python
gost/gost.py
kste/aeshash
985ee3a8a3e9853580ac1ab745b446c82c97a095
[ "MIT" ]
5
2015-10-09T22:23:50.000Z
2021-02-21T22:10:38.000Z
gost/gost.py
kste/aeshash
985ee3a8a3e9853580ac1ab745b446c82c97a095
[ "MIT" ]
null
null
null
gost/gost.py
kste/aeshash
985ee3a8a3e9853580ac1ab745b446c82c97a095
[ "MIT" ]
null
null
null
''' Created on Jan 7, 2014 @author: Stefan Koelbl ''' import random class GOST: """ A basic implementation of the round function of the GOST hash function. """ # Constant values for KeySchedule function C = [ 0xb1085bda1ecadae9ebcb2f81c0657c1f2f6a76432e45d016714eb88d7585c4fc4b7ce09192...
42.356098
139
0.578141
2,042
17,366
4.912341
0.263957
0.022331
0.020736
0.008773
0.173761
0.146247
0.128402
0.108563
0.093909
0.084937
0
0.429912
0.306576
17,366
409
140
42.459658
0.403089
0.011114
0
0.144615
0
0
0.000322
0
0
0
0.249388
0
0
0
null
null
0
0.003077
null
null
0.021538
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
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
c15d915fb2f7a1eeef57dff8cf3b37d511e45f85
665
py
Python
xue/cms/middleware/dummylang.py
team-xue/xue
e6bd9539803a2bf902f48b65a9df86356b5d46b2
[ "BSD-3-Clause" ]
1
2015-11-23T02:33:07.000Z
2015-11-23T02:33:07.000Z
xue/cms/middleware/dummylang.py
team-xue/xue
e6bd9539803a2bf902f48b65a9df86356b5d46b2
[ "BSD-3-Clause" ]
null
null
null
xue/cms/middleware/dummylang.py
team-xue/xue
e6bd9539803a2bf902f48b65a9df86356b5d46b2
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from cms.utils.i18n import get_default_language from django.conf import settings from django.core.urlresolvers import reverse from django.middleware.locale import LocaleMiddleware from django.utils import translation import re import urllib class DummyMultilingualURLMiddleware(object):...
31.666667
59
0.736842
77
665
6.207792
0.467532
0.083682
0.062762
0.09205
0
0
0
0
0
0
0
0.005618
0.196992
665
20
60
33.25
0.889513
0.031579
0
0
0
0
0.008039
0
0
0
0
0
0
1
0.1875
false
0
0.4375
0.125
0.8125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
c16c436a2613e1f0827e0c6745356317b569036c
720
py
Python
backend/flask/app/api/database/models/RandomSubscriberChallenge.py
tvdhout/twitchess
398e6390a456d432893a7e1e1c880c92cdcadf7c
[ "MIT" ]
1
2022-01-08T05:55:37.000Z
2022-01-08T05:55:37.000Z
backend/flask/app/api/database/models/RandomSubscriberChallenge.py
tvdhout/twitchess
398e6390a456d432893a7e1e1c880c92cdcadf7c
[ "MIT" ]
1
2022-01-08T05:53:49.000Z
2022-01-28T15:03:33.000Z
backend/flask/app/api/database/models/RandomSubscriberChallenge.py
tvdhout/twitchess
398e6390a456d432893a7e1e1c880c92cdcadf7c
[ "MIT" ]
null
null
null
from sqlalchemy import Column, String from app.api.database.models import Base def make_subscriber_table(name: str) -> type: """ Return a new SQLAlchemy Table object representing the lichess - twitch pairs for a certain user. """ class Pair(Base): __tablename__ = name __table_args__ = ...
32.727273
112
0.665278
90
720
5.044444
0.566667
0.079295
0
0
0
0
0
0
0
0
0
0.007194
0.227778
720
21
113
34.285714
0.809353
0.133333
0
0
0
0.076923
0.172697
0.144737
0
0
0
0
0
1
0.230769
false
0
0.153846
0.153846
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c199c98ff5160fe020b451c8358768f938abf77c
2,213
py
Python
supermamas/areas/service.py
oasalonen/supermamas
3ab2b2370de903cea614ea9dfa10ce1c0504a715
[ "Apache-2.0" ]
null
null
null
supermamas/areas/service.py
oasalonen/supermamas
3ab2b2370de903cea614ea9dfa10ce1c0504a715
[ "Apache-2.0" ]
null
null
null
supermamas/areas/service.py
oasalonen/supermamas
3ab2b2370de903cea614ea9dfa10ce1c0504a715
[ "Apache-2.0" ]
null
null
null
from flask_babel import gettext from dateutil import rrule, parser from datetime import datetime, date, timedelta from supermamas.areas.districts import District from supermamas.areas.cities import City class Service: __instance = None def __new__(cls, district_repository=None, city_repository=None): ...
30.736111
74
0.66516
256
2,213
5.402344
0.179688
0.101229
0.065076
0.045553
0.169197
0.034707
0
0
0
0
0
0
0.253502
2,213
72
75
30.736111
0.837167
0
0
0.111111
0
0
0.02981
0
0
0
0
0
0
1
0.222222
false
0
0.092593
0.111111
0.537037
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c1c2c75fd2e751b22e70beb1bfe8ea861e79916e
312
py
Python
FazCO2Monitor/main/views.py
fazerog02/FazCO2Monitor
a7ef0aba2f387ae2087e1d9458ff6156333e9421
[ "MIT" ]
null
null
null
FazCO2Monitor/main/views.py
fazerog02/FazCO2Monitor
a7ef0aba2f387ae2087e1d9458ff6156333e9421
[ "MIT" ]
null
null
null
FazCO2Monitor/main/views.py
fazerog02/FazCO2Monitor
a7ef0aba2f387ae2087e1d9458ff6156333e9421
[ "MIT" ]
null
null
null
from django.shortcuts import render from api.models import NowPPM from api.models import PPMData import datetime import matplotlib from matplotlib import pyplot # Create your views here. def home(request): nowppm = NowPPM.objects.get(id=1) return render(request, 'home.html', {'nowppm': nowppm, })
18.352941
61
0.753205
43
312
5.465116
0.581395
0.059574
0.110638
0.161702
0
0
0
0
0
0
0
0.003817
0.160256
312
16
62
19.5
0.89313
0.073718
0
0
0
0
0.052448
0
0
0
0
0
0
1
0.111111
false
0
0.666667
0
0.888889
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
0
1
0
0
3
c1f25314101c6772ba72972d1b4fe3550c91083b
787
py
Python
variable_heuristic.py
HoSzyk/Map
d22e344cab7b14494f16884f7a4f29f46b752840
[ "MIT" ]
null
null
null
variable_heuristic.py
HoSzyk/Map
d22e344cab7b14494f16884f7a4f29f46b752840
[ "MIT" ]
null
null
null
variable_heuristic.py
HoSzyk/Map
d22e344cab7b14494f16884f7a4f29f46b752840
[ "MIT" ]
null
null
null
from problem import CspProblem class BaseVariableHeuristic: def get_variables(self, problem: CspProblem): return problem.variables class NeighbourHeuristic(BaseVariableHeuristic): def get_variables(self, problem: CspProblem): return sorted(problem.variables, key=lambda x: len(problem.neighbo...
29.148148
96
0.662008
85
787
6.035294
0.4
0.077973
0.157895
0.210526
0.493177
0.493177
0.493177
0.245614
0
0
0
0.003431
0.259212
787
26
97
30.269231
0.876501
0
0
0.176471
0
0
0
0
0
0
0
0
0
1
0.176471
false
0
0.058824
0.117647
0.588235
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
0
1
1
0
0
3
de0f5660ff8481c2a4f37f981967e6c65955ffe9
818
py
Python
ssu-calculus-methods/cubic_spline.py
Imperat/SSU-Information-Security-Course
24c04cb8b4da0231d65d587e981e15b1fefc19eb
[ "Apache-2.0" ]
null
null
null
ssu-calculus-methods/cubic_spline.py
Imperat/SSU-Information-Security-Course
24c04cb8b4da0231d65d587e981e15b1fefc19eb
[ "Apache-2.0" ]
null
null
null
ssu-calculus-methods/cubic_spline.py
Imperat/SSU-Information-Security-Course
24c04cb8b4da0231d65d587e981e15b1fefc19eb
[ "Apache-2.0" ]
null
null
null
from math import sin ys = [sin(i) for i in range(1,3.14, 0.2)] xs = range(1, 3.14, 0.2) def h(k): return xs[k] - xs[k-1] def f_r(k): return (ys[k] - ys[k-1]) / h(k) lamba1 = (3 * f_r(2) - 3 * f_r(1)) / (2 * (h(1) + h(2))) delta1 = - h(2) / (2 * (h(1) + h(2))) deltas = [delta1] lambas = [lamb...
21.526316
61
0.430318
192
818
1.791667
0.171875
0.075581
0.043605
0.127907
0.27907
0.25
0.122093
0
0
0
0
0.104167
0.295844
818
37
62
22.108108
0.493056
0
0
0.076923
0
0
0
0
0
0
0
0
0
0
null
null
0
0.038462
null
null
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
a9b1e5f530f1eb2e2c4155ee70c812905ec0376e
212
py
Python
Python/Courses/Python-Tutorials.Zulkarnine-Mahmud/00.Fundamentals/02.01-Complicated-Logic.py
shihab4t/Books-Code
b637b6b2ad42e11faf87d29047311160fe3b2490
[ "Unlicense" ]
null
null
null
Python/Courses/Python-Tutorials.Zulkarnine-Mahmud/00.Fundamentals/02.01-Complicated-Logic.py
shihab4t/Books-Code
b637b6b2ad42e11faf87d29047311160fe3b2490
[ "Unlicense" ]
null
null
null
Python/Courses/Python-Tutorials.Zulkarnine-Mahmud/00.Fundamentals/02.01-Complicated-Logic.py
shihab4t/Books-Code
b637b6b2ad42e11faf87d29047311160fe3b2490
[ "Unlicense" ]
null
null
null
def complicated_logic(first, second): print(f"You passed: {first}, {second}") # return first + second * 12 - 4 * 12 number1 = 10 number2 = 3 result = complicated_logic(number1, number2) print(result)
17.666667
44
0.679245
28
212
5.071429
0.607143
0.232394
0
0
0
0
0
0
0
0
0
0.070175
0.193396
212
11
45
19.272727
0.760234
0.165094
0
0
0
0
0.165714
0
0
0
0
0
0
1
0.166667
false
0.166667
0
0
0.166667
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
a9bbe238eec765d6219021e3850498a946086afe
290
py
Python
tests/conftest.py
chadwhitacre/confidant
dd788147b355f760767cf3b9487671c67948ade3
[ "Apache-2.0" ]
1,820
2015-11-04T17:57:16.000Z
2022-03-31T16:47:24.000Z
tests/conftest.py
chadwhitacre/confidant
dd788147b355f760767cf3b9487671c67948ade3
[ "Apache-2.0" ]
186
2015-11-04T18:21:52.000Z
2022-01-14T20:31:31.000Z
tests/conftest.py
isabella232/confidant
3dac318c3e1f29bae5771084ad29a4bc121f1771
[ "Apache-2.0" ]
136
2015-11-04T19:23:14.000Z
2022-02-25T01:51:29.000Z
import pytest @pytest.fixture(autouse=True) def encrypted_settings_mock(mocker): mocker.patch('confidant.settings.encrypted_settings.secret_string', {}) mocker.patch( 'confidant.settings.encrypted_settings.decrypted_secrets', {'SESSION_SECRET': 'TEST_KEY'}, )
26.363636
75
0.731034
31
290
6.580645
0.612903
0.25
0.196078
0.27451
0.441176
0.441176
0
0
0
0
0
0
0.144828
290
10
76
29
0.822581
0
0
0
0
0
0.441379
0.365517
0
0
0
0
0
1
0.125
false
0
0.125
0
0.25
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a9c54ec758039b31ef7e9d1b505a7deab5022928
328
py
Python
vbb_backend/session/apps.py
jcelynott/backend-vbb-portal
4d5c4faab52e0e73112fb4bfd5b98ac5c5c7f795
[ "MIT" ]
3
2021-04-14T02:59:09.000Z
2021-06-08T00:17:27.000Z
vbb_backend/session/apps.py
jcelynott/backend-vbb-portal
4d5c4faab52e0e73112fb4bfd5b98ac5c5c7f795
[ "MIT" ]
81
2020-12-08T00:11:52.000Z
2021-08-09T18:13:32.000Z
vbb_backend/session/apps.py
jcelynott/backend-vbb-portal
4d5c4faab52e0e73112fb4bfd5b98ac5c5c7f795
[ "MIT" ]
5
2021-01-12T04:50:26.000Z
2021-06-04T02:00:03.000Z
from django.apps import AppConfig from django.utils.translation import gettext_lazy as _ class SessionConfig(AppConfig): name = "vbb_backend.session" verbose_name = _("Session") def ready(self): try: import vbb_backend.session.signals # noqa F401 except ImportError: ...
23.428571
59
0.670732
37
328
5.783784
0.72973
0.093458
0.158879
0
0
0
0
0
0
0
0
0.012346
0.259146
328
13
60
25.230769
0.868313
0.027439
0
0
0
0
0.082019
0
0
0
0
0
0
1
0.1
false
0.1
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
a9c61be2035b4927ebed8f0ce6053f1053a8e921
111
py
Python
ef/config/components/fields/field.py
JacobMSD/ef_python
13d785c10dd293c60ab90065c518e5afb14e5a02
[ "MIT" ]
null
null
null
ef/config/components/fields/field.py
JacobMSD/ef_python
13d785c10dd293c60ab90065c518e5afb14e5a02
[ "MIT" ]
null
null
null
ef/config/components/fields/field.py
JacobMSD/ef_python
13d785c10dd293c60ab90065c518e5afb14e5a02
[ "MIT" ]
null
null
null
__all__ = ["Field"] from ef.config.component import ConfigComponent class Field(ConfigComponent): pass
12.333333
47
0.747748
12
111
6.583333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.162162
111
8
48
13.875
0.849462
0
0
0
0
0
0.045455
0
0
0
0
0
0
1
0
false
0.25
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
e72f5c3abfd6eba31dcf3a6334d7ea2362fc6134
2,470
py
Python
db_interfacer/interfacer.py
VenkatSubramaniam/SDI
8701803f5a331dd44080eae72a64a99608157702
[ "MIT" ]
null
null
null
db_interfacer/interfacer.py
VenkatSubramaniam/SDI
8701803f5a331dd44080eae72a64a99608157702
[ "MIT" ]
2
2019-11-13T05:20:06.000Z
2019-11-13T05:34:01.000Z
db_interfacer/interfacer.py
VenkatSubramaniam/SDI
8701803f5a331dd44080eae72a64a99608157702
[ "MIT" ]
1
2019-12-12T18:30:57.000Z
2019-12-12T18:30:57.000Z
#!/usr/bin/env python # coding: utf-8 from typing import Dict import psycopg2 as pg class DBInterfacer: def __init__(self, uname: str, pword: str, db: str, port: str) -> None: self.connection, self.cursor = self._establish_postgres_connection(uname, pword, db, port) def _establish_postgres_connecti...
44.107143
140
0.614575
324
2,470
4.604938
0.308642
0.023458
0.02681
0.032172
0.293566
0.293566
0.281501
0.247989
0.225201
0.140751
0
0.002123
0.237247
2,470
55
141
44.909091
0.789809
0.103239
0
0.054054
0
0.027027
0.198459
0.024015
0
0
0
0.018182
0
1
0.216216
false
0.081081
0.054054
0
0.351351
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
0
0
0
3
e73e1231a7dbbebd9a6b46ae1a6d74595452059e
1,026
py
Python
muddery/server/statements/statement_func_set.py
dongwudanci/muddery
669fbbdb394d04995470e32e94f10d42f3387996
[ "BSD-3-Clause" ]
127
2015-04-16T15:27:59.000Z
2022-03-10T08:35:37.000Z
muddery/server/statements/statement_func_set.py
dongwudanci/muddery
669fbbdb394d04995470e32e94f10d42f3387996
[ "BSD-3-Clause" ]
14
2015-12-17T08:02:18.000Z
2022-01-30T15:15:38.000Z
muddery/server/statements/statement_func_set.py
dongwudanci/muddery
669fbbdb394d04995470e32e94f10d42f3387996
[ "BSD-3-Clause" ]
54
2015-06-23T07:27:45.000Z
2022-02-22T01:46:05.000Z
""" A statement function set holds a set of statement functions that can be used in statements. """ class BaseStatementFuncSet(object): """ A statement function set holds a set of statement functions that can be used in statements. """ def __init__(self): self.funcs = {} self.at_creat...
21.375
95
0.551657
119
1,026
4.655462
0.344538
0.184116
0.129964
0.124549
0.368231
0.270758
0.270758
0.270758
0.270758
0.270758
0
0
0.367446
1,026
47
96
21.829787
0.853621
0.448343
0
0
0
0
0
0
0
0
0
0
0
1
0.307692
false
0.076923
0
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
e76547971b03bf794f334ae41c909bfa4cbb46a9
178
py
Python
selsearch/search.py
jeertmans/selsearch
d44cc530b3af67ecc5a65584e19dac258b277e09
[ "MIT" ]
8
2022-02-15T08:39:25.000Z
2022-02-21T23:50:52.000Z
selsearch/search.py
jeertmans/selsearch
d44cc530b3af67ecc5a65584e19dac258b277e09
[ "MIT" ]
null
null
null
selsearch/search.py
jeertmans/selsearch
d44cc530b3af67ecc5a65584e19dac258b277e09
[ "MIT" ]
null
null
null
import urllib.parse import webbrowser def search_text(where, text): urlsafe = urllib.parse.quote(text) browser = webbrowser.get() browser.open(f"{where}{urlsafe}")
19.777778
38
0.713483
23
178
5.478261
0.608696
0.174603
0
0
0
0
0
0
0
0
0
0
0.157303
178
8
39
22.25
0.84
0
0
0
0
0
0.089888
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
e76b3bdf3bbf6d5fa53a0c5a4a4518393542ef33
621
py
Python
CodeWars/2019/AnagramFinder-5k.py
JLJTECH/TutorialTesting
f2dbbd49a86b3b086d0fc156ac3369fb74727f86
[ "MIT" ]
null
null
null
CodeWars/2019/AnagramFinder-5k.py
JLJTECH/TutorialTesting
f2dbbd49a86b3b086d0fc156ac3369fb74727f86
[ "MIT" ]
null
null
null
CodeWars/2019/AnagramFinder-5k.py
JLJTECH/TutorialTesting
f2dbbd49a86b3b086d0fc156ac3369fb74727f86
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 ''' Write a function that will find all the anagrams of a word from a list. You will be given two inputs a word and an array with words. You should return an array of all the anagrams or an empty array if there are none. ''' def anagrams(word, words): analis = [] for item in words: ...
32.684211
133
0.689211
98
621
4.367347
0.479592
0.077103
0.10514
0.140187
0.224299
0.102804
0
0
0
0
0
0.002045
0.21256
621
18
134
34.5
0.873211
0.429952
0
0.3
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0
0.2
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e77c84914f38913704b0ff3827bf299d1d92b856
108
py
Python
Robotix/apps/participant/utils.py
Robotix/rbtxportal
3a63f8d90adee3b7adb7d203959fbf4ad5d9488b
[ "BSD-3-Clause" ]
null
null
null
Robotix/apps/participant/utils.py
Robotix/rbtxportal
3a63f8d90adee3b7adb7d203959fbf4ad5d9488b
[ "BSD-3-Clause" ]
null
null
null
Robotix/apps/participant/utils.py
Robotix/rbtxportal
3a63f8d90adee3b7adb7d203959fbf4ad5d9488b
[ "BSD-3-Clause" ]
null
null
null
YEAR_CHOICES = ( (1,'First'), (2,'Second'), (3,'Third'), (4,'Fourth'), (5,'Fifth'), )
13.5
18
0.407407
12
108
3.583333
1
0
0
0
0
0
0
0
0
0
0
0.064935
0.287037
108
7
19
15.428571
0.493506
0
0
0
0
0
0.25
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e7803f130f9b8bb6274cf1157d46b8e72bc9d9ac
287
py
Python
dit/other/__init__.py
chebee7i/dit
59626e34c7938fddeec140522dd2a592ba4f42ef
[ "BSD-2-Clause" ]
null
null
null
dit/other/__init__.py
chebee7i/dit
59626e34c7938fddeec140522dd2a592ba4f42ef
[ "BSD-2-Clause" ]
null
null
null
dit/other/__init__.py
chebee7i/dit
59626e34c7938fddeec140522dd2a592ba4f42ef
[ "BSD-2-Clause" ]
null
null
null
""" Esoteric measures of information, typically fairly divorced from Shannon's measures. """ from .cumulative_residual_entropy import * from .extropy import extropy from .perplexity import perplexity from .renyi_entropy import renyi_entropy from .tsallis_entropy import tsallis_entropy
26.090909
74
0.832753
36
287
6.472222
0.5
0.167382
0
0
0
0
0
0
0
0
0
0
0.114983
287
10
75
28.7
0.917323
0.292683
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
e781a143b24022f2dcffe02d524452bd42cdb9f1
1,253
py
Python
flexi/xml/serializer_registry.py
netaneld122/flexi
03e564356cb3e4434cd2050624afa1a5f56bd99a
[ "MIT" ]
null
null
null
flexi/xml/serializer_registry.py
netaneld122/flexi
03e564356cb3e4434cd2050624afa1a5f56bd99a
[ "MIT" ]
null
null
null
flexi/xml/serializer_registry.py
netaneld122/flexi
03e564356cb3e4434cd2050624afa1a5f56bd99a
[ "MIT" ]
null
null
null
import lxml.etree from flexi.xml.exceptions import UnsupportedElementException from flexi.xml.exceptions import UnsupportedPythonTypeException # Utility functions for xml elements filtering def lower_dict(d): return dict((key.lower(), d[key].lower()) for key in d) def attributes_subset_of(attributes_a, attri...
26.659574
87
0.752594
161
1,253
5.652174
0.329193
0.071429
0.026374
0.048352
0.134066
0.072527
0
0
0
0
0
0
0.157223
1,253
46
88
27.23913
0.861742
0.124501
0
0.086957
0
0
0
0
0
0
0
0
0
1
0.217391
false
0
0.130435
0.130435
0.565217
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e785b3be6e87a6ac65e2125dcfad43785cdbddfd
26,003
py
Python
assignment 5/hw5/submit_hw5.py
dhruvgairola/linearAlgebra-coursera
20109133b9e53a7a38cbd17d8ca1fa1316bbf0d3
[ "MIT" ]
6
2015-09-18T02:07:21.000Z
2020-04-22T17:05:11.000Z
submit_hw5.py
tri2sing/LinearAlgebraPython
f3dde94f02f146089607eb520ebd4467becb5f9e
[ "Apache-2.0" ]
null
null
null
submit_hw5.py
tri2sing/LinearAlgebraPython
f3dde94f02f146089607eb520ebd4467becb5f9e
[ "Apache-2.0" ]
10
2015-09-05T03:54:00.000Z
2020-04-21T12:56:40.000Z
# version code 941 ######## ######## # Hi there, curious student. # # # # This submission script runs some tests on your # # code and then uploads it to Coursera for grading. # # ...
97.389513
16,294
0.588971
4,783
26,003
3.112482
0.091574
0.013703
0.0796
0.081682
0.438436
0.385235
0.331967
0.300665
0.246255
0.238732
0
0.132209
0.172442
26,003
266
16,295
97.755639
0.559598
0.022805
0
0.075758
0
0.090909
0.691828
0.28723
0
0
0
0
0
1
0.106061
false
0.065657
0.020202
0.025253
0.282828
0.050505
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
e797a7a5a91026acebbea8e62cd9af74a6081d82
130
py
Python
tests/http/conftest.py
cuenca-mx/facturapi-python
a81f0c6e350d3782f845269c12ed201a7b448a29
[ "MIT" ]
1
2022-01-13T23:17:10.000Z
2022-01-13T23:17:10.000Z
tests/http/conftest.py
cuenca-mx/facturapi-python
a81f0c6e350d3782f845269c12ed201a7b448a29
[ "MIT" ]
58
2020-12-03T00:41:13.000Z
2022-03-30T17:07:21.000Z
tests/http/conftest.py
cuenca-mx/facturapi-python
a81f0c6e350d3782f845269c12ed201a7b448a29
[ "MIT" ]
null
null
null
import pytest @pytest.fixture def facturapi_creds(monkeypatch) -> None: monkeypatch.setenv('FACTURAPI_KEY', 'some_api_key')
18.571429
55
0.769231
16
130
6
0.75
0
0
0
0
0
0
0
0
0
0
0
0.115385
130
6
56
21.666667
0.834783
0
0
0
0
0
0.192308
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
e7be6614443324013858185616d53e02b823673b
152
py
Python
data/contacts.py
MikhailDr/python_training
a30ef429eb968149285ee6b59a8e04069f62f92a
[ "Apache-2.0" ]
null
null
null
data/contacts.py
MikhailDr/python_training
a30ef429eb968149285ee6b59a8e04069f62f92a
[ "Apache-2.0" ]
null
null
null
data/contacts.py
MikhailDr/python_training
a30ef429eb968149285ee6b59a8e04069f62f92a
[ "Apache-2.0" ]
null
null
null
from model.contact import Contact testdata = [ Contact(firstname="Mikhail", lastname="Kennett"), Contact(firstname="Lily", lastname="Watson") ]
25.333333
53
0.717105
16
152
6.8125
0.6875
0.293578
0
0
0
0
0
0
0
0
0
0
0.131579
152
6
54
25.333333
0.825758
0
0
0
0
0
0.156863
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e7cdd4dc73f41ed2b84ee42ef38c2bba0c5d9e7b
168
py
Python
test/test_credit_calculator_full.py
Verstuk/pyton_for_testers
67c78ba72a201126f5808dd142e3446e587e5f83
[ "Apache-2.0" ]
null
null
null
test/test_credit_calculator_full.py
Verstuk/pyton_for_testers
67c78ba72a201126f5808dd142e3446e587e5f83
[ "Apache-2.0" ]
null
null
null
test/test_credit_calculator_full.py
Verstuk/pyton_for_testers
67c78ba72a201126f5808dd142e3446e587e5f83
[ "Apache-2.0" ]
null
null
null
from model.group import Group def test_calculator_2(app): app.credit_form_case_2(Group(loan = '100000', payment='50000', term='12')) app.session.submit()
28
79
0.702381
25
168
4.52
0.8
0
0
0
0
0
0
0
0
0
0
0.105634
0.154762
168
6
80
28
0.690141
0
0
0
0
0
0.079755
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
e7cee237e4c2e2fcc39805a7da646d27ab0850ce
169
py
Python
harness/python/ext/__init__.py
tonyfast/tidy-harness
905bb7e980d1c962a3cda97d0056ca1e2e88852a
[ "BSD-3-Clause" ]
4
2016-11-06T17:54:12.000Z
2017-03-08T13:37:20.000Z
harness/python/ext/__init__.py
tonyfast/tidy-harness
905bb7e980d1c962a3cda97d0056ca1e2e88852a
[ "BSD-3-Clause" ]
null
null
null
harness/python/ext/__init__.py
tonyfast/tidy-harness
905bb7e980d1c962a3cda97d0056ca1e2e88852a
[ "BSD-3-Clause" ]
null
null
null
# coding: utf-8 # In[3]: try: from .base import HarnessExtension except: from harness.python.ext.base import HarnessExtension __all__ = ['HarnessExtension']
14.083333
56
0.715976
20
169
5.85
0.75
0.17094
0.444444
0
0
0
0
0
0
0
0
0.014388
0.177515
169
11
57
15.363636
0.827338
0.118343
0
0
0
0
0.111111
0
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
e7dd7b060a46fd4c552b6f9a551306db94f44c9a
924
tac
Python
6 复试/2 笔试/4 编译原理/编原/hw/2015_刘智峰_PA/PA3/TestCases/S3/output/test_q2.tac
ladike/912_project
5178c1c93ac6ca30ffc72dd689f5c6932704b4ab
[ "MIT" ]
1
2022-03-02T16:05:49.000Z
2022-03-02T16:05:49.000Z
6 复试/2 笔试/4 编译原理/编原/hw/2015_刘智峰_PA/PA3/TestCases/S3/output/test_q2.tac
ladike/912_project
5178c1c93ac6ca30ffc72dd689f5c6932704b4ab
[ "MIT" ]
null
null
null
6 复试/2 笔试/4 编译原理/编原/hw/2015_刘智峰_PA/PA3/TestCases/S3/output/test_q2.tac
ladike/912_project
5178c1c93ac6ca30ffc72dd689f5c6932704b4ab
[ "MIT" ]
null
null
null
VTABLE(_Main) { <empty> Main } FUNCTION(_Main_New) { memo '' _Main_New: _T1 = 4 parm _T1 _T2 = call _Alloc _T3 = VTBL <_Main> *(_T2 + 0) = _T3 return _T2 } FUNCTION(main) { memo '' main: _T7 = 1 _T5 = _T7 _T8 = 2 _T6 = _T8 _T9 = 1 _T4 = _T9 _T10 = 3 _T1...
14.4375
30
0.508658
123
924
3.146341
0.390244
0.041344
0.036176
0.093023
0
0
0
0
0
0
0
0.216169
0.384199
924
63
31
14.666667
0.463972
0
0
0.133333
0
0
0.004334
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
99b8d573463b35d5d61ce05aadc553e07aadc157
1,182
py
Python
hierarchical_auth/admin.py
digitalemagine/django-hierarchical-auth
f7523038db62e49e5a460b602ec6b7713aafb511
[ "BSD-3-Clause" ]
1
2016-03-28T23:37:14.000Z
2016-03-28T23:37:14.000Z
hierarchical_auth/admin.py
digitalemagine/django-hierarchical-auth
f7523038db62e49e5a460b602ec6b7713aafb511
[ "BSD-3-Clause" ]
1
2020-01-21T07:59:21.000Z
2021-03-31T18:03:05.000Z
hierarchical_auth/admin.py
digitalemagine/django-hierarchical-auth
f7523038db62e49e5a460b602ec6b7713aafb511
[ "BSD-3-Clause" ]
1
2015-08-27T15:08:41.000Z
2015-08-27T15:08:41.000Z
from django.contrib import admin from django.conf import settings from django.db.models import get_model from models import Group, User # this takes care of custom users Etc. from django.contrib.auth.admin import GroupAdmin try: module_name, class_name = settings.AUTH_USER_ADMIN_CLASS.rsplit('.', 1) mod = __...
30.307692
75
0.790186
136
1,182
6.757353
0.411765
0.054407
0.055495
0.045702
0.069641
0.069641
0
0
0
0
0
0.000977
0.133672
1,182
38
76
31.105263
0.896484
0.030457
0
0.068966
0
0
0.01486
0
0
0
0
0
0
1
0
false
0.068966
0.344828
0
0.551724
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
99b8e49380df60c3065a4db1ecf679733ac5e9a8
570
py
Python
pyramid_learning_journal/routes.py
ChristopherSClosser/pyramid-learning-journal
3cd3126d24baef23c20ee75adcaf4cdc892ed71d
[ "MIT" ]
null
null
null
pyramid_learning_journal/routes.py
ChristopherSClosser/pyramid-learning-journal
3cd3126d24baef23c20ee75adcaf4cdc892ed71d
[ "MIT" ]
10
2018-03-10T18:45:50.000Z
2018-03-15T22:39:43.000Z
pyramid_learning_journal/routes.py
ChristopherSClosser/pyramid-learning-journal
3cd3126d24baef23c20ee75adcaf4cdc892ed71d
[ "MIT" ]
null
null
null
"""Define routes.""" def includeme(config): """App routes.""" config.add_static_view( 'static', 'pyramid_learning_journal:static', cache_max_age=3600 ) config.add_route('home', '/') config.add_route('detail', '/journal/{id:\d+}') config.add_route('new', '/journal/new-en...
30
64
0.612281
71
570
4.71831
0.394366
0.241791
0.334328
0.170149
0
0
0
0
0
0
0
0.008457
0.170175
570
18
65
31.666667
0.699789
0.045614
0
0
0
0
0.347092
0.166979
0
0
0
0
0
1
0.071429
false
0
0
0
0.071429
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
99c3b936df3f1f369811639c045e03aa308c0d9b
193
py
Python
python-scripts/brightness.py
niwhsa9/dwmblocks
76c617a477f2b5496f146f3f9c4e3b089a9fcebd
[ "0BSD" ]
null
null
null
python-scripts/brightness.py
niwhsa9/dwmblocks
76c617a477f2b5496f146f3f9c4e3b089a9fcebd
[ "0BSD" ]
null
null
null
python-scripts/brightness.py
niwhsa9/dwmblocks
76c617a477f2b5496f146f3f9c4e3b089a9fcebd
[ "0BSD" ]
null
null
null
import os import time max_brightness = 26666 stream = os.popen("cat /sys/class/backlight/intel_backlight/brightness") output = int(stream.read()) print(f"{int(output/max_brightness * 100)}%")
24.125
72
0.756477
28
193
5.107143
0.678571
0.181818
0
0
0
0
0
0
0
0
0
0.045714
0.093264
193
7
73
27.571429
0.771429
0
0
0
0
0
0.445596
0.378238
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
99de3cebf779065511c4dc367d298a621db5f1d9
275
py
Python
scripts/servers.py
bakketun/electrumsv
1ed5b3d5b3f7e25d742d8634258322eee616d31a
[ "MIT" ]
null
null
null
scripts/servers.py
bakketun/electrumsv
1ed5b3d5b3f7e25d742d8634258322eee616d31a
[ "MIT" ]
null
null
null
scripts/servers.py
bakketun/electrumsv
1ed5b3d5b3f7e25d742d8634258322eee616d31a
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import json import util from electrumsv.util import disable_verbose_logging from electrumsv.network import filter_version disable_verbose_logging() servers = filter_version(util.get_peers()) print(json.dumps(servers, sort_keys = True, indent = 4))
21.153846
56
0.807273
39
275
5.487179
0.641026
0.130841
0.196262
0
0
0
0
0
0
0
0
0.00813
0.105455
275
12
57
22.916667
0.861789
0.076364
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
0.142857
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
0
0
1
0
1
0
0
3
99e5160826888dd4d6b1ccad2c75cd0fc4183404
535
py
Python
Simulation/BusinessProcesses/__init__.py
AlexWorldD/NetEmbs
ea3dc5769e2feb728dac8f21ec677a9807def3df
[ "Apache-2.0" ]
1
2021-09-02T16:47:27.000Z
2021-09-02T16:47:27.000Z
Simulation/BusinessProcesses/__init__.py
AlexWorldD/NetEmbs
ea3dc5769e2feb728dac8f21ec677a9807def3df
[ "Apache-2.0" ]
null
null
null
Simulation/BusinessProcesses/__init__.py
AlexWorldD/NetEmbs
ea3dc5769e2feb728dac8f21ec677a9807def3df
[ "Apache-2.0" ]
1
2019-12-25T08:38:55.000Z
2019-12-25T08:38:55.000Z
# encoding: utf-8 __author__ = 'Aleksei Maliutin' """ __init__.py.py Created by lex at 2019-03-24. """ from BusinessProcesses.Collections import * from BusinessProcesses.Depreciation import * from BusinessProcesses.Disbursements import * from BusinessProcesses.FixedAssets import * from BusinessProcesses.GoodsDelivery i...
31.470588
52
0.828037
56
535
7.767857
0.5
0.482759
0.558621
0
0
0
0
0
0
0
0
0.01875
0.102804
535
16
53
33.4375
0.8875
0.028037
0
0
0
0
0.034335
0
0
0
0
0
0
1
0
false
0
0.909091
0
0.909091
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
99ff7840ef3d048850570e98c659a5694aeb8fda
1,033
py
Python
challenges/re/espresso/example-solution/solve.py
RTN-Team/CTF-2021-01
6a198e2a63e362f07c0d1253519e4db506a55be9
[ "CC0-1.0" ]
8
2021-01-26T20:00:07.000Z
2022-02-08T02:29:13.000Z
challenges/re/espresso/example-solution/solve.py
RTN-Team/CTF-2021-01
6a198e2a63e362f07c0d1253519e4db506a55be9
[ "CC0-1.0" ]
null
null
null
challenges/re/espresso/example-solution/solve.py
RTN-Team/CTF-2021-01
6a198e2a63e362f07c0d1253519e4db506a55be9
[ "CC0-1.0" ]
null
null
null
def decode_flag(value, alphabet): # Construct inverse alphabet. map_inv = [0]*len(alphabet) for i in range(len(alphabet)): map_inv[alphabet[i]] = i # Apply. result = bytearray() for i in range(len(value)): c = value[i] if i % 2 == 1: c -= 1 cc = map_...
44.913043
540
0.800581
71
1,033
11.535211
0.521127
0.021978
0.034188
0.026862
0.034188
0
0
0
0
0
0
0.366071
0.132623
1,033
23
541
44.913043
0.547991
0.032914
0
0
0
0
0.559237
0.554217
0
0
0
0
0
1
0.066667
false
0
0
0
0.133333
0.066667
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
821482077e4debe9a8e5c3c74a2bf366ec224351
1,233
py
Python
setup.py
JotaSe/text2emotion-library
314c8cf5bdc9e3e4ac2e8267f7c689232b2e1a34
[ "MIT" ]
30
2020-09-11T04:33:55.000Z
2022-03-24T06:58:09.000Z
setup.py
JotaSe/text2emotion-library
314c8cf5bdc9e3e4ac2e8267f7c689232b2e1a34
[ "MIT" ]
4
2021-06-29T17:07:09.000Z
2022-01-28T19:48:50.000Z
setup.py
JotaSe/text2emotion-library
314c8cf5bdc9e3e4ac2e8267f7c689232b2e1a34
[ "MIT" ]
19
2020-10-09T20:07:54.000Z
2021-12-11T11:19:52.000Z
from setuptools import setup, find_packages def readme(): with open('README.md', encoding="utf8") as f: README = f.read() return README setup( name="Text2Emotion", version="0.0.1", description="Detecting emotions behind the text, Text2Emotion package will help you to understa...
34.25
139
0.618005
135
1,233
5.57037
0.533333
0.227394
0.299202
0.31117
0.071809
0
0
0
0
0
0
0.035484
0.245742
1,233
35
140
35.228571
0.773118
0
0
0
0
0
0.525042
0.018364
0
0
0
0
0
1
0.032258
false
0
0.032258
0
0.096774
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8216e760ef0dbd3c59bf47999ab281efb1835af7
187
py
Python
blog/apps.py
suryakc/django-rest-api
949a17c7ab64ecc67075a1586248d87944f507d3
[ "MIT" ]
null
null
null
blog/apps.py
suryakc/django-rest-api
949a17c7ab64ecc67075a1586248d87944f507d3
[ "MIT" ]
null
null
null
blog/apps.py
suryakc/django-rest-api
949a17c7ab64ecc67075a1586248d87944f507d3
[ "MIT" ]
null
null
null
""" Blog App """ from django.apps import AppConfig class BlogConfig(AppConfig): """ Blog config """ default_auto_field = 'django.db.models.BigAutoField' name = 'blog'
23.375
57
0.652406
21
187
5.714286
0.809524
0
0
0
0
0
0
0
0
0
0
0
0.213904
187
7
58
26.714286
0.816327
0.112299
0
0
0
0
0.227586
0.2
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
821b431f3b9a9cc3c8f1539f5eda75278cab6ec7
339
py
Python
python/matrix/matrix.py
jjkeyser/exercism
c2c21eb04a6564d9d41c8b317ebec53d63e5a3e8
[ "MIT" ]
null
null
null
python/matrix/matrix.py
jjkeyser/exercism
c2c21eb04a6564d9d41c8b317ebec53d63e5a3e8
[ "MIT" ]
null
null
null
python/matrix/matrix.py
jjkeyser/exercism
c2c21eb04a6564d9d41c8b317ebec53d63e5a3e8
[ "MIT" ]
null
null
null
class Matrix: def __init__(self, matrix_string): self.row_string = matrix_string.splitlines() self.matrix = [[int(num) for num in row.split()] for row in self.row_string] def row(self, index): return self.matrix[index -1] def column(self, index): return [row[index -1] for r...
30.818182
84
0.643068
50
339
4.2
0.34
0.190476
0.12381
0.114286
0
0
0
0
0
0
0
0.007752
0.238938
339
10
85
33.9
0.806202
0
0
0
0
0
0
0
0
0
0
0
0
1
0.375
false
0
0
0.25
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
823b8414a5ebce717cbda2f3afcb3d67b380e0ab
182
py
Python
mundo 1/029.py
thiagofreitascarneiro/Curso-de-Python---Curso-em-Video
0342e482780b5a1c6f78cddd51d9bfad785c79fa
[ "MIT" ]
1
2021-08-04T13:21:22.000Z
2021-08-04T13:21:22.000Z
mundo 1/029.py
thiagofreitascarneiro/Curso-de-Python---Curso-em-Video
0342e482780b5a1c6f78cddd51d9bfad785c79fa
[ "MIT" ]
null
null
null
mundo 1/029.py
thiagofreitascarneiro/Curso-de-Python---Curso-em-Video
0342e482780b5a1c6f78cddd51d9bfad785c79fa
[ "MIT" ]
null
null
null
vel = int(input('digite a velocidade do carro:')) multa = (vel - 80)*7 if vel>80: print(f'MULTADO! você excedeu o limite permitido que é 80Km/h e vai pagar uma multa de {multa}')
26
97
0.692308
34
182
3.705882
0.852941
0.079365
0
0
0
0
0
0
0
0
0
0.04698
0.181319
182
6
98
30.333333
0.798658
0
0
0
0
0.25
0.638889
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
0
0
3
4134e88b2ea7ef2e868dfdd0990314fba3bb9cb3
25
py
Python
libs/__init__.py
lianwutech/datasync
cd07ac854d83b859d6bffcff85a58c44cfb7f8fb
[ "Apache-2.0" ]
1
2022-03-16T14:45:35.000Z
2022-03-16T14:45:35.000Z
libs/__init__.py
lianwutech/datasync
cd07ac854d83b859d6bffcff85a58c44cfb7f8fb
[ "Apache-2.0" ]
null
null
null
libs/__init__.py
lianwutech/datasync
cd07ac854d83b859d6bffcff85a58c44cfb7f8fb
[ "Apache-2.0" ]
null
null
null
__author__ = 'daviddeng'
12.5
24
0.76
2
25
7.5
1
0
0
0
0
0
0
0
0
0
0
0
0.12
25
1
25
25
0.681818
0
0
0
0
0
0.36
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4158da6a5412871514696eb15534b043b4cdfaa8
236
py
Python
bug-dist-not-found/setup.py
maphew/scraps
01bf3e7bb3cee0fd5691eedf787fbc134059a974
[ "MIT" ]
null
null
null
bug-dist-not-found/setup.py
maphew/scraps
01bf3e7bb3cee0fd5691eedf787fbc134059a974
[ "MIT" ]
null
null
null
bug-dist-not-found/setup.py
maphew/scraps
01bf3e7bb3cee0fd5691eedf787fbc134059a974
[ "MIT" ]
null
null
null
from setuptools import setup setup(name='my_project', version='0.1.0', packages=['my_project'], entry_points={ 'console_scripts': [ 'my_project = my_project.__main__:main' ] }, )
19.666667
52
0.555085
25
236
4.84
0.64
0.297521
0
0
0
0
0
0
0
0
0
0.018405
0.309322
236
11
53
21.454545
0.723926
0
0
0
0
0
0.342222
0.106667
0
0
0
0
0
1
0
true
0
0.1
0
0.1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
41654482609356835382912e76e6c71daf8e0c35
79
py
Python
mindware/utils/constant.py
aman-gupta-1995/Machine-Learning-Mindware
8b3050720711730520683c89949e3dbdfb168961
[ "MIT" ]
27
2021-07-19T09:03:34.000Z
2022-03-31T06:19:23.000Z
mindware/utils/constant.py
aman-gupta-1995/Machine-Learning-Mindware
8b3050720711730520683c89949e3dbdfb168961
[ "MIT" ]
4
2021-07-15T12:17:10.000Z
2022-01-26T17:16:58.000Z
mindware/utils/constant.py
aman-gupta-1995/Machine-Learning-Mindware
8b3050720711730520683c89949e3dbdfb168961
[ "MIT" ]
17
2020-05-12T20:24:50.000Z
2021-07-11T03:31:38.000Z
"""Constants used in Integer. """ MAX_INT = 2 ** 31 - 1 FAILED = -2147483646.0
15.8
29
0.632911
12
79
4.083333
1
0
0
0
0
0
0
0
0
0
0
0.234375
0.189873
79
4
30
19.75
0.53125
0.329114
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
41790ebe5f5f127599395f466cada873263fbe37
753
py
Python
vbdiar/kaldi/python_mfcc_features_extraction.py
Honghe/VBDiarization
7a7f941ecb5e97bab02aa939cd30eb7519d67e21
[ "Apache-2.0" ]
null
null
null
vbdiar/kaldi/python_mfcc_features_extraction.py
Honghe/VBDiarization
7a7f941ecb5e97bab02aa939cd30eb7519d67e21
[ "Apache-2.0" ]
null
null
null
vbdiar/kaldi/python_mfcc_features_extraction.py
Honghe/VBDiarization
7a7f941ecb5e97bab02aa939cd30eb7519d67e21
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import numpy as np import speechpy from scipy.io import wavfile from python_speech_features import mfcc class PythonMFCCFeatureExtraction(): def __init__(self): pass def audio2features(self, input_path): (rate, sig) = wavfile.read(input_path) mfcc_feat = mfcc(...
35.857143
100
0.705179
104
753
4.884615
0.615385
0.125984
0.070866
0.062992
0.15748
0.15748
0.15748
0.15748
0.15748
0.15748
0
0.031097
0.188579
753
20
101
37.65
0.800327
0.123506
0
0.142857
0
0
0.00761
0
0
0
0
0.05
0
1
0.142857
false
0.071429
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
1
0
0
3
41ad9906c1085415e4a69dffa99b0120b61435c1
103
py
Python
Programmieren_in_Python_2/NumPy_matplotlib/plot_random_numbers.py
ThomasGrafCode/EF_WF_Informatik
d875189bfdb56b5989e2aa567b8e5cf8f009585e
[ "MIT" ]
null
null
null
Programmieren_in_Python_2/NumPy_matplotlib/plot_random_numbers.py
ThomasGrafCode/EF_WF_Informatik
d875189bfdb56b5989e2aa567b8e5cf8f009585e
[ "MIT" ]
null
null
null
Programmieren_in_Python_2/NumPy_matplotlib/plot_random_numbers.py
ThomasGrafCode/EF_WF_Informatik
d875189bfdb56b5989e2aa567b8e5cf8f009585e
[ "MIT" ]
null
null
null
import numpy as np from matplotlib import pyplot as plt N = 30 y = np.random.rand(N) plt.plot(y,'bo')
14.714286
36
0.708738
21
103
3.47619
0.714286
0
0
0
0
0
0
0
0
0
0
0.023529
0.174757
103
7
37
14.714286
0.835294
0
0
0
0
0
0.019231
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
41b57894f84cea820873a10a935510ce5d26741e
2,445
py
Python
restdf/utils/exceptions.py
Mukhopadhyay/restdf
adeb6c188a20ecd9ee7eeafc12111e260072777e
[ "MIT" ]
3
2021-11-07T10:12:48.000Z
2021-11-11T07:06:25.000Z
restdf/utils/exceptions.py
Mukhopadhyay/restdf
adeb6c188a20ecd9ee7eeafc12111e260072777e
[ "MIT" ]
null
null
null
restdf/utils/exceptions.py
Mukhopadhyay/restdf
adeb6c188a20ecd9ee7eeafc12111e260072777e
[ "MIT" ]
null
null
null
""" Exceptions for RestDF """ from typing import Union, List class Error(Exception): """ Base class for exceptions in this module. """ pass class PathError(Error): """ Exception raised when there's an error in the given path. Attributes: path: Union[str, list]: Path whi...
30.5625
90
0.611043
283
2,445
4.883392
0.265018
0.071635
0.057887
0.081042
0.607091
0.568017
0.568017
0.517366
0.517366
0.456585
0
0
0.266258
2,445
79
91
30.949367
0.770346
0.350511
0
0.533333
0
0
0.301304
0.209334
0
0
0
0
0
1
0.266667
false
0.033333
0.033333
0.133333
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
41b57a8acaa54b8ec6e98947784fbd39ad2dadcd
15,100
py
Python
pysnmp-with-texts/TFTIF-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/TFTIF-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/TFTIF-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module TFTIF-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/TFTIF-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:16:16 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23...
160.638298
1,207
0.753444
1,789
15,100
6.336501
0.170486
0.010409
0.08151
0.010233
0.566426
0.425371
0.37403
0.355593
0.335127
0.335127
0
0.047173
0.102914
15,100
93
1,208
162.365591
0.78968
0.020662
0
0
0
0.282353
0.380743
0.006496
0
0
0
0
0
1
0
false
0.011765
0.094118
0
0.129412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
68bf0b03006f00f183ed52d981b3c274ac0142ec
700
py
Python
materialist/commonconstants.py
srungta/i-materialist
0899593e0de0f311ff2dd4e76900ee4bd07895d7
[ "MIT" ]
null
null
null
materialist/commonconstants.py
srungta/i-materialist
0899593e0de0f311ff2dd4e76900ee4bd07895d7
[ "MIT" ]
null
null
null
materialist/commonconstants.py
srungta/i-materialist
0899593e0de0f311ff2dd4e76900ee4bd07895d7
[ "MIT" ]
null
null
null
DATA_FOLDER = './materialist/data' TEST_FOLDER = './materialist/data/test' TRAIN_FOLDER = './materialist/data/train' VALIDATION_FOLDER = './materialist/data/validation' TEST_FILE = './materialist/data/test.json' TRAIN_FILE = './materialist/data/train.json' VALIDATION_FILE = './materialist/data/validation.json' TEST_...
35
70
0.78
82
700
6.439024
0.170732
0.340909
0.198864
0.094697
0
0
0
0
0
0
0
0
0.067143
700
19
71
36.842105
0.808576
0
0
0
0
0
0.598571
0.572857
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
68eee7aa3b47d93b19ed191e8a0f67696f548338
1,185
py
Python
AtC_Beg_Con_071-080/ABC076/C.py
yosho-18/AtCoder
50f6d5c92a01792552c31ac912ce1cd557b06fb0
[ "MIT" ]
null
null
null
AtC_Beg_Con_071-080/ABC076/C.py
yosho-18/AtCoder
50f6d5c92a01792552c31ac912ce1cd557b06fb0
[ "MIT" ]
null
null
null
AtC_Beg_Con_071-080/ABC076/C.py
yosho-18/AtCoder
50f6d5c92a01792552c31ac912ce1cd557b06fb0
[ "MIT" ]
null
null
null
import copy as cp s = input() t = input() u = list(s) v = list(t) w = cp.deepcopy(u) p = 0 q = 0 for h in range(len(u) - 1, -1, -1): if q == 1: break if v[-1] == u[h]: #w[i] = v[0] for j in range(len(v)): if (v[-1 - j] == u[h - j]) and h - j >= 0: pass ...
25.76087
77
0.291983
179
1,185
1.932961
0.195531
0.046243
0.202312
0.127168
0.549133
0.473988
0.410405
0.410405
0.317919
0.317919
0
0.05036
0.530802
1,185
46
78
25.76087
0.571942
0.054852
0
0.390244
0
0
0.014324
0
0
0
0
0
0
1
0
false
0.04878
0.02439
0
0.02439
0.04878
0
0
1
null
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3