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
2fdc4623180df16635760047b5d6376c39c033c6
796
py
Python
tests/python/test_serial_execution.py
kxxt/taichi
15f39b79c258080f1e34fcbdc29646d9ced0a4fe
[ "MIT" ]
11,699
2020-01-09T03:02:46.000Z
2022-03-31T20:59:08.000Z
tests/python/test_serial_execution.py
kxxt/taichi
15f39b79c258080f1e34fcbdc29646d9ced0a4fe
[ "MIT" ]
3,589
2020-01-09T03:18:25.000Z
2022-03-31T19:06:42.000Z
tests/python/test_serial_execution.py
kxxt/taichi
15f39b79c258080f1e34fcbdc29646d9ced0a4fe
[ "MIT" ]
1,391
2020-01-09T03:02:54.000Z
2022-03-31T08:44:29.000Z
import taichi as ti @ti.test(arch=ti.cpu, cpu_max_num_threads=1) def test_serial_range_for(): n = 1024 * 32 s = ti.field(dtype=ti.i32, shape=n) counter = ti.field(dtype=ti.i32, shape=()) @ti.kernel def fill_range(): counter[None] = 0 for i in range(n): s[ti.atomic_add(...
20.947368
50
0.572864
133
796
3.293233
0.255639
0.027397
0.109589
0.127854
0.885845
0.872146
0.789954
0.789954
0.789954
0.561644
0
0.045296
0.278894
796
37
51
21.513514
0.71777
0
0
0.703704
0
0
0
0
0
0
0
0
0.074074
1
0.148148
false
0
0.037037
0
0.185185
0
0
0
0
null
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
2ff74c115a3c4fa90b6c267946a977855e2a702b
3,599
py
Python
day11/day11.py
Gramet/adventofcode2020
2817e585a9363228e1706d2bbc0f3a3f9e17ebca
[ "MIT" ]
null
null
null
day11/day11.py
Gramet/adventofcode2020
2817e585a9363228e1706d2bbc0f3a3f9e17ebca
[ "MIT" ]
null
null
null
day11/day11.py
Gramet/adventofcode2020
2817e585a9363228e1706d2bbc0f3a3f9e17ebca
[ "MIT" ]
null
null
null
from copy import deepcopy with open("input", "r") as f: lines = f.readlines() dict_seat = {".": -1, "L": 0, "#": 1} def change_seats(mat): mat_cop = deepcopy(mat) for row in range(1, len(mat) - 1): for col in range(1, len(mat[row]) - 1): num_neigh = 0 num_neigh += ( ...
31.570175
84
0.514865
578
3,599
3.029412
0.102076
0.102798
0.143918
0.109652
0.827527
0.821245
0.791548
0.717304
0.717304
0.679612
0
0.045286
0.32509
3,599
113
85
31.849558
0.675587
0.001667
0
0.455556
0
0
0.005848
0
0
0
0
0
0
1
0.033333
false
0
0.011111
0
0.088889
0.055556
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
640b4bc4755cb6f9ef4aa438134fdc5061b708bb
15,792
py
Python
11 - Extra-- sonos snips voice app/tests/services/deezer/test_deezer_search.py
RedaMastouri/marvis
75e90a66d0746f12ba6231a4cab16ab40b42928e
[ "MIT" ]
1
2021-12-29T08:44:34.000Z
2021-12-29T08:44:34.000Z
11 - Extra-- sonos snips voice app/tests/services/deezer/test_deezer_search.py
RedaMastouri/marvis
75e90a66d0746f12ba6231a4cab16ab40b42928e
[ "MIT" ]
null
null
null
11 - Extra-- sonos snips voice app/tests/services/deezer/test_deezer_search.py
RedaMastouri/marvis
75e90a66d0746f12ba6231a4cab16ab40b42928e
[ "MIT" ]
null
null
null
import mock, pytest import requests from snipssonos.entities.album import Album from snipssonos.entities.artist import Artist from snipssonos.entities.device import Device from snipssonos.entities.track import Track from snipssonos.services.deezer.music_search_and_play_service import DeezerMusicSearchService from snip...
52.816054
120
0.725367
1,878
15,792
5.653355
0.054313
0.104644
0.158519
0.146934
0.897994
0.892437
0.883583
0.871998
0.846944
0.835829
0
0.00201
0.180914
15,792
298
121
52.993289
0.818786
0.00171
0
0.627358
0
0
0.247684
0.171362
0
0
0
0
0.174528
1
0.122642
false
0
0.042453
0.004717
0.174528
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
64383b037bb9caf75b6abb2e393daf1c191bf197
25
py
Python
spharpy/transforms/__init__.py
mberz/spharpy
e74c30c297dd9ad887e7345c836a515daa6f21f4
[ "MIT" ]
null
null
null
spharpy/transforms/__init__.py
mberz/spharpy
e74c30c297dd9ad887e7345c836a515daa6f21f4
[ "MIT" ]
null
null
null
spharpy/transforms/__init__.py
mberz/spharpy
e74c30c297dd9ad887e7345c836a515daa6f21f4
[ "MIT" ]
null
null
null
from .rotations import *
12.5
24
0.76
3
25
6.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.16
25
1
25
25
0.904762
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
1
0
0
6
ff267516e3c30ea6f478b8a0ca0a032c5808f8f2
2,987
py
Python
ApiGen.py
dans98/Sublime-ApiGen
38be40b7003d8bf0592cb38b7f1f38f9a1e0e249
[ "BSD-3-Clause" ]
3
2015-05-25T18:53:04.000Z
2017-05-18T14:57:09.000Z
ApiGen.py
dans98/Sublime-ApiGen
38be40b7003d8bf0592cb38b7f1f38f9a1e0e249
[ "BSD-3-Clause" ]
2
2015-08-03T03:28:33.000Z
2016-02-10T21:57:46.000Z
ApiGen.py
dans98/Sublime-ApiGen
38be40b7003d8bf0592cb38b7f1f38f9a1e0e249
[ "BSD-3-Clause" ]
null
null
null
import sys, os import sublime, sublime_plugin import ApiGen.ApiGenHelper as ag class ApiGenShowConsoleCommand(sublime_plugin.TextCommand): def run(self, edit): self.view.window().run_command("show_panel", {"panel": 'console'}) ag.startLine() class ApiGenBaseClass(sublime_plugin.TextCommand): d...
32.11828
85
0.611985
323
2,987
5.529412
0.232198
0.044793
0.033595
0.047032
0.780515
0.736282
0.723964
0.723964
0.704367
0.679731
0
0.002295
0.270506
2,987
92
86
32.467391
0.817347
0
0
0.746667
0
0
0.12387
0.014731
0
0
0
0
0
1
0.146667
false
0
0.04
0.013333
0.32
0.053333
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
ff359720aaa5e08faf23730bd5afdac7bd7850ef
48
py
Python
app/test/__init__.py
toshiks/number_recognizer
5dee9da830d1a790578eceb923ebf7ffc776339b
[ "MIT" ]
null
null
null
app/test/__init__.py
toshiks/number_recognizer
5dee9da830d1a790578eceb923ebf7ffc776339b
[ "MIT" ]
null
null
null
app/test/__init__.py
toshiks/number_recognizer
5dee9da830d1a790578eceb923ebf7ffc776339b
[ "MIT" ]
null
null
null
from .recognize_numbers import RecognizeNumbers
24
47
0.895833
5
48
8.4
1
0
0
0
0
0
0
0
0
0
0
0
0.083333
48
1
48
48
0.954545
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
1
0
0
6
442262ef099551daf830ddb5e764ab89a2b59750
27
py
Python
caffeination/__init__.py
neisor/caffeination
ef8d76d43b8e47b9833828d224bae79fad19fa32
[ "MIT" ]
null
null
null
caffeination/__init__.py
neisor/caffeination
ef8d76d43b8e47b9833828d224bae79fad19fa32
[ "MIT" ]
null
null
null
caffeination/__init__.py
neisor/caffeination
ef8d76d43b8e47b9833828d224bae79fad19fa32
[ "MIT" ]
null
null
null
from caffeination import *
13.5
26
0.814815
3
27
7.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.148148
27
1
27
27
0.956522
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
1
0
0
6
4427d2e07d69f79a133e859003206e50f4130d20
104
py
Python
app/submit/__init__.py
nycrecords/GPP
7b7d1a26f6b1cbde051a0a0642407f9aa36e5b2e
[ "Apache-2.0" ]
null
null
null
app/submit/__init__.py
nycrecords/GPP
7b7d1a26f6b1cbde051a0a0642407f9aa36e5b2e
[ "Apache-2.0" ]
1
2021-03-20T00:32:17.000Z
2021-03-20T00:32:17.000Z
app/submit/__init__.py
nycrecords/GPP
7b7d1a26f6b1cbde051a0a0642407f9aa36e5b2e
[ "Apache-2.0" ]
null
null
null
from flask import Blueprint submit_views = Blueprint('submit', __name__) from app.submit import views
17.333333
44
0.798077
14
104
5.571429
0.571429
0.384615
0
0
0
0
0
0
0
0
0
0
0.134615
104
5
45
20.8
0.866667
0
0
0
0
0
0.057692
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0.666667
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
1
0
6
445457f2da1556b0da1831413209e9f51a23296f
161
py
Python
bin/test.py
malachi-iot/garageopener
129d245ad81e8261dd1f70c9ac79ad89615419ce
[ "MIT" ]
null
null
null
bin/test.py
malachi-iot/garageopener
129d245ad81e8261dd1f70c9ac79ad89615419ce
[ "MIT" ]
1
2017-02-01T06:01:11.000Z
2017-02-01T06:01:11.000Z
bin/test.py
malachi-iot/garageopener
129d245ad81e8261dd1f70c9ac79ad89615419ce
[ "MIT" ]
null
null
null
#!/usr/bin/python #from click import click import click import os os.environ['x'] = '100000' if click.confirm("test", default='Y'): click.echo("Did it")
14.636364
38
0.664596
25
161
4.28
0.72
0.308411
0.299065
0.411215
0
0
0
0
0
0
0
0.044118
0.15528
161
10
39
16.1
0.742647
0.248447
0
0
0
0
0.151261
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
925c4610f83ae9df679077db8e66ca7ebae3558b
6,486
py
Python
thesis_visfunc.py
EloyRD/ThesisExp
dfb890708e95d23cc68ff79b0858630c12aa940d
[ "Unlicense" ]
null
null
null
thesis_visfunc.py
EloyRD/ThesisExp
dfb890708e95d23cc68ff79b0858630c12aa940d
[ "Unlicense" ]
null
null
null
thesis_visfunc.py
EloyRD/ThesisExp
dfb890708e95d23cc68ff79b0858630c12aa940d
[ "Unlicense" ]
null
null
null
from matplotlib import cm from matplotlib import gridspec from mpl_toolkits.mplot3d import axes3d import matplotlib.pyplot as plt import numpy as np def EA_fitn_dev(fitness_res, run_s, min_f=0): fitness_s = fitness_res.copy() fitness_s.reset_index() fitness_s = fitness_s[fitness_s['run'] == run_s] fi...
32.592965
123
0.629356
1,026
6,486
3.80117
0.15692
0.007692
0.027692
0.012308
0.794872
0.778718
0.774615
0.774615
0.763333
0.757692
0
0.018128
0.217545
6,486
199
124
32.592965
0.750345
0.15202
0
0.725191
0
0
0.073332
0
0
0
0
0
0
1
0.030534
false
0
0.038168
0
0.068702
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
2ba339a53c90d9b88c52b589ebc67c6f6e7dea88
393
py
Python
models/__init__.py
nguyenxuanhoi2903/SRSF_summarization
3d19e6b7669e0b22bab533fc637a434f379ed392
[ "MIT" ]
1
2020-10-08T09:10:55.000Z
2020-10-08T09:10:55.000Z
models/__init__.py
nguyenxuanhoi2903/SRSF_summarization
3d19e6b7669e0b22bab533fc637a434f379ed392
[ "MIT" ]
null
null
null
models/__init__.py
nguyenxuanhoi2903/SRSF_summarization
3d19e6b7669e0b22bab533fc637a434f379ed392
[ "MIT" ]
null
null
null
from models.BasicModule import BasicModule from models.RNN_RNN import RNN_RNN from models.SRSF_RNN_RNN_V2 import SRSF_RNN_RNN_V2 from models.SRSF_CNN_RNN import SRSF_CNN_RNN from models.SRS2F_RNN_RNN import SRS2F_RNN_RNN from models.SRSF_RNN_RNN_V3 import SRSF_RNN_RNN_V3 from models.SRSF_RNN_RNN_V4 import SRSF_RNN_RNN_...
39.3
50
0.885496
75
393
4.24
0.16
0.188679
0.188679
0.160377
0.226415
0.163522
0.163522
0
0
0
0
0.022409
0.091603
393
9
51
43.666667
0.868347
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
2bafa48043fca71c18f543448c3419ecffff35ea
30
py
Python
zquery/__init__.py
shane-breeze/zquery
f3cca7c29cc83178e6cbab293d45af14473adbf6
[ "MIT" ]
null
null
null
zquery/__init__.py
shane-breeze/zquery
f3cca7c29cc83178e6cbab293d45af14473adbf6
[ "MIT" ]
null
null
null
zquery/__init__.py
shane-breeze/zquery
f3cca7c29cc83178e6cbab293d45af14473adbf6
[ "MIT" ]
null
null
null
from .process_tables import *
15
29
0.8
4
30
5.75
1
0
0
0
0
0
0
0
0
0
0
0
0.133333
30
1
30
30
0.884615
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
1
0
0
6
2bd668c85d48fd55bb0ca58dbb3063963326772a
37
py
Python
pydapper/mssql/__init__.py
samnimoh/pydapper
28e02a82339c4373aae043483868c84946e4aca9
[ "MIT" ]
19
2022-01-19T15:30:57.000Z
2022-03-10T15:15:56.000Z
pydapper/mssql/__init__.py
samnimoh/pydapper
28e02a82339c4373aae043483868c84946e4aca9
[ "MIT" ]
17
2022-01-19T06:23:35.000Z
2022-03-06T17:09:25.000Z
pydapper/mssql/__init__.py
samnimoh/pydapper
28e02a82339c4373aae043483868c84946e4aca9
[ "MIT" ]
2
2022-02-05T02:18:02.000Z
2022-02-17T08:39:54.000Z
from .pymssql import PymssqlCommands
18.5
36
0.864865
4
37
8
1
0
0
0
0
0
0
0
0
0
0
0
0.108108
37
1
37
37
0.969697
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
1
0
0
6
a60b502cac4ad29a3f09a054f6dbf4369ba9e5b9
2,120
py
Python
src/day3_test.py
nlasheras/aoc-2021
17af9108e2f907747c9aca784e52c80e81949845
[ "MIT" ]
null
null
null
src/day3_test.py
nlasheras/aoc-2021
17af9108e2f907747c9aca784e52c80e81949845
[ "MIT" ]
null
null
null
src/day3_test.py
nlasheras/aoc-2021
17af9108e2f907747c9aca784e52c80e81949845
[ "MIT" ]
null
null
null
import unittest # pylint: disable=wildcard-import # pylint: disable=unused-wildcard-import from day3 import * class BinaryDiagnosticExampleTest(unittest.TestCase): """Unit tests for Day 3 using the problem example input.""" def setUp(self): self.bits, self.bit_length = read_input("input3_test.txt") ...
36.551724
73
0.698113
264
2,120
5.390152
0.231061
0.068869
0.127899
0.115952
0.756852
0.756852
0.756852
0.756852
0.704849
0.704849
0
0.065812
0.190094
2,120
57
74
37.192982
0.762959
0.079717
0
0.5
0
0
0.058277
0
0
0
0
0
0.25
1
0.25
false
0
0.05
0
0.35
0
0
0
0
null
0
0
0
0
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
1
0
0
0
0
0
0
0
6
a64827e9b7432995fe9f6251f80255727a57c0b7
3,028
py
Python
mozillians/users/migrations/0047_auto_20200925_0405.py
mozilla/vouched-mozillians
88fca9aea0ab1e173cbc33776aa388b956859559
[ "BSD-3-Clause" ]
1
2020-10-27T12:17:34.000Z
2020-10-27T12:17:34.000Z
mozillians/users/migrations/0047_auto_20200925_0405.py
akatsoulas/vouched-mozillians
6dcfaf61518ff038403b2b3e06ad9b813135b287
[ "BSD-3-Clause" ]
5
2020-09-28T19:04:19.000Z
2020-10-27T19:48:31.000Z
mozillians/users/migrations/0047_auto_20200925_0405.py
akatsoulas/vouched-mozillians
6dcfaf61518ff038403b2b3e06ad9b813135b287
[ "BSD-3-Clause" ]
2
2020-09-22T08:55:10.000Z
2020-09-24T10:40:58.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.25 on 2020-09-25 11:05 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0046_auto_20200923_0630'), ] operations = [ migrations.RemoveField( model_name='userprofile'...
26.79646
79
0.516513
228
3,028
6.653509
0.236842
0.142386
0.394199
0.454845
0.818062
0.818062
0.729071
0.520765
0.08174
0
0
0.018977
0.373514
3,028
112
80
27.035714
0.780706
0.022787
0
0.673077
1
0
0.185047
0.007781
0
0
0
0
0
1
0
false
0
0.009615
0
0.038462
0
0
0
0
null
0
1
1
1
1
1
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
6
a67bede3ad18972acb4cd05ddff127fb2e7201ed
47
py
Python
frappe_notification/frappe_notification/controllers/channels/__init__.py
leam-tech/frappe_notification
79e40f2c541d86d714a0b8d48b87f32b2f85076a
[ "MIT" ]
null
null
null
frappe_notification/frappe_notification/controllers/channels/__init__.py
leam-tech/frappe_notification
79e40f2c541d86d714a0b8d48b87f32b2f85076a
[ "MIT" ]
null
null
null
frappe_notification/frappe_notification/controllers/channels/__init__.py
leam-tech/frappe_notification
79e40f2c541d86d714a0b8d48b87f32b2f85076a
[ "MIT" ]
null
null
null
from .get_channels import get_channels # noqa
23.5
46
0.808511
7
47
5.142857
0.714286
0.611111
0
0
0
0
0
0
0
0
0
0
0.148936
47
1
47
47
0.9
0.085106
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
a6867508e805dfec3fae917e2cff9bdeea3af8a2
30
py
Python
my_core/auth/__init__.py
Xerrex/ak-Blog
8e1c3ad5ce0c1a542be1a7361e3b8ac4d72ba76b
[ "MIT" ]
null
null
null
my_core/auth/__init__.py
Xerrex/ak-Blog
8e1c3ad5ce0c1a542be1a7361e3b8ac4d72ba76b
[ "MIT" ]
3
2021-06-01T23:50:16.000Z
2021-07-06T16:17:00.000Z
my_core/auth/__init__.py
Xerrex/ak-Blog
8e1c3ad5ce0c1a542be1a7361e3b8ac4d72ba76b
[ "MIT" ]
null
null
null
from .routes import auth_bp
7.5
27
0.766667
5
30
4.4
1
0
0
0
0
0
0
0
0
0
0
0
0.2
30
3
28
10
0.916667
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
1
0
0
6
470a49223903802390e1050772963eb4c62209e5
40,946
py
Python
iter8_analytics/api/analytics/endpoints/examples.py
mtoslalibu/iter8-analytics
d66ad1b0533edc4f4471890c08cb9ea8002c70c7
[ "Apache-2.0" ]
null
null
null
iter8_analytics/api/analytics/endpoints/examples.py
mtoslalibu/iter8-analytics
d66ad1b0533edc4f4471890c08cb9ea8002c70c7
[ "Apache-2.0" ]
null
null
null
iter8_analytics/api/analytics/endpoints/examples.py
mtoslalibu/iter8-analytics
d66ad1b0533edc4f4471890c08cb9ea8002c70c7
[ "Apache-2.0" ]
null
null
null
import copy eip_example = { 'start_time': "2020-04-03T12:55:50.568Z", 'iteration_number': 1, 'service_name': "reviews", "metric_specs": { "counter_metrics": [ { "id": "iter8_request_count", "query_template": "sum(increase(istio_requests_total{reporter...
35.917544
164
0.46703
3,460
40,946
5.234393
0.088439
0.051681
0.047209
0.033129
0.865662
0.848766
0.835404
0.818784
0.792944
0.772238
0
0.130053
0.395887
40,946
1,139
165
35.949078
0.602118
0
0
0.635797
0
0.008905
0.44207
0.166952
0
0
0
0
0
1
0
false
0
0.00089
0
0.00089
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
470e96ac500ef0ae4dfff76e6d39cd38f079527f
7,174
py
Python
VMIwithDRL/src/implementation/optimizer/AllocationOptimizer.py
juan-carvajal/VMIwithDRL
d47f9d82d69fc02604c23a55e67223f28643fcef
[ "MIT" ]
null
null
null
VMIwithDRL/src/implementation/optimizer/AllocationOptimizer.py
juan-carvajal/VMIwithDRL
d47f9d82d69fc02604c23a55e67223f28643fcef
[ "MIT" ]
null
null
null
VMIwithDRL/src/implementation/optimizer/AllocationOptimizer.py
juan-carvajal/VMIwithDRL
d47f9d82d69fc02604c23a55e67223f28643fcef
[ "MIT" ]
null
null
null
# Import PuLP modeler functions from pulp import * import numpy as np class AllocationOptimizer(): def __init__(self, II, A, D, CV, CF,R,H): self.II = II self.A = A self.D = D self.CV = CV self.CF = CF self.M = 1000000 self.R=list(range(R)) self.H=li...
30.922414
148
0.484946
1,341
7,174
2.59135
0.082774
0.050647
0.075971
0.063309
0.843741
0.818417
0.803453
0.783885
0.721151
0.617554
0
0.045845
0.270282
7,174
232
149
30.922414
0.617956
0.455394
0
0.180556
0
0
0.013517
0.005677
0
0
0
0
0
1
0.027778
false
0
0.027778
0
0.083333
0.041667
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
5b30a508ea22374794ead405926cfa89f2d5ba61
116
py
Python
cqbot/pojo/__init__.py
Wzp-2008/CQBot
f9be2c290573adafa24650f5502de89aa315b306
[ "MIT" ]
null
null
null
cqbot/pojo/__init__.py
Wzp-2008/CQBot
f9be2c290573adafa24650f5502de89aa315b306
[ "MIT" ]
null
null
null
cqbot/pojo/__init__.py
Wzp-2008/CQBot
f9be2c290573adafa24650f5502de89aa315b306
[ "MIT" ]
null
null
null
from .Command import * from .User import * from .Message import * from .Errors import * from .ReactionInfo import *
19.333333
27
0.741379
15
116
5.733333
0.466667
0.465116
0
0
0
0
0
0
0
0
0
0
0.172414
116
5
28
23.2
0.895833
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
5b62dacf230a43265660ebc8448aef97950a41df
372
py
Python
patient/mysite/patients/utils.py
easycui/CancerPatientData
d461bbd805326e6acb9a05efaf15089ba4485d91
[ "MIT" ]
null
null
null
patient/mysite/patients/utils.py
easycui/CancerPatientData
d461bbd805326e6acb9a05efaf15089ba4485d91
[ "MIT" ]
null
null
null
patient/mysite/patients/utils.py
easycui/CancerPatientData
d461bbd805326e6acb9a05efaf15089ba4485d91
[ "MIT" ]
null
null
null
def condition(): return ['min_PSA','max_PSA','min_prostate_vol','max_prostate_vol','min_lesion_size','max_lesion_size', 'min_sector','max_sector','min_PIRADS_score','max_PIRADS_score','min_GLEASON_score','max_GLEASON_score'] def attrs(): return ['patient_ID','PSA','prostate_vol', 'l...
53.142857
120
0.701613
50
372
4.72
0.34
0.139831
0
0
0
0
0
0
0
0
0
0
0.123656
372
7
121
53.142857
0.723926
0
0
0
0
0
0.613941
0
0
0
0
0
0
1
0.333333
true
0
0
0.333333
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
1
1
0
0
1
1
0
0
6
5b7e7ee1536240d6aca7b0a0ba57f2731b45186e
61,448
py
Python
PyCommon/modules/Simulator/hpLCPSimul2.py
hpgit/HumanFoot
f9a1a341b7c43747bddcd5584b8c98a0d1ac2973
[ "Apache-2.0" ]
null
null
null
PyCommon/modules/Simulator/hpLCPSimul2.py
hpgit/HumanFoot
f9a1a341b7c43747bddcd5584b8c98a0d1ac2973
[ "Apache-2.0" ]
null
null
null
PyCommon/modules/Simulator/hpLCPSimul2.py
hpgit/HumanFoot
f9a1a341b7c43747bddcd5584b8c98a0d1ac2973
[ "Apache-2.0" ]
null
null
null
# import Optimization.csLCPLemkeSolver as lcp # import Optimization.csLCPDantzigSolver as lcpD from cvxopt import matrix as cvxMatrix from cvxopt import solvers as cvxSolvers # from openopt import LCP as openLCP from PyCommon.modules.ArticulatedBody import ysJacobian as yjc from PyCommon.modules.Util import ysPython...
38.940431
159
0.567488
7,978
61,448
4.342692
0.058285
0.026554
0.009294
0.00788
0.84434
0.815967
0.799746
0.764735
0.741875
0.738527
0
0.032568
0.271954
61,448
1,577
160
38.965124
0.741869
0.289285
0
0.67205
0
0
0.006334
0
0
0
0
0.001268
0
1
0.018634
false
0.012422
0.018634
0
0.068323
0.007453
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
f350429f1fd3045200b22c2a7fb2ba1e93b603be
30
py
Python
dataset/__init__.py
genisplaja/tf-diffwave
32b0b403e7ca157f015f9af9f7dcdfa79e312a6a
[ "MIT" ]
23
2020-09-29T08:38:09.000Z
2022-03-16T03:00:44.000Z
dataset/__init__.py
genisplaja/tf-diffwave
32b0b403e7ca157f015f9af9f7dcdfa79e312a6a
[ "MIT" ]
1
2020-10-03T08:36:48.000Z
2020-10-03T08:36:48.000Z
dataset/__init__.py
genisplaja/tf-diffwave
32b0b403e7ca157f015f9af9f7dcdfa79e312a6a
[ "MIT" ]
7
2020-09-29T19:11:53.000Z
2022-01-06T14:29:21.000Z
from .ljspeech import LJSpeech
30
30
0.866667
4
30
6.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.1
30
1
30
30
0.962963
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
1
0
0
6
f35348d993471f770f1a3ed461777b9ee8ca9166
27
py
Python
examples/folsom/__init__.py
quaquel/ptreeopt
d4df26ecd877185b0a8c02c8ecbd3c73e54f6f52
[ "MIT" ]
26
2017-02-27T01:30:19.000Z
2022-02-23T07:26:46.000Z
examples/folsom/__init__.py
quaquel/ptreeopt
d4df26ecd877185b0a8c02c8ecbd3c73e54f6f52
[ "MIT" ]
8
2018-06-28T15:52:49.000Z
2021-09-27T15:49:50.000Z
examples/folsom/__init__.py
quaquel/ptreeopt
d4df26ecd877185b0a8c02c8ecbd3c73e54f6f52
[ "MIT" ]
5
2018-03-31T12:48:00.000Z
2021-09-22T16:36:59.000Z
from .folsom import Folsom
13.5
26
0.814815
4
27
5.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.148148
27
1
27
27
0.956522
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
1
0
0
6
f3866dafcf049d111f597aabaa3bf7cdad5fed08
394
py
Python
src/batter.py
codingaudrey/SoftBallStrategeSimulator
b0dc74984c1a0ff285b8403263740ac06d0199fc
[ "MIT" ]
null
null
null
src/batter.py
codingaudrey/SoftBallStrategeSimulator
b0dc74984c1a0ff285b8403263740ac06d0199fc
[ "MIT" ]
null
null
null
src/batter.py
codingaudrey/SoftBallStrategeSimulator
b0dc74984c1a0ff285b8403263740ac06d0199fc
[ "MIT" ]
null
null
null
from hit_distribution import HitDistribution from ball_in_play import BallInPlay class Batter: def __init__(self, hit_distribution: HitDistribution, name=""): self.hit_distribution = hit_distribution def swing(self, count=1) -> list[BallInPlay]: return self.hit_distribution.generate_balls_in_...
28.142857
67
0.751269
48
394
5.770833
0.479167
0.32491
0.274368
0.180505
0
0
0
0
0
0
0
0.003077
0.175127
394
13
68
30.307692
0.849231
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.222222
0.222222
0.888889
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
f3acb8e550509a11a76dc6b91e9497c9482f3199
10,853
py
Python
DCS325 Distributed System/Distributed File System/file_server/file_server_pb2_grpc.py
Lan-Jing/Courses
540db9499b8725ca5b82a2c4e7a3da09f73c0efa
[ "MIT" ]
1
2021-12-17T23:09:00.000Z
2021-12-17T23:09:00.000Z
DCS325 Distributed System/Distributed File System/file_server/file_server_pb2_grpc.py
Lan-Jing/Courses
540db9499b8725ca5b82a2c4e7a3da09f73c0efa
[ "MIT" ]
null
null
null
DCS325 Distributed System/Distributed File System/file_server/file_server_pb2_grpc.py
Lan-Jing/Courses
540db9499b8725ca5b82a2c4e7a3da09f73c0efa
[ "MIT" ]
1
2021-08-03T23:42:06.000Z
2021-08-03T23:42:06.000Z
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc import file_server_pb2 as file__server__pb2 class file_serverStub(object): """Missing associated documentation comment in .proto file.""" def __init__...
39.900735
87
0.6272
1,028
10,853
6.26751
0.11284
0.093124
0.088779
0.061462
0.847897
0.76781
0.753686
0.712401
0.686171
0.643489
0
0.00575
0.294941
10,853
271
88
40.04797
0.836252
0.061918
0
0.63964
1
0
0.059342
0.004161
0
0
0
0
0
1
0.072072
false
0
0.009009
0.031532
0.126126
0
0
0
0
null
0
0
0
1
1
1
1
0
1
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
6
1b061d1dfc8e2dd43ebe273b4dae4b374b3c5af6
89
py
Python
time_out.py
simonholmes001/structure_prediction-
6468267b9973422c169fb0a25a27f62e89b85d3d
[ "BSD-3-Clause" ]
null
null
null
time_out.py
simonholmes001/structure_prediction-
6468267b9973422c169fb0a25a27f62e89b85d3d
[ "BSD-3-Clause" ]
null
null
null
time_out.py
simonholmes001/structure_prediction-
6468267b9973422c169fb0a25a27f62e89b85d3d
[ "BSD-3-Clause" ]
null
null
null
import time print("TIME OUT") time.sleep(30) print("TIME OUT FINISHED, lets get going")
14.833333
42
0.730337
15
89
4.333333
0.666667
0.276923
0.369231
0
0
0
0
0
0
0
0
0.025974
0.134831
89
5
43
17.8
0.818182
0
0
0
0
0
0.460674
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0.5
1
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
1
0
0
0
0
1
0
6
1b1b103cef1a2994f50df1730042a0ed7620ba8e
36,119
py
Python
msgraph-cli-extensions/v1_0/usersfunctions_v1_0/azext_usersfunctions_v1_0/generated/commands.py
thewahome/msgraph-cli
33127d9efa23a0e5f5303c93242fbdbb73348671
[ "MIT" ]
null
null
null
msgraph-cli-extensions/v1_0/usersfunctions_v1_0/azext_usersfunctions_v1_0/generated/commands.py
thewahome/msgraph-cli
33127d9efa23a0e5f5303c93242fbdbb73348671
[ "MIT" ]
null
null
null
msgraph-cli-extensions/v1_0/usersfunctions_v1_0/azext_usersfunctions_v1_0/generated/commands.py
thewahome/msgraph-cli
33127d9efa23a0e5f5303c93242fbdbb73348671
[ "MIT" ]
null
null
null
# -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incor...
46.30641
237
0.818267
4,143
36,119
6.534395
0.044412
0.080674
0.101101
0.082225
0.865174
0.830858
0.797244
0.768802
0.720412
0.680223
0
0.010395
0.115756
36,119
779
238
46.365854
0.837247
0.015781
0
0.457711
0
0
0.403546
0.366568
0
0
0
0
0
1
0.001658
false
0.001658
0.003317
0
0.004975
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
1b3f34326625b4689c7e00359d28646107aaed81
5,714
py
Python
api/tests/tests_api_views.py
Nels885/csd_dashboard
aa5a3b970c50a2a93af722f962bd87c3728f233c
[ "MIT" ]
null
null
null
api/tests/tests_api_views.py
Nels885/csd_dashboard
aa5a3b970c50a2a93af722f962bd87c3728f233c
[ "MIT" ]
null
null
null
api/tests/tests_api_views.py
Nels885/csd_dashboard
aa5a3b970c50a2a93af722f962bd87c3728f233c
[ "MIT" ]
null
null
null
from django.urls import reverse from rest_framework.test import APITestCase, APIClient from django.contrib.auth.models import User from rest_framework.authtoken.models import Token class ApiTestCase(APITestCase): def setUp(self): self.client = APIClient() User.objects.create_user(username='toto',...
46.836066
113
0.672734
689
5,714
5.474601
0.130624
0.163043
0.20122
0.094645
0.764051
0.74894
0.739396
0.739396
0.68929
0.622481
0
0.014082
0.179734
5,714
121
114
47.223141
0.790698
0.036227
0
0.426966
0
0
0.148599
0.059658
0
0
0
0
0.460674
1
0.157303
false
0.044944
0.044944
0
0.213483
0
0
0
0
null
0
1
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
6
1b57e0d3d7beed21089d1b58dad68cab905d263d
11,095
py
Python
test/test_eofunc.py
dimaclimate/geocat-comp
dcb55e22d69d96762b683652cf83f6b9ef4fcc38
[ "Apache-2.0" ]
76
2019-09-20T20:13:45.000Z
2022-03-30T22:50:13.000Z
test/test_eofunc.py
albernsrya/geocat-comp
17e1e0129477b0a0d5671e949ed3bc2729ec8784
[ "Apache-2.0" ]
154
2019-07-24T20:02:27.000Z
2022-03-29T20:32:20.000Z
test/test_eofunc.py
albernsrya/geocat-comp
17e1e0129477b0a0d5671e949ed3bc2729ec8784
[ "Apache-2.0" ]
34
2019-07-18T20:02:38.000Z
2022-03-31T13:40:22.000Z
import sys from abc import ABCMeta from unittest import TestCase import numpy as np import numpy.testing as nt # from dask.array.tests.test_xarray import xr import xarray as xr # Import from directory structure if coverage test, or from installed # packages otherwise if "--cov" in str(sys.argv): from src.geocat.c...
33.020833
90
0.585219
1,516
11,095
4.027045
0.127968
0.073382
0.068141
0.061261
0.804914
0.788534
0.761835
0.761835
0.734644
0.718428
0
0.073872
0.291122
11,095
335
91
33.119403
0.702352
0.113655
0
0.659898
0
0
0.027789
0.002248
0
0
0
0.002985
0.269036
1
0.06599
false
0
0.040609
0
0.162437
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
1bba58961c22387ce00fb37bb33a92b583f04b69
121
py
Python
coco_assistant/utils/__init__.py
philipsgithub/COCO-Assistant
45db9d7a6c410d8aa51fc4e0fd83a11e65d4ce04
[ "MIT" ]
null
null
null
coco_assistant/utils/__init__.py
philipsgithub/COCO-Assistant
45db9d7a6c410d8aa51fc4e0fd83a11e65d4ce04
[ "MIT" ]
null
null
null
coco_assistant/utils/__init__.py
philipsgithub/COCO-Assistant
45db9d7a6c410d8aa51fc4e0fd83a11e65d4ce04
[ "MIT" ]
null
null
null
from .anchors import generate_anchors from .det2seg import det2seg from .remapper import CatRemapper from .misc import *
24.2
37
0.826446
16
121
6.1875
0.5
0
0
0
0
0
0
0
0
0
0
0.019048
0.132231
121
4
38
30.25
0.92381
0
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
1bc06b671318e9fe85bd2321c4a98ad46d748286
48
py
Python
pypgdelta/construct/__init__.py
SindreOsnes/pypgdelta
00234903a4e3c1c61ac5cc295133b6a69334fbeb
[ "MIT" ]
null
null
null
pypgdelta/construct/__init__.py
SindreOsnes/pypgdelta
00234903a4e3c1c61ac5cc295133b6a69334fbeb
[ "MIT" ]
null
null
null
pypgdelta/construct/__init__.py
SindreOsnes/pypgdelta
00234903a4e3c1c61ac5cc295133b6a69334fbeb
[ "MIT" ]
null
null
null
from ._construct import construct_configuration
24
47
0.895833
5
48
8.2
0.8
0
0
0
0
0
0
0
0
0
0
0
0.083333
48
1
48
48
0.931818
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
1
0
0
6
1bce854aa29156739103835948dfa716f1d378ee
43
py
Python
NodeDefender/mqtt/message/command/__init__.py
CTSNE/NodeDefender
24e19f53a27d3b53e599cba8b1448f8f16c0bd5e
[ "MIT" ]
4
2016-09-23T17:51:05.000Z
2017-03-14T02:52:26.000Z
NodeDefender/mqtt/message/command/__init__.py
CTSNE/NodeDefender
24e19f53a27d3b53e599cba8b1448f8f16c0bd5e
[ "MIT" ]
1
2016-09-22T11:32:33.000Z
2017-11-14T10:00:24.000Z
NodeDefender/mqtt/message/command/__init__.py
CTSNE/NodeDefender
24e19f53a27d3b53e599cba8b1448f8f16c0bd5e
[ "MIT" ]
4
2016-10-09T19:05:16.000Z
2020-05-14T04:00:30.000Z
def event(topic, payload): return True
14.333333
26
0.697674
6
43
5
1
0
0
0
0
0
0
0
0
0
0
0
0.209302
43
2
27
21.5
0.882353
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
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
1
0
0
0
1
1
0
0
6
59f2eb2d3f0472dfe59f80ee6db0355dd4597f57
29
py
Python
kozip/__init__.py
HeekangPark/KoZIP
ece3826eb5fbf842ef2545ce2215fbd4f2e7516e
[ "MIT" ]
null
null
null
kozip/__init__.py
HeekangPark/KoZIP
ece3826eb5fbf842ef2545ce2215fbd4f2e7516e
[ "MIT" ]
null
null
null
kozip/__init__.py
HeekangPark/KoZIP
ece3826eb5fbf842ef2545ce2215fbd4f2e7516e
[ "MIT" ]
null
null
null
from kozip.KoZIP import KoZIP
29
29
0.862069
5
29
5
0.6
0
0
0
0
0
0
0
0
0
0
0
0.103448
29
1
29
29
0.961538
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
1
0
0
6
940414298d2e059b326bd4c4358b2101df946124
84
py
Python
tests/helper.py
ncuhome/flask-restaction
bd358f84937c494e6cc55d20c57693da4384dc98
[ "MIT" ]
135
2015-09-06T07:37:59.000Z
2021-11-08T09:39:50.000Z
tests/helper.py
ncuhome/flask-restaction
bd358f84937c494e6cc55d20c57693da4384dc98
[ "MIT" ]
17
2015-09-15T05:36:56.000Z
2018-12-13T03:49:49.000Z
tests/helper.py
ncuhome/flask-restaction
bd358f84937c494e6cc55d20c57693da4384dc98
[ "MIT" ]
17
2015-09-11T06:59:00.000Z
2020-09-29T15:07:32.000Z
import json def resp_json(resp): return json.loads(resp.data.decode("utf-8"))
14
48
0.702381
14
84
4.142857
0.714286
0
0
0
0
0
0
0
0
0
0
0.013889
0.142857
84
5
49
16.8
0.791667
0
0
0
0
0
0.059524
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
6
94352d7425ec0855841350885be20831990b0ad0
19
py
Python
extra/src/autogluon/extra/contrib/__init__.py
zhiqiangdon/autogluon
71ee7ef0f05d8f0aad112d8c1719174aa33194d9
[ "Apache-2.0" ]
4,462
2019-12-09T17:41:07.000Z
2022-03-31T22:00:41.000Z
extra/src/autogluon/extra/contrib/__init__.py
zhiqiangdon/autogluon
71ee7ef0f05d8f0aad112d8c1719174aa33194d9
[ "Apache-2.0" ]
1,408
2019-12-09T17:48:59.000Z
2022-03-31T20:24:12.000Z
extra/src/autogluon/extra/contrib/__init__.py
zhiqiangdon/autogluon
71ee7ef0f05d8f0aad112d8c1719174aa33194d9
[ "Apache-2.0" ]
623
2019-12-10T02:04:18.000Z
2022-03-20T17:11:01.000Z
from . import enas
9.5
18
0.736842
3
19
4.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.210526
19
1
19
19
0.933333
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
1
0
0
6
9458e498d7d559eee3464df45294bc320f667a0c
33
py
Python
plugins/org_pandoc_reader/__init__.py
mohnjahoney/website_source
edc86a869b90ae604f32e736d9d5ecd918088e6a
[ "MIT" ]
13
2020-01-27T09:02:25.000Z
2022-01-20T07:45:26.000Z
plugins/org_pandoc_reader/__init__.py
mohnjahoney/website_source
edc86a869b90ae604f32e736d9d5ecd918088e6a
[ "MIT" ]
29
2020-03-22T06:57:57.000Z
2022-01-24T22:46:42.000Z
plugins/org_pandoc_reader/__init__.py
mohnjahoney/website_source
edc86a869b90ae604f32e736d9d5ecd918088e6a
[ "MIT" ]
6
2020-07-10T00:13:30.000Z
2022-01-26T08:22:33.000Z
from .org_pandoc_reader import *
16.5
32
0.818182
5
33
5
1
0
0
0
0
0
0
0
0
0
0
0
0.121212
33
1
33
33
0.862069
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
1
0
0
6
946c360b5cf6c0a5bc20d2650c387619720d28c4
22
py
Python
ros/geometry2/tf2_kdl/src/tf2_kdl/__init__.py
numberen/apollo-platform
8f359c8d00dd4a98f56ec2276c5663cb6c100e47
[ "Apache-2.0" ]
742
2017-07-05T02:49:36.000Z
2022-03-30T12:55:43.000Z
TrekBot_WS/install_isolated/lib/python2.7/dist-packages/tf2_kdl/__init__.py
Rafcin/TrekBot
d3dc63e6c16a040b16170f143556ef358018b7da
[ "Unlicense" ]
73
2017-07-06T12:50:51.000Z
2022-03-07T08:07:07.000Z
TrekBot_WS/install_isolated/lib/python2.7/dist-packages/tf2_kdl/__init__.py
Rafcin/TrekBot
d3dc63e6c16a040b16170f143556ef358018b7da
[ "Unlicense" ]
425
2017-07-04T22:03:29.000Z
2022-03-29T06:59:06.000Z
from tf2_kdl import *
11
21
0.772727
4
22
4
1
0
0
0
0
0
0
0
0
0
0
0.055556
0.181818
22
1
22
22
0.833333
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
1
0
0
6
848ca50316b5c04f9b9fe7d0f792a8648e4c83dd
15,029
py
Python
03_posenet/02_posenet_v2/01_float32/06_float16_quantization_mobilenet.py
khanfarhan10/PINTO_model_zoo
4cad2e506d8c0fb604aa7b5f84115a840ab59ba1
[ "MIT" ]
1,529
2019-12-11T13:36:23.000Z
2022-03-31T18:38:27.000Z
03_posenet/02_posenet_v2/01_float32/06_float16_quantization_mobilenet.py
khanfarhan10/PINTO_model_zoo
4cad2e506d8c0fb604aa7b5f84115a840ab59ba1
[ "MIT" ]
200
2020-01-06T09:24:42.000Z
2022-03-31T17:29:08.000Z
03_posenet/02_posenet_v2/01_float32/06_float16_quantization_mobilenet.py
khanfarhan10/PINTO_model_zoo
4cad2e506d8c0fb604aa7b5f84115a840ab59ba1
[ "MIT" ]
288
2020-02-21T14:56:02.000Z
2022-03-30T03:00:35.000Z
### tensorflow==2.2.0-rc3 import tensorflow as tf import numpy as np # Weight Quantization - Input/Output=float32 converter = tf.lite.TFLiteConverter.from_saved_model('saved_model_posenet_mobilenetv1_dm050_8_225') converter.optimizations = [tf.lite.Optimize.DEFAULT] converter.target_spec.supported_types = [tf.float16...
53.867384
100
0.836782
2,023
15,029
5.830944
0.024716
0.137335
0.081384
0.073754
0.995677
0.995677
0.995677
0.995677
0.993896
0.993896
0
0.071948
0.066871
15,029
279
101
53.867384
0.769181
0.087231
0
0.566038
0
0
0.400073
0.325539
0
0
0
0
0
1
0
false
0
0.009434
0
0.009434
0.141509
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
84a1dc128db01162139f58a34175fb30da23de04
80
py
Python
python_generator/__init__.py
GabrielAmare/PythonGenerator
a50338045a253eeaba36d0e44069ca38741d4f97
[ "MIT" ]
null
null
null
python_generator/__init__.py
GabrielAmare/PythonGenerator
a50338045a253eeaba36d0e44069ca38741d4f97
[ "MIT" ]
null
null
null
python_generator/__init__.py
GabrielAmare/PythonGenerator
a50338045a253eeaba36d0e44069ca38741d4f97
[ "MIT" ]
null
null
null
""" python_generator : tool to generate python code """ from .base import *
13.333333
32
0.675
10
80
5.3
0.9
0
0
0
0
0
0
0
0
0
0
0
0.2125
80
5
33
16
0.84127
0.6375
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
84ee4cd931791ec1a48b40e95a055f44fd36ba65
400
py
Python
image_gallery/website/paths.py
rqroz/django_image_gallery
95ecd154d46e0439997b4ddb9cc440a33cd6563e
[ "MIT" ]
null
null
null
image_gallery/website/paths.py
rqroz/django_image_gallery
95ecd154d46e0439997b4ddb9cc440a33cd6563e
[ "MIT" ]
null
null
null
image_gallery/website/paths.py
rqroz/django_image_gallery
95ecd154d46e0439997b4ddb9cc440a33cd6563e
[ "MIT" ]
null
null
null
import os def url_user_img(instance, filename): return 'users/%d/profile/%s'%(instance.user.pk, filename.encode('utf-8')) def url_gallery_img(instance, filename): return 'gallery/users/%d/uploads/%s'%(instance.user.pk, filename.encode('utf-8')) def url_gallery_thumbnail(instance, filename): return 'galle...
36.363636
96
0.7325
59
400
4.864407
0.355932
0.062718
0.229965
0.156794
0.728223
0.728223
0.728223
0.43554
0.320557
0.320557
0
0.008219
0.0875
400
10
97
40
0.778082
0
0
0
0
0
0.2475
0.1625
0
0
0
0
0
1
0.428571
false
0
0.142857
0.428571
1
0
0
0
0
null
0
1
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
84fe1d9ed1ef5a9cdd1effbbe697e2f39f6366b9
173
py
Python
grasshopperfund/tags/urls.py
yemi33/grasshopperfund
ad7bbb3d5b2ea4ec2b58ed8df7a368218bf9783e
[ "MIT" ]
null
null
null
grasshopperfund/tags/urls.py
yemi33/grasshopperfund
ad7bbb3d5b2ea4ec2b58ed8df7a368218bf9783e
[ "MIT" ]
null
null
null
grasshopperfund/tags/urls.py
yemi33/grasshopperfund
ad7bbb3d5b2ea4ec2b58ed8df7a368218bf9783e
[ "MIT" ]
1
2020-12-10T03:17:11.000Z
2020-12-10T03:17:11.000Z
from django.urls import path, include from . import views urlpatterns = [ path('filter/<str:tagname>', views.filter_campaigns_from_tags, name='filter-campaigns-from-tags')]
34.6
98
0.780347
24
173
5.5
0.583333
0.227273
0.287879
0.348485
0
0
0
0
0
0
0
0
0.086705
173
5
98
34.6
0.835443
0
0
0
0
0
0.264368
0.149425
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
6
ca212fdca54f5d3ee3fe0f844136a59500b13e69
11,479
py
Python
blog/views.py
dnaranjo89/djangae-test
d52ebc135978b43b1c8c0aeddbd0dd2802c81376
[ "Apache-2.0" ]
null
null
null
blog/views.py
dnaranjo89/djangae-test
d52ebc135978b43b1c8c0aeddbd0dd2802c81376
[ "Apache-2.0" ]
null
null
null
blog/views.py
dnaranjo89/djangae-test
d52ebc135978b43b1c8c0aeddbd0dd2802c81376
[ "Apache-2.0" ]
null
null
null
from django.shortcuts import render from blog.models import * from blog.forms import ArticleForm, CommentForm from django.shortcuts import redirect from django.core.urlresolvers import reverse def index(request): filter_category = request.GET.get("category", "All") if filter_category and filter_category != "A...
72.651899
889
0.736388
1,528
11,479
5.477749
0.132199
0.013381
0.019355
0.01147
0.795341
0.775627
0.767742
0.759379
0.759379
0.747192
0
0.003298
0.207596
11,479
158
890
72.651899
0.916887
0.019165
0
0.321739
0
0.069565
0.654997
0
0
0
0
0
0
1
0.078261
false
0
0.043478
0
0.217391
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
ca6b628f2b7d240b54ac890f139cf54fe1eda0dc
8,165
py
Python
aiogram/contrib/middlewares/logging.py
balki/aiogram
5aa34625c6436a595d22ba933279a21eafc38eb5
[ "MIT" ]
null
null
null
aiogram/contrib/middlewares/logging.py
balki/aiogram
5aa34625c6436a595d22ba933279a21eafc38eb5
[ "MIT" ]
null
null
null
aiogram/contrib/middlewares/logging.py
balki/aiogram
5aa34625c6436a595d22ba933279a21eafc38eb5
[ "MIT" ]
null
null
null
import logging import time from aiogram import types from aiogram.dispatcher.middlewares import BaseMiddleware HANDLED_STR = ['Unhandled', 'Handled'] class LoggingMiddleware(BaseMiddleware): def __init__(self, logger=__name__): if not isinstance(logger, logging.Logger): logger = logging.getL...
57.5
119
0.626699
1,042
8,165
4.677543
0.074856
0.090685
0.049241
0.046779
0.874231
0.863972
0.804473
0.779032
0.71112
0.645671
0
0.001148
0.253399
8,165
141
120
57.907801
0.798392
0
0
0.469027
0
0.017699
0.388487
0.276546
0
0
0
0
0
1
0.017699
false
0
0.035398
0
0.079646
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
ca8a4f909b7e3d82bf7ed79cb20c32112fb5e8eb
86
py
Python
applications/MappingApplication/mpi_extension/MPIExtension.py
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
778
2017-01-27T16:29:17.000Z
2022-03-30T03:01:51.000Z
applications/MappingApplication/mpi_extension/MPIExtension.py
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
6,634
2017-01-15T22:56:13.000Z
2022-03-31T15:03:36.000Z
applications/MappingApplication/mpi_extension/MPIExtension.py
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
224
2017-02-07T14:12:49.000Z
2022-03-06T23:09:34.000Z
import KratosMultiphysics.TrilinosApplication from KratosMappingMPIExtension import *
28.666667
45
0.906977
6
86
13
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.069767
86
2
46
43
0.975
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
1
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
1
0
0
6
04658f7a226a05085d32ee45506b5ed479b8d935
39,412
py
Python
tests/test_composite.py
JoyMonteiro/sympl
c8bee914651824360a46bf71119dd87a93a07219
[ "BSD-3-Clause" ]
46
2017-01-05T00:21:18.000Z
2022-03-05T12:20:39.000Z
tests/test_composite.py
JoyMonteiro/sympl
c8bee914651824360a46bf71119dd87a93a07219
[ "BSD-3-Clause" ]
47
2017-03-27T13:37:31.000Z
2022-02-02T07:14:22.000Z
tests/test_composite.py
JoyMonteiro/sympl
c8bee914651824360a46bf71119dd87a93a07219
[ "BSD-3-Clause" ]
11
2017-01-27T23:03:34.000Z
2020-06-22T20:05:49.000Z
import pytest import unittest import mock from sympl import ( TendencyComponent, DiagnosticComponent, Monitor, TendencyComponentComposite, DiagnosticComponentComposite, MonitorComposite, SharedKeyError, DataArray, InvalidPropertyDictError ) from sympl._core.units import units_are_compatible def same_list(list...
29.633083
110
0.572364
2,893
39,412
7.505358
0.056343
0.084972
0.062175
0.068254
0.872288
0.862156
0.834293
0.806429
0.78506
0.76217
0
0.014967
0.311732
39,412
1,329
111
29.65538
0.785483
0.001015
0
0.69403
0
0
0.086182
0.004877
0
0
0
0
0.080431
1
0.047264
false
0.00995
0.004146
0.004146
0.072968
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
046d0cd0c6595d5de8cbddf485ee842ab2d307b5
87
py
Python
concurrency_limit/__init__.py
beachmachine/python-concurrency-limit
071cc0d6173ce6741a4846dd8e96e21947b837af
[ "MIT" ]
null
null
null
concurrency_limit/__init__.py
beachmachine/python-concurrency-limit
071cc0d6173ce6741a4846dd8e96e21947b837af
[ "MIT" ]
1
2021-11-13T09:18:12.000Z
2021-11-13T09:18:12.000Z
concurrency_limit/__init__.py
beachmachine/python-concurrency-limit
071cc0d6173ce6741a4846dd8e96e21947b837af
[ "MIT" ]
1
2022-01-19T15:56:32.000Z
2022-01-19T15:56:32.000Z
from .configuration import * from .context_managers import * from .exceptions import *
21.75
31
0.793103
10
87
6.8
0.6
0.294118
0
0
0
0
0
0
0
0
0
0
0.137931
87
3
32
29
0.906667
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
b6c6abfbde15876e14747bfb677a2db61690bd0d
61
py
Python
tushare/stock/__init__.py
ritou11/tushare
274393e0078f9a90ded060ac305b528a6a7743dd
[ "BSD-3-Clause" ]
null
null
null
tushare/stock/__init__.py
ritou11/tushare
274393e0078f9a90ded060ac305b528a6a7743dd
[ "BSD-3-Clause" ]
null
null
null
tushare/stock/__init__.py
ritou11/tushare
274393e0078f9a90ded060ac305b528a6a7743dd
[ "BSD-3-Clause" ]
null
null
null
import tushare.stock.indictor import tushare.stock.trendline
20.333333
30
0.868852
8
61
6.625
0.625
0.490566
0.679245
0
0
0
0
0
0
0
0
0
0.065574
61
2
31
30.5
0.929825
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
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
1
0
1
0
0
0
0
6
b6d06d342ce8ee61265aab66de26ce659fc8c9cc
109
py
Python
UNIVESPalgortimo_1/novo.py
joaorobsonR/algoritmo1
9e6ef6ee8967b771d20d7ebf96478412b0a7940f
[ "MIT" ]
null
null
null
UNIVESPalgortimo_1/novo.py
joaorobsonR/algoritmo1
9e6ef6ee8967b771d20d7ebf96478412b0a7940f
[ "MIT" ]
null
null
null
UNIVESPalgortimo_1/novo.py
joaorobsonR/algoritmo1
9e6ef6ee8967b771d20d7ebf96478412b0a7940f
[ "MIT" ]
null
null
null
def media(n1, n2, n3): m = (3/(1/((n1 + n2 + n3) + 4))) - 4 return m print(media(n1=1, n2=2, n3=3))
18.166667
40
0.46789
23
109
2.217391
0.521739
0.27451
0.235294
0
0
0
0
0
0
0
0
0.2
0.266055
109
5
41
21.8
0.4375
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0.25
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
6
b6d07d1a23edce1ab0416dbcc8eb1259960b298f
97
py
Python
unravel/admin/document_version_admin.py
cofiem/logomachy
fed77dc4b821f25a60fd9b9474c232107fe98f53
[ "Apache-2.0" ]
null
null
null
unravel/admin/document_version_admin.py
cofiem/logomachy
fed77dc4b821f25a60fd9b9474c232107fe98f53
[ "Apache-2.0" ]
1
2017-10-29T08:16:02.000Z
2017-10-30T14:19:59.000Z
unravel/admin/document_version_admin.py
cofiem/logomachy
fed77dc4b821f25a60fd9b9474c232107fe98f53
[ "Apache-2.0" ]
null
null
null
from unravel.admin.base_admin import BaseAdmin class DocumentVersionAdmin(BaseAdmin): pass
16.166667
46
0.814433
11
97
7.090909
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.134021
97
5
47
19.4
0.928571
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
6
b6d795c6fc84abe25e7f3a4ad5e0524c4347df9d
135
py
Python
build_gpcr/management/commands/build_human_proteins.py
pszgaspar/protwis
4989a67175ef3c95047d795c843cf6b9cf4141fa
[ "Apache-2.0" ]
21
2016-01-20T09:33:14.000Z
2021-12-20T19:19:45.000Z
build_gpcr/management/commands/build_human_proteins.py
pszgaspar/protwis
4989a67175ef3c95047d795c843cf6b9cf4141fa
[ "Apache-2.0" ]
75
2016-02-26T16:29:58.000Z
2022-03-21T12:35:13.000Z
build_gpcr/management/commands/build_human_proteins.py
pszgaspar/protwis
4989a67175ef3c95047d795c843cf6b9cf4141fa
[ "Apache-2.0" ]
77
2016-01-22T08:44:26.000Z
2022-02-01T15:54:56.000Z
from build.management.commands.build_human_proteins import Command as BuildHumanProteins class Command(BuildHumanProteins): pass
22.5
88
0.844444
15
135
7.466667
0.8
0
0
0
0
0
0
0
0
0
0
0
0.111111
135
5
89
27
0.933333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
6
f3e75fd8b32d9f103c274536ea9a039ed9b43298
135
py
Python
Beta/Sum of factorials with letters.py
mwk0408/codewars_solutions
9b4f502b5f159e68024d494e19a96a226acad5e5
[ "MIT" ]
6
2020-09-03T09:32:25.000Z
2020-12-07T04:10:01.000Z
Beta/Sum of factorials with letters.py
mwk0408/codewars_solutions
9b4f502b5f159e68024d494e19a96a226acad5e5
[ "MIT" ]
1
2021-12-13T15:30:21.000Z
2021-12-13T15:30:21.000Z
Beta/Sum of factorials with letters.py
mwk0408/codewars_solutions
9b4f502b5f159e68024d494e19a96a226acad5e5
[ "MIT" ]
null
null
null
import re from math import factorial def factorial_sum(string): return sum(factorial(int(i)) for i in re.split(r'\D+',string) if i)
33.75
71
0.733333
25
135
3.92
0.68
0
0
0
0
0
0
0
0
0
0
0
0.140741
135
4
71
33.75
0.844828
0
0
0
0
0
0.022059
0
0
0
0
0
0
1
0.25
false
0
0.5
0.25
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
6
edf47dcbe5fd6cce589a4d508f2fa4dd1e22b015
1,430
py
Python
fullScaleTest.py
schlesg/OpenDDSBenchmark
bafde0be66477888c335737facb07e9e4c10fc33
[ "MIT" ]
1
2021-03-26T09:52:12.000Z
2021-03-26T09:52:12.000Z
fullScaleTest.py
schlesg/OpenDDSBenchmark
bafde0be66477888c335737facb07e9e4c10fc33
[ "MIT" ]
null
null
null
fullScaleTest.py
schlesg/OpenDDSBenchmark
bafde0be66477888c335737facb07e9e4c10fc33
[ "MIT" ]
null
null
null
import subprocess import os # print(os.getcwd()) # os.chdir("build/") commandList = [] commandList.append("./initiator --Trans shmem.ini --SubTopic dummy --PubTopic MS1 --msgLength 5000 --roundtripCount 0 --pubName Dummy --updateRate 100") #C1 commandList.append("./initiator --Trans shmem.ini --SubTopic dummy --PubTop...
55
156
0.727972
181
1,430
5.751381
0.270718
0.163305
0.12488
0.181556
0.700288
0.700288
0.700288
0.615754
0.615754
0.615754
0
0.046311
0.109091
1,430
25
157
57.2
0.770801
0.112587
0
0.411765
0
0.235294
0.696414
0
0
0
0
0
0
1
0
false
0
0.117647
0
0.117647
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
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
611116b7ae209f49d5b6fdc2ee7568bb102985ae
13,018
py
Python
csv_cti/blueprints/web_api/views/agents.py
Osmond1689/csv-cti
84be8241e9ba50f495b23775eb153e4129845474
[ "MIT" ]
null
null
null
csv_cti/blueprints/web_api/views/agents.py
Osmond1689/csv-cti
84be8241e9ba50f495b23775eb153e4129845474
[ "MIT" ]
null
null
null
csv_cti/blueprints/web_api/views/agents.py
Osmond1689/csv-cti
84be8241e9ba50f495b23775eb153e4129845474
[ "MIT" ]
null
null
null
from csv_cti.blueprints.web_api import web_api from flask import request,current_app,render_template from csv_cti.blueprints.op.md5_token import encrypt_md5 from csv_cti.blueprints.op.agents import Agents_op from csv_cti.blueprints.op.redis import redis_client #websocket # @web_api.route('/agents-status/',methods=['G...
39.093093
194
0.534875
1,545
13,018
4.302913
0.110032
0.12485
0.051745
0.06062
0.762635
0.72864
0.715102
0.705475
0.690584
0.676594
0
0.024782
0.321171
13,018
333
195
39.093093
0.727509
0.043478
0
0.702586
0
0
0.204643
0
0
0
0
0
0
1
0.030172
false
0.056034
0.021552
0
0.202586
0.017241
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
6
b6171742c86ce49637ef80addc95e714d1693b2f
71
py
Python
core/policy/__init__.py
deepcs233/DI-drive
ade3c9dadca29530f20ab49b526ba32818ea804b
[ "Apache-2.0" ]
null
null
null
core/policy/__init__.py
deepcs233/DI-drive
ade3c9dadca29530f20ab49b526ba32818ea804b
[ "Apache-2.0" ]
null
null
null
core/policy/__init__.py
deepcs233/DI-drive
ade3c9dadca29530f20ab49b526ba32818ea804b
[ "Apache-2.0" ]
null
null
null
from .auto_policy import AutoPolicy from .coil_policy import CILPolicy
23.666667
35
0.859155
10
71
5.9
0.7
0.40678
0
0
0
0
0
0
0
0
0
0
0.112676
71
2
36
35.5
0.936508
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
b67725e2a9293930ac84ba6127d04b66d25aae14
182
py
Python
ippgtoolbox/benchmark/__init__.py
BeCuriousS/ippg-toolbox
74b58459d038e2a77f0b51b33de372f3f9afd2a6
[ "MIT" ]
null
null
null
ippgtoolbox/benchmark/__init__.py
BeCuriousS/ippg-toolbox
74b58459d038e2a77f0b51b33de372f3f9afd2a6
[ "MIT" ]
null
null
null
ippgtoolbox/benchmark/__init__.py
BeCuriousS/ippg-toolbox
74b58459d038e2a77f0b51b33de372f3f9afd2a6
[ "MIT" ]
null
null
null
from .benchmarkAlgorithms import BenchmarkAlgorithms from .benchmarkSettings import * from .benchmarkMetrics import BenchmarkMetrics from .processExtraction import ProcessExtraction
36.4
52
0.884615
15
182
10.733333
0.4
0
0
0
0
0
0
0
0
0
0
0
0.087912
182
4
53
45.5
0.96988
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
1
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
1
0
0
6
b6a4170cc87a380731e043bbf17705ce247e22bc
5,188
py
Python
tests/test_adapters.py
leoninekev/mlsquare
ff9442c6e155cd8c891adb4ecdc80cad38a50506
[ "MIT" ]
null
null
null
tests/test_adapters.py
leoninekev/mlsquare
ff9442c6e155cd8c891adb4ecdc80cad38a50506
[ "MIT" ]
null
null
null
tests/test_adapters.py
leoninekev/mlsquare
ff9442c6e155cd8c891adb4ecdc80cad38a50506
[ "MIT" ]
null
null
null
import keras # import onnxruntime import pytest import numpy as np from scipy import stats from sklearn.linear_model import LogisticRegression, LinearRegression from mlsquare import registry from test_architectures import _load_classification_data, _load_regression_data def _run_adapter(dataset_loader, proxy_model, ...
44.34188
100
0.725328
672
5,188
5.22619
0.162202
0.051253
0.071754
0.05951
0.818622
0.77164
0.730068
0.714692
0.711845
0.689351
0
0.009081
0.150925
5,188
116
101
44.724138
0.788195
0.398805
0
0.534483
0
0
0.096743
0
0
0
0
0
0.137931
1
0.12069
false
0
0.12069
0
0.241379
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
fcbdd7ba608236b18795e6d89a80987b5cb5d1ff
60
py
Python
pyislands/ga/__init__.py
sglumac/pyislands
a5eaceb68a0f21bd8bc8586fdf8cf0d9b7a0134f
[ "MIT" ]
null
null
null
pyislands/ga/__init__.py
sglumac/pyislands
a5eaceb68a0f21bd8bc8586fdf8cf0d9b7a0134f
[ "MIT" ]
null
null
null
pyislands/ga/__init__.py
sglumac/pyislands
a5eaceb68a0f21bd8bc8586fdf8cf0d9b7a0134f
[ "MIT" ]
null
null
null
import pyislands.ga.steady import pyislands.ga.generational
20
32
0.866667
8
60
6.5
0.625
0.576923
0.653846
0
0
0
0
0
0
0
0
0
0.066667
60
2
33
30
0.928571
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
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
1
0
1
0
0
0
0
6
fcc7e3da847cda0e7254337f13c0d0507e2d9869
107
py
Python
dabstract/dataset/__init__.py
magics-tech/dabstract-1
9f7a2d99d0dff1df5c2f90c82b1eecc9c42c2c24
[ "MIT" ]
7
2020-11-04T13:21:01.000Z
2021-12-14T13:08:04.000Z
dabstract/dataset/__init__.py
magics-tech/dabstract-1
9f7a2d99d0dff1df5c2f90c82b1eecc9c42c2c24
[ "MIT" ]
null
null
null
dabstract/dataset/__init__.py
magics-tech/dabstract-1
9f7a2d99d0dff1df5c2f90c82b1eecc9c42c2c24
[ "MIT" ]
2
2020-11-26T09:25:23.000Z
2021-09-22T12:05:14.000Z
from .dataset import * from .select import * from .helpers import * from .dbs import * from .xval import *
17.833333
22
0.719626
15
107
5.133333
0.466667
0.519481
0
0
0
0
0
0
0
0
0
0
0.186916
107
5
23
21.4
0.885057
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
fcd8f9979e250774a440fe70c2d85244b94a49bf
34
py
Python
wsgi.py
awecx/PyDocTeur
47188f7263661a40775e3b45cf611d88d7c9297b
[ "MIT" ]
null
null
null
wsgi.py
awecx/PyDocTeur
47188f7263661a40775e3b45cf611d88d7c9297b
[ "MIT" ]
null
null
null
wsgi.py
awecx/PyDocTeur
47188f7263661a40775e3b45cf611d88d7c9297b
[ "MIT" ]
null
null
null
from pydocteur import application
17
33
0.882353
4
34
7.5
1
0
0
0
0
0
0
0
0
0
0
0
0.117647
34
1
34
34
1
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
1
0
0
6
fce74d8b95ebf428a5d0f5594e650785258002ff
53,131
py
Python
docs.py
akraccoon/cbd2.api.full
b837ad0f949a5508569758005a8aa5ec2d310143
[ "Apache-2.0" ]
null
null
null
docs.py
akraccoon/cbd2.api.full
b837ad0f949a5508569758005a8aa5ec2d310143
[ "Apache-2.0" ]
null
null
null
docs.py
akraccoon/cbd2.api.full
b837ad0f949a5508569758005a8aa5ec2d310143
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import json import os from datetime import timedelta, datetime from uuid import uuid4 import openprocurement.api.tests.base as base_test from openprocurement.api.tests.base import test_tender_data, test_bids, PrefixedRequestClass from openprocurement.api.models import get_now from openprocurem...
46.60614
182
0.562591
5,642
53,131
5.174938
0.083836
0.055382
0.043566
0.062883
0.835394
0.820872
0.793506
0.757544
0.741035
0.726445
0
0.017396
0.276166
53,131
1,139
183
46.647059
0.741588
0.024016
0
0.47907
0
0
0.289356
0.149714
0
0
0
0
0.109302
1
0.006977
false
0.002326
0.010465
0.001163
0.025581
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
1e631ad39eebb9049f90ad637d1b70e8c5d8a71b
136
py
Python
minibatch_sgd1/data_process/tool/sperate.py
DiracSea/multi_linear_regression
ab047c2c0769e0389c5e01719f1afbc1db70beb0
[ "MIT" ]
null
null
null
minibatch_sgd1/data_process/tool/sperate.py
DiracSea/multi_linear_regression
ab047c2c0769e0389c5e01719f1afbc1db70beb0
[ "MIT" ]
null
null
null
minibatch_sgd1/data_process/tool/sperate.py
DiracSea/multi_linear_regression
ab047c2c0769e0389c5e01719f1afbc1db70beb0
[ "MIT" ]
null
null
null
def split_num(batchsize): train_num = int(batchsize*7/10+1/2) valid_num = batchsize - train_num return train_num, valid_num
27.2
39
0.720588
22
136
4.181818
0.545455
0.26087
0.369565
0.434783
0
0
0
0
0
0
0
0.045045
0.183824
136
5
40
27.2
0.783784
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
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
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
6
949569495522d0377c31f1c0df798fd26dda3eff
1,295
py
Python
tests/core/_utils/test_etherscan.py
corydickson/ethpm-cli
bc25860d6a81d28603d76be06b3a896893324a39
[ "MIT" ]
34
2019-04-10T17:14:59.000Z
2022-02-22T11:18:48.000Z
tests/core/_utils/test_etherscan.py
corydickson/ethpm-cli
bc25860d6a81d28603d76be06b3a896893324a39
[ "MIT" ]
65
2019-04-10T17:41:07.000Z
2021-04-02T21:47:27.000Z
tests/core/_utils/test_etherscan.py
corydickson/ethpm-cli
bc25860d6a81d28603d76be06b3a896893324a39
[ "MIT" ]
9
2019-04-25T10:35:06.000Z
2021-06-02T11:06:18.000Z
import pytest from ethpm_cli._utils.etherscan import is_etherscan_uri @pytest.mark.parametrize( "uri,expected", ( ("etherscan://0x6b5DA3cA4286Baa7fBaf64EEEE1834C7d430B729:1", True), ("etherscan://0x6b5DA3cA4286Baa7fBaf64EEEE1834C7d430B729:3", True), ("etherscan://0x6b5DA3cA4286Baa7fBa...
41.774194
77
0.705019
90
1,295
10.033333
0.377778
0.564784
0.243632
0.126246
0.180509
0
0
0
0
0
0
0.257646
0.166795
1,295
30
78
43.166667
0.57924
0.027799
0
0
0
0
0.565737
0.54502
0
0
0.401594
0
0.041667
1
0.041667
false
0
0.083333
0
0.125
0
0
0
1
null
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
1
0
0
0
0
0
0
0
0
0
0
0
6
949a7a8a9b2a1ac907b35a948ed6ab4a299db351
518
py
Python
logics/classes/propositional/proof_theories/__init__.py
ariroffe/logics
fb918ae8cf243a452e5b030f0df17add83f47f8b
[ "MIT" ]
12
2021-03-31T08:12:09.000Z
2022-03-15T21:36:59.000Z
logics/classes/propositional/proof_theories/__init__.py
ariroffe/logics
fb918ae8cf243a452e5b030f0df17add83f47f8b
[ "MIT" ]
null
null
null
logics/classes/propositional/proof_theories/__init__.py
ariroffe/logics
fb918ae8cf243a452e5b030f0df17add83f47f8b
[ "MIT" ]
1
2021-03-31T15:14:26.000Z
2021-03-31T15:14:26.000Z
from logics.classes.propositional.proof_theories.derivation import Derivation, DerivationStep from logics.classes.propositional.proof_theories.axiom_system import AxiomSystem from logics.classes.propositional.proof_theories.natural_deduction import NaturalDeductionRule, NaturalDeductionStep, \ NaturalDeductionSyste...
86.333333
119
0.889961
53
518
8.566038
0.45283
0.110132
0.187225
0.330396
0.473568
0.473568
0
0
0
0
0
0
0.057915
518
6
120
86.333333
0.930328
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.833333
0
0.833333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
94c6b6f72f836f6c9317d9dfe20d5aeb2cd32739
477
py
Python
optiml/opti/constrained/__init__.py
AF207/optiml
f8860d90d4f5b6d35a3ed0ef3c1d014a2b517a72
[ "MIT" ]
1
2021-04-06T13:59:03.000Z
2021-04-06T13:59:03.000Z
optiml/opti/constrained/__init__.py
AF207/optiml
f8860d90d4f5b6d35a3ed0ef3c1d014a2b517a72
[ "MIT" ]
null
null
null
optiml/opti/constrained/__init__.py
AF207/optiml
f8860d90d4f5b6d35a3ed0ef3c1d014a2b517a72
[ "MIT" ]
null
null
null
__all__ = ['BoxConstrainedQuadraticOptimizer', 'LagrangianBoxConstrainedQuadratic', 'LagrangianConstrainedQuadratic', 'ProjectedGradient', 'ActiveSet', 'FrankWolfe', 'InteriorPoint'] from ._base import BoxConstrainedQuadraticOptimizer, LagrangianBoxConstrainedQuadratic, LagrangianConstrainedQuadratic from ...
47.7
118
0.844864
34
477
11.588235
0.558824
0.329949
0.482234
0
0
0
0
0
0
0
0
0
0.092243
477
9
119
53
0.909931
0
0
0
0
0
0.301887
0.199161
0
0
0
0
0
1
0
false
0
0.714286
0
0.714286
0
0
0
1
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
1
0
1
0
0
6
94d0bdf08fe7539552a5f44b66438edc12051af6
129
bzl
Python
tools/commons.bzl
davido/bazlets
46dd9828c5859db0eb3577fce8a043dcef40275e
[ "Apache-2.0" ]
1
2016-12-14T04:50:26.000Z
2016-12-14T04:50:26.000Z
tools/commons.bzl
davido/bazlets
46dd9828c5859db0eb3577fce8a043dcef40275e
[ "Apache-2.0" ]
null
null
null
tools/commons.bzl
davido/bazlets
46dd9828c5859db0eb3577fce8a043dcef40275e
[ "Apache-2.0" ]
null
null
null
PLUGIN_DEPS_NEVERLINK = [ "//external:gerrit-plugin-api-neverlink", ] PLUGIN_DEPS = [ "//external:gerrit-plugin-api", ]
16.125
45
0.674419
14
129
6
0.428571
0.238095
0.47619
0.547619
0
0
0
0
0
0
0
0
0.147287
129
7
46
18.428571
0.763636
0
0
0
0
0
0.511628
0.511628
0
0
0
0
0
1
0
false
0
0
0
0
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
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
94e5367c37bb09c0fbe5cf346dda102305b4656c
27,792
py
Python
networking_generic_switch/devices/corsa_devices/corsavfc.py
ChameleonCloud/networking-generic-switch
98ddec1f11eab5197f1443207b13a16f364e5f10
[ "Apache-2.0" ]
null
null
null
networking_generic_switch/devices/corsa_devices/corsavfc.py
ChameleonCloud/networking-generic-switch
98ddec1f11eab5197f1443207b13a16f364e5f10
[ "Apache-2.0" ]
4
2018-11-21T17:54:37.000Z
2021-10-04T14:40:40.000Z
networking_generic_switch/devices/corsa_devices/corsavfc.py
ChameleonCloud/networking-generic-switch
98ddec1f11eab5197f1443207b13a16f364e5f10
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import json import re import requests from oslo_log import log as logging LOG = logging.getLogger(__name__) # # ENDPOINTS # endpoint = "/api/v1" ep_bridges = endpoint + "/bridges" # Bridge ep_ports = endpoint + "/ports" # Ports # # PORT MODIFY # # 204 No content # 400 Bad Request # 40...
27.273798
109
0.477655
2,745
27,792
4.66776
0.069217
0.036525
0.07867
0.032779
0.828065
0.788262
0.748537
0.732303
0.699914
0.678686
0
0.015226
0.418646
27,792
1,018
110
27.300589
0.777805
0.096323
0
0.748327
0
0
0.124454
0.003165
0
0
0
0
0
1
0.034806
false
0.009371
0.005355
0
0.082999
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
bfa98165372a3d8764884cfdea8b3e4e979dd92e
3,399
py
Python
official/vision/beta/evaluation/classification_metrics.py
rehohoho/models
3577bc5959d7e2a3513ff1c5ec8b42c4f5bedca8
[ "Apache-2.0" ]
null
null
null
official/vision/beta/evaluation/classification_metrics.py
rehohoho/models
3577bc5959d7e2a3513ff1c5ec8b42c4f5bedca8
[ "Apache-2.0" ]
62
2021-06-09T00:47:27.000Z
2021-09-24T09:06:58.000Z
official/vision/beta/evaluation/classification_metrics.py
whizzmobility/models
3577bc5959d7e2a3513ff1c5ec8b42c4f5bedca8
[ "Apache-2.0" ]
null
null
null
"""Metrics for classification.""" from absl import logging import tensorflow as tf class Precision(tf.keras.metrics.Precision): """Computes Precision metric using labels. Defined as: true_positives / (true_positives + false_positives) The predictions are accumulated in a confusion matrix, weighted by `sampl...
37.351648
85
0.699912
492
3,399
4.652439
0.23374
0.03495
0.036697
0.03495
0.880734
0.880734
0.860638
0.860638
0.860638
0.860638
0
0.003003
0.21624
3,399
90
86
37.766667
0.856231
0.599
0
0.636364
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0.090909
0
0.454545
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
bfd2c7b1f381a2dd480df811e4a895b00a6a7742
5,769
py
Python
instagram/parser.py
Tishacy/InstagramSpider
2665d3772f80cb549609acc21f70527b12b5e5a3
[ "MIT" ]
null
null
null
instagram/parser.py
Tishacy/InstagramSpider
2665d3772f80cb549609acc21f70527b12b5e5a3
[ "MIT" ]
null
null
null
instagram/parser.py
Tishacy/InstagramSpider
2665d3772f80cb549609acc21f70527b12b5e5a3
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Entities used by query.py # Author: Tishacy # Date: 2021-03-26 from abc import ABC, abstractmethod from datetime import datetime class Parser(ABC): """Abstract Parser class A parser will parse the given data with the given variables. An explicit parser has to implements the follo...
35.611111
137
0.603051
700
5,769
4.647143
0.167143
0.0664
0.036889
0.031356
0.771288
0.74731
0.721795
0.717492
0.711343
0.704273
0
0.003009
0.25117
5,769
161
138
35.832298
0.75
0.088404
0
0.714286
0
0
0.256978
0.077575
0
0
0
0
0
1
0.159664
false
0.02521
0.016807
0.02521
0.319328
0.008403
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
449c9bc9eadf35135826838b57cbd3f26e131e07
49
py
Python
aiomatrix/dispatcher/storage/internal_data/models/__init__.py
Forden/aiomatrix
d258076bae8eb776495b92be46ee9f4baec8d9a6
[ "MIT" ]
2
2021-10-29T18:07:08.000Z
2021-11-19T00:25:43.000Z
aiomatrix/dispatcher/storage/internal_data/models/__init__.py
Forden/aiomatrix
d258076bae8eb776495b92be46ee9f4baec8d9a6
[ "MIT" ]
1
2022-03-06T11:17:43.000Z
2022-03-06T11:17:43.000Z
aiomatrix/dispatcher/storage/internal_data/models/__init__.py
Forden/aiomatrix
d258076bae8eb776495b92be46ee9f4baec8d9a6
[ "MIT" ]
null
null
null
from .internal_data_pair import InternalDataPair
24.5
48
0.897959
6
49
7
1
0
0
0
0
0
0
0
0
0
0
0
0.081633
49
1
49
49
0.933333
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
1
0
0
6
7828c63ef4eb663a865a53e70bccd6d2ae11d4cf
89
py
Python
dvc/repo/metrics/add.py
jackwellsxyz/dvc
6a64f861783f3c2eadfc0364725ab06aa3ebb387
[ "Apache-2.0" ]
null
null
null
dvc/repo/metrics/add.py
jackwellsxyz/dvc
6a64f861783f3c2eadfc0364725ab06aa3ebb387
[ "Apache-2.0" ]
null
null
null
dvc/repo/metrics/add.py
jackwellsxyz/dvc
6a64f861783f3c2eadfc0364725ab06aa3ebb387
[ "Apache-2.0" ]
null
null
null
from dvc.repo.metrics.modify import modify def add(repo, path): modify(repo, path)
14.833333
42
0.719101
14
89
4.571429
0.642857
0.25
0
0
0
0
0
0
0
0
0
0
0.168539
89
5
43
17.8
0.864865
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
6
78625605bf241e9bdcda1a93b8d9149bfa038850
37
py
Python
Chapter05/my_module/submodule_1.py
JTamarit/Tkinter_libro
1d0672235d10ad9011d2f7526f9fef363197b8da
[ "MIT" ]
173
2018-07-26T00:46:28.000Z
2022-03-09T13:54:30.000Z
Chapter05/my_module/submodule_1.py
my01chap/Python-GUI-Programming-with-Tkinter
1d0672235d10ad9011d2f7526f9fef363197b8da
[ "MIT" ]
1
2021-03-06T12:29:33.000Z
2021-03-06T15:08:24.000Z
Chapter05/my_module/submodule_1.py
my01chap/Python-GUI-Programming-with-Tkinter
1d0672235d10ad9011d2f7526f9fef363197b8da
[ "MIT" ]
105
2018-05-15T02:47:48.000Z
2022-03-17T05:52:08.000Z
from .submodule_2 import submodule_a
18.5
36
0.864865
6
37
5
0.833333
0
0
0
0
0
0
0
0
0
0
0.030303
0.108108
37
1
37
37
0.878788
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
1
0
0
6
7879f6fdc929682949a5e1b6afff4137c9179ac8
103
py
Python
simian/token/__init__.py
emilkloeden/simian
b8bd7e54185d2f06f82fc98221f94e2eb005cbdb
[ "MIT" ]
null
null
null
simian/token/__init__.py
emilkloeden/simian
b8bd7e54185d2f06f82fc98221f94e2eb005cbdb
[ "MIT" ]
null
null
null
simian/token/__init__.py
emilkloeden/simian
b8bd7e54185d2f06f82fc98221f94e2eb005cbdb
[ "MIT" ]
null
null
null
from .token import Token, TokenType, lookup_ident __all__ = ["Token", "TokenType", "lookup_ident"]
25.75
50
0.718447
12
103
5.666667
0.583333
0.411765
0.588235
0.735294
0
0
0
0
0
0
0
0
0.145631
103
3
51
34.333333
0.772727
0
0
0
0
0
0.26
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
6
15451ac2f6b670ee1dc9b4f49a7698b2e8d7a46a
27
py
Python
pbcore/chemistry/__init__.py
yoshihikosuzuki/pbcore
956c45dea8868b5cf7d9b8e9ce98ac8fe8a60150
[ "BSD-3-Clause" ]
null
null
null
pbcore/chemistry/__init__.py
yoshihikosuzuki/pbcore
956c45dea8868b5cf7d9b8e9ce98ac8fe8a60150
[ "BSD-3-Clause" ]
null
null
null
pbcore/chemistry/__init__.py
yoshihikosuzuki/pbcore
956c45dea8868b5cf7d9b8e9ce98ac8fe8a60150
[ "BSD-3-Clause" ]
null
null
null
from .chemistry import *
6.75
24
0.703704
3
27
6.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.222222
27
3
25
9
0.904762
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
1
0
0
6
154b8a06472d1045c5cdd8203f8082296ea6dbe5
57
py
Python
src/visualization/visualizer.py
CamiloCJ09/VIP-Clustering
a24da3a436f44ddadf05516e70d537c3795f7d81
[ "MIT" ]
null
null
null
src/visualization/visualizer.py
CamiloCJ09/VIP-Clustering
a24da3a436f44ddadf05516e70d537c3795f7d81
[ "MIT" ]
null
null
null
src/visualization/visualizer.py
CamiloCJ09/VIP-Clustering
a24da3a436f44ddadf05516e70d537c3795f7d81
[ "MIT" ]
null
null
null
import plotly import plotly.graph_objs as go import json
14.25
30
0.842105
10
57
4.7
0.7
0.510638
0
0
0
0
0
0
0
0
0
0
0.140351
57
3
31
19
0.959184
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
1557e260b87952087ae19faf505ffe75a906460b
278
py
Python
Pipeline/main/Strategy/Open/lib/__init__.py
simonydbutt/b2a
0bf4a6de8547d73ace22967780442deeaff2d5c6
[ "MIT" ]
2
2018-07-01T03:36:24.000Z
2020-02-13T17:22:46.000Z
Pipeline/main/Strategy/Open/lib/__init__.py
simonydbutt/b2a
0bf4a6de8547d73ace22967780442deeaff2d5c6
[ "MIT" ]
null
null
null
Pipeline/main/Strategy/Open/lib/__init__.py
simonydbutt/b2a
0bf4a6de8547d73ace22967780442deeaff2d5c6
[ "MIT" ]
null
null
null
from Pipeline.main.Strategy.Open.lib.CheapVol import CheapVol from Pipeline.main.Strategy.Open.lib.OrderBookDepth import OrderBookDepth from Pipeline.main.Strategy.Open.lib.ERC20TickFade import ERC20TickFade from Pipeline.main.Strategy.Open.lib.TestingStrat import TestingStrat
55.6
73
0.870504
36
278
6.722222
0.305556
0.198347
0.264463
0.396694
0.512397
0.512397
0
0
0
0
0
0.015267
0.057554
278
4
74
69.5
0.908397
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
ec841dcfe71623b49ddcdc9f17485810681c06c4
724
py
Python
tests/test_identify_tps.py
jarrahl/tp-analyzer
c53e1fea44d968159c41607896584aa3ee0e5b4f
[ "MIT" ]
null
null
null
tests/test_identify_tps.py
jarrahl/tp-analyzer
c53e1fea44d968159c41607896584aa3ee0e5b4f
[ "MIT" ]
null
null
null
tests/test_identify_tps.py
jarrahl/tp-analyzer
c53e1fea44d968159c41607896584aa3ee0e5b4f
[ "MIT" ]
null
null
null
import pytest from tp_analyzer import identify_turning_points def test_simple_turning_points(): assert identify_turning_points([5, 2, 1, 2, 3, 2, 1, 2, 5], 3) == [2, 4, 6, 8] # increase 'l' to 4, the middle '3' becomes overshadowed by the '5's assert identify_turning_points([5, 2, 1, 2, 3, 2, 1, 2, 5], 4) == [2...
36.2
83
0.668508
135
724
3.385185
0.318519
0.199125
0.275711
0.295405
0.280088
0.157549
0.157549
0.157549
0.157549
0.157549
0
0.118044
0.180939
724
19
84
38.105263
0.652614
0.185083
0
0
0
0
0
0
0
0
0
0
0.454545
1
0.363636
true
0
0.181818
0
0.545455
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
1
0
0
0
1
0
0
6
ec8582b9d38ef74f7bd7597b758048d55934a82f
67
py
Python
finalists/yc14600/PyTorch-Encoding/encoding/transforms/__init__.py
lrzpellegrini/cvpr_clvision_challenge
cc783a9a4f80ab72062ef40368e4eed6b10c7bc9
[ "CC-BY-4.0" ]
2,190
2018-09-11T11:44:50.000Z
2022-03-30T15:20:11.000Z
finalists/yc14600/PyTorch-Encoding/encoding/transforms/__init__.py
lrzpellegrini/cvpr_clvision_challenge
cc783a9a4f80ab72062ef40368e4eed6b10c7bc9
[ "CC-BY-4.0" ]
374
2017-10-05T09:25:08.000Z
2022-03-11T06:03:53.000Z
finalists/yc14600/PyTorch-Encoding/encoding/transforms/__init__.py
lrzpellegrini/cvpr_clvision_challenge
cc783a9a4f80ab72062ef40368e4eed6b10c7bc9
[ "CC-BY-4.0" ]
531
2018-09-12T06:46:10.000Z
2022-03-30T13:14:28.000Z
from .transforms import * from .get_transform import get_transform
22.333333
40
0.835821
9
67
6
0.555556
0.444444
0
0
0
0
0
0
0
0
0
0
0.119403
67
2
41
33.5
0.915254
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
ec997a1c5f4ce78adac4d94be31892d138794a02
62,040
py
Python
Client/experience_management/memoryUpdater.py
asarav/MSc-Thesis-Experience-Sharing-Conversational-Agent
0f122c393768f9093b1990fe7a8b44213893d67a
[ "MIT" ]
null
null
null
Client/experience_management/memoryUpdater.py
asarav/MSc-Thesis-Experience-Sharing-Conversational-Agent
0f122c393768f9093b1990fe7a8b44213893d67a
[ "MIT" ]
null
null
null
Client/experience_management/memoryUpdater.py
asarav/MSc-Thesis-Experience-Sharing-Conversational-Agent
0f122c393768f9093b1990fe7a8b44213893d67a
[ "MIT" ]
null
null
null
from os import listdir from os.path import isfile, join from data_retrieval.dietItemManager import DietLikes from data_retrieval.jsonManager import jsonManager from experience_management.experienceManager import ExperienceManager import language_tool_python from experience_management.sentimentDetection import perform...
80.78125
415
0.566022
6,328
62,040
5.547882
0.069848
0.00997
0.016521
0.028086
0.854673
0.841086
0.820121
0.807161
0.792548
0.779702
0
0.001875
0.389603
62,040
767
416
80.886571
0.925189
0.05195
0
0.693662
0
0.179577
0.419727
0
0
0
0
0
0
1
0.001761
false
0
0.012324
0
0.015845
0.09507
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
ec9a058413fedcda21fd85d282e7b67b62fa717a
97
py
Python
src/MVIB/training/__init__.py
brmprnk/jointomicscomp
2074025f6b9847698c21f4c45cdb76cb6c583f4e
[ "MIT" ]
4
2021-07-20T10:20:03.000Z
2022-02-14T10:51:37.000Z
src/MVIB/training/__init__.py
brmprnk/jointomicscomp
2074025f6b9847698c21f4c45cdb76cb6c583f4e
[ "MIT" ]
null
null
null
src/MVIB/training/__init__.py
brmprnk/jointomicscomp
2074025f6b9847698c21f4c45cdb76cb6c583f4e
[ "MIT" ]
null
null
null
from src.MVIB.training.vae import VAETrainer from src.MVIB.training.omics import OmicsMIBTrainer
32.333333
51
0.85567
14
97
5.928571
0.642857
0.168675
0.26506
0.457831
0
0
0
0
0
0
0
0
0.082474
97
2
52
48.5
0.932584
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
ecabd25b14f8a55319069636a4748b26a87ee185
35,611
py
Python
auto_process_ngs/test/qc/test_reporting.py
fls-bioinformatics-core/auto_process_ngs
1f07a08e14f118e6a61d3f37130515efc6049dd7
[ "AFL-3.0" ]
5
2017-01-31T21:37:09.000Z
2022-03-17T19:26:29.000Z
auto_process_ngs/test/qc/test_reporting.py
fls-bioinformatics-core/auto_process_ngs
1f07a08e14f118e6a61d3f37130515efc6049dd7
[ "AFL-3.0" ]
294
2015-08-14T09:00:30.000Z
2022-03-18T10:17:05.000Z
auto_process_ngs/test/qc/test_reporting.py
fls-bioinformatics-core/auto_process_ngs
1f07a08e14f118e6a61d3f37130515efc6049dd7
[ "AFL-3.0" ]
7
2017-11-23T07:52:21.000Z
2020-07-15T10:12:05.000Z
####################################################################### # Unit tests for qc/reporting.py ####################################################################### import unittest import os import tempfile import shutil import zipfile from auto_process_ngs.mock import MockAnalysisProject from auto_process...
53.150746
128
0.610991
4,400
35,611
4.632045
0.046364
0.024042
0.079878
0.041215
0.939699
0.917472
0.901575
0.879005
0.846622
0.832589
0
0.03316
0.282722
35,611
669
129
53.230194
0.76475
0.073208
0
0.676007
0
0
0.284342
0.23839
0
0
0
0
0.115587
1
0.071804
false
0.001751
0.02627
0
0.117338
0.024518
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
ecae0477078e73f2c92c270cc04c7e8622892841
43
py
Python
test/com/facebook/buck/features/python/testdata/src_zip/file.py
fkorotkov/buck
4d63790ceda1028281600af9cf75153ccb92a5f5
[ "Apache-2.0" ]
2
2018-01-27T09:24:32.000Z
2018-06-19T17:50:41.000Z
test/com/facebook/buck/features/python/testdata/src_zip/file.py
fkorotkov/buck
4d63790ceda1028281600af9cf75153ccb92a5f5
[ "Apache-2.0" ]
1
2016-09-24T10:57:40.000Z
2016-09-24T10:57:40.000Z
test/com/facebook/buck/features/python/testdata/src_zip/file.py
fkorotkov/buck
4d63790ceda1028281600af9cf75153ccb92a5f5
[ "Apache-2.0" ]
1
2019-11-22T09:13:00.000Z
2019-11-22T09:13:00.000Z
print "I'm a file. A lonely, lonely file."
21.5
42
0.674419
9
43
3.222222
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.186047
43
1
43
43
0.828571
0
0
0
0
0
0.790698
0
0
0
0
0
0
0
null
null
0
0
null
null
1
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
1
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
6
01aaa123e4ad0f257637fd160dc485163132df94
5,950
py
Python
tests/asset_data/test_assetDataRequest/test_request_data_download.py
alv2017/Python---YahooFinanceDataLoader
407076c6262d2935b5331aceaaa02d5a9146183d
[ "MIT" ]
null
null
null
tests/asset_data/test_assetDataRequest/test_request_data_download.py
alv2017/Python---YahooFinanceDataLoader
407076c6262d2935b5331aceaaa02d5a9146183d
[ "MIT" ]
null
null
null
tests/asset_data/test_assetDataRequest/test_request_data_download.py
alv2017/Python---YahooFinanceDataLoader
407076c6262d2935b5331aceaaa02d5a9146183d
[ "MIT" ]
null
null
null
import unittest import requests from unittest.mock import Mock, patch from YahooFinanceDataLoader.asset_data.assetDataRequest import AssetDataRequest class TestClass_AssetDataRequest_request_data_download(unittest.TestCase): def setUp(self): self.symbol = 'MSFT' self.sdate = '2018-01-01' ...
44.074074
98
0.633277
576
5,950
6.230903
0.130208
0.112288
0.125383
0.047367
0.831987
0.784898
0.784898
0.745333
0.745333
0.710226
0
0.011622
0.291429
5,950
135
99
44.074074
0.839658
0.128403
0
0.636364
0
0
0.11902
0.026254
0
0
0
0
0.056818
1
0.068182
false
0
0.045455
0
0.125
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
01bf320a05cdd644b7d4cf988774f4603a1b4586
45
py
Python
tests/test.py
MikaYlitalo/gamefav-bot
d167a50e3798b1cfaaf8fb9521b276f61de394c9
[ "MIT" ]
null
null
null
tests/test.py
MikaYlitalo/gamefav-bot
d167a50e3798b1cfaaf8fb9521b276f61de394c9
[ "MIT" ]
null
null
null
tests/test.py
MikaYlitalo/gamefav-bot
d167a50e3798b1cfaaf8fb9521b276f61de394c9
[ "MIT" ]
null
null
null
print('Skipping test - not yet implemented')
22.5
44
0.755556
6
45
5.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.133333
45
1
45
45
0.871795
0
0
0
0
0
0.777778
0
0
0
0
0
0
1
0
true
0
0
0
0
1
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
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
6
17340903d1e60890fe6aa9c161339a6d44111fb3
159
py
Python
python/8kyu/filling_an_array.py
Sigmanificient/codewars
b34df4bf55460d312b7ddf121b46a707b549387a
[ "MIT" ]
3
2021-06-08T01:57:13.000Z
2021-06-26T10:52:47.000Z
python/8kyu/filling_an_array.py
Sigmanificient/codewars
b34df4bf55460d312b7ddf121b46a707b549387a
[ "MIT" ]
null
null
null
python/8kyu/filling_an_array.py
Sigmanificient/codewars
b34df4bf55460d312b7ddf121b46a707b549387a
[ "MIT" ]
2
2021-06-10T21:20:13.000Z
2021-06-30T10:13:26.000Z
"""Kata url: https://www.codewars.com/kata/571d42206414b103dc0006a1.""" from typing import List def arr(n: int = 0) -> List[int]: return list(range(n))
19.875
71
0.679245
23
159
4.695652
0.782609
0
0
0
0
0
0
0
0
0
0
0.147059
0.144654
159
7
72
22.714286
0.647059
0.408805
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
6
176c18bc0a89084e5dbedf3b6b6f6d518e92427a
22
py
Python
main.py
hotspoons/robot-remote
9ec0a81d6a37198e975f999f9f563e1ebae72e5f
[ "MIT" ]
null
null
null
main.py
hotspoons/robot-remote
9ec0a81d6a37198e975f999f9f563e1ebae72e5f
[ "MIT" ]
null
null
null
main.py
hotspoons/robot-remote
9ec0a81d6a37198e975f999f9f563e1ebae72e5f
[ "MIT" ]
1
2021-03-25T14:54:25.000Z
2021-03-25T14:54:25.000Z
from control import *
11
21
0.772727
3
22
5.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.181818
22
1
22
22
0.944444
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
1
0
0
6
179a3e32631795a5b473549380e5a72ae0c30f9b
95
py
Python
perception/utils.py
fireattack/perception
99057309293c32144448e52068665315aacd9561
[ "Apache-2.0" ]
123
2019-11-04T19:29:46.000Z
2022-03-18T13:49:12.000Z
perception/utils.py
fireattack/perception
99057309293c32144448e52068665315aacd9561
[ "Apache-2.0" ]
13
2019-11-05T06:51:46.000Z
2022-02-22T04:09:58.000Z
perception/utils.py
fireattack/perception
99057309293c32144448e52068665315aacd9561
[ "Apache-2.0" ]
11
2019-11-05T17:47:16.000Z
2022-01-25T15:27:31.000Z
def flatten(list_of_lists): return [item for sublist in list_of_lists for item in sublist]
31.666667
66
0.778947
17
95
4.117647
0.588235
0.171429
0.314286
0
0
0
0
0
0
0
0
0
0.168421
95
2
67
47.5
0.886076
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
17a184f6a83f8b2be18457541cfa02c06979c4b9
178
py
Python
examples/en/api/blueprints.py
yulix/restful-api-contract
fe1a9364f295b79dd668d3a82f9ff2c7ff1b6618
[ "MIT" ]
null
null
null
examples/en/api/blueprints.py
yulix/restful-api-contract
fe1a9364f295b79dd668d3a82f9ff2c7ff1b6618
[ "MIT" ]
null
null
null
examples/en/api/blueprints.py
yulix/restful-api-contract
fe1a9364f295b79dd668d3a82f9ff2c7ff1b6618
[ "MIT" ]
null
null
null
from .. import app from .groupA import groupa_api from .groupB import groupb_api # Register API buleprint app.register_blueprint(groupa_api) app.register_blueprint(groupb_api)
19.777778
34
0.825843
26
178
5.423077
0.346154
0.12766
0.283688
0
0
0
0
0
0
0
0
0
0.11236
178
8
35
22.25
0.892405
0.123596
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0.4
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
bd6c0644515e501eba39e66437acf8743792462a
24
py
Python
pshelf/__init__.py
transhapHigsn/pshelf
0e7c334d98fa006a15ae3d197bb0cb5be168e4c2
[ "MIT" ]
null
null
null
pshelf/__init__.py
transhapHigsn/pshelf
0e7c334d98fa006a15ae3d197bb0cb5be168e4c2
[ "MIT" ]
null
null
null
pshelf/__init__.py
transhapHigsn/pshelf
0e7c334d98fa006a15ae3d197bb0cb5be168e4c2
[ "MIT" ]
null
null
null
from .shell import shelf
24
24
0.833333
4
24
5
1
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
1
0
0
6
bd6cd36ed1ef399ac524a808a37ada5b141b1af9
104
py
Python
own_practice/one_six.py
Ellis0817/Introduction-to-Programming-Using-Python
1882a2a846162d5ff56d4d56c3940b638ef408bd
[ "MIT" ]
null
null
null
own_practice/one_six.py
Ellis0817/Introduction-to-Programming-Using-Python
1882a2a846162d5ff56d4d56c3940b638ef408bd
[ "MIT" ]
4
2019-11-07T12:32:19.000Z
2020-07-19T14:04:44.000Z
own_practice/one_six.py
Ellis0817/Introduction-to-Programming-Using-Python
1882a2a846162d5ff56d4d56c3940b638ef408bd
[ "MIT" ]
5
2019-12-04T15:56:55.000Z
2022-01-14T06:19:18.000Z
""" 程式設計練習題 1-6 1-6 數列相加. 請撰寫一程式,顯示 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9的計算結果 """ print((1 + 9) * 9 / 2)
13
48
0.442308
22
104
2.090909
0.681818
0.086957
0
0
0
0
0
0
0
0
0
0.239437
0.317308
104
7
49
14.857143
0.408451
0.682692
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
6
bd8f79e5aae43446818e131c4eaa36fe8d55fb90
5,045
py
Python
resources/dot_PyCharm/system/python_stubs/-762174762/PySide/QtGui/QMenu.py
basepipe/developer_onboarding
05b6a776f8974c89517868131b201f11c6c2a5ad
[ "MIT" ]
1
2020-04-20T02:27:20.000Z
2020-04-20T02:27:20.000Z
resources/dot_PyCharm/system/python_stubs/cache/8cdc475d469a13122bc4bc6c3ac1c215d93d5f120f5cc1ef33a8f3088ee54d8e/PySide/QtGui/QMenu.py
basepipe/developer_onboarding
05b6a776f8974c89517868131b201f11c6c2a5ad
[ "MIT" ]
null
null
null
resources/dot_PyCharm/system/python_stubs/cache/8cdc475d469a13122bc4bc6c3ac1c215d93d5f120f5cc1ef33a8f3088ee54d8e/PySide/QtGui/QMenu.py
basepipe/developer_onboarding
05b6a776f8974c89517868131b201f11c6c2a5ad
[ "MIT" ]
null
null
null
# encoding: utf-8 # module PySide.QtGui # from C:\Python27\lib\site-packages\PySide\QtGui.pyd # by generator 1.147 # no doc # imports import PySide.QtCore as __PySide_QtCore import Shiboken as __Shiboken from QWidget import QWidget class QMenu(QWidget): # no doc def aboutToHide(self, *args, **kwargs): # rea...
27.418478
106
0.625768
553
5,045
5.640145
0.198915
0.216736
0.33344
0.288554
0.690285
0.690285
0.667842
0.655659
0.090414
0
0
0.005639
0.261843
5,045
183
107
27.568306
0.831901
0.321308
0
0.472727
0
0
0
0
0
0
0
0
0
1
0.472727
false
0.472727
0.027273
0
0.518182
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
6
bdaf4388beceb5b2bdda1360a2224c991f7d12b4
112
py
Python
src/pyensae/cli/__init__.py
mohamedelkansouli/Ensae_py2
e54a05f90c6aa6e2a5065eac9f9ec10aca64b46a
[ "MIT" ]
28
2015-07-19T21:20:51.000Z
2022-02-16T11:50:53.000Z
src/pyensae/cli/__init__.py
mohamedelkansouli/Ensae_py2
e54a05f90c6aa6e2a5065eac9f9ec10aca64b46a
[ "MIT" ]
34
2015-06-16T15:38:25.000Z
2021-12-29T11:04:01.000Z
src/pyensae/cli/__init__.py
mohamedelkansouli/Ensae_py2
e54a05f90c6aa6e2a5065eac9f9ec10aca64b46a
[ "MIT" ]
27
2015-01-13T08:24:22.000Z
2022-03-31T14:51:23.000Z
""" @file @brief Shortcuts to cli. """ from .head_cli import file_head_cli from .tail_cli import file_tail_cli
14
35
0.758929
19
112
4.157895
0.473684
0.177215
0.329114
0
0
0
0
0
0
0
0
0
0.142857
112
7
36
16
0.822917
0.267857
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
bdcca2e5237fe7810086980d5fdd72376614047b
41
py
Python
lang/Python/topic-variable.py
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
null
null
null
lang/Python/topic-variable.py
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
null
null
null
lang/Python/topic-variable.py
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
null
null
null
3 3 _*_, _**0.5 (9, 1.7320508075688772)
6.833333
23
0.609756
7
41
3.142857
0.857143
0
0
0
0
0
0
0
0
0
0
0.647059
0.170732
41
5
24
8.2
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
6
da4efd62ea361a691d042e50020114971454b0aa
8,301
py
Python
tests/str/test_str_len_declaration.py
nikitanovosibirsk/district42
0c13248919fc96bde16b9634a8ea468e4882752a
[ "Apache-2.0" ]
1
2016-09-16T04:09:19.000Z
2016-09-16T04:09:19.000Z
tests/str/test_str_len_declaration.py
nikitanovosibirsk/district42
0c13248919fc96bde16b9634a8ea468e4882752a
[ "Apache-2.0" ]
2
2021-06-14T05:53:49.000Z
2022-02-01T14:26:31.000Z
tests/str/test_str_len_declaration.py
nikitanovosibirsk/district42
0c13248919fc96bde16b9634a8ea468e4882752a
[ "Apache-2.0" ]
null
null
null
import pytest from baby_steps import given, then, when from pytest import raises from district42 import schema from district42.errors import DeclarationError def test_str_len_declaration(): with given: length = 10 with when: sch = schema.str.len(length) with then: assert sch.pro...
29.967509
97
0.657391
1,082
8,301
4.84658
0.051756
0.077231
0.070938
0.083333
0.928108
0.919336
0.907704
0.889016
0.844775
0.794813
0
0.009995
0.240694
8,301
276
98
30.076087
0.82199
0
0
0.611702
0
0
0.138297
0.007951
0
0
0
0
0.260638
1
0.138298
false
0
0.026596
0
0.164894
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
da5f57d6085ecfcb9b7249a22af17f8b97dcd5da
161
py
Python
src/utils/compilation/__init__.py
CheckPointSW/Scour
2f9391da45803b44181f7973e4e7c93bc2208252
[ "MIT" ]
152
2018-08-13T05:48:59.000Z
2022-03-30T15:18:44.000Z
src/utils/compilation/__init__.py
CheckPointSW/Scour
2f9391da45803b44181f7973e4e7c93bc2208252
[ "MIT" ]
7
2019-08-29T15:24:41.000Z
2021-05-04T06:38:49.000Z
src/utils/compilation/__init__.py
CheckPointSW/Scour
2f9391da45803b44181f7973e4e7c93bc2208252
[ "MIT" ]
21
2018-08-13T19:11:29.000Z
2022-02-28T15:25:47.000Z
from .scout_files import * from .scout_flags import * from .target_arc import * from .arc_intel import * from .arc_arm import * from .arc_mips import *
26.833333
26
0.720497
24
161
4.583333
0.416667
0.454545
0.354545
0
0
0
0
0
0
0
0
0
0.204969
161
6
27
26.833333
0.859375
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
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
1
0
1
0
0
0
0
6
da64eb56767d9aec5c588a38fd0a4a67f866e5d1
43
py
Python
libml/eval.py
yanzhicong/mixmatch
4903dcc10ce73f3afc9c9c1b1392cc6def7f83bc
[ "Apache-2.0" ]
null
null
null
libml/eval.py
yanzhicong/mixmatch
4903dcc10ce73f3afc9c9c1b1392cc6def7f83bc
[ "Apache-2.0" ]
null
null
null
libml/eval.py
yanzhicong/mixmatch
4903dcc10ce73f3afc9c9c1b1392cc6def7f83bc
[ "Apache-2.0" ]
null
null
null
import os import sys import numpy as np
6.142857
18
0.744186
8
43
4
0.75
0
0
0
0
0
0
0
0
0
0
0
0.255814
43
6
19
7.166667
1
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
1
0
0
6
da69046b991e6fc50a4539acbbd83cb7ff097266
579
py
Python
build/lib.linux-x86_64-2.7/biograder/KeyGenerator.py
PayneLab/GenericDataAPI
9469328c4f845fbf8d97b5d80ad2077c9f927022
[ "MIT" ]
2
2021-04-25T18:36:29.000Z
2021-05-14T15:34:59.000Z
build/lib.linux-x86_64-2.7/biograder/KeyGenerator.py
PayneLab/GenericDataAPI
9469328c4f845fbf8d97b5d80ad2077c9f927022
[ "MIT" ]
null
null
null
build/lib.linux-x86_64-2.7/biograder/KeyGenerator.py
PayneLab/GenericDataAPI
9469328c4f845fbf8d97b5d80ad2077c9f927022
[ "MIT" ]
2
2020-11-23T02:09:57.000Z
2021-08-13T21:57:03.000Z
from cryptography.hazmat.backends import default_backend from cryptography.hazmat.primitives.asymmetric import rsa from cryptography.hazmat.primitives import serialization from cryptography.hazmat.primitives import hashes from cryptography.hazmat.primitives.asymmetric import padding class KeyGenerator: ...
25.173913
62
0.704663
60
579
6.6
0.466667
0.20202
0.277778
0.323232
0.434343
0.242424
0
0
0
0
0
0.020548
0.243523
579
22
63
26.318182
0.883562
0
0
0
0
0
0
0
0
0
0
0
0
1
0.133333
false
0.066667
0.333333
0
0.6
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
6
da88232f330a1394da1f89ed752fc9a1f4fddd29
260,272
py
Python
instances/passenger_demand/pas-20210422-1717-int18e/90.py
LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure
bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11
[ "BSD-3-Clause" ]
null
null
null
instances/passenger_demand/pas-20210422-1717-int18e/90.py
LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure
bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11
[ "BSD-3-Clause" ]
null
null
null
instances/passenger_demand/pas-20210422-1717-int18e/90.py
LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure
bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11
[ "BSD-3-Clause" ]
null
null
null
""" PASSENGERS """ numPassengers = 34597 passenger_arriving = ( (9, 4, 6, 7, 12, 3, 2, 3, 4, 1, 1, 2, 0, 11, 5, 3, 7, 2, 8, 5, 2, 3, 1, 2, 2, 0), # 0 (7, 7, 5, 12, 7, 0, 6, 7, 2, 0, 4, 1, 0, 5, 9, 5, 1, 8, 2, 3, 1, 4, 7, 4, 0, 0), # 1 (9, 22, 9, 10, 9, 3, 2, 4, 8, 3, 1, 2, 0, 7, 11, 6, 8, 14, 4, 6, 6, 5, 3, 4, ...
278.365775
490
0.771301
32,987
260,272
6.085337
0.23488
0.355091
0.340744
0.645621
0.36632
0.361558
0.360661
0.360591
0.360591
0.360591
0
0.851064
0.095031
260,272
934
491
278.663812
0.001185
0.015411
0
0.200873
0
0
0
0
0
0
0
0
0
1
0
false
0.005459
0
0
0
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
0
0
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
e50bdde5e34a37084301c6821af09933b4726da4
1,319
py
Python
dash/tests/test_tilemap.py
defgsus/thegame
38a627d9108f1418b94b08831fd640dd87fbba83
[ "MIT" ]
1
2021-11-05T11:49:26.000Z
2021-11-05T11:49:26.000Z
dash/tests/test_tilemap.py
defgsus/thegame
38a627d9108f1418b94b08831fd640dd87fbba83
[ "MIT" ]
null
null
null
dash/tests/test_tilemap.py
defgsus/thegame
38a627d9108f1418b94b08831fd640dd87fbba83
[ "MIT" ]
null
null
null
import unittest from dash.map import TileMap class TestTilemap(unittest.TestCase): def test_window(self): map = TileMap((4, 3)) map.fill(1) self.assertEqual( [[1, 1, 1, 1, 0, 0, 0, 0], [1, 1, 1, 1, 0, 0, 0, 0], [1, 1, 1, 1, 0, 0, 0, 0], ...
28.673913
58
0.312358
214
1,319
1.901869
0.107477
0.520885
0.714988
0.874693
0.683047
0.675676
0.599509
0.520885
0.520885
0.520885
0
0.242553
0.465504
1,319
45
59
29.311111
0.334752
0
0
0.45
0
0
0
0
0
0
0
0
0.1
1
0.025
false
0
0.05
0
0.1
0
0
0
1
null
1
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
e50f9a463aa811aa71329d27d310105b70f7593e
117
py
Python
authentication/models.py
griffinskudder/spero-backend
57e69f030c618d7a7670b7453d3d6f230d71c639
[ "MIT" ]
null
null
null
authentication/models.py
griffinskudder/spero-backend
57e69f030c618d7a7670b7453d3d6f230d71c639
[ "MIT" ]
3
2020-02-11T23:37:13.000Z
2021-06-10T21:08:43.000Z
authentication/models.py
griffinskudder/spero-backend
57e69f030c618d7a7670b7453d3d6f230d71c639
[ "MIT" ]
null
null
null
from django.contrib.auth.models import AbstractUser # Create your models here. class User(AbstractUser): pass
14.625
51
0.769231
15
117
6
0.866667
0
0
0
0
0
0
0
0
0
0
0
0.162393
117
7
52
16.714286
0.918367
0.205128
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
6