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
fed270527a07b317f285383337bed792bffc88d5
8,527
py
Python
release/src-rt-6.x.4708/router/samba3/source4/scripting/devel/speedtest.py
zaion520/ATtomato
4d48bb79f8d147f89a568cf18da9e0edc41f93fb
[ "FSFAP" ]
2
2019-01-13T09:19:10.000Z
2019-02-15T01:21:02.000Z
release/src-rt-6.x.4708/router/samba3/source4/scripting/devel/speedtest.py
zaion520/ATtomato
4d48bb79f8d147f89a568cf18da9e0edc41f93fb
[ "FSFAP" ]
null
null
null
release/src-rt-6.x.4708/router/samba3/source4/scripting/devel/speedtest.py
zaion520/ATtomato
4d48bb79f8d147f89a568cf18da9e0edc41f93fb
[ "FSFAP" ]
2
2020-03-08T01:58:25.000Z
2020-12-20T10:34:54.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Unix SMB/CIFS implementation. # This speed test aims to show difference in execution time for bulk # creation of user objects. This will help us compare # Samba4 vs MS Active Directory performance. # Copyright (C) Zahari Zahariev <zahari.zahariev@postpath.com> 2010 # #...
35.235537
113
0.657324
1,177
8,527
4.595582
0.259133
0.01553
0.018488
0.009614
0.246256
0.19486
0.118691
0.099464
0.088001
0.088001
0
0.018848
0.21602
8,527
241
114
35.381743
0.790277
0.127126
0
0.156627
0
0
0.126025
0.022231
0
0
0
0
0
0
null
null
0.024096
0.108434
null
null
0.078313
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
1
0
0
0
0
0
0
0
0
1
fed3a3394927bf3be9d60d45a9db658fcd8c064a
1,154
py
Python
SHS4py/setup.py
YukiMitsuta/shs4py
c6b855f8266c504469d508a95ef1d56fbee76ca5
[ "MIT" ]
2
2020-05-13T01:55:30.000Z
2020-05-13T01:55:32.000Z
SHS4py/setup.py
YukiMitsuta/shs2py
c6b855f8266c504469d508a95ef1d56fbee76ca5
[ "MIT" ]
null
null
null
SHS4py/setup.py
YukiMitsuta/shs2py
c6b855f8266c504469d508a95ef1d56fbee76ca5
[ "MIT" ]
null
null
null
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # vim:fenc=utf-8 # # Copyright 2019.12.19 Yuki Mitsuta # Distributed under terms of the MIT license. from distutils.core import setup from Cython.Build import cythonize import numpy from distutils.extension import Extension from Cython.Distutils import build_ext from C...
26.837209
103
0.677643
143
1,154
5.293706
0.356643
0.095112
0.178336
0.100396
0.307794
0.27609
0.27609
0.217966
0.217966
0.217966
0
0.013472
0.163778
1,154
42
104
27.47619
0.770984
0.348354
0
0.210526
0
0
0.125341
0
0
0
0
0
0
1
0
false
0
0.315789
0
0.315789
0.052632
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
0
0
0
0
1
fed90d1d479e0b394e97443fb8259ae783d5fc76
388
py
Python
anondolok_library/admin_panel/migrations/0017_wish_list_is_wished.py
Horraira/anondolokLibrary
f80a9f1b620235136bec0794a67882f4cb420d50
[ "MIT" ]
null
null
null
anondolok_library/admin_panel/migrations/0017_wish_list_is_wished.py
Horraira/anondolokLibrary
f80a9f1b620235136bec0794a67882f4cb420d50
[ "MIT" ]
null
null
null
anondolok_library/admin_panel/migrations/0017_wish_list_is_wished.py
Horraira/anondolokLibrary
f80a9f1b620235136bec0794a67882f4cb420d50
[ "MIT" ]
null
null
null
# Generated by Django 3.2.1 on 2021-08-08 07:09 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('admin_panel', '0016_wish_list'), ] operations = [ migrations.AddField( model_name='wish_list', name='is_wished', ...
20.421053
53
0.600515
43
388
5.27907
0.790698
0.070485
0
0
0
0
0
0
0
0
0
0.068592
0.286082
388
18
54
21.555556
0.750903
0.115979
0
0
1
0
0.1261
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fedc39528f34dbf8ffde645a4e2ca266531b9f6e
1,203
py
Python
LeetCode/python/211-240/225-implement-stack-using-queues/solution.py
shootsoft/practice
49f28c2e0240de61d00e4e0291b3c5edd930e345
[ "Apache-2.0" ]
null
null
null
LeetCode/python/211-240/225-implement-stack-using-queues/solution.py
shootsoft/practice
49f28c2e0240de61d00e4e0291b3c5edd930e345
[ "Apache-2.0" ]
null
null
null
LeetCode/python/211-240/225-implement-stack-using-queues/solution.py
shootsoft/practice
49f28c2e0240de61d00e4e0291b3c5edd930e345
[ "Apache-2.0" ]
null
null
null
class Stack: # initialize your data structure here. def __init__(self): self.q1 = [] self.q2 =[] self.switch = 1 self.length = 0 # @param x, an integer # @return nothing def push(self, x): if self.switch == 1: self.q1.append(x) while(l...
20.05
46
0.482959
163
1,203
3.539877
0.226994
0.07279
0.095321
0.07799
0.42461
0.227036
0.180243
0
0
0
0
0.05034
0.389027
1,203
60
47
20.05
0.734694
0.105569
0
0.348837
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.093023
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
1
0
0
0
0
0
0
0
0
1
fedf195ac1db26f2143739910f481c3e64e7276b
632
py
Python
pseudo/middlewares/standard_middleware.py
mifieldxu/pseudo-lang
889477c094236dc36526984be6f6537a4875e5a9
[ "MIT" ]
661
2016-03-12T07:32:36.000Z
2018-11-12T14:31:30.000Z
pseudo/middlewares/standard_middleware.py
mifieldxu/pseudo-lang
889477c094236dc36526984be6f6537a4875e5a9
[ "MIT" ]
21
2016-03-07T03:49:17.000Z
2018-11-05T08:30:42.000Z
pseudo/middlewares/standard_middleware.py
mifieldxu/pseudo-lang
889477c094236dc36526984be6f6537a4875e5a9
[ "MIT" ]
45
2016-03-07T03:48:09.000Z
2018-04-16T20:55:47.000Z
from pseudo.middlewares.middleware import Middleware from pseudo.pseudo_tree import Node class StandardMiddleware(Middleware): ''' changes standard_iterable_call in return to a special type used by go ''' @classmethod def process(cls, tree): return cls().transform(tree) def trans...
27.478261
71
0.693038
75
632
5.64
0.506667
0.113475
0.141844
0.099291
0.156028
0.156028
0
0
0
0
0
0
0.234177
632
22
72
28.727273
0.873967
0.110759
0
0
0
0
0.094096
0.094096
0
0
0
0
0
1
0.153846
false
0
0.153846
0.076923
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
0
0
0
0
0
1
0
0
1
fee29dbc5bcc2e392858be15729c681837201317
782
py
Python
aybtools/minitest.py
abc1035/aiyubin-task1
cbb6182555a364a40a05053bb97730f84419e7c2
[ "Apache-2.0" ]
null
null
null
aybtools/minitest.py
abc1035/aiyubin-task1
cbb6182555a364a40a05053bb97730f84419e7c2
[ "Apache-2.0" ]
null
null
null
aybtools/minitest.py
abc1035/aiyubin-task1
cbb6182555a364a40a05053bb97730f84419e7c2
[ "Apache-2.0" ]
null
null
null
"""this file is aimed to generate a small datasets for test""" import json f = open("/home/ayb/UVM_Datasets/voc_test3.json", "r") line = f.readline() f.close() dic = eval(line) images = dic['images'] new_images=[] for image in images: if "ten" in image['file_name']: continue else: new_images.ap...
26.965517
62
0.695652
118
782
4.440678
0.389831
0.066794
0.041985
0.053435
0.09542
0.09542
0
0
0
0
0
0.00607
0.157289
782
29
63
26.965517
0.789074
0.089514
0
0
1
0
0.196605
0.114569
0
0
0
0
0
1
0
false
0
0.038462
0
0.038462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fee9fb8224e0f73a87190eba6760c2ab9fb8ba64
2,278
py
Python
conf.py
evhub/coconut
27a4af9dc06667870f736f20c862930001b8cbb2
[ "Apache-2.0" ]
3,624
2015-02-22T07:06:18.000Z
2022-03-31T03:38:00.000Z
conf.py
evhub/coconut
27a4af9dc06667870f736f20c862930001b8cbb2
[ "Apache-2.0" ]
627
2015-03-31T01:18:53.000Z
2022-03-28T07:48:31.000Z
conf.py
evhub/coconut
27a4af9dc06667870f736f20c862930001b8cbb2
[ "Apache-2.0" ]
162
2016-03-02T05:22:55.000Z
2022-03-31T23:42:55.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # ----------------------------------------------------------------------------------------------------------------------- # INFO: # ----------------------------------------------------------------------------------------------------------------------- """ Author: Evan Hub...
27.119048
121
0.404302
167
2,278
5.245509
0.538922
0.050228
0.045662
0.059361
0
0
0
0
0
0
0
0.002453
0.105356
2,278
83
122
27.445783
0.42738
0.516681
0
0.047619
0
0
0.093866
0
0
0
0
0
0
1
0
false
0
0.214286
0
0.214286
0.02381
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
feed9c6e42e57cc00e48de5e38fb3c0533aa7801
9,778
py
Python
model/report.py
CJBriers/orange-river-thesis
407d45b75a349346fce59ea83537988a370fbcd4
[ "Unlicense" ]
null
null
null
model/report.py
CJBriers/orange-river-thesis
407d45b75a349346fce59ea83537988a370fbcd4
[ "Unlicense" ]
null
null
null
model/report.py
CJBriers/orange-river-thesis
407d45b75a349346fce59ea83537988a370fbcd4
[ "Unlicense" ]
null
null
null
""" Construct dataset """ import sys import math import pandas as pd import numpy as np import csv def calc_gaps(station): """Calculate gaps in time series""" df = pd.read_csv('../data/all_clean/{0}-clean.txt'.format(station), parse_dates=['Date']) df = df.set_index(['Date']) df.index = pd.to_datetim...
46.784689
96
0.572101
1,374
9,778
3.956332
0.093886
0.09014
0.060706
0.073584
0.745217
0.707322
0.681935
0.671266
0.604121
0.570824
0
0.087321
0.183678
9,778
209
97
46.784689
0.593711
0.048988
0
0.494048
0
0
0.212046
0.033521
0
0
0
0
0
1
0.041667
false
0
0.029762
0
0.071429
0.279762
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fef4d184bfd9d1d7e1f08da74dc50042dbb9f865
782
py
Python
envio2/poisson.py
leonheld/INE5118
356ac119275237f6291efd2e8d5df0cc9cb69c52
[ "WTFPL" ]
null
null
null
envio2/poisson.py
leonheld/INE5118
356ac119275237f6291efd2e8d5df0cc9cb69c52
[ "WTFPL" ]
null
null
null
envio2/poisson.py
leonheld/INE5118
356ac119275237f6291efd2e8d5df0cc9cb69c52
[ "WTFPL" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt import seaborn as sns import collections import scipy from scipy.stats import poisson from scipy.stats import norm from math import sqrt sns.set(style = "darkgrid", context = "paper") plt.rc('text', usetex=True) plt.rc('font', family='serif') def poipmf(start, stop, ...
23.69697
67
0.668798
135
782
3.874074
0.488889
0.076482
0.053537
0.076482
0
0
0
0
0
0
0
0.056231
0.158568
782
33
68
23.69697
0.738602
0
0
0
0
0
0.095785
0
0
0
0
0
0
1
0.038462
false
0
0.307692
0
0.346154
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
0
0
0
0
1
fef5aef80749817e5e6c4a5ddbe12454a5046f5d
1,095
py
Python
dxgb_bench/datasets/__init__.py
trivialfis/dxgb_bench
eeb49f8910dc2b39ceba42b9cf6fbd7125b8c0c3
[ "BSD-3-Clause" ]
2
2019-12-31T01:12:00.000Z
2020-12-27T13:06:37.000Z
dxgb_bench/datasets/__init__.py
trivialfis/dxgb_bench
eeb49f8910dc2b39ceba42b9cf6fbd7125b8c0c3
[ "BSD-3-Clause" ]
null
null
null
dxgb_bench/datasets/__init__.py
trivialfis/dxgb_bench
eeb49f8910dc2b39ceba42b9cf6fbd7125b8c0c3
[ "BSD-3-Clause" ]
null
null
null
from .mortgage import Mortgage from .taxi import Taxi from .higgs import Higgs from .year import YearPrediction from .covtype import Covtype from .airline import Airline from .epsilon import Epsilon from .generated import Generated import argparse from typing import Tuple from dxgb_bench.utils import DataSet def fac...
26.071429
72
0.617352
142
1,095
4.753521
0.239437
0.118519
0.13037
0.142222
0.272593
0.248889
0.248889
0
0
0
0
0
0.282192
1,095
41
73
26.707317
0.858779
0
0
0.210526
0
0
0.061187
0
0
0
0
0
0
1
0.026316
false
0
0.289474
0
0.526316
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
0
0
1
0
0
1
fef6cbeed113fcdf6e77246a5855bb78c7b7f679
3,291
py
Python
tests/test_tools/test_aucote_ad/test_parsers/test_enum4linux_parser.py
Wolodija/aucote
bb21ff02965ed0cca5a55ee559eae77856d9866c
[ "Apache-2.0" ]
1
2019-12-05T11:17:18.000Z
2019-12-05T11:17:18.000Z
tests/test_tools/test_aucote_ad/test_parsers/test_enum4linux_parser.py
FCG-LLC/aucote
bb21ff02965ed0cca5a55ee559eae77856d9866c
[ "Apache-2.0" ]
13
2019-12-05T10:34:41.000Z
2019-12-05T10:49:27.000Z
tests/test_tools/test_aucote_ad/test_parsers/test_enum4linux_parser.py
Wolodija/aucote
bb21ff02965ed0cca5a55ee559eae77856d9866c
[ "Apache-2.0" ]
4
2019-11-09T17:37:07.000Z
2019-12-16T09:50:02.000Z
from unittest import TestCase from tools.acuote_ad.parsers.enum4linux_parser import Enum4linuxParser from tools.acuote_ad.structs import Enum4linuxOS, Enum4linuxUser, Enum4linuxShare, Enum4linuxGroup, \ Enum4linuxPasswordPolicy class Enum4linuxParserTest(TestCase): from tests.test_tools.test_aucote_ad.test_p...
47.695652
119
0.642054
349
3,291
5.879656
0.383954
0.02924
0.02924
0.048733
0.174951
0.075049
0.075049
0
0
0
0
0.03818
0.251899
3,291
68
120
48.397059
0.795288
0
0
0.153846
0
0
0.163172
0
0
0
0.015497
0
0.115385
1
0.115385
false
0.115385
0.076923
0
0.211538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
3a011d5d07d3471ba411202dd7f3564a6a9f03b2
1,075
py
Python
scripts/configs/minimal.py
Skydivizer/compsci
2ef7e258f00ebdfb274210f22852619f4007b5b5
[ "MIT" ]
null
null
null
scripts/configs/minimal.py
Skydivizer/compsci
2ef7e258f00ebdfb274210f22852619f4007b5b5
[ "MIT" ]
null
null
null
scripts/configs/minimal.py
Skydivizer/compsci
2ef7e258f00ebdfb274210f22852619f4007b5b5
[ "MIT" ]
null
null
null
import numpy as np from pcs_aero.experiment import ExperimentGroup # Convenience _all_shapes = ['rect', 'halfcircle', 'triangle'] # Script to use. program = "scripts/coef.py" experiments = [ ExperimentGroup("scripts/results/theta.txt", { 'shape': _all_shapes, 'theta': range(0, 181, 30), ...
22.87234
60
0.512558
115
1,075
4.686957
0.478261
0.083488
0.269017
0.12616
0.25974
0.141002
0.141002
0
0
0
0
0.076016
0.290233
1,075
47
61
22.87234
0.630406
0.024186
0
0.459459
0
0
0.239733
0.133715
0
0
0
0
0
1
0
false
0
0.054054
0
0.054054
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3a07e8a86e98bd8d7a1c614eb447374f22ad707d
272
py
Python
Pensamento Computacional/Exercicios/ex055.py
jotaven/UnipeCC
0f8dc29e9cc5d4b097d5e6347b4bc198ac246032
[ "MIT" ]
1
2022-03-08T19:38:21.000Z
2022-03-08T19:38:21.000Z
Pensamento Computacional/Exercicios/ex055.py
jotaven/UnipeCC
0f8dc29e9cc5d4b097d5e6347b4bc198ac246032
[ "MIT" ]
null
null
null
Pensamento Computacional/Exercicios/ex055.py
jotaven/UnipeCC
0f8dc29e9cc5d4b097d5e6347b4bc198ac246032
[ "MIT" ]
null
null
null
'''Faça um programa que receba dois números inteiros e gere os números inteiros que estão no intervalo compreendido por eles.''' number1 = int(input("Digite o primeiro numero: ")) + 1 number2 = int(input("Digite o segundo numero: ")) print(list(range(number1, number2)))
45.333333
128
0.742647
40
272
5.05
0.75
0.148515
0.138614
0.148515
0
0
0
0
0
0
0
0.021459
0.143382
272
6
129
45.333333
0.845494
0.448529
0
0
0
0
0.351724
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3a1356e603adca06d07ec6b6d2822b33c0734922
1,805
py
Python
main.py
kamaravichow/hrv-stress-detection-model
d9f0f0d779860ca6464b9e3ba3bebf98b2480aaa
[ "MIT" ]
2
2021-05-17T12:13:27.000Z
2022-01-11T05:13:31.000Z
main.py
kamaravichow/hrv-stress-prediction-model
ecd37cfbdf18f182ce1cf0c8ae72377d17af400e
[ "MIT" ]
null
null
null
main.py
kamaravichow/hrv-stress-prediction-model
ecd37cfbdf18f182ce1cf0c8ae72377d17af400e
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd from sklearn.preprocessing import MinMaxScaler from sklearn.preprocessing import OneHotEncoder import keras from keras import backend as K from keras.models import Sequential from keras.layers import Activation from keras.layers.core import Dense from keras.optimizers import Adam...
30.59322
111
0.767867
241
1,805
5.589212
0.373444
0.046771
0.047513
0.042316
0.118782
0.046028
0
0
0
0
0
0.016739
0.106371
1,805
58
112
31.12069
0.818351
0.039335
0
0
0
0
0.09838
0.013889
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0.051282
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
0
0
0
0
1
3a1de539c2b2d30d4717b490b9ad3c7c4765c17a
1,563
py
Python
sc/acme_test.py
elliotgunn/DS-Unit-3-Sprint-1-Software-Engineering
3733549eddb11e3b389833c75b599fa3119fce91
[ "MIT" ]
null
null
null
sc/acme_test.py
elliotgunn/DS-Unit-3-Sprint-1-Software-Engineering
3733549eddb11e3b389833c75b599fa3119fce91
[ "MIT" ]
null
null
null
sc/acme_test.py
elliotgunn/DS-Unit-3-Sprint-1-Software-Engineering
3733549eddb11e3b389833c75b599fa3119fce91
[ "MIT" ]
null
null
null
import unittest from acme import Product from acme_report import generate_products, ADJECTIVES, NOUNS class AcmeProductTests(unittest.TestCase): """Making sure Acme products are the tops!""" def test_default_product_price(self): """Test default product price being 10.""" prod = Product('Test P...
36.348837
92
0.666027
188
1,563
5.367021
0.404255
0.065411
0.071358
0.041625
0.158573
0.095144
0.095144
0.095144
0.095144
0
0
0.01657
0.227767
1,563
43
93
36.348837
0.819387
0.206014
0
0.076923
1
0
0.066892
0
0
0
0
0
0.269231
1
0.192308
false
0
0.115385
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3a23eb497df664e203d7ad3be15d7dd6da9c5bac
206
py
Python
videoFeedStuff/UDPRecieverTest.py
mattwalstra/2019RobotCode
44f2543876b95428a68dc84820f931571244e49d
[ "BSD-3-Clause" ]
4
2020-11-25T18:30:33.000Z
2021-11-14T04:50:16.000Z
videoFeedStuff/UDPRecieverTest.py
mattwalstra/2019RobotCode
44f2543876b95428a68dc84820f931571244e49d
[ "BSD-3-Clause" ]
6
2019-08-30T00:06:15.000Z
2020-02-29T17:02:18.000Z
videoFeedStuff/UDPRecieverTest.py
mattwalstra/2019RobotCode
44f2543876b95428a68dc84820f931571244e49d
[ "BSD-3-Clause" ]
3
2019-10-29T01:13:09.000Z
2022-01-14T21:53:06.000Z
import socket import cv2 UDP_IP = "127.0.0.1" UDP_PORT = 5005 sock= socket.socket(socket.AF_INET, socket.SOCK_DGRAM) sock.bind((UDP_IP,UDP_PORT)) while True: data, addr = sock.recvfrom(1024) print data
17.166667
54
0.747573
37
206
4
0.594595
0.067568
0
0
0
0
0
0
0
0
0
0.083333
0.126214
206
11
55
18.727273
0.738889
0
0
0
0
0
0.043689
0
0
0
0
0
0
0
null
null
0
0.222222
null
null
0.111111
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
1
0
0
0
0
0
0
0
0
1
3a26ea5893a6c81f5be4832f2b022be1523feeec
475
py
Python
test/default_value_constrct.py
bourne7/demo-python
0c4dd12475bcada4e5826b7117bd4c4bdcedfd9f
[ "MIT" ]
null
null
null
test/default_value_constrct.py
bourne7/demo-python
0c4dd12475bcada4e5826b7117bd4c4bdcedfd9f
[ "MIT" ]
null
null
null
test/default_value_constrct.py
bourne7/demo-python
0c4dd12475bcada4e5826b7117bd4c4bdcedfd9f
[ "MIT" ]
null
null
null
# Default values are computed once, then re-used. # https://blog.csdn.net/x_r_su/article/details/54730654 class MyList: def __init__(self, init_list=[]): self.list = init_list print(id(init_list)) def add(self, ele): self.list.append(ele) def appender(ele): # obj = MyList() ...
19
55
0.612632
68
475
4.014706
0.588235
0.117216
0
0
0
0
0
0
0
0
0
0.025
0.242105
475
24
56
19.791667
0.733333
0.244211
0
0
0
0
0.03662
0
0
0
0
0
0
1
0.214286
false
0
0
0
0.285714
0.214286
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
0
0
0
0
1
3a2b64c37238304dc06979085651c7ceb52f13cf
715
py
Python
connect_four/agents/dfpn_build_db.py
rpachauri/connect4
6caf6965afaaff6883193ac295c6ac5b1f4e9c4a
[ "MIT" ]
null
null
null
connect_four/agents/dfpn_build_db.py
rpachauri/connect4
6caf6965afaaff6883193ac295c6ac5b1f4e9c4a
[ "MIT" ]
null
null
null
connect_four/agents/dfpn_build_db.py
rpachauri/connect4
6caf6965afaaff6883193ac295c6ac5b1f4e9c4a
[ "MIT" ]
null
null
null
import gym import time from connect_four.agents import DFPN from connect_four.agents import difficult_connect_four_positions from connect_four.evaluation.victor.victor_evaluator import Victor from connect_four.hashing import ConnectFourHasher from connect_four.transposition.sqlite_transposition_table import SQLiteTra...
27.5
90
0.818182
96
715
5.90625
0.427083
0.155203
0.132275
0.074074
0.095238
0
0
0
0
0
0
0.001543
0.093706
715
25
91
28.6
0.873457
0
0
0
0
0
0.061538
0
0
0
0
0
0
1
0
false
0
0.368421
0
0.368421
0.105263
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
0
0
0
0
1
3a35972fa9769d10129eb177c8f4baaa76b3e7f2
5,522
py
Python
src/updater.py
vincent-lg/cocomud
a2c174f15b024d834266e0bef3d0404732d34a47
[ "BSD-3-Clause" ]
3
2016-10-13T01:39:20.000Z
2017-08-01T15:58:12.000Z
src/updater.py
vincent-lg/cocomud
a2c174f15b024d834266e0bef3d0404732d34a47
[ "BSD-3-Clause" ]
11
2018-11-27T16:13:11.000Z
2019-12-29T11:34:54.000Z
src/updater.py
vlegoff/cocomud
a2c174f15b024d834266e0bef3d0404732d34a47
[ "BSD-3-Clause" ]
2
2017-08-02T19:36:57.000Z
2017-10-21T04:13:34.000Z
# Copyright (c) 2016-2020, LE GOFF Vincent # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this # list of conditions a...
31.919075
85
0.676748
700
5,522
5.27
0.391429
0.01518
0.020331
0.027108
0.060721
0.036866
0.036866
0.036866
0.036866
0.036866
0
0.005815
0.221478
5,522
172
86
32.104651
0.852059
0.287396
0
0.116279
0
0
0.071429
0.025015
0
0
0
0
0.023256
0
null
null
0.046512
0.081395
null
null
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
1
0
0
0
0
0
0
0
0
1
3a4bd5f1acbebcab5a53f4dc1416ece46fe6385b
2,418
py
Python
postgres-debezium-ksql-elasticsearch/python_kafka_notify.py
alonsoir/examples-2
8014388bc41a9ed02dbe1659d52defc3d9eaec47
[ "Apache-2.0" ]
1,150
2018-07-06T13:05:18.000Z
2022-03-31T19:56:24.000Z
postgres-debezium-ksql-elasticsearch/python_kafka_notify.py
alonsoir/examples-2
8014388bc41a9ed02dbe1659d52defc3d9eaec47
[ "Apache-2.0" ]
114
2018-08-21T16:55:24.000Z
2022-03-07T09:53:56.000Z
postgres-debezium-ksql-elasticsearch/python_kafka_notify.py
alonsoir/examples-2
8014388bc41a9ed02dbe1659d52defc3d9eaec47
[ "Apache-2.0" ]
732
2018-07-13T07:02:39.000Z
2022-03-29T17:58:58.000Z
# rmoff / 13 Jun 2018 from slackclient import SlackClient from confluent_kafka import Consumer, KafkaError import json import time import os,sys token = os.environ.get('SLACK_API_TOKEN') if token is None: print('\n\n*******\nYou need to set your Slack API token in the SLACK_API_TOKEN environment variable\n\nExiting.\...
34.056338
171
0.567825
299
2,418
4.518395
0.471572
0.029608
0.028868
0.022206
0.088823
0.088823
0.054774
0.054774
0.054774
0.054774
0
0.010632
0.299835
2,418
70
172
34.542857
0.78736
0.050868
0
0.233333
0
0.033333
0.284155
0.035356
0
0
0
0
0
0
null
null
0
0.083333
null
null
0.183333
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
1
0
0
0
0
0
0
0
0
1
3a56dab7a84f74120c530152fb5ee59e94feaea7
763
py
Python
alipay/aop/api/response/AlipayEcoDoctemplateSettingurlQueryResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
213
2018-08-27T16:49:32.000Z
2021-12-29T04:34:12.000Z
alipay/aop/api/response/AlipayEcoDoctemplateSettingurlQueryResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
29
2018-09-29T06:43:00.000Z
2021-09-02T03:27:32.000Z
alipay/aop/api/response/AlipayEcoDoctemplateSettingurlQueryResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
59
2018-08-27T16:59:26.000Z
2022-03-25T10:08:15.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse class AlipayEcoDoctemplateSettingurlQueryResponse(AlipayResponse): def __init__(self): super(AlipayEcoDoctemplateSettingurlQueryResponse, self).__init__() self._setting_url...
29.346154
116
0.732634
79
763
6.746835
0.405063
0.168856
0.105066
0.06379
0
0
0
0
0
0
0
0.001603
0.182176
763
25
117
30.52
0.852564
0.055046
0
0
0
0
0.030598
0
0
0
0
0
0
1
0.25
false
0
0.125
0.0625
0.5
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
0
0
0
0
1
3a5ab50d6f65ec8e35a285677539fd86c566b208
6,779
py
Python
starfish/test/full_pipelines/cli/test_iss.py
ttung/starfish
1bd8abf55a335620e4b20abb041f478334714081
[ "MIT" ]
null
null
null
starfish/test/full_pipelines/cli/test_iss.py
ttung/starfish
1bd8abf55a335620e4b20abb041f478334714081
[ "MIT" ]
null
null
null
starfish/test/full_pipelines/cli/test_iss.py
ttung/starfish
1bd8abf55a335620e4b20abb041f478334714081
[ "MIT" ]
null
null
null
""" Notes ----- This test and docs/source/usage/iss/iss_cli.sh test the same code paths and should be updated together """ import os import unittest import numpy as np import pandas as pd import pytest from starfish.test.full_pipelines.cli._base_cli_test import CLITest from starfish.types import Features EXPERIMENT...
37.871508
95
0.462163
574
6,779
5.376307
0.266551
0.096889
0.126701
0.171419
0.596565
0.596565
0.585548
0.575178
0.575178
0.565781
0
0.012016
0.386193
6,779
178
96
38.08427
0.729632
0.034666
0
0.484076
0
0
0.262626
0.039945
0
0
0
0.005618
0.006369
1
0.025478
false
0
0.044586
0.019108
0.095541
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
28a3e4558b47fe9d46c278b2b29267d610a6f2e0
414
py
Python
setup.py
helloqiu/SillyServer
1e70f11efd2af679c45de819c226314c28cf7b8b
[ "MIT" ]
null
null
null
setup.py
helloqiu/SillyServer
1e70f11efd2af679c45de819c226314c28cf7b8b
[ "MIT" ]
null
null
null
setup.py
helloqiu/SillyServer
1e70f11efd2af679c45de819c226314c28cf7b8b
[ "MIT" ]
null
null
null
# !/usr/bin/env python # coding=utf-8 from setuptools import setup, find_packages import SillyServer setup( name="SillyServer", version=SillyServer.__VERSION__, author=SillyServer.__AUTHOR__, url=SillyServer.__URL__, license=SillyServer.__LICENSE__, packages=find_packages(), description="A...
23
48
0.7343
47
414
6.06383
0.680851
0.084211
0
0
0
0
0
0
0
0
0
0.002882
0.161836
414
17
49
24.352941
0.818444
0.07971
0
0
0
0
0.174603
0
0
0
0
0
0
1
0
true
0
0.153846
0
0.153846
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
0
0
0
0
0
1
28aa27c80cafaa1f3294e47311032920ee0f8eae
686
py
Python
app/hive_sbi_api/v1/filters.py
josephsavage/hive-sbi-api
ae642d608c0fdfc4ec8e3dd9c827e3826ffcf235
[ "MIT" ]
null
null
null
app/hive_sbi_api/v1/filters.py
josephsavage/hive-sbi-api
ae642d608c0fdfc4ec8e3dd9c827e3826ffcf235
[ "MIT" ]
null
null
null
app/hive_sbi_api/v1/filters.py
josephsavage/hive-sbi-api
ae642d608c0fdfc4ec8e3dd9c827e3826ffcf235
[ "MIT" ]
null
null
null
from django_filters import rest_framework as filters from hive_sbi_api.core.models import Transaction class TransactionFilter(filters.FilterSet): account = filters.CharFilter( field_name='account__account', label='account', ) sponsor = filters.CharFilter( field_name='sponsor__acc...
21.4375
52
0.580175
60
686
6.366667
0.516667
0.133508
0.172775
0.204188
0
0
0
0
0
0
0
0
0.325073
686
31
53
22.129032
0.825054
0
0
0
0
0
0.177843
0.037901
0
0
0
0
0
1
0
false
0
0.08
0
0.28
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
28aecc9f27bf7dc0531c798b3100a795bdc62d36
402
py
Python
meppel_afvalkalender/__init__.py
westenberg/python-meppel-afvalkalender
2bb938dc327bb7ed324abb8ac1549ef3eb2a6c46
[ "MIT" ]
null
null
null
meppel_afvalkalender/__init__.py
westenberg/python-meppel-afvalkalender
2bb938dc327bb7ed324abb8ac1549ef3eb2a6c46
[ "MIT" ]
null
null
null
meppel_afvalkalender/__init__.py
westenberg/python-meppel-afvalkalender
2bb938dc327bb7ed324abb8ac1549ef3eb2a6c46
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Asynchronous Python client for the Meppel Afvalkalender API.""" from .const import ( # noqa WASTE_TYPE_NON_RECYCLABLE, WASTE_TYPE_ORGANIC, WASTE_TYPE_PAPER, WASTE_TYPE_PLASTIC, ) from .meppel_afvalkalender import ( # noqa MeppelAfvalkalender, MeppelAfvalkalenderAddr...
25.125
66
0.746269
37
402
7.837838
0.702703
0.124138
0
0
0
0
0
0
0
0
0
0.003012
0.174129
402
15
67
26.8
0.870482
0.231343
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
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
0
0
0
0
0
1
28b88eb22530bb7afacb96157433273443e65dfe
2,062
py
Python
src/lib/pedal/report/imperative.py
Skydler/skulpt
6eeabde2c5eb80c4a13f0958b75a69d99cd31b8a
[ "MIT" ]
4
2015-08-06T07:19:58.000Z
2020-12-10T08:55:10.000Z
src/lib/pedal/report/imperative.py
Skydler/skulpt
6eeabde2c5eb80c4a13f0958b75a69d99cd31b8a
[ "MIT" ]
null
null
null
src/lib/pedal/report/imperative.py
Skydler/skulpt
6eeabde2c5eb80c4a13f0958b75a69d99cd31b8a
[ "MIT" ]
2
2019-10-16T22:18:29.000Z
2020-04-27T07:25:06.000Z
""" Imperative style commands for constructing feedback in a convenient way. Uses a global report object (MAIN_REPORT). """ __all__ = ['set_success', 'compliment', 'give_partial', 'explain', 'gently', 'hide_correctness', 'suppress', 'log', 'debug', 'clear_report', 'get_all_feedback', 'MAIN_REPORT...
25.45679
78
0.700291
282
2,062
5.003546
0.37234
0.09922
0.025514
0.025514
0.096386
0.096386
0.053863
0.053863
0.053863
0
0
0
0.198351
2,062
80
79
25.775
0.8536
0.43065
0
0
0
0
0.126617
0
0
0
0
0
0
1
0.407407
false
0
0.037037
0.037037
0.481481
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
0
0
0
0
1
28bdeb5755ff22918a2fbcbe250d29a175376694
2,230
py
Python
awx/main/migrations/0118_auto_20200326_1123.py
Pavloid21/awx
224827f6060013b996eb8210597bca68cda65d40
[ "Apache-2.0" ]
null
null
null
awx/main/migrations/0118_auto_20200326_1123.py
Pavloid21/awx
224827f6060013b996eb8210597bca68cda65d40
[ "Apache-2.0" ]
null
null
null
awx/main/migrations/0118_auto_20200326_1123.py
Pavloid21/awx
224827f6060013b996eb8210597bca68cda65d40
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.2.8 on 2020-03-26 11:23 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import taggit.managers class Migration(migrations.Migration): dependencies = [ ('taggit', '0003_taggeditem_add_unique_index'), migrations.swa...
40.545455
265
0.636323
232
2,230
5.948276
0.353448
0.058696
0.143478
0.136957
0.584783
0.584783
0.584783
0.463768
0.463768
0.463768
0
0.0223
0.235874
2,230
54
266
41.296296
0.787559
0.020179
0
0.479167
1
0.041667
0.215758
0.047641
0
0
0
0
0
1
0
false
0
0.083333
0
0.145833
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
28bf6e0b26a29a72b45347b21b576517484d1232
7,455
py
Python
crichtonweb/cli/crichtoncli/commands/indexzenoss.py
bpluly/crichton
a2fa09c181ba1e44ee1aae7a57769e1778de7f3a
[ "Apache-2.0" ]
null
null
null
crichtonweb/cli/crichtoncli/commands/indexzenoss.py
bpluly/crichton
a2fa09c181ba1e44ee1aae7a57769e1778de7f3a
[ "Apache-2.0" ]
null
null
null
crichtonweb/cli/crichtoncli/commands/indexzenoss.py
bpluly/crichton
a2fa09c181ba1e44ee1aae7a57769e1778de7f3a
[ "Apache-2.0" ]
null
null
null
# Crichton, Admirable Source Configuration Management # Copyright 2012 British Broadcasting Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licens...
38.626943
162
0.604158
857
7,455
5.162194
0.337223
0.015823
0.016275
0.023056
0.181736
0.130651
0.110307
0.074593
0.033906
0
0
0.008135
0.290946
7,455
192
163
38.828125
0.828793
0.344064
0
0.04902
0
0
0.09219
0.005801
0
0
0
0
0
0
null
null
0.009804
0.098039
null
null
0.019608
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
1
0
0
0
0
0
0
0
0
1
28c06260afb46d51a8efb662889b04f4fcf707cf
1,259
py
Python
tools/map_use_tool.py
BenSmithers/MultiHex2
3a241d7b6e8681b56ac8f6dcc7f707bed47420ea
[ "MIT" ]
null
null
null
tools/map_use_tool.py
BenSmithers/MultiHex2
3a241d7b6e8681b56ac8f6dcc7f707bed47420ea
[ "MIT" ]
null
null
null
tools/map_use_tool.py
BenSmithers/MultiHex2
3a241d7b6e8681b56ac8f6dcc7f707bed47420ea
[ "MIT" ]
null
null
null
from math import pi import os from MultiHex2.tools import Basic_Tool from MultiHex2.core.coordinates import screen_to_hex, hex_to_screen from MultiHex2.actions import NullAction from tools.basic_tool import ToolLayer from PyQt5 import QtGui art_dir = os.path.join( os.path.dirname(__file__),'..','assets','buttons') ...
26.787234
97
0.664813
170
1,259
4.741176
0.5
0.037221
0.037221
0.032258
0.057072
0.057072
0.057072
0
0
0
0
0.013252
0.22081
1,259
47
98
26.787234
0.808359
0.089754
0
0.074074
0
0
0.027531
0
0
0
0
0
0.037037
1
0.148148
false
0
0.259259
0.037037
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
28c44e5c79243f102d3a26cb1385a162782a3c09
538
py
Python
setup.py
Arinerron/pystrfry
c04674ec2fbb97a40d8f50d643b3fe68787537ff
[ "BSD-3-Clause" ]
3
2020-04-12T22:01:35.000Z
2022-02-23T02:03:49.000Z
setup.py
Arinerron/pystrfry
c04674ec2fbb97a40d8f50d643b3fe68787537ff
[ "BSD-3-Clause" ]
1
2020-04-12T23:34:27.000Z
2020-04-12T23:34:27.000Z
setup.py
Arinerron/pystrfry
c04674ec2fbb97a40d8f50d643b3fe68787537ff
[ "BSD-3-Clause" ]
1
2020-04-12T23:27:57.000Z
2020-04-12T23:27:57.000Z
#!/usr/bin/env python3 from setuptools import setup with open('README.md', 'r') as f: long_description = f.read() setup( name = 'pystrfry', version = '1.0.3', license = 'BSD-3-Clause', description = 'a tool for solving those annoying strfry CTF challenges', long_description = long_description...
25.619048
76
0.656134
67
538
5.149254
0.776119
0.173913
0.110145
0.173913
0
0
0
0
0
0
0
0.016317
0.202602
538
20
77
26.9
0.787879
0.039033
0
0
0
0
0.306202
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.0625
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
28c6d8e89aac74c2a79e091e3080b7856453ade6
30,386
py
Python
main.py
k5924/TheVault
8183d94edd30c4f69a6f468475e296d8c6aa88b4
[ "MIT" ]
2
2020-12-11T16:36:00.000Z
2021-08-15T18:02:40.000Z
main.py
k5924/TheVault
8183d94edd30c4f69a6f468475e296d8c6aa88b4
[ "MIT" ]
null
null
null
main.py
k5924/TheVault
8183d94edd30c4f69a6f468475e296d8c6aa88b4
[ "MIT" ]
null
null
null
import sys import os import random import csv import json from platform import system from string import ascii_uppercase, ascii_lowercase, digits, punctuation from startPage import Ui_startPage from genPassPage import Ui_passwordGen from allAccountsPage import Ui_allAccounts from AddAccountPage import Ui_addAccount fro...
49.976974
161
0.605476
3,261
30,386
5.604416
0.161607
0.043664
0.022872
0.036113
0.482819
0.430018
0.400306
0.382742
0.369337
0.327315
0
0.004282
0.28523
30,386
607
162
50.059308
0.837193
0.121964
0
0.43833
0
0
0.083233
0
0
0
0
0
0
1
0.074004
false
0.127135
0.056926
0
0.149905
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
28ca843cc4ec5106773b0e5b06f81ed918168c90
23,049
py
Python
bobby/tests/test_cass.py
rackerlabs/bobby
333fdb3cf40935284cac1c267d578e3d26c46ed6
[ "Apache-2.0" ]
null
null
null
bobby/tests/test_cass.py
rackerlabs/bobby
333fdb3cf40935284cac1c267d578e3d26c46ed6
[ "Apache-2.0" ]
null
null
null
bobby/tests/test_cass.py
rackerlabs/bobby
333fdb3cf40935284cac1c267d578e3d26c46ed6
[ "Apache-2.0" ]
null
null
null
# Copyright 2013 Rackspace, Inc. """ Tests for bobby.cass """ from bobby import cass import mock from silverberg.client import CQLClient from twisted.internet import defer from twisted.trial import unittest class _DBTestCase(unittest.TestCase): """Abstract DB test case.""" def setUp(self): """Patch ...
37.539088
110
0.578029
2,320
23,049
5.606897
0.081034
0.057657
0.061424
0.033595
0.786132
0.724477
0.654828
0.626999
0.588715
0.550277
0
0.009944
0.288819
23,049
613
111
37.600326
0.783614
0.089722
0
0.604265
0
0
0.241537
0.011139
0
0
0
0
0.094787
1
0.092417
false
0
0.011848
0.014218
0.189573
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
28cb604f05cf608baa11255ab4fb12bc669d03b2
318
py
Python
day56/ISS_position.py
Nitin-Diwakar/100-days-of-code
637006b111054ab9a3b81867d3395fefc6584f02
[ "MIT" ]
1
2021-04-24T11:51:00.000Z
2021-04-24T11:51:00.000Z
day56/ISS_position.py
Nitin-Diwakar/100-days-of-code
637006b111054ab9a3b81867d3395fefc6584f02
[ "MIT" ]
null
null
null
day56/ISS_position.py
Nitin-Diwakar/100-days-of-code
637006b111054ab9a3b81867d3395fefc6584f02
[ "MIT" ]
1
2021-07-13T17:59:38.000Z
2021-07-13T17:59:38.000Z
import requests response = requests.get(url="http://api.open-notify.org/iss-now.json") response.raise_for_status() data = response.json() # print(data) longitude = data["iss_position"]["longitude"] latitude = data["iss_position"]["latitude"] iss_position = (longitude, latitude) print(iss_position)
21.2
71
0.713836
40
318
5.525
0.525
0.199095
0.135747
0.253394
0
0
0
0
0
0
0
0
0.128931
318
14
72
22.714286
0.797834
0.034591
0
0
0
0
0.274914
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.125
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
28cefdd2ecee595c3b3d8089c531410175d65c50
4,075
py
Python
offlinetools/views/login.py
OpenCIOC/offlinetools
d73b151b1b17029b3d61fea23f3d09455fb04901
[ "Apache-2.0" ]
1
2018-01-31T04:39:30.000Z
2018-01-31T04:39:30.000Z
offlinetools/views/login.py
OpenCIOC/offlinetools
d73b151b1b17029b3d61fea23f3d09455fb04901
[ "Apache-2.0" ]
null
null
null
offlinetools/views/login.py
OpenCIOC/offlinetools
d73b151b1b17029b3d61fea23f3d09455fb04901
[ "Apache-2.0" ]
null
null
null
# ========================================================================================= # Copyright 2016 Community Information Online Consortium (CIOC) and KCL Software Solutions # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License....
36.383929
134
0.666503
495
4,075
5.305051
0.373737
0.038081
0.020944
0.025895
0.067022
0.051028
0.051028
0.051028
0.051028
0.051028
0
0.00958
0.20589
4,075
111
135
36.711712
0.801916
0.207362
0
0.161765
0
0
0.0554
0
0
0
0
0
0
1
0.073529
false
0.088235
0.161765
0.014706
0.455882
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
28ef7854edf6b3c9e5e1ca5a82498efd8eed08f3
336
py
Python
memory_stats/main.py
makinteract/micropython-examples
29f488bb987ed9ad0f9339d5067d3b896cb32f8a
[ "MIT" ]
null
null
null
memory_stats/main.py
makinteract/micropython-examples
29f488bb987ed9ad0f9339d5067d3b896cb32f8a
[ "MIT" ]
null
null
null
memory_stats/main.py
makinteract/micropython-examples
29f488bb987ed9ad0f9339d5067d3b896cb32f8a
[ "MIT" ]
null
null
null
from microbit import* import gc import micropython def mem_stat(): print('MEMORY STATS') gc.collect() micropython.mem_info() print('Initial free: {} allocated: {}'.format( gc.mem_free(), gc.mem_alloc())) print('END OF REPORT') sleep(500) mem_stat() # Output will be printed via serial (11...
18.666667
54
0.666667
46
336
4.76087
0.695652
0.063927
0
0
0
0
0
0
0
0
0
0.033457
0.199405
336
17
55
19.764706
0.780669
0.154762
0
0
0
0
0.195035
0
0
0
0
0
0
1
0.083333
true
0
0.25
0
0.333333
0.25
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
0
0
0
0
0
1
28f1a7e8a186b048d0f75bc57d5cebd58b24ba85
394
py
Python
home/migrations/0003_alter_blogmodel_image.py
CleoMenezes/My-Distro-Hope
cbe57eb4ad5a999028da1d3fed0229d003f9791a
[ "MIT" ]
2
2021-11-25T06:20:39.000Z
2021-11-25T13:39:09.000Z
home/migrations/0003_alter_blogmodel_image.py
CleoMenezes/My-Distro-Hope
cbe57eb4ad5a999028da1d3fed0229d003f9791a
[ "MIT" ]
null
null
null
home/migrations/0003_alter_blogmodel_image.py
CleoMenezes/My-Distro-Hope
cbe57eb4ad5a999028da1d3fed0229d003f9791a
[ "MIT" ]
null
null
null
# Generated by Django 3.2.9 on 2021-11-25 04:10 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('home', '0002_alter_blogmodel_slug'), ] operations = [ migrations.AlterField( model_name='blogmodel', name='image', ...
20.736842
57
0.601523
42
394
5.52381
0.833333
0
0
0
0
0
0
0
0
0
0
0.067138
0.281726
394
18
58
21.888889
0.75265
0.114213
0
0
1
0
0.144092
0.072046
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
28f21a31653ef42cd417d8ab5c42fe46c04529a2
577
py
Python
workflow/tasks/Start.py
cipher-ops/backend-kts
7ea54d7f56bcb0da54b901ac8f3cfbfbb0b12319
[ "MIT" ]
1
2020-11-30T09:53:40.000Z
2020-11-30T09:53:40.000Z
workflow/tasks/Start.py
cipher-ops/backend-kts
7ea54d7f56bcb0da54b901ac8f3cfbfbb0b12319
[ "MIT" ]
null
null
null
workflow/tasks/Start.py
cipher-ops/backend-kts
7ea54d7f56bcb0da54b901ac8f3cfbfbb0b12319
[ "MIT" ]
null
null
null
import os from workflow.task import Task from workflow.utils.ansible import Ansible class Start(Task): def __init__(self, *args, **kwargs): self.cmd = kwargs.get('cmd') self.servers = kwargs.get('servers') def info(self): self.logger.info('TaskName=Start') def exec(self): ...
32.055556
117
0.644714
72
577
5.083333
0.472222
0.090164
0
0
0
0
0
0
0
0
0
0
0.202773
577
18
118
32.055556
0.795652
0
0
0
0
0
0.091696
0
0
0
0
0
0
1
0.214286
false
0
0.214286
0
0.5
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
0
0
0
0
1
28f832c3d83585b68ad84b8de887089e166c61b1
3,290
py
Python
RLBotPack/Botimus&Bumblebee/strategy/offense.py
FormularSumo/RLBotPack
923d1c040753f5065572f8a0eab20f72de31d559
[ "MIT" ]
null
null
null
RLBotPack/Botimus&Bumblebee/strategy/offense.py
FormularSumo/RLBotPack
923d1c040753f5065572f8a0eab20f72de31d559
[ "MIT" ]
null
null
null
RLBotPack/Botimus&Bumblebee/strategy/offense.py
FormularSumo/RLBotPack
923d1c040753f5065572f8a0eab20f72de31d559
[ "MIT" ]
null
null
null
from maneuvers.strikes.double_touch import DoubleTouch from maneuvers.dribbling.carry_and_flick import CarryAndFlick from maneuvers.maneuver import Maneuver from maneuvers.strikes.aerial_strike import AerialStrike, FastAerialStrike from maneuvers.strikes.close_shot import CloseShot from maneuvers.strikes.dodge_str...
42.727273
111
0.653495
392
3,290
5.326531
0.247449
0.049808
0.042146
0.065134
0.119732
0.05364
0.030651
0
0
0
0
0.028583
0.266261
3,290
76
112
43.289474
0.836371
0.038602
0
0.1
0
0
0
0
0
0
0
0.013158
0
1
0.066667
false
0
0.216667
0
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
28fa68ca095290694744b3c0ce8c01e4c0b3158e
346
py
Python
Taller_02_Secuenciales/Ejercicio_01.py
BarinasJ/Algoritmos_Programacion
fe9fe222619e1c90639a6e365454e06e2621af06
[ "MIT" ]
null
null
null
Taller_02_Secuenciales/Ejercicio_01.py
BarinasJ/Algoritmos_Programacion
fe9fe222619e1c90639a6e365454e06e2621af06
[ "MIT" ]
null
null
null
Taller_02_Secuenciales/Ejercicio_01.py
BarinasJ/Algoritmos_Programacion
fe9fe222619e1c90639a6e365454e06e2621af06
[ "MIT" ]
null
null
null
""" Entradas: 3 edades Edad 1 --> int --> a Edad 2 --> int --> b Edad 3 --> int --> c Salidas --> El promedio los valores (a,b,c) Promedio --> int --> p """ # Entradas a = int(input("Dime la primera edad\n")) b = int(input("Dime la primera edad\n")) c = int(input("Dime la primera edad\n")) # Caja negra p = (a+b+c)/...
17.3
43
0.586705
62
346
3.274194
0.387097
0.118227
0.17734
0.206897
0.384236
0.384236
0.384236
0
0
0
0
0.017986
0.196532
346
20
44
17.3
0.71223
0.514451
0
0
0
0
0.417722
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
28fb2a70682819b180a59b7d07eafe0e01cc7f27
5,983
py
Python
binsdpy/similarity/group_c.py
mikulatomas/binsdpy
d54d452e5e7cf310747e94c5c94c4875add869ca
[ "MIT" ]
null
null
null
binsdpy/similarity/group_c.py
mikulatomas/binsdpy
d54d452e5e7cf310747e94c5c94c4875add869ca
[ "MIT" ]
2
2022-02-08T19:45:51.000Z
2022-02-23T15:21:01.000Z
binsdpy/similarity/group_c.py
mikulatomas/binsdpy
d54d452e5e7cf310747e94c5c94c4875add869ca
[ "MIT" ]
null
null
null
import math from binsdpy.utils import operational_taxonomic_units, BinaryFeatureVector def smc( x: BinaryFeatureVector, y: BinaryFeatureVector, mask: BinaryFeatureVector = None ) -> float: """Sokal-Michener similarity (also called simple matching coefficient) Sokal, R. R. (1958). A statistical metho...
27.957944
109
0.652348
702
5,983
5.519943
0.22792
0.103226
0.165161
0.196129
0.674839
0.666323
0.664258
0.660387
0.567484
0.507871
0
0.02692
0.24252
5,983
213
110
28.089202
0.828111
0.533344
0
0.576923
0
0
0
0
0
0
0
0
0
1
0.192308
false
0
0.038462
0
0.423077
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e90b2d9c3a7402c908824542864c314b66e34588
253
py
Python
HackerRank/FindAString/string.py
Naga-kalyan/competitive_programming
e9501b16ac327c7f6700a0970d0804e1f9ef5f1b
[ "MIT" ]
8
2020-09-02T13:30:41.000Z
2022-01-31T07:45:31.000Z
HackerRank/FindAString/string.py
Naga-kalyan/competitive_programming
e9501b16ac327c7f6700a0970d0804e1f9ef5f1b
[ "MIT" ]
null
null
null
HackerRank/FindAString/string.py
Naga-kalyan/competitive_programming
e9501b16ac327c7f6700a0970d0804e1f9ef5f1b
[ "MIT" ]
1
2021-02-15T13:44:22.000Z
2021-02-15T13:44:22.000Z
def count_substring(string, sub_string): count=0 i=0 while(i!=len(string)-len(sub_string)+1): z=string[i:].find(sub_string) if(z!=-1): count+=1 i=i+z+1 else: break return count
21.083333
44
0.501976
37
253
3.324324
0.432432
0.219512
0
0
0
0
0
0
0
0
0
0.03681
0.355731
253
11
45
23
0.717791
0
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.181818
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e90df3c7c98f379db44c6e7191ebe94bf69be583
430
py
Python
heligym/__init__.py
ugurcanozalp/heli-gym
78d754f63f9d0bbc606da760bfff9218c84d8be3
[ "MIT" ]
8
2021-04-21T06:38:44.000Z
2021-08-16T00:21:57.000Z
heligym/__init__.py
ugurcanozalp/heli-gym
78d754f63f9d0bbc606da760bfff9218c84d8be3
[ "MIT" ]
null
null
null
heligym/__init__.py
ugurcanozalp/heli-gym
78d754f63f9d0bbc606da760bfff9218c84d8be3
[ "MIT" ]
null
null
null
from gym.envs.registration import register from heligym.envs import Heli, HeliHover, HeliForwardFlight register( id='Heli-v0', entry_point='heligym.envs:Heli', max_episode_steps = 5000, reward_threshold = 0.95, nondeterministic = False ) register( id='HeliHover-v0', entry_point='heligym...
22.631579
60
0.706977
51
430
5.803922
0.470588
0.111486
0.081081
0.128378
0.547297
0.391892
0.391892
0.391892
0.391892
0.391892
0
0.04611
0.193023
430
18
61
23.888889
0.806916
0
0
0.5
0
0
0.134884
0.051163
0
0
0
0
0
1
0
true
0
0.125
0
0.125
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
0
0
0
0
0
1
e919db7b2cd2939beae3c933f0316dd43af64d78
1,627
py
Python
siga/prospeccao/views.py
JenniferAmaral/DjangoSpike
768237bb0f3cffe7bbdbcab38a8bae6faa78e495
[ "Apache-2.0" ]
null
null
null
siga/prospeccao/views.py
JenniferAmaral/DjangoSpike
768237bb0f3cffe7bbdbcab38a8bae6faa78e495
[ "Apache-2.0" ]
2
2021-03-19T03:21:17.000Z
2021-03-30T13:24:07.000Z
siga/prospeccao/views.py
JenniferAmaral/DjangoSpike
768237bb0f3cffe7bbdbcab38a8bae6faa78e495
[ "Apache-2.0" ]
null
null
null
from django.shortcuts import render from django.views import generic from django.urls import reverse_lazy from django.views.generic.edit import CreateView, UpdateView, DeleteView from .models import DesafioInovacao from .models import InovacaoAberta # Desafios de Inovação class DesafioInovacao(generic.ListView): ...
25.030769
72
0.779348
154
1,627
7.980519
0.292208
0.062653
0.082994
0.102522
0.329536
0.30594
0.30594
0.224573
0.224573
0.224573
0
0
0.150584
1,627
64
73
25.421875
0.889291
0.027044
0
0.5
0
0
0.142405
0.044937
0
0
0
0
0
1
0
false
0
0.15
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
0
0
0
0
1
0
0
1
e91dc01d84f30c7e857f3c583fd428038593470b
1,384
py
Python
AI/recommendation/data_update.py
osamhack2021/AI_APP_handylib_devlib
62cf67e6df280217e3715e2aa425636cefa7dd6f
[ "MIT" ]
1
2021-12-16T10:41:16.000Z
2021-12-16T10:41:16.000Z
AI/recommendation/data_update.py
osamhack2021/AI_APP_handylib_devlib
62cf67e6df280217e3715e2aa425636cefa7dd6f
[ "MIT" ]
6
2021-10-11T06:03:48.000Z
2021-10-17T09:42:05.000Z
AI/recommendation/data_update.py
osamhack2021/AI_APP_handylib_devlib
62cf67e6df280217e3715e2aa425636cefa7dd6f
[ "MIT" ]
null
null
null
import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))))) from main.models import database import pandas as pd import numpy as np def update(): ''' books = data...
28.833333
110
0.572977
190
1,384
3.989474
0.315789
0.063325
0.085752
0.059367
0.258575
0.182058
0.182058
0.182058
0.182058
0.182058
0
0
0.296243
1,384
47
111
29.446809
0.778234
0.080925
0
0
0
0
0.064412
0.033816
0
0
0
0
0
1
0.026316
false
0.052632
0.131579
0
0.157895
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e9234ae3799953d8d905b28915bb6b0d0f60779c
1,280
py
Python
laboratorio/migrations/0001_initial.py
alejandroquintero/proyecto_laboratorio
23455343298198f95c5471108b495afdc17bf79d
[ "MIT" ]
null
null
null
laboratorio/migrations/0001_initial.py
alejandroquintero/proyecto_laboratorio
23455343298198f95c5471108b495afdc17bf79d
[ "MIT" ]
null
null
null
laboratorio/migrations/0001_initial.py
alejandroquintero/proyecto_laboratorio
23455343298198f95c5471108b495afdc17bf79d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-03-14 20:09 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0008_alter_user_username_max_le...
32.820513
186
0.582813
129
1,280
5.612403
0.550388
0.044199
0.058011
0.09116
0.190608
0.190608
0.10221
0
0
0
0
0.025027
0.282031
1,280
38
187
33.684211
0.762786
0.053125
0
0.266667
1
0
0.136476
0.02895
0
0
0
0
0
1
0
false
0
0.1
0
0.233333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e92779ead3332f795f865983dcc3ab266f496431
7,776
py
Python
tonclient/boc.py
move-ton/ton-client-py
a9393a0e03b5da9bf5369a44c6873a3e720af229
[ "Apache-2.0" ]
28
2020-10-29T06:57:32.000Z
2022-03-20T12:26:14.000Z
tonclient/boc.py
move-ton/ton-client-py
a9393a0e03b5da9bf5369a44c6873a3e720af229
[ "Apache-2.0" ]
1
2021-03-30T18:18:17.000Z
2021-04-04T15:35:10.000Z
tonclient/boc.py
move-ton/ton-client-py
a9393a0e03b5da9bf5369a44c6873a3e720af229
[ "Apache-2.0" ]
8
2020-10-28T20:11:52.000Z
2022-01-12T12:28:02.000Z
from tonclient.decorators import result_as from tonclient.module import TonModule from tonclient.types import ParamsOfParse, ResultOfParse, \ ParamsOfParseShardstate, ParamsOfGetBocHash, ResultOfGetBocHash, \ ParamsOfGetBlockchainConfig, ResultOfGetBlockchainConfig, \ ParamsOfGetCodeFromTvc, ResultOfGetCode...
37.565217
77
0.678755
750
7,776
6.950667
0.193333
0.041435
0.045655
0.075005
0.353156
0.275273
0.193171
0.159409
0.122578
0.122578
0
0
0.231481
7,776
206
78
37.747573
0.872323
0.350051
0
0.069444
0
0
0.06833
0.021222
0
0
0
0
0
1
0.236111
false
0
0.041667
0
0.527778
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
0
0
0
0
1
e929855575204f3e184a06a7aceb3b4755c96b66
229
py
Python
beginner_contest/123/C.py
FGtatsuro/myatcoder
25a3123be6a6311e7d1c25394987de3e35575ff4
[ "MIT" ]
null
null
null
beginner_contest/123/C.py
FGtatsuro/myatcoder
25a3123be6a6311e7d1c25394987de3e35575ff4
[ "MIT" ]
null
null
null
beginner_contest/123/C.py
FGtatsuro/myatcoder
25a3123be6a6311e7d1c25394987de3e35575ff4
[ "MIT" ]
null
null
null
import sys input = sys.stdin.readline sys.setrecursionlimit(10 ** 7) n = int(input()) a = int(input()) b = int(input()) c = int(input()) d = int(input()) e = int(input()) print(((n + min(a,b,c,d,e) - 1) // min(a,b,c,d,e)) + 4)
17.615385
55
0.572052
44
229
2.977273
0.431818
0.366412
0.076336
0.091603
0.122137
0.122137
0
0
0
0
0
0.026042
0.161572
229
12
56
19.083333
0.65625
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.1
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e92b20f4138a09d337cbb1f8065cbe440ab3e33e
2,894
py
Python
app/appmodule/remote.py
linjinux/foxJobGui
609b781260e0f9415864dd99600f20e8d534a32b
[ "Apache-2.0" ]
null
null
null
app/appmodule/remote.py
linjinux/foxJobGui
609b781260e0f9415864dd99600f20e8d534a32b
[ "Apache-2.0" ]
null
null
null
app/appmodule/remote.py
linjinux/foxJobGui
609b781260e0f9415864dd99600f20e8d534a32b
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import tkinter as tk import os class RemoteWindow_W(tk.Tk): """remote module function""" def __init__(self): super(RemoteWindow_W, self).__init__() # 继承类 width = 500 # 登录界面宽度 height = 300 # 登录界面高度 sw = (self.winfo_screenwidth() - width) //2 # 获取x轴坐标 ...
48.233333
131
0.661368
429
2,894
4.296037
0.216783
0.077591
0.048833
0.039067
0.354856
0.240369
0.061856
0
0
0
0
0.038607
0.176572
2,894
59
132
49.050847
0.734788
0.030753
0
0
0
0
0.039771
0.012182
0
0
0
0
0
1
0.106383
false
0.170213
0.042553
0
0.191489
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e92f390a6119b95c9bff441663deeac46d76f77f
2,507
py
Python
sast_controller/tests/drivers/test_checkmarx_connection.py
dovbiyi/reapsaw
9b86c51e73de6d540468d6ed88e964c2811ba666
[ "Apache-2.0" ]
41
2019-08-07T12:45:42.000Z
2021-08-31T18:22:00.000Z
sast_controller/tests/drivers/test_checkmarx_connection.py
dovbiyi/reapsaw
9b86c51e73de6d540468d6ed88e964c2811ba666
[ "Apache-2.0" ]
null
null
null
sast_controller/tests/drivers/test_checkmarx_connection.py
dovbiyi/reapsaw
9b86c51e73de6d540468d6ed88e964c2811ba666
[ "Apache-2.0" ]
13
2019-08-06T23:08:22.000Z
2022-02-16T12:55:39.000Z
import unittest from unittest import mock from sast_controller.drivers.cx import CheckmarxConnection class TestCheckmarxConnection(unittest.TestCase): def setUp(self): requests_session_patcher = mock.patch('sast_controller.drivers.cx.CheckmarxConnection.Session') self.requests_session_class = req...
54.5
112
0.743917
287
2,507
6.149826
0.195122
0.040793
0.054391
0.056657
0.631161
0.433428
0.433428
0.326346
0.227762
0.227762
0
0.006126
0.15357
2,507
45
113
55.711111
0.825636
0
0
0.111111
0
0
0.160351
0.083367
0
0
0
0
0.277778
1
0.111111
false
0.111111
0.083333
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e93aa5a66d1154cb75af34af8806eff1da64cdfd
2,314
py
Python
ctrials/charts.py
nk9/clinical-trials
aa4a2eb1e921db23f35b5179aadc27386afe1c99
[ "BSD-3-Clause" ]
18
2015-12-18T10:28:08.000Z
2021-02-08T18:31:25.000Z
ctrials/charts.py
nk9/clinical-trials
aa4a2eb1e921db23f35b5179aadc27386afe1c99
[ "BSD-3-Clause" ]
null
null
null
ctrials/charts.py
nk9/clinical-trials
aa4a2eb1e921db23f35b5179aadc27386afe1c99
[ "BSD-3-Clause" ]
3
2016-03-30T15:22:41.000Z
2021-03-19T16:35:07.000Z
#!/usr/bin/python import json import os import sys from . import db from . import utils def create(chartsPath, dbPath, force): jsonString = createCharts(loadChartDefs(), dbPath, force) if (len(jsonString)): chartsFile = open(chartsPath, 'w') chartsFile.write(jsonString) chartsFile.close() def loadChartDef...
21.036364
100
0.680207
296
2,314
5.277027
0.39527
0.038412
0.03265
0.040333
0.057618
0
0
0
0
0
0
0.008377
0.174589
2,314
110
101
21.036364
0.809424
0.073034
0
0.085714
0
0
0.05745
0
0
0
0
0
0
0
null
null
0
0.071429
null
null
0.028571
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
1
0
0
0
0
0
0
0
0
1
e93d219a29b772b67849029822246b086183c6be
218
py
Python
gm/string/strip_quotes.py
thareUSGS/craterstats
7c3cdc3c55f8ba357c8e0e17a87e28e3d48b1d0d
[ "BSD-3-Clause" ]
1
2021-03-19T09:17:06.000Z
2021-03-19T09:17:06.000Z
gm/string/strip_quotes.py
thareUSGS/craterstats
7c3cdc3c55f8ba357c8e0e17a87e28e3d48b1d0d
[ "BSD-3-Clause" ]
null
null
null
gm/string/strip_quotes.py
thareUSGS/craterstats
7c3cdc3c55f8ba357c8e0e17a87e28e3d48b1d0d
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2021, Greg Michael # Licensed under BSD 3-Clause License. See LICENSE.txt for details. def strip_quotes(s): if s[0]==s[-1] and s[0] in ['"',"'"]: return s[1:-1] else: return s
27.25
68
0.582569
36
218
3.5
0.722222
0.031746
0
0
0
0
0
0
0
0
0
0.06135
0.252294
218
8
69
27.25
0.711656
0.454128
0
0
0
0
0.017241
0
0
0
0
0
0
1
0.2
false
0
0
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e93e5eb9c07e978542af8ed42d88e6a831cd6a46
4,282
py
Python
wireshark-2.0.13/tools/make-services.py
mahrukhfida/mi
7187765aa225e71983969ef5285771ac77c8309a
[ "Apache-2.0" ]
null
null
null
wireshark-2.0.13/tools/make-services.py
mahrukhfida/mi
7187765aa225e71983969ef5285771ac77c8309a
[ "Apache-2.0" ]
null
null
null
wireshark-2.0.13/tools/make-services.py
mahrukhfida/mi
7187765aa225e71983969ef5285771ac77c8309a
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # # Parses the CSV version of the IANA Service Name and Transport Protocol Port Number Registry # and generates a services(5) file. # # Wireshark - Network traffic analyzer # By Gerald Combs <gerald@wireshark.org> # Copyright 2013 Gerald Combs # # This program is free software; you can redistribut...
25.640719
106
0.626343
598
4,282
4.366221
0.381271
0.020682
0.01532
0.021831
0.047491
0.021448
0
0
0
0
0
0.027593
0.263662
4,282
166
107
25.795181
0.800507
0.232135
0
0.172414
1
0.008621
0.221507
0
0
0
0.004596
0
0
1
0.025862
false
0
0.060345
0
0.094828
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e9419d32da6d3e344e9eede332bce42a7b2269c7
1,191
py
Python
i.py
samridhl/Assignment-5
21fe779b5cdfa3d340b5f779637e5fdb376ea853
[ "MIT" ]
null
null
null
i.py
samridhl/Assignment-5
21fe779b5cdfa3d340b5f779637e5fdb376ea853
[ "MIT" ]
null
null
null
i.py
samridhl/Assignment-5
21fe779b5cdfa3d340b5f779637e5fdb376ea853
[ "MIT" ]
null
null
null
#!/usr/bin/python import re import sys import fileinput import json import urllib user_gene_name = raw_input('Enter the gene name') for line in fileinput.input(['/data/Homo_sapiens.GRCh37.75.gtf']): if re.match(r'.*\t.*\tgene\t', line): text_in_column = re.split('\t',line) if len(text_in_column...
29.04878
127
0.617968
156
1,191
4.474359
0.423077
0.068768
0.051576
0.057307
0.103152
0.103152
0.103152
0.103152
0
0
0
0.009825
0.230898
1,191
40
128
29.775
0.752183
0.013434
0
0
0
0
0.214713
0.065013
0
0
0
0
0
0
null
null
0
0.2
null
null
0.08
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
1
0
0
0
0
0
0
0
0
1
3a667235b1baaf49287506e1dff8b4636445bb24
1,088
py
Python
zsolozsma/migrations/0014_auto_20200506_1847.py
molnarm/liturgia.tv
3c78de6dcec65262ae9e272188dbda92f71a7c15
[ "MIT" ]
4
2020-05-04T10:52:35.000Z
2020-12-03T22:01:09.000Z
zsolozsma/migrations/0014_auto_20200506_1847.py
molnarm/liturgia.tv
3c78de6dcec65262ae9e272188dbda92f71a7c15
[ "MIT" ]
27
2021-02-18T19:41:24.000Z
2021-11-23T05:01:00.000Z
zsolozsma/migrations/0014_auto_20200506_1847.py
molnarm/zsolozsma
a260af574b38687cc5955bbbf76caabc779f09c4
[ "MIT" ]
null
null
null
# Generated by Django 3.0.5 on 2020-05-06 16:47 from django.db import migrations import secrets def copy_schedule(apps, schema_editor): Event = apps.get_model('zsolozsma', 'Event') EventSchedule = apps.get_model('zsolozsma', 'EventSchedule') events_dict = {} for event in Event.objects.all()...
25.302326
67
0.601103
122
1,088
5.204918
0.532787
0.075591
0.061417
0.066142
0
0
0
0
0
0
0
0.02649
0.306066
1,088
42
68
25.904762
0.81457
0.09375
0
0
1
0
0.06695
0
0
0
0
0
0
1
0.035714
false
0
0.071429
0
0.214286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3a6deb8791b16c8f5df04d9ff27b8954f2df744d
981
py
Python
tests/test_themes.py
andymckay/amo-validator
d13e3644eb657e56666ee40d91a9c67382cfa725
[ "BSD-3-Clause" ]
null
null
null
tests/test_themes.py
andymckay/amo-validator
d13e3644eb657e56666ee40d91a9c67382cfa725
[ "BSD-3-Clause" ]
null
null
null
tests/test_themes.py
andymckay/amo-validator
d13e3644eb657e56666ee40d91a9c67382cfa725
[ "BSD-3-Clause" ]
null
null
null
import validator.testcases.themes as themes from validator.errorbundler import ErrorBundle from validator.constants import PACKAGE_THEME from helper import _do_test from js_helper import _do_real_test_raw def test_theme_chrome_manifest(): "Tests that a theme has a valid chrome manifest file." _do_test("tests...
27.25
70
0.739042
139
981
4.94964
0.381295
0.122093
0.082849
0.100291
0.296512
0.22093
0.22093
0.127907
0
0
0
0
0.179409
981
35
71
28.028571
0.854658
0
0
0
0
0
0.253985
0.065887
0
0
0
0
0.095238
0
null
null
0.047619
0.238095
null
null
0.047619
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
1
0
0
0
0
0
0
0
0
1
3a6deb9a8a34cd96f333310f0f83d5fff5876370
2,582
py
Python
api/App.py
carreath/SWE4103-Project
1cdb1f20f982f769799de349511197c8b80c0119
[ "MIT" ]
null
null
null
api/App.py
carreath/SWE4103-Project
1cdb1f20f982f769799de349511197c8b80c0119
[ "MIT" ]
2
2021-03-20T05:00:23.000Z
2021-06-02T03:00:38.000Z
api/App.py
carreath/SWE4103-Project
1cdb1f20f982f769799de349511197c8b80c0119
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from flask import Flask, render_template, make_response from common import DatabaseMigrator from flask_restful import Api from flask_cors import CORS from resources import * import config import sys import os from OpenSSL import SSL from flask import request context = SSL.Context(SSL.SSLv23_ME...
32.683544
112
0.707591
349
2,582
5.077364
0.369628
0.057562
0.134312
0.027088
0.14447
0.091422
0.063205
0.063205
0.063205
0.063205
0
0.004125
0.154919
2,582
78
113
33.102564
0.807974
0.102246
0
0.096774
0
0
0.18115
0.051881
0
0
0
0.012821
0
1
0.048387
false
0
0.16129
0
0.241935
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
3a6e91fda3f1f54f464bd753e8500e5e4fb3798d
1,923
py
Python
src/models/.ipynb_checkpoints/svc-checkpoint.py
ddl-aambekar/MovieGenrePrediction
d47319939eab27a31783ab441a9989a49877a05c
[ "MIT" ]
1
2019-06-06T13:17:43.000Z
2019-06-06T13:17:43.000Z
src/models/.ipynb_checkpoints/svc-checkpoint.py
ddl-aambekar/MovieGenrePrediction
d47319939eab27a31783ab441a9989a49877a05c
[ "MIT" ]
1
2019-12-02T20:11:20.000Z
2019-12-02T20:11:20.000Z
src/models/.ipynb_checkpoints/svc-checkpoint.py
ddl-aambekar/MovieGenrePrediction
d47319939eab27a31783ab441a9989a49877a05c
[ "MIT" ]
16
2019-01-02T19:43:50.000Z
2021-12-16T16:05:01.000Z
# non deep learning on bag of words # load pickles and libraries from src.utils.eval_metrics import * from src.utils.initialize import * from sklearn.model_selection import train_test_split import pickle with open('data/processed/movies_with_overviews.pkl','rb') as f: movies_with_overviews=pickle.load(f) with ope...
33.155172
127
0.765471
298
1,923
4.741611
0.375839
0.054494
0.03397
0.059448
0.116065
0.045294
0.045294
0
0
0
0
0.008163
0.108164
1,923
57
128
33.736842
0.815743
0.071243
0
0
0
0
0.11748
0.067537
0
0
0
0
0
1
0
false
0
0.305556
0
0.305556
0.027778
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
0
0
0
0
1
3a75b0795ac69b7730b250fc27e9c13762da5628
2,684
py
Python
scripts/juju-setup.py
girishgc/onos
983b504f1d22a3dd7a818e4e220ab476fbd6c1cb
[ "Apache-2.0" ]
1
2017-09-11T13:05:51.000Z
2017-09-11T13:05:51.000Z
scripts/juju-setup.py
girishgc/onos
983b504f1d22a3dd7a818e4e220ab476fbd6c1cb
[ "Apache-2.0" ]
null
null
null
scripts/juju-setup.py
girishgc/onos
983b504f1d22a3dd7a818e4e220ab476fbd6c1cb
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python import subprocess import json import socket jujuconfig="/usr/local/src/openstack.cfg" # Assumption: VMs have same hostname as service that runs inside machines = ["mysql", "rabbitmq-server", "keystone", "glance", "nova-cloud-controller", "neutron-gateway", "openstack-dashboard", "ceilom...
32.731707
102
0.646796
300
2,684
5.716667
0.323333
0.036735
0.055394
0.040233
0.209329
0.041983
0
0
0
0
0
0
0.206036
2,684
81
103
33.135802
0.804786
0.121833
0
0.032258
0
0
0.308805
0.054445
0
0
0
0
0
0
null
null
0.016129
0.048387
null
null
0.016129
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
1
0
0
0
0
0
0
0
0
1
3a77d272c09811ca283010b96103c6223237a057
338
py
Python
tests/test_desktop.py
dclong/config
1c1736ddeb7edeb1c289043ecca16e1daaf8fc94
[ "MIT" ]
null
null
null
tests/test_desktop.py
dclong/config
1c1736ddeb7edeb1c289043ecca16e1daaf8fc94
[ "MIT" ]
null
null
null
tests/test_desktop.py
dclong/config
1c1736ddeb7edeb1c289043ecca16e1daaf8fc94
[ "MIT" ]
null
null
null
"""Test the misc module. """ import subprocess as sp def test_nomachine(): """Test installing and configuring NoMachine. """ cmd = "xinstall nomachine" sp.run(cmd, shell=True, check=True) def test_version(): """Test the version command. """ cmd = "xinstall version" sp.run(cmd, shell=...
18.777778
49
0.642012
43
338
5
0.488372
0.065116
0.074419
0.12093
0.24186
0.24186
0.24186
0
0
0
0
0
0.218935
338
17
50
19.882353
0.814394
0.295858
0
0.285714
0
0
0.153846
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.428571
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
0
0
0
0
1
3a806631b8966142a1369bf45093783372ad69f6
336
py
Python
Maximum_slice_problem/MaxSliceSum.py
aisolab/codility_lessons
a017e6a57fdd217b623cf43274519a598333d08f
[ "MIT" ]
1
2019-07-31T13:25:06.000Z
2019-07-31T13:25:06.000Z
Maximum_slice_problem/MaxSliceSum.py
aisolab/codility_lessons
a017e6a57fdd217b623cf43274519a598333d08f
[ "MIT" ]
null
null
null
Maximum_slice_problem/MaxSliceSum.py
aisolab/codility_lessons
a017e6a57fdd217b623cf43274519a598333d08f
[ "MIT" ]
null
null
null
from sys import maxsize def solution(A): max_sum = -maxsize max_ending = 0 for a in A: max_ending += a if max_ending > max_sum: max_sum = max_ending if max_ending < 0: max_ending = 0 return max_sum def test_solution(): assert solution([3, 2, -...
14.608696
43
0.547619
50
336
3.46
0.44
0.312139
0.17341
0
0
0
0
0
0
0
0
0.042056
0.363095
336
22
44
15.272727
0.766355
0
0
0.153846
0
0
0
0
0
0
0
0
0.076923
1
0.153846
false
0
0.076923
0
0.307692
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3a831431bdbbaedd6f8e099bafe152cfb80d7ddf
219
py
Python
tests/test.py
dgwhited/project_lockdown
6ee627d327c04fee3c23dc07b65655078b88bcb9
[ "Apache-2.0" ]
37
2020-11-18T00:21:29.000Z
2022-03-28T20:16:14.000Z
tests/test.py
dgwhited/project_lockdown
6ee627d327c04fee3c23dc07b65655078b88bcb9
[ "Apache-2.0" ]
14
2020-11-16T14:19:14.000Z
2021-06-10T17:57:07.000Z
tests/test.py
dgwhited/project_lockdown
6ee627d327c04fee3c23dc07b65655078b88bcb9
[ "Apache-2.0" ]
5
2021-01-15T18:38:02.000Z
2021-07-22T16:58:38.000Z
# -*- coding: utf-8 -*- import unittest class ExampleTestCases(unittest.TestCase): """test case""" def test_check_test(self): self.assertTrue(True) if __name__ == '__main__': unittest.main()
16.846154
42
0.634703
24
219
5.375
0.75
0
0
0
0
0
0
0
0
0
0
0.005814
0.214612
219
13
43
16.846154
0.744186
0.146119
0
0
0
0
0.043956
0
0
0
0
0
0.166667
1
0.166667
false
0
0.166667
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
0
0
0
0
0
0
0
1
3a8cc6efa6f19abe0571527851f4920882e85391
397
py
Python
backend-django/prolibra/library_api/migrations/0039_alter_denda_jumlah_hari_telat.py
dhifafaz/tubes-basdat
49c100a1cda3a2eade54e7472bfceecee51e315b
[ "MIT" ]
null
null
null
backend-django/prolibra/library_api/migrations/0039_alter_denda_jumlah_hari_telat.py
dhifafaz/tubes-basdat
49c100a1cda3a2eade54e7472bfceecee51e315b
[ "MIT" ]
1
2021-05-11T18:03:34.000Z
2021-05-11T18:03:34.000Z
backend-django/prolibra/library_api/migrations/0039_alter_denda_jumlah_hari_telat.py
dhifafaz/tubes-basdat
49c100a1cda3a2eade54e7472bfceecee51e315b
[ "MIT" ]
7
2021-04-26T15:52:19.000Z
2021-05-04T02:18:56.000Z
# Generated by Django 3.2 on 2021-05-10 00:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('library_api', '0038_auto_20210510_0054'), ] operations = [ migrations.AlterField( model_name='denda', name='jumlah_har...
20.894737
51
0.612091
43
397
5.488372
0.860465
0
0
0
0
0
0
0
0
0
0
0.104895
0.279597
397
18
52
22.055556
0.72028
0.108312
0
0
1
0
0.159091
0.065341
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3a9fc1907830cf7c4dfc34141616bff4b910cbd1
12,833
py
Python
ldap2pg/defaults.py
ng-pe/ldap2pg
07fc64a3df2c28413a0b21873abfef0671fdf3c1
[ "PostgreSQL" ]
151
2017-06-29T08:09:33.000Z
2022-03-07T21:50:27.000Z
ldap2pg/defaults.py
bersace/ldap2pg
ad8121701f4c02727040a2f9042a03ae784f9c06
[ "PostgreSQL" ]
363
2017-06-19T15:01:12.000Z
2022-03-16T08:34:35.000Z
ldap2pg/defaults.py
bersace/ldap2pg
ad8121701f4c02727040a2f9042a03ae784f9c06
[ "PostgreSQL" ]
31
2017-06-16T08:40:54.000Z
2021-11-11T12:37:01.000Z
from itertools import chain from textwrap import dedent from .utils import string_types shared_queries = dict( datacl=dedent("""\ WITH grants AS ( SELECT (aclexplode(datacl)).grantee AS grantee, (aclexplode(datacl)).privilege_type AS priv FROM pg_catalog.pg_database WHERE da...
31.764851
89
0.603133
1,585
12,833
4.650473
0.133123
0.033917
0.029847
0.018315
0.470357
0.391806
0.335504
0.294668
0.247456
0.227513
0
0.003898
0.260267
12,833
403
90
31.843672
0.772569
0.103094
0
0.326471
0
0.005882
0.657315
0.111353
0
0
0
0
0
1
0.014706
false
0
0.008824
0
0.035294
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3aa0af0968e1bdbe566cb0a9bcf0a4db6bf96aea
2,988
py
Python
devit/tools.py
uranusjr/subl-open-project
78615418eb82b5b864091d7b677df4737387dec0
[ "0BSD" ]
null
null
null
devit/tools.py
uranusjr/subl-open-project
78615418eb82b5b864091d7b677df4737387dec0
[ "0BSD" ]
null
null
null
devit/tools.py
uranusjr/subl-open-project
78615418eb82b5b864091d7b677df4737387dec0
[ "0BSD" ]
null
null
null
import os import pathlib import subprocess import sys import fuzzywuzzy.fuzz FUZZY_FIND_THRESHOLD = 75 class _Tool: def find_cmd(self, directory): if sys.platform == "win32": cmd_exts = self.cmd_exts else: cmd_exts = [""] for ext in cmd_exts: path = p...
27.412844
79
0.605087
364
2,988
4.785714
0.307692
0.02411
0.020666
0.03961
0.342135
0.342135
0.32147
0.32147
0.274397
0.23651
0
0.004278
0.29585
2,988
108
80
27.666667
0.823669
0.053213
0
0.378049
0
0
0.101239
0
0
0
0
0.009259
0
1
0.170732
false
0.012195
0.060976
0.097561
0.609756
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
0
0
1
0
0
1
3aa1f17e9786803994c1668c4abb6e57d15dc62c
2,777
py
Python
linkedlist.py
amulyakashyap09/pyds
fdccc43e00f4e82c7f636e7ed571504e03910401
[ "MIT" ]
null
null
null
linkedlist.py
amulyakashyap09/pyds
fdccc43e00f4e82c7f636e7ed571504e03910401
[ "MIT" ]
null
null
null
linkedlist.py
amulyakashyap09/pyds
fdccc43e00f4e82c7f636e7ed571504e03910401
[ "MIT" ]
null
null
null
class Node: def __init__(self, data): self.data = data self.ref = None class LinkedList: def __init__(self): self.start_node = None def traverse_list(self): if self.start_node is None: print("List is empty") else: node = self.start_node while(node is not None): pri...
23.735043
58
0.621174
404
2,777
4.054455
0.138614
0.098291
0.142857
0.083028
0.761905
0.725275
0.578755
0.553724
0.553724
0.528694
0
0.007669
0.295643
2,777
116
59
23.939655
0.829755
0.023407
0
0.659574
0
0
0.070162
0
0
0
0
0
0
1
0.085106
false
0
0
0
0.191489
0.074468
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3ac41126b2c1a89e156046760da4c93f9db84beb
956
py
Python
DeezerIcon.py
19po/deezer-player
4b05032b7a28bc38c81eebb824da5080978756c8
[ "MIT" ]
4
2016-09-07T19:58:56.000Z
2020-01-15T20:22:58.000Z
DeezerIcon.py
19po/10heures
4b05032b7a28bc38c81eebb824da5080978756c8
[ "MIT" ]
null
null
null
DeezerIcon.py
19po/10heures
4b05032b7a28bc38c81eebb824da5080978756c8
[ "MIT" ]
null
null
null
from PyQt4 import QtGui import webbrowser __author__ = 'postrowski' # -*-coding: utf-8-*- class DeezerIcon(object): def __init__(self, parent): self.iconLabel = parent.iconLabel self.timer = parent.timer def hover_button(self): if self.iconLabel.underMouse(): self.tim...
26.555556
80
0.611925
105
956
5.457143
0.428571
0.158813
0.125654
0.167539
0.596859
0.390925
0.390925
0.390925
0.390925
0.219895
0
0.011429
0.267782
956
35
81
27.314286
0.807143
0.019874
0
0.416667
0
0
0.112299
0.047059
0
0
0
0
0
1
0.125
false
0
0.083333
0
0.25
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3ac95c33e33804a6d73c2f97bc3810ef743568cf
413
py
Python
yukicoder/yuki087.py
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
1
2018-11-12T15:18:55.000Z
2018-11-12T15:18:55.000Z
yukicoder/yuki087.py
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
null
null
null
yukicoder/yuki087.py
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
null
null
null
N = int(input()) def isLeap(year): if (year % 4 == 0 and year % 100 != 0) or year % 400 == 0: return True else: return False leap400 = 0 leap400List = [] y = 0 for i in range(2015, 2415): if isLeap(i): y += 366 else: y += 365 if y % 7 == 0: leap400 += 1 l...
19.666667
64
0.51816
61
413
3.508197
0.540984
0.046729
0.074766
0
0
0
0
0
0
0
0
0.232975
0.324455
413
20
65
20.65
0.53405
0
0
0.111111
0
0
0
0
0
0
0
0
0
1
0.055556
false
0
0
0
0.166667
0.055556
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
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3adc89b1f4049754d50cee7a401e205f8ac14e88
316
py
Python
trunk/Documentacion/Memoria/trozos-codigo/codigo-9-logsources-class.py
MGautier/security-sensor
7063b1f095cfa02bb56ef2544d0395dbf155310f
[ "MIT" ]
2
2016-08-15T21:25:40.000Z
2020-06-22T12:25:48.000Z
trunk/Documentacion/Memoria/trozos-codigo/codigo-9-logsources-class.py
MGautier/security-sensor
7063b1f095cfa02bb56ef2544d0395dbf155310f
[ "MIT" ]
4
2020-06-05T17:32:18.000Z
2021-06-10T19:05:56.000Z
trunk/Documentacion/Memoria/trozos-codigo/codigo-9-logsources-class.py
MGautier/security-sensor
7063b1f095cfa02bb56ef2544d0395dbf155310f
[ "MIT" ]
null
null
null
class LogSourcesTestCase(TestCase): def setUp(self): LogSources.objects.create( Description="Firewall of gnu/linux kernel", Type="Iptables", Model="iptables v1.4.21", Active=1, Software_Class="Firewall", Path="iptables", )
26.333333
55
0.544304
29
316
5.896552
0.862069
0
0
0
0
0
0
0
0
0
0
0.024155
0.344937
316
11
56
28.727273
0.801932
0
0
0
0
0
0.21519
0
0
0
0
0
0
1
0.1
false
0
0
0
0.2
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
0
0
0
0
0
1
3ae008b38307428692dc462edeecb0401afcf72c
3,530
py
Python
HostAgent/agentSndModule.py
pupeng/hone
8fb2618a51478049c73158f1d54e7165a37dffcf
[ "BSD-3-Clause" ]
5
2017-02-18T12:39:13.000Z
2021-03-29T09:21:58.000Z
HostAgent/agentSndModule.py
pupeng/hone
8fb2618a51478049c73158f1d54e7165a37dffcf
[ "BSD-3-Clause" ]
null
null
null
HostAgent/agentSndModule.py
pupeng/hone
8fb2618a51478049c73158f1d54e7165a37dffcf
[ "BSD-3-Clause" ]
7
2015-08-12T10:08:21.000Z
2018-08-30T12:55:25.000Z
# Copyright (c) 2011-2013 Peng Sun. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the COPYRIGHT file. # agentSndModule # Host agent send module # send stats, hostJoin, etc to the controller import socket import sys import logging import cPickle as pickle from...
37.553191
99
0.607082
362
3,530
5.870166
0.337017
0.124235
0.046118
0.038118
0.577412
0.555294
0.536941
0.536941
0.536941
0.425412
0
0.010509
0.29915
3,530
93
100
37.956989
0.848424
0.196034
0
0.573529
0
0
0.11871
0.016301
0
0
0
0
0
0
null
null
0
0.117647
null
null
0.088235
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
1
0
0
0
0
0
0
0
0
1
3aeefcbdb6440eaa0c689ced80cb96a2c2dc37fb
1,040
py
Python
src/edit.py
PalAditya/NotePrompt
dfe1c86f7c4eb4a2b4ea46ea3c5a1297b7a7597b
[ "MIT" ]
null
null
null
src/edit.py
PalAditya/NotePrompt
dfe1c86f7c4eb4a2b4ea46ea3c5a1297b7a7597b
[ "MIT" ]
null
null
null
src/edit.py
PalAditya/NotePrompt
dfe1c86f7c4eb4a2b4ea46ea3c5a1297b7a7597b
[ "MIT" ]
1
2020-08-20T13:40:19.000Z
2020-08-20T13:40:19.000Z
import json import colored from colored import stylize # from pyautogui import typewrite def log(string, color, font="slant", figlet=False): print(stylize(string, colored.fg(color)), end = " ") def readtasks(task_id): with open("tasks.json","r") as f: tasklist = f.read() tasklist = json.loads(tasklist) tasks...
21.666667
90
0.644231
146
1,040
4.472603
0.431507
0.061256
0.039816
0.052067
0.067381
0
0
0
0
0
0
0.003505
0.176923
1,040
47
91
22.12766
0.759346
0.044231
0
0.058824
0
0
0.135217
0
0
0
0
0.021277
0
1
0.088235
false
0
0.088235
0
0.205882
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
1
0
0
0
0
0
0
0
0
0
0
1
3af4fb53301de5029094c229d435624c9de708d6
502
py
Python
test/square_matrix_multiply/test_divide_and_conquer.py
ahmadgh74/clrs
2a5158036240ebea627315dce6e82346ac333e35
[ "MIT" ]
null
null
null
test/square_matrix_multiply/test_divide_and_conquer.py
ahmadgh74/clrs
2a5158036240ebea627315dce6e82346ac333e35
[ "MIT" ]
null
null
null
test/square_matrix_multiply/test_divide_and_conquer.py
ahmadgh74/clrs
2a5158036240ebea627315dce6e82346ac333e35
[ "MIT" ]
null
null
null
import unittest import numpy as np from src.square_matrix_multiply import square_matrix_multiply class TestStrassenMultiply(unittest.TestCase): def test_square_1(self): matrix_a = np.array([[1, 3], [7, 5]]) matrix_b = np.array([[6, 8], [4...
26.421053
93
0.547809
59
502
4.457627
0.59322
0.136882
0.228137
0
0
0
0
0
0
0
0
0.050445
0.328685
502
18
94
27.888889
0.72997
0
0
0
0
0
0
0
0
0
0
0
0.083333
1
0.083333
false
0
0.25
0
0.416667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
aae782835bbad8e250aff6fb462b01fc3dadbfd9
716
py
Python
data-computing-giants/python-computing/src/gda/tools/database.py
zhoujiagen/giant-data-analysis
ffeede8654edda00b1539af81d5aae470fb84c98
[ "MIT" ]
2
2017-12-07T10:36:40.000Z
2020-05-15T13:02:45.000Z
data-computing-giants/python-computing/src/gda/tools/database.py
zhoujiagen/giant-data-analysis
ffeede8654edda00b1539af81d5aae470fb84c98
[ "MIT" ]
2
2022-03-24T06:25:32.000Z
2022-03-24T06:25:33.000Z
data-computing-giants/python-computing/src/gda/tools/database.py
zhoujiagen/giant-data-analysis
ffeede8654edda00b1539af81d5aae470fb84c98
[ "MIT" ]
5
2017-03-31T14:20:38.000Z
2022-03-05T11:17:23.000Z
# -*- coding: utf-8 -*- """ 数据库工具. @author: zhoujiagen Created on 03/11/2018 10:02 AM """ import pymysql def connect_mysql(host='127.0.0.1', port=3306, user='root', password='admin', database='pci', charset='utf8'): """ ...
21.69697
45
0.438547
63
716
4.968254
0.571429
0
0
0
0
0
0
0
0
0
0
0.060453
0.445531
716
32
46
22.375
0.72796
0.263966
0
0
0
0
0.052521
0
0
0
0
0
0
1
0.076923
false
0.153846
0.076923
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
aaea15554850da41b7d0cc35f5e01bef68812c16
502
py
Python
test/test_shell.py
maxgarvey/python-ffmpeg
be66cfd5d1bc0730e7efbedf5714921a8949d01d
[ "MIT" ]
null
null
null
test/test_shell.py
maxgarvey/python-ffmpeg
be66cfd5d1bc0730e7efbedf5714921a8949d01d
[ "MIT" ]
null
null
null
test/test_shell.py
maxgarvey/python-ffmpeg
be66cfd5d1bc0730e7efbedf5714921a8949d01d
[ "MIT" ]
null
null
null
from shell import run, join_command def test_run_method(): return_value, output = run('echo "Hello"') assert return_value == 0 assert output == ['Hello\n'] def test_bad_run_method(): return_value, output = run('not-a-real-binary') assert return_value == 127 assert output == ['/bin/sh: 1: not-a...
29.529412
67
0.669323
73
502
4.383562
0.438356
0.1375
0.09375
0.125
0.18125
0.18125
0
0
0
0
0
0.012225
0.185259
502
16
68
31.375
0.770171
0
0
0
0
0
0.215139
0
0
0
0
0
0.384615
1
0.230769
false
0
0.076923
0
0.307692
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
0
0
0
0
1
aaf70db23b339f33abef331bb57e50e632ee0b92
502
py
Python
tests/models.py
robertvaugh/durabledict
3c7f8e88d8018aa29fd979cbfbb88e6f21ea27c3
[ "Apache-2.0" ]
42
2015-02-26T19:54:41.000Z
2022-02-21T10:00:42.000Z
tests/models.py
robertvaugh/durabledict
3c7f8e88d8018aa29fd979cbfbb88e6f21ea27c3
[ "Apache-2.0" ]
7
2015-03-27T13:43:04.000Z
2021-12-02T21:18:38.000Z
tests/models.py
robertvaugh/durabledict
3c7f8e88d8018aa29fd979cbfbb88e6f21ea27c3
[ "Apache-2.0" ]
14
2015-03-28T15:28:04.000Z
2020-01-13T20:44:03.000Z
from django.conf import settings if not settings.configured: settings.configure( DATABASES={ 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': 'test.db' } }, INSTALLED_APPS=[ 'tests', ], DEBUG=Tr...
20.916667
55
0.551793
50
502
5.48
0.66
0.072993
0.131387
0.175182
0.189781
0
0
0
0
0
0
0.014837
0.328685
502
23
56
21.826087
0.79822
0
0
0
0
0
0.109562
0.051793
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c90ca4dc68ef1da27fb207426527d19cb357e23c
4,140
py
Python
wb/main/models/dataset_augmentation_job_model.py
apaniukov/workbench
2f2653ecfd0143d2d53e33ad84379f13443fdfaa
[ "Apache-2.0" ]
23
2022-03-17T12:24:09.000Z
2022-03-31T09:13:30.000Z
wb/main/models/dataset_augmentation_job_model.py
apaniukov/workbench
2f2653ecfd0143d2d53e33ad84379f13443fdfaa
[ "Apache-2.0" ]
18
2022-03-21T08:17:44.000Z
2022-03-30T12:42:30.000Z
wb/main/models/dataset_augmentation_job_model.py
apaniukov/workbench
2f2653ecfd0143d2d53e33ad84379f13443fdfaa
[ "Apache-2.0" ]
16
2022-03-17T12:24:14.000Z
2022-03-31T12:15:12.000Z
""" OpenVINO DL Workbench Class for ORM model describing dataset augmentation job Copyright (c) 2021 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache....
39.056604
109
0.727053
467
4,140
6.235546
0.368308
0.06044
0.054945
0.044643
0.133242
0.114011
0.050137
0
0
0
0
0.003304
0.195894
4,140
105
110
39.428571
0.871433
0.165459
0
0.027397
0
0
0.067249
0.020378
0
0
0
0
0
1
0.041096
false
0
0.123288
0.013699
0.561644
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
0
0
1
0
0
1
c90cb749289932d947bbd0b6320bf9bc3b45f838
746
py
Python
tilenol/event.py
paulie-g/tilenol
6e52c558d1c698ef8320e6ef32771af2864c1c49
[ "MIT" ]
42
2015-01-19T15:43:16.000Z
2021-09-19T15:20:58.000Z
tilenol/event.py
paulie-g/tilenol
6e52c558d1c698ef8320e6ef32771af2864c1c49
[ "MIT" ]
2
2015-05-30T03:15:17.000Z
2019-02-28T16:37:02.000Z
tilenol/event.py
tailhook/tilenol
3b71f6600d437a4e5f167315683e7f0137cd3788
[ "MIT" ]
11
2015-10-04T06:01:02.000Z
2022-03-26T18:46:46.000Z
import logging from zorro import Condition, gethub log = logging.getLogger(__name__) class Event(object): def __init__(self, name=None): self.name = name self._listeners = [] self._worker = None def listen(self, fun): self._listeners.append(fun) def unlisten(self, fun...
20.722222
59
0.585791
91
746
4.56044
0.428571
0.156627
0.081928
0.110843
0
0
0
0
0
0
0
0
0.309651
746
35
60
21.314286
0.805825
0
0
0.086957
0
0
0.048387
0
0
0
0
0
0
1
0.217391
false
0
0.086957
0
0.347826
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
0
0
0
0
1
c90cc8281a9b07c4a30d0642f05dca29b4df3a35
8,188
py
Python
src/word_fix.py
thoppe/orthographic-pedant
7c703976c526c7b6e32ce8589bf4fbc7f74ed305
[ "MIT" ]
155
2015-09-21T03:59:12.000Z
2020-12-29T07:30:19.000Z
src/word_fix.py
thoppe/orthographic-pedant
7c703976c526c7b6e32ce8589bf4fbc7f74ed305
[ "MIT" ]
27
2015-09-16T19:55:03.000Z
2021-06-17T03:13:35.000Z
src/word_fix.py
thoppe/orthographic-pedant
7c703976c526c7b6e32ce8589bf4fbc7f74ed305
[ "MIT" ]
13
2015-09-16T14:49:20.000Z
2020-02-06T13:26:34.000Z
import os, json, logging, glob, codecs, os, time, subprocess from contextlib import contextmanager import requests logging.basicConfig(level=logging.INFO) logging.getLogger("requests").setLevel(logging.WARNING) FLAG_fork = True FLAG_delete = True fork_sleep_time = 10 clone_error_sleep_time = 60 # Verify that there i...
29.992674
110
0.626404
1,103
8,188
4.460562
0.223935
0.04878
0.028455
0.019512
0.210772
0.161382
0.063618
0.040244
0
0
0
0.005737
0.233635
8,188
272
111
30.102941
0.778327
0.100269
0
0.114286
0
0
0.209753
0.041896
0.005714
0
0
0
0.005714
0
null
null
0.011429
0.022857
null
null
0.011429
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
1
0
0
0
0
0
0
0
0
1
c91714f33856a26c3c0ff5ee19ffaca25087551b
774
py
Python
urls.py
UM6SS-Bioinfo-team/Cov-MA
a509443fc50da50388c246cd1cd3bd241d25e71d
[ "CC0-1.0" ]
null
null
null
urls.py
UM6SS-Bioinfo-team/Cov-MA
a509443fc50da50388c246cd1cd3bd241d25e71d
[ "CC0-1.0" ]
null
null
null
urls.py
UM6SS-Bioinfo-team/Cov-MA
a509443fc50da50388c246cd1cd3bd241d25e71d
[ "CC0-1.0" ]
null
null
null
from .views import * from django.urls import path from django.utils.translation import gettext_lazy as _ from rest_framework.authtoken.views import obtain_auth_token app_name = 'covma' urlpatterns = [ path("patient_list",patient_list,name= 'detail'), path("patient_<int:pk>",patient_detail,name= 'delete')...
43
64
0.702842
112
774
4.553571
0.267857
0.078431
0.137255
0.176471
0.372549
0
0
0
0
0
0
0
0.131783
774
17
65
45.529412
0.758929
0
0
0
0
0
0.260238
0
0
0
0
0
0
1
0
false
0
0.235294
0
0.235294
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c917a54046ea73843371b5525de4b2c21f6b8fbb
1,787
py
Python
src/json_serializable_test.py
asokolsky/wan-monitor
925c381bb549bc8b597abe498d0492ee0527bdd0
[ "MIT" ]
null
null
null
src/json_serializable_test.py
asokolsky/wan-monitor
925c381bb549bc8b597abe498d0492ee0527bdd0
[ "MIT" ]
null
null
null
src/json_serializable_test.py
asokolsky/wan-monitor
925c381bb549bc8b597abe498d0492ee0527bdd0
[ "MIT" ]
null
null
null
# # # from typing import List import unittest from json_serializable import JsonSerializable class Animal( JsonSerializable ): def __init__( s, species:str='', sound:str='', name:str='' ): super().__init__() s.name = name s.sound = sound s.species = species return class D...
23.826667
103
0.554561
198
1,787
4.747475
0.277778
0.026596
0.034043
0.051064
0.08617
0.08617
0.06383
0.06383
0
0
0
0
0.292669
1,787
74
104
24.148649
0.743671
0.095132
0
0.204545
0
0
0.118217
0.093023
0
0
0
0.013514
0.136364
1
0.159091
false
0
0.068182
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
c919f570213d5d87913135f398769bcd58d6253d
2,926
py
Python
tournament/migrations/0004_auto_20171202_0621.py
AfricaChess/lichesshub
833138d96cbf00c60719ae8f25ee882f2d4ba1ff
[ "MIT" ]
2
2017-10-28T11:21:51.000Z
2018-01-10T19:39:03.000Z
tournament/migrations/0004_auto_20171202_0621.py
AfricaChess/lichesshub
833138d96cbf00c60719ae8f25ee882f2d4ba1ff
[ "MIT" ]
5
2017-11-29T12:33:13.000Z
2021-06-10T19:00:27.000Z
tournament/migrations/0004_auto_20171202_0621.py
AfricaChess/lichesshub
833138d96cbf00c60719ae8f25ee882f2d4ba1ff
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2017-12-02 06:21 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('tournament', '0003_auto_201712...
36.123457
145
0.563568
267
2,926
6.041199
0.333333
0.039058
0.085555
0.100434
0.520149
0.50279
0.376937
0.376937
0.376937
0.376937
0
0.022037
0.302119
2,926
80
146
36.575
0.767875
0.02324
0
0.493151
1
0
0.123292
0.025569
0
0
0
0
0
1
0
false
0
0.054795
0
0.09589
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c91e9cd7ee60d1eac23d121b4295f923180da4b2
598
py
Python
tests/test_output.py
domdfcoding/flake8-github-action
859a1075ee96031b27cdde05d9c654fc1c680c65
[ "MIT" ]
1
2021-03-01T07:02:41.000Z
2021-03-01T07:02:41.000Z
tests/test_output.py
domdfcoding/flake8-github-action
859a1075ee96031b27cdde05d9c654fc1c680c65
[ "MIT" ]
7
2021-08-11T09:25:47.000Z
2022-02-21T21:25:30.000Z
tests/test_output.py
domdfcoding/flake8-github-action
859a1075ee96031b27cdde05d9c654fc1c680c65
[ "MIT" ]
1
2022-01-14T17:36:46.000Z
2022-01-14T17:36:46.000Z
# 3rd party import pytest from coincidence.regressions import FileRegressionFixture, check_file_regression from domdf_python_tools.paths import PathPlus from flake8.main import cli # type: ignore bad_code = PathPlus(__file__).parent / "bad_code.py" def test_output(file_regression: FileRegressionFixture, capsys): w...
35.176471
89
0.784281
80
598
5.6375
0.6
0.077605
0.084257
0
0
0
0
0
0
0
0
0.031423
0.095318
598
16
90
37.375
0.802218
0.036789
0
0
0
0
0.118674
0.041885
0
0
0
0
0.090909
1
0.090909
false
0
0.363636
0
0.454545
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
0
0
0
0
1
c91eecbd04b963d7d55e123794e31d91536c98e7
354
py
Python
if- else condition/sum of even.py
sneh-pragya/LearningPrograming
cb59cecb3ec6980a97d02b97b2021d2f403f60ba
[ "MIT" ]
1
2021-09-17T14:43:38.000Z
2021-09-17T14:43:38.000Z
if- else condition/sum of even.py
sneh-pragya/LearningPrograming
cb59cecb3ec6980a97d02b97b2021d2f403f60ba
[ "MIT" ]
null
null
null
if- else condition/sum of even.py
sneh-pragya/LearningPrograming
cb59cecb3ec6980a97d02b97b2021d2f403f60ba
[ "MIT" ]
null
null
null
//You are given an integer A, you need to find and return the sum of all the even numbers between 1 and A. class Solution: # @param A : integer # @return an integer def solve(self, A): sum=0; for i in range (1,A+1): if (i%2==0): sum+= i ...
27.230769
106
0.480226
52
354
3.269231
0.615385
0.105882
0
0
0
0
0
0
0
0
0
0.030151
0.437853
354
13
107
27.230769
0.824121
0.10452
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
1
c9287bb32345ed491932d14978424168ee41e36f
305
py
Python
src/data_manage/data_class/namespace_child.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
src/data_manage/data_class/namespace_child.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
src/data_manage/data_class/namespace_child.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 from dataclasses import dataclass @dataclass(frozen=True, eq=True) class NamespaceChild: namespace: str sort: int = -1 def __lt__(self, other: object): if not isinstance(other, NamespaceChild): return NotImplemented return self.sort < other.sort
21.785714
49
0.672131
36
305
5.583333
0.75
0
0
0
0
0
0
0
0
0
0
0.008658
0.242623
305
13
50
23.461538
0.861472
0.042623
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.111111
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
0
0
0
0
0
1
0
0
1
c932518fcc1df8d1a6ef73c76b9dc855464163ee
2,494
py
Python
main.py
Night-Admin-Community/icq-offer-bot
26b5efd7d1396aae95f7e15d79e1e1c687df3466
[ "MIT" ]
null
null
null
main.py
Night-Admin-Community/icq-offer-bot
26b5efd7d1396aae95f7e15d79e1e1c687df3466
[ "MIT" ]
null
null
null
main.py
Night-Admin-Community/icq-offer-bot
26b5efd7d1396aae95f7e15d79e1e1c687df3466
[ "MIT" ]
null
null
null
from api.bot import Bot import asyncio TOKEN = "***.**********.**********:*********" CHAT = "**********@chat.agent" bot = Bot(token=TOKEN) replics = { "start": "Привет! С помощью этого бота ты можешь отправить материал в предложку каналов Night Admin Community!\nРазработчик: @night_admin\nНажми кнопку ниже для доба...
55.422222
246
0.692863
320
2,494
5.353125
0.484375
0.056042
0.042032
0.056042
0.19498
0.182137
0.182137
0.14244
0.14244
0.06188
0
0
0.141941
2,494
44
247
56.681818
0.800467
0
0
0
0
0.128205
0.548917
0.056135
0
0
0
0
0
0
null
null
0
0.051282
null
null
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
1
0
0
0
0
0
0
0
0
1
c93b0731e5467151a8afc15a0c295f547ec812c7
471
py
Python
adventofcode/day21/test_day21.py
EikaNN/AdventOfCode2017
21bac909b5c586224e904803332ef2cf01fc1e16
[ "MIT" ]
2
2018-01-04T23:26:23.000Z
2018-07-05T14:02:44.000Z
adventofcode/day21/test_day21.py
EikaNN/AdventOfCode2017
21bac909b5c586224e904803332ef2cf01fc1e16
[ "MIT" ]
1
2017-12-26T23:12:39.000Z
2017-12-31T11:46:25.000Z
adventofcode/day21/test_day21.py
EikaNN/AdventOfCode2017
21bac909b5c586224e904803332ef2cf01fc1e16
[ "MIT" ]
null
null
null
import unittest from day21.day21 import Day21 class Day21Test(unittest.TestCase): def test_part_one(self): rules = [ '../.# => ##./#../...', '.#./..#/### => #..#/..../..../#..#' ] self.assertEqual(12, Day21('\n'.join(rules), 2).solve_part_one()) def test_part_...
22.428571
77
0.526539
50
471
4.68
0.64
0.059829
0.094017
0
0
0
0
0
0
0
0
0.037681
0.267516
471
20
78
23.55
0.64058
0.142251
0
0
0
0
0.159204
0
0
0
0
0
0.076923
1
0.153846
false
0.076923
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c93f453c6e47c5577821cc90f53f172ce0554f84
8,281
py
Python
ansys/dpf/core/operators/serialization/vtk_export.py
jfthuong/pydpf-core
bf2895ebc546e0004f759289bfc9a23196559ac3
[ "MIT" ]
null
null
null
ansys/dpf/core/operators/serialization/vtk_export.py
jfthuong/pydpf-core
bf2895ebc546e0004f759289bfc9a23196559ac3
[ "MIT" ]
null
null
null
ansys/dpf/core/operators/serialization/vtk_export.py
jfthuong/pydpf-core
bf2895ebc546e0004f759289bfc9a23196559ac3
[ "MIT" ]
null
null
null
""" vtk_export =============== Autogenerated DPF operator classes. """ from warnings import warn from ansys.dpf.core.dpf_operator import Operator from ansys.dpf.core.inputs import Input, _Inputs from ansys.dpf.core.outputs import _Outputs from ansys.dpf.core.operators.specification import PinSpecification, Specificatio...
29.365248
82
0.573602
900
8,281
5.111111
0.147778
0.041739
0.028696
0.046957
0.501087
0.456739
0.389783
0.389783
0.332174
0.332174
0
0.010879
0.311798
8,281
281
83
29.469751
0.79628
0.455621
0
0.232323
1
0
0.082755
0.006109
0
0
0
0
0
1
0.111111
false
0
0.050505
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c94972e43abc5815818c8d971961d98908db47f7
610
py
Python
elements/python/11/10/soln.py
mmcloughlin/problems
6095842ffe007a12ec8c2093850515aa4e046616
[ "MIT" ]
11
2019-02-08T06:54:34.000Z
2021-08-07T18:57:39.000Z
elements/python/11/10/soln.py
mmcloughlin/problems
6095842ffe007a12ec8c2093850515aa4e046616
[ "MIT" ]
1
2019-05-21T08:14:10.000Z
2019-05-21T08:14:10.000Z
elements/python/11/10/soln.py
mmcloughlin/problems
6095842ffe007a12ec8c2093850515aa4e046616
[ "MIT" ]
null
null
null
import heapq import random class Stack(object): def __init__(self): self.h = [] def push(self, x): heapq.heappush(self.h, (-len(self.h), x)) def pop(self): if self.empty(): return None _, x = heapq.heappop(self.h) return x def empty(self): ...
16.052632
56
0.527869
84
610
3.666667
0.416667
0.081169
0.051948
0
0
0
0
0
0
0
0
0.017115
0.329508
610
37
57
16.486486
0.735941
0
0
0
0
0
0.019672
0
0
0
0
0
0.038462
0
null
null
0.038462
0.076923
null
null
0.038462
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
1
0
0
0
0
0
0
0
0
1
c95858d12c8bfd314d82f49844c1dac80a8ea2b1
886
py
Python
server/image/image_controller.py
talandar/GameControl
b8685fcf1fad40352ed4dbfea8878edcb2bb0770
[ "MIT" ]
null
null
null
server/image/image_controller.py
talandar/GameControl
b8685fcf1fad40352ed4dbfea8878edcb2bb0770
[ "MIT" ]
1
2021-11-13T18:47:47.000Z
2021-11-13T18:47:47.000Z
server/image/image_controller.py
talandar/GameControl
b8685fcf1fad40352ed4dbfea8878edcb2bb0770
[ "MIT" ]
null
null
null
"""This class maintains the image database for display to clients""" import os class ImageDatabase(object): """container for image data""" VALID_IMAGE_TYPES = ["png", "jpg"] CATEGORIES = set() FILE_DATA = {} def __init__(self, root_dir): self.root_dir = root_dir self._scan_for...
26.848485
71
0.611738
115
886
4.426087
0.408696
0.05501
0.064833
0.058939
0
0
0
0
0
0
0
0.001567
0.27991
886
32
72
27.6875
0.796238
0
0
0
0
0
0.008883
0
0
0
0
0
0
0
null
null
0
0.05
null
null
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
1
0
0
0
0
0
0
0
0
1
c95aa0de2d2dcc3a5fda96da35d022ee251495d0
1,520
py
Python
tests/test_week1_scc.py
manoldonev/algo2-assignments
521f3c76eeb3db2081c15dc0f2adbaaae9440ed6
[ "MIT" ]
null
null
null
tests/test_week1_scc.py
manoldonev/algo2-assignments
521f3c76eeb3db2081c15dc0f2adbaaae9440ed6
[ "MIT" ]
null
null
null
tests/test_week1_scc.py
manoldonev/algo2-assignments
521f3c76eeb3db2081c15dc0f2adbaaae9440ed6
[ "MIT" ]
null
null
null
"""Week1 Test Cases: Strongly Connected Components""" from week1.scc import scc def test_scc(): graph = { 'a': ['c'], 'b': ['a'], 'c': ['b'], 'd': ['b', 'f'], 'e': ['d'], 'f': ['e'], 'g': ['e', 'h'], 'h': ['i'], 'i': ['g'] } assert...
18.313253
61
0.282237
181
1,520
2.270718
0.154696
0.131387
0.145985
0.058394
0.326034
0.209246
0.209246
0.209246
0.209246
0.209246
0
0.002103
0.374342
1,520
82
62
18.536585
0.430074
0.030921
0
0.377049
0
0
0.079127
0
0
0
0
0
0.098361
1
0.098361
false
0
0.016393
0
0.114754
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c95f8187ae719038e119b74365879738dcfac9c4
4,118
py
Python
lift_holdout_emotion.py
juancq/emotion-recognition-walking-acc
d1374d06f126c5a6e0d68cb63c21f5af53d5bcf7
[ "MIT" ]
5
2019-03-28T18:56:27.000Z
2021-09-23T09:39:48.000Z
lift_holdout_emotion.py
juancq/emotion-recognition-walking-acc
d1374d06f126c5a6e0d68cb63c21f5af53d5bcf7
[ "MIT" ]
1
2021-03-25T21:58:48.000Z
2021-03-25T21:58:48.000Z
lift_holdout_emotion.py
juancq/emotion-recognition-walking-acc
d1374d06f126c5a6e0d68cb63c21f5af53d5bcf7
[ "MIT" ]
3
2019-08-02T13:38:56.000Z
2020-06-10T11:08:36.000Z
import argparse import math import yaml import numpy as np from collections import defaultdict from sklearn import linear_model from sklearn import metrics from sklearn import preprocessing from sklearn.dummy import DummyClassifier from sklearn.ensemble import RandomForestClassifier from permute.core import one_sample...
35.5
140
0.577222
488
4,118
4.70082
0.340164
0.028771
0.037053
0.020924
0.155187
0.130776
0.117698
0.057541
0
0
0
0.01062
0.291161
4,118
115
141
35.808696
0.775266
0.051238
0
0
0
0
0.106069
0
0.038961
0
0
0
0
0
null
null
0
0.142857
null
null
0.025974
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
1
0
0
0
0
0
0
0
0
1
c960fe627c4a9d47101361cb7785d9bf649f110a
3,049
py
Python
src/cake-install.py
tanuck/cake-install
1b81fd7b19be7ec7bdf9adade7586f20cee62b90
[ "MIT" ]
null
null
null
src/cake-install.py
tanuck/cake-install
1b81fd7b19be7ec7bdf9adade7586f20cee62b90
[ "MIT" ]
null
null
null
src/cake-install.py
tanuck/cake-install
1b81fd7b19be7ec7bdf9adade7586f20cee62b90
[ "MIT" ]
null
null
null
#!/usr/bin/python import argparse import requests import zipfile import sys, os import shutil import shlex, subprocess from requests.exceptions import ConnectionError, HTTPError, Timeout, TooManyRedirects def run(args): zipurls = {1: 'https://github.com/cakephp/cakephp/archive/1.3.20.zip', 2: 'https://github.com...
30.79798
177
0.693342
415
3,049
5.06506
0.404819
0.055661
0.053283
0.029971
0.087536
0.049477
0
0
0
0
0
0.01171
0.159725
3,049
98
178
31.112245
0.808743
0.019023
0
0.202703
0
0.013514
0.301773
0.007695
0
0
0
0
0
0
null
null
0
0.094595
null
null
0.067568
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
1
0
0
0
0
0
0
0
0
1
c96bd1c3aa980d990452aa94d5fdf88e0ba4ff20
1,166
py
Python
nnef_tools/conversion/onnx/onnx_custom.py
rgiduthuri/NNEF-Tools
8a9971f897fb5a110dd254e0c20077213f257700
[ "Apache-2.0" ]
1
2019-09-06T19:37:01.000Z
2019-09-06T19:37:01.000Z
nnef_tools/conversion/onnx/onnx_custom.py
rgiduthuri/NNEF-Tools
8a9971f897fb5a110dd254e0c20077213f257700
[ "Apache-2.0" ]
null
null
null
nnef_tools/conversion/onnx/onnx_custom.py
rgiduthuri/NNEF-Tools
8a9971f897fb5a110dd254e0c20077213f257700
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2017 The Khronos Group 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 ...
36.4375
84
0.773585
156
1,166
5.653846
0.564103
0.068027
0.058957
0.036281
0.061224
0
0
0
0
0
0
0.008105
0.153516
1,166
31
85
37.612903
0.885512
0.482847
0
0
0
0
0.173175
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.066667
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
0
0
0
0
1
c9847476357c18f0ebf89f31f2cff8532d9f6596
3,097
py
Python
src/test/test_preprocess_data.py
BLannoo/medical-named-entity-recognition
043f37d2576e75834e759fef50d827021d633b08
[ "MIT" ]
null
null
null
src/test/test_preprocess_data.py
BLannoo/medical-named-entity-recognition
043f37d2576e75834e759fef50d827021d633b08
[ "MIT" ]
null
null
null
src/test/test_preprocess_data.py
BLannoo/medical-named-entity-recognition
043f37d2576e75834e759fef50d827021d633b08
[ "MIT" ]
null
null
null
from pathlib import Path import pandas as pd import spacy from assertpy import assert_that from src.definitions import PROJECT_ROOT from src.main.preprocess_data import preprocess_data, parse_passage def test_preprocess_data(tmp_path: Path): preprocess_data( data_root=PROJECT_ROOT / "data/test/raw", ...
26.470085
81
0.463675
301
3,097
4.544851
0.372093
0.017544
0.04386
0.046784
0.330409
0.30117
0.30117
0.30117
0.30117
0.230994
0
0.015013
0.397804
3,097
116
82
26.698276
0.718499
0.024863
0
0.227723
0
0
0.207822
0.009944
0
0
0
0.008621
0.069307
1
0.029703
false
0.118812
0.059406
0.009901
0.09901
0.009901
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c985d0a1c814b1859c5d5a265ef61f321522a434
22,808
py
Python
stats/scripts/z3_utils.py
satbekmyrza/chc-spacer-code
fce6bf356626cf4e54f4724eda1413ccb5e8491f
[ "MIT" ]
1
2021-11-16T02:23:50.000Z
2021-11-16T02:23:50.000Z
stats/scripts/z3_utils.py
satbekmyrza/chc-spacer-code
fce6bf356626cf4e54f4724eda1413ccb5e8491f
[ "MIT" ]
null
null
null
stats/scripts/z3_utils.py
satbekmyrza/chc-spacer-code
fce6bf356626cf4e54f4724eda1413ccb5e8491f
[ "MIT" ]
null
null
null
#!/usr/bin/env python ############################################ # # Some utility routines for Z3 # ############################################ import z3 I = z3.IntSort () B = z3.BoolSort () def z3_translate (x, ctx): """ A version of z3.AstRef.translate that handles sorts and function declarations correctly...
31.372765
96
0.594441
3,340
22,808
3.902096
0.121257
0.012277
0.006445
0.010128
0.423924
0.371442
0.328704
0.300852
0.297706
0.275455
0
0.014839
0.293844
22,808
726
97
31.415978
0.794362
0.135523
0
0.397287
0
0
0.022612
0
0
0
0
0.001377
0.021318
0
null
null
0
0.001938
null
null
0.05814
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
1
0
0
0
0
0
0
0
0
1
a3120ddfe78f5c00b01f050ed61f2fe7e53d9590
3,882
py
Python
selenium_app.py
CesarRodriguezPro/TimeStationAutoclockout
6872f2058566b2ab5f534efe111b006a564a84dc
[ "MIT" ]
null
null
null
selenium_app.py
CesarRodriguezPro/TimeStationAutoclockout
6872f2058566b2ab5f534efe111b006a564a84dc
[ "MIT" ]
1
2021-06-01T23:17:33.000Z
2021-06-01T23:17:33.000Z
selenium_app.py
CesarRodriguezPro/TimeStationAutoclockout
6872f2058566b2ab5f534efe111b006a564a84dc
[ "MIT" ]
null
null
null
from selenium import webdriver from selenium.webdriver.support.ui import Select from datetime import date from get_names import send_names ''' this app automatic login in to a website and cut the hours of the people who forgot to clock out in lunch time ''' ####################################### Basic settings ####...
35.944444
103
0.633694
516
3,882
4.49031
0.313953
0.047475
0.077687
0.086319
0.192922
0.159258
0.100993
0.054381
0.054381
0.054381
0
0.002876
0.193972
3,882
108
104
35.944444
0.737616
0.136012
0
0.086957
0
0.014493
0.15345
0.010642
0
0
0
0
0
1
0.072464
false
0.057971
0.057971
0
0.130435
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
a318d3e63ee21c5e1873e45e35d291173b354335
3,790
py
Python
document_clustering/cluster.py
chuajiesheng/twitter-sentiment-analysis
7617243c953a20c517a737c79fe0f54e55aef140
[ "Apache-2.0" ]
null
null
null
document_clustering/cluster.py
chuajiesheng/twitter-sentiment-analysis
7617243c953a20c517a737c79fe0f54e55aef140
[ "Apache-2.0" ]
null
null
null
document_clustering/cluster.py
chuajiesheng/twitter-sentiment-analysis
7617243c953a20c517a737c79fe0f54e55aef140
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # OS-level import import sys import os import code # Data related import import numpy as np import pandas as pd import nltk import re import os import codecs from sklearn import feature_extraction import mpld3 from nltk.stem.snowball import SnowballStemmer from sklearn.feature_extraction.text import Tf...
34.770642
117
0.691557
508
3,790
5
0.387795
0.033071
0.017717
0.014961
0.225984
0.225984
0.225984
0.225984
0.225984
0.225984
0
0.00998
0.20686
3,790
108
118
35.092593
0.834997
0.170449
0
0.136986
0
0
0.049537
0
0
0
0
0.009259
0
0
null
null
0
0.232877
null
null
0.082192
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
1
0
0
0
0
0
0
0
0
1
a31cb6c76f1de247edaa2cf2970bdabb4e1c0e69
3,546
py
Python
Data Structures/IMP-BST.py
itsrohanvj/Data-Structures-Algorithms-in-Python
500bdb75e4f5fb4cbb409bb0fb5487ef36931efa
[ "MIT" ]
1
2021-08-28T15:50:56.000Z
2021-08-28T15:50:56.000Z
Data Structures/IMP-BST.py
itsrohanvj/Data-Structures-Algorithms-in-Python
500bdb75e4f5fb4cbb409bb0fb5487ef36931efa
[ "MIT" ]
null
null
null
Data Structures/IMP-BST.py
itsrohanvj/Data-Structures-Algorithms-in-Python
500bdb75e4f5fb4cbb409bb0fb5487ef36931efa
[ "MIT" ]
null
null
null
# Returns true if a binary tree is a binary search tree def IsBST3(root): if root == None: return 1 # false if the max of the left is > than root if (root.getLeft() != None and FindMax(root.getLeft()) > root.get_data()) return 0 # false if the min of the right is <= than root if (r...
28.596774
79
0.582346
455
3,546
4.50989
0.268132
0.046784
0.019493
0.024854
0.127193
0.078947
0.078947
0.054581
0.054581
0.054581
0
0.015018
0.230118
3,546
123
80
28.829268
0.73663
0.199662
0
0.15625
0
0
0.01347
0
0
0
0
0
0
0
null
null
0
0
null
null
0.03125
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
1
0
0
0
0
0
0
0
0
1
a326eb92e0f52772a8ab954912b6af39cd6f3ed5
4,477
py
Python
myriad/game/shell/grammar.py
oubiwann/myriad-worlds
bfbbab713e35c5700e37158a892c3a66a8c9f37a
[ "MIT" ]
3
2015-01-29T05:24:32.000Z
2021-05-10T01:47:36.000Z
myriad/game/shell/grammar.py
oubiwann/myriad-worlds
bfbbab713e35c5700e37158a892c3a66a8c9f37a
[ "MIT" ]
null
null
null
myriad/game/shell/grammar.py
oubiwann/myriad-worlds
bfbbab713e35c5700e37158a892c3a66a8c9f37a
[ "MIT" ]
null
null
null
import random from pyparsing import alphas, empty, oneOf, replaceWith from pyparsing import CaselessLiteral, OneOrMore, Optional, ParseException from pyparsing import CaselessKeyword, LineEnd, MatchFirst, Word from myriad.game.shell import command from myriad.item import Item class ShellParseException(ParseExceptio...
38.594828
79
0.583873
379
4,477
6.886544
0.451187
0.096552
0.021839
0
0
0
0
0
0
0
0
0.000329
0.320974
4,477
115
80
38.930435
0.858224
0
0
0
0
0
0.097387
0
0
0
0
0
0
0
null
null
0.009804
0.058824
null
null
0.009804
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
1
0
0
0
0
0
0
0
0
1
a32bd70c3a9cb341beef59ca51fef48baebd0700
408
py
Python
Week of Code 35/Triple Recursion-Week Of Code-35 2.py
anirudhkannanvp/HACKERRANK
024c656a853ebc39451da12f5d0ca46ef0e4d1fd
[ "MIT" ]
3
2017-10-02T08:41:34.000Z
2018-02-12T14:56:43.000Z
Week of Code 35/Triple Recursion-Week Of Code-35 2.py
anirudhkannanvp/HACKERRANK
024c656a853ebc39451da12f5d0ca46ef0e4d1fd
[ "MIT" ]
null
null
null
Week of Code 35/Triple Recursion-Week Of Code-35 2.py
anirudhkannanvp/HACKERRANK
024c656a853ebc39451da12f5d0ca46ef0e4d1fd
[ "MIT" ]
3
2017-09-04T19:14:26.000Z
2018-04-05T00:03:02.000Z
n,m,k=map(int,input().split()) a=[[0]*n for i in range(n)] for i in range(n): for j in range(n): if(i==0 and j==0): a[i][j]=m elif(i==j): a[i][j]=a[i-1][j-1]+k elif(i>j): a[i][j]=a[i-1][j]-1 else: a[i][j]=a[i][j-1]-1 for i i...
25.5
39
0.379902
84
408
1.845238
0.261905
0.103226
0.116129
0.129032
0.612903
0.574194
0.574194
0.490323
0.490323
0.490323
0
0.034884
0.367647
408
16
40
25.5
0.565891
0
0
0.25
0
0
0.005076
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a33194ebde3b625be89c59f98ce2d46160229fde
5,871
py
Python
testdata/PyFEM-master/install.py
Konstantin8105/py4go
7c9f3cf0d939ad94d13abe109d15c885ca849cda
[ "MIT" ]
3
2021-01-28T17:40:50.000Z
2021-10-05T17:48:32.000Z
testdata/PyFEM-master/install.py
Konstantin8105/py4go
7c9f3cf0d939ad94d13abe109d15c885ca849cda
[ "MIT" ]
1
2021-07-04T14:38:48.000Z
2021-07-04T14:38:48.000Z
testdata/PyFEM-master/install.py
Konstantin8105/py4go
7c9f3cf0d939ad94d13abe109d15c885ca849cda
[ "MIT" ]
2
2021-07-11T12:51:08.000Z
2021-10-05T17:48:44.000Z
############################################################################ # This Python file is part of PyFEM, the code that accompanies the book: # # # # 'Non-Linear Finite Element Analysis of Solids and Structures' # # R. ...
37.877419
79
0.477261
639
5,871
4.359937
0.305164
0.032304
0.027638
0.052046
0.398421
0.331299
0.313352
0.277818
0.267408
0.235104
0
0.018573
0.303015
5,871
154
80
38.123377
0.662268
0.327202
0
0.337349
0
0.012048
0.484527
0.126847
0
0
0
0
0
1
0
false
0
0.024096
0
0.024096
0.554217
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
0
0
0
1
0
1