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
26c8199913901f96201fe9b8091ee36c1351a53e
347
py
Python
examples/prompt.py
nelice/bullet
aafec4d0ca8f628d2be9b0667c50477929c2cca7
[ "MIT" ]
1
2021-03-22T07:55:30.000Z
2021-03-22T07:55:30.000Z
examples/prompt.py
nelice/bullet
aafec4d0ca8f628d2be9b0667c50477929c2cca7
[ "MIT" ]
null
null
null
examples/prompt.py
nelice/bullet
aafec4d0ca8f628d2be9b0667c50477929c2cca7
[ "MIT" ]
null
null
null
from bullet import Bullet, Prompt, Check, Input, YesNo from bullet import styles cli = Prompt( [ Bullet("Choose from a list: ", **styles.Example), Check("Choose from a list: ", **styles.Example), Input("Who are you? "), YesNo("Are you a student? ") ], spacing = 2 ) result =...
23.133333
57
0.599424
44
347
4.727273
0.5
0.096154
0.153846
0.144231
0.269231
0.269231
0
0
0
0
0
0.003906
0.262248
347
15
58
23.133333
0.808594
0
0
0
0
0
0.206897
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
26c8a00c561378714f8ad7990f244b2a1e695121
671
py
Python
testsuite/tests/T618-047__Ada_2012/run_test.py
AdaCore/style_checker
17108ebfc44375498063ecdad6c6e4430458e60a
[ "CNRI-Python" ]
2
2017-10-22T18:04:26.000Z
2020-03-06T11:07:41.000Z
testsuite/tests/T618-047__Ada_2012/run_test.py
AdaCore/style_checker
17108ebfc44375498063ecdad6c6e4430458e60a
[ "CNRI-Python" ]
null
null
null
testsuite/tests/T618-047__Ada_2012/run_test.py
AdaCore/style_checker
17108ebfc44375498063ecdad6c6e4430458e60a
[ "CNRI-Python" ]
4
2018-05-22T12:08:54.000Z
2020-12-14T15:25:27.000Z
def test_pck_2012_adb(style_checker): """Style check test against pck_2012.adb.""" style_checker.set_year(2006) p = style_checker.run_style_checker('repo_name', 'pck_2012.ads') style_checker.assertEqual(p.status, 0, p.image) style_checker.assertRunOutputEmpty(p) def test_pck_2012_adb_with_alt_conf...
41.9375
74
0.754098
97
671
4.865979
0.309278
0.305085
0.084746
0.059322
0.84322
0.771186
0.771186
0.771186
0.771186
0.588983
0
0.075472
0.131148
671
15
75
44.733333
0.734134
0.153502
0
0.545455
0
0
0.125673
0
0
0
0
0
0.363636
1
0.181818
false
0
0
0
0.181818
0
0
0
0
null
1
0
0
1
1
1
1
1
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
6
26cacd8b2394e2ededf66d1f7ced4b0560e95348
594
py
Python
src/volume_0/0011_Drawing_Lots.py
DaikiShimada/aoj-exercise
dd4b70d4fd64aa28bc4cc75f5cdb8d02ea796803
[ "MIT" ]
null
null
null
src/volume_0/0011_Drawing_Lots.py
DaikiShimada/aoj-exercise
dd4b70d4fd64aa28bc4cc75f5cdb8d02ea796803
[ "MIT" ]
null
null
null
src/volume_0/0011_Drawing_Lots.py
DaikiShimada/aoj-exercise
dd4b70d4fd64aa28bc4cc75f5cdb8d02ea796803
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import sys def amida(w, side_bar): result = [] side_bar.reverse() for x in range(1, w+1): status = x for bar in side_bar: if status == bar[0]: status = bar[1] elif status == bar[1]: status = bar[0] resu...
21.214286
73
0.503367
82
594
3.487805
0.414634
0.122378
0.06993
0.090909
0
0
0
0
0
0
0
0.017995
0.345118
594
27
74
22
0.717224
0.035354
0
0
0
0
0.015762
0
0
0
0
0
0
1
0.090909
false
0
0.045455
0
0.181818
0.045455
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
0
1
0
26cbd6df4059d6dbdf0c29f052b92ccdc1a7a881
1,832
py
Python
mglg/util/profiler.py
aforren1/mglg
a9b703e109a66377dd404929fc0b13ccc12b5214
[ "MIT" ]
null
null
null
mglg/util/profiler.py
aforren1/mglg
a9b703e109a66377dd404929fc0b13ccc12b5214
[ "MIT" ]
9
2019-08-05T21:11:09.000Z
2021-11-18T18:19:33.000Z
mglg/util/profiler.py
aforren1/mglg
a9b703e109a66377dd404929fc0b13ccc12b5214
[ "MIT" ]
null
null
null
from timeit import default_timer import numpy as np class Profiler: __slots__ = ('active', 'gpuquery', 't0', 'cpubuffer', 'gpubuffer', 'counter', '_size', 'worst_cpu', 'worst_gpu') def __init__(self, gpu=False, ctx=None, buffer_size=200): self.active = False ...
31.586207
90
0.555131
229
1,832
4.222707
0.240175
0.111686
0.074457
0.040331
0.322647
0.229576
0.229576
0.171665
0.171665
0.084798
0
0.027341
0.341157
1,832
57
91
32.140351
0.773819
0.002729
0
0.265306
0
0
0.037281
0
0
0
0
0
0
1
0.122449
false
0
0.040816
0
0.22449
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
0
0
1
0
26ccd5bc1d5e387e612a0f077f3e861929e6b021
2,972
py
Python
toolbox/exp/Experiment.py
LinXueyuanStdio/KGE-toolbox
916842835e61ba99dde1409592977a2ec55f8aae
[ "Apache-2.0" ]
2
2021-10-17T17:50:24.000Z
2021-12-13T05:22:46.000Z
toolbox/exp/Experiment.py
LinXueyuanStdio/KGE-toolbox
916842835e61ba99dde1409592977a2ec55f8aae
[ "Apache-2.0" ]
null
null
null
toolbox/exp/Experiment.py
LinXueyuanStdio/KGE-toolbox
916842835e61ba99dde1409592977a2ec55f8aae
[ "Apache-2.0" ]
null
null
null
import numpy as np from toolbox.exp.OutputSchema import OutputSchema from toolbox.utils.LaTeXSotre import EvaluateLaTeXStoreSchema from toolbox.utils.MetricLogStore import MetricLogStoreSchema from toolbox.utils.ModelParamStore import ModelParamStoreSchema from toolbox.utils.Visualize import VisualizeSchema class Ex...
44.358209
89
0.685397
390
2,972
5.002564
0.230769
0.064582
0.069195
0.099949
0.635572
0.635572
0.635572
0.635572
0.635572
0.635572
0
0.007197
0.205249
2,972
66
90
45.030303
0.818798
0
0
0.491228
0
0
0.033311
0
0
0
0
0
0
1
0.087719
false
0
0.105263
0
0.280702
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
26cdda5a2dd54f427c59a8a3d865986d8ec6b5ee
893
py
Python
src/dataloader/tests/runner.py
ODM2/ODM2DataSharingPortal
4ea1d633fe8e1cc39916e83041f2dbc830339e55
[ "BSD-3-Clause" ]
18
2018-11-27T11:57:24.000Z
2022-03-19T16:52:35.000Z
src/dataloader/tests/runner.py
ODM2/ODM2DataSharingPortal
4ea1d633fe8e1cc39916e83041f2dbc830339e55
[ "BSD-3-Clause" ]
362
2018-02-21T16:27:00.000Z
2022-03-31T18:48:48.000Z
src/dataloader/tests/runner.py
ODM2/ODM2DataSharingPortal
4ea1d633fe8e1cc39916e83041f2dbc830339e55
[ "BSD-3-Clause" ]
5
2018-07-04T17:13:09.000Z
2021-12-19T22:51:40.000Z
import json import os from django.core.management import call_command from django.test.runner import DiscoverRunner from django.db import connections from dataloader.tests.data import data_manager class ODM2TestRunner(DiscoverRunner): test_connection = None database_alias = u'odm2' def setup_test_envir...
29.766667
98
0.721165
104
893
5.961538
0.461538
0.112903
0.116129
0
0
0
0
0
0
0
0
0.004167
0.193729
893
29
99
30.793103
0.856944
0
0
0
0
0
0.035834
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
26cf29a0e44e798901be0b42a84cea83caaf14fe
364
py
Python
plugins/rain.py
xditya/PikaBotPlugins
2c5c52716158cd8964220bcc71fa383ccaf1210a
[ "Apache-2.0" ]
2
2021-02-16T05:35:41.000Z
2021-05-25T16:59:47.000Z
plugins/rain.py
xditya/PikaBotPlugins
2c5c52716158cd8964220bcc71fa383ccaf1210a
[ "Apache-2.0" ]
null
null
null
plugins/rain.py
xditya/PikaBotPlugins
2c5c52716158cd8964220bcc71fa383ccaf1210a
[ "Apache-2.0" ]
2
2021-02-07T03:09:40.000Z
2021-05-25T16:59:59.000Z
#Originally created By KingMars ✅ Rain Sequence 2 {Updated} from telethon import events import asyncio from collections import deque @ItzSjDude(outgoing=True, pattern=r"km_rain2") async def _(event): if event.fwd_from: return deq = deque(list("☁️⛈Ř/~\İŇ🌬⚡🌪")) for _ in range(100): await asyncio.sleep(0.1) a...
22.75
59
0.717033
60
364
4.416667
0.8
0
0
0
0
0
0
0
0
0
0
0.025641
0.142857
364
15
60
24.266667
0.798077
0.159341
0
0
0
0
0.065574
0
0
0
0
0
0
1
0
false
0
0.25
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
26cf746287a13ed33dacec35f0898c4fe183c37a
73
py
Python
preprocessing/__init__.py
WiktorSa/Music-Generation-with-LSTM-and-.wav-files
37b713b5e6193788a7710cc0fac4134efb74fa62
[ "MIT" ]
1
2022-03-09T20:13:57.000Z
2022-03-09T20:13:57.000Z
preprocessing/__init__.py
WiktorSa/Music-Generation-with-LSTM-and-.wav-files
37b713b5e6193788a7710cc0fac4134efb74fa62
[ "MIT" ]
1
2021-10-01T16:20:06.000Z
2021-10-01T17:25:30.000Z
preprocessing/__init__.py
WiktorSa/Music-Generation-with-LSTM-and-.wav-files
37b713b5e6193788a7710cc0fac4134efb74fa62
[ "MIT" ]
null
null
null
from preprocessing.generate_and_save_data import generate_and_save_data
36.5
72
0.917808
11
73
5.545455
0.636364
0.360656
0.491803
0.622951
0
0
0
0
0
0
0
0
0.068493
73
1
73
73
0.897059
0
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
9
26cfb507f5245413925f5d6ffbbfcea4aa484298
6,126
py
Python
plot.py
lizzieayton/PrimordialOozebot
1e330b1ac6f27bd167734ad6c6ecff70f816986a
[ "MIT" ]
null
null
null
plot.py
lizzieayton/PrimordialOozebot
1e330b1ac6f27bd167734ad6c6ecff70f816986a
[ "MIT" ]
null
null
null
plot.py
lizzieayton/PrimordialOozebot
1e330b1ac6f27bd167734ad6c6ecff70f816986a
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import csv import statistics import math plt.title('Population Diversity') plt.ylabel('Diversity Score') plt.xlabel('Iteration Number') random = [] randombars = [] rmin = [] rmax = [] hill = [] hillbars = [] hmin = [] hmax = [] evo = [] emin = [] emax = [] evobars = [] cross = [] cross...
30.939394
90
0.623572
658
6,126
5.799392
0.218845
0.037736
0.011792
0.014675
0.334382
0.269392
0.245807
0.245807
0.223008
0.19392
0
0.019503
0.238328
6,126
197
91
31.096447
0.798328
0.049625
0
0.216561
0
0
0.039752
0
0
0
0
0
0
1
0
false
0
0.025478
0
0.025478
0.012739
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
0
1
0
26cfea22c43edc42786c9199d503d77927f66e4d
1,918
py
Python
python/obra_hacks/backend/commands.py
brandond/obra-hacks
df451c6c6cd78b48f6e32bbd102a8e8a6bd77cb3
[ "Apache-2.0" ]
null
null
null
python/obra_hacks/backend/commands.py
brandond/obra-hacks
df451c6c6cd78b48f6e32bbd102a8e8a6bd77cb3
[ "Apache-2.0" ]
null
null
null
python/obra_hacks/backend/commands.py
brandond/obra-hacks
df451c6c6cd78b48f6e32bbd102a8e8a6bd77cb3
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import unicode_literals import logging from datetime import date import click from .data import DISCIPLINE_MAP from .outputs import OUTPUT_MAP @click.command() @click.option('--discipline', type=click.Choice(DISCIPLINE_MAP.keys()), required=True) @click...
34.25
100
0.684567
239
1,918
5.301255
0.451883
0.034728
0.023678
0
0
0
0
0
0
0
0
0.003313
0.213243
1,918
55
101
34.872727
0.836315
0.142336
0
0
0
0
0.08369
0.029933
0
0
0
0
0
1
0.029412
false
0
0.294118
0
0.323529
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
26d2a8925926b05405485ed3b4fa01550942c26f
657
py
Python
join_json.py
ryavorsky/med_robo
56f8d2067921ef7208166380e50af0600c10032a
[ "CC0-1.0" ]
null
null
null
join_json.py
ryavorsky/med_robo
56f8d2067921ef7208166380e50af0600c10032a
[ "CC0-1.0" ]
null
null
null
join_json.py
ryavorsky/med_robo
56f8d2067921ef7208166380e50af0600c10032a
[ "CC0-1.0" ]
null
null
null
import json with open('bibliography.json', 'r', encoding='utf-8') as bib_data: bib = sorted(json.load(bib_data), key=lambda d: d['ID']) with open('abstracts.json', 'r', encoding='utf-8') as tex_data: tex = sorted(json.load(tex_data), key=lambda d: d['ID']) ID1 = [b['ID'] for b in bib] ID2 = [t['ID'...
28.565217
82
0.614916
110
657
3.572727
0.463636
0.061069
0.091603
0.10687
0.183206
0.183206
0
0
0
0
0
0.01306
0.18417
657
22
83
29.863636
0.720149
0
0
0
0
0
0.175079
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0.071429
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
0
1
0
26d58240f4233e1d13f48a78a83f734ca262cc13
147
py
Python
Qcover/simulator/__init__.py
BAQIS-Quantum/Qcover
ca3776ed73fefa0cfef08042143a8cf842f8dad5
[ "Apache-2.0" ]
38
2021-12-22T03:12:01.000Z
2022-03-17T06:57:10.000Z
Qcover/simulator/__init__.py
BAQIS-Quantum/Qcover
ca3776ed73fefa0cfef08042143a8cf842f8dad5
[ "Apache-2.0" ]
null
null
null
Qcover/simulator/__init__.py
BAQIS-Quantum/Qcover
ca3776ed73fefa0cfef08042143a8cf842f8dad5
[ "Apache-2.0" ]
13
2021-12-22T07:32:44.000Z
2022-02-28T06:47:41.000Z
from .qton import Qcircuit, Qcodes import warnings warnings.filterwarnings("ignore") __all__ = [ # 'Simulator', 'Qcircuit', 'Qcodes' ]
16.333333
34
0.680272
14
147
6.857143
0.714286
0.291667
0
0
0
0
0
0
0
0
0
0
0.190476
147
9
35
16.333333
0.806723
0.081633
0
0
0
0
0.149254
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
26d8d630adbf36e69e2b1f614c164c0bdbf94301
7,563
py
Python
pizzerias/pizzerias_search.py
LiushaHe0317/pizzerias_block_search
16dd7fb20b1a29a4f16b28ac7e5a84b30f7f9a7b
[ "MIT" ]
null
null
null
pizzerias/pizzerias_search.py
LiushaHe0317/pizzerias_block_search
16dd7fb20b1a29a4f16b28ac7e5a84b30f7f9a7b
[ "MIT" ]
null
null
null
pizzerias/pizzerias_search.py
LiushaHe0317/pizzerias_block_search
16dd7fb20b1a29a4f16b28ac7e5a84b30f7f9a7b
[ "MIT" ]
null
null
null
from typing import Sequence import numpy class PizzeriasSearcher: """ This object takes the size of the city and number of shops, and construct the matrices each shop delivery can cover and number of delivery for each cell in the city. It can also computes number of delivery for a given cell, ...
42.728814
123
0.627793
1,092
7,563
4.203297
0.14652
0.014379
0.038344
0.049673
0.301961
0.216776
0.185839
0.157081
0.135948
0.106754
0
0.012885
0.291948
7,563
177
124
42.728814
0.844258
0.365331
0
0.2875
0
0.0125
0.101429
0.012218
0
0
0
0
0
1
0.125
false
0
0.025
0
0.3
0.05
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
0
1
0
26d8feef12cddd2dca60e0f08ac5f863599108a2
1,213
py
Python
analysis/hist_javelin.py
LiyrAstroph/MICA
2592b8ad3011880898f557a69b22cad63fcd47e0
[ "MIT" ]
1
2016-10-25T06:32:33.000Z
2016-10-25T06:32:33.000Z
analysis/hist_javelin.py
LiyrAstroph/MICA
2592b8ad3011880898f557a69b22cad63fcd47e0
[ "MIT" ]
null
null
null
analysis/hist_javelin.py
LiyrAstroph/MICA
2592b8ad3011880898f557a69b22cad63fcd47e0
[ "MIT" ]
3
2016-12-29T06:04:13.000Z
2020-04-12T11:48:42.000Z
import numpy as np import matplotlib.pyplot as plt import corner mcmc = np.loadtxt("mychain1.dat") ntheta = mcmc.shape[1] fig = plt.figure(1, figsize=(15, 6)) ax = fig.add_subplot(231) ax.hist(mcmc[:, 0]/np.log(10.0), 100, normed=True, range=(-0.9, -0.1)) ax = fig.add_subplot(232) ax.hist(mcmc[:, 1]/np.log(10.0)...
24.26
108
0.635614
245
1,213
3.106122
0.195918
0.065703
0.105125
0.197109
0.720105
0.720105
0.720105
0.662286
0.662286
0.651774
0
0.133333
0.122012
1,213
49
109
24.755102
0.581221
0
0
0.387097
0
0
0.023083
0
0
0
0
0
0
1
0
false
0
0.096774
0
0.096774
0
0
0
0
null
0
0
1
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
26da85c2640497939b911d5705595d7671906491
1,158
py
Python
tests/test_stats.py
janjaappape/pastas
521b27efd921e240df0717038f8389d62099b8ff
[ "MIT" ]
252
2017-01-25T05:48:53.000Z
2022-03-31T17:46:37.000Z
tests/test_stats.py
janjaappape/pastas
521b27efd921e240df0717038f8389d62099b8ff
[ "MIT" ]
279
2017-02-14T10:59:01.000Z
2022-03-31T09:17:37.000Z
tests/test_stats.py
janjaappape/pastas
521b27efd921e240df0717038f8389d62099b8ff
[ "MIT" ]
57
2017-02-14T10:26:54.000Z
2022-03-11T14:04:48.000Z
import numpy as np import pandas as pd import pastas as ps def acf_func(**kwargs): index = pd.to_datetime(np.arange(0, 100, 1), unit="D", origin="2000") data = np.sin(np.linspace(0, 10 * np.pi, 100)) r = pd.Series(data=data, index=index) acf_true = np.cos(np.linspace(0.0, np.pi, 11))[1:] acf = ps...
27.571429
79
0.638169
195
1,158
3.651282
0.415385
0.058989
0.070225
0.036517
0.162921
0.162921
0.162921
0.089888
0.089888
0.089888
0
0.063441
0.196891
1,158
41
80
28.243902
0.702151
0.092401
0
0.08
0
0
0.040896
0
0
0
0
0
0.16
1
0.2
false
0
0.12
0
0.36
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
0
0
1
0
26db23f57ee2cf9c420d9e5404d2b60d7671991a
320
py
Python
venv/lib64/python3.8/site-packages/tld/registry.py
nrfkhira/dnx-engine
99a326d83058bcfe54a0f455672d90637fe753c6
[ "MIT" ]
null
null
null
venv/lib64/python3.8/site-packages/tld/registry.py
nrfkhira/dnx-engine
99a326d83058bcfe54a0f455672d90637fe753c6
[ "MIT" ]
null
null
null
venv/lib64/python3.8/site-packages/tld/registry.py
nrfkhira/dnx-engine
99a326d83058bcfe54a0f455672d90637fe753c6
[ "MIT" ]
null
null
null
import warnings from .base import Registry __author__ = "Artur Barseghyan" __copyright__ = "2013-2021 Artur Barseghyan" __license__ = "MPL-1.1 OR GPL-2.0-only OR LGPL-2.1-or-later" __all__ = ("Registry",) warnings.warn( "The `Registry` class is moved from `tld.registry` to `tld.base`.", DeprecationWarning, )
24.615385
71
0.721875
45
320
4.777778
0.666667
0.139535
0
0
0
0
0
0
0
0
0
0.051282
0.146875
320
12
72
26.666667
0.736264
0
0
0
0
0.1
0.49375
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
0
0
1
0
26dc6cf0e3afad0c2ebf41ec4b792f1e330897c5
2,963
py
Python
hvo_api/model/gps.py
wtollett-usgs/hvo_api
cdd39cb74d28a931cac4b843a71c5d8435f4620c
[ "CC0-1.0" ]
null
null
null
hvo_api/model/gps.py
wtollett-usgs/hvo_api
cdd39cb74d28a931cac4b843a71c5d8435f4620c
[ "CC0-1.0" ]
null
null
null
hvo_api/model/gps.py
wtollett-usgs/hvo_api
cdd39cb74d28a931cac4b843a71c5d8435f4620c
[ "CC0-1.0" ]
null
null
null
# -*- coding: utf-8 -*- from valverest.database import db7 as db from sqlalchemy.ext.hybrid import hybrid_property class Solution(db.Model): __tablename__ = 'solutions' __bind_key__ = 'gps' sid = db.Column(db.Integer, primary_key=True) cid = db.Column(db.Integer, primary_key=True) x = db.Column(d...
22.44697
79
0.59838
397
2,963
4.282116
0.201511
0.127059
0.147059
0.105882
0.236471
0.168824
0.136471
0.075294
0
0
0
0.010703
0.274722
2,963
131
80
22.618321
0.780363
0.016537
0
0.20202
0
0
0.04055
0
0
0
0
0
0
1
0.141414
false
0
0.020202
0.131313
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
26ddb52d2be72d7d4dbeca2609c7ac5ce525625e
2,091
py
Python
SingleIRdetection/get_data.py
biqute/QTLab2122
4d53d4c660bb5931615d8652e698f6d689a4dead
[ "MIT" ]
3
2021-11-30T18:41:11.000Z
2021-12-12T12:27:14.000Z
SingleIRdetection/get_data.py
biqute/QTLab2122
4d53d4c660bb5931615d8652e698f6d689a4dead
[ "MIT" ]
null
null
null
SingleIRdetection/get_data.py
biqute/QTLab2122
4d53d4c660bb5931615d8652e698f6d689a4dead
[ "MIT" ]
null
null
null
from instruments import VNA_handler, Fridge_handler import os import time from datetime import date, datetime today = date.today() d1 = today.strftime("_%d_%m") directory = "data"+d1 dir_path=os.path.join(os.path.dirname(os.path.abspath(__file__)),directory) if not os.path.isdir(dir_path): try: os.mkdir(di...
27.155844
169
0.595887
317
2,091
3.772871
0.328076
0.045151
0.050167
0.037625
0.265886
0.175585
0.175585
0.175585
0.175585
0.175585
0
0.026038
0.228599
2,091
76
170
27.513158
0.715437
0
0
0.274194
0
0.016129
0.182209
0.10043
0
0
0
0
0
1
0.016129
false
0.032258
0.064516
0
0.080645
0.048387
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
0
1
0
26ddc48f78a12f6195556b4fffb431166aa3a248
1,356
py
Python
repos.py
gigamonkey/git-utils
ac26ccab836b276fb7061167b4b2dc2a6bd87e66
[ "BSD-3-Clause" ]
null
null
null
repos.py
gigamonkey/git-utils
ac26ccab836b276fb7061167b4b2dc2a6bd87e66
[ "BSD-3-Clause" ]
1
2021-05-04T19:45:16.000Z
2021-05-04T19:45:16.000Z
repos.py
gigamonkey/git-utils
ac26ccab836b276fb7061167b4b2dc2a6bd87e66
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 """ Get a json dump of all the repos belonging to a GitHub org or user. """ import json import os import sys from functools import reduce import requests url = "https://api.github.com/graphql" token = os.environ["GITHUB_TOKEN"] headers = {"Authorization": "bearer {}".format(token)} FIELDS =...
22.229508
153
0.597345
175
1,356
4.565714
0.508571
0.020025
0.032541
0
0
0
0
0
0
0
0
0.008604
0.228614
1,356
60
154
22.6
0.755258
0.065634
0
0
0
0.025641
0.303415
0
0
0
0
0
0
1
0.076923
false
0
0.128205
0.025641
0.282051
0.025641
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
0
1
0
26de76c7a526dbcb257d0562f65b8f5f56302812
994
py
Python
tfLego/logger/BasicLogger.py
FrancescoSaverioZuppichini/tfLego
485653eff6d3b8c6677b600a4e0d3623c844749f
[ "MIT" ]
null
null
null
tfLego/logger/BasicLogger.py
FrancescoSaverioZuppichini/tfLego
485653eff6d3b8c6677b600a4e0d3623c844749f
[ "MIT" ]
null
null
null
tfLego/logger/BasicLogger.py
FrancescoSaverioZuppichini/tfLego
485653eff6d3b8c6677b600a4e0d3623c844749f
[ "MIT" ]
null
null
null
class BasicLogger: def __init__(self): self.loss_history = [] self.accuracy_history = [] self.val_loss_history = [] self.val_accuracy_history = [] self.initialise() def initialise(self): self.total_loss = 0 self.total_accuracy = 0 self.curren...
23.116279
86
0.585513
122
994
4.557377
0.278689
0.097122
0.070144
0.064748
0.089928
0
0
0
0
0
0
0.01567
0.293763
994
42
87
23.666667
0.776353
0
0
0.076923
0
0.038462
0.044355
0
0
0
0
0
0
1
0.153846
false
0
0
0
0.192308
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
0
0
0
0
0
0
0
0
1
0
26def15c65ab2e4480b9091dca33bf04179a4722
3,705
py
Python
test_package/conanfile.py
sintef-ocean/conan-casadi
70a14829ca3b3ec4cdff8b254e3c060b345c1e79
[ "MIT" ]
null
null
null
test_package/conanfile.py
sintef-ocean/conan-casadi
70a14829ca3b3ec4cdff8b254e3c060b345c1e79
[ "MIT" ]
null
null
null
test_package/conanfile.py
sintef-ocean/conan-casadi
70a14829ca3b3ec4cdff8b254e3c060b345c1e79
[ "MIT" ]
null
null
null
from conans import ConanFile, CMake, tools, RunEnvironment class CasadiTestConan(ConanFile): settings = "os", "compiler", "build_type", "arch" generators = ("cmake_paths", "cmake", "virtualrunenv", "virtualenv") _cmake = None def _configure_cmake(self): if self._cmake is None: se...
42.102273
88
0.612146
393
3,705
5.615776
0.300254
0.104667
0.161758
0.220208
0.027186
0
0
0
0
0
0
0.00074
0.270985
3,705
87
89
42.586207
0.816364
0.05857
0
0.1
0
0
0.236986
0.018119
0
0
0
0.011494
0
1
0.05
false
0
0.05
0
0.2
0.016667
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
1
0
0
0
0
0
0
0
0
0
0
2
26e0374db2378f11fc9bfc31927fa2a8ccdcf58c
1,995
py
Python
src/blog/templatetags/timediffer.py
codewithrakib/first-django-blog
339f5833025b0758f391c7c8e0979ca2eefd1b52
[ "MIT" ]
null
null
null
src/blog/templatetags/timediffer.py
codewithrakib/first-django-blog
339f5833025b0758f391c7c8e0979ca2eefd1b52
[ "MIT" ]
7
2021-03-19T02:00:00.000Z
2022-02-10T10:26:38.000Z
src/blog/templatetags/timediffer.py
codewithrakib/first-django-blog
339f5833025b0758f391c7c8e0979ca2eefd1b52
[ "MIT" ]
null
null
null
from django import template from datetime import datetime from datetime import date from datetime import time from datetime import timedelta register = template.Library() @register.filter def timediffer(now, posttime): posttime = posttime.replace(tzinfo=None) timedif= now -posttime timestr="" if timed...
30.227273
56
0.578947
240
1,995
4.8125
0.208333
0.09697
0.157576
0.242424
0.406061
0.406061
0.242424
0
0
0
0
0.033724
0.316291
1,995
66
57
30.227273
0.81305
0
0
0.267857
0
0
0.177355
0
0
0
0
0
0
1
0.017857
false
0
0.089286
0
0.125
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
26e08af32bb2b5d0bbed9fd354924f064bde0ecf
254
py
Python
ma.py
AmandaKhol/DLT-Blockchain
ee464b0d7b55bffe791eb0b814513620430bfa1c
[ "MIT" ]
1
2021-04-05T18:59:04.000Z
2021-04-05T18:59:04.000Z
ma.py
AmandaKhol/DLT-Blockchain
ee464b0d7b55bffe791eb0b814513620430bfa1c
[ "MIT" ]
null
null
null
ma.py
AmandaKhol/DLT-Blockchain
ee464b0d7b55bffe791eb0b814513620430bfa1c
[ "MIT" ]
null
null
null
""" title : ma.py description : Marshmallow object author : Amanda Garcia-Garcia version : 0 usage : python server_api.py python_version : 3.6.1 """ from flask_marshmallow import Marshmallow ma = Marshmallow()
19.538462
41
0.629921
29
254
5.413793
0.724138
0
0
0
0
0
0
0
0
0
0
0.022222
0.291339
254
13
42
19.538462
0.85
0.716535
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
2
26e3cb56bf5c43ffe1ebc53ce33bf565445ae974
6,107
py
Python
FGMabiotic.py
tjscott214/long-term-conflict-with-1nFGM
1c701e83c71ebe21fbc1192ca3d523a000614819
[ "MIT" ]
2
2019-09-13T13:46:33.000Z
2020-05-14T17:21:09.000Z
FGMabiotic.py
tjscott214/long-term-conflict-with-1nFGM
1c701e83c71ebe21fbc1192ca3d523a000614819
[ "MIT" ]
null
null
null
FGMabiotic.py
tjscott214/long-term-conflict-with-1nFGM
1c701e83c71ebe21fbc1192ca3d523a000614819
[ "MIT" ]
null
null
null
#!/usr/bin/env python ### This program simulates Fisher's geometric model with abiotic change equal to fixations during conflict simulations (from FGMconflict.py) ### ### python3 FGMabiotic.py -help for input options ### ### Written by Trey J Scott 2018 ### ### python --version ### ### Python 3.5.2 :: Anaconda 4.2.0 (...
34.117318
192
0.7159
890
6,107
4.767416
0.252809
0.014141
0.036766
0.016969
0.185246
0.13811
0.098515
0.098515
0.074476
0.055621
0
0.018951
0.144588
6,107
178
193
34.308989
0.793262
0.150811
0
0.119403
0
0
0.155902
0.012683
0
0
0
0
0
1
0.037313
false
0
0.074627
0.007463
0.134328
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
0
0
1
0
26e5678c410804c82e1a66c1a1c30cc2e8b118d5
873
py
Python
epdif.py
cvasqxz/rpi-epd
b7921190dd84b1187364902f0e3059cba5a1973f
[ "MIT" ]
null
null
null
epdif.py
cvasqxz/rpi-epd
b7921190dd84b1187364902f0e3059cba5a1973f
[ "MIT" ]
null
null
null
epdif.py
cvasqxz/rpi-epd
b7921190dd84b1187364902f0e3059cba5a1973f
[ "MIT" ]
null
null
null
import spidev import RPi.GPIO as GPIO import time import yaml with open("config.yml", 'r') as f: cfg = yaml.load(f, Loader=yaml.FullLoader) # Pin definition RST_PIN = cfg['pinout']['RST_PIN'] DC_PIN = cfg['pinout']['DC_PIN'] CS_PIN = cfg['pinout']['CS_PIN'] BUSY_PIN = cfg['pinout']['BUSY_PIN'] # SPI device, bus...
21.292683
46
0.683849
143
873
4.013986
0.412587
0.041812
0.083624
0.073171
0.099303
0
0
0
0
0
0
0.027624
0.170676
873
40
47
21.825
0.765193
0.052692
0
0
0
0
0.075243
0
0
0
0
0
0
1
0.172414
false
0
0.137931
0.034483
0.37931
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
0
0
1
0
26e616bae86ed51b35013c799f67005f184552f2
2,469
py
Python
main.py
amankumarjsr/BinanceDataScrapper
e3d56c4bd274a8e472de1fbe1c9603c9e94e1d14
[ "Apache-2.0" ]
null
null
null
main.py
amankumarjsr/BinanceDataScrapper
e3d56c4bd274a8e472de1fbe1c9603c9e94e1d14
[ "Apache-2.0" ]
null
null
null
main.py
amankumarjsr/BinanceDataScrapper
e3d56c4bd274a8e472de1fbe1c9603c9e94e1d14
[ "Apache-2.0" ]
null
null
null
from datetime import date from unicodedata import name from urllib import request import requests from bs4 import BeautifulSoup as bs import pandas as pd import datetime import os import zipfile import glob CoinName= input('Enter the coin name: ').upper() duration= input('Enter the duration of data you w...
34.291667
177
0.681247
349
2,469
4.73639
0.355301
0.033878
0.033273
0.054446
0.253479
0.215971
0.215971
0.215971
0.215971
0.215971
0
0.002438
0.169299
2,469
71
178
34.774648
0.80351
0
0
0.081633
0
0.020408
0.389237
0.089695
0
0
0
0
0
1
0
false
0
0.204082
0
0.204082
0.061224
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
0
1
0
26e61f306df9220c42f34738c067514777287317
19,370
py
Python
api/api.py
geoai-lab/GeoAnnotator
6d5ee22888571f5ffefdb1d2f2455eaa9e5054f3
[ "MIT" ]
1
2022-02-14T20:43:41.000Z
2022-02-14T20:43:41.000Z
api/api.py
geoai-lab/GeoAnnotator
6d5ee22888571f5ffefdb1d2f2455eaa9e5054f3
[ "MIT" ]
null
null
null
api/api.py
geoai-lab/GeoAnnotator
6d5ee22888571f5ffefdb1d2f2455eaa9e5054f3
[ "MIT" ]
null
null
null
from flask import Flask, jsonify, request, session,redirect, url_for import bcrypt from flask_sqlalchemy import SQLAlchemy from sqlalchemy.sql import func from sqlalchemy.exc import IntegrityError import os from sqlalchemy.orm import load_only from flask_bcrypt import Bcrypt import urllib.parse from itertools import g...
40.10352
257
0.663087
2,345
19,370
5.348827
0.202985
0.034202
0.01451
0.011481
0.188153
0.147333
0.124292
0.097106
0.072471
0.06697
0
0.013129
0.237119
19,370
483
258
40.10352
0.835691
0.356995
0
0.167331
0
0
0.138887
0.020331
0
0
0
0
0
1
0.059761
false
0.039841
0.099602
0
0.262948
0.015936
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
0
1
0
26e97e5ea8220154eb41374939938275b9e537b0
741
py
Python
AppPython/app/core/src/forms.py
denalme/AplicacionPython
eb99af3c21f003135192ad040a0a04a40b63ea70
[ "MIT" ]
null
null
null
AppPython/app/core/src/forms.py
denalme/AplicacionPython
eb99af3c21f003135192ad040a0a04a40b63ea70
[ "MIT" ]
null
null
null
AppPython/app/core/src/forms.py
denalme/AplicacionPython
eb99af3c21f003135192ad040a0a04a40b63ea70
[ "MIT" ]
null
null
null
from django import forms from .pqrsf import pqrsf class ContactForm(forms.Form): #Atributos del formulario de contacto usuario = forms.CharField(label="Nombre", required=True, widget=forms.TextInput(attrs={'class':'formulario input', 'placeholder':'Nombre'})) correo = forms.EmailField(label="Correo Electr...
74.1
167
0.747638
87
741
6.367816
0.448276
0.086643
0.144404
0.180505
0.129964
0
0
0
0
0
0
0.001484
0.090418
741
9
168
82.333333
0.820475
0.048583
0
0
0
0
0.285918
0
0
0
0
0
0
1
0
false
0
0.285714
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
26ec29318bc12813be99da269d94707649d0104c
3,244
py
Python
prisma/generated/models.py
mao-shonen/prisma-client-py-tortoise-orm
e26d8451ea0775bd7ddfec42f663510434537a77
[ "MIT" ]
null
null
null
prisma/generated/models.py
mao-shonen/prisma-client-py-tortoise-orm
e26d8451ea0775bd7ddfec42f663510434537a77
[ "MIT" ]
null
null
null
prisma/generated/models.py
mao-shonen/prisma-client-py-tortoise-orm
e26d8451ea0775bd7ddfec42f663510434537a77
[ "MIT" ]
null
null
null
__doc__ = ''' This file is generated by the `prisma-client-py-tortoise-orm (0.2.2)`, Please do not modify directly. repository: https://github.com/mao-shonen/prisma-client-py-tortoise-orm ''' import typing from enum import Enum from tortoise import fields from tortoise.models import Model from prisma import base as b...
30.317757
203
0.633785
406
3,244
5.004926
0.302956
0.023622
0.035433
0.047244
0.313484
0.214075
0.15502
0.122539
0.075787
0
0
0.008661
0.217016
3,244
107
204
30.317757
0.781496
0.203761
0
0.14
1
0.04
0.160752
0.012526
0
0
0
0
0
1
0.06
false
0.02
0.1
0.06
0.82
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
1
0
0
2
26ed69ff9590d721e4368e521015afe41d5f9df5
2,536
py
Python
samples/people_on_stairs/classify_overspeeding/classify_overspeeding.py
vgvoleg/gst-video-analytics
7e4006551f38334bc59b2ef3d205273d07d40ce4
[ "MIT" ]
null
null
null
samples/people_on_stairs/classify_overspeeding/classify_overspeeding.py
vgvoleg/gst-video-analytics
7e4006551f38334bc59b2ef3d205273d07d40ce4
[ "MIT" ]
null
null
null
samples/people_on_stairs/classify_overspeeding/classify_overspeeding.py
vgvoleg/gst-video-analytics
7e4006551f38334bc59b2ef3d205273d07d40ce4
[ "MIT" ]
1
2020-05-14T15:30:03.000Z
2020-05-14T15:30:03.000Z
from os.path import join, realpath from os import listdir, environ import shlex import subprocess import pickle import json import pickle as pkl import time import numpy as np from copy import copy MODEL_PATH = ("/root/Projects/models/intel/person-detection-retail-0013/FP32" "/person-detection-retail-0...
32.101266
89
0.615536
295
2,536
5.047458
0.444068
0.021491
0.042982
0.02955
0.065816
0.034923
0
0
0
0
0
0.019459
0.270505
2,536
78
90
32.512821
0.785405
0
0
0
0
0
0.27011
0.132098
0
0
0
0
0
1
0.063492
false
0
0.15873
0
0.238095
0.031746
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
0
1
0
26f0496f5cee5563d72ece3864af6c3cc42f430c
2,883
py
Python
indicators/migrations/0035_make_indicators_programs_foreignkey.py
mercycorps/TolaWorkflow
59542132fafd611081adb0e8cfaa04abc5886d7a
[ "Apache-2.0" ]
null
null
null
indicators/migrations/0035_make_indicators_programs_foreignkey.py
mercycorps/TolaWorkflow
59542132fafd611081adb0e8cfaa04abc5886d7a
[ "Apache-2.0" ]
268
2020-03-31T15:46:59.000Z
2022-03-31T18:01:08.000Z
indicators/migrations/0035_make_indicators_programs_foreignkey.py
Falliatcom-sa/falliatcom
39fb926de072c296ed32d50cccfb8003ca870739
[ "Apache-2.0" ]
1
2021-01-05T01:58:24.000Z
2021-01-05T01:58:24.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2018-11-06 08:34 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion def set_temp_program_id(apps, schema_editor): Indicator = apps.get_model('indicators', 'Indicator') for indicator in Indic...
36.493671
105
0.622962
315
2,883
5.51746
0.349206
0.051784
0.037399
0.050633
0.444189
0.413694
0.374568
0.374568
0.336594
0.271001
0
0.019552
0.272633
2,883
78
106
36.961538
0.809251
0.078737
0
0.476923
1
0
0.135523
0.02265
0
0
0
0
0
1
0.046154
false
0
0.046154
0
0.138462
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
26f1b913f1ee12f1e92139c51f5d8c9e44276d06
4,335
py
Python
pymockserver/client.py
MXWest/py-mockserver
cd0783aac2e5c1b8a021c29a4c70ef5414b7f7cc
[ "MIT" ]
3
2018-06-14T19:44:05.000Z
2020-12-14T04:33:21.000Z
pymockserver/client.py
MXWest/py-mockserver
cd0783aac2e5c1b8a021c29a4c70ef5414b7f7cc
[ "MIT" ]
4
2020-02-01T16:20:18.000Z
2021-03-23T14:43:54.000Z
pymockserver/client.py
MXWest/py-mockserver
cd0783aac2e5c1b8a021c29a4c70ef5414b7f7cc
[ "MIT" ]
2
2020-02-01T16:25:50.000Z
2021-03-23T13:06:25.000Z
import requests import json from urllib3.exceptions import HTTPError class Client(object): """Client to connect to the mockserver""" def __init__(self, host='localhost', port=1080): """ Class initialization :param str host: host of the mockserver :param int port: port of th...
29.290541
90
0.514418
422
4,335
5.220379
0.251185
0.028597
0.041307
0.05084
0.322742
0.270086
0.218793
0.218793
0.218793
0.218793
0
0.008029
0.367935
4,335
147
91
29.489796
0.795985
0.217762
0
0.402174
0
0
0.111853
0
0
0
0
0
0
1
0.097826
false
0
0.032609
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
26f481dfc45ad24d352172f8f79006991163fc28
5,277
py
Python
workflow/executors/validation_tasks.py
mettadatalabs1/oncoscape-datapipeline
9c3209ba88831c3f1c598182c719ce45b4724fff
[ "Apache-2.0" ]
null
null
null
workflow/executors/validation_tasks.py
mettadatalabs1/oncoscape-datapipeline
9c3209ba88831c3f1c598182c719ce45b4724fff
[ "Apache-2.0" ]
null
null
null
workflow/executors/validation_tasks.py
mettadatalabs1/oncoscape-datapipeline
9c3209ba88831c3f1c598182c719ce45b4724fff
[ "Apache-2.0" ]
null
null
null
from validators.validation_configurator import ValidationConfigurator from pipeline.models import InputFile class HugoValidator(object): # hugo_genes_map (Dictionary): a dictionary that has the hugo genes and # respective aliases. Each entry is db:{gene: Set(aliases),}. # This is created the first time th...
49.783019
83
0.617965
688
5,277
4.5625
0.273256
0.04014
0.038229
0.031857
0.079325
0.01784
0.01784
0.01784
0
0
0
0.00499
0.316468
5,277
105
84
50.257143
0.865262
0.379761
0
0.070175
0
0
0.020421
0
0
0
0
0.009524
0
1
0.052632
false
0
0.035088
0
0.175439
0.035088
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
0
1
0
26f602e46a5eecf3c443505b6bc8ba0c321a760e
1,290
py
Python
pytglib/api/types/input_message_video_note.py
iTeam-co/pytglib
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
6
2019-10-30T08:57:27.000Z
2021-02-08T14:17:43.000Z
pytglib/api/types/input_message_video_note.py
iTeam-co/python-telegram
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
1
2021-08-19T05:44:10.000Z
2021-08-19T07:14:56.000Z
pytglib/api/types/input_message_video_note.py
iTeam-co/python-telegram
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
5
2019-12-04T05:30:39.000Z
2021-05-21T18:23:32.000Z
from ..utils import Object class InputMessageVideoNote(Object): """ A video note message Attributes: ID (:obj:`str`): ``InputMessageVideoNote`` Args: video_note (:class:`telegram.api.types.InputFile`): Video note to be sent thumbnail (:class:`telegram.api.type...
28.666667
77
0.615504
134
1,290
5.843284
0.41791
0.103448
0.068966
0.05364
0.081737
0
0
0
0
0
0
0.003215
0.276744
1,290
44
78
29.318182
0.836013
0.424806
0
0
0
0
0.113464
0.06354
0
0
0
0
0
1
0.133333
false
0
0.066667
0
0.4
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
0
0
1
0
26f6c233aae91fb0635319c24ac7a5452088a65f
520
py
Python
gdc_readgroups/exceptions.py
NCI-GDC/gdc-readgroups
874387bb3473b0a0680551339e50b072cc058eb6
[ "Apache-2.0" ]
null
null
null
gdc_readgroups/exceptions.py
NCI-GDC/gdc-readgroups
874387bb3473b0a0680551339e50b072cc058eb6
[ "Apache-2.0" ]
null
null
null
gdc_readgroups/exceptions.py
NCI-GDC/gdc-readgroups
874387bb3473b0a0680551339e50b072cc058eb6
[ "Apache-2.0" ]
1
2020-01-23T22:07:10.000Z
2020-01-23T22:07:10.000Z
""" Exceptions for Read Group headers """ class NoReadGroupError(Exception): """NoReadGroupError""" class SamtoolsViewError(Exception): """SamtoolsViewError""" class InvalidPlatformError(Exception): """InvalidPlatformError""" class InvalidPlatformModelError(Exception): """InvalidPlatformError""" cl...
20.8
43
0.746154
33
520
11.757576
0.424242
0.149485
0.175258
0
0
0
0
0
0
0
0
0
0.121154
520
24
44
21.666667
0.849015
0.323077
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
26f984eeef056e7ffe65f198d0e3689278e5fc57
2,098
py
Python
aiida_logger/calculations/test_calculations.py
SINTEF/aiida-logger
d97aced2ec8967cb359f488d2218cc3b47c92f6b
[ "MIT" ]
null
null
null
aiida_logger/calculations/test_calculations.py
SINTEF/aiida-logger
d97aced2ec8967cb359f488d2218cc3b47c92f6b
[ "MIT" ]
null
null
null
aiida_logger/calculations/test_calculations.py
SINTEF/aiida-logger
d97aced2ec8967cb359f488d2218cc3b47c92f6b
[ "MIT" ]
null
null
null
""" Tests for calculations. """ from __future__ import print_function from __future__ import absolute_import import os import numpy as np def test_process(logger_code): """ Test running a calculation. Also checks its outputs. """ from aiida.plugins import DataFactory, CalculationFactory fr...
29.138889
84
0.594376
232
2,098
5.24569
0.482759
0.023007
0.026294
0.011504
0.016434
0.016434
0
0
0
0
0
0.035976
0.284557
2,098
71
85
29.549296
0.774817
0.088656
0
0
0
0
0.183511
0.012766
0
0
0
0
0.145833
1
0.020833
false
0
0.166667
0
0.1875
0.020833
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
0
1
0
26fb61ab1de0e800a79d50ca5f9597cf8788e433
2,155
py
Python
db_sheet/sheet_table.py
chowmean/DBSheet
3f1c521320cb3564c4ff55cd70c8a1978dd32a4c
[ "Apache-2.0" ]
3
2017-08-18T20:04:12.000Z
2021-01-08T12:23:43.000Z
db_sheet/sheet_table.py
chowmean/DBSheet
3f1c521320cb3564c4ff55cd70c8a1978dd32a4c
[ "Apache-2.0" ]
1
2021-06-01T23:13:57.000Z
2021-06-01T23:13:57.000Z
db_sheet/sheet_table.py
chowmean/DBSheet
3f1c521320cb3564c4ff55cd70c8a1978dd32a4c
[ "Apache-2.0" ]
null
null
null
class Table: def __init__(self, columns, name): self.columns = columns self.name = name class CreateTable: def __init__(self, table_obj, sheet_obj): self.table = table_obj self.sheet = sheet_obj def create_table(self): cols = len(self.table.columns) name = ...
28.733333
61
0.570766
282
2,155
4.141844
0.212766
0.075342
0.065925
0.027397
0.203767
0.203767
0.160959
0.113014
0.054795
0.054795
0
0.010468
0.335035
2,155
75
62
28.733333
0.804606
0
0
0.16129
0
0
0.024583
0
0
0
0
0
0
0
null
null
0
0
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
26fd4d122991c7a14eaad9bffe766e315791616a
90
py
Python
root/ilikeit/MySQLCrashCourse/dbcom/tests/__init__.py
ChyiYaqing/chyidlTutorial
77e7f6f84f21537a58a8a8a42e31cf2e3dd31996
[ "MIT" ]
5
2018-10-17T05:57:39.000Z
2021-07-05T15:38:24.000Z
root/ilikeit/MySQLCrashCourse/dbcom/tests/__init__.py
ChyiYaqing/chyidlTutorial
77e7f6f84f21537a58a8a8a42e31cf2e3dd31996
[ "MIT" ]
2
2021-04-14T00:48:43.000Z
2021-04-14T02:20:50.000Z
root/ilikeit/MySQLCrashCourse/dbcom/tests/__init__.py
ChyiYaqing/chyidlTutorial
77e7f6f84f21537a58a8a8a42e31cf2e3dd31996
[ "MIT" ]
3
2019-03-02T14:36:19.000Z
2022-03-18T10:12:09.000Z
#!/usr/bin/env python3 # -*- coding:utf-8 -*- """Requests test package initialisation."""
22.5
43
0.655556
11
90
5.363636
1
0
0
0
0
0
0
0
0
0
0
0.025
0.111111
90
4
43
22.5
0.7125
0.888889
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
26fdabbca3431190e788d02f52c14a320298b8ac
9,425
py
Python
discopy/components/sense/explicit/bert_conn_sense.py
rknaebel/discopy
5507d656987af2df9e595434a82c0a12bbc713e4
[ "MIT" ]
14
2019-04-14T16:10:23.000Z
2022-03-09T14:56:10.000Z
discopy/components/sense/explicit/bert_conn_sense.py
rknaebel/discopy
5507d656987af2df9e595434a82c0a12bbc713e4
[ "MIT" ]
15
2019-04-15T16:44:40.000Z
2021-11-23T17:36:41.000Z
discopy/components/sense/explicit/bert_conn_sense.py
rknaebel/discopy
5507d656987af2df9e595434a82c0a12bbc713e4
[ "MIT" ]
1
2020-02-28T23:36:35.000Z
2020-02-28T23:36:35.000Z
import json import logging import os from typing import List, Dict import click import numpy as np import tensorflow as tf from sklearn.metrics import cohen_kappa_score, precision_recall_fscore_support, accuracy_score from tqdm import tqdm from discopy.components.component import Component from discopy.components.con...
44.042056
119
0.634589
1,295
9,425
4.408494
0.185328
0.03223
0.023121
0.014714
0.301279
0.267122
0.251182
0.213698
0.196882
0.182169
0
0.01087
0.248382
9,425
213
120
44.248826
0.795031
0.006578
0
0.113514
0
0
0.067628
0.012927
0
0
0
0
0
1
0.075676
false
0
0.086486
0.005405
0.216216
0.021622
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
0
1
0
f80409abd20022882a95d524c2584bb72123403a
533
py
Python
Perfect Squares.py
ngdeva99/Fulcrum
3a5c69005bbaf2a5aebe13d1907f13790210fb32
[ "MIT" ]
null
null
null
Perfect Squares.py
ngdeva99/Fulcrum
3a5c69005bbaf2a5aebe13d1907f13790210fb32
[ "MIT" ]
null
null
null
Perfect Squares.py
ngdeva99/Fulcrum
3a5c69005bbaf2a5aebe13d1907f13790210fb32
[ "MIT" ]
null
null
null
class Solution: def numSquares(self, n: int) -> int: if n==0: return 0 dp = [float('inf')]*(n+1) dp[0] = 0 c = n n = int(sqrt(n)) a = [i**2 for i in range(1,n+1)] for i in range(1,len(dp)): for j in a: ...
22.208333
48
0.320826
73
533
2.342466
0.356164
0.052632
0.070175
0.128655
0.140351
0
0
0
0
0
0
0.048387
0.534709
533
23
49
23.173913
0.641129
0
0
0
0
0
0.011257
0
0
0
0
0
0
1
0.058824
false
0
0
0
0.294118
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f8053be6ee69e87199ea558062ed1fe681dca092
361
py
Python
busshaming/models/agency.py
katharosada/busshaming
c8d7cd4baf9ff049cda49c92da4d5ca10f68e6a9
[ "MIT" ]
42
2018-01-20T01:12:25.000Z
2022-02-02T01:40:17.000Z
busshaming/models/agency.py
katharosada/busshaming
c8d7cd4baf9ff049cda49c92da4d5ca10f68e6a9
[ "MIT" ]
2
2018-01-24T03:58:17.000Z
2018-06-10T01:05:57.000Z
busshaming/models/agency.py
katharosada/busshaming
c8d7cd4baf9ff049cda49c92da4d5ca10f68e6a9
[ "MIT" ]
7
2018-01-24T05:49:13.000Z
2018-12-03T08:47:43.000Z
from django.db import models class Agency(models.Model): gtfs_agency_id = models.CharField(max_length=200) feed = models.ForeignKey('Feed') name = models.CharField(max_length=200) class Meta: unique_together = ('gtfs_agency_id', 'feed') def __str__(self): return f'{self.feed.slug...
25.785714
72
0.67867
49
361
4.734694
0.530612
0.12931
0.155172
0.206897
0.232759
0
0
0
0
0
0
0.020478
0.188366
361
13
73
27.769231
0.771331
0
0
0
0
0
0.210526
0.058172
0
0
0
0
0
1
0.111111
false
0
0.111111
0.111111
0.888889
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
f805d1c83458a20d7c8be553923b41b8d8630a7f
328
py
Python
sqltask/base/dq.py
mjalo/sqltask
f6eefd624614a464ae5697ac61405416244518e2
[ "MIT" ]
10
2019-10-09T15:34:13.000Z
2022-02-21T07:44:03.000Z
sqltask/base/dq.py
mjalo/sqltask
f6eefd624614a464ae5697ac61405416244518e2
[ "MIT" ]
23
2019-10-09T15:20:01.000Z
2020-02-08T11:51:24.000Z
sqltask/base/dq.py
mjalo/sqltask
f6eefd624614a464ae5697ac61405416244518e2
[ "MIT" ]
4
2019-10-09T15:20:51.000Z
2020-02-11T08:43:03.000Z
from enum import Enum class Priority(Enum): MANDATORY = "mandatory" HIGH = "high" MEDIUM = "medium" LOW = "low" class Source(Enum): SOURCE = "source" TRANSFORM = "transform" LOOKUP = "lookup" class Category(Enum): MISSING = "missing" INCORRECT = "incorrect" DUPLICATE = "dup...
15.619048
27
0.618902
33
328
6.151515
0.484848
0
0
0
0
0
0
0
0
0
0
0
0.262195
328
20
28
16.4
0.838843
0
0
0
0
0
0.207317
0
0
0
0
0
0
1
0
false
0
0.071429
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
f80628afca18060801db523544822b454ace8ecb
2,386
py
Python
main.py
deadpoool69/MediCare
eb45149dd14dc3792ef3ea724c61d46a29718068
[ "MIT" ]
null
null
null
main.py
deadpoool69/MediCare
eb45149dd14dc3792ef3ea724c61d46a29718068
[ "MIT" ]
null
null
null
main.py
deadpoool69/MediCare
eb45149dd14dc3792ef3ea724c61d46a29718068
[ "MIT" ]
null
null
null
from flask import Flask, render_template, request, url_for, redirect from forms import * from model import generate_recommendations, get_desc import os app = Flask(__name__) SECRET_KEY = os.urandom(32) app.config['SECRET_KEY'] = SECRET_KEY @app.route('/', methods=["GET", "POST"]) def landing(): title = 'Neurolens...
38.483871
102
0.670159
334
2,386
4.598802
0.245509
0.046875
0.036458
0.044271
0.179688
0.14974
0.14974
0.089844
0.089844
0.089844
0
0.025862
0.173512
2,386
61
103
39.114754
0.753043
0.013831
0
0.148148
1
0
0.156954
0
0
0
0
0
0
1
0.074074
false
0
0.074074
0
0.277778
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
f8065cbbdc71ae71f6d602d2671a71b28b0eea4a
2,057
py
Python
tools/draw_comparison_head_design_choices.py
twangnh/Calibration_mrcnn
e5f3076cefbe35297a403a753bb57e11503db818
[ "Apache-2.0" ]
87
2020-07-24T01:28:39.000Z
2021-08-29T08:40:18.000Z
tools/draw_comparison_head_design_choices.py
twangnh/Calibration_mrcnn
e5f3076cefbe35297a403a753bb57e11503db818
[ "Apache-2.0" ]
3
2020-09-27T12:59:28.000Z
2022-01-06T13:14:08.000Z
tools/draw_comparison_head_design_choices.py
twangnh/Calibration_mrcnn
e5f3076cefbe35297a403a753bb57e11503db818
[ "Apache-2.0" ]
20
2020-09-05T04:37:19.000Z
2021-12-13T02:25:48.000Z
import matplotlib import matplotlib.pyplot as plt import numpy as np labels = ['AP on bin (0,10)', 'AP on bin (10,100)'] baseline = [0.0, 13.3] fc2_ncm = [6.0, 18.9] fc2 = [8.6, 22.0] fc3_rand = [9.1, 18.8] fc3_ft = [13.2, 23.1] x = np.arange(len(labels)) # the label locations width = 0.15 # the width of the bars ...
31.166667
96
0.6456
334
2,057
3.904192
0.347305
0.038344
0.023006
0.092025
0.232362
0.125767
0
0
0
0
0
0.066548
0.181818
2,057
65
97
31.646154
0.708259
0.24842
0
0
0
0
0.112418
0.015033
0
0
0
0
0
1
0.023256
false
0
0.069767
0
0.093023
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
0
0
1
0
f807e6a714508c55a5204cce88f3927910a26a1e
9,916
py
Python
src/entry.py
akilmarshall/vash-2
5307bc414afba24b235ae0ae9b2583c33ea69b1f
[ "MIT" ]
null
null
null
src/entry.py
akilmarshall/vash-2
5307bc414afba24b235ae0ae9b2583c33ea69b1f
[ "MIT" ]
null
null
null
src/entry.py
akilmarshall/vash-2
5307bc414afba24b235ae0ae9b2583c33ea69b1f
[ "MIT" ]
null
null
null
from datetime import datetime from itertools import count from tkinter import * import tkinter.ttk as ttk from functools import partial from tkcalendar import DateEntry from case import COD, CONTRIES, Case, INCIDENT, ORGANIZATION, POLICESTATION, STATES from db import referred_other_agency from preview import CasePrev...
38.583658
93
0.588846
1,188
9,916
4.763468
0.108586
0.043294
0.038169
0.066796
0.406256
0.251635
0.15144
0.070507
0
0
0
0.007508
0.28812
9,916
256
94
38.734375
0.794163
0.031263
0
0.133641
0
0
0.04444
0
0
0
0
0
0
1
0.046083
false
0
0.041475
0
0.092166
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
0
0
1
0
f8082f1e3f5f385cac811686714cd680277f4584
7,406
py
Python
repro_eval/__main__.py
irgroup/repro_eval
35a4cf083dbb5f4b29d6ef602a604f0686a537c9
[ "MIT" ]
8
2020-10-27T02:11:53.000Z
2022-03-02T11:00:10.000Z
repro_eval/__main__.py
irgroup/repro_eval
35a4cf083dbb5f4b29d6ef602a604f0686a537c9
[ "MIT" ]
2
2021-01-25T19:59:39.000Z
2021-12-07T09:29:01.000Z
repro_eval/__main__.py
irgroup/repro_eval
35a4cf083dbb5f4b29d6ef602a604f0686a537c9
[ "MIT" ]
1
2021-04-16T16:21:16.000Z
2021-04-16T16:21:16.000Z
""" Use repro_eval from the command line with e.g. python -m repro_eval -t rpd -q qrel_orig -r orig_b rpd_b python -m repro_eval -t rpd -q qrel_orig -r orig_b orig_a rpd_b rpd_a python -m repro_eval -t rpd -m rmse -q qrel_orig -r orig_b rpd_b python -m repro_eval -t rpl -q qrel_orig qrel_rpl -r orig_b rpl_b python...
43.309942
109
0.498785
892
7,406
3.94843
0.146861
0.045429
0.040886
0.03322
0.754685
0.640829
0.609597
0.609597
0.58234
0.58234
0
0.005152
0.318526
7,406
170
110
43.564706
0.692689
0.086011
0
0.554622
0
0
0.171776
0.087961
0
0
0
0
0
1
0.008403
false
0
0.033613
0
0.042017
0.327731
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
0
1
0
f809139d6c632c257d27b2da4aee81ff3ca5dcc2
2,377
py
Python
main.py
juligreen/towerdefense-prototype
1cdac58acf697ca856a60dec6533caed17acf656
[ "MIT" ]
null
null
null
main.py
juligreen/towerdefense-prototype
1cdac58acf697ca856a60dec6533caed17acf656
[ "MIT" ]
null
null
null
main.py
juligreen/towerdefense-prototype
1cdac58acf697ca856a60dec6533caed17acf656
[ "MIT" ]
null
null
null
import math from game_objects import Turret, Troop players = [] class Location: def __init__(self, x: int, y: int): self.x = x self.y = y class Lane: # for this prototype we are going to imagine our lanes as straight lines def __init__(self, left_start_location: Location, right_start_l...
30.088608
94
0.636096
296
2,377
4.945946
0.320946
0.053279
0.040984
0.028689
0
0
0
0
0
0
0
0.011461
0.265881
2,377
78
95
30.474359
0.827507
0.092133
0
0
0
0
0.03714
0
0
0
0
0
0
1
0.145455
false
0
0.036364
0
0.254545
0.018182
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
0
1
0
f8094b25e0893a5bce69fe2d108d090003595a0e
7,110
py
Python
bib_processing.py
GAIGResearch/GAIGResearch.github.io
90d0555348ad8f3f500b6480168ad65fa0226dce
[ "MIT" ]
null
null
null
bib_processing.py
GAIGResearch/GAIGResearch.github.io
90d0555348ad8f3f500b6480168ad65fa0226dce
[ "MIT" ]
null
null
null
bib_processing.py
GAIGResearch/GAIGResearch.github.io
90d0555348ad8f3f500b6480168ad65fa0226dce
[ "MIT" ]
2
2019-07-09T11:08:15.000Z
2020-12-04T14:55:00.000Z
import os from pathlib import Path from difflib import SequenceMatcher supported_bibtex_types = {"article", "book", "booklet", "inbook", "incollection", "inproceedings", "manual", "mastersthesis", "misc", "phdthesis", "proceedings", "techreport", "unpublished"} supported_fields = ["author",...
33.696682
119
0.568636
877
7,110
4.443558
0.255416
0.020785
0.009238
0.011547
0.084167
0.064665
0.05594
0.042597
0.028227
0.028227
0
0.009744
0.307173
7,110
210
120
33.857143
0.781364
0.165541
0
0.1
0
0
0.095337
0
0
0
0
0
0
1
0.057143
false
0
0.021429
0
0.142857
0.021429
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
0
1
0
f80a066211d5845a2d19529db9ed13271bcad6dc
2,105
py
Python
browser.py
7Cortez7/instagram-giveaway-bot
43246e3ded06ea3a6cbf2ef20164b229fe90ee0e
[ "MIT" ]
null
null
null
browser.py
7Cortez7/instagram-giveaway-bot
43246e3ded06ea3a6cbf2ef20164b229fe90ee0e
[ "MIT" ]
null
null
null
browser.py
7Cortez7/instagram-giveaway-bot
43246e3ded06ea3a6cbf2ef20164b229fe90ee0e
[ "MIT" ]
null
null
null
from selenium import webdriver import time import userdata as udata import random randomUsers = set() class Browser: def __init__(self, link): self.link = link self.browser = webdriver.Chrome() Browser.Instagram(self) Browser.Login(self) Browser.goFollowers(s...
31.893939
121
0.59715
230
2,105
5.352174
0.443478
0.10723
0.060926
0.071487
0.180341
0.105605
0
0
0
0
0
0.010731
0.291686
2,105
65
122
32.384615
0.814889
0
0
0.188679
0
0
0.190686
0.055882
0
0
0
0
0
1
0.09434
false
0.037736
0.075472
0
0.207547
0.037736
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
0
1
0
f80b2ee49671a1d6b544de429dd777345fa6df27
246
py
Python
HackerRank/PythonHackerRankSolutions/Numpy/LinearAlgebra.py
accidentalgenius09/competitive-programming-solution
210746a7928dcd601ad9a735de52cf7135851070
[ "MIT" ]
8
2020-08-03T01:53:13.000Z
2022-01-09T14:47:58.000Z
HackerRank/PythonHackerRankSolutions/Numpy/LinearAlgebra.py
accidentalgenius09/competitive-programming-solution
210746a7928dcd601ad9a735de52cf7135851070
[ "MIT" ]
null
null
null
HackerRank/PythonHackerRankSolutions/Numpy/LinearAlgebra.py
accidentalgenius09/competitive-programming-solution
210746a7928dcd601ad9a735de52cf7135851070
[ "MIT" ]
4
2020-09-29T11:28:53.000Z
2021-06-02T15:34:55.000Z
''' Title : Linear Algebra Subdomain : Numpy Domain : Python Author : codeperfectplus Created : 10 May 2020 ''' import numpy n=int(input()) a=numpy.array([input().split() for _ in range(n)],float) print(round(numpy.linalg.det(a),2))
18.923077
56
0.670732
35
246
4.685714
0.828571
0
0
0
0
0
0
0
0
0
0
0.034314
0.170732
246
12
57
20.5
0.769608
0.46748
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
0
0
0
0
0
0
1
0
f80c608952146d7fe3d7ed75d5f4bc0dc27ba8ce
774
py
Python
pyretri/index/dim_processor/dim_processors_impl/l2_normalize.py
dongan-beta/PyRetri
8756d5d5813a5211b58855373b6c6cd33d7a11f6
[ "Apache-2.0" ]
1,063
2020-04-21T12:42:05.000Z
2022-03-31T06:32:50.000Z
pyretri/index/dim_processor/dim_processors_impl/l2_normalize.py
dongan-beta/PyRetri
8756d5d5813a5211b58855373b6c6cd33d7a11f6
[ "Apache-2.0" ]
39
2020-05-07T07:24:19.000Z
2022-02-02T23:49:23.000Z
pyretri/index/dim_processor/dim_processors_impl/l2_normalize.py
dongan-beta/PyRetri
8756d5d5813a5211b58855373b6c6cd33d7a11f6
[ "Apache-2.0" ]
174
2020-04-26T04:33:11.000Z
2022-03-17T02:58:45.000Z
# -*- coding: utf-8 -*- import numpy as np from ..dim_processors_base import DimProcessorBase from ...registry import DIMPROCESSORS from sklearn.preprocessing import normalize from typing import Dict, List @DIMPROCESSORS.register class L2Normalize(DimProcessorBase): """ L2 normalize the features. """ ...
27.642857
75
0.666667
94
774
5.287234
0.574468
0.072435
0.064386
0
0
0
0
0
0
0
0
0.008375
0.228682
774
27
76
28.666667
0.824121
0.241602
0
0
0
0
0.003759
0
0
0
0
0
0
1
0.166667
false
0
0.416667
0.083333
0.833333
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
1
0
0
2
f80ccbd3e3b59f33892aafb3cc6b1f95f360dd40
1,631
py
Python
test_csv_write.py
wandyrandy/Groupme-Group-Stats-Report
25a59b715a7555540695639de81db390f09eb122
[ "MIT" ]
2
2019-08-13T21:50:32.000Z
2019-08-14T00:49:29.000Z
test_csv_write.py
wandyrandy/Groupme-Group-Stats-Report
25a59b715a7555540695639de81db390f09eb122
[ "MIT" ]
null
null
null
test_csv_write.py
wandyrandy/Groupme-Group-Stats-Report
25a59b715a7555540695639de81db390f09eb122
[ "MIT" ]
null
null
null
import csv import person from random import randrange headers = ['Name', 'Messages', 'Char Count', 'Likes Given', 'Likes Received', 'Image URL'] #tester code people = ['bob', 'joe', 'gmo'] bob = person.Person(111, 'bob', 'www.bob.com', people) joe = person.Person(222, 'joe', 'www.joe.com', people) gmo = p...
31.980392
91
0.676272
230
1,631
4.726087
0.252174
0.212512
0.090156
0.057958
0.045998
0
0
0
0
0
0
0.037862
0.174126
1,631
51
92
31.980392
0.769117
0.048437
0
0.04878
0
0
0.103264
0
0
0
0
0
0
1
0
false
0
0.073171
0
0.073171
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
f80e19316ce840fcc2138b746a64f522d8f4566b
866
py
Python
app/wqFull/G200/testAll.py
fkwai/geolearn
30cb4353d22af5020a48100d07ab04f465a315b0
[ "MIT" ]
null
null
null
app/wqFull/G200/testAll.py
fkwai/geolearn
30cb4353d22af5020a48100d07ab04f465a315b0
[ "MIT" ]
null
null
null
app/wqFull/G200/testAll.py
fkwai/geolearn
30cb4353d22af5020a48100d07ab04f465a315b0
[ "MIT" ]
2
2021-04-04T02:45:59.000Z
2022-03-19T09:41:39.000Z
import pandas as pd from hydroDL.data import usgs, gageII, gridMET, ntn, GLASS, transform, dbBasin import numpy as np import matplotlib.pyplot as plt from hydroDL.post import axplot, figplot from hydroDL import kPath, utils import json import os import importlib from hydroDL.master import basinFull from hydroDL.app.wa...
29.862069
78
0.706697
109
866
5.614679
0.633028
0.089869
0
0
0
0
0
0
0
0
0
0.045267
0.158199
866
28
79
30.928571
0.794239
0.094688
0
0
0
0
0.085897
0
0
0
0
0
0
1
0
false
0
0.52381
0
0.52381
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
0
0
0
0
1
0
1
0
0
2
f80f8be872541cb1fed210e79dd3fff53a87f8a4
9,733
py
Python
tests/test_Dirichlet_NL_Poisson.py
bond-anton/BDPoisson1D
538cedc187ce83e90f340cc085738671d325d2e1
[ "Apache-2.0" ]
null
null
null
tests/test_Dirichlet_NL_Poisson.py
bond-anton/BDPoisson1D
538cedc187ce83e90f340cc085738671d325d2e1
[ "Apache-2.0" ]
2
2017-07-21T22:10:19.000Z
2018-07-14T21:39:07.000Z
tests/test_Dirichlet_NL_Poisson.py
bond-anton/BDPoisson1D
538cedc187ce83e90f340cc085738671d325d2e1
[ "Apache-2.0" ]
null
null
null
import math as m import numpy as np from BDMesh import Mesh1DUniform from BDFunction1D import Function from BDFunction1D.Functional import Functional from BDFunction1D.Interpolation import InterpolateFunction from BDPoisson1D.DirichletNonLinear import dirichlet_non_linear_poisson_solver_arrays from BDPoisson1D.Dirich...
44.646789
111
0.552348
1,152
9,733
4.4375
0.091146
0.018779
0.059859
0.083138
0.867567
0.809272
0.779147
0.75802
0.74198
0.728286
0
0.037245
0.360012
9,733
217
112
44.852535
0.783432
0.001438
0
0.661458
0
0
0
0
0
0
0
0
0.046875
1
0.0625
false
0
0.067708
0.015625
0.166667
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
f810064772dd89a3265f0776de267483682a707d
23,282
py
Python
trtools/dumpSTR/tests/test_dumpSTR.py
Kulivox/TRTools
ea05f9126f5145405cced8fd85821ce929657b3a
[ "MIT" ]
14
2020-04-20T15:38:52.000Z
2022-02-07T11:45:23.000Z
trtools/dumpSTR/tests/test_dumpSTR.py
Kulivox/TRTools
ea05f9126f5145405cced8fd85821ce929657b3a
[ "MIT" ]
74
2020-03-02T23:34:53.000Z
2022-03-21T18:32:10.000Z
trtools/dumpSTR/tests/test_dumpSTR.py
Kulivox/TRTools
ea05f9126f5145405cced8fd85821ce929657b3a
[ "MIT" ]
15
2018-10-29T19:41:33.000Z
2020-02-21T18:41:51.000Z
import argparse import gzip import os import pytest from ..dumpSTR import * from trtools.testsupport.utils import assert_same_vcf, assert_same_file # Set up base argparser @pytest.fixture def args(tmpdir): args = argparse.ArgumentParser() args.vcf = None args.vcftype = "auto" args.out = str(tmpdir /...
34.038012
129
0.683489
3,314
23,282
4.574532
0.102293
0.043272
0.046174
0.037599
0.755871
0.698153
0.63562
0.600989
0.53529
0.49314
0
0.024362
0.22425
23,282
683
130
34.087848
0.815016
0.111717
0
0.616698
0
0
0.101182
0.054055
0
0
0
0.002928
0.185958
1
0.055028
false
0
0.011385
0.001898
0.070209
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
0
0
1
0
f81030a9747b6fbce3be0c3890586bc3da2d99c2
27,895
py
Python
nova/network/ldapdns.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
nova/network/ldapdns.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
nova/network/ldapdns.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
2
2017-07-20T17:31:34.000Z
2020-07-24T02:42:19.000Z
begin_unit comment|'# Copyright 2012 Andrew Bogott for the Wikimedia Foundation' nl|'\n' comment|'#' nl|'\n' comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may' nl|'\n' comment|'# not use this file except in compliance with the License. You may obtain' nl|'\n' comment|'# a copy ...
12.044473
174
0.578276
4,103
27,895
3.863758
0.067024
0.169936
0.110389
0.081246
0.793099
0.737337
0.676276
0.613196
0.55018
0.466978
0
0.001835
0.120846
27,895
2,315
175
12.049676
0.644593
0
0
0.942981
0
0.000864
0.338484
0.00803
0
0
0
0
0.000432
0
null
null
0.001296
0.005184
null
null
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
f81075d9a768c275f1cbe075abbbe7e3dce2e3c6
2,554
py
Python
src/weekly_contest_251/1946_largest-number-after-mutating-substring.py
dongminlee94/leetcode-practice
4d33816d66df8ab447087a04b76008f6bec51f23
[ "MIT" ]
null
null
null
src/weekly_contest_251/1946_largest-number-after-mutating-substring.py
dongminlee94/leetcode-practice
4d33816d66df8ab447087a04b76008f6bec51f23
[ "MIT" ]
null
null
null
src/weekly_contest_251/1946_largest-number-after-mutating-substring.py
dongminlee94/leetcode-practice
4d33816d66df8ab447087a04b76008f6bec51f23
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ 1946. Largest Number After Mutating Substring https://leetcode.com/problems/largest-number-after-mutating-substring/ Example 1: Input: num = "132", change = [9,8,5,0,3,6,4,2,6,8] Output: "832" Explanation: Replace the substring "1": - 1 maps to change[1] = 8. Thus, "132" becomes "832". "8...
30.047059
98
0.523101
378
2,554
3.473545
0.219577
0.04265
0.073115
0.068545
0.555979
0.453161
0.393755
0.323686
0.323686
0.281036
0
0.056647
0.322631
2,554
84
99
30.404762
0.702312
0.35787
0
0.305556
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0.027778
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
0
0
0
0
0
1
0
f810c90f204568fd67dca941d0e6266424f5517d
261
py
Python
test/unit/bot/test_bot.py
kubicki14/BurtTheCardKing
d0854ea08ffdffee687830097b0645069e263d9d
[ "MIT" ]
null
null
null
test/unit/bot/test_bot.py
kubicki14/BurtTheCardKing
d0854ea08ffdffee687830097b0645069e263d9d
[ "MIT" ]
1
2020-03-04T04:39:20.000Z
2020-03-04T04:39:20.000Z
test/unit/bot/test_bot.py
kubicki14/BurtTheCardKing
d0854ea08ffdffee687830097b0645069e263d9d
[ "MIT" ]
null
null
null
import pytest from bot.bot import Bot class TestBotClass: # Can't instantiate abstract classes. skipping test for abstract class. def setup(self): self.bot = 1 def test_init(self): test_bot = 1 assert test_bot == self.bot
20.076923
75
0.659004
37
261
4.567568
0.540541
0.08284
0
0
0
0
0
0
0
0
0
0.010526
0.272031
261
12
76
21.75
0.878947
0.264368
0
0
0
0
0
0
0
0
0
0
0.125
1
0.25
false
0
0.25
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
f8125fde876b086f96371a2951d0cf190eba3f48
1,437
py
Python
Hackerrank/30DaysOfCode/Day9-Recursion3.py
eduardormonteiro/PythonPersonalLibrary
561733bb8305c4e25a08f99c28b60ec77251ad67
[ "MIT" ]
null
null
null
Hackerrank/30DaysOfCode/Day9-Recursion3.py
eduardormonteiro/PythonPersonalLibrary
561733bb8305c4e25a08f99c28b60ec77251ad67
[ "MIT" ]
null
null
null
Hackerrank/30DaysOfCode/Day9-Recursion3.py
eduardormonteiro/PythonPersonalLibrary
561733bb8305c4e25a08f99c28b60ec77251ad67
[ "MIT" ]
null
null
null
""" Hackerrank Day 9: Recursion 3 https://www.hackerrank.com/challenges/30-recursion/problem?h_r=email&unlock_token=bc6d5f3963afb26ed0b2f69c3f4f3ddb1826e1b2&utm_campaign=30_days_of_code_continuous&utm_medium=email&utm_source=daily_reminder Objective Today, we are learning about an algorithmic concept called recursion....
22.809524
205
0.76618
213
1,437
5.079812
0.56338
0.047135
0.036969
0.051756
0
0
0
0
0
0
0
0.030151
0.169102
1,437
63
206
22.809524
0.876047
0.770355
0
0
0
0
0.06875
0
0
0
0
0
0
1
0.066667
false
0
0.333333
0
0.533333
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
1
0
0
2
f8126dd049c2dae8dffb8bb81f37f683297e9ca7
408
py
Python
todolist/main/models.py
gda2048/TODOlist
cc6c359ab0a8d2f43ed82b19dfc0eb5d640f8b9f
[ "MIT" ]
1
2019-12-19T19:04:02.000Z
2019-12-19T19:04:02.000Z
todolist/main/models.py
gda2048/TODOlist
cc6c359ab0a8d2f43ed82b19dfc0eb5d640f8b9f
[ "MIT" ]
5
2020-02-12T02:57:13.000Z
2021-12-13T20:02:16.000Z
todolist/main/models.py
gda2048/TODOlist
cc6c359ab0a8d2f43ed82b19dfc0eb5d640f8b9f
[ "MIT" ]
null
null
null
from django.db import models class Card(models.Model): """ Stores all information about the TODOlist item """ id = models.AutoField(primary_key=True) name = models.CharField('Название', max_length=50) description = models.TextField('Описание', max_length=500) is_archived = models.BooleanFi...
29.142857
68
0.70098
50
408
5.56
0.8
0.064748
0
0
0
0
0
0
0
0
0
0.01506
0.186275
408
14
69
29.142857
0.822289
0.112745
0
0
0
0
0.080692
0
0
0
0
0.071429
0
1
0.125
false
0
0.125
0.125
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
1
0
0
0
0
0
0
1
0
0
0
2
f812c1ff23e3b82b8ed9c4bca10c6b857649c53a
2,358
py
Python
src/qbrobot/util/log.py
jucuguru/crypto-robot-basic
3addaaff9fb2f41d8e9dcd66bae7ae7f75216704
[ "BSD-2-Clause" ]
null
null
null
src/qbrobot/util/log.py
jucuguru/crypto-robot-basic
3addaaff9fb2f41d8e9dcd66bae7ae7f75216704
[ "BSD-2-Clause" ]
null
null
null
src/qbrobot/util/log.py
jucuguru/crypto-robot-basic
3addaaff9fb2f41d8e9dcd66bae7ae7f75216704
[ "BSD-2-Clause" ]
null
null
null
import logging from qbrobot import qsettings try : from util import send_dingding except ImportError: DINGDING_CANUSE = False else: DINGDING_CANUSE = True """ class DingDingLogger pass all args to logger.method, and call dingding.send_msg() 1. debug message don't send to dingding. 2....
25.912088
116
0.651399
280
2,358
5.332143
0.275
0.046885
0.087073
0.056932
0.320161
0.255191
0.182853
0.182853
0.182853
0.182853
0
0.007743
0.233249
2,358
90
117
26.2
0.818031
0.035199
0
0.243902
0
0
0
0
0
0
0
0
0
1
0.170732
false
0
0.097561
0
0.317073
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
0
0
1
0
f81309425c4d43dc4fcef12218a6de6d14c72768
722
py
Python
Country cleaning/Chile/PRT/OfflineRB.py
Demonliquid/cars-python-cleaning
91c516a33c4522114dc024cfaf04f1c1d594f973
[ "MIT" ]
null
null
null
Country cleaning/Chile/PRT/OfflineRB.py
Demonliquid/cars-python-cleaning
91c516a33c4522114dc024cfaf04f1c1d594f973
[ "MIT" ]
null
null
null
Country cleaning/Chile/PRT/OfflineRB.py
Demonliquid/cars-python-cleaning
91c516a33c4522114dc024cfaf04f1c1d594f973
[ "MIT" ]
null
null
null
# %% import os import pandas as pd import numpy as np import datetime # %% CARGA DE DATOS path = r'F:\Trabajo\Promotive\Chile\PRT\7\CSV\3' os.chdir(path) files = os.listdir(path) files # %% files_xls = [f for f in files if f[-3:] == 'csv'] files_xls # %% columnas = ['PPU', 'MARCA', 'MODELO', 'ANO_FABRICACION', 'NU...
17.609756
90
0.65651
109
722
4.256881
0.541284
0.051724
0.038793
0.077586
0.112069
0.112069
0
0
0
0
0
0.008157
0.15097
722
40
91
18.05
0.748777
0.060942
0
0
0
0
0.23988
0.134933
0
0
0
0
0
1
0
false
0
0.210526
0
0.210526
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
0
0
1
0
f815471c4b7feac192ccd8f44032afcd4c9605be
3,850
py
Python
datasets/lfw_crop.py
laoreja/face-identity-transformer
5569d93017ad9371deae7e2b35564523c64b501e
[ "BSD-3-Clause" ]
13
2020-10-09T07:15:02.000Z
2022-03-28T20:51:30.000Z
datasets/lfw_crop.py
laoreja/face-identity-transformer
5569d93017ad9371deae7e2b35564523c64b501e
[ "BSD-3-Clause" ]
2
2021-03-03T15:04:51.000Z
2021-06-02T03:42:03.000Z
datasets/lfw_crop.py
laoreja/face-identity-transformer
5569d93017ad9371deae7e2b35564523c64b501e
[ "BSD-3-Clause" ]
5
2021-03-02T11:44:19.000Z
2021-07-09T16:42:02.000Z
import os.path as osp import numpy as np from PIL import Image import torch.utils.data as data import torch __all__ = ['LFW_CROP'] EXTENSION_FACTOR = 2 class LFW_CROP(data.Dataset): def __init__(self, train, transform, args): self.root = osp.join(args.data_root, 'lfw') self.transform = transfor...
37.745098
114
0.540779
508
3,850
3.852362
0.242126
0.053143
0.101175
0.033214
0.119571
0.086868
0.075626
0.049055
0.049055
0
0
0.023978
0.339221
3,850
101
115
38.118812
0.745283
0.012727
0
0.026667
0
0
0.037388
0
0.013333
0
0
0
0
1
0.053333
false
0
0.066667
0.013333
0.173333
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
0
0
1
0
f816945723bd501f06ebbe8199fa11cd256a3a52
1,065
py
Python
test.py
JFF-Bohdan/pyimei
d881f4a11374d29828867e2de397d1fcc8413d25
[ "MIT" ]
1
2021-07-29T17:39:34.000Z
2021-07-29T17:39:34.000Z
test.py
JFF-Bohdan/pyimei
d881f4a11374d29828867e2de397d1fcc8413d25
[ "MIT" ]
null
null
null
test.py
JFF-Bohdan/pyimei
d881f4a11374d29828867e2de397d1fcc8413d25
[ "MIT" ]
3
2018-08-07T08:01:01.000Z
2020-03-24T17:14:31.000Z
from pyimei import ImeiSupport def checkImeisArray(imeis): for imei in imeis: if ImeiSupport.isValid(imei): print("IMEI: '{}' is valid".format(imei)) else: print("IMEI '{}' is NOT valid".format(imei)) #testing classes ImeiSupport.test() valid_imeis = [ 356...
23.152174
73
0.66385
113
1,065
6.141593
0.39823
0.063401
0.080692
0.043228
0.135447
0.135447
0.072046
0
0
0
0
0.111772
0.210329
1,065
46
74
23.152174
0.713436
0.014085
0
0.060606
0
0
0.19602
0
0
0
0
0
0
1
0.030303
false
0
0.030303
0
0.060606
0.242424
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
0
1
0
f816d939ecc6c4f196c356dcf81afa3b4caf0b94
2,175
py
Python
aioauth/responses.py
grmnz/aioauth
e69c989bc81284d60798599816c39ff91074a24b
[ "MIT" ]
null
null
null
aioauth/responses.py
grmnz/aioauth
e69c989bc81284d60798599816c39ff91074a24b
[ "MIT" ]
null
null
null
aioauth/responses.py
grmnz/aioauth
e69c989bc81284d60798599816c39ff91074a24b
[ "MIT" ]
null
null
null
""" .. code-block:: python from aioauth import responses Response objects used throughout the project. ---- """ from dataclasses import dataclass, field from http import HTTPStatus from typing import Dict from .collections import HTTPHeaderDict from .constances import default_headers from .types import ErrorTyp...
20.518868
111
0.722299
241
2,175
6.394191
0.381743
0.07268
0.031149
0.033744
0.240104
0.173913
0.173913
0.153147
0.105127
0.105127
0
0.00225
0.182529
2,175
105
112
20.714286
0.864454
0.44
0
0.302326
0
0
0.00542
0
0
0
0
0
0
1
0
true
0
0.139535
0
0.813953
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
1
0
0
2
f818d292ca6f1460d6aa1027f16f35e13ba6829c
5,441
py
Python
fipomdp/experiments/NYC_experiment.py
xbrlej/FiPOMDP
b7a97aaaf43a43e5ee9b8776c0e7f6d0bb09392f
[ "MIT" ]
null
null
null
fipomdp/experiments/NYC_experiment.py
xbrlej/FiPOMDP
b7a97aaaf43a43e5ee9b8776c0e7f6d0bb09392f
[ "MIT" ]
null
null
null
fipomdp/experiments/NYC_experiment.py
xbrlej/FiPOMDP
b7a97aaaf43a43e5ee9b8776c0e7f6d0bb09392f
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import logging import platform import time from functools import partial from statistics import stdev from typing import List, Tuple, Dict, Union, Any import psutil from joblib import Parallel, delayed from fimdp.objectives import BUCHI from fipomdp import ConsPOMDP from fipomdp.energy_solvers ...
33.58642
147
0.695093
685
5,441
5.322628
0.316788
0.043884
0.045255
0.020845
0.105869
0.06418
0.03017
0.03017
0.03017
0.03017
0
0.018165
0.19059
5,441
161
148
33.795031
0.809718
0.081051
0
0
0
0.017699
0.178973
0.031501
0
0
0
0
0
1
0.026549
false
0
0.132743
0
0.176991
0.00885
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
0
1
0
f818e9acfc35ef6a4d51efdba0e1aa6dcf47703d
399
py
Python
examples/connect_to_wifi.py
flaiming/TechFurMeet-Micropython
00ff427429dfc186e33aa5e77bafe39eb820b854
[ "MIT" ]
1
2018-01-19T12:05:32.000Z
2018-01-19T12:05:32.000Z
examples/connect_to_wifi.py
flaiming/TechFurMeet-Micropython
00ff427429dfc186e33aa5e77bafe39eb820b854
[ "MIT" ]
null
null
null
examples/connect_to_wifi.py
flaiming/TechFurMeet-Micropython
00ff427429dfc186e33aa5e77bafe39eb820b854
[ "MIT" ]
null
null
null
import network import time # deactivate AP ap = network.WLAN(network.AP_IF) ap.active(False) # activate static network wlan = network.WLAN(network.STA_IF) wlan.active(True) # connect to local WIFI wlan.connect('TFM-Attendees') # wait until connected while not wlan.isconnected(): print('connecting...') time....
19
49
0.736842
55
399
5.309091
0.581818
0.113014
0.184932
0
0
0
0
0
0
0
0
0.002874
0.12782
399
20
50
19.95
0.836207
0.200501
0
0
0
0
0.187898
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.25
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
f8197ad55d7f3b5e1e727b66b9aaef3047efa623
3,317
py
Python
hikcamerabot/services/tasks/video.py
CamVipQ/hikvision-camera-bot
84afa0a4dc2fc1ebda71b5020520dc1c300cf3b2
[ "MIT" ]
44
2019-03-07T00:25:44.000Z
2022-02-20T15:57:11.000Z
hikcamerabot/services/tasks/video.py
CamVipQ/hikvision-camera-bot
84afa0a4dc2fc1ebda71b5020520dc1c300cf3b2
[ "MIT" ]
25
2019-02-17T13:37:27.000Z
2022-03-22T16:11:46.000Z
hikcamerabot/services/tasks/video.py
CamVipQ/hikvision-camera-bot
84afa0a4dc2fc1ebda71b5020520dc1c300cf3b2
[ "MIT" ]
14
2019-06-28T05:40:10.000Z
2022-03-24T08:05:01.000Z
import asyncio import logging import os import time from addict import Addict from aiogram.types import Message from hikcamerabot.config.config import get_result_queue from hikcamerabot.constants import Event, VideoGifType from hikcamerabot.utils.utils import format_ts, gen_random_str class RecordVideoTask: _vi...
35.666667
88
0.621948
410
3,317
4.707317
0.270732
0.037306
0.049741
0.026425
0.080829
0.034197
0.034197
0.034197
0
0
0
0.003753
0.277058
3,317
92
89
36.054348
0.801084
0
0
0.052632
0
0
0.104589
0.006556
0
0
0
0
0
1
0.026316
false
0
0.118421
0.013158
0.263158
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
0
0
1
0
f81adf96e79c10244b5314e809ea884419299412
71,349
py
Python
HyperOXO/hypercube.py
drtjc/Hyper
83579186d915de603d27b8757dfc5a0f82c6770e
[ "MIT" ]
null
null
null
HyperOXO/hypercube.py
drtjc/Hyper
83579186d915de603d27b8757dfc5a0f82c6770e
[ "MIT" ]
null
null
null
HyperOXO/hypercube.py
drtjc/Hyper
83579186d915de603d27b8757dfc5a0f82c6770e
[ "MIT" ]
null
null
null
""" Provides functionalilty for working with celled hypercubes. Hypercubes are extensions of lines, squares and cubes into higher dimensions. Celled hypercubes can be thought as a grid or lattice structure. From this point, hypercubes is used to mean celled hypercubes. A hypercube can be described by its dimension a...
30.374202
116
0.510575
10,336
71,349
3.442047
0.064725
0.016246
0.010962
0.007196
0.63364
0.590213
0.56025
0.541333
0.518088
0.502909
0
0.060476
0.31238
71,349
2,348
117
30.387138
0.66454
0.704887
0
0.31348
0
0
0.021765
0
0.003135
0
0
0
0
1
0.106583
false
0
0.021944
0
0.22884
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
0
0
1
0
f81ca2ce592e84428e81a66ce38e515a6ee5edcf
42
py
Python
firecloud/__about__.py
jnktsj/fiss
2cfce1f6dc0c43f62c51e8a9296946b9990a76fa
[ "BSD-3-Clause" ]
20
2017-08-05T08:44:51.000Z
2022-03-24T15:33:48.000Z
firecloud/__about__.py
jnktsj/fiss
2cfce1f6dc0c43f62c51e8a9296946b9990a76fa
[ "BSD-3-Clause" ]
117
2016-10-26T15:31:48.000Z
2022-02-16T23:06:33.000Z
firecloud/__about__.py
jnktsj/fiss
2cfce1f6dc0c43f62c51e8a9296946b9990a76fa
[ "BSD-3-Clause" ]
21
2017-03-13T15:16:03.000Z
2022-02-25T19:14:36.000Z
# Package version __version__ = "0.16.31"
14
23
0.714286
6
42
4.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0.138889
0.142857
42
2
24
21
0.583333
0.357143
0
0
0
0
0.28
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f81ce517b53ccd795c4a506f2213bfeafa42c8e0
255
py
Python
django_selectel_storage/exceptions.py
Stuvros/django-selectel-storage
076f7e3c58d9391e2e7e27feb0526736d101c2b5
[ "MIT" ]
27
2015-01-28T09:17:09.000Z
2021-06-21T20:48:01.000Z
django_selectel_storage/exceptions.py
Stuvros/django-selectel-storage
076f7e3c58d9391e2e7e27feb0526736d101c2b5
[ "MIT" ]
9
2015-08-07T15:03:00.000Z
2020-05-01T04:54:02.000Z
django_selectel_storage/exceptions.py
Stuvros/django-selectel-storage
076f7e3c58d9391e2e7e27feb0526736d101c2b5
[ "MIT" ]
19
2015-05-20T14:16:25.000Z
2022-03-31T06:31:59.000Z
class SelectelException(ValueError): pass class InvalidSchema(SelectelException): pass class EmptyUsername(SelectelException): pass class EmptyPassword(SelectelException): pass class EmptyContainerName(SelectelException): pass
13.421053
44
0.772549
20
255
9.85
0.4
0.182741
0.395939
0
0
0
0
0
0
0
0
0
0.168627
255
18
45
14.166667
0.929245
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.6
0
0
0.5
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
4
f81e6f765fb2c951a1b3a358bc3ab07fe69f4752
11,140
py
Python
simpa_tests/manual_tests/acoustic_forward_models/KWaveAcousticForwardConvenienceFunction.py
IMSY-DKFZ/simpa
b8bddcf43a4bff2564f0ec208dc511b82e49bfb4
[ "MIT" ]
3
2022-03-14T15:40:09.000Z
2022-03-20T02:34:25.000Z
simpa_tests/manual_tests/acoustic_forward_models/KWaveAcousticForwardConvenienceFunction.py
jgroehl/simpa
e56f0802e5a8555ee8bb139dd4f776025e7e9267
[ "MIT" ]
3
2022-03-18T07:19:12.000Z
2022-03-30T12:15:19.000Z
simpa_tests/manual_tests/acoustic_forward_models/KWaveAcousticForwardConvenienceFunction.py
IMSY-DKFZ/simpa
b8bddcf43a4bff2564f0ec208dc511b82e49bfb4
[ "MIT" ]
null
null
null
# SPDX-FileCopyrightText: 2021 Division of Intelligent Medical Systems, DKFZ # SPDX-FileCopyrightText: 2021 Janek Groehl # SPDX-License-Identifier: MIT from simpa.core.device_digital_twins import SlitIlluminationGeometry, LinearArrayDetectionGeometry, PhotoacousticDevice from simpa import perform_k_wave_acoustic_forw...
48.859649
119
0.668223
1,262
11,140
5.559429
0.248019
0.063854
0.049173
0.023945
0.295468
0.236745
0.172891
0.100912
0.043615
0.043044
0
0.021028
0.26149
11,140
227
120
49.07489
0.831773
0.107989
0
0.017241
0
0
0.024221
0.007735
0
0
0
0.004405
0
1
0.034483
false
0
0.068966
0
0.114943
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
0
0
1
0
f81ea939afded2dfd41116deec7708196341c5d1
10,881
py
Python
oc_ocdm/counter_handler/filesystem_counter_handler.py
arcangelo7/oc_ocdm
128d062ce9d858024aafd26d7d238c7a26cc8914
[ "0BSD" ]
1
2020-12-17T15:33:01.000Z
2020-12-17T15:33:01.000Z
oc_ocdm/counter_handler/filesystem_counter_handler.py
arcangelo7/oc_ocdm
128d062ce9d858024aafd26d7d238c7a26cc8914
[ "0BSD" ]
26
2021-01-08T08:32:23.000Z
2022-03-29T10:01:40.000Z
oc_ocdm/counter_handler/filesystem_counter_handler.py
arcangelo7/oc_ocdm
128d062ce9d858024aafd26d7d238c7a26cc8914
[ "0BSD" ]
3
2021-04-16T08:44:44.000Z
2022-02-15T11:09:22.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright (c) 2016, Silvio Peroni <essepuntato@gmail.com> # # Permission to use, copy, modify, and/or distribute this software for any purpose # with or without fee is hereby granted, provided that the above copyright notice # and this permission notice appear in all copies. ...
42.503906
111
0.637074
1,531
10,881
4.246244
0.15872
0.041994
0.048454
0.020766
0.566067
0.518843
0.487156
0.451469
0.427934
0.408553
0
0.006504
0.265233
10,881
255
112
42.670588
0.806629
0.082621
0
0.391304
0
0
0.095544
0
0
0
0
0
0
1
0.097826
false
0
0.038043
0.016304
0.217391
0.005435
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
0
1
0
f81fb7d0b255f47fb45c7a694f335756c5c2bb24
3,823
py
Python
backend_app/serializers.py
ilveroluca/backend
91b80b154c4e1e45587797cc41bf2b2b75c23e68
[ "MIT" ]
null
null
null
backend_app/serializers.py
ilveroluca/backend
91b80b154c4e1e45587797cc41bf2b2b75c23e68
[ "MIT" ]
null
null
null
backend_app/serializers.py
ilveroluca/backend
91b80b154c4e1e45587797cc41bf2b2b75c23e68
[ "MIT" ]
null
null
null
from rest_framework import serializers from backend_app import models class AllowedPropertySerializer(serializers.ModelSerializer): class Meta: model = models.AllowedProperty fields = '__all__' # exclude = ['id'] class DatasetSerializer(serializers.ModelSerializer): class Meta: ...
27.905109
96
0.698666
347
3,823
7.512968
0.244957
0.109705
0.059072
0.084388
0.416187
0.303797
0.125815
0.092827
0.06214
0.06214
0
0.000649
0.193565
3,823
136
97
28.110294
0.844956
0.074549
0
0.373494
0
0
0.064626
0
0
0
0
0
0
1
0
false
0
0.024096
0
0.674699
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
0
0
1
0
f820475f96913877c23f5aa594fcc87cf676cc00
1,296
py
Python
src/api_status_monitor/consumer/database_connection.py
jjaakola/bang-a-gong
d30f889c18eeaff3d62d47cd02e93516e4d24dd7
[ "MIT" ]
null
null
null
src/api_status_monitor/consumer/database_connection.py
jjaakola/bang-a-gong
d30f889c18eeaff3d62d47cd02e93516e4d24dd7
[ "MIT" ]
null
null
null
src/api_status_monitor/consumer/database_connection.py
jjaakola/bang-a-gong
d30f889c18eeaff3d62d47cd02e93516e4d24dd7
[ "MIT" ]
null
null
null
"""The database connection manager. """ import logging import psycopg2 class DatabaseConnection(): """Database connection manager. """ def __init__(self, host, port, user, dbname, password, sslmode): self._conn = None self._host = host self._port = port self._user = user ...
31.609756
86
0.500772
119
1,296
5.235294
0.352941
0.102729
0.080257
0
0
0
0
0
0
0
0
0.004
0.421296
1,296
40
87
32.4
0.826667
0.050926
0
0.2
0
0
0.066502
0
0
0
0
0
0
1
0.1
false
0.1
0.066667
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
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
f8207cbc88a40509eaabe2f12c2e9fb96d02736a
1,154
py
Python
app/cvp.py
ekiminatorn/murmur-rest
594060264cd6ea594d5c07f40163782946f48eb2
[ "Unlicense", "MIT" ]
73
2015-01-08T19:58:36.000Z
2022-01-25T20:44:07.000Z
app/cvp.py
ekiminatorn/murmur-rest
594060264cd6ea594d5c07f40163782946f48eb2
[ "Unlicense", "MIT" ]
34
2015-01-08T19:52:34.000Z
2022-03-15T08:36:30.000Z
app/cvp.py
ekiminatorn/murmur-rest
594060264cd6ea594d5c07f40163782946f48eb2
[ "Unlicense", "MIT" ]
33
2015-01-08T19:22:40.000Z
2022-01-19T06:28:37.000Z
""" cvp.py Functions for generating CVP feeds. :copyright: (C) 2014 by github.com/alfg. :license: MIT, see README for more details. """ def cvp_player_to_dict(player): """ Convert a player object from a Tree to a CVP-compliant dict. """ return { "session": player.session, "userid": ...
26.837209
78
0.604853
140
1,154
4.9
0.385714
0.081633
0.03207
0.043732
0.055394
0
0
0
0
0
0
0.004695
0.261698
1,154
42
79
27.47619
0.800469
0.230503
0
0.08
0
0
0.147059
0
0
0
0
0
0
1
0.08
false
0
0
0
0.16
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
0
0
1
0
f82135374f4390dc528fb4356d78faff21f4ca0a
5,951
py
Python
Tools/Tools/Scripts/webkitpy/layout_tests/port/base_unittest.py
VincentWei/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
6
2017-05-31T01:46:45.000Z
2018-06-12T10:53:30.000Z
Tools/Tools/Scripts/webkitpy/layout_tests/port/base_unittest.py
FMSoftCN/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
null
null
null
Tools/Tools/Scripts/webkitpy/layout_tests/port/base_unittest.py
FMSoftCN/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
2
2017-07-17T06:02:42.000Z
2018-09-19T10:08:38.000Z
# Copyright (C) 2010 Google Inc. 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 and the f...
46.858268
175
0.682406
767
5,951
5.151239
0.333768
0.018223
0.016705
0.01139
0.234624
0.156922
0.136168
0.098709
0.06125
0.06125
0
0.001942
0.221139
5,951
126
176
47.230159
0.850485
0.378424
0
0.130435
0
0.028986
0.188901
0.063969
0
0
0
0
0.231884
0
null
null
0
0.072464
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
f8237a8940cd62de0269063bae0eb6296bc0aa2a
2,796
py
Python
data/classifier/general_test.py
alexv1/tensorflow_learn
ae936ffdc211a11403d6a06401a2115334b46402
[ "Apache-2.0" ]
null
null
null
data/classifier/general_test.py
alexv1/tensorflow_learn
ae936ffdc211a11403d6a06401a2115334b46402
[ "Apache-2.0" ]
null
null
null
data/classifier/general_test.py
alexv1/tensorflow_learn
ae936ffdc211a11403d6a06401a2115334b46402
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from skimage import transform import tensorflow as tf import numpy as np import glob import face_recognition as FR import os import shutil def read_one_image(image_file, width, height): # img = io.imread(image_file) img = FR.load_image_file(image_file) img = transform.resize(img,(wi...
27.96
87
0.672031
404
2,796
4.470297
0.311881
0.0299
0.026578
0.015504
0.066445
0
0
0
0
0
0
0.019504
0.193133
2,796
99
88
28.242424
0.781028
0.055794
0
0.05
0
0
0.052111
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0.1125
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
f8238013e026edf0a1b82a52242ee8f202d32c83
693
py
Python
func.py
CrownCrafter/School
488810b223ad746d7d1b396e609ce8f90f25662c
[ "MIT" ]
null
null
null
func.py
CrownCrafter/School
488810b223ad746d7d1b396e609ce8f90f25662c
[ "MIT" ]
null
null
null
func.py
CrownCrafter/School
488810b223ad746d7d1b396e609ce8f90f25662c
[ "MIT" ]
1
2021-02-06T04:28:17.000Z
2021-02-06T04:28:17.000Z
def cyl(h, r): area_cyl = 2 * 3.14 * r * h return(area_cyl) def con(r, l): area_con = 3.14 * r * l return(area_con) def final_price(cost): tax = 0.18 * cost re_price = cost + tax return(re_price) print("Enter Values of cylindrical part of tent ") h = float(input("Height : ")) r = float(inpu...
28.875
53
0.658009
121
693
3.603306
0.322314
0.018349
0.022936
0
0
0
0
0
0
0
0
0.023297
0.194805
693
23
54
30.130435
0.758065
0
0
0
0
0
0.235209
0
0
0
0
0
0
1
0.136364
false
0
0
0
0.136364
0.181818
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
0
1
0
f823c6094a403ab6a62faccb2e76b2e2b2d997a0
1,282
py
Python
pymoku/plotly_support.py
manekawije/Liquid
284991ceca70ec3fcd0cca7e19f4100463600a6c
[ "MIT" ]
null
null
null
pymoku/plotly_support.py
manekawije/Liquid
284991ceca70ec3fcd0cca7e19f4100463600a6c
[ "MIT" ]
null
null
null
pymoku/plotly_support.py
manekawije/Liquid
284991ceca70ec3fcd0cca7e19f4100463600a6c
[ "MIT" ]
null
null
null
# Plotly integration for the Moku:Lab Datalogger # Copyright 2016 Liquid Instruments Pty. Ltd. from pymoku import InvalidOperationException def stream_init(moku, uname, api_key, str_id1, str_id2, npoints=100, mode='lines', line={}): line = ';'.join([ '='.join(i) for i in list(line.items())]) settings = [ ('plo...
26.163265
92
0.705148
190
1,282
4.652632
0.447368
0.040724
0.024887
0.022624
0
0
0
0
0
0
0
0.021878
0.144306
1,282
49
93
26.163265
0.783956
0.070203
0
0
0
0
0.146218
0
0
0
0
0
0
1
0.090909
false
0
0.151515
0.030303
0.30303
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
0
0
1
0
f8277c470e26c658915e5f878e41e448502ec2a5
1,126
py
Python
test_publisher.py
cpgillem/markdown_publisher
a8e6bacea95196b9a18ad8fa2f85822c5d9c4e74
[ "MIT" ]
null
null
null
test_publisher.py
cpgillem/markdown_publisher
a8e6bacea95196b9a18ad8fa2f85822c5d9c4e74
[ "MIT" ]
3
2015-04-11T08:16:56.000Z
2015-04-11T08:17:32.000Z
test_publisher.py
cpgillem/markdown-publisher
a8e6bacea95196b9a18ad8fa2f85822c5d9c4e74
[ "MIT" ]
null
null
null
import publisher test_pdf_filename = "test/test.pdf" test_css_filename = "test/test.css" test_md_filename = "test/test.md" test_html_filename = "test/test.html" test_sender = "cpg@yakko.cs.wmich.edu" test_recipient = "cpgillem@gmail.com" test_md = "# Test heading\n\n- test item 1\n- test item 2" def from_html_file()...
32.171429
87
0.781528
185
1,126
4.32973
0.2
0.067416
0.069913
0.131086
0.425718
0.27965
0.27965
0.223471
0.169788
0.169788
0
0.002018
0.119893
1,126
34
88
33.117647
0.806256
0.026643
0
0.08
0
0
0.134369
0.02011
0
0
0
0
0
0
null
null
0
0.04
null
null
0.2
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
f82900deb38425b32b0150ae828a4448ba15499c
24
py
Python
src/train/__init__.py
gracengu/multinomial_classification
2346533415aff151d1774d36405360ca236cee3f
[ "MIT" ]
2
2021-11-16T12:52:58.000Z
2021-12-13T04:00:39.000Z
src/train/__init__.py
gracengu/multinomial_classification
2346533415aff151d1774d36405360ca236cee3f
[ "MIT" ]
null
null
null
src/train/__init__.py
gracengu/multinomial_classification
2346533415aff151d1774d36405360ca236cee3f
[ "MIT" ]
null
null
null
from .train import Train
24
24
0.833333
4
24
5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.125
24
1
24
24
0.952381
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
f82c17e0d48a8946b94491663089d67afc63ece3
1,185
py
Python
tracpro/msgs/migrations/0005_inboxmessage.py
rapidpro/tracpro
a68a782a7ff9bb0ccee85368132d8847c280fea3
[ "BSD-3-Clause" ]
5
2015-07-21T15:58:31.000Z
2019-09-14T22:34:00.000Z
tracpro/msgs/migrations/0005_inboxmessage.py
rapidpro/tracpro
a68a782a7ff9bb0ccee85368132d8847c280fea3
[ "BSD-3-Clause" ]
197
2015-03-24T15:26:04.000Z
2017-11-28T19:24:37.000Z
tracpro/msgs/migrations/0005_inboxmessage.py
rapidpro/tracpro
a68a782a7ff9bb0ccee85368132d8847c280fea3
[ "BSD-3-Clause" ]
10
2015-03-24T12:26:36.000Z
2017-02-21T13:08:57.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('orgs', '0013_auto_20150715_1831'), ('contacts', '0004_auto_20150324_1024'), ('msgs', '0004_message_pollrun'), ] oper...
38.225806
118
0.599156
113
1,185
6.035398
0.566372
0.046921
0.092375
0.109971
0.244868
0.117302
0
0
0
0
0
0.045249
0.254008
1,185
30
119
39.5
0.726244
0.017722
0
0
0
0
0.203959
0.039587
0
0
0
0
0
1
0
false
0
0.083333
0
0.208333
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
0
0
1
0
f82d5b036daead0dff75c2761e785f8a14568edb
191
py
Python
src/Models/__init__.py
shulip/ShoppingMallSystem
01e5a04a8353ca319ed2dc002fc358f6e44c33dd
[ "MIT" ]
null
null
null
src/Models/__init__.py
shulip/ShoppingMallSystem
01e5a04a8353ca319ed2dc002fc358f6e44c33dd
[ "MIT" ]
null
null
null
src/Models/__init__.py
shulip/ShoppingMallSystem
01e5a04a8353ca319ed2dc002fc358f6e44c33dd
[ "MIT" ]
1
2021-04-22T15:14:21.000Z
2021-04-22T15:14:21.000Z
#!/usr/bin/env python # -*- coding:utf-8 -*- from .Contract import * from .Receivable import * from .Receipt import * from .Shop import * from .Statement import * from .Application import *
21.222222
26
0.701571
25
191
5.36
0.6
0.373134
0
0
0
0
0
0
0
0
0
0.00625
0.162304
191
9
26
21.222222
0.83125
0.219895
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
f82d7cf376b5b98be3742039b95afbfff6e6b1f8
1,630
py
Python
description tm.py
jfoerderer/lda-topic-modeling
998701f87df3a3d034d9208ff60266dcd6dc2b59
[ "MIT" ]
2
2017-09-02T09:00:24.000Z
2017-09-08T07:18:38.000Z
description tm.py
jfoerderer/lda-topic-modeling
998701f87df3a3d034d9208ff60266dcd6dc2b59
[ "MIT" ]
null
null
null
description tm.py
jfoerderer/lda-topic-modeling
998701f87df3a3d034d9208ff60266dcd6dc2b59
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import csv from stop_words import get_stop_words from nltk.stem.porter import PorterStemmer from gensim import corpora import gensim import os import re from nltk.tokenize import RegexpTokenizer #SET PATH path = r'' inputname="" def remove_html_tags(text): """Remove html tags from a s...
26.721311
99
0.628834
224
1,630
4.446429
0.388393
0.045181
0.042169
0.040161
0
0
0
0
0
0
0
0.015587
0.252147
1,630
60
100
27.166667
0.801477
0.020859
0
0
0
0
0.015424
0
0
0
0
0
0
0
null
null
0.02439
0.195122
null
null
0.073171
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
f82ef0c0ee2c3fc021e7566fc3d68636a538299f
596
py
Python
scripts/load_sample_data.py
thobbs/logsandra
a17abc995dcb0573f3db2f714c1b47d3aff8b20a
[ "MIT" ]
7
2015-05-18T13:00:54.000Z
2018-08-06T08:27:57.000Z
scripts/load_sample_data.py
thobbs/logsandra
a17abc995dcb0573f3db2f714c1b47d3aff8b20a
[ "MIT" ]
null
null
null
scripts/load_sample_data.py
thobbs/logsandra
a17abc995dcb0573f3db2f714c1b47d3aff8b20a
[ "MIT" ]
4
2015-06-16T11:09:53.000Z
2020-04-27T19:25:57.000Z
#!/usr/bin/env python import sys import os sys.path.append(os.path.join(os.path.dirname('__file__'), '..', 'src')) from random import randint from datetime import datetime, timedelta from logsandra.model.client import CassandraClient client = CassandraClient('test', 'localhost', 9160, 3) keywords = ['foo', 'bar', ...
28.380952
76
0.697987
84
596
4.892857
0.630952
0.029197
0
0
0
0
0
0
0
0
0
0.044487
0.13255
596
20
77
29.8
0.750484
0.033557
0
0
0
0
0.170435
0
0
0
0
0
0
0
null
null
0
0.384615
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
f830e618925548200af372e7691ce927a36784c1
867
py
Python
registry/setup.py
fjrmoreews/bioshadock_client
26a1de6e130689b6385144253525c861d2a2199d
[ "Apache-2.0" ]
1
2015-11-25T19:03:58.000Z
2015-11-25T19:03:58.000Z
registry/setup.py
fjrmoreews/bioshadock_client
26a1de6e130689b6385144253525c861d2a2199d
[ "Apache-2.0" ]
2
2015-11-24T14:45:44.000Z
2015-11-26T15:28:30.000Z
registry/setup.py
fjrmoreews/bioshadock_client
26a1de6e130689b6385144253525c861d2a2199d
[ "Apache-2.0" ]
1
2015-11-27T10:57:15.000Z
2015-11-27T10:57:15.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( # name of the lib name='bioshadock_biotools', # version version='1.0.1', packages=find_packages(), author="Francois Moreews", description="Import tool for biotools from Dockerfile", i...
18.847826
59
0.575548
86
867
5.732558
0.709302
0.048682
0.10142
0.060852
0
0
0
0
0
0
0
0.022727
0.289504
867
45
60
19.266667
0.777597
0.076125
0
0.111111
0
0
0.451005
0
0
0
0
0
0
1
0
true
0
0.074074
0
0.074074
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
f831926e75acbe42ce6d5e5261d3946d9b9dfea1
1,176
py
Python
_example/xor_embedded/make.py
backwardn/go-tflite
30f5e2a268d2eb053f758636609c5c379a3016b5
[ "MIT" ]
3
2020-01-09T02:57:30.000Z
2020-07-17T15:56:50.000Z
_example/xor_embedded/make.py
backwardn/go-tflite
30f5e2a268d2eb053f758636609c5c379a3016b5
[ "MIT" ]
null
null
null
_example/xor_embedded/make.py
backwardn/go-tflite
30f5e2a268d2eb053f758636609c5c379a3016b5
[ "MIT" ]
null
null
null
import numpy as np from tensorflow.keras.models import Sequential from tensorflow.keras.layers import Dense from tensorflow.keras.optimizers import RMSprop from tensorflow.lite.python import lite X_train = np.array([[0.0, 0.0], [1.0, 0.0], [0.0, 1.0], [1.0, ...
30.947368
75
0.662415
170
1,176
4.394118
0.405882
0.026774
0.024096
0.016064
0.128514
0.026774
0
0
0
0
0
0.043243
0.213435
1,176
37
76
31.783784
0.764324
0.036565
0
0.058824
0
0
0.077807
0.020336
0
0
0
0
0
1
0
false
0
0.147059
0
0.147059
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
0
0
1
0
f835c7244c8f288b00b860e6cef6f64c28c3ea69
473
py
Python
app/sso/user/models.py
ChristianKreuzberger/django-oauth-sso
b019e2e8232ae141b50b8270e79e0617e24f54bb
[ "MIT" ]
null
null
null
app/sso/user/models.py
ChristianKreuzberger/django-oauth-sso
b019e2e8232ae141b50b8270e79e0617e24f54bb
[ "MIT" ]
null
null
null
app/sso/user/models.py
ChristianKreuzberger/django-oauth-sso
b019e2e8232ae141b50b8270e79e0617e24f54bb
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import AbstractUser from django.utils.translation import ugettext_lazy as _ class User(AbstractUser): """ Extends the basic django user model with a longer first and last name """ first_name = models.CharField( _("first name"), ...
21.5
73
0.649049
58
473
5.155172
0.551724
0.100334
0.12709
0.107023
0.167224
0.167224
0
0
0
0
0
0.017341
0.268499
473
21
74
22.52381
0.846821
0.145877
0
0.285714
0
0
0.049096
0
0
0
0
0
0
1
0
false
0
0.214286
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
0
0
0
0
0
0
0
1
0
f837af8b513ac4ce60f3ce335c72f8849a0bd813
1,710
py
Python
src/fusanet_utils/features/base.py
fusa-project/fusa-net-utils
b8740c67c0c789889b7abce477c894d77c70a20c
[ "MIT" ]
null
null
null
src/fusanet_utils/features/base.py
fusa-project/fusa-net-utils
b8740c67c0c789889b7abce477c894d77c70a20c
[ "MIT" ]
null
null
null
src/fusanet_utils/features/base.py
fusa-project/fusa-net-utils
b8740c67c0c789889b7abce477c894d77c70a20c
[ "MIT" ]
null
null
null
import logging from abc import ABC, abstractmethod from os.path import isfile, splitext import pathlib import torch from .waveform import get_waveform logger = logging.getLogger(__name__) class Feature(ABC): def __init__(self, params): self.params = params super().__init__() @abstr...
35.625
83
0.657895
210
1,710
5.090476
0.338095
0.12348
0.084191
0.086062
0.241347
0.157156
0.157156
0.157156
0.093545
0.093545
0
0.002297
0.236257
1,710
47
84
36.382979
0.816233
0
0
0.054054
0
0
0.055588
0
0
0
0
0
0
1
0.135135
false
0.027027
0.162162
0
0.378378
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
0
0
1
0
f837f76576c4f735618a20e51681085aeb556de5
251
py
Python
led/hhh/rta2.py
tushar-tdm/osvi
813499162b7f487ccafa8c08d3e5bf6d05b074de
[ "CC-BY-3.0" ]
3
2020-02-21T01:16:26.000Z
2020-07-12T08:06:11.000Z
led/hhh/rta2.py
tushar-tdm/osvi
813499162b7f487ccafa8c08d3e5bf6d05b074de
[ "CC-BY-3.0" ]
6
2020-02-11T23:27:43.000Z
2022-03-11T23:34:39.000Z
led/hhh/rta2.py
tushar-tdm/osvi
813499162b7f487ccafa8c08d3e5bf6d05b074de
[ "CC-BY-3.0" ]
null
null
null
import os import sys import serial import time import struct ser = serial.Serial('/dev/ttyACM0',9600) led = sys.argv[1] act = sys.argv[2] l = str(led) """a = str(act)""" time.sleep(5) ser.write(struct.pack(l.encode()) """ ser.write(l.encode()) """
14.764706
40
0.661355
43
251
3.860465
0.534884
0.084337
0
0
0
0
0
0
0
0
0
0.036697
0.131474
251
16
41
15.6875
0.724771
0
0
0
0
0
0.058824
0
0
0
0
0
0
0
null
null
0
0.454545
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
1
0
0
0
0
2
f838fea76677e89d488005a23aab7f853eac184d
11,397
py
Python
app.py
KendraObika/Froggit
3734d74de6b7febabb6c1645b61e42928203cf63
[ "MIT" ]
null
null
null
app.py
KendraObika/Froggit
3734d74de6b7febabb6c1645b61e42928203cf63
[ "MIT" ]
null
null
null
app.py
KendraObika/Froggit
3734d74de6b7febabb6c1645b61e42928203cf63
[ "MIT" ]
null
null
null
""" Primary module for Froggit This module contains the main controller class for the Froggit application. There is no need for any additional classes in this module. If you need more classes, 99% of the time they belong in either the lanes module or the models module. If you are unsure about where a new class should...
41.443636
87
0.668246
1,643
11,397
4.537432
0.224589
0.022938
0.035681
0.019316
0.313213
0.245473
0.208719
0.176258
0.15721
0.146747
0
0.002167
0.271124
11,397
274
88
41.594891
0.895269
0.59542
0
0.35443
0
0
0.030877
0
0
0
0
0
0
1
0.088608
false
0
0.063291
0
0.164557
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
0
0
1
0
f83913edc4b000ba4986205d63145c52269b4655
1,252
py
Python
utils.py
rsoorajs/deecubes-telegram-bot
223710eb117c1333fefcff22bcf473e89e41c769
[ "MIT" ]
2
2017-10-08T19:02:01.000Z
2020-05-16T21:55:18.000Z
utils.py
rsoorajs/deecubes-telegram-bot
223710eb117c1333fefcff22bcf473e89e41c769
[ "MIT" ]
null
null
null
utils.py
rsoorajs/deecubes-telegram-bot
223710eb117c1333fefcff22bcf473e89e41c769
[ "MIT" ]
3
2018-08-05T18:36:58.000Z
2020-05-16T21:55:19.000Z
import logging from functools import wraps from PIL import Image, ImageFont, ImageDraw from config import LIST_ALLOWED_USERS def restricted(func): @wraps(func) def wrapped(_, bot, update, *args, **kwargs): user_id = update.effective_user.id if LIST_ALLOWED_USERS: if user_id not in LIST_ALLOWED_USER...
25.04
90
0.683706
176
1,252
4.721591
0.448864
0.028881
0.057762
0.045728
0.036101
0
0
0
0
0
0
0.010101
0.209265
1,252
49
91
25.55102
0.829293
0.06869
0
0.055556
0
0
0.041237
0
0
0
0
0.020408
0
1
0.083333
false
0
0.111111
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
f83abdd41d8480514557524b539c95519e6c83ef
152
py
Python
__init__.py
cmt-qo/cm-flakes
c11f37b50b088cf5c876ef8a6161b7d8d775e99b
[ "MIT" ]
6
2019-11-04T07:04:24.000Z
2021-02-10T21:35:00.000Z
__init__.py
cmt-qo/cm-flakes
c11f37b50b088cf5c876ef8a6161b7d8d775e99b
[ "MIT" ]
null
null
null
__init__.py
cmt-qo/cm-flakes
c11f37b50b088cf5c876ef8a6161b7d8d775e99b
[ "MIT" ]
2
2020-08-07T09:29:41.000Z
2021-02-10T21:35:05.000Z
from .Camera import * from .GloveBox import * from .Microscope import * from .Stage import * from .UserInterface import * from .NeuralNetwork import *
25.333333
28
0.756579
18
152
6.388889
0.444444
0.434783
0
0
0
0
0
0
0
0
0
0
0.164474
152
6
29
25.333333
0.905512
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
f83ba25f5a20e6c46fa842756d48009b7d4b11f6
4,444
py
Python
neural_semigroups/mace4_semigroups_dataset.py
zarebulic/neural-semigroup-experiment
c554acb17d264ba810009f8b86c35ee9f8c4d1f4
[ "Apache-2.0" ]
6
2020-04-05T23:24:54.000Z
2021-11-15T11:17:09.000Z
neural_semigroups/mace4_semigroups_dataset.py
zarebulic/neural-semigroup-experiment
c554acb17d264ba810009f8b86c35ee9f8c4d1f4
[ "Apache-2.0" ]
23
2020-03-15T09:09:54.000Z
2022-03-29T22:32:23.000Z
neural_semigroups/mace4_semigroups_dataset.py
zarebulic/neural-semigroup-experiment
c554acb17d264ba810009f8b86c35ee9f8c4d1f4
[ "Apache-2.0" ]
null
null
null
""" Copyright 2019-2021 Boris Shminke 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 t...
34.71875
78
0.617912
532
4,444
4.994361
0.37782
0.022582
0.030109
0.023711
0.065487
0.048927
0
0
0
0
0
0.013863
0.269577
4,444
127
79
34.992126
0.804683
0.489424
0
0
0
0
0.115972
0.01119
0
0
0
0
0
1
0.08
false
0
0.14
0
0.3
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
0
0
1
0
f83bb94361c259b35e4ff208fa028f2496100f01
7,501
py
Python
samples/data_inspect_utils.py
shachargluska/centerpose
01c2c8bfa9d3ee91807f2ffdcc48728d104265bd
[ "MIT" ]
245
2019-11-29T02:55:25.000Z
2022-03-30T07:30:18.000Z
samples/data_inspect_utils.py
shachargluska/centerpose
01c2c8bfa9d3ee91807f2ffdcc48728d104265bd
[ "MIT" ]
24
2019-11-29T10:05:00.000Z
2022-03-30T07:16:06.000Z
samples/data_inspect_utils.py
FishLiuabc/centerpose
555d753cd82693476f91f78c53aa4147f5a83015
[ "MIT" ]
45
2019-11-29T05:12:02.000Z
2022-03-21T02:20:36.000Z
from __future__ import absolute_import, division, print_function import cv2 import random import numpy as np import colorsys import matplotlib.pyplot as plt import matplotlib.patches as patches from matplotlib.patches import Polygon from skimage.measure import find_contours def log(text, array=None): """Prints a...
35.382075
94
0.55046
1,033
7,501
3.93514
0.264279
0.00861
0.005904
0.007872
0.032964
0.0123
0.0123
0
0
0
0
0.047572
0.321824
7,501
211
95
35.549763
0.751523
0.240101
0
0.059701
0
0
0.025332
0
0
0
0
0
0.007463
1
0.052239
false
0
0.067164
0
0.156716
0.022388
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
0
1
0
f83bc822a6f47feb415380dd8f541756419c1e6c
265
py
Python
tests/conftest.py
sparkythehuman/sms-service--send-message
8f095ba181f1d42df3968fe34d5e20f30851e021
[ "MIT" ]
null
null
null
tests/conftest.py
sparkythehuman/sms-service--send-message
8f095ba181f1d42df3968fe34d5e20f30851e021
[ "MIT" ]
null
null
null
tests/conftest.py
sparkythehuman/sms-service--send-message
8f095ba181f1d42df3968fe34d5e20f30851e021
[ "MIT" ]
null
null
null
import pytest @pytest.fixture(autouse=True) def set_up(monkeypatch): monkeypatch.setenv('TABLE_NAME', 'test-table') monkeypatch.setenv('TWILIO_ACCOUNT_SID', 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') monkeypatch.setenv('TWILIO_AUTH_TOKEN', 'my_auth_token')
33.125
82
0.784906
30
265
6.666667
0.666667
0.255
0.23
0
0
0
0
0
0
0
0
0
0.090566
265
8
83
33.125
0.829876
0
0
0
0
0
0.383459
0.12782
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.333333
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f83c3a927ff9df79fe83f0ce7fdfd551b1c6f921
7,741
py
Python
dapy/filters/particle.py
hassaniqbal209/data-assimilation
ec52d655395dbed547edf4b4f3df29f017633f1b
[ "MIT" ]
11
2020-07-29T07:46:39.000Z
2022-03-17T01:28:07.000Z
dapy/filters/particle.py
hassaniqbal209/data-assimilation
ec52d655395dbed547edf4b4f3df29f017633f1b
[ "MIT" ]
1
2020-07-14T11:49:17.000Z
2020-07-29T07:43:22.000Z
dapy/filters/particle.py
hassaniqbal209/data-assimilation
ec52d655395dbed547edf4b4f3df29f017633f1b
[ "MIT" ]
10
2020-07-14T11:34:24.000Z
2022-03-07T09:08:12.000Z
"""Particle filters for inference in state space models.""" import abc from typing import Tuple, Dict, Callable, Any, Optional import numpy as np from numpy.random import Generator from scipy.special import logsumexp from scipy.sparse import csr_matrix from dapy.filters.base import AbstractEnsembleFilter from dapy.mod...
44.745665
88
0.689058
879
7,741
5.88851
0.302617
0.074189
0.063756
0.027821
0.283037
0.267195
0.191461
0.186631
0.118624
0.098532
0
0.010064
0.255523
7,741
172
89
45.005814
0.888079
0.463764
0
0.168539
0
0
0
0
0
0
0
0
0
1
0.067416
false
0.011236
0.101124
0
0.247191
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
0
0
1
0
f83d223baea30c7408f539bf887906161d4b99ea
1,477
py
Python
pokemon.py
bran-almeida/Pokemon_Game
061c9e1b53d8cbaa7366634535288bb2868d6885
[ "MIT" ]
null
null
null
pokemon.py
bran-almeida/Pokemon_Game
061c9e1b53d8cbaa7366634535288bb2868d6885
[ "MIT" ]
null
null
null
pokemon.py
bran-almeida/Pokemon_Game
061c9e1b53d8cbaa7366634535288bb2868d6885
[ "MIT" ]
null
null
null
import random class Pokemon: def __init__(self, especie, level=None, nome=None): self.especie = especie if nome: self.nome = nome else: self.nome = especie if level: self.level = level else: self.level = ra...
27.867925
83
0.564658
176
1,477
4.676136
0.272727
0.080194
0.063183
0.082625
0.315917
0.315917
0.315917
0.274605
0.17983
0.17983
0
0.00995
0.319567
1,477
53
84
27.867925
0.808955
0
0
0.25
0
0.025
0.227334
0
0
0
0
0
0
1
0.15
false
0
0.025
0.025
0.5
0.125
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
0
1
0
f83da86dbe71993fb962e0b2187a7e3ca515bae8
2,254
py
Python
recipes/Python/577563_Vectorize_Operation/recipe-577563.py
tdiprima/code
61a74f5f93da087d27c70b2efe779ac6bd2a3b4f
[ "MIT" ]
2,023
2017-07-29T09:34:46.000Z
2022-03-24T08:00:45.000Z
recipes/Python/577563_Vectorize_Operation/recipe-577563.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
32
2017-09-02T17:20:08.000Z
2022-02-11T17:49:37.000Z
recipes/Python/577563_Vectorize_Operation/recipe-577563.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
780
2017-07-28T19:23:28.000Z
2022-03-25T20:39:41.000Z
""" Copyright 2011 Shao-Chuan Wang <shaochuan.wang AT gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to ...
40.25
81
0.732476
345
2,254
4.669565
0.414493
0.054624
0.081937
0.089385
0.165736
0.03352
0.03352
0.03352
0
0
0
0.007081
0.185448
2,254
55
82
40.981818
0.87037
0
0
0
0
0
0.014559
0
0
0
0
0
0
0
null
null
0
0.107143
null
null
0.071429
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