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
e7be3b10a9544238f2c9fbb511c71f38e66dfaa5
230
py
Python
faq/urls.py
VenkataRavitejaGullapudi/StudentAnalysisSystem
8ae853e620f84906a89e8db4b45300b73665a1b3
[ "CC-BY-3.0" ]
null
null
null
faq/urls.py
VenkataRavitejaGullapudi/StudentAnalysisSystem
8ae853e620f84906a89e8db4b45300b73665a1b3
[ "CC-BY-3.0" ]
null
null
null
faq/urls.py
VenkataRavitejaGullapudi/StudentAnalysisSystem
8ae853e620f84906a89e8db4b45300b73665a1b3
[ "CC-BY-3.0" ]
null
null
null
from django.contrib import admin from django.urls import path from . import views urlpatterns = [ path('faqs1/',views.faqs,name="faqs1"), path('faqs2/',views.faqs,name="faqs2"), path('faqs/',views.faqs,name="faqs"), ]
25.555556
43
0.682609
32
230
4.90625
0.40625
0.171975
0.248408
0
0
0
0
0
0
0
0
0.020101
0.134783
230
8
44
28.75
0.768844
0
0
0
0
0
0.134783
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
e7c4cb774dd00e1984aec9b257027849aab79b80
148
py
Python
noteview/apps.py
melvinchia3636/notesdb
fb4ec1742713501be13cac0965242da1421228bd
[ "MIT" ]
null
null
null
noteview/apps.py
melvinchia3636/notesdb
fb4ec1742713501be13cac0965242da1421228bd
[ "MIT" ]
null
null
null
noteview/apps.py
melvinchia3636/notesdb
fb4ec1742713501be13cac0965242da1421228bd
[ "MIT" ]
null
null
null
from django.apps import AppConfig class NoteviewConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'noteview'
21.142857
56
0.763514
17
148
6.529412
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.148649
148
6
57
24.666667
0.880952
0
0
0
0
0
0.25
0.195946
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
99b4339f3470fe3bc7b2d8666b84bcba1277ce00
152
py
Python
Advance_Python/Files/Read_Method.py
siddharth-143/Python
293f4643a3a13e3b82d23fd8922db54dbb0f12bc
[ "MIT" ]
null
null
null
Advance_Python/Files/Read_Method.py
siddharth-143/Python
293f4643a3a13e3b82d23fd8922db54dbb0f12bc
[ "MIT" ]
null
null
null
Advance_Python/Files/Read_Method.py
siddharth-143/Python
293f4643a3a13e3b82d23fd8922db54dbb0f12bc
[ "MIT" ]
null
null
null
# Reading data from file f = open("student.txt", mode="r") data1 = f.read(2) data2 = f.read(2) print(data1) print(data2) f.close() print("complete!!!")
16.888889
33
0.657895
26
152
3.846154
0.653846
0.1
0.12
0
0
0
0
0
0
0
0
0.045113
0.125
152
9
34
16.888889
0.706767
0.144737
0
0
0
0
0.178295
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
99cf4baf6c95a6aaff3cf8d351ec7ae893cc6882
70
py
Python
cl_sii/__init__.py
fyntex/lib-cl-sii-python
b6ffb72be1f173a1d2e44b17ae5c08caf96ebf34
[ "MIT" ]
8
2020-03-07T19:58:40.000Z
2021-12-15T13:47:40.000Z
cl_sii/__init__.py
fyntex/lib-cl-sii-python
b6ffb72be1f173a1d2e44b17ae5c08caf96ebf34
[ "MIT" ]
141
2020-01-17T22:47:35.000Z
2022-03-31T18:29:47.000Z
cl_sii/__init__.py
fyntex/lib-cl-sii-python
b6ffb72be1f173a1d2e44b17ae5c08caf96ebf34
[ "MIT" ]
3
2020-03-07T20:30:02.000Z
2021-03-22T03:14:26.000Z
""" cl-sii Python lib ================= """ __version__ = '0.15.0'
7.777778
22
0.414286
8
70
3.125
0.875
0
0
0
0
0
0
0
0
0
0
0.068966
0.171429
70
8
23
8.75
0.362069
0.5
0
0
0
0
0.230769
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
99d097b475c94702a3eba3e55fbead59bc21bfe0
33,931
py
Python
sprint/sprint_main.py
jumphone/sprint
94a5e5450d73b357497fba11eef818c6cc8792aa
[ "MIT" ]
44
2018-03-09T22:22:50.000Z
2021-09-15T09:40:54.000Z
sprint/sprint_main.py
jumphone/sprint
94a5e5450d73b357497fba11eef818c6cc8792aa
[ "MIT" ]
30
2018-03-19T05:30:05.000Z
2022-01-21T06:54:45.000Z
sprint/sprint_main.py
jumphone/sprint
94a5e5450d73b357497fba11eef818c6cc8792aa
[ "MIT" ]
13
2018-06-30T10:07:02.000Z
2021-06-10T13:25:43.000Z
import subprocess,os,sys import tmp as sprint def main(): #import subprocess,os,sys print '' print "##############################################################################################" print '' print " SPRINT: SNP-free RNA editing Identification Toolkit" print "" print " ...
50.268148
317
0.580118
4,430
33,931
4.250564
0.060948
0.020712
0.024217
0.042379
0.801434
0.738874
0.664206
0.578917
0.477005
0.390972
0
0.014134
0.268103
33,931
674
318
50.34273
0.744101
0.027969
0
0.399625
0
0.028143
0.343951
0.146763
0
0
0
0
0
0
null
null
0.003752
0.003752
null
null
0.30394
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
1
0
0
0
0
0
0
0
0
3
99e9352dac6abd9f31d30082c71cf7b32b6c21eb
518
py
Python
input_handler.py
frostblooded/morse-code-teacher
f66b7405e4a218466fea1d1f57f0f2d60847d129
[ "MIT" ]
null
null
null
input_handler.py
frostblooded/morse-code-teacher
f66b7405e4a218466fea1d1f57f0f2d60847d129
[ "MIT" ]
null
null
null
input_handler.py
frostblooded/morse-code-teacher
f66b7405e4a218466fea1d1f57f0f2d60847d129
[ "MIT" ]
null
null
null
import RPi.GPIO as GPIO import time from input_reader import InputReader class InputHandler: INPUT_BUTTON_PIN = 17 END_INPUT_BUTTON_PIN = 18 def __init__(self): GPIO.setmode(GPIO.BCM) GPIO.setwarnings(False) GPIO.setup(InputHandler.INPUT_BUTTON_PIN, GPIO.IN) GP...
27.263158
94
0.706564
67
518
5.164179
0.402985
0.190751
0.242775
0.225434
0.242775
0
0
0
0
0
0
0.009901
0.220077
518
18
95
28.777778
0.846535
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.214286
0
0.642857
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
821c7807810c9e0d6cfb9da077039bd32894c4ec
158
py
Python
Modulo1/persona.py
EUD-curso-python/control_de_flujo-ipsuarezc
7c82b4b01d1d02f53984ed730904759eb5219c61
[ "MIT" ]
null
null
null
Modulo1/persona.py
EUD-curso-python/control_de_flujo-ipsuarezc
7c82b4b01d1d02f53984ed730904759eb5219c61
[ "MIT" ]
null
null
null
Modulo1/persona.py
EUD-curso-python/control_de_flujo-ipsuarezc
7c82b4b01d1d02f53984ed730904759eb5219c61
[ "MIT" ]
null
null
null
nombre = None edad = None apellido = None def nombre_completo(): return nombre + ' ' + apellido def cumplir_anios(): global edad edad += 1
14.363636
34
0.626582
19
158
5.105263
0.578947
0
0
0
0
0
0
0
0
0
0
0.008772
0.278481
158
11
35
14.363636
0.842105
0
0
0
0
0
0.006289
0
0
0
0
0
0
1
0.25
false
0
0
0.125
0.375
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
8227f0c2bbc1b7f6f12c7d2a3dd80882681f8120
11,661
py
Python
pyKMLib/SparseFormats.py
ksopyla/pyKMLib
0431a2327d823f9abf9a4f7381f66fff3cd15260
[ "MIT" ]
8
2016-11-03T14:39:28.000Z
2022-03-04T02:44:20.000Z
pyKMLib/SparseFormats.py
ksirg/pyKMLib
0431a2327d823f9abf9a4f7381f66fff3cd15260
[ "MIT" ]
1
2019-02-26T01:31:05.000Z
2019-02-26T01:31:05.000Z
pyKMLib/SparseFormats.py
ksirg/pyKMLib
0431a2327d823f9abf9a4f7381f66fff3cd15260
[ "MIT" ]
5
2017-04-17T10:07:34.000Z
2019-04-27T00:11:10.000Z
# -*- coding: utf-8 -*- """ Created on Mon Dec 30 23:07:01 2013 @author: Krszysztof Sopyła @email: krzysztofsopyla@gmail.com Module contains helper functios for conversion from dense and sparse format to sparse formats utilized in pyKMLib """ import numpy as np import scipy.sparse as sp import math ...
31.346774
100
0.617271
1,503
11,661
4.747838
0.170326
0.014714
0.019619
0.026626
0.727298
0.712024
0.689041
0.670964
0.648823
0.648823
0
0.023188
0.297316
11,661
372
101
31.346774
0.847693
0.134637
0
0.559322
0
0
0
0
0
0
0
0
0.033898
0
null
null
0
0.033898
null
null
0.008475
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
413e8228186dc276e30454bfd8a349adff67e94d
204
py
Python
security/admin.py
FelixTheC/onlineOrderForm
6f606fe7baa56e94d48278da8258b5eb33a3590d
[ "Apache-2.0" ]
null
null
null
security/admin.py
FelixTheC/onlineOrderForm
6f606fe7baa56e94d48278da8258b5eb33a3590d
[ "Apache-2.0" ]
null
null
null
security/admin.py
FelixTheC/onlineOrderForm
6f606fe7baa56e94d48278da8258b5eb33a3590d
[ "Apache-2.0" ]
1
2021-04-01T16:52:35.000Z
2021-04-01T16:52:35.000Z
from django.contrib import admin from .models import LinkHash # Register your models here. class HashAdmin(admin.ModelAdmin): list_display = ['pk', 'hash'] admin.site.register(LinkHash, HashAdmin)
20.4
40
0.759804
26
204
5.923077
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.137255
204
10
40
20.4
0.875
0.127451
0
0
0
0
0.033898
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
414c70fafe02012d0fd0da838938527686a1dbac
561
py
Python
domipy/messages/user_disconnected.py
soliveira/python-domintell
64876f9d4dae9c29f354c3cfac755c22fa980a73
[ "MIT" ]
null
null
null
domipy/messages/user_disconnected.py
soliveira/python-domintell
64876f9d4dae9c29f354c3cfac755c22fa980a73
[ "MIT" ]
null
null
null
domipy/messages/user_disconnected.py
soliveira/python-domintell
64876f9d4dae9c29f354c3cfac755c22fa980a73
[ "MIT" ]
null
null
null
""" Session opened Message :author: Zilvinas Binisevicius <zilvinas@binis.me> """ import json import domipy class UserDisconnected(domipy.Message): """ Session opened message """ def __init__(self): domipy.Message.__init__(self) self.moduleType = 'User database empty. Connect first w...
20.777778
78
0.634581
60
561
5.716667
0.583333
0.075802
0.116618
0
0
0
0
0
0
0
0
0
0.262032
561
26
79
21.576923
0.828502
0.196078
0
0
0
0
0.123457
0
0
0
0
0
0
1
0.272727
false
0.090909
0.181818
0
0.636364
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
41545da9a9fb1030022f2129aa410d3dac49dd39
528
py
Python
src/dataset/simpledataset.py
k-timy/snn_pytorch
db13b68dd9dd92d624a60ad6af9776e06ebfbed3
[ "MIT" ]
null
null
null
src/dataset/simpledataset.py
k-timy/snn_pytorch
db13b68dd9dd92d624a60ad6af9776e06ebfbed3
[ "MIT" ]
null
null
null
src/dataset/simpledataset.py
k-timy/snn_pytorch
db13b68dd9dd92d624a60ad6af9776e06ebfbed3
[ "MIT" ]
null
null
null
""" Author: Kourosh T. Baghaei April 2021 """ from torch.utils.data import Dataset import torch class SimpleDataset(Dataset): def __init__(self, x_values, y_values, out_shape): self.X = x_values self.y = y_values self.out_shape = out_shape def __len__(self): return (len(self.X...
24
91
0.645833
73
528
4.369863
0.438356
0.062696
0.075235
0.106583
0
0
0
0
0
0
0
0.014888
0.236742
528
21
92
25.142857
0.776675
0.070076
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.166667
0.166667
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
0
0
1
1
0
0
3
416467d9dc9d4e44715f1179d43919d1d7074373
78
py
Python
python/ql/test/experimental/dataflow/basic/test.py
vadi2/codeql
a806a4f08696d241ab295a286999251b56a6860c
[ "MIT" ]
4
2021-10-31T07:52:06.000Z
2021-11-02T02:11:19.000Z
python/ql/test/experimental/dataflow/basic/test.py
vadi2/codeql
a806a4f08696d241ab295a286999251b56a6860c
[ "MIT" ]
1
2021-01-25T12:51:41.000Z
2021-01-25T12:51:41.000Z
python/ql/test/experimental/dataflow/basic/test.py
vadi2/codeql
a806a4f08696d241ab295a286999251b56a6860c
[ "MIT" ]
2
2021-01-15T11:54:32.000Z
2021-01-15T11:58:24.000Z
def obfuscated_id(x): y = x z = y return z a = 42 b = obfuscated_id(a)
9.75
21
0.589744
16
78
2.75
0.625
0.545455
0
0
0
0
0
0
0
0
0
0.036364
0.294872
78
7
22
11.142857
0.763636
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
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
417c9eb5519889901581ba1fbdfc59faa7988d4e
141
py
Python
pbappend/data.py
NFI-Engineering/pdappend
2a1393e7f017be9f3228ad132d8571bc018b5993
[ "MIT" ]
null
null
null
pbappend/data.py
NFI-Engineering/pdappend
2a1393e7f017be9f3228ad132d8571bc018b5993
[ "MIT" ]
4
2022-02-22T23:12:47.000Z
2022-02-23T05:11:13.000Z
pbappend/data.py
NFI-Engineering/pdappend
2a1393e7f017be9f3228ad132d8571bc018b5993
[ "MIT" ]
null
null
null
from enum import Enum class FileExtension(str, Enum): """File extension data.""" Csv = ".csv" Xls = ".xls" Xlsx = ".xlsx"
14.1
31
0.567376
17
141
4.705882
0.705882
0
0
0
0
0
0
0
0
0
0
0
0.269504
141
9
32
15.666667
0.776699
0.141844
0
0
0
0
0.113043
0
0
0
0
0
0
1
0
false
0
0.2
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
417e54f190504d038651344605b90d74b38128dd
133
py
Python
pygdpr/policies/default_gdpr_path_policy/__init__.py
GDPRxiv/crawler
178ef9ff6c3641ba8b761a49e42c2579e453c1ca
[ "MIT" ]
null
null
null
pygdpr/policies/default_gdpr_path_policy/__init__.py
GDPRxiv/crawler
178ef9ff6c3641ba8b761a49e42c2579e453c1ca
[ "MIT" ]
2
2022-02-19T06:56:03.000Z
2022-02-19T07:00:00.000Z
pygdpr/policies/default_gdpr_path_policy/__init__.py
GDPRxiv/crawler
178ef9ff6c3641ba8b761a49e42c2579e453c1ca
[ "MIT" ]
null
null
null
import os class DefaultGDPRPathPolicy: def get(self): gdpr_path = os.path.abspath('/tmp/gpdr') return gdpr_path
19
48
0.661654
17
133
5.058824
0.764706
0.186047
0
0
0
0
0
0
0
0
0
0
0.240602
133
6
49
22.166667
0.851485
0
0
0
0
0
0.067669
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
68be4c4d6ae4e6116ef7d1acbdabc20ba6c5fad7
5,595
py
Python
phoenix/providers/file_node_provider.py
ThoughtWorksInc/Phoenix
b1fa1e53699dd218953f8964f3ddaba645b5b2b5
[ "Apache-2.0" ]
2
2015-01-13T22:13:39.000Z
2021-05-21T11:16:44.000Z
phoenix/providers/file_node_provider.py
ThoughtWorksInc/Phoenix
b1fa1e53699dd218953f8964f3ddaba645b5b2b5
[ "Apache-2.0" ]
null
null
null
phoenix/providers/file_node_provider.py
ThoughtWorksInc/Phoenix
b1fa1e53699dd218953f8964f3ddaba645b5b2b5
[ "Apache-2.0" ]
null
null
null
# Copyright 2012 ThoughtWorks, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
30.911602
137
0.638606
756
5,595
4.494709
0.227513
0.040024
0.026486
0.042378
0.24073
0.142142
0.116245
0.075927
0.075927
0.075927
0
0.004961
0.243432
5,595
180
138
31.083333
0.797779
0.098481
0
0.258065
0
0
0.080517
0.029225
0
0
0
0
0
1
0.274194
false
0.040323
0.040323
0.129032
0.516129
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
68c4c417e3b4bbb07495a2a532c92c2b4a2e2c92
657
py
Python
src/keenon/account/tests/test_views.py
SoftEngProjects-RapidSoft/Keen-On
e7ce8403bf5e5f3613b292dfbe29fde30baa48fb
[ "MIT" ]
null
null
null
src/keenon/account/tests/test_views.py
SoftEngProjects-RapidSoft/Keen-On
e7ce8403bf5e5f3613b292dfbe29fde30baa48fb
[ "MIT" ]
null
null
null
src/keenon/account/tests/test_views.py
SoftEngProjects-RapidSoft/Keen-On
e7ce8403bf5e5f3613b292dfbe29fde30baa48fb
[ "MIT" ]
null
null
null
from django.test import TestCase from django.urls import reverse from django.contrib.auth.models import User from account.models import Customer ''' class TestRegister(TestCase): def setUp(self): user = User.objects.create(username="nevzat", password="123", ...
34.578947
70
0.57382
66
657
5.590909
0.681818
0.081301
0
0
0
0
0
0
0
0
0
0.013793
0.3379
657
19
71
34.578947
0.834483
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
68d75d33fbcc9d0a55aa3e1c7900862664a11a15
217
py
Python
Algorithms/49.group-anagrams/group-anagrams.py
OctopusLian/leetcode-solutions
40920d11c584504e805d103cdc6ef3f3774172b3
[ "MIT" ]
1
2020-12-01T18:35:24.000Z
2020-12-01T18:35:24.000Z
Algorithms/49.group-anagrams/group-anagrams.py
OctopusLian/leetcode-solutions
40920d11c584504e805d103cdc6ef3f3774172b3
[ "MIT" ]
18
2020-11-10T05:48:29.000Z
2020-11-26T08:39:20.000Z
Algorithms/49.group-anagrams/group-anagrams.py
OctopusLian/leetcode-solutions
40920d11c584504e805d103cdc6ef3f3774172b3
[ "MIT" ]
5
2020-11-09T07:43:00.000Z
2021-12-02T14:59:37.000Z
class Solution: def groupAnagrams(self, strs: List[str]) -> List[List[str]]: dic = collections.defaultdict(list) for s in strs : dic["".join(sorted(s))].append(s) return list(dic.values())
36.166667
64
0.617512
29
217
4.62069
0.655172
0.104478
0
0
0
0
0
0
0
0
0
0
0.21659
217
5
65
43.4
0.788235
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.6
0
1
0
0
null
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
68db125e312381492d627a7b0a807560a3fb15ba
347
py
Python
crazy_chat_app/frontend/urls.py
woodsman1/Crazy-Chat-App
df99e0605c4fe53b28c8f5eb9666ecf66a6ddea2
[ "MIT" ]
3
2021-03-11T11:00:55.000Z
2021-03-15T04:50:49.000Z
crazy_chat_app/frontend/urls.py
woodsman1/Crazy-Chat-App
df99e0605c4fe53b28c8f5eb9666ecf66a6ddea2
[ "MIT" ]
null
null
null
crazy_chat_app/frontend/urls.py
woodsman1/Crazy-Chat-App
df99e0605c4fe53b28c8f5eb9666ecf66a6ddea2
[ "MIT" ]
1
2021-03-11T11:01:34.000Z
2021-03-11T11:01:34.000Z
from django.urls import path from rest_framework.authtoken import views from .views import * app_name = "frontend" urlpatterns = [ path("", index, name='index'), path("login/", index, name='index'), path("sign-up/", index, name='index'), path("logout/", index, name='index'), path("create-room/", i...
24.785714
46
0.636888
44
347
4.977273
0.454545
0.205479
0.319635
0.328767
0
0
0
0
0
0
0
0
0.172911
347
14
47
24.785714
0.763066
0
0
0
0
0
0.189655
0
0
0
0
0
0
1
0
false
0
0.272727
0
0.272727
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
68e2c3ef57aba606645c6e2f3c5bbe4a22e84b66
4,963
py
Python
kernel/tr/ft/iswc.py
TonnyRed/sedna
06ff5a13a16f2d820d3cf0ce579df23f03a59eda
[ "ECL-2.0", "Apache-2.0" ]
14
2015-09-06T10:17:02.000Z
2021-12-14T22:39:25.000Z
kernel/tr/ft/iswc.py
TonnyRed/sedna
06ff5a13a16f2d820d3cf0ce579df23f03a59eda
[ "ECL-2.0", "Apache-2.0" ]
1
2020-02-15T22:02:14.000Z
2020-02-17T10:30:14.000Z
kernel/tr/ft/iswc.py
TonnyRed/sedna
06ff5a13a16f2d820d3cf0ce579df23f03a59eda
[ "ECL-2.0", "Apache-2.0" ]
8
2015-07-23T05:48:20.000Z
2021-04-11T05:01:39.000Z
#!/usr/bin/env python wc_arr = [0 for x in range(0, 14000/8)] def _iswordchar(ch): return (not ( ch <= 33 or ch == ord(';') or ch == ord('-') or ch == ord('"') or ch == ord('\'') or (ch >= 35 and ch <= 38) or (ch >= 40 and ch <= 44) or (ch >= 46 and ch <= 47) or ch == 58 or (ch >= 60 and ch <= 63) ...
26.398936
97
0.520451
890
4,963
2.88427
0.338202
0.229061
0.015582
0.014024
0.024932
0.024932
0.012466
0.012466
0.012466
0.012466
0
0.292025
0.297602
4,963
187
98
26.540107
0.444349
0.00403
0
0
0
0
0.065803
0.020854
0
0
0
0
0
1
0.005848
false
0
0
0.005848
0.011696
0.064327
0
0
0
null
1
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
0
0
0
0
0
0
0
0
0
3
68f4fb07d43a15fc7c045776247f346a926c8a98
902
py
Python
theano_batch_dtw/cython_dtw.py
MilesQLi/TheanoBatchDTW
586f328e1bbf8fa6b8bc7c8aef140b01b9add7ad
[ "Apache-2.0" ]
11
2015-05-21T11:00:00.000Z
2017-07-14T14:54:55.000Z
theano_batch_dtw/cython_dtw.py
danielrenshaw/TheanoBatchDTW
586f328e1bbf8fa6b8bc7c8aef140b01b9add7ad
[ "Apache-2.0" ]
null
null
null
theano_batch_dtw/cython_dtw.py
danielrenshaw/TheanoBatchDTW
586f328e1bbf8fa6b8bc7c8aef140b01b9add7ad
[ "Apache-2.0" ]
4
2016-01-14T07:12:43.000Z
2018-01-11T04:39:44.000Z
""" Wraps a Cython implementation of DTW. We use this as a reference implementation in testing and debugging the Theano implementation. To use an alternate reference implementation you might consider altering these wrapper functions only. The Cython implementation used here, speech_dtw, can be found at https://github....
45.1
118
0.715078
117
902
5.290598
0.461538
0.116317
0.122779
0.071082
0.491115
0.38126
0.38126
0.38126
0.38126
0.38126
0
0.011331
0.217295
902
19
119
47.473684
0.865439
0.375831
0
0.25
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
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
ec0805c3e91f78fcea1f90a8dffa30072c322dbd
53
py
Python
pyMOF/data_imports/__init__.py
streetster17/pyMOF
73e0fd22190423a22f00c18c4b5f5936f3a245c4
[ "MIT" ]
null
null
null
pyMOF/data_imports/__init__.py
streetster17/pyMOF
73e0fd22190423a22f00c18c4b5f5936f3a245c4
[ "MIT" ]
null
null
null
pyMOF/data_imports/__init__.py
streetster17/pyMOF
73e0fd22190423a22f00c18c4b5f5936f3a245c4
[ "MIT" ]
null
null
null
''' Created on Feb 24, 2018 @author: danie '''
8.833333
24
0.54717
7
53
4.142857
1
0
0
0
0
0
0
0
0
0
0
0.157895
0.283019
53
5
25
10.6
0.605263
0.735849
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
6b5c0e0b081109e6bab9fcf45f5338c8912b0290
441
py
Python
forumsweats/commands/stackdandelion.py
duckiecousingaming/forum-sweats
6addf3159e59902a6905c25240bf54f8a7a00e76
[ "MIT" ]
10
2020-10-15T18:08:53.000Z
2021-12-11T13:15:05.000Z
forumsweats/commands/stackdandelion.py
duckiecousingaming/forum-sweats
6addf3159e59902a6905c25240bf54f8a7a00e76
[ "MIT" ]
59
2020-10-06T23:19:25.000Z
2022-03-06T14:16:31.000Z
forumsweats/commands/stackdandelion.py
duckiecousingaming/forum-sweats
6addf3159e59902a6905c25240bf54f8a7a00e76
[ "MIT" ]
13
2020-10-19T20:46:47.000Z
2022-03-05T20:17:40.000Z
name = 'stackdandelion' aliases = ['stackdandelions', 'fixdandelionstacking'] fix_dandelion_stacking_fixed = False async def run(message): 'Fixes dandelion stacking.' global fix_dandelion_stacking_fixed if not fix_dandelion_stacking_fixed: await message.send('Dandelion stacking has been fixed.') else: await ...
29.4
64
0.809524
55
441
6.218182
0.490909
0.397661
0.292398
0.365497
0.356725
0
0
0
0
0
0
0
0.115646
441
14
65
31.5
0.876923
0
0
0
0
0
0.333333
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
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
6b6f640f689021fd22bbdc912528940f93b6507f
253
py
Python
Exercicios de Python/Curso em video/Mundo1/Ex26.py
AbraaoLeonardo/EstudandoPython
f4378eb08d4a8d1353372e181b1974d037d6ac9c
[ "MIT" ]
null
null
null
Exercicios de Python/Curso em video/Mundo1/Ex26.py
AbraaoLeonardo/EstudandoPython
f4378eb08d4a8d1353372e181b1974d037d6ac9c
[ "MIT" ]
null
null
null
Exercicios de Python/Curso em video/Mundo1/Ex26.py
AbraaoLeonardo/EstudandoPython
f4378eb08d4a8d1353372e181b1974d037d6ac9c
[ "MIT" ]
null
null
null
frase = str(input('Digite o seu nome: ')).strip().upper() print('A frase possui {} letras A'.format(frase.count('A'))) print('A primeira letra A aparece na pocisão: ', frase.find('A')+1) print('A ultima letra A aparece na pocisão: ', frase.rfind('A')+1)
63.25
67
0.675889
43
253
3.976744
0.55814
0.105263
0.152047
0.175439
0.315789
0.315789
0
0
0
0
0
0.008969
0.118577
253
4
68
63.25
0.757848
0
0
0
0
0
0.488189
0
0
0
0
0
0
1
0
false
0
0
0
0
0.75
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
0
0
0
1
0
3
6b6f6a783021277fe7b5858b9c4d329f80fe0f5e
222
py
Python
sandbox/sandbox/catalogue/models.py
codeinthehole/foiegras
8898ad7f74bbe03c5f955229315cd3e0debf088b
[ "MIT" ]
5
2016-02-16T13:14:43.000Z
2021-08-16T16:37:17.000Z
sandbox/sandbox/catalogue/models.py
codeinthehole/foiegras
8898ad7f74bbe03c5f955229315cd3e0debf088b
[ "MIT" ]
null
null
null
sandbox/sandbox/catalogue/models.py
codeinthehole/foiegras
8898ad7f74bbe03c5f955229315cd3e0debf088b
[ "MIT" ]
null
null
null
from django.db import models class Record(models.Model): isbn = models.CharField(max_length=13, unique=True) price = models.DecimalField(decimal_places=2, max_digits=12) stock = models.PositiveIntegerField()
27.75
64
0.756757
29
222
5.689655
0.827586
0
0
0
0
0
0
0
0
0
0
0.026178
0.13964
222
7
65
31.714286
0.837696
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
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
6b85c3f35ed277ccf9680d268809a403e69b5736
85
py
Python
admin/museu/apps.py
Brunopaes/labs-chickencrud
949471fe2ab348fbfb08dcd6d2f16505b1637f7e
[ "MIT" ]
null
null
null
admin/museu/apps.py
Brunopaes/labs-chickencrud
949471fe2ab348fbfb08dcd6d2f16505b1637f7e
[ "MIT" ]
null
null
null
admin/museu/apps.py
Brunopaes/labs-chickencrud
949471fe2ab348fbfb08dcd6d2f16505b1637f7e
[ "MIT" ]
1
2020-02-17T14:46:12.000Z
2020-02-17T14:46:12.000Z
from django.apps import AppConfig class MuseuConfig(AppConfig): name = 'museu'
14.166667
33
0.741176
10
85
6.3
0.9
0
0
0
0
0
0
0
0
0
0
0
0.176471
85
5
34
17
0.9
0
0
0
0
0
0.058824
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6b90c85bc4b8dc7a71151b5425edde05c114b77e
204
py
Python
3_SmartFeed/tests/test_email.py
sai-krishna-msk/SmartFeed.ai
31e18e2baf248d79037a5ab575813109c3216dcf
[ "Apache-2.0" ]
1
2021-11-12T22:54:09.000Z
2021-11-12T22:54:09.000Z
3_SmartFeed/tests/test_email.py
sai-krishna-msk/SmartFeed.ai
31e18e2baf248d79037a5ab575813109c3216dcf
[ "Apache-2.0" ]
18
2021-02-08T20:48:35.000Z
2022-03-12T00:32:29.000Z
3_SmartFeed/tests/test_email.py
sai-krishna-msk/SmartFeed.ai
31e18e2baf248d79037a5ab575813109c3216dcf
[ "Apache-2.0" ]
null
null
null
from test_lda_data import feature_matrix, userProfile from DocRecommendor import DocRecommender obj = DocRecommender(userProfile , feature_matrix) email_data= obj.genRecommendations() print(email_data)
25.5
53
0.852941
24
204
7
0.583333
0.154762
0
0
0
0
0
0
0
0
0
0
0.093137
204
8
54
25.5
0.908108
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0.2
1
0
0
null
0
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
6bae3394d001d5b6b51e68c0071e65d3bd6fcc9e
29
py
Python
test/python/LIM2Metrics/py3/base/common/Python27_DictComp/Python27_DictComp.py
sagodiz/SonarQube-plug-in
4f8e111baecc4c9f9eaa5cd3d7ebeb1e365ace2c
[ "BSD-4-Clause" ]
20
2015-06-16T17:39:10.000Z
2022-03-20T22:39:40.000Z
test/python/LIM2Metrics/py3/base/common/Python27_DictComp/Python27_DictComp.py
sagodiz/SonarQube-plug-in
4f8e111baecc4c9f9eaa5cd3d7ebeb1e365ace2c
[ "BSD-4-Clause" ]
29
2015-12-29T19:07:22.000Z
2022-03-22T10:39:02.000Z
test/python/LIM2Metrics/py3/base/common/Python27_DictComp/Python27_DictComp.py
sagodiz/SonarQube-plug-in
4f8e111baecc4c9f9eaa5cd3d7ebeb1e365ace2c
[ "BSD-4-Clause" ]
12
2015-08-28T01:22:18.000Z
2021-09-25T08:17:31.000Z
S = {k: k for k in range(10)}
29
29
0.551724
8
29
2
0.75
0
0
0
0
0
0
0
0
0
0
0.090909
0.241379
29
1
29
29
0.636364
0
0
0
0
0
0
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
6bb54c4d362a4e49771c5b88d24e8ba8e3e60782
52
py
Python
parcellearning/pairgat/__init__.py
kristianeschenburg/parcellearning
93811f7d11c1c5583d8f541c7629dbbaa1785304
[ "BSD-3-Clause" ]
6
2017-07-03T23:11:29.000Z
2022-01-04T16:41:57.000Z
parcellearning/pairgat/__init__.py
kristianeschenburg/parcellearning
93811f7d11c1c5583d8f541c7629dbbaa1785304
[ "BSD-3-Clause" ]
null
null
null
parcellearning/pairgat/__init__.py
kristianeschenburg/parcellearning
93811f7d11c1c5583d8f541c7629dbbaa1785304
[ "BSD-3-Clause" ]
1
2018-04-24T18:01:19.000Z
2018-04-24T18:01:19.000Z
from .pairgat import PAIRGAT __all__ = ['PAIRGAT']
13
28
0.730769
6
52
5.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.153846
52
3
29
17.333333
0.772727
0
0
0
0
0
0.134615
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
6bb93d1fe70292dd0cfbfc9cf06fc9f337373655
44
py
Python
core/src/thread_classes/__init__.py
azurlane-doujin/AzurLanePaintingExtract-v1.0
ef4f25e70b3ca1b9df4304132cc7612c8f5efebb
[ "MIT" ]
144
2019-06-13T06:43:43.000Z
2022-03-29T15:07:57.000Z
core/src/thread_classes/__init__.py
Shabi1213/AzurLanePaintingExtract-v1.0
ef4f25e70b3ca1b9df4304132cc7612c8f5efebb
[ "MIT" ]
2
2020-08-02T15:08:58.000Z
2021-11-29T02:34:18.000Z
core/src/thread_classes/__init__.py
Goodjooy/ArknightsPaintingExtract
e1e6ef339c6f76cab45a26df66497126c11a21a8
[ "MIT" ]
19
2020-03-01T10:06:52.000Z
2022-02-06T13:49:26.000Z
__all__ = ["extract_thread", "quick_view"]
22
43
0.704545
5
44
5
1
0
0
0
0
0
0
0
0
0
0
0
0.113636
44
1
44
44
0.641026
0
0
0
0
0
0.55814
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
6bbfdb99949610fac23aa1169ce1369cbf3f0186
113
py
Python
examples/example.py
thumperward/stardate
a8defc12cb3d627a1b0a1507ec1757e29d184b49
[ "MIT" ]
2
2020-02-25T09:54:17.000Z
2021-02-06T02:19:43.000Z
examples/example.py
thumperward/stardate
a8defc12cb3d627a1b0a1507ec1757e29d184b49
[ "MIT" ]
null
null
null
examples/example.py
thumperward/stardate
a8defc12cb3d627a1b0a1507ec1757e29d184b49
[ "MIT" ]
1
2021-08-23T01:07:01.000Z
2021-08-23T01:07:01.000Z
from stardate import StarDate stardate2 = StarDate("2018-07-15 17:58:00", False).getStardate() print(stardate2)
22.6
64
0.769912
16
113
5.4375
0.8125
0
0
0
0
0
0
0
0
0
0
0.156863
0.097345
113
4
65
28.25
0.696078
0
0
0
0
0
0.168142
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6bceb721f8802df2d674ae266717f7eb151e6c25
7,486
py
Python
insights/parsers/tests/test_httpd_log.py
lhuett/insights-core
1c84eeffc037f85e2bbf60c9a302c83aa1a50cf8
[ "Apache-2.0" ]
121
2017-05-30T20:23:25.000Z
2022-03-23T12:52:15.000Z
insights/parsers/tests/test_httpd_log.py
lhuett/insights-core
1c84eeffc037f85e2bbf60c9a302c83aa1a50cf8
[ "Apache-2.0" ]
1,977
2017-05-26T14:36:03.000Z
2022-03-31T10:38:53.000Z
insights/parsers/tests/test_httpd_log.py
lhuett/insights-core
1c84eeffc037f85e2bbf60c9a302c83aa1a50cf8
[ "Apache-2.0" ]
244
2017-05-30T20:22:57.000Z
2022-03-26T10:09:39.000Z
from insights.tests import context_wrap from insights.parsers.httpd_log import HttpdSSLErrorLog, HttpdErrorLog from insights.parsers.httpd_log import HttpdSSLAccessLog, HttpdAccessLog from datetime import datetime SSL_ACCESS_LOG = """ 10.68.5.20 - - [29/Mar/2017:05:57:21 -0400] "GET / HTTP/1.1" 403 202 "-" "Mozilla/5...
71.295238
378
0.719343
1,301
7,486
4.077633
0.215219
0.020735
0.012253
0.017154
0.687465
0.619227
0.561357
0.509708
0.502545
0.502545
0
0.237101
0.13011
7,486
104
379
71.980769
0.577549
0.014293
0
0.25
0
0.4375
0.772715
0.059669
0
0
0
0
0.2125
1
0.075
false
0
0.05
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
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
6bd92457c95141c7d36a6bb449dbd77f42bd4637
621
py
Python
lab01/encuesta/views.py
car1os1/TECSUP-DAE-2021-2-B
263be9e52814ec96708650d4e417ab393075d74e
[ "MIT" ]
null
null
null
lab01/encuesta/views.py
car1os1/TECSUP-DAE-2021-2-B
263be9e52814ec96708650d4e417ab393075d74e
[ "MIT" ]
null
null
null
lab01/encuesta/views.py
car1os1/TECSUP-DAE-2021-2-B
263be9e52814ec96708650d4e417ab393075d74e
[ "MIT" ]
null
null
null
from django import http from django.shortcuts import render from django.http import HttpResponse, response # Create your views here. def index(request): return HttpResponse("saludos desde la vista de encuesta") def detalle(request,pregunta_id): return HttpResponse("Estas viendo la pregunta %s." %preg...
34.5
69
0.748792
80
621
5.7375
0.4375
0.130719
0.111111
0.122004
0
0
0
0
0
0
0
0
0.175523
621
18
70
34.5
0.896484
0.037037
0
0
0
0
0.237931
0
0
0
0
0
0
1
0.307692
false
0
0.230769
0.153846
0.846154
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
d43539a9149a4c702f6f24731ef931e6f70ac153
63
py
Python
semesterstat/plugins/__init__.py
Rushyanth111/Semester-Stats
5853b104870b4e9f2ed436e0251d0aec4bd6ab01
[ "BSD-2-Clause" ]
null
null
null
semesterstat/plugins/__init__.py
Rushyanth111/Semester-Stats
5853b104870b4e9f2ed436e0251d0aec4bd6ab01
[ "BSD-2-Clause" ]
30
2020-06-20T08:47:06.000Z
2021-12-13T20:49:04.000Z
semesterstat/plugins/__init__.py
Rushyanth111/Semster-Stats
5853b104870b4e9f2ed436e0251d0aec4bd6ab01
[ "BSD-2-Clause" ]
null
null
null
from .scheme import fc, fcd, sc __all__ = ["fcd", "fc", "sc"]
15.75
31
0.587302
10
63
3.3
0.7
0
0
0
0
0
0
0
0
0
0
0
0.190476
63
3
32
21
0.647059
0
0
0
0
0
0.111111
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
d487bf5f16e5268529aad6c0fd8af32aeb2cee29
1,887
py
Python
python3/naming.py
Nahid-Hassan/code-snippets
24bd4b81564887822a0801a696001fcbeb6a7a75
[ "MIT" ]
2
2020-09-29T04:09:41.000Z
2020-10-18T13:33:36.000Z
python3/naming.py
Nahid-Hassan/code-snippets
24bd4b81564887822a0801a696001fcbeb6a7a75
[ "MIT" ]
null
null
null
python3/naming.py
Nahid-Hassan/code-snippets
24bd4b81564887822a0801a696001fcbeb6a7a75
[ "MIT" ]
1
2021-12-26T04:55:55.000Z
2021-12-26T04:55:55.000Z
# Variables and Functions # Variable names names = "Python" job_title = "Software Engineer" populated_countries_list = [] # Nonmangling names _books = {} # variable name to define private __dict = [] # prevent name mangling with python in-build lib """You should use one underscore(_) as a prefix for the internal var...
24.192308
80
0.762056
293
1,887
4.764505
0.395904
0.025788
0.034384
0.049427
0.226361
0.175501
0.146132
0.095989
0.095989
0.095989
0
0.002559
0.171701
1,887
77
81
24.506494
0.890595
0.253312
0
0.352941
0
0
0.032486
0
0
0
0
0.025974
0
1
0.264706
false
0.176471
0
0
0.411765
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
2e06e2f540c32e15832c1bd25277a4a4137d539b
2,109
py
Python
hcs_sir.py
ivvaan/A-disease-spread-inhomogeneous-models
b777153a4bff80f9e229c5d03066d14a926d4f9c
[ "CC-BY-4.0" ]
null
null
null
hcs_sir.py
ivvaan/A-disease-spread-inhomogeneous-models
b777153a4bff80f9e229c5d03066d14a926d4f9c
[ "CC-BY-4.0" ]
null
null
null
hcs_sir.py
ivvaan/A-disease-spread-inhomogeneous-models
b777153a4bff80f9e229c5d03066d14a926d4f9c
[ "CC-BY-4.0" ]
null
null
null
import numpy as np from scipy.integrate import odeint modeling_period=9.0 t_step=0.003 m_t=np.arange(0.0, modeling_period+t_step, t_step,dtype=np.float64) def HCS_SIR(r0_0,I0,τ,vs0,vb0): ''' Heterogeneous in Catching and Spreading SIR model ''' def M(mu,v):return np.exp(mu+0.5*v) def a_s(mus,C...
25.107143
67
0.545282
464
2,109
2.344828
0.159483
0.038603
0.033088
0.029412
0.750919
0.733456
0.700368
0.634191
0.634191
0.631434
0
0.083824
0.27596
2,109
84
68
25.107143
0.628684
0.074917
0
0.5
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.03125
0.03125
0.25
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
2e1e89624c73fe6bc8ef4a3906832f944eb6709e
184
py
Python
deteksimandiri/forms.py
stephanusdario/temenin-isoman
ea8bce5471f137014f0b460d58487eec3358073e
[ "MIT" ]
1
2021-11-04T08:11:18.000Z
2021-11-04T08:11:18.000Z
deteksimandiri/forms.py
stephanusdario/temenin-isoman
ea8bce5471f137014f0b460d58487eec3358073e
[ "MIT" ]
1
2021-11-05T03:52:27.000Z
2021-11-05T03:52:27.000Z
deteksimandiri/forms.py
stephanusdario/temenin-isoman
ea8bce5471f137014f0b460d58487eec3358073e
[ "MIT" ]
4
2021-10-10T12:55:28.000Z
2021-10-29T18:27:42.000Z
from django.forms import ModelForm from .models import * # Create QuizForm class QuizForm(ModelForm): class Meta : model = AssessmentModel fields = "__all__"
18.4
34
0.673913
19
184
6.315789
0.736842
0
0
0
0
0
0
0
0
0
0
0
0.26087
184
10
35
18.4
0.882353
0.081522
0
0
0
0
0.041667
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
2e2fb70a47ab96c411485c95660e6062c64f83f9
250
py
Python
lib/format.py
genbogo/xssmap
7781a9201ef3c2aebbc90160da5cd4c56e9d6740
[ "MIT" ]
159
2020-08-16T10:36:02.000Z
2022-03-17T08:26:40.000Z
lib/format.py
genbogo/xssmap
7781a9201ef3c2aebbc90160da5cd4c56e9d6740
[ "MIT" ]
1
2019-11-06T01:07:50.000Z
2019-12-21T11:27:07.000Z
lib/format.py
genbogo/xssmap
7781a9201ef3c2aebbc90160da5cd4c56e9d6740
[ "MIT" ]
39
2020-08-16T18:53:49.000Z
2022-03-30T21:42:55.000Z
from data import payloads def breakline(): print("------------------------------------------------------------") def payloadReplace(llist,lvar,rvar): rlist = [] for i in llist: rlist.append(i.replace(lvar, rvar)) return rlist
27.777778
73
0.492
25
250
4.92
0.72
0.130081
0
0
0
0
0
0
0
0
0
0
0.176
250
9
74
27.777778
0.597087
0
0
0
0
0
0.239044
0.239044
0
0
0
0
0
1
0.25
false
0
0.125
0
0.5
0.125
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
2e367d4d7659640883c0c1d17451c39de44e332f
66
py
Python
pysqoop/pysqoop/__init__.py
OneCricketeer/pysqoop
616199a8441d886ffcc4111445da3d0351401454
[ "MIT" ]
9
2019-06-17T19:21:22.000Z
2021-07-12T05:14:03.000Z
pysqoop/pysqoop/__init__.py
OneCricketeer/pysqoop
616199a8441d886ffcc4111445da3d0351401454
[ "MIT" ]
5
2019-07-19T14:42:43.000Z
2020-08-06T16:55:05.000Z
pysqoop/pysqoop/__init__.py
OneCricketeer/pysqoop
616199a8441d886ffcc4111445da3d0351401454
[ "MIT" ]
14
2019-06-05T16:50:27.000Z
2021-08-05T16:36:15.000Z
name = "pysqoop" __all__= ['SqoopImport', 'SqoopJob', 'MapredJob']
33
49
0.69697
6
66
7
1
0
0
0
0
0
0
0
0
0
0
0
0.090909
66
2
49
33
0.7
0
0
0
0
0
0.522388
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
2e3cb6bd8d475759d10dfd3b59a4a4880f6f64dd
3,529
py
Python
bokeh/settings.py
mutirri/bokeh
7cc925df6676e959f02d0842c5abb8cbdfab9df7
[ "BSD-3-Clause" ]
null
null
null
bokeh/settings.py
mutirri/bokeh
7cc925df6676e959f02d0842c5abb8cbdfab9df7
[ "BSD-3-Clause" ]
null
null
null
bokeh/settings.py
mutirri/bokeh
7cc925df6676e959f02d0842c5abb8cbdfab9df7
[ "BSD-3-Clause" ]
null
null
null
from __future__ import absolute_import import logging import os from os.path import join, abspath, isdir from .util.paths import ROOT_DIR, bokehjsdir class Settings(object): _prefix = "BOKEH_" debugjs = False @property def _environ(self): return os.environ def _get(self, key, default=N...
28.92623
103
0.60102
435
3,529
4.698851
0.218391
0.047945
0.082192
0.113014
0.386497
0.350783
0.325342
0.21771
0.161448
0.161448
0
0.000791
0.283933
3,529
121
104
29.165289
0.808073
0
0
0.162791
0
0
0.073087
0
0
0
0
0
0
1
0.244186
false
0
0.05814
0.186047
0.593023
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
2e3e55c8a69a7d5bce8f0ee96970dc282ff10526
433
py
Python
papi/base.py
ctOnmNUd9V2D/papi
5573086c455085726546260bd245ac615816d20e
[ "MIT" ]
null
null
null
papi/base.py
ctOnmNUd9V2D/papi
5573086c455085726546260bd245ac615816d20e
[ "MIT" ]
4
2021-05-12T07:23:40.000Z
2021-08-02T09:08:12.000Z
papi/base.py
ctOnmNUd9V2D/papi
5573086c455085726546260bd245ac615816d20e
[ "MIT" ]
1
2021-08-02T07:20:11.000Z
2021-08-02T07:20:11.000Z
import abc from typing import TYPE_CHECKING from .contexts import APIContext, YAMLContext if TYPE_CHECKING: import papi # noqa class PapiObject(metaclass=abc.ABCMeta): papi: "papi.Papi" def to_api(self, api_context: APIContext): raise NotImplementedError(f"{self} must implement to_api") d...
24.055556
67
0.73903
56
433
5.571429
0.482143
0.076923
0.160256
0.185897
0.282051
0.282051
0.282051
0
0
0
0
0
0.180139
433
17
68
25.470588
0.878873
0.009238
0
0
0
0
0.154567
0
0
0
0
0
0
1
0.181818
false
0
0.363636
0
0.727273
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
2e73506bc4b1a92cbaf2f6b515257782a635170c
805
py
Python
tests/test_score.py
nahuelalmeira/midnight
0db716882405980e0aa8d456616277a428e7a926
[ "MIT" ]
null
null
null
tests/test_score.py
nahuelalmeira/midnight
0db716882405980e0aa8d456616277a428e7a926
[ "MIT" ]
null
null
null
tests/test_score.py
nahuelalmeira/midnight
0db716882405980e0aa8d456616277a428e7a926
[ "MIT" ]
null
null
null
import pytest from midnight.utils import InvalidScoreException, Score, score_dice class TestScore: def test_valid_score_0(self): assert Score(0) == 0 def test_valid_score_24(self): assert Score(24) == 24 def test_negative_score(self): with pytest.raises(InvalidScoreException): ...
23.676471
67
0.640994
115
805
4.243478
0.286957
0.114754
0.184426
0.114754
0.379098
0.338115
0.209016
0
0
0
0
0.058043
0.250932
805
33
68
24.393939
0.751244
0
0
0.090909
0
0
0
0
0
0
0
0
0.272727
1
0.363636
false
0
0.090909
0
0.545455
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
2e776330184eb9ed9ccd727279fb8f65b2ecb131
208
py
Python
admin/metrics/urls.py
fabmiz/osf.io
8d86af3f0a6e5388bd5b18383e68e27b65a66247
[ "Apache-2.0" ]
1
2015-10-02T18:35:53.000Z
2015-10-02T18:35:53.000Z
admin/metrics/urls.py
fabmiz/osf.io
8d86af3f0a6e5388bd5b18383e68e27b65a66247
[ "Apache-2.0" ]
5
2017-09-14T18:04:12.000Z
2017-10-03T17:43:55.000Z
admin/metrics/urls.py
fabmiz/osf.io
8d86af3f0a6e5388bd5b18383e68e27b65a66247
[ "Apache-2.0" ]
1
2019-07-16T00:14:49.000Z
2019-07-16T00:14:49.000Z
from django.conf.urls import url from django.contrib.auth.decorators import login_required as login from . import views urlpatterns = [ url(r'^$', login(views.MetricsView.as_view()), name='metrics'), ]
23.111111
67
0.740385
29
208
5.241379
0.655172
0.131579
0
0
0
0
0
0
0
0
0
0
0.129808
208
8
68
26
0.839779
0
0
0
0
0
0.043269
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
2e83d6b1434812d5d99086b573eeebc01a418e65
516
py
Python
basic/myproject/wordcount/core.py
g-sobral/google-python-exercises
308c8babaf1bcd7f4d288928ff9f70a7963e620b
[ "Apache-2.0" ]
null
null
null
basic/myproject/wordcount/core.py
g-sobral/google-python-exercises
308c8babaf1bcd7f4d288928ff9f70a7963e620b
[ "Apache-2.0" ]
null
null
null
basic/myproject/wordcount/core.py
g-sobral/google-python-exercises
308c8babaf1bcd7f4d288928ff9f70a7963e620b
[ "Apache-2.0" ]
null
null
null
from collections import Counter def load(f): return f.read() def count(content): return Counter(content.lower().split()) def asc(words): return sorted(words.items()) def top(words, qty=20): return words.most_common(qty) def lines(words): lines_ = ('{}\t\t{}'.format(*t) for t in words) retu...
20.64
51
0.668605
75
516
4.533333
0.426667
0.047059
0.1
0
0
0
0
0
0
0
0
0.004651
0.166667
516
25
52
20.64
0.786047
0
0
0
0
0
0.034816
0
0
0
0
0
0
1
0.411765
false
0
0.058824
0.294118
0.882353
0.058824
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
2e8950c07b1076ad95ec74e7e56165f0234974e4
420
py
Python
Module.py
nugycal/SomethingAwesome
cadfef61545df48b08061d5a4d3236c436a44feb
[ "MIT" ]
1
2020-04-13T05:30:20.000Z
2020-04-13T05:30:20.000Z
Module.py
nugycal/SomethingAwesome
cadfef61545df48b08061d5a4d3236c436a44feb
[ "MIT" ]
2
2021-06-08T21:17:26.000Z
2022-01-13T02:33:04.000Z
Module.py
nugycal/SomethingAwesome
cadfef61545df48b08061d5a4d3236c436a44feb
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 class Module: def __init__(self, name, method, options): self.name = name self.run = method self.hasoptions = options def processD(self, data, options): return self.run(data, options) def process(self, data): return self.run(data) def ge...
21
46
0.607143
51
420
4.921569
0.372549
0.159363
0.103586
0.135458
0
0
0
0
0
0
0
0.003367
0.292857
420
19
47
22.105263
0.841751
0.05
0
0
0
0
0
0
0
0
0
0
0
1
0.384615
false
0
0
0.307692
0.769231
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
2e91c099046a117448a0ba26ddfd1f64c223f728
5,486
py
Python
build/x86/python/m5/internal/param_RubyCache.py
billionshang/gem5
18cc4294f32315595f865d07d1f33434e92b06b2
[ "BSD-3-Clause" ]
null
null
null
build/x86/python/m5/internal/param_RubyCache.py
billionshang/gem5
18cc4294f32315595f865d07d1f33434e92b06b2
[ "BSD-3-Clause" ]
null
null
null
build/x86/python/m5/internal/param_RubyCache.py
billionshang/gem5
18cc4294f32315595f865d07d1f33434e92b06b2
[ "BSD-3-Clause" ]
null
null
null
# This file was automatically generated by SWIG (http://www.swig.org). # Version 3.0.8 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info if version_info >= (2, 6, 0): def swig_import_helper(): from os.path imp...
37.834483
153
0.73241
643
5,486
5.797823
0.22395
0.123927
0.186695
0.076717
0.337446
0.189378
0.166845
0.146459
0.104614
0.072961
0
0.004255
0.18611
5,486
144
154
38.097222
0.830683
0.041743
0
0.276786
1
0
0.044978
0
0
0
0
0
0
1
0.098214
false
0.017857
0.107143
0.026786
0.508929
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
5ceaa1724ecdc9ce4ca3072af78a95033b2a37cb
737
py
Python
pyscf/dft/vxc.py
robert-anderson/pyscf
cdc56e168cb15f47e8cdc791a92d689fa9b655af
[ "Apache-2.0" ]
2
2019-05-28T05:25:56.000Z
2019-11-09T02:16:43.000Z
pyscf/dft/vxc.py
robert-anderson/pyscf
cdc56e168cb15f47e8cdc791a92d689fa9b655af
[ "Apache-2.0" ]
2
2019-09-16T17:58:31.000Z
2019-09-22T17:26:01.000Z
pyscf/dft/vxc.py
robert-anderson/pyscf
cdc56e168cb15f47e8cdc791a92d689fa9b655af
[ "Apache-2.0" ]
2
2020-06-01T05:31:38.000Z
2022-02-08T02:38:33.000Z
# Copyright 2014-2018 The PySCF Developers. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
40.944444
83
0.765265
118
737
4.779661
0.694915
0.106383
0.046099
0.056738
0
0
0
0
0
0
0
0.02269
0.162822
737
17
84
43.352941
0.89141
0.792402
0
0
0
0
0.453237
0
0
0
0
0
0
1
0
true
0
0.666667
0
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
0
1
0
1
0
1
0
0
3
5cfaa2ddfd47ef46a0f5167886300932a4a99f9b
465
py
Python
py/system.py
j-kun/Irre-Katze-Level-Editor
b73e0a9e568b7a576ba6846b0af0a3c7fbd2c06e
[ "WTFPL" ]
null
null
null
py/system.py
j-kun/Irre-Katze-Level-Editor
b73e0a9e568b7a576ba6846b0af0a3c7fbd2c06e
[ "WTFPL" ]
null
null
null
py/system.py
j-kun/Irre-Katze-Level-Editor
b73e0a9e568b7a576ba6846b0af0a3c7fbd2c06e
[ "WTFPL" ]
null
null
null
import platform import sys osName = platform.system().lower() def isMac(): return osName == "darwin" def isLinux(): return osName == "linux" def isWindows(): return osName == "windows" def isPython2(): return sys.version_info[0] < 3 def isPython3(): return not isPython2() if __name__=='__ma...
17.222222
47
0.630108
54
465
5.259259
0.481481
0.126761
0
0
0
0
0
0
0
0
0
0.02139
0.195699
465
26
48
17.884615
0.737968
0
0
0
0
0
0.146237
0
0
0
0
0
0
1
0.294118
false
0
0.117647
0.294118
0.705882
0.176471
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
cf073e088826766d3ba4e01e3d50af614287ecfe
194
py
Python
net/wyun/blankanswer/reco_config.py
michaelyin/blankanswer-classifier
4d40a0609bfc58b3ddc9fd4105c26c3431ccf4b8
[ "MIT" ]
null
null
null
net/wyun/blankanswer/reco_config.py
michaelyin/blankanswer-classifier
4d40a0609bfc58b3ddc9fd4105c26c3431ccf4b8
[ "MIT" ]
null
null
null
net/wyun/blankanswer/reco_config.py
michaelyin/blankanswer-classifier
4d40a0609bfc58b3ddc9fd4105c26c3431ccf4b8
[ "MIT" ]
null
null
null
## DONT checkin this file; the _key is not supposed to be checked in repo _url = 'https://westus.api.cognitive.microsoft.com/vision/v1.0/RecognizeText' _key = '642c7a6347a54480b1acc929c36f50f7'
48.5
77
0.78866
27
194
5.555556
0.962963
0
0
0
0
0
0
0
0
0
0
0.138728
0.108247
194
4
78
48.5
0.728324
0.360825
0
0
0
0
0.819672
0.262295
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
cf3b06ceca05c283633144d5db476c836078b0c3
184
py
Python
CodeForces/WordCapitalization/WordCapitalization.py
GeorgianBadita/algorithmic-problems
6b260050b7a1768b5e47a1d7d4ef7138a52db210
[ "MIT" ]
1
2021-07-05T16:32:14.000Z
2021-07-05T16:32:14.000Z
CodeForces/WordCapitalization/WordCapitalization.py
GeorgianBadita/algorithmic-problems
6b260050b7a1768b5e47a1d7d4ef7138a52db210
[ "MIT" ]
null
null
null
CodeForces/WordCapitalization/WordCapitalization.py
GeorgianBadita/algorithmic-problems
6b260050b7a1768b5e47a1d7d4ef7138a52db210
[ "MIT" ]
1
2021-05-14T15:40:09.000Z
2021-05-14T15:40:09.000Z
def main(): word = input() print(''.join([word[0] if ord('A') <= ord(word[0]) <= ord( 'Z') else chr(ord(word[0]) - (ord('a') - ord('A')))] + list(word[1:]))) main()
20.444444
79
0.456522
29
184
2.896552
0.517241
0.178571
0.166667
0.261905
0
0
0
0
0
0
0
0.027972
0.222826
184
8
80
23
0.559441
0
0
0
0
0
0.021739
0
0
0
0
0
0
1
0.2
false
0
0
0
0.2
0.2
1
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cf5b99723610832084d759fc8ea233979359f49f
10,814
py
Python
shot_detector/utils/numerical.py
w495/shot_detector
617ff45c9c3c96bbd9a975aef15f1b2697282b9c
[ "BSD-3-Clause" ]
18
2015-09-27T21:34:18.000Z
2022-03-24T12:14:51.000Z
shot_detector/utils/numerical.py
w495/shot_detector
617ff45c9c3c96bbd9a975aef15f1b2697282b9c
[ "BSD-3-Clause" ]
6
2021-03-18T21:21:35.000Z
2022-03-11T23:32:55.000Z
shot_detector/utils/numerical.py
w495/shot_detector
617ff45c9c3c96bbd9a975aef15f1b2697282b9c
[ "BSD-3-Clause" ]
3
2017-09-14T20:53:26.000Z
2021-12-18T19:18:18.000Z
# -*- coding: utf8 -*- """ This is part of shot detector. Produced by w495 at 2017.05.04 04:18:27 """ from __future__ import absolute_import, division, print_function from builtins import range import numpy as np import skimage.filters def histogram(*args, **kwargs): """ :param args: :par...
28.457895
72
0.483632
1,849
10,814
2.691184
0.104381
0.203376
0.302653
0.400322
0.406953
0.301447
0.244976
0.223071
0.213826
0.213826
0
0.108948
0.339652
10,814
379
73
28.532982
0.587873
0.125116
0
0.280702
0
0
0.001665
0
0
0
0
0
0.008772
1
0.057018
false
0
0.017544
0
0.140351
0.035088
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
d8a02a54c10bc520611a0f745c00cd24f619e6bb
52
py
Python
tests-bad-syntax/assign3.py
brownplt/lambda-py
c3ee39502c8953d36b886e5a203f2eb51d2f495b
[ "Apache-2.0" ]
25
2015-04-16T04:31:49.000Z
2022-03-10T15:53:28.000Z
tests-bad-syntax/assign3.py
brownplt/lambda-py
c3ee39502c8953d36b886e5a203f2eb51d2f495b
[ "Apache-2.0" ]
1
2018-11-21T22:40:02.000Z
2018-11-26T17:53:11.000Z
tests-bad-syntax/assign3.py
brownplt/lambda-py
c3ee39502c8953d36b886e5a203f2eb51d2f495b
[ "Apache-2.0" ]
1
2021-03-26T03:36:19.000Z
2021-03-26T03:36:19.000Z
(a, (b+c), d) = 1 # No exprs in lists/tuples either
26
51
0.596154
11
52
2.818182
1
0
0
0
0
0
0
0
0
0
0
0.02439
0.211538
52
1
52
52
0.731707
0.596154
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
d8d71101b39db6e2c0e22bf9ee470cae89b1b87f
28
py
Python
constants.py
Come-and-Unity/come-and-unity-backend
68147cc83ff60f6d3d28e48518d299b17ddd7849
[ "MIT" ]
null
null
null
constants.py
Come-and-Unity/come-and-unity-backend
68147cc83ff60f6d3d28e48518d299b17ddd7849
[ "MIT" ]
null
null
null
constants.py
Come-and-Unity/come-and-unity-backend
68147cc83ff60f6d3d28e48518d299b17ddd7849
[ "MIT" ]
null
null
null
APP_NAME = 'COME_AND_UNITY'
14
27
0.785714
5
28
3.8
1
0
0
0
0
0
0
0
0
0
0
0
0.107143
28
1
28
28
0.76
0
0
0
0
0
0.5
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
d8da7614ce11ef80b7d75418bae9b12d7063a86a
173
py
Python
cheetah_core/djangoapps/units/models.py
dota-2-cheetah/cheetah_core
2afd035223af44f770835c9568c94d2ac9eb408e
[ "MIT" ]
null
null
null
cheetah_core/djangoapps/units/models.py
dota-2-cheetah/cheetah_core
2afd035223af44f770835c9568c94d2ac9eb408e
[ "MIT" ]
null
null
null
cheetah_core/djangoapps/units/models.py
dota-2-cheetah/cheetah_core
2afd035223af44f770835c9568c94d2ac9eb408e
[ "MIT" ]
null
null
null
from django.db import models from core.models import ValveDataAbstract class Unit(ValveDataAbstract): wiki_image = models.CharField('Wiki image name', max_length=128)
24.714286
68
0.797688
23
173
5.913043
0.695652
0.132353
0
0
0
0
0
0
0
0
0
0.019868
0.127168
173
6
69
28.833333
0.880795
0
0
0
0
0
0.086705
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d8ea5a9381d4f73a8c672246c2d07bf65a83cb3e
178
py
Python
Module01/Basics/StringOp_028.py
fenglihanxiao/Python
872baf3a3a5ee42740161152605ca2b1ddf4cd30
[ "MIT" ]
null
null
null
Module01/Basics/StringOp_028.py
fenglihanxiao/Python
872baf3a3a5ee42740161152605ca2b1ddf4cd30
[ "MIT" ]
null
null
null
Module01/Basics/StringOp_028.py
fenglihanxiao/Python
872baf3a3a5ee42740161152605ca2b1ddf4cd30
[ "MIT" ]
null
null
null
first_name = "Feng" last_name = "Li" #################################################### # Repetitions of string full_name = first_name * 3 print(full_name, "binggo", sep='|')
22.25
52
0.488764
19
178
4.315789
0.684211
0.219512
0
0
0
0
0
0
0
0
0
0.006329
0.11236
178
7
53
25.428571
0.512658
0.117978
0
0
0
0
0.126214
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
2b0378c64bcdffc3d906fad0adc7aaecdf0db748
141
py
Python
src/accounts/urls.py
Bakhtiyar-Habib/CSE327-Project
4126b40eb398e4cf13b49136e552775c5f3b0635
[ "bzip2-1.0.6" ]
null
null
null
src/accounts/urls.py
Bakhtiyar-Habib/CSE327-Project
4126b40eb398e4cf13b49136e552775c5f3b0635
[ "bzip2-1.0.6" ]
null
null
null
src/accounts/urls.py
Bakhtiyar-Habib/CSE327-Project
4126b40eb398e4cf13b49136e552775c5f3b0635
[ "bzip2-1.0.6" ]
null
null
null
from django.confs.urls import url from .import views app_name = 'accounts' urlpatterns = [ path('signup/', signup_view, name='signup'), ]
15.666667
45
0.716312
19
141
5.210526
0.736842
0
0
0
0
0
0
0
0
0
0
0
0.141844
141
9
46
15.666667
0.818182
0
0
0
0
0
0.147887
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
2b04222c7df26454b98167ff03d491b556134fec
2,066
py
Python
src/rpidiag/diag_info.py
wojdatto/rpidiag
26a880fc6a2c46a119bdcde98d2488534afb6722
[ "MIT" ]
null
null
null
src/rpidiag/diag_info.py
wojdatto/rpidiag
26a880fc6a2c46a119bdcde98d2488534afb6722
[ "MIT" ]
6
2021-06-05T21:40:23.000Z
2021-09-28T19:33:10.000Z
src/rpidiag/diag_info.py
wojdatto/rpidiag
26a880fc6a2c46a119bdcde98d2488534afb6722
[ "MIT" ]
null
null
null
from __future__ import annotations from datetime import datetime from pathlib import Path from rpidiag import output_handler as oh from rpidiag import templates as t from rpidiag import throttled, utils from rpidiag.constants import DEGREE_SIGN, FULL_DATETIME, HOUR_MIN_SEC from rpidiag.value import Value, get_clock, ...
35.016949
82
0.650048
268
2,066
4.772388
0.287313
0.062549
0.039875
0.029711
0
0
0
0
0
0
0
0.005618
0.224589
2,066
58
83
35.62069
0.792759
0.025653
0
0.090909
0
0
0.089188
0.049826
0
0
0
0
0
1
0.204545
false
0
0.181818
0.113636
0.545455
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
2b0f443a01d6c248a707cb87465b05e11e40e041
979
py
Python
models/csv_reader_model.py
CxrImagePreProcessing/CheXaid
d815afbdfdea63cd3aa9151f1f8a1093b7c02412
[ "MIT" ]
8
2020-03-04T22:16:06.000Z
2022-02-13T20:04:49.000Z
models/csv_reader_model.py
CxrImagePreProcessing/CheXaid
d815afbdfdea63cd3aa9151f1f8a1093b7c02412
[ "MIT" ]
2
2020-03-23T21:43:40.000Z
2020-05-06T13:17:39.000Z
models/csv_reader_model.py
CxrImagePreProcessing/CheXaid
d815afbdfdea63cd3aa9151f1f8a1093b7c02412
[ "MIT" ]
5
2020-08-01T01:07:36.000Z
2021-12-14T17:28:09.000Z
import pandas as pd import torch from collections import OrderedDict from dataset.constants import COL_PATH class CSVReaderModel(object): """Class that looks like a PyTorch model, but actually reads from a CSV file.""" def __init__(self, csv_path, task_sequence): self.task_sequence = task_sequence ...
26.459459
93
0.644535
128
979
4.796875
0.5
0.078176
0.052117
0
0
0
0
0
0
0
0
0.006925
0.262513
979
36
94
27.194444
0.84349
0.156282
0
0.166667
0
0
0
0
0
0
0
0
0
1
0.25
false
0.083333
0.166667
0.083333
0.583333
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
2b2c3b0ae41d119e9d075df5e075c616227fb042
56
py
Python
Chapter01/add.py
add54/ADMIN_SYS_PYTHON
5a6d9705537c8663c8f7b0f45d29ccc87b6096e7
[ "MIT" ]
116
2018-12-21T01:05:47.000Z
2022-03-23T21:41:41.000Z
Chapter01/add.py
add54/ADMIN_SYS_PYTHON
5a6d9705537c8663c8f7b0f45d29ccc87b6096e7
[ "MIT" ]
2
2021-03-31T19:36:19.000Z
2021-06-10T22:29:26.000Z
Chapter01/add.py
add54/ADMIN_SYS_PYTHON
5a6d9705537c8663c8f7b0f45d29ccc87b6096e7
[ "MIT" ]
147
2018-12-19T14:10:32.000Z
2022-03-20T11:03:20.000Z
import sample sum = sample.addition(10, 20) print(sum)
11.2
29
0.732143
9
56
4.555556
0.777778
0
0
0
0
0
0
0
0
0
0
0.083333
0.142857
56
4
30
14
0.770833
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
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
2b4f13cf30e0fd163c8da85664116fd4d706a116
457
py
Python
files/exercises/errors-identifying-syntax-errors.py
mforneris/introduction_to_python_course
8075973ee89a921a5e2693f649adbf1fc0e0b2cb
[ "CC-BY-4.0" ]
null
null
null
files/exercises/errors-identifying-syntax-errors.py
mforneris/introduction_to_python_course
8075973ee89a921a5e2693f649adbf1fc0e0b2cb
[ "CC-BY-4.0" ]
null
null
null
files/exercises/errors-identifying-syntax-errors.py
mforneris/introduction_to_python_course
8075973ee89a921a5e2693f649adbf1fc0e0b2cb
[ "CC-BY-4.0" ]
1
2020-01-09T10:58:56.000Z
2020-01-09T10:58:56.000Z
# Identifying Syntax Errors # 1. Read the code below, and (without running it) try to identify what the errors are. # 2. Run the code, and read the error message. Is it a SyntaxError or an IndentationError? # 3. Fix the error. # 4. Repeat steps 2 and 3, until you have fixed all the errors. def another_function prin...
41.545455
90
0.733042
79
457
4.227848
0.708861
0.071856
0
0
0
0
0
0
0
0
0
0.01626
0.19256
457
11
91
41.545455
0.888889
0.612691
0
0
0
0
0.622093
0
0
0
0
0
0
0
null
null
0
0
null
null
0.75
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
0
0
0
1
0
3
2b5fe9d40c59fcb30eaf49221c23c33033109e44
714
py
Python
src/pe2loaddata/content/handler.py
dlogan/pe2loaddata
4121fbab354278f4504fa8b0caabc7d3da48e91c
[ "BSD-2-Clause" ]
1
2018-02-17T00:29:55.000Z
2018-02-17T00:29:55.000Z
src/pe2loaddata/content/handler.py
dlogan/pe2loaddata
4121fbab354278f4504fa8b0caabc7d3da48e91c
[ "BSD-2-Clause" ]
18
2018-05-22T16:37:23.000Z
2022-03-16T19:24:52.000Z
src/pe2loaddata/content/handler.py
dlogan/pe2loaddata
4121fbab354278f4504fa8b0caabc7d3da48e91c
[ "BSD-2-Clause" ]
3
2021-06-11T18:25:16.000Z
2022-03-21T15:36:26.000Z
import xml.sax from .item import RootHandler class Handler(xml.sax.handler.ContentHandler): def startDocument(self): self.root = None def startElement(self, name, attrs): if self.root is None: self.root = RootHandler(self, name, attrs) self.current_element = self.root...
26.444444
71
0.652661
81
714
5.666667
0.37037
0.167756
0.27451
0.143791
0.156863
0.156863
0
0
0
0
0
0
0.260504
714
26
72
27.461538
0.869318
0
0
0
0
0
0
0
0
0
0
0
0
1
0.263158
false
0.052632
0.105263
0
0.421053
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
2b64a3f21e47e15465aa9d6f79df6a3c473177b4
1,730
py
Python
EnglishSports/Prodigy_Commands.py
TallChris91/CACAPO-Dataset
9699f2039ced2bac11d20f8737961216198f8e40
[ "CC0-1.0" ]
null
null
null
EnglishSports/Prodigy_Commands.py
TallChris91/CACAPO-Dataset
9699f2039ced2bac11d20f8737961216198f8e40
[ "CC0-1.0" ]
1
2021-01-14T00:38:18.000Z
2021-01-14T03:28:03.000Z
EnglishSports/Prodigy_Commands.py
TallChris91/CACAPO-Dataset
9699f2039ced2bac11d20f8737961216198f8e40
[ "CC0-1.0" ]
null
null
null
import os import pickle labellist = ['ERA', 'RBI', 'atBatNumber', 'baseNumber', 'baseReachedNumber', 'baseStolen', 'basesRan', 'batterHitsTries', 'batterName', 'batterScoreNumber', 'battersFacedNumber', 'battingAverage', 'battingLineupNumber', 'catchType', 'catcherName', 'competitionName', 'earnedRunsNumber', 'erro...
115.333333
1,220
0.749133
142
1,730
9.105634
0.795775
0.024749
0.034029
0.041763
0.034029
0
0
0
0
0
0
0.000625
0.075723
1,730
14
1,221
123.571429
0.808005
0.076301
0
0
0
0.125
0.693232
0.064516
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2b68b77fdc426b61a14f792fa19d4a4df7b8a244
363
py
Python
pilha.py
jasielserra/Head-First-Python
b046cbb98e5d16941475b40f1c939391be05e141
[ "MIT" ]
null
null
null
pilha.py
jasielserra/Head-First-Python
b046cbb98e5d16941475b40f1c939391be05e141
[ "MIT" ]
null
null
null
pilha.py
jasielserra/Head-First-Python
b046cbb98e5d16941475b40f1c939391be05e141
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- ''' Implementa uma pilha com listas. Esconde detalhes de implementação fornecendo uma interface mais simples, ou mais padronizada. ''' class Stack: def __init__(self): self.items = [] def push(self, item): self.items.append(item) def pop(self): return self.items.pop() def ...
18.15
48
0.666667
48
363
4.958333
0.625
0.151261
0.117647
0.159664
0
0
0
0
0
0
0
0.003413
0.192837
363
19
49
19.105263
0.808874
0.410468
0
0
0
0
0
0
0
0
0
0
0
1
0.444444
false
0
0
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
2b6feae1aa0b1a0450a463a5faef82db81a55dbb
108,656
py
Python
integreat_cms/cms/migrations/0001_initial.py
Integreat/cms-v2
c79a54fd5abb792696420aa6427a5e5a356fa79c
[ "Apache-2.0" ]
21
2018-10-26T20:10:45.000Z
2020-10-22T09:41:46.000Z
integreat_cms/cms/migrations/0001_initial.py
Integreat/cms-v2
c79a54fd5abb792696420aa6427a5e5a356fa79c
[ "Apache-2.0" ]
392
2018-10-25T08:34:07.000Z
2020-11-19T08:20:30.000Z
integreat_cms/cms/migrations/0001_initial.py
Integreat/cms-v2
c79a54fd5abb792696420aa6427a5e5a356fa79c
[ "Apache-2.0" ]
23
2019-03-06T17:11:35.000Z
2020-10-16T04:36:41.000Z
# Generated by Django 3.2.11 on 2022-01-16 01:51 import datetime from django.conf import settings import django.contrib.auth.validators import django.contrib.postgres.fields import django.core.validators from django.db import migrations, models from django.utils.timezone import utc import django.utils.timezone import ...
40.035372
279
0.356584
6,751
108,656
5.586284
0.145756
0.084878
0.021531
0.024607
0.687402
0.644155
0.609472
0.564659
0.530586
0.498184
0
0.004596
0.545391
108,656
2,713
280
40.050129
0.758887
0.000598
0
0.709212
1
0.00444
0.203214
0.007709
0
0
0
0
0
1
0
false
0.00037
0.00407
0
0.005549
0.006289
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2b72efc96df331c19ab69ef4de9ac5c8a633aed4
168
py
Python
Ladder 11/Python/082.Pythagorean Theorem II.py
purush34/a2oj-solutions
1ce6e2647b2f2ae47d3c03337ae4af1a7d5c8edb
[ "MIT" ]
null
null
null
Ladder 11/Python/082.Pythagorean Theorem II.py
purush34/a2oj-solutions
1ce6e2647b2f2ae47d3c03337ae4af1a7d5c8edb
[ "MIT" ]
1
2021-12-01T06:53:18.000Z
2021-12-01T07:09:31.000Z
Ladder 11/Python/082.Pythagorean Theorem II.py
purush34/a2oj-solutions
1ce6e2647b2f2ae47d3c03337ae4af1a7d5c8edb
[ "MIT" ]
4
2021-10-31T16:36:28.000Z
2021-12-01T05:48:31.000Z
import math x=int(input()) s=0 for a in range(1,x): for b in range(1,x): c = math.sqrt(a*a+b*b) if(int(c)==c and c<=x): s+=1 print(s//2)
18.666667
31
0.482143
38
168
2.131579
0.5
0.17284
0.197531
0.222222
0
0
0
0
0
0
0
0.042735
0.303571
168
9
32
18.666667
0.649573
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.111111
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2b7908bc69d412c34b9ffe0e592a1e1221b2d9d4
63
py
Python
script_generators/process_test.py
westernmarslab/tanager-feeder
59bc4d5deca474e2c915ea49aaba791f247de41f
[ "MIT" ]
null
null
null
script_generators/process_test.py
westernmarslab/tanager-feeder
59bc4d5deca474e2c915ea49aaba791f247de41f
[ "MIT" ]
null
null
null
script_generators/process_test.py
westernmarslab/tanager-feeder
59bc4d5deca474e2c915ea49aaba791f247de41f
[ "MIT" ]
1
2021-04-23T00:03:46.000Z
2021-04-23T00:03:46.000Z
for i in range(30): print("process(") print("sleep(5)")
21
21
0.571429
10
63
3.6
0.9
0
0
0
0
0
0
0
0
0
0
0.06
0.206349
63
3
22
21
0.66
0
0
0
0
0
0.25
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
9929edae0b94afe2ca164fc6a46dc13800660478
198
py
Python
server/accounts/apps.py
janheise/zentral
cd809483573301e7d1aa5d3fc2da2c74a62405ab
[ "Apache-2.0" ]
634
2015-10-30T00:55:40.000Z
2022-03-31T02:59:00.000Z
server/accounts/apps.py
janheise/zentral
cd809483573301e7d1aa5d3fc2da2c74a62405ab
[ "Apache-2.0" ]
145
2015-11-06T00:17:33.000Z
2022-03-16T13:30:31.000Z
server/accounts/apps.py
janheise/zentral
cd809483573301e7d1aa5d3fc2da2c74a62405ab
[ "Apache-2.0" ]
103
2015-11-07T07:08:49.000Z
2022-03-18T17:34:36.000Z
from zentral.utils.apps import ZentralAppConfig class ZentralAccountsAppConfig(ZentralAppConfig): name = "accounts" verbose_name = "Zentral accounts app" permission_models = ("user",)
24.75
49
0.757576
19
198
7.789474
0.789474
0
0
0
0
0
0
0
0
0
0
0
0.156566
198
7
50
28.285714
0.886228
0
0
0
0
0
0.161616
0
0
0
0
0
0
1
0
false
0
0.2
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
998340ff576bf82dbca22276340c7c00c706ef27
164
py
Python
the-python-standard-library-by-example/anydbm/anydbm_intkeys.py
gottaegbert/penter
8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d
[ "MIT" ]
13
2020-01-04T07:37:38.000Z
2021-08-31T05:19:58.000Z
the-python-standard-library-by-example/anydbm/anydbm_intkeys.py
gottaegbert/penter
8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d
[ "MIT" ]
3
2020-06-05T22:42:53.000Z
2020-08-24T07:18:54.000Z
the-python-standard-library-by-example/anydbm/anydbm_intkeys.py
gottaegbert/penter
8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d
[ "MIT" ]
9
2020-10-19T04:53:06.000Z
2021-08-31T05:20:01.000Z
import dbm with dbm.open('example.db', 'w') as db: try: db[1] = 'one' except TypeError as e: print('%s: %s' % (e.__class__.__name__, e))
16.4
51
0.530488
25
164
3.16
0.72
0
0
0
0
0
0
0
0
0
0
0.008547
0.286585
164
9
52
18.222222
0.666667
0
0
0
0
0
0.122699
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
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
1
0
0
0
0
0
0
3
998e6b27252a3d254898b8bd9e99bef8801dd0ea
70
py
Python
saved_models/__init__.py
xBerryOS/U-2-Net
77dc8f7c12582dc2df9f54cafc3f6e71d5b9f21d
[ "Apache-2.0" ]
null
null
null
saved_models/__init__.py
xBerryOS/U-2-Net
77dc8f7c12582dc2df9f54cafc3f6e71d5b9f21d
[ "Apache-2.0" ]
null
null
null
saved_models/__init__.py
xBerryOS/U-2-Net
77dc8f7c12582dc2df9f54cafc3f6e71d5b9f21d
[ "Apache-2.0" ]
null
null
null
from pathlib import Path TRAINED_MODELS_PATH = Path(__file__).parent
17.5
43
0.828571
10
70
5.2
0.8
0
0
0
0
0
0
0
0
0
0
0
0.114286
70
3
44
23.333333
0.83871
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
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
998f5fff19ae19cb6c253881becf1741fc51ff45
1,900
py
Python
neural_network/layers/RBFLayer.py
FrederikKjeldal/PhysNet
e243e2c383b4ac0a9d7062e654d9b4feb76ca859
[ "MIT" ]
43
2020-01-23T19:18:46.000Z
2022-02-09T16:15:25.000Z
neural_network/layers/RBFLayer.py
FrederikKjeldal/PhysNet
e243e2c383b4ac0a9d7062e654d9b4feb76ca859
[ "MIT" ]
3
2020-01-23T19:39:33.000Z
2022-01-19T17:42:07.000Z
neural_network/layers/RBFLayer.py
FrederikKjeldal/PhysNet
e243e2c383b4ac0a9d7062e654d9b4feb76ca859
[ "MIT" ]
18
2020-02-07T21:21:40.000Z
2022-03-29T07:55:36.000Z
import tensorflow as tf import numpy as np from .NeuronLayer import * from .DenseLayer import * #inverse softplus transformation def softplus_inverse(x): return x + np.log(-np.expm1(-x)) #radial basis function expansion class RBFLayer(NeuronLayer): def __str__(self): return "radial_basis_function_laye...
31.147541
136
0.625789
257
1,900
4.466926
0.33463
0.043554
0.04878
0.012195
0.132404
0.132404
0.054007
0
0
0
0
0.020408
0.252105
1,900
60
137
31.666667
0.787474
0.152632
0
0.095238
0
0
0.038101
0.016864
0
0
0
0
0
1
0.214286
false
0
0.095238
0.142857
0.52381
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
99a4e9db33efe8d9c536330aec90e7f54bfb2410
440
py
Python
main_node/default_config_handler/abstract_default_config_handler.py
dpukhkaiev/BRISE2
647ad6d7cc5f91c188aa45e403d9c1a33a7fe947
[ "MIT" ]
4
2019-11-14T15:24:51.000Z
2020-05-22T08:15:58.000Z
main_node/default_config_handler/abstract_default_config_handler.py
dpukhkaiev/BRISE2
647ad6d7cc5f91c188aa45e403d9c1a33a7fe947
[ "MIT" ]
1
2022-03-02T09:58:32.000Z
2022-03-02T09:58:32.000Z
main_node/default_config_handler/abstract_default_config_handler.py
dpukhkaiev/BRISE2
647ad6d7cc5f91c188aa45e403d9c1a33a7fe947
[ "MIT" ]
5
2019-11-25T15:59:38.000Z
2021-11-02T11:49:41.000Z
from abc import ABC, abstractmethod from core_entities.configuration import Configuration from core_entities.experiment import Experiment class AbstractDefaultConfigurationHandler(ABC): def __init__(self, experiment: Experiment): self.experiment = experiment @abstractmethod def get_default_conf...
24.444444
53
0.765909
47
440
6.893617
0.404255
0.12037
0.098765
0
0
0
0
0
0
0
0
0
0.177273
440
17
54
25.882353
0.895028
0
0
0
0
0
0
0
0
0
0
0
0
1
0.272727
false
0.090909
0.272727
0.090909
0.727273
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
41d78b21ffdc483088a9e6760e8ecdb9a6c50f72
690
py
Python
msgs.py
pumaking/parameter_optimization
c364d2f02803d1bdddd3eac5822cd9d7d85ae6f2
[ "MIT" ]
null
null
null
msgs.py
pumaking/parameter_optimization
c364d2f02803d1bdddd3eac5822cd9d7d85ae6f2
[ "MIT" ]
null
null
null
msgs.py
pumaking/parameter_optimization
c364d2f02803d1bdddd3eac5822cd9d7d85ae6f2
[ "MIT" ]
null
null
null
import numpy as np def parse_header(msg): return msg.header.stamp.to_sec() def parse_vec(vec): return np.array((vec.x, vec.y, vec.z)) def parse_quat(quat): return np.array((quat.w, quat.x, quat.y, quat.z)) def parse_rpm(rpm_msg): return (np.array(rpm_msg.motor_rpm), parse_header(rpm_msg)) def parse_odom(od...
24.642857
61
0.73913
120
690
4.033333
0.291667
0.099174
0.080579
0.092975
0.103306
0.103306
0
0
0
0
0
0
0.127536
690
27
62
25.555556
0.803987
0
0
0
0
0
0
0
0
0
0
0
0
1
0.3
false
0.05
0.05
0.25
0.7
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
41e50e19eafaa06da387fd59fcfc594dc27d1970
8,432
py
Python
busSchedules.py
NazarenoCavazzon/EuroPriceAPI
9be4d4e0229260e662281bf01e45f512a6f97d5f
[ "MIT" ]
1
2021-06-30T01:46:20.000Z
2021-06-30T01:46:20.000Z
busSchedules.py
NazarenoCavazzon/BlueAPI
9be4d4e0229260e662281bf01e45f512a6f97d5f
[ "MIT" ]
1
2021-07-01T01:48:31.000Z
2021-07-01T01:48:31.000Z
busSchedules.py
NazarenoCavazzon/BlueAPI
9be4d4e0229260e662281bf01e45f512a6f97d5f
[ "MIT" ]
1
2021-06-30T01:47:13.000Z
2021-06-30T01:47:13.000Z
schedule1B = [ ["Crucero","07:20","08:20","09:30","10:30","11:40","12:50","14:00","16:15","17:15","18:20","19:30"], ["Centro","07:30","08:30","09:40","10:40","11:50","13:00","14:10","16:25","17:25","18:30","19:40"], ["Esc Yrigoyen","","","","","12:00","","","","17:30","",""], ["Esc Padre Viera","07:40",...
108.102564
287
0.462168
1,729
8,432
2.261423
0.065356
0.00665
0.007673
0.006138
0.152941
0.116624
0.092072
0.092072
0.075703
0.066496
0
0.405099
0.069616
8,432
78
288
108.102564
0.091651
0
0
0
0
0
0.561722
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
41eec9a6ae9be97ea689fff49dce0951c2eace9e
405
py
Python
django_ses_plus/settings.py
pascal-financial/django-ses-plus
8e8c18988231c4da6ea782ab756c32ee44356ed0
[ "Apache-2.0" ]
1
2019-12-02T09:11:22.000Z
2019-12-02T09:11:22.000Z
django_ses_plus/settings.py
pascal-financial/django-ses-plus
8e8c18988231c4da6ea782ab756c32ee44356ed0
[ "Apache-2.0" ]
8
2019-10-29T13:51:26.000Z
2021-12-14T18:43:39.000Z
django_ses_plus/settings.py
pascal-financial/django-ses-plus
8e8c18988231c4da6ea782ab756c32ee44356ed0
[ "Apache-2.0" ]
2
2021-04-06T14:20:23.000Z
2021-04-19T20:49:59.000Z
from django.conf import settings DJANGO_SES_PLUS_SETTINGS = getattr(settings, "DJANGO_SES_PLUS_SETTINGS", {}) DJANGO_SES_PLUS_SETTINGS.setdefault("SEND_EMAIL", True) DJANGO_SES_PLUS_SETTINGS.setdefault("CELERY_TASK_RETRY_KWARGS", {'max_retries': 15, 'countdown': 60}) # Get default from email from django settings. DJ...
40.5
101
0.82963
56
405
5.571429
0.410714
0.144231
0.208333
0.336538
0.509615
0.25
0
0
0
0
0
0.010638
0.071605
405
9
102
45
0.819149
0.108642
0
0
0
0
0.267409
0.133705
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
41fc0a4d28ab950d85fbedddd0b2f105912fac29
157
py
Python
config.py
AkshayD110/YourQuotesFromBooks
4cc6891be0c2c323a5c7c8a378f2eb87d1fed67e
[ "MIT" ]
null
null
null
config.py
AkshayD110/YourQuotesFromBooks
4cc6891be0c2c323a5c7c8a378f2eb87d1fed67e
[ "MIT" ]
1
2022-02-18T02:11:48.000Z
2022-02-18T02:11:48.000Z
config.py
AkshayD110/YourQuotesFromBooks
4cc6891be0c2c323a5c7c8a378f2eb87d1fed67e
[ "MIT" ]
null
null
null
import os sender_email = "perfengineeringstuff" receiver_email = "akshaydeshpande1@acm.org" password = os.environ['LOGIN'] number_of_highlights_per_day = 10
26.166667
43
0.815287
20
157
6.1
0.9
0
0
0
0
0
0
0
0
0
0
0.020979
0.089172
157
5
44
31.4
0.832168
0
0
0
0
0
0.312102
0.152866
0
0
0
0
0
1
0
false
0.2
0.2
0
0.2
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
510e41baf0320c3a19e168c724ac26801f03f9be
292
py
Python
rpgame/player/player.py
vahanoi/rpgame
4e10642860b78d36fc9f9cdd72e1f323d53a1a1c
[ "MIT" ]
null
null
null
rpgame/player/player.py
vahanoi/rpgame
4e10642860b78d36fc9f9cdd72e1f323d53a1a1c
[ "MIT" ]
1
2018-11-04T11:17:25.000Z
2018-11-04T15:55:46.000Z
rpgame/player/player.py
vahanoi/rpgame
4e10642860b78d36fc9f9cdd72e1f323d53a1a1c
[ "MIT" ]
null
null
null
''' Created on 27 Oct 2018 @author: vahanoi ''' class Player: ''' classdocs ''' # TODO: create object Player with all details def __init__(self, name, emailaddress): ''' Constructor ''' age=0 return(None)
14.6
46
0.489726
27
292
5.148148
0.962963
0
0
0
0
0
0
0
0
0
0
0.04023
0.40411
292
20
47
14.6
0.758621
0.366438
0
0
0
0
0
0
0
0
0
0.05
0
1
0.25
false
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
0
0
0
3
511aa11585e3d0b3a3d4e7e8e69b9cf97e9f5aeb
2,073
py
Python
test/test_assign.py
zanellia/ctree
d53d29d972ac06b60d8fc4fb81f5553d2ffbfda0
[ "BSD-2-Clause" ]
16
2015-01-11T21:10:26.000Z
2021-09-28T11:39:56.000Z
test/test_assign.py
zanellia/ctree
d53d29d972ac06b60d8fc4fb81f5553d2ffbfda0
[ "BSD-2-Clause" ]
12
2015-01-01T01:55:49.000Z
2019-06-23T16:41:12.000Z
test/test_assign.py
mbdriscoll/ctree
e15538ecdf3aaa3bb2f210701d29334fd5e4ec40
[ "BSD-2-Clause" ]
4
2015-07-23T20:48:36.000Z
2021-08-02T12:17:37.000Z
import unittest import ast from ctree.transformations import PyBasicConversions from ctree.c.nodes import * class TestAssigns(unittest.TestCase): def setUp(self): self.foo, self.bar = SymbolRef("foo"), SymbolRef("bar") def test_simple_assign(self): node = Assign(self.foo, self.bar) s...
51.825
263
0.646889
292
2,073
4.270548
0.164384
0.067362
0.086608
0.072173
0.724138
0.707298
0.701684
0.668805
0.598236
0.598236
0
0.006997
0.172697
2,073
39
264
53.153846
0.720117
0
0
0.230769
0
0.038462
0.1452
0
0
0
0
0
0.192308
1
0.230769
false
0
0.153846
0
0.423077
0
0
0
0
null
0
0
0
0
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
1
0
0
0
0
0
0
0
3
511d398b4fc4c9265fcebb39527c5d2ac057443c
1,654
py
Python
docs/kitchen-sink/demo_py/furo_demo_module.py
PinkDiamond1/furo
d6b217f8bb021f137928aa30f1b41e829e87d73f
[ "MIT" ]
1
2021-11-28T13:21:04.000Z
2021-11-28T13:21:04.000Z
docs/kitchen-sink/demo_py/furo_demo_module.py
PinkDiamond1/furo
d6b217f8bb021f137928aa30f1b41e829e87d73f
[ "MIT" ]
3
2021-05-27T03:15:46.000Z
2021-11-30T07:55:24.000Z
docs/kitchen-sink/demo_py/furo_demo_module.py
neocrym/neocrym-sphinx-theme
36d8fe43b7f39a877f54c940157947a21667f3e2
[ "MIT" ]
null
null
null
""" This is a demo module included in the docs in order to exercise viewcode, autodoc, and other related functionality. """ from typing import NewType, Optional, TextIO, Type, Union MagicNumber = NewType("MagicNumber", int) def show_warning( message: Union[Warning, str], category: Type[Warning], filenam...
24.323529
74
0.633615
211
1,654
4.924171
0.43128
0.038499
0.040423
0.030799
0.046198
0.046198
0
0
0
0
0
0.004098
0.262394
1,654
67
75
24.686567
0.847541
0.489117
0
0
0
0
0.015048
0
0
0
0
0.014925
0
1
0.25
false
0
0.041667
0
0.541667
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
0
0
0
1
0
0
3
515fc73cf5709d91e349ea1765222c5c0c2c509c
319
py
Python
autogp/losses/neg_log_like.py
Alwaysproblem/AutoGP
a1a324246ac0f053e367054e34e956a4af063f65
[ "Apache-2.0" ]
1
2019-01-22T00:41:17.000Z
2019-01-22T00:41:17.000Z
autogp/losses/neg_log_like.py
Alwaysproblem/AutoGP
a1a324246ac0f053e367054e34e956a4af063f65
[ "Apache-2.0" ]
null
null
null
autogp/losses/neg_log_like.py
Alwaysproblem/AutoGP
a1a324246ac0f053e367054e34e956a4af063f65
[ "Apache-2.0" ]
null
null
null
from __future__ import absolute_import from . import loss class NegLogLikelihood(loss.Loss): def __init__(self, dout): loss.Loss.__init__(self, dout) def eval(self, ytrue, ypred): return self.like.log_cond_prob(ytrue, ypred) def get_name(self): return "Negative Log Likelihood"
21.266667
52
0.69279
42
319
4.880952
0.547619
0.078049
0.117073
0
0
0
0
0
0
0
0
0
0.216301
319
14
53
22.785714
0.82
0
0
0
0
0
0.0721
0
0
0
0
0
0
1
0.333333
false
0
0.222222
0.222222
0.888889
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
5ac1384e0bda4c78b76a1c52742a8edc902de881
2,283
py
Python
taurex_cuda/utils/scattering.py
ucl-exoplanets/taurex-cuda_public
1588815217ca0b3019d8a438207633ba07f2b5f2
[ "BSD-3-Clause" ]
null
null
null
taurex_cuda/utils/scattering.py
ucl-exoplanets/taurex-cuda_public
1588815217ca0b3019d8a438207633ba07f2b5f2
[ "BSD-3-Clause" ]
null
null
null
taurex_cuda/utils/scattering.py
ucl-exoplanets/taurex-cuda_public
1588815217ca0b3019d8a438207633ba07f2b5f2
[ "BSD-3-Clause" ]
null
null
null
def compute_h2(): code = """ double wave = 1e8/_wn; double wave_2 = 1.0/(wave*wave); double wave_4 = wave_2*wave_2; double result = ((8.14E-13)*(wave_4)*(1+(1.572E6)*(wave_2)+(1.981E12)*(wave_4)))*1E-4; """ return code def compute_he(): code = """ double wave = 1e8/_wn; ...
32.614286
153
0.48664
359
2,283
2.846797
0.284123
0.039139
0.117417
0.125245
0.318982
0.223092
0.142857
0.142857
0.142857
0.142857
0
0.224859
0.29873
2,283
70
154
32.614286
0.413492
0
0
0.285714
0
0.204082
0.562473
0.254274
0
0
0
0
0
1
0.061224
false
0
0.020408
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5ada7b0f656553bbd48a74e4cbb818b13470d917
195
py
Python
um/templatetags/socialaccount.py
BobbyKarabinakis/feedsubs
363dea74eeaf85e37f062deddd4a5d3e26c4b3eb
[ "MIT" ]
78
2018-09-03T11:52:33.000Z
2022-02-04T11:56:09.000Z
um/templatetags/socialaccount.py
BobbyKarabinakis/feedsubs
363dea74eeaf85e37f062deddd4a5d3e26c4b3eb
[ "MIT" ]
252
2018-08-24T13:10:09.000Z
2022-02-26T09:04:34.000Z
um/templatetags/socialaccount.py
BobbyKarabinakis/feedsubs
363dea74eeaf85e37f062deddd4a5d3e26c4b3eb
[ "MIT" ]
12
2018-12-18T16:41:09.000Z
2021-06-22T11:34:52.000Z
"""Hack to use account/login.html without having socialaccount app installed.""" from django import template register = template.Library() @register.simple_tag() def get_providers(): pass
19.5
80
0.758974
25
195
5.84
0.92
0
0
0
0
0
0
0
0
0
0
0
0.138462
195
9
81
21.666667
0.869048
0.379487
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0.2
0.2
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
1
0
0
0
0
0
3
51a533412488769df114fda1077e4ab762fb2a5f
147
py
Python
app/api/api.py
chetanshi-tripathi/FastAPI
160147ec9e62a09ab958925e144591076370bc21
[ "MIT" ]
null
null
null
app/api/api.py
chetanshi-tripathi/FastAPI
160147ec9e62a09ab958925e144591076370bc21
[ "MIT" ]
null
null
null
app/api/api.py
chetanshi-tripathi/FastAPI
160147ec9e62a09ab958925e144591076370bc21
[ "MIT" ]
null
null
null
from fastapi import APIRouter from .api_v1.v1_api import router as api_router router = APIRouter() router.include_router(api_router,prefix="/v1")
29.4
48
0.809524
23
147
4.956522
0.434783
0.157895
0
0
0
0
0
0
0
0
0
0.022727
0.102041
147
5
49
29.4
0.840909
0
0
0
0
0
0.02027
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
51b6185b21d1036e7cce7eebeaa41f1055619751
161
py
Python
demo/exceptionDemo.py
iforgotid/webmail
f9f279127a3ecd04340858af07f7799b37fd11ba
[ "Apache-2.0" ]
2
2018-08-11T04:11:57.000Z
2018-09-25T09:52:33.000Z
demo/exceptionDemo.py
iforgotid/webmail
f9f279127a3ecd04340858af07f7799b37fd11ba
[ "Apache-2.0" ]
null
null
null
demo/exceptionDemo.py
iforgotid/webmail
f9f279127a3ecd04340858af07f7799b37fd11ba
[ "Apache-2.0" ]
null
null
null
__author__ = 'philipp' import time while True: try: a = 1/0 except StandardError, e: print 'Error:',e finally: time.sleep(10)
17.888889
28
0.565217
20
161
4.35
0.9
0
0
0
0
0
0
0
0
0
0
0.037037
0.329193
161
9
29
17.888889
0.768519
0
0
0
0
0
0.080247
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.111111
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
51b6af6b814aa996b5b493f414968aa474b946b8
355
py
Python
mathematical_thinking/week3/change_problem/change_solution.py
epicurus83/coursera-discrete-mathematics
2daae1c9526a1ffca037950798a856fd3ed2086e
[ "Apache-2.0" ]
null
null
null
mathematical_thinking/week3/change_problem/change_solution.py
epicurus83/coursera-discrete-mathematics
2daae1c9526a1ffca037950798a856fd3ed2086e
[ "Apache-2.0" ]
null
null
null
mathematical_thinking/week3/change_problem/change_solution.py
epicurus83/coursera-discrete-mathematics
2daae1c9526a1ffca037950798a856fd3ed2086e
[ "Apache-2.0" ]
null
null
null
def change(amount): if amount is None or amount < 24 or amount > 1000: raise ValueError('"' + str(amount) + '" must be a integer between 24 and 1000') return _get_change(amount) def _get_change(amount): if amount % 7 == 0: return [7] * int(amount/7) coins = _get_change(amount - 5) ...
23.666667
87
0.622535
52
355
4.134615
0.5
0.223256
0.209302
0.186047
0
0
0
0
0
0
0
0.068966
0.264789
355
14
88
25.357143
0.754789
0
0
0
0
0
0.112676
0
0
0
0
0
0
1
0.2
false
0
0
0
0.5
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
51bea15f2a624e3a642e46cd1e9b657762720ad7
409
py
Python
parlai/zoo/glove_vectors/build.py
hengyicai/ContrastiveLearning4Dialogue
873c20d21ee810750179356c353d2cce244db028
[ "MIT" ]
55
2020-09-16T02:11:28.000Z
2022-01-27T01:03:19.000Z
parlai/zoo/glove_vectors/build.py
hengyicai/ContrastiveLearning4Dialogue
873c20d21ee810750179356c353d2cce244db028
[ "MIT" ]
5
2020-09-21T03:37:08.000Z
2021-12-08T06:41:30.000Z
parlai/zoo/glove_vectors/build.py
hengyicai/ContrastiveLearning4Dialogue
873c20d21ee810750179356c353d2cce244db028
[ "MIT" ]
7
2020-09-21T14:06:27.000Z
2021-07-20T10:01:32.000Z
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Glove vectors. """ import os import torchtext.vocab as vocab def download(datapath): return vocab.GloVe( ...
21.526316
86
0.704156
60
409
4.783333
0.766667
0.069686
0
0
0
0
0
0
0
0
0
0.020958
0.183374
409
18
87
22.722222
0.838323
0.501222
0
0
0
0
0.119171
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0.166667
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
0
0
0
1
1
1
0
0
3
51cd593259bdd4fc4d536616a04e928a2e13524e
201
py
Python
trunk/VyPy/optimize/drivers/__init__.py
jiaxu825/VyPy
47100bad9dea46f12cb8bfa1ba86886e06f5c85d
[ "BSD-3-Clause" ]
3
2015-01-22T02:03:14.000Z
2022-03-15T21:50:50.000Z
trunk/VyPy/optimize/drivers/__init__.py
paulcon/VyPy
5acb40e8d19ea76f3cd45f9cf98f252ca15e23f6
[ "BSD-3-Clause" ]
3
2015-02-06T19:12:04.000Z
2015-05-01T10:04:12.000Z
trunk/VyPy/optimize/drivers/__init__.py
paulcon/VyPy
5acb40e8d19ea76f3cd45f9cf98f252ca15e23f6
[ "BSD-3-Clause" ]
1
2020-09-25T13:26:54.000Z
2020-09-25T13:26:54.000Z
from Driver import Driver import scipy import lri import adl # convenience imports from COBYLA import COBYLA from BFGS import BFGS from SLSQP import SLSQP from CMA_ES import CMA_ES
14.357143
26
0.751244
30
201
4.966667
0.433333
0.161074
0
0
0
0
0
0
0
0
0
0
0.243781
201
13
27
15.461538
0.980263
0.094527
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
51d283e22cee553369cb4827ca25d5a500946cbd
27
py
Python
sorter/__init__.py
caktus/django-sorter
520c2feaa54f9dc06e9ab98136b68ea016ca41de
[ "BSD-3-Clause" ]
1
2020-04-06T21:09:04.000Z
2020-04-06T21:09:04.000Z
sorter/__init__.py
caktus/django-sorter
520c2feaa54f9dc06e9ab98136b68ea016ca41de
[ "BSD-3-Clause" ]
1
2018-05-02T16:45:45.000Z
2018-05-02T16:45:45.000Z
sorter/__init__.py
caktus/django-sorter
520c2feaa54f9dc06e9ab98136b68ea016ca41de
[ "BSD-3-Clause" ]
null
null
null
__version__ = "0.4+caktus"
13.5
26
0.703704
4
27
3.75
1
0
0
0
0
0
0
0
0
0
0
0.083333
0.111111
27
1
27
27
0.541667
0
0
0
0
0
0.37037
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
51d6a95f4e41a3c481b67893c250b98e81801069
270
py
Python
codes/max_number.py
erichideki/playground
aa74d40a75f750c88af09efd1d247795abc503a0
[ "MIT" ]
null
null
null
codes/max_number.py
erichideki/playground
aa74d40a75f750c88af09efd1d247795abc503a0
[ "MIT" ]
null
null
null
codes/max_number.py
erichideki/playground
aa74d40a75f750c88af09efd1d247795abc503a0
[ "MIT" ]
null
null
null
from math import inf def find_max(number_list): max_number = -inf for number in number_list: if number > max_number: max_number = number return max_number if __name__ == '__main__': print(find_max([1])) print(find_max([1, 100]))
22.5
31
0.640741
39
270
4
0.461538
0.288462
0.192308
0.166667
0
0
0
0
0
0
0
0.025
0.259259
270
12
32
22.5
0.755
0
0
0
0
0
0.02952
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.3
0.2
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
51e844a144ed0ccf86bcb572bb646b1955c63b86
340
py
Python
day03/t03_1/views.py
SunShuoJia/pyproject
71f3cada463fd90243b2cdac8c982fb622f9ef9c
[ "Apache-2.0" ]
null
null
null
day03/t03_1/views.py
SunShuoJia/pyproject
71f3cada463fd90243b2cdac8c982fb622f9ef9c
[ "Apache-2.0" ]
null
null
null
day03/t03_1/views.py
SunShuoJia/pyproject
71f3cada463fd90243b2cdac8c982fb622f9ef9c
[ "Apache-2.0" ]
null
null
null
from django.shortcuts import render from .models import language # Create your views here. def Serach(req): Input = req.GET key = Input.get('key') result = language.objects.filter(name__contains=key) return render(req,'Serach.html',{'data':result,'title':'方言搜索'}) def Test(req): return render(req,'Te...
34
67
0.702941
48
340
4.9375
0.604167
0.050633
0.126582
0
0
0
0
0
0
0
0
0
0.144118
340
10
68
34
0.814433
0.067647
0
0
0
0
0.113924
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
a4057f721852a4a0015fd0e0f2c745a2dfcc8ffa
312
py
Python
owner2/decorator/soccer.py
neupane11/OOP-sneupane
a5819cce2f4f662c377167ef687569b276c30e46
[ "MIT" ]
null
null
null
owner2/decorator/soccer.py
neupane11/OOP-sneupane
a5819cce2f4f662c377167ef687569b276c30e46
[ "MIT" ]
null
null
null
owner2/decorator/soccer.py
neupane11/OOP-sneupane
a5819cce2f4f662c377167ef687569b276c30e46
[ "MIT" ]
null
null
null
import decoratorPatt myStadium=decoratorPatt.Base_Stadium() print('fan : '+myStadium.fans()+' seats: '+str(myStadium.seats())+' inEurope: '+myStadium.inEurope()) myStadium=decoratorPatt.RealMadrid(myStadium) print('fan : '+myStadium.fans()+' seats: '+str(myStadium.seats())+' inEurope: '+myStadium.inEurope())
39
101
0.737179
32
312
7.15625
0.375
0.222707
0.148472
0.183406
0.593886
0.593886
0.593886
0.593886
0.593886
0.593886
0
0
0.064103
312
7
102
44.571429
0.784247
0
0
0.4
0
0
0.160256
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.4
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a4069e2b7526480714fcf731e20a75fa42326441
50
py
Python
Applications/SlicerApp/Testing/Python/SlicerTestingExitFailureTest.py
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
null
null
null
Applications/SlicerApp/Testing/Python/SlicerTestingExitFailureTest.py
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
null
null
null
Applications/SlicerApp/Testing/Python/SlicerTestingExitFailureTest.py
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
null
null
null
raise Exception('This test is expected to fail')
16.666667
48
0.76
8
50
4.75
1
0
0
0
0
0
0
0
0
0
0
0
0.16
50
2
49
25
0.904762
0
0
0
0
0
0.591837
0
0
0
0
0
0
1
0
true
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
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
a409ded971d5edfeead5cac42b154ae8f47fe87a
1,144
py
Python
PyFBA/parse/config.py
SysSynBio/PyFBA
433ce72d9d4bc6ad2cd0f30f16e61439a338f2ab
[ "MIT" ]
null
null
null
PyFBA/parse/config.py
SysSynBio/PyFBA
433ce72d9d4bc6ad2cd0f30f16e61439a338f2ab
[ "MIT" ]
null
null
null
PyFBA/parse/config.py
SysSynBio/PyFBA
433ce72d9d4bc6ad2cd0f30f16e61439a338f2ab
[ "MIT" ]
null
null
null
""" Define the modelseed variable. """ import os import sys """ This has now been abstracted into PyFBA.__init__.py to avoid redundancy MODELSEED_DIR = "" if os.path.exists('Biochemistry/ModelSEEDDatabase'): MODELSEED_DIR = 'Biochemistry/ModelSEEDDatabase' elif 'ModelSEEDDatabase' in os.environ: MODELSE...
30.918919
115
0.710664
154
1,144
5.207792
0.448052
0.104738
0.104738
0.074813
0.137157
0.072319
0
0
0
0
0
0.003205
0.181818
1,144
36
116
31.777778
0.853632
0.026224
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
a40c323969397dd84ce0d399dc2355a2dec85670
4,948
py
Python
dmreader/exceptions.py
JStuckner/smart_tem
5381ba1fa5b74784e520bd0f07e420347959f72e
[ "MIT" ]
1
2021-07-28T05:46:33.000Z
2021-07-28T05:46:33.000Z
dmreader/exceptions.py
JStuckner/smart_tem
5381ba1fa5b74784e520bd0f07e420347959f72e
[ "MIT" ]
null
null
null
dmreader/exceptions.py
JStuckner/smart_tem
5381ba1fa5b74784e520bd0f07e420347959f72e
[ "MIT" ]
null
null
null
# Copyright 2007-2016 The HyperSpy developers # # This file is part of HyperSpy. # # HyperSpy is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later...
24.616915
80
0.675627
597
4,948
5.256281
0.256281
0.06501
0.086679
0.108349
0.489802
0.448375
0.210325
0.140854
0.026131
0
0
0.006612
0.235853
4,948
200
81
24.74
0.823327
0.169563
0
0.295238
0
0
0.070007
0
0
0
0
0
0
1
0.314286
false
0.009524
0
0.152381
0.638095
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
cf9e29060c723ada07106ebca7c1d33147b37c6a
693
py
Python
edmunds/localization/location/drivers/maxmindcitydatabase.py
LowieHuyghe/edmunds-python
236d087746cb8802a8854b2706b8d3ff009e9209
[ "Apache-2.0" ]
4
2017-09-07T13:39:50.000Z
2018-05-31T16:14:50.000Z
edmunds/localization/location/drivers/maxmindcitydatabase.py
LowieHuyghe/edmunds-python
236d087746cb8802a8854b2706b8d3ff009e9209
[ "Apache-2.0" ]
103
2017-03-19T15:58:21.000Z
2018-07-11T20:36:17.000Z
edmunds/localization/location/drivers/maxmindcitydatabase.py
LowieHuyghe/edmunds-python
236d087746cb8802a8854b2706b8d3ff009e9209
[ "Apache-2.0" ]
2
2017-10-14T15:20:11.000Z
2018-04-20T09:55:44.000Z
from geoip2.database import Reader from edmunds.localization.location.drivers.basedriver import BaseDriver import atexit class MaxMindCityDatabase(BaseDriver): """ MaxMind City Database """ def __init__(self, database): """ Constructor :param database: Location of the city...
23.1
71
0.608947
72
693
5.763889
0.5
0.072289
0
0
0
0
0
0
0
0
0
0.004132
0.301587
693
29
72
23.896552
0.853306
0.300144
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.333333
0
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
1
0
1
0
0
3
cf9f2c576e572eb47376b4569a24fdaaa7d667f1
217
py
Python
bin/iamonds/one-sided-hexiamonds-hexgrid-elongated-hexagon-6x2.py
tiwo/puzzler
7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e
[ "Intel" ]
null
null
null
bin/iamonds/one-sided-hexiamonds-hexgrid-elongated-hexagon-6x2.py
tiwo/puzzler
7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e
[ "Intel" ]
null
null
null
bin/iamonds/one-sided-hexiamonds-hexgrid-elongated-hexagon-6x2.py
tiwo/puzzler
7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e
[ "Intel" ]
1
2022-01-02T16:54:14.000Z
2022-01-02T16:54:14.000Z
#!/usr/bin/env python # $Id$ """many solutions""" import puzzler from puzzler.puzzles.hexiamonds import ( OneSidedHexiamondsHexgridElongatedHexagon6x2) puzzler.run(OneSidedHexiamondsHexgridElongatedHexagon6x2)
19.727273
57
0.806452
18
217
9.722222
0.777778
0
0
0
0
0
0
0
0
0
0
0.020408
0.096774
217
10
58
21.7
0.872449
0.184332
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
cfa30e478c0462ab2b02dd8b79118d0241c58c02
773
py
Python
src/masonite/authorization/AuthorizationResponse.py
cercos/masonite
f7f220efa7fae833683e9f07ce13c3795a87d3b8
[ "MIT" ]
1,816
2018-02-14T01:59:51.000Z
2022-03-31T17:09:20.000Z
src/masonite/authorization/AuthorizationResponse.py
cercos/masonite
f7f220efa7fae833683e9f07ce13c3795a87d3b8
[ "MIT" ]
340
2018-02-11T00:27:26.000Z
2022-03-21T12:00:24.000Z
src/masonite/authorization/AuthorizationResponse.py
cercos/masonite
f7f220efa7fae833683e9f07ce13c3795a87d3b8
[ "MIT" ]
144
2018-03-18T00:08:16.000Z
2022-02-26T01:51:58.000Z
from ..exceptions.exceptions import AuthorizationException class AuthorizationResponse: def __init__(self, allowed, message="", status=None): self._allowed = allowed self.status = status self._message = message @classmethod def allow(cls, message="", status=None): return c...
24.935484
68
0.652005
83
773
5.927711
0.313253
0.132114
0.103659
0.081301
0.117886
0.117886
0
0
0
0
0
0
0.254851
773
30
69
25.766667
0.854167
0
0
0.090909
0
0
0
0
0
0
0
0
0
1
0.318182
false
0
0.045455
0.227273
0.681818
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
cfb7aa4893f7c302f79d31ef8bf8b96d31f5dedc
134
py
Python
scripts/pydev/repeater.py
AntonKrug/emul8-modded
16375ce1d16ae4126b23b81b9e9d47da46bde979
[ "MIT" ]
108
2015-11-02T10:11:51.000Z
2021-12-31T21:15:53.000Z
scripts/pydev/repeater.py
AntonKrug/emul8-modded
16375ce1d16ae4126b23b81b9e9d47da46bde979
[ "MIT" ]
52
2015-11-03T05:06:35.000Z
2017-11-07T15:28:10.000Z
scripts/pydev/repeater.py
AntonKrug/emul8-modded
16375ce1d16ae4126b23b81b9e9d47da46bde979
[ "MIT" ]
32
2015-11-05T10:07:12.000Z
2022-03-25T09:54:51.000Z
if request.isInit: lastVal = 0 elif request.isRead: request.value = lastVal elif request.isWrite: lastVal = request.value
19.142857
27
0.716418
17
134
5.647059
0.529412
0.229167
0
0
0
0
0
0
0
0
0
0.009346
0.201493
134
6
28
22.333333
0.88785
0
0
0
0
0
0
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
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
cfc00851a3bf33c3eb60ab04769f19d774eda367
584
py
Python
src/py_dss_tools/model/control/__init__.py
eniovianna/py_dss_tools
3057fb0b74facd05a362e4e4a588f79f70aa9dd7
[ "MIT" ]
3
2021-05-29T00:40:10.000Z
2021-09-30T17:56:14.000Z
src/py_dss_tools/model/control/__init__.py
eniovianna/py_dss_tools
3057fb0b74facd05a362e4e4a588f79f70aa9dd7
[ "MIT" ]
null
null
null
src/py_dss_tools/model/control/__init__.py
eniovianna/py_dss_tools
3057fb0b74facd05a362e4e4a588f79f70aa9dd7
[ "MIT" ]
3
2021-05-29T00:40:46.000Z
2022-01-13T22:04:49.000Z
# -*- encoding: utf-8 -*- """ Created by Ênio Viana at 22/09/2021 at 23:05:08 Project: py_dss_tools [set, 2021] """ from .ControlElement import ControlElement from .CapControl import CapControl from .ESPVLControl import ESPVLControl from .ExpControl import ExpControl from .Fuse import Fuse from .GenDispatcher import...
29.2
48
0.811644
73
584
6.465753
0.465753
0
0
0
0
0
0
0
0
0
0
0.037255
0.126712
584
19
49
30.736842
0.888235
0.181507
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
cfc3a823e55e5d5c6a1af9db879505f83153fe31
147
py
Python
code/nbs/reco-tut-asr-99-08-matrix-factorization.py
sparsh-ai/reco-tut-asr
d64b6ed02826933e8add8f83a5773c5a0a21896b
[ "MIT" ]
null
null
null
code/nbs/reco-tut-asr-99-08-matrix-factorization.py
sparsh-ai/reco-tut-asr
d64b6ed02826933e8add8f83a5773c5a0a21896b
[ "MIT" ]
null
null
null
code/nbs/reco-tut-asr-99-08-matrix-factorization.py
sparsh-ai/reco-tut-asr
d64b6ed02826933e8add8f83a5773c5a0a21896b
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 # # What is Matrix Factorization? # # ## How do use it in Recommender Systems? # In[ ]: # In[ ]:
7.736842
42
0.571429
20
147
4.2
0.9
0
0
0
0
0
0
0
0
0
0
0.009259
0.265306
147
18
43
8.166667
0.768519
0.809524
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
cfc6f49ca0fb34c106fe49a51777d3f54b5b0208
566
py
Python
Inheritance/Exercises/03. players_and_monsters/project/test_file.py
geodimitrov/PythonOOP_SoftUni
f1c6718c878b618b3ab3f174cd4d187bd178940b
[ "MIT" ]
1
2021-06-30T11:53:44.000Z
2021-06-30T11:53:44.000Z
Inheritance/Exercises/03. players_and_monsters/project/test_file.py
geodimitrov/PythonOOP_SoftUni
f1c6718c878b618b3ab3f174cd4d187bd178940b
[ "MIT" ]
null
null
null
Inheritance/Exercises/03. players_and_monsters/project/test_file.py
geodimitrov/PythonOOP_SoftUni
f1c6718c878b618b3ab3f174cd4d187bd178940b
[ "MIT" ]
null
null
null
# from project.hero import Hero # from project.elf import Elf # from project.wizard import Wizard # from project.knight import Knight # from project.muse_elf import MuseElf # from project.dark_wizard import DarkWizard # from project.dark_knight import DarkKnight # from project.soul_master import SoulMaster # from proje...
28.3
46
0.756184
82
566
5.012195
0.341463
0.240876
0.072993
0
0
0
0
0
0
0
0
0.006048
0.123675
566
20
47
28.3
0.822581
0.929329
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
cfcc80e2da159d08ae5284672658b5b643b8bb8d
49
py
Python
Day1/loop/whileloop.py
nuSapb/basic-python
df6b15e922db7a27a8931143f8dc8ca4fb198b6b
[ "MIT" ]
null
null
null
Day1/loop/whileloop.py
nuSapb/basic-python
df6b15e922db7a27a8931143f8dc8ca4fb198b6b
[ "MIT" ]
null
null
null
Day1/loop/whileloop.py
nuSapb/basic-python
df6b15e922db7a27a8931143f8dc8ca4fb198b6b
[ "MIT" ]
null
null
null
x = 0 while x < 100: print(x) x += 1
9.8
14
0.387755
9
49
2.111111
0.666667
0
0
0
0
0
0
0
0
0
0
0.192308
0.469388
49
5
15
9.8
0.538462
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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