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
002a292129033a7331480d5093ed79609e07583b
300
py
Python
pants-plugins/experimental/pyoxidizer/register.py
sureshjoshi/pants-pyoxidizer-plugin
1e7c61d8e61de4f84c33dce2ef7349f448997b6b
[ "Apache-2.0" ]
3
2022-01-12T15:41:12.000Z
2022-03-21T08:46:00.000Z
pants-plugins/experimental/pyoxidizer/register.py
sureshjoshi/pants-pyoxidizer-plugin
1e7c61d8e61de4f84c33dce2ef7349f448997b6b
[ "Apache-2.0" ]
19
2022-01-13T02:55:55.000Z
2022-02-03T15:23:48.000Z
pants-plugins/experimental/pyoxidizer/register.py
sureshjoshi/pants-pyoxidizer-plugin
1e7c61d8e61de4f84c33dce2ef7349f448997b6b
[ "Apache-2.0" ]
null
null
null
from experimental.pyoxidizer import subsystem from experimental.pyoxidizer.rules import rules as pyoxidizer_rules from experimental.pyoxidizer.target_types import PyOxidizerTarget def rules(): return [*pyoxidizer_rules(), *subsystem.rules()] def target_types(): return [PyOxidizerTarget]
25
67
0.806667
33
300
7.212121
0.363636
0.201681
0.327731
0
0
0
0
0
0
0
0
0
0.116667
300
11
68
27.272727
0.898113
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
true
0
0.428571
0.285714
1
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
0
0
0
0
null
0
0
0
0
0
1
1
0
1
1
1
0
0
7
0039e05a2e00541b246e1298da4882a416655fe2
2,967
py
Python
tests/parser/statements/test_VariableStatement.py
nyrLang/nyrLang
49c427fdd4aca4349c629fe220f3a235f305f50f
[ "MIT" ]
3
2021-09-30T18:52:29.000Z
2021-11-09T03:41:38.000Z
tests/parser/statements/test_VariableStatement.py
niyrme/NyrLang
49c427fdd4aca4349c629fe220f3a235f305f50f
[ "MIT" ]
14
2021-06-19T15:31:51.000Z
2021-08-25T14:11:24.000Z
tests/parser/statements/test_VariableStatement.py
niyrme/NyrLang
49c427fdd4aca4349c629fe220f3a235f305f50f
[ "MIT" ]
1
2021-09-06T16:23:07.000Z
2021-09-06T16:23:07.000Z
import json from nyr.parser import node from nyr.parser.parser import Parser def testDeclarationWithAssign(): ast = json.loads( json.dumps( Parser().parse("let x = 42;"), cls=node.ComplexEncoder, ), ) expected = { "type": "Program", "body": [ { "type": "VariableStatement", "declarations"...
15.534031
48
0.473879
224
2,967
6.276786
0.169643
0.130868
0.142248
0.165007
0.831437
0.831437
0.800142
0.800142
0.800142
0.705548
0
0.007046
0.3303
2,967
190
49
15.615789
0.700554
0
0
0.633136
0
0
0.26087
0
0
0
0
0
0.029586
1
0.029586
false
0
0.017751
0
0.047337
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
0050fb1112915c1ef3f3878b0a2aa8a3295e6a5e
7,254
py
Python
models/VGG16.py
Apiquet/Tracking_SSD_ReID
93e0f88879b9354921569ad34139a0b3354d4ee4
[ "MIT" ]
3
2021-02-28T06:05:23.000Z
2022-03-07T14:21:36.000Z
models/VGG16.py
Apiquet/Tracking_SSD_ReID
93e0f88879b9354921569ad34139a0b3354d4ee4
[ "MIT" ]
null
null
null
models/VGG16.py
Apiquet/Tracking_SSD_ReID
93e0f88879b9354921569ad34139a0b3354d4ee4
[ "MIT" ]
2
2021-12-25T17:17:31.000Z
2022-02-25T15:05:25.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ VGG16 implementation: https://arxiv.org/abs/1409.1556 """ from tensorflow import keras from tensorflow.keras.layers import Conv2D, MaxPool2D, Dense, Flatten class VGG16(keras.Model): def __init__(self, input_shape=(224, 224, 3)): super(VGG16, self).__i...
37.979058
69
0.409981
740
7,254
3.644595
0.104054
0.154245
0.053022
0.057842
0.836856
0.745643
0.734149
0.734149
0.706711
0.706711
0
0.149304
0.505101
7,254
190
70
38.178947
0.60195
0.026606
0
0.662338
0
0
0.033127
0
0
0
0
0
0
1
0.032468
false
0
0.012987
0.025974
0.077922
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
cc3e34eec5af16ed50cd7ad22777241731e1ce22
199
py
Python
ctypes_generation/extended_structs/_RPC_IF_ID.py
IMULMUL/PythonForWindows
61e027a678d5b87aa64fcf8a37a6661a86236589
[ "BSD-3-Clause" ]
479
2016-01-08T00:53:34.000Z
2022-03-22T10:28:19.000Z
ctypes_generation/extended_structs/_RPC_IF_ID.py
IMULMUL/PythonForWindows
61e027a678d5b87aa64fcf8a37a6661a86236589
[ "BSD-3-Clause" ]
38
2017-12-29T17:09:04.000Z
2022-01-31T08:27:47.000Z
ctypes_generation/extended_structs/_RPC_IF_ID.py
IMULMUL/PythonForWindows
61e027a678d5b87aa64fcf8a37a6661a86236589
[ "BSD-3-Clause" ]
103
2016-01-10T01:32:17.000Z
2021-12-24T17:21:06.000Z
INITIAL_RPC_IF_ID = RPC_IF_ID class _RPC_IF_ID(INITIAL_RPC_IF_ID): def __repr__(self): return '<RPC_IF_ID "{0}" ({1}, {2})>'.format(self.Uuid.to_string(), self.VersMajor, self.VersMinor)
39.8
107
0.703518
34
199
3.588235
0.529412
0.204918
0.286885
0.229508
0
0
0
0
0
0
0
0.017341
0.130653
199
5
107
39.8
0.687861
0
0
0
0
0
0.14
0
0
0
0
0
0
1
0.25
false
0
0
0.25
0.75
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
1
0
0
0
1
1
0
0
7
cca3db4418550a32bb65a4a56eda22b9d89dc12e
1,938
py
Python
application/modules/post/windows-priv-check/wpc/users.py
cys3c/viper-shell
e05a07362b7d1e6d73c302a24d2506846e43502c
[ "PSF-2.0", "BSD-2-Clause" ]
2
2018-06-30T03:21:30.000Z
2020-03-22T02:31:02.000Z
application/modules/post/windows-priv-check/wpc/users.py
cys3c/viper-shell
e05a07362b7d1e6d73c302a24d2506846e43502c
[ "PSF-2.0", "BSD-2-Clause" ]
null
null
null
application/modules/post/windows-priv-check/wpc/users.py
cys3c/viper-shell
e05a07362b7d1e6d73c302a24d2506846e43502c
[ "PSF-2.0", "BSD-2-Clause" ]
3
2017-11-15T11:08:20.000Z
2020-03-22T02:31:03.000Z
from wpc.user import user import win32net import wpc.conf import pywintypes class users(): def __init__(self): self.users = [] def get_filtered(self, ): if self.users == []: try: level = 1 resume = 0 while True: u...
37.269231
116
0.428793
195
1,938
4.210256
0.261538
0.09866
0.063337
0.09257
0.855055
0.855055
0.799026
0.799026
0.799026
0.799026
0
0.029126
0.468524
1,938
51
117
38
0.767961
0.110423
0
0.702703
0
0
0.016336
0
0
0
0
0
0
0
null
null
0
0.108108
null
null
0.054054
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
aeb418645c3c70c9c562fe5973ee0700ab60b6dd
17,228
py
Python
tests/cmhc/test_data_parser.py
JasonMWhite/cmhc-scraper
1c62c9b26fb83814af415b7e9e017cc8d062347b
[ "MIT" ]
2
2018-10-17T07:48:35.000Z
2019-02-11T18:56:26.000Z
tests/cmhc/test_data_parser.py
JasonMWhite/cmhc-scraper
1c62c9b26fb83814af415b7e9e017cc8d062347b
[ "MIT" ]
null
null
null
tests/cmhc/test_data_parser.py
JasonMWhite/cmhc-scraper
1c62c9b26fb83814af415b7e9e017cc8d062347b
[ "MIT" ]
1
2019-03-14T23:41:29.000Z
2019-03-14T23:41:29.000Z
import pytest from cmhc.cmhc.spiders.stats import StatsSpider @pytest.fixture() def data(): return """ <div class="data-widget"> <form action="/hmip-pimh/en/TableMapChart/RenderTable" data-ajax="true" data-ajax-mode="replace" data-ajax-update="#predefinedTable-data-area" id="PredefinedTableForm" method="post"></f...
55.935065
189
0.621198
2,991
17,228
3.553661
0.04547
0.204911
0.269075
0.272462
0.88823
0.88061
0.88061
0.878069
0.876188
0.873271
0
0.038928
0.081495
17,228
307
190
56.117264
0.632773
0
0
0.722772
0
0.349835
0.967959
0.375609
0
0
0
0
0.009901
1
0.006601
false
0
0.006601
0.0033
0.016502
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
12
aed21ded31537db99f2aa60f1c3851fe730a3aa8
2,341
py
Python
faeAuditor/auditResults/migrations/0005_auto_20181025_1515.py
opena11y/fae-auditor
ea9099b37b77ddc30092b0cdd962647c92b143a7
[ "Apache-2.0" ]
2
2018-02-28T19:03:28.000Z
2021-09-30T13:40:23.000Z
faeAuditor/auditResults/migrations/0005_auto_20181025_1515.py
opena11y/fae-auditor
ea9099b37b77ddc30092b0cdd962647c92b143a7
[ "Apache-2.0" ]
6
2020-02-11T21:53:58.000Z
2022-02-10T07:57:58.000Z
faeAuditor/auditResults/migrations/0005_auto_20181025_1515.py
opena11y/fae-auditor
ea9099b37b77ddc30092b0cdd962647c92b143a7
[ "Apache-2.0" ]
1
2019-12-05T06:05:20.000Z
2019-12-05T06:05:20.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.8 on 2018-10-25 20:15 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('auditResults', '0004_auto_20181024_1326'), ] operations = [ migrations.Alte...
35.469697
70
0.624947
217
2,341
6.474654
0.230415
0.142349
0.177936
0.206406
0.859786
0.859786
0.859786
0.810676
0.810676
0.810676
0
0.031213
0.274669
2,341
65
71
36.015385
0.796231
0.029047
0
0.862069
1
0
0.203965
0.096476
0
0
0
0
0
1
0
false
0.086207
0.034483
0
0.086207
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
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
10
aee96e2e09fd4e8469fa3a4e0e6520918ea5f689
3,637
py
Python
sqlact.py
sherlockxiao-git/Helmet-face-Detection
3c8c3edaf435fbd011b41f74a3417c44f66f52b6
[ "MIT" ]
2
2020-06-22T03:32:57.000Z
2020-09-22T01:24:55.000Z
sqlact.py
sherlockxiao-git/Helmet-face-Detection
3c8c3edaf435fbd011b41f74a3417c44f66f52b6
[ "MIT" ]
null
null
null
sqlact.py
sherlockxiao-git/Helmet-face-Detection
3c8c3edaf435fbd011b41f74a3417c44f66f52b6
[ "MIT" ]
null
null
null
import pymysql ###################################### def add_to_sql(tablename, path, name): aiuse = pymysql.connect(host="localhost", port=3306, user="root", password="wang518518", db="db_helmet") ...
28.637795
76
0.45532
331
3,637
4.930514
0.172205
0.051471
0.081495
0.098652
0.833333
0.833333
0.78125
0.78125
0.78125
0.78125
0
0.053275
0.37036
3,637
127
77
28.637795
0.659389
0.051966
0
0.76087
0
0
0.14771
0
0.01087
0
0
0
0
1
0.076087
false
0.076087
0.01087
0
0.119565
0.043478
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
1
0
0
0
0
0
8
4e0ca8b263333f35f38ddaaf63e2272b3480fb8a
449
py
Python
tests/cases/run/comparison6.py
3e45/minpiler
993bdb38d1e4709a412bb551f7eb213376bfe7d2
[ "MIT" ]
null
null
null
tests/cases/run/comparison6.py
3e45/minpiler
993bdb38d1e4709a412bb551f7eb213376bfe7d2
[ "MIT" ]
5
2022-02-12T19:53:08.000Z
2022-03-02T04:30:32.000Z
tests/cases/run/comparison6.py
3e45/minpiler
993bdb38d1e4709a412bb551f7eb213376bfe7d2
[ "MIT" ]
null
null
null
from minpiler.std import L, M, emulator M.print(L.message1.type == M.at.Block.message, ";", L.message1.type != M.at.Block.message, ";") M.print(L.message1.type is M.at.Block.message, ";", L.message1.type is not M.at.Block.message, ";") M.print(L.message1.type == M.at.Block.duo, ";", L.message1.type != M.at.Block.duo, ...
44.9
99
0.66147
87
449
3.413793
0.218391
0.242424
0.350168
0.20202
0.818182
0.818182
0.818182
0.626263
0.360269
0
0
0.039604
0.100223
449
9
100
49.888889
0.695545
0.037862
0
0
0
0
0.016279
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0.666667
0
0
0
null
1
1
1
1
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
0
0
0
1
0
9
9dd58129b873648c45821ea45f346f39f53b0c1d
6,165
py
Python
tests/common/graph/test_graph_matching.py
MaximProshin/nncf
2290d2f4cebcf6749e419dc76850e7bd8b7d8da1
[ "Apache-2.0" ]
136
2020-06-01T14:03:31.000Z
2020-10-28T06:10:50.000Z
tests/common/graph/test_graph_matching.py
MaximProshin/nncf
2290d2f4cebcf6749e419dc76850e7bd8b7d8da1
[ "Apache-2.0" ]
133
2020-05-26T13:48:04.000Z
2020-10-28T05:25:55.000Z
tests/common/graph/test_graph_matching.py
MaximProshin/nncf
2290d2f4cebcf6749e419dc76850e7bd8b7d8da1
[ "Apache-2.0" ]
36
2020-05-28T08:18:39.000Z
2020-10-27T14:46:58.000Z
from tests.common.graph.test_graph_pattern import TestPattern from nncf.common.graph.graph_matching import find_subgraphs_matching_pattern import networkx as nx import itertools def test_ops_combination_patterns(): pattern = TestPattern.first_pattern + TestPattern.second_pattern ref_graph = nx.DiGraph() ...
33.688525
107
0.633577
873
6,165
4.172967
0.075601
0.191051
0.17513
0.144112
0.858359
0.833928
0.821576
0.821576
0.800988
0.800988
0
0.027201
0.194972
6,165
182
108
33.873626
0.706831
0.023682
0
0.723881
0
0
0.035667
0
0
0
0
0
0.097015
1
0.044776
false
0
0.029851
0
0.08209
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
9de197108ede3a20397277f3c2d47d91b7b13e99
312
py
Python
openstack-cyborg-2.0.0/cyborg/objects/driver_objects/__init__.py
scottwedge/OpenStack-Stein
7077d1f602031dace92916f14e36b124f474de15
[ "Apache-2.0" ]
37
2017-03-23T02:10:35.000Z
2021-11-25T07:57:36.000Z
openstack-cyborg-2.0.0/cyborg/objects/driver_objects/__init__.py
scottwedge/OpenStack-Stein
7077d1f602031dace92916f14e36b124f474de15
[ "Apache-2.0" ]
5
2019-08-14T06:46:03.000Z
2021-12-13T20:01:25.000Z
openstack-cyborg-2.0.0/cyborg/objects/driver_objects/__init__.py
scottwedge/OpenStack-Stein
7077d1f602031dace92916f14e36b124f474de15
[ "Apache-2.0" ]
27
2017-07-14T02:26:24.000Z
2022-01-19T07:55:10.000Z
__import__('cyborg.objects.driver_objects.driver_device') __import__('cyborg.objects.driver_objects.driver_attribute') __import__('cyborg.objects.driver_objects.driver_attach_handle') __import__('cyborg.objects.driver_objects.driver_deployable') __import__('cyborg.objects.driver_objects.driver_controlpath_id')
52
65
0.871795
37
312
6.486486
0.297297
0.541667
0.395833
0.520833
0.791667
0.791667
0
0
0
0
0
0
0.016026
312
5
66
62.4
0.781759
0
0
0
0
0
0.759615
0.759615
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
1
0
1
0
1
0
0
10
d186226bac7d7f145d1384b333a9a1b58e78b0fa
102
py
Python
modules/__init__.py
Julian-Hochhaus/py_modules
cf3fa9b1193a0022ffcd7d3b15979ac19936da61
[ "MIT" ]
2
2018-04-27T12:00:37.000Z
2018-11-12T14:08:43.000Z
modules/__init__.py
Julian-Hochhaus/py_modules
cf3fa9b1193a0022ffcd7d3b15979ac19936da61
[ "MIT" ]
5
2018-11-13T19:02:38.000Z
2019-07-29T10:57:11.000Z
modules/__init__.py
Julian-Hochhaus/py_modules
cf3fa9b1193a0022ffcd7d3b15979ac19936da61
[ "MIT" ]
null
null
null
from .tab2latex.tab2latex.textable import latex_tab from .tab2latex.tab2latex.textable import long_tab
51
51
0.872549
14
102
6.214286
0.5
0.298851
0.505747
0.689655
0.827586
0
0
0
0
0
0
0.042105
0.068627
102
2
52
51
0.873684
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
1
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
9
d19946326ec731917265910d08c9c1d3b37873db
62,159
py
Python
krake/tests/controller/kubernetes/test_observer.py
rak-n-rok/Krake
2f0d4a382b99639e2c1149ee8593a9bb589d2d3f
[ "Apache-2.0" ]
1
2020-05-29T08:43:32.000Z
2020-05-29T08:43:32.000Z
krake/tests/controller/kubernetes/test_observer.py
rak-n-rok/Krake
2f0d4a382b99639e2c1149ee8593a9bb589d2d3f
[ "Apache-2.0" ]
null
null
null
krake/tests/controller/kubernetes/test_observer.py
rak-n-rok/Krake
2f0d4a382b99639e2c1149ee8593a9bb589d2d3f
[ "Apache-2.0" ]
1
2019-11-19T13:39:02.000Z
2019-11-19T13:39:02.000Z
import asyncio import json from contextlib import suppress import pytest from aiohttp import web from copy import deepcopy from krake.api.app import create_app from krake.controller.kubernetes.client import KubernetesClient from krake.controller.kubernetes.hooks import ( register_observer, update_last_applied...
38.656095
88
0.694831
7,788
62,159
5.330508
0.051233
0.025702
0.038059
0.017199
0.814231
0.781809
0.753963
0.724478
0.704365
0.667943
0
0.013413
0.2228
62,159
1,607
89
38.680149
0.845912
0.191734
0
0.718478
0
0
0.100292
0.043862
0
0
0
0
0.122826
1
0.006522
false
0
0.018478
0
0.078261
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
ae0aa85d8b51e2b02e94e1265d72cbd0807f5d92
9,779
py
Python
eisy/test/test_circuits.py
EISy-as-Py/EISy-as-Py
3086ecd043fce4d8ba49ec55004340a5444c0eb0
[ "MIT" ]
5
2020-02-06T21:38:47.000Z
2020-02-13T20:29:44.000Z
eisy/test/test_circuits.py
EISy-as-Py/EISy-as-Py
3086ecd043fce4d8ba49ec55004340a5444c0eb0
[ "MIT" ]
2
2020-03-11T22:06:21.000Z
2020-05-18T17:22:43.000Z
eisy/test/test_circuits.py
EISy-as-Py/EISy_as_Py
3086ecd043fce4d8ba49ec55004340a5444c0eb0
[ "MIT" ]
4
2020-03-13T20:35:04.000Z
2020-03-18T21:56:28.000Z
import numpy as np import unittest import eisy.simulation.circuits as circuits # Define the common variables to be used for as a testing dataset high_freq = 10**8 # Hz low_freq = 0.01 # Hz decades = 10 Resistance = 10 Parallel_Resistance = 100 Capacitance = 10**-6 Constant_phase_element = 10**-6 alpha = 1 sigma = ...
39.273092
76
0.551181
1,046
9,779
5.025813
0.112811
0.028533
0.06848
0.074567
0.815294
0.781625
0.776298
0.776298
0.734259
0.734259
0
0.011382
0.371101
9,779
248
77
39.431452
0.843415
0.007056
0
0.72
0
0
0.230476
0
0
0
0
0
0.28
1
0.05
false
0
0.015
0
0.07
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
ae5af52a99b15797e20520e9f244b8999ef66ead
238,286
py
Python
position/models.py
josephevans/WeVoteServer
137f3037ba9984e036eb146aeeeecb4e979c21e1
[ "MIT" ]
null
null
null
position/models.py
josephevans/WeVoteServer
137f3037ba9984e036eb146aeeeecb4e979c21e1
[ "MIT" ]
null
null
null
position/models.py
josephevans/WeVoteServer
137f3037ba9984e036eb146aeeeecb4e979c21e1
[ "MIT" ]
null
null
null
# position/models.py # Brought to you by We Vote. Be good. # -*- coding: UTF-8 -*- # Diagrams here: https://docs.google.com/drawings/d/1DsPnl97GKe9f14h41RPeZDssDUztRETGkXGaolXCeyo/edit from candidate.models import CandidateCampaign, CandidateCampaignManager, CandidateCampaignListManager from ballot.controllers import ...
56.252597
121
0.629189
26,901
238,286
5.130441
0.026244
0.045734
0.058835
0.036062
0.875158
0.832771
0.803947
0.77411
0.741874
0.716493
0
0.00316
0.322679
238,286
4,235
122
56.26588
0.851967
0.169532
0
0.70935
0
0
0.059991
0.028494
0
0
0
0.001417
0
1
0.02599
false
0.006656
0.005071
0.001268
0.116323
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
ae90d162b15880f4ca61120e7daeace1d782e6ee
24,363
py
Python
rpython/translator/mu/test_impl/test_binop.py
wdv4758h/mu-client-pypy
d2fcc01f0b4fe3ffa232762124e3e6d38ed3a0cf
[ "Apache-2.0", "OpenSSL" ]
null
null
null
rpython/translator/mu/test_impl/test_binop.py
wdv4758h/mu-client-pypy
d2fcc01f0b4fe3ffa232762124e3e6d38ed3a0cf
[ "Apache-2.0", "OpenSSL" ]
null
null
null
rpython/translator/mu/test_impl/test_binop.py
wdv4758h/mu-client-pypy
d2fcc01f0b4fe3ffa232762124e3e6d38ed3a0cf
[ "Apache-2.0", "OpenSSL" ]
null
null
null
from impl_test_util import impl_jit_test def test_add(cmdopt): def build_test_bundle(bldr, rmu): """ Builds the following test bundle. .typedef @i8 = int<8> .const @0xff_i8 <@i8> = 0xff .const @0x0a_i8 <@i8> = 0x0a .funcsig @sig__i8 = () -> (@i8) ...
35.933628
113
0.569224
3,298
24,363
3.832929
0.026986
0.095246
0.10284
0.061704
0.953168
0.953168
0.951665
0.951665
0.951665
0.951665
0
0.116991
0.301112
24,363
677
114
35.986706
0.625418
0.262037
0
0.859335
0
0
0.103855
0.02905
0
0
0.021062
0
0.033248
1
0.066496
false
0
0.002558
0
0.102302
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
884091ab38b6c754a4c81268711f3e209e437aca
5,333
py
Python
accounts/migrations/0005_adaboost_dtree_knn_lregression_nbayes_rforest_svm_xgboost.py
nahian01/HDPS
791d0adfb8e68b96e8cf49a6e6cbeaa290d3baa9
[ "CC0-1.0" ]
1
2020-10-07T17:39:27.000Z
2020-10-07T17:39:27.000Z
accounts/migrations/0005_adaboost_dtree_knn_lregression_nbayes_rforest_svm_xgboost.py
nahian01/HDPS
791d0adfb8e68b96e8cf49a6e6cbeaa290d3baa9
[ "CC0-1.0" ]
null
null
null
accounts/migrations/0005_adaboost_dtree_knn_lregression_nbayes_rforest_svm_xgboost.py
nahian01/HDPS
791d0adfb8e68b96e8cf49a6e6cbeaa290d3baa9
[ "CC0-1.0" ]
1
2020-10-22T16:02:18.000Z
2020-10-22T16:02:18.000Z
# Generated by Django 3.0.1 on 2020-02-17 11:48 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('accounts', '0004_auto_20200217_0959'), ] operations = [ migrations.CreateModel( name='XGBoost',...
44.815126
115
0.522033
466
5,333
5.830472
0.126609
0.282665
0.223776
0.072874
0.906515
0.906515
0.906515
0.906515
0.906515
0.906515
0
0.02612
0.31802
5,333
118
116
45.194915
0.720924
0.008438
0
0.857143
1
0
0.113697
0.004351
0
0
0
0
0
1
0
false
0
0.017857
0
0.044643
0
0
0
0
null
1
1
0
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
ee05cbe043bd226ffad1a991302b36e9a507b50a
46
py
Python
py/PyPLext/__init__.py
mlxd/PLext
d03be93750c5c8d8fe00db5a53e0466d5132e0c7
[ "Apache-2.0" ]
2
2021-10-01T20:59:48.000Z
2021-10-04T16:09:49.000Z
py/PyPLext/__init__.py
mlxd/PLext
d03be93750c5c8d8fe00db5a53e0466d5132e0c7
[ "Apache-2.0" ]
null
null
null
py/PyPLext/__init__.py
mlxd/PLext
d03be93750c5c8d8fe00db5a53e0466d5132e0c7
[ "Apache-2.0" ]
null
null
null
from .pyplext import * from _PyPLext import *
15.333333
22
0.76087
6
46
5.666667
0.5
0.647059
1
0
0
0
0
0
0
0
0
0
0.173913
46
2
23
23
0.894737
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
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
8
ee0856b9f3a457c1a46c389c858a43ed538385d1
5,443
py
Python
tests/test_ddl_settings.py
swiatek25/simple-ddl-parser
b46f99b4e1838718bc4024cd281a66cd1b78b165
[ "MIT" ]
null
null
null
tests/test_ddl_settings.py
swiatek25/simple-ddl-parser
b46f99b4e1838718bc4024cd281a66cd1b78b165
[ "MIT" ]
null
null
null
tests/test_ddl_settings.py
swiatek25/simple-ddl-parser
b46f99b4e1838718bc4024cd281a66cd1b78b165
[ "MIT" ]
null
null
null
from simple_ddl_parser import DDLParser def test_sets_with_dot_and_comma(): ddl = """ -- -- PostgreSQL database dump -- -- Dumped from database version 11.6 (Debian 11.6-1.pgdg90+1) -- Dumped by pg_dump version 12.9 (Ubuntu 12.9-0ubuntu0.20.04.1) SET statement_timeout = 0; SET loc...
32.987879
75
0.457285
462
5,443
5.186147
0.257576
0.020033
0.027546
0.042571
0.845576
0.775876
0.775876
0.761269
0.761269
0.761269
0
0.023249
0.399412
5,443
164
76
33.189024
0.709697
0
0
0.732877
0
0.013699
0.497152
0.082308
0
0
0
0
0.013699
1
0.013699
false
0.013699
0.006849
0
0.020548
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
ee175ec09e88d6c6a1549a91cc4a869a95ece66e
17,724
py
Python
src/genie/libs/parser/iosxe/tests/ShowSdwanTunnelStatistics/cli/equal/ipsec_stats_golden_output_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
null
null
null
src/genie/libs/parser/iosxe/tests/ShowSdwanTunnelStatistics/cli/equal/ipsec_stats_golden_output_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
null
null
null
src/genie/libs/parser/iosxe/tests/ShowSdwanTunnelStatistics/cli/equal/ipsec_stats_golden_output_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
null
null
null
expected_output = { "tunnel": { "150.0.5.1": { "remote": { "150.0.0.1": { "src_port": 12346, "dst_port": 12346, "ipsec": { "ipsec_decrypt_inbound": 0, "ipsec_rx_auth_failu...
39.829213
52
0.335985
1,345
17,724
3.998513
0.023048
0.200818
0.281145
0.240982
0.995723
0.995723
0.995723
0.995723
0.995723
0.995723
0
0.106467
0.570752
17,724
444
53
39.918919
0.600421
0
0
0.815315
0
0
0.309072
0.17671
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
1
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
11
ee3f3c8b930f83f0248308903be1d8517eab2f64
181
py
Python
question8.py
gusenov/test-tech-mail-ru-python2
70e37a3de447b6f7c4da5add75f65df1b51405fe
[ "MIT" ]
null
null
null
question8.py
gusenov/test-tech-mail-ru-python2
70e37a3de447b6f7c4da5add75f65df1b51405fe
[ "MIT" ]
null
null
null
question8.py
gusenov/test-tech-mail-ru-python2
70e37a3de447b6f7c4da5add75f65df1b51405fe
[ "MIT" ]
null
null
null
print ''.join(['H', 'e', 'l', 'l', 'o']) # Hello print "hello".title() # Hello print "hello".upper() # HELLO print 'Hello, world'[:5] # Hello print 'Hello, world'[1:6] # ello,
30.166667
49
0.558011
27
181
3.740741
0.518519
0.39604
0.594059
0.39604
0
0
0
0
0
0
0
0.02
0.171271
181
5
50
36.2
0.653333
0.160221
0
0
0
0
0.267123
0
0
0
0
0
0
0
null
null
0
0
null
null
1
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
1
0
0
0
0
0
0
1
0
7
c9cf88654e3e76c7ea5badbd64ad889a393efaa0
40,959
py
Python
pfruck_contabo/api/images_api.py
p-fruck/python-contabo
c3abd362a0b90783118f36bec0e557bdbe5a8f2c
[ "Apache-2.0" ]
2
2022-01-27T10:36:33.000Z
2022-03-09T14:21:12.000Z
pfruck_contabo/api/images_api.py
p-fruck/python-contabo
c3abd362a0b90783118f36bec0e557bdbe5a8f2c
[ "Apache-2.0" ]
7
2022-01-13T10:44:19.000Z
2022-02-15T23:44:44.000Z
pfruck_contabo/api/images_api.py
p-fruck/python-contabo
c3abd362a0b90783118f36bec0e557bdbe5a8f2c
[ "Apache-2.0" ]
null
null
null
""" Contabo API The version of the OpenAPI document: 1.0.0 Contact: support@contabo.com Generated by: https://openapi-generator.tech """ import re # noqa: F401 import sys # noqa: F401 from pfruck_contabo.api_client import ApiClient, Endpoint as _Endpoint from pfruck_contabo.model_utils import ( ...
40.593657
473
0.514759
4,151
40,959
4.836425
0.077813
0.031082
0.038852
0.008966
0.858936
0.836671
0.819586
0.801106
0.787906
0.771867
0
0.009021
0.39647
40,959
1,008
474
40.633929
0.803115
0.397007
0
0.665165
1
0.009009
0.257505
0.0711
0
0
0
0
0
1
0.010511
false
0
0.018018
0
0.039039
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
4e5579813e3e5e6843a2231fc4950533006afbf4
11,127
py
Python
betrack/utils/parser.py
gvalentini85/betrack-cli
981dc22baf0b60914816ac5965a1a9f171767e47
[ "MIT" ]
null
null
null
betrack/utils/parser.py
gvalentini85/betrack-cli
981dc22baf0b60914816ac5965a1a9f171767e47
[ "MIT" ]
10
2018-05-12T00:49:27.000Z
2018-06-05T17:31:14.000Z
betrack/utils/parser.py
gvalentini85/betrack-cli
981dc22baf0b60914816ac5965a1a9f171767e47
[ "MIT" ]
null
null
null
#------------------------------------------------------------------------------# # Copyright 2018 Gabriele Valentini. All rights reserved. Use of this source # # code is governed by a MIT license that can be found in the LICENSE file. # #----------------------------------------------------------------------------...
38.106164
91
0.544621
1,387
11,127
4.361211
0.094448
0.061994
0.037031
0.033725
0.87469
0.85634
0.840304
0.821293
0.798479
0.758307
0
0.004692
0.348791
11,127
291
92
38.237113
0.830113
0.359306
0
0.705128
0
0
0.15965
0
0
0
0
0
0
1
0.051282
false
0
0.025641
0
0.160256
0.00641
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
4e74e379c6bd31770ed7c96a47c3f5d0b6cb6fae
16,470
py
Python
application.py
mudit9/covid-vaccine-india
0b203732518ea91615cc3ead5b15fe75e6db475f
[ "MIT" ]
3
2021-05-04T23:09:36.000Z
2021-09-29T04:00:57.000Z
application.py
mudit9/covid-vaccine-india
0b203732518ea91615cc3ead5b15fe75e6db475f
[ "MIT" ]
null
null
null
application.py
mudit9/covid-vaccine-india
0b203732518ea91615cc3ead5b15fe75e6db475f
[ "MIT" ]
null
null
null
from flask import Flask, render_template, request import requests import pandas as pd import traceback from datetime import date, timedelta, datetime import json application = Flask(__name__) @application.route('/') @application.route('/index.html') def index(): return render_template('index.html') @applicatio...
42.55814
182
0.525076
1,787
16,470
4.788472
0.08282
0.039266
0.05142
0.027346
0.909197
0.898679
0.898679
0.898679
0.887227
0.869931
0
0.018477
0.323072
16,470
386
183
42.668394
0.749036
0.112325
0
0.810409
0
0.052045
0.202954
0.008932
0
0
0
0
0
1
0.02974
false
0
0.022305
0.007435
0.115242
0.048327
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
4e863e3a08aa81b55c16bb8de060b5eb07e9ef0e
126
py
Python
sipmath/__init__.py
colsmit/sipmath
5036bdcf3fa956ee37fbab0b862e2e470ae12a9e
[ "MIT" ]
5
2019-04-24T07:29:07.000Z
2021-07-13T23:42:03.000Z
sipmath/__init__.py
colsmit/sipmath
5036bdcf3fa956ee37fbab0b862e2e470ae12a9e
[ "MIT" ]
null
null
null
sipmath/__init__.py
colsmit/sipmath
5036bdcf3fa956ee37fbab0b862e2e470ae12a9e
[ "MIT" ]
2
2020-01-19T10:23:46.000Z
2020-04-18T09:14:14.000Z
#from .sipmodel import sipmodel #from .sipinput import sipinput from .sipmodel import sipmodel from .sipinput import sipinput
25.2
31
0.825397
16
126
6.5
0.25
0.230769
0.346154
0.5
1
1
1
1
0
0
0
0
0.126984
126
5
32
25.2
0.945455
0.47619
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
1
1
1
1
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
12
14c84e01e8eae7b2daecdaa15f675eb45ac38eb9
97
py
Python
Python/CodingBat/extra_end.py
dvt32/cpp-journey
afd7db7a1ad106c41601fb09e963902187ae36e6
[ "MIT" ]
1
2018-05-24T11:30:05.000Z
2018-05-24T11:30:05.000Z
Python/CodingBat/extra_end.py
dvt32/cpp-journey
afd7db7a1ad106c41601fb09e963902187ae36e6
[ "MIT" ]
null
null
null
Python/CodingBat/extra_end.py
dvt32/cpp-journey
afd7db7a1ad106c41601fb09e963902187ae36e6
[ "MIT" ]
2
2017-08-11T06:53:30.000Z
2017-08-29T12:07:52.000Z
# http://codingbat.com/prob/p148853 def extra_end(str): return str[-2:] + str[-2:] + str[-2:]
19.4
39
0.618557
16
97
3.6875
0.6875
0.20339
0.237288
0.271186
0
0
0
0
0
0
0
0.107143
0.134021
97
4
40
24.25
0.595238
0.340206
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
1
0
0
null
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
1
1
0
0
8
14cb86321a0474e9aa21dd4003bd4091513f8f3f
153
py
Python
test_login.py
Zcsff/gitHub_project
c8cc0f5fbb0c4634ffe3bdcd7296d28404389edc
[ "Apache-2.0" ]
null
null
null
test_login.py
Zcsff/gitHub_project
c8cc0f5fbb0c4634ffe3bdcd7296d28404389edc
[ "Apache-2.0" ]
null
null
null
test_login.py
Zcsff/gitHub_project
c8cc0f5fbb0c4634ffe3bdcd7296d28404389edc
[ "Apache-2.0" ]
null
null
null
class TestLogin: def test_login1(self): assert 2 def test_login2(self): assert 2 def test_login3(self): assert 2
12.75
26
0.581699
20
153
4.3
0.5
0.244186
0.383721
0.325581
0.418605
0
0
0
0
0
0
0.060606
0.352941
153
11
27
13.909091
0.808081
0
0
0.428571
0
0
0
0
0
0
0
0
0.428571
1
0.428571
false
0
0
0
0.571429
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
1
0
0
7
094cc65219dd85a352d9a329924f94f6fd2291d0
2,224
py
Python
src/gold_queries.py
UCL-RITS/ClusterStats-Gold
e6450114ad8abd2a5c35d28d0d49d17020301d4f
[ "MIT" ]
null
null
null
src/gold_queries.py
UCL-RITS/ClusterStats-Gold
e6450114ad8abd2a5c35d28d0d49d17020301d4f
[ "MIT" ]
null
null
null
src/gold_queries.py
UCL-RITS/ClusterStats-Gold
e6450114ad8abd2a5c35d28d0d49d17020301d4f
[ "MIT" ]
null
null
null
# SQlite queries for the Gold database. # The values are inserted at the ? by cursor.execute(query, (val1, val2, val3)) # Get allocation usage data for all institutes for all time. # Order by allocation start, end and then project name # (as first allocation all starts on same date). def gold_by_all_allocation_period...
46.333333
87
0.602068
350
2,224
3.557143
0.2
0.027309
0.04498
0.070683
0.767068
0.728514
0.728514
0.728514
0.728514
0.706827
0
0.002015
0.330486
2,224
47
88
47.319149
0.834117
0.196493
0
0.805556
0
0.083333
0.866142
0.040495
0
0
0
0
0
1
0.083333
false
0
0
0
0.166667
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
117772d0f8c2d02776b1cf5ed644a390ffaeba12
13,483
py
Python
test_union_pay.py
moehuster/test_union_pay
a7b523fd5d1dbd17d19c9cc3df27d7976289d29c
[ "MIT" ]
1
2019-11-06T09:01:06.000Z
2019-11-06T09:01:06.000Z
test_union_pay.py
moehuster/test_union_pay
a7b523fd5d1dbd17d19c9cc3df27d7976289d29c
[ "MIT" ]
1
2019-11-06T09:02:13.000Z
2019-11-16T05:18:36.000Z
test_union_pay.py
moehuster/test_union_pay
a7b523fd5d1dbd17d19c9cc3df27d7976289d29c
[ "MIT" ]
3
2019-04-01T03:54:20.000Z
2020-05-31T04:00:44.000Z
# -*- coding: utf-8 -*- ''' 银联支付接口测试程序 ''' import socket import struct from datetime import datetime from binascii import hexlify from binascii import unhexlify from functools import reduce import pydes import py8583 import py8583spec HOST = '202.101.25.188' PORT = 20140 def parse_package(data)...
43.775974
262
0.663725
1,648
13,483
5.305825
0.148058
0.139982
0.195563
0.022873
0.82651
0.756176
0.751258
0.744625
0.735247
0.728156
0
0.176635
0.176593
13,483
307
263
43.918567
0.610971
0.099681
0
0.715909
0
0
0.161713
0.036488
0
0
0
0
0
1
0.037879
false
0.007576
0.034091
0
0.087121
0.026515
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
0
0
0
8
eeb0995e19d16813f87fd2928bf2ce1a80d9e1f9
239
py
Python
nmigen_boards/upduino_v1.py
lethalbit/nmigen-boards
aaf18252e457ff95257137da2a629820c0ff2bfa
[ "BSD-2-Clause" ]
11
2021-12-10T12:23:29.000Z
2022-03-13T08:40:20.000Z
nmigen_boards/upduino_v1.py
lethalbit/nmigen-boards
aaf18252e457ff95257137da2a629820c0ff2bfa
[ "BSD-2-Clause" ]
12
2021-12-11T18:51:29.000Z
2022-03-12T05:08:52.000Z
nmigen_boards/upduino_v1.py
lethalbit/nmigen-boards
aaf18252e457ff95257137da2a629820c0ff2bfa
[ "BSD-2-Clause" ]
7
2021-12-12T07:20:21.000Z
2022-03-06T06:20:55.000Z
from amaranth_boards.upduino_v1 import * from amaranth_boards.upduino_v1 import __all__ import warnings warnings.warn("instead of nmigen_boards.upduino_v1, use amaranth_boards.upduino_v1", DeprecationWarning, stacklevel=2)
29.875
84
0.803347
31
239
5.806452
0.516129
0.288889
0.333333
0.383333
0.366667
0.366667
0
0
0
0
0
0.024272
0.138075
239
7
85
34.142857
0.849515
0
0
0
0
0
0.280335
0.213389
0
0
0
0
0
1
0
true
0
0.6
0
0.6
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
eed0ac27fc64a6daaaa9d885c511c65b5b957379
121
py
Python
tests/test_dummy.py
birgirst/python-flask-docker-hello-world
eb9dd186400a503cb6719fb4c8650c896f5f2d46
[ "Apache-2.0" ]
null
null
null
tests/test_dummy.py
birgirst/python-flask-docker-hello-world
eb9dd186400a503cb6719fb4c8650c896f5f2d46
[ "Apache-2.0" ]
null
null
null
tests/test_dummy.py
birgirst/python-flask-docker-hello-world
eb9dd186400a503cb6719fb4c8650c896f5f2d46
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 import app def test_dummy(): assert app.hello_world() == "Hello World!"
13.444444
46
0.636364
18
121
4.166667
0.833333
0.266667
0
0
0
0
0
0
0
0
0
0.010101
0.181818
121
8
47
15.125
0.747475
0.31405
0
0
0
0
0.148148
0
0
0
0
0
0.333333
1
0.333333
true
0
0.333333
0
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
7
eef41ab38e765e048908a7c0cd50df081a1517f9
15,452
py
Python
test/test_skill_check.py
velian/DSAbot
7491c90ca3ecd30ea023bb039e31c6053f2bdfef
[ "MIT" ]
1
2021-05-10T12:45:01.000Z
2021-05-10T12:45:01.000Z
test/test_skill_check.py
velian/DSAbot
7491c90ca3ecd30ea023bb039e31c6053f2bdfef
[ "MIT" ]
46
2020-08-13T14:52:53.000Z
2021-06-08T15:26:40.000Z
test/test_skill_check.py
Fidge123/DSAbot
7491c90ca3ecd30ea023bb039e31c6053f2bdfef
[ "MIT" ]
null
null
null
from unittest import TestCase from unittest.mock import MagicMock, patch from bot.checks import SkillCheck from test.mocks import MockAuthor class TestSkillCheck(TestCase): @classmethod def setUpClass(self) -> None: self.author = MockAuthor("TestUser") def test_parse(self): self.assertIs...
40.986737
87
0.561416
1,935
15,452
4.444444
0.060465
0.315698
0.336047
0.253953
0.918953
0.866279
0.835349
0.742791
0.662209
0.607791
0
0.054641
0.27634
15,452
376
88
41.095745
0.714184
0
0
0.612717
0
0
0.15519
0
0
0
0
0
0.578035
1
0.020231
false
0
0.011561
0
0.034682
0
0
0
0
null
1
1
1
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
9
e11335a97e481526cf67b8552071145cc88bb770
147
py
Python
src/service1/modules/ping_responder.py
tsaqib/python-monorepo
77e65af4478082b985bd9018980c42f8d099ee45
[ "MIT" ]
2
2021-04-25T20:18:06.000Z
2021-09-29T20:38:29.000Z
src/service1/modules/ping_responder.py
tsaqib/python-monorepo
77e65af4478082b985bd9018980c42f8d099ee45
[ "MIT" ]
null
null
null
src/service1/modules/ping_responder.py
tsaqib/python-monorepo
77e65af4478082b985bd9018980c42f8d099ee45
[ "MIT" ]
null
null
null
from datetime import datetime from common.utils.formatter import fmt_message def ping(): return fmt_message("Service1", str(datetime.now()))
21
55
0.768707
20
147
5.55
0.7
0.18018
0
0
0
0
0
0
0
0
0
0.007813
0.129252
147
6
56
24.5
0.859375
0
0
0
0
0
0.054422
0
0
0
0
0
0
1
0.25
true
0
0.5
0.25
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
1
1
0
0
7
e12672b9b37a5ad0358bc6dfea8b13d4843da4b7
12,215
py
Python
LEDLetterValues.py
PHSCRC/phsled
e2e0c2a26de3b6c9b6c1be6eea5b21d7f5315b86
[ "MIT" ]
1
2015-01-06T18:49:08.000Z
2015-01-06T18:49:08.000Z
LEDLetterValues.py
PHSCRC/phsled
e2e0c2a26de3b6c9b6c1be6eea5b21d7f5315b86
[ "MIT" ]
null
null
null
LEDLetterValues.py
PHSCRC/phsled
e2e0c2a26de3b6c9b6c1be6eea5b21d7f5315b86
[ "MIT" ]
null
null
null
### TODO: Add numbers, lowercase letters, and punctuation toLED = {'A' :[ [0,1,1,1,0], [1,0,0,0,1], [1,0,0,0,1], [1,0,0,0,1], [1,1,1,1,1], [1,0,0,0,1], [1,0,0,0,1], [1,0,0,0,1] ], 'B' : [ [1,1,1,1,0], [1,0,0,0,1], [1,0,0,0,1], [1,1,1,1,0], [1,0,0,0,1], [1,0,0,0,1], [1,0,0,0,1], [1,...
12.202797
67
0.301433
3,303
12,215
1.114441
0.023615
0.681337
0.677262
0.556371
0.858462
0.854659
0.854659
0.854116
0.851671
0.845422
0
0.350473
0.264429
12,215
1,000
68
12.215
0.05921
0.015309
0
0.862903
0
0
0.008664
0
0
0
0
0.001
0
1
0.003024
false
0
0
0
0.006048
0
0
0
1
null
1
1
1
1
1
1
1
1
1
0
1
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
13
017d74976b84b2bbae2188cc36d865b6f5e8de4c
2,387
py
Python
workspace/.c9/metadata/workspace/WebCrawler/urls.py
mannyhappenings/WebCrawler
1451fe8e6dc55346a654665d736a7df2115e0c50
[ "MIT" ]
null
null
null
workspace/.c9/metadata/workspace/WebCrawler/urls.py
mannyhappenings/WebCrawler
1451fe8e6dc55346a654665d736a7df2115e0c50
[ "MIT" ]
null
null
null
workspace/.c9/metadata/workspace/WebCrawler/urls.py
mannyhappenings/WebCrawler
1451fe8e6dc55346a654665d736a7df2115e0c50
[ "MIT" ]
null
null
null
{"filter":false,"title":"urls.py","tooltip":"/WebCrawler/urls.py","undoManager":{"mark":13,"position":13,"stack":[[{"group":"doc","deltas":[{"start":{"row":9,"column":43},"end":{"row":10,"column":0},"action":"insert","lines":["",""]},{"start":{"row":10,"column":0},"end":{"row":10,"column":4},"action":"insert","lines":[...
2,387
2,387
0.56305
312
2,387
4.307692
0.208333
0.100446
0.220982
0.197917
0.563988
0.505208
0.44494
0.36756
0.341518
0.293899
0
0.072873
0.005446
2,387
1
2,387
2,387
0.49326
0
0
0
0
0
0.505025
0.026382
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
7
0187b968e7b4a33e0d1b907039c7501112ca73c9
258
py
Python
entity/cards/BARL_024H/__init__.py
x014/lushi_script
edab2b88e3f0de8139de2541ab2daa331f777c0e
[ "MIT" ]
102
2021-10-20T09:06:39.000Z
2022-03-28T13:35:11.000Z
entity/cards/BARL_024H/__init__.py
x014/lushi_script
edab2b88e3f0de8139de2541ab2daa331f777c0e
[ "MIT" ]
98
2021-10-19T16:13:27.000Z
2022-03-27T13:27:49.000Z
entity/cards/BARL_024H/__init__.py
x014/lushi_script
edab2b88e3f0de8139de2541ab2daa331f777c0e
[ "MIT" ]
55
2021-10-19T03:56:50.000Z
2022-03-25T08:25:26.000Z
# -*- coding: utf-8 -*- import entity.cards.BARL_024H.LETL_232 import entity.cards.BARL_024H.LETL_233 import entity.cards.BARL_024H.LETL_234 import entity.cards.BARL_024H.LETL_639 import entity.cards.BARL_024H.LETL_638 import entity.cards.BARL_024H.LETL_640
32.25
38
0.829457
45
258
4.488889
0.333333
0.356436
0.504951
0.623762
0.861386
0.861386
0
0
0
0
0
0.153527
0.065891
258
7
39
36.857143
0.684647
0.081395
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
1
1
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
9
01984f88683cefd6de08acfbc64f1e8f8fd23756
114
py
Python
invariant_point_attention/__init__.py
hushuangwei/invariant-point-attention
739b6a15a93a795e80be4561c89bdd5499d2c8ff
[ "MIT" ]
100
2021-07-17T00:04:48.000Z
2022-03-30T06:54:21.000Z
invariant_point_attention/__init__.py
hushuangwei/invariant-point-attention
739b6a15a93a795e80be4561c89bdd5499d2c8ff
[ "MIT" ]
4
2021-07-17T11:41:52.000Z
2022-01-14T04:10:09.000Z
invariant_point_attention/__init__.py
hushuangwei/invariant-point-attention
739b6a15a93a795e80be4561c89bdd5499d2c8ff
[ "MIT" ]
9
2021-07-17T01:03:13.000Z
2021-09-29T13:44:13.000Z
from invariant_point_attention.invariant_point_attention import InvariantPointAttention, IPABlock, IPATransformer
57
113
0.921053
11
114
9.181818
0.727273
0.277228
0.455446
0
0
0
0
0
0
0
0
0
0.052632
114
1
114
114
0.935185
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
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
0989fcf5e68e88c596401c132dd5f101e6218b82
37,654
py
Python
kneaddata/tests/functional_tests.py
zwets/kneaddata
16fe3f6bde213f0c7fc5132e65ce7e30c3a95e42
[ "MIT" ]
41
2020-06-07T20:07:55.000Z
2022-03-12T05:57:11.000Z
kneaddata/tests/functional_tests.py
zwets/kneaddata
16fe3f6bde213f0c7fc5132e65ce7e30c3a95e42
[ "MIT" ]
23
2020-05-28T20:41:40.000Z
2022-03-17T00:52:06.000Z
kneaddata/tests/functional_tests.py
zwets/kneaddata
16fe3f6bde213f0c7fc5132e65ce7e30c3a95e42
[ "MIT" ]
17
2020-08-02T01:35:44.000Z
2022-01-21T09:45:42.000Z
import unittest import tempfile import os from kneaddata import utilities from kneaddata import config import cfg import utils def skipIfExeNotFound(exe): if isinstance(exe,str): exe=[exe] if all([utilities.find_exe_in_path(requires, bypass_permissions_check=True) for requires in exe]): retu...
46.031785
118
0.634381
4,133
37,654
5.528914
0.036051
0.076539
0.051639
0.025207
0.971467
0.967835
0.965997
0.963853
0.961796
0.958733
0
0.005393
0.290832
37,654
817
119
46.088127
0.850354
0.191879
0
0.856436
0
0
0.062104
0
0
0
0
0
0.071782
1
0.056931
false
0.012376
0.017327
0
0.081683
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
09c3f62bf84f8abd6d716269e2c6154253cd681a
1,227
py
Python
arjuna-samples/arjex/test/pkg/grouping/check_group_info_2.py
ChandraMouliDisturbs/arjuna
4965622fbb01a5e5b6459110c413accc5c483424
[ "Apache-2.0" ]
null
null
null
arjuna-samples/arjex/test/pkg/grouping/check_group_info_2.py
ChandraMouliDisturbs/arjuna
4965622fbb01a5e5b6459110c413accc5c483424
[ "Apache-2.0" ]
null
null
null
arjuna-samples/arjex/test/pkg/grouping/check_group_info_2.py
ChandraMouliDisturbs/arjuna
4965622fbb01a5e5b6459110c413accc5c483424
[ "Apache-2.0" ]
null
null
null
from arjuna import * @for_test def fix_non_dd(request): print(request.group.name) yield 1 @for_test(drive_with=records(record(1), record(2))) def fix_dd(request): print(request.group.name) yield request.data[0] @test def check_default_without_fix(request): print(request.group.thread_name, reques...
38.34375
126
0.761206
202
1,227
4.356436
0.168317
0.231818
0.204545
0.130682
0.879545
0.827273
0.768182
0.688636
0.688636
0.638636
0
0.012511
0.08802
1,227
32
126
38.34375
0.773905
0
0
0.291667
0
0
0.04886
0
0
0
0
0
0
1
0.291667
false
0
0.041667
0
0.333333
0.291667
0
0
0
null
1
1
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
7
09d48716c35ce56a4cefc285681818b94df72bef
18,035
py
Python
tests/test_alias.py
cameron/datahog
815178ae576bc4b4e1994ca9fcdc0c1f854bfccf
[ "BSD-3-Clause" ]
4
2015-09-09T23:05:39.000Z
2016-10-20T15:24:58.000Z
tests/test_alias.py
cameron/datahog
815178ae576bc4b4e1994ca9fcdc0c1f854bfccf
[ "BSD-3-Clause" ]
null
null
null
tests/test_alias.py
cameron/datahog
815178ae576bc4b4e1994ca9fcdc0c1f854bfccf
[ "BSD-3-Clause" ]
null
null
null
# vim: fileencoding=utf8:et:sw=4:ts=8:sts=4 import hashlib import hmac import os import sys import unittest import datahog from datahog import error import psycopg2 sys.path.append(os.path.dirname(os.path.abspath(__file__))) import base from pgmock import * class AliasTests(base.TestCase): def setUp(self): ...
24.175603
79
0.522318
2,274
18,035
3.983729
0.067722
0.034441
0.05409
0.065681
0.845237
0.814218
0.793024
0.76068
0.744232
0.721713
0
0.039744
0.351261
18,035
745
80
24.208054
0.73453
0.002273
0
0.797277
0
0.001513
0.352601
0
0
0
0
0
0.05295
1
0.03177
false
0
0.015129
0
0.049924
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
61ff0558dbea638cf790cffe0085f678ba9c2504
12,312
py
Python
scripts/populate_active_meta_data.py
Cooops/ABUpower
ec84f8f0177b09a09195a974357d328376df7efc
[ "MIT" ]
2
2018-10-09T01:17:21.000Z
2019-05-17T11:01:46.000Z
scripts/populate_active_meta_data.py
Cooops/ABUpower
ec84f8f0177b09a09195a974357d328376df7efc
[ "MIT" ]
null
null
null
scripts/populate_active_meta_data.py
Cooops/ABUpower
ec84f8f0177b09a09195a974357d328376df7efc
[ "MIT" ]
null
null
null
import pandas as pd from db_queries import fetch_data, get_trace_and_log, prune_active from gen_utils import database_connection, get_search_words, POWER_CONFIG, DUALS_CONFIG def generate_stat_history(setCheck, boolCheck): dataArray = [] if setCheck == 'Alpha' and boolCheck == 'Power': query = (...
59.76699
361
0.637102
1,443
12,312
5.229383
0.125433
0.129208
0.075537
0.041744
0.82229
0.813411
0.801484
0.79128
0.774848
0.77233
0
0.003342
0.246589
12,312
205
362
60.058537
0.810155
0.021686
0
0.716578
1
0.090909
0.547692
0.151361
0
0
0
0
0
1
0.048128
false
0
0.016043
0
0.096257
0.160428
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
1103fd8a91d4ec4dd6a0a1fd098e01a19f737c78
159
py
Python
HiveMind_presence/__init__.py
JarbasHiveMind/HiveMind-presence
ca0a8f4ec179251b7b62e881bad93f3ec7497589
[ "Apache-2.0" ]
null
null
null
HiveMind_presence/__init__.py
JarbasHiveMind/HiveMind-presence
ca0a8f4ec179251b7b62e881bad93f3ec7497589
[ "Apache-2.0" ]
null
null
null
HiveMind_presence/__init__.py
JarbasHiveMind/HiveMind-presence
ca0a8f4ec179251b7b62e881bad93f3ec7497589
[ "Apache-2.0" ]
null
null
null
from HiveMind_presence.devices import HiveMindNode from HiveMind_presence.discovery import LocalDiscovery from HiveMind_presence.presence import LocalPresence
39.75
54
0.90566
18
159
7.833333
0.5
0.255319
0.425532
0
0
0
0
0
0
0
0
0
0.075472
159
3
55
53
0.959184
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
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
3a219a3180a2dbffa003705847b56c8f6c429227
25,683
py
Python
hanibal/fiscaloriginal/tax.py
Christian-Castro/castro_odoo8
8247fdb20aa39e043b6fa0c4d0af509462ab3e00
[ "Unlicense" ]
null
null
null
hanibal/fiscaloriginal/tax.py
Christian-Castro/castro_odoo8
8247fdb20aa39e043b6fa0c4d0af509462ab3e00
[ "Unlicense" ]
null
null
null
hanibal/fiscaloriginal/tax.py
Christian-Castro/castro_odoo8
8247fdb20aa39e043b6fa0c4d0af509462ab3e00
[ "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU...
44.434256
173
0.523576
2,978
25,683
4.319342
0.096038
0.058074
0.029853
0.02099
0.916738
0.916116
0.907253
0.898468
0.89497
0.887818
0
0.007927
0.346688
25,683
578
174
44.434256
0.758686
0.512752
0
0.42723
0
0
0.120093
0.001953
0
0
0
0.00173
0
0
null
null
0.004695
0.00939
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
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
7
3a2de209013fe86b0edd19889d222f15597100c6
116,403
py
Python
keysightSD1/keysightSD1.py
opietx/core_tools
d5bd2d4beed74791b80ff5bdabd67774403763ef
[ "BSD-2-Clause" ]
null
null
null
keysightSD1/keysightSD1.py
opietx/core_tools
d5bd2d4beed74791b80ff5bdabd67774403763ef
[ "BSD-2-Clause" ]
null
null
null
keysightSD1/keysightSD1.py
opietx/core_tools
d5bd2d4beed74791b80ff5bdabd67774403763ef
[ "BSD-2-Clause" ]
null
null
null
import os; import sys from ctypes import * from math import pow, log, ceil from abc import ABCMeta, abstractmethod import keysightSD1.SD1constants as constants import numpy as np if sys.version_info[1] > 7 and sys.platform not in ['linux', 'darwin']: os.add_dll_directory('C:\\Program Files\\Keysight\\SD1\\shared'...
34.195946
237
0.699673
13,631
116,403
5.491307
0.065146
0.057928
0.082563
0.080799
0.791268
0.771215
0.761169
0.746927
0.722426
0.683068
0
0.01652
0.226223
116,403
3,403
238
34.205995
0.814522
0.001873
0
0.562002
0
0
0.001653
0.000456
0
0
0
0
0
1
0.222222
false
0.000379
0.002655
0.142207
0.601441
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
8
28ef12797552c3bf27cde0539b14ac7d5c8c6016
145
py
Python
Codewars/Ones_and_zeros - (7 kyu).py
maxcohen31/A-bored-math-student
007beb4dabf7b4406f48e9a3a967c29d032eab89
[ "MIT" ]
null
null
null
Codewars/Ones_and_zeros - (7 kyu).py
maxcohen31/A-bored-math-student
007beb4dabf7b4406f48e9a3a967c29d032eab89
[ "MIT" ]
null
null
null
Codewars/Ones_and_zeros - (7 kyu).py
maxcohen31/A-bored-math-student
007beb4dabf7b4406f48e9a3a967c29d032eab89
[ "MIT" ]
null
null
null
def binary_array_to_number(arr): return int(''.join([str(i) for i in arr]), 2) b = [0, 1, 0, 1] print(binary_array_to_number(b))
24.166667
49
0.606897
27
145
3.037037
0.666667
0.268293
0.317073
0.463415
0
0
0
0
0
0
0
0.044248
0.22069
145
6
50
24.166667
0.681416
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0.25
0.5
0.25
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
1
0
0
0
7
3a70fcbe027587c21d19ed5234bf27b5d3043a6b
4,122
py
Python
migrations/versions/c4462f0b54c9_add_collection_value_field.py
xorg/mtg-dashboard
634ccdf6ca450ed999a927bf384f679ffad7919a
[ "MIT" ]
null
null
null
migrations/versions/c4462f0b54c9_add_collection_value_field.py
xorg/mtg-dashboard
634ccdf6ca450ed999a927bf384f679ffad7919a
[ "MIT" ]
null
null
null
migrations/versions/c4462f0b54c9_add_collection_value_field.py
xorg/mtg-dashboard
634ccdf6ca450ed999a927bf384f679ffad7919a
[ "MIT" ]
null
null
null
"""add collection value field Revision ID: c4462f0b54c9 Revises: 35c42c42d58b Create Date: 2021-06-28 16:40:34.746137 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'c4462f0b54c9' down_revision = '35c42c42d58b' branch_labels = None depends_on = None def upgr...
35.230769
103
0.605289
480
4,122
4.902083
0.139583
0.107097
0.101997
0.152996
0.848279
0.835954
0.835954
0.816405
0.758181
0.758181
0
0.017663
0.285784
4,122
116
104
35.534483
0.78159
0.074721
0
0.822222
0
0
0.107757
0.036007
0
0
0
0
0
1
0.022222
false
0
0.022222
0
0.044444
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
c93d254824fe4bf42962e46e136ff6068ec2902c
11,985
py
Python
tools/mo/unit_tests/mo/front/mxnet/arange_like_test.py
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
1,127
2018-10-15T14:36:58.000Z
2020-04-20T09:29:44.000Z
tools/mo/unit_tests/mo/front/mxnet/arange_like_test.py
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
439
2018-10-20T04:40:35.000Z
2020-04-19T05:56:25.000Z
tools/mo/unit_tests/mo/front/mxnet/arange_like_test.py
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
414
2018-10-17T05:53:46.000Z
2020-04-16T17:29:53.000Z
# Copyright (C) 2018-2021 Intel Corporation # SPDX-License-Identifier: Apache-2.0 import unittest from openvino.tools.mo.front.common.partial_infer.utils import int64_array from openvino.tools.mo.front.mxnet.arange_like_replacer import ArangeLikeReplacer from openvino.tools.mo.utils.ir_engine.compare_graphs import comp...
50.146444
119
0.507384
1,205
11,985
4.706224
0.082158
0.04285
0.061894
0.085699
0.878152
0.851525
0.819961
0.807618
0.803209
0.803209
0
0.019109
0.327576
11,985
238
120
50.357143
0.684576
0.006425
0
0.721739
0
0
0.214448
0
0
0
0
0
0.017391
1
0.017391
false
0
0.021739
0
0.043478
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
c97e2ce481828e9206665bd19591dae7330adc32
6,364
py
Python
convert3d_niftimultiorgan.py
tangy5/abdomenSeg2D
5af1f2dcfa30d3bc864db6931c533be6650d88a4
[ "BSD-3-Clause" ]
null
null
null
convert3d_niftimultiorgan.py
tangy5/abdomenSeg2D
5af1f2dcfa30d3bc864db6931c533be6650d88a4
[ "BSD-3-Clause" ]
null
null
null
convert3d_niftimultiorgan.py
tangy5/abdomenSeg2D
5af1f2dcfa30d3bc864db6931c533be6650d88a4
[ "BSD-3-Clause" ]
null
null
null
import torch.utils.data as data import os import random import glob from PIL import Image import numpy as np import nibabel as nb image_dir = '' gt_dir = '' label2d_dir = '' output_dir = '' result2d = '' for i in range(10, 51): label2d_dir = os.path.join(result2d, 'val_{}'.format(i)) output_dir = os.path.join(...
30.449761
91
0.642678
974
6,364
3.988706
0.106776
0.033977
0.041184
0.022651
0.952124
0.936937
0.929215
0.929215
0.929215
0.918919
0
0.029178
0.20836
6,364
209
92
30.449761
0.741961
0.028913
0
0.89697
0
0
0.030764
0
0
0
0
0
0
1
0.012121
false
0
0.042424
0.012121
0.066667
0.048485
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
a3566e814223667ba5cc9e35da3f1fb3ed0bdc61
52,314
py
Python
tests/unit_tests/test_mdp_files.py
MauriceKarrenbrock/FS-NEW_gromacs
8d8d815391a674eee109a2f21cfc1493395b73a3
[ "BSD-3-Clause" ]
null
null
null
tests/unit_tests/test_mdp_files.py
MauriceKarrenbrock/FS-NEW_gromacs
8d8d815391a674eee109a2f21cfc1493395b73a3
[ "BSD-3-Clause" ]
null
null
null
tests/unit_tests/test_mdp_files.py
MauriceKarrenbrock/FS-NEW_gromacs
8d8d815391a674eee109a2f21cfc1493395b73a3
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # pylint: disable=missing-docstring # pylint: disable=redefined-outer-name # pylint: disable=no-self-use # pylint: disable=protected-access # pylint: disable=duplicate-code # pylint: disable=too-many-lines ############################################################# # Copyright (c) 2020-2020 Ma...
45.929763
93
0.487307
4,919
52,314
5.010571
0.094531
0.020773
0.030186
0.024993
0.930945
0.926117
0.912484
0.903031
0.903031
0.902422
0
0.029644
0.415147
52,314
1,138
94
45.970123
0.775918
0.008258
0
0.874214
0
0.004193
0.452605
0.01508
0
0
0
0
0.045073
1
0.025157
false
0
0.002096
0
0.034591
0.004193
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
a37942e26802e5405ec73f2e27a76f1fee46cc8d
2,320
py
Python
isiscb/isisdata/migrations/0016_auto_20160424_1654.py
bgopalachary/IsisCB
c28e3f504eea60ebeff38318d8bb2071abb28ebb
[ "MIT" ]
4
2016-01-25T20:35:33.000Z
2020-04-07T15:39:52.000Z
isiscb/isisdata/migrations/0016_auto_20160424_1654.py
bgopalachary/IsisCB
c28e3f504eea60ebeff38318d8bb2071abb28ebb
[ "MIT" ]
41
2015-08-19T17:34:41.000Z
2022-03-11T23:19:01.000Z
isiscb/isisdata/migrations/0016_auto_20160424_1654.py
bgopalachary/IsisCB
c28e3f504eea60ebeff38318d8bb2071abb28ebb
[ "MIT" ]
2
2020-11-25T20:18:18.000Z
2021-06-24T15:15:41.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2016-04-24 16:54 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('isisdata', '0015_auto_20160424_1649'), ] operations = [ migrations.AlterFiel...
50.434783
335
0.677586
275
2,320
5.621818
0.338182
0.07762
0.097025
0.112549
0.875809
0.875809
0.851876
0.851876
0.78784
0.78784
0
0.021336
0.232328
2,320
45
336
51.555556
0.846715
0.028879
0
0.789474
1
0.052632
0.460889
0.010222
0
0
0
0
0
1
0
false
0
0.052632
0
0.131579
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
6e979e245029e8f802c7f44702d381d80380d82c
5,474
py
Python
tests/test_linked_list.py
betandr/algorithms_plus_data_structures
579b57954f487eb977b7419d91797d441a0c4584
[ "MIT" ]
null
null
null
tests/test_linked_list.py
betandr/algorithms_plus_data_structures
579b57954f487eb977b7419d91797d441a0c4584
[ "MIT" ]
null
null
null
tests/test_linked_list.py
betandr/algorithms_plus_data_structures
579b57954f487eb977b7419d91797d441a0c4584
[ "MIT" ]
null
null
null
import unittest from structures.linked_list import Node, LinkedList class TestLinkedList(unittest.TestCase): def setUp(self): self._linked_list = LinkedList() def test_is_empty(self): assert(self._linked_list.is_empty()) self._linked_list.add_head(Node(1)) self.assertFalse(s...
39.956204
65
0.642674
778
5,474
4.075835
0.060411
0.321665
0.331126
0.144749
0.899401
0.87638
0.82813
0.794071
0.772627
0.738568
0
0.018926
0.227804
5,474
136
66
40.25
0.731251
0
0
0.686441
0
0
0.069967
0
0
0
0
0
0.364407
1
0.127119
false
0
0.016949
0
0.152542
0
0
0
0
null
1
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
0
0
0
0
0
0
0
0
0
0
8
6ea2bf591294feef8e5c6547a05e7ccd9a5a3697
35
py
Python
models/__init__.py
zhigangjiang/LGT-Net
d9a619158b2dc66a50c100e7fa7e491f1df16fd7
[ "MIT" ]
11
2022-03-03T17:49:33.000Z
2022-03-25T11:23:11.000Z
models/__init__.py
zhigangjiang/LGT-Net
d9a619158b2dc66a50c100e7fa7e491f1df16fd7
[ "MIT" ]
null
null
null
models/__init__.py
zhigangjiang/LGT-Net
d9a619158b2dc66a50c100e7fa7e491f1df16fd7
[ "MIT" ]
1
2022-03-04T06:39:50.000Z
2022-03-04T06:39:50.000Z
from models.lgt_net import LGT_Net
17.5
34
0.857143
7
35
4
0.714286
0.428571
0
0
0
0
0
0
0
0
0
0
0.114286
35
1
35
35
0.903226
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
42e8f796377a92d846078d7453d6c0a8e25f6e38
62
py
Python
average_speed_radar/camera_integration/CameraIntegration.py
fnoquiq/average_speed_radar-radar_module
f424c3a47a877ffeca98c8b1510fdbdb7096f69e
[ "MIT" ]
3
2020-05-11T00:55:54.000Z
2021-11-27T15:14:55.000Z
average_speed_radar/camera_integration/CameraIntegration.py
fnoquiq/average_speed_radar-radar_module
f424c3a47a877ffeca98c8b1510fdbdb7096f69e
[ "MIT" ]
5
2019-05-13T02:40:25.000Z
2019-06-06T02:17:50.000Z
average_speed_radar/camera_integration/CameraIntegration.py
fnoquiq/average_speed_radar
f424c3a47a877ffeca98c8b1510fdbdb7096f69e
[ "MIT" ]
1
2020-04-12T19:46:35.000Z
2020-04-12T19:46:35.000Z
import cv2 def get_camera(): return cv2.VideoCapture(0)
10.333333
30
0.709677
9
62
4.777778
0.888889
0
0
0
0
0
0
0
0
0
0
0.06
0.193548
62
5
31
12.4
0.8
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
1
1
0
0
7
2852bf3f763ec3b39ed59acfc30afc6c95777ae4
68,629
py
Python
tests/test_client_async.py
electronhead/whendo
27112834be0935b5b0f7ade4316e35532532e047
[ "MIT" ]
1
2022-03-04T09:25:13.000Z
2022-03-04T09:25:13.000Z
tests/test_client_async.py
electronhead/whendo
27112834be0935b5b0f7ade4316e35532532e047
[ "MIT" ]
null
null
null
tests/test_client_async.py
electronhead/whendo
27112834be0935b5b0f7ade4316e35532532e047
[ "MIT" ]
null
null
null
""" These test cases run the API within each test function call, allowing API http calls to a live and albeit short-lived whendo server. This class and the fixture, startup_and_shutdown_uvicorn, rely on asynchronous processing. """ import time import pytest from datetime import timedelta from pydantic import BaseModel...
37.7913
107
0.703099
8,968
68,629
5.174509
0.035571
0.07163
0.04034
0.049305
0.885314
0.863635
0.838767
0.826204
0.805323
0.77705
0
0.012245
0.182503
68,629
1,815
108
37.812121
0.81488
0.017791
0
0.729345
0
0
0.0709
0.004869
0
0
0
0
0.157407
1
0
false
0
0.01567
0
0.019943
0.000712
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
95554e190258085ca6f94d20ab54172208309eed
86,335
py
Python
reinterpreted-python/tests/test_syntax.py
diana-hep/gawk
8528e70f9973b6216b516680141ca443bcf7448b
[ "BSD-3-Clause" ]
null
null
null
reinterpreted-python/tests/test_syntax.py
diana-hep/gawk
8528e70f9973b6216b516680141ca443bcf7448b
[ "BSD-3-Clause" ]
null
null
null
reinterpreted-python/tests/test_syntax.py
diana-hep/gawk
8528e70f9973b6216b516680141ca443bcf7448b
[ "BSD-3-Clause" ]
null
null
null
import rejig.pybytecode from rejig.syntaxtree import * def check(what_is, what_should_be): global failed, total env = {} if "\n" in what_is or " = " in what_is or "def " in what_is or "print(" in what_is: exec("def f():\n " + "\n ".join(what_is.split("\n")), env) else: exec("def f...
125.30479
504
0.524295
13,535
86,335
3.343332
0.006871
0.141651
0.182975
0.208676
0.982719
0.97346
0.969261
0.956024
0.943052
0.92449
0
0.020523
0.091365
86,335
688
505
125.486919
0.556325
0.00388
0
0.259084
0
0.041074
0.234118
0.000256
0
0
0.000116
0
0.00158
1
0.00158
false
0
0.00316
0
0.026856
0.00316
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
955f0864c9d6a6980d3ca7a32ecb3051ddf99a42
80
py
Python
src/api/chat.py
ah-choo/api.ahchoo.fun
72fb76c8bfb0eb3b8585ba3e9726e14ca83861d3
[ "MIT" ]
1
2021-07-14T03:22:42.000Z
2021-07-14T03:22:42.000Z
src/api/chat.py
ah-choo/api.ahchoo.fun
72fb76c8bfb0eb3b8585ba3e9726e14ca83861d3
[ "MIT" ]
null
null
null
src/api/chat.py
ah-choo/api.ahchoo.fun
72fb76c8bfb0eb3b8585ba3e9726e14ca83861d3
[ "MIT" ]
null
null
null
from src.api import app @app.api.get("/chats") def get_chats(): return {}
11.428571
23
0.6375
13
80
3.846154
0.692308
0.32
0
0
0
0
0
0
0
0
0
0
0.1875
80
6
24
13.333333
0.769231
0
0
0
0
0
0.075
0
0
0
0
0
0
1
0.25
true
0
0.25
0.25
0.75
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
1
0
0
7
9583c0d49c890ea18a9ab9a6df7adfbd616f2ec2
643
py
Python
temboo/core/Library/Facebook/Actions/Video/Rates/__init__.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
7
2016-03-07T02:07:21.000Z
2022-01-21T02:22:41.000Z
temboo/core/Library/Facebook/Actions/Video/Rates/__init__.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
null
null
null
temboo/core/Library/Facebook/Actions/Video/Rates/__init__.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
8
2016-06-14T06:01:11.000Z
2020-04-22T09:21:44.000Z
from temboo.Library.Facebook.Actions.Video.Rates.CreateRating import CreateRating, CreateRatingInputSet, CreateRatingResultSet, CreateRatingChoreographyExecution from temboo.Library.Facebook.Actions.Video.Rates.DeleteRating import DeleteRating, DeleteRatingInputSet, DeleteRatingResultSet, DeleteRatingChoreographyExecut...
128.6
161
0.900467
52
643
11.134615
0.461538
0.069085
0.117444
0.172712
0.290155
0.290155
0.290155
0
0
0
0
0
0.043546
643
4
162
160.75
0.941463
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
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
7
252bdd24e668cd8f9571f000edd936897436c3d3
2,812
py
Python
src/autoencoding_rl/ReplayBuffer_updatable.py
c-rizz/autoencoding_rl
65775630e87184c8809a31a8ef980853d5b49f9f
[ "MIT" ]
null
null
null
src/autoencoding_rl/ReplayBuffer_updatable.py
c-rizz/autoencoding_rl
65775630e87184c8809a31a8ef980853d5b49f9f
[ "MIT" ]
null
null
null
src/autoencoding_rl/ReplayBuffer_updatable.py
c-rizz/autoencoding_rl
65775630e87184c8809a31a8ef980853d5b49f9f
[ "MIT" ]
null
null
null
from stable_baselines3.common.buffers import ReplayBuffer from stable_baselines3.common.buffers import DictReplayBuffer import numpy as np class ReplayBuffer_updatable(ReplayBuffer): def update(self, buffer : ReplayBuffer): if (self.optimize_memory_usage or buffer.optimize_memory_usage): raise...
48.482759
127
0.635135
353
2,812
4.88102
0.150142
0.130006
0.083575
0.12072
0.857806
0.842716
0.793964
0.793964
0.72664
0.645386
0
0.002904
0.265292
2,812
58
128
48.482759
0.831075
0
0
0.711111
0
0
0.024884
0
0
0
0
0
0
1
0.044444
false
0
0.066667
0
0.155556
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
c2549983a5a6ec80d2ea351d84fe48cf641bd7b3
10,001
py
Python
sdk/purview/azure-purview-scanning/azure/purview/scanning/rest/system_scan_rulesets/_request_builders_py3.py
rsdoherty/azure-sdk-for-python
6bba5326677468e6660845a703686327178bb7b1
[ "MIT" ]
3
2020-06-23T02:25:27.000Z
2021-09-07T18:48:11.000Z
sdk/purview/azure-purview-scanning/azure/purview/scanning/rest/system_scan_rulesets/_request_builders_py3.py
rsdoherty/azure-sdk-for-python
6bba5326677468e6660845a703686327178bb7b1
[ "MIT" ]
510
2019-07-17T16:11:19.000Z
2021-08-02T08:38:32.000Z
sdk/purview/azure-purview-scanning/azure/purview/scanning/rest/system_scan_rulesets/_request_builders_py3.py
rsdoherty/azure-sdk-for-python
6bba5326677468e6660845a703686327178bb7b1
[ "MIT" ]
5
2019-09-04T12:51:37.000Z
2020-09-16T07:28:40.000Z
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
35.214789
136
0.652135
1,147
10,001
5.540541
0.136007
0.039339
0.050669
0.041542
0.846578
0.837608
0.837608
0.83273
0.83273
0.83273
0
0.007183
0.220478
10,001
283
137
35.339223
0.807978
0.489251
0
0.754386
0
0
0.193405
0.050095
0
0
0
0
0
1
0.04386
false
0
0.04386
0
0.131579
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
c2f8e8f4f4cb3447bbc46a08eb00a126a3b3c64d
33
py
Python
utils/__init__.py
sreekanthmutthoju/ML_Medical_Domain
38b263419ddfb20cb4ec199f813fb2fe6b27a2eb
[ "MIT" ]
null
null
null
utils/__init__.py
sreekanthmutthoju/ML_Medical_Domain
38b263419ddfb20cb4ec199f813fb2fe6b27a2eb
[ "MIT" ]
null
null
null
utils/__init__.py
sreekanthmutthoju/ML_Medical_Domain
38b263419ddfb20cb4ec199f813fb2fe6b27a2eb
[ "MIT" ]
null
null
null
print("util package is imported")
33
33
0.787879
5
33
5.2
1
0
0
0
0
0
0
0
0
0
0
0
0.090909
33
1
33
33
0.866667
0
0
0
0
0
0.705882
0
0
0
0
0
0
1
0
true
0
1
0
1
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
1
0
1
1
0
8
667d31e9c87f39f0a07f69c2e676af418c3889bb
3,978
py
Python
Codefights/arcade/intro/level-12/60.Sudoku/Python/test.py
RevansChen/online-judge
ad1b07fee7bd3c49418becccda904e17505f3018
[ "MIT" ]
7
2017-09-20T16:40:39.000Z
2021-08-31T18:15:08.000Z
Codefights/arcade/intro/level-12/60.Sudoku/Python/test.py
RevansChen/online-judge
ad1b07fee7bd3c49418becccda904e17505f3018
[ "MIT" ]
null
null
null
Codefights/arcade/intro/level-12/60.Sudoku/Python/test.py
RevansChen/online-judge
ad1b07fee7bd3c49418becccda904e17505f3018
[ "MIT" ]
null
null
null
# Python3 from solution1 import sudoku as f qa = [ ([[1, 3, 2, 5, 4, 6, 9, 8, 7], [4, 6, 5, 8, 7, 9, 3, 2, 1], [7, 9, 8, 2, 1, 3, 6, 5, 4], [9, 2, 1, 4, 3, 5, 8, 7, 6], [3, 5, 4, 7, 6, 8, 2, 1, 9], [6, 8, 7, 1, 9, 2, 5, 4, 3], [5, 7, 6, 9, 8, 1, 4, 3, 2], [2, 4, 3, 6, 5, ...
30.6
47
0.278783
950
3,978
1.167368
0.038947
0.144274
0.213706
0.281335
0.818756
0.814247
0.803427
0.778179
0.756537
0.692516
0
0.38654
0.417295
3,978
129
48
30.837209
0.09189
0.00176
0
0.664
0
0
0.016125
0
0
0
0
0
0
1
0
false
0
0.008
0
0.008
0.056
0
0
1
null
0
1
1
1
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
11
669e83ffefa3d93435adb82db21886f73e81c79d
7,311
py
Python
global/commands/idl.py
hidaruma/caty
f71d2ab0a001ea4f7a96a6e02211187ebbf54773
[ "MIT" ]
null
null
null
global/commands/idl.py
hidaruma/caty
f71d2ab0a001ea4f7a96a6e02211187ebbf54773
[ "MIT" ]
null
null
null
global/commands/idl.py
hidaruma/caty
f71d2ab0a001ea4f7a96a6e02211187ebbf54773
[ "MIT" ]
null
null
null
from reification import * import os class GenerateFacilityClass(Command): def execute(self, cls_data): if not cls_data.get('anno', {}).get('__signature', False): throw_caty_exception(u'InvalidInput', u'$$.anno.__signature=$val', val=cls_data.get('anno', {}).get('__signature', u'undefined')) ...
38.888298
141
0.448913
812
7,311
3.900246
0.139163
0.066309
0.026524
0.026524
0.855384
0.821282
0.821282
0.808652
0.808652
0.808652
0
0.012043
0.386678
7,311
187
142
39.096257
0.694246
0
0
0.782353
1
0
0.172367
0.029001
0
0
0
0
0
1
0.029412
false
0
0.023529
0
0.082353
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
66b9aab1fbbf699d33eaae101fdbfc7c60a8d804
4,350
py
Python
tests/test_async_ws_consumer.py
LittlePony/django-channels2-jsonrpc
4b61358bb17731efb31fc8bd5b95abbd8a72ebc5
[ "MIT" ]
3
2020-05-25T17:49:00.000Z
2021-06-28T12:06:57.000Z
tests/test_async_ws_consumer.py
LittlePony/django-channels2-jsonrpc
4b61358bb17731efb31fc8bd5b95abbd8a72ebc5
[ "MIT" ]
null
null
null
tests/test_async_ws_consumer.py
LittlePony/django-channels2-jsonrpc
4b61358bb17731efb31fc8bd5b95abbd8a72ebc5
[ "MIT" ]
null
null
null
import pytest from channels.testing import WebsocketCommunicator from channels_jsonrpc import AsyncJsonRpcWebsocketConsumer from .conftest import INVALID_PARAMS, VALID_PARAMS @pytest.mark.parametrize('test_input,expected', INVALID_PARAMS) @pytest.mark.asyncio async def test_async_consumer_errors_handled(test_input, e...
31.985294
100
0.678851
457
4,350
6.262582
0.172867
0.047519
0.0587
0.072676
0.881202
0.881202
0.858141
0.858141
0.842068
0.842068
0
0.002625
0.211954
4,350
135
101
32.222222
0.832264
0.396782
0
0.803571
0
0
0.042289
0
0
0
0
0.007407
0.107143
1
0
false
0
0.071429
0
0.196429
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
dd0cc15d4ad19f363c9eed729985248f2ccb93a0
1,427
py
Python
app/models/samples/energyconstructionsetabridged.py
tanushree04/energy-model-schema-1
ea92b0d300f1bf97633ff19ae64006d0ea2fed21
[ "BSD-3-Clause" ]
null
null
null
app/models/samples/energyconstructionsetabridged.py
tanushree04/energy-model-schema-1
ea92b0d300f1bf97633ff19ae64006d0ea2fed21
[ "BSD-3-Clause" ]
null
null
null
app/models/samples/energyconstructionsetabridged.py
tanushree04/energy-model-schema-1
ea92b0d300f1bf97633ff19ae64006d0ea2fed21
[ "BSD-3-Clause" ]
null
null
null
construction_set = { 'type': 'ConstructionSetAbridged', 'name': 'Construction Set', 'wall_set': { 'type': 'WallSetAbridged', 'exterior_construction': 'Exterior Wall ASHRAE 2009' }, 'floor_set': { 'type': 'FloorSetAbridged', 'interior_construction': 'Internal Floor' ...
23.393443
60
0.627891
118
1,427
7.347458
0.20339
0.096886
0.193772
0.089965
0.905421
0.799308
0.799308
0.799308
0.799308
0.799308
0
0.020055
0.231254
1,427
60
61
23.783333
0.770283
0
0
0.461538
0
0
0.583742
0.230554
0
0
0
0
0
1
0
false
0
0
0
0
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
0
0
0
0
0
0
0
0
0
0
7
dd77554204a59e3d9a6f7893dbc38fccbf0a7883
197
py
Python
highway_env/envs/__init__.py
JadeQG/highway-env
93d2e23de5db672f4f0feb67db0c82d0c86119ab
[ "MIT" ]
null
null
null
highway_env/envs/__init__.py
JadeQG/highway-env
93d2e23de5db672f4f0feb67db0c82d0c86119ab
[ "MIT" ]
null
null
null
highway_env/envs/__init__.py
JadeQG/highway-env
93d2e23de5db672f4f0feb67db0c82d0c86119ab
[ "MIT" ]
1
2020-04-30T02:00:52.000Z
2020-04-30T02:00:52.000Z
from __future__ import absolute_import from highway_env.envs.highway_env import HighwayEnv from highway_env.envs.merge_env import MergeEnv from highway_env.envs.roundabout_env import RoundaboutEnv
39.4
57
0.888325
29
197
5.655172
0.413793
0.243902
0.256098
0.329268
0
0
0
0
0
0
0
0
0.081218
197
4
58
49.25
0.906077
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
dd8e63902000a34701f53218f968d8b37aee650a
3,156
py
Python
pytorch_toolbelt/modules/encoders/timm/hrnet.py
azkalot1/pytorch-toolbelt
9d7544fa32a6c6588f9f8c4525ba702700ac01cc
[ "MIT" ]
1,281
2019-03-17T18:32:39.000Z
2022-03-31T03:47:22.000Z
pytorch_toolbelt/modules/encoders/timm/hrnet.py
azkalot1/pytorch-toolbelt
9d7544fa32a6c6588f9f8c4525ba702700ac01cc
[ "MIT" ]
28
2019-04-05T10:49:25.000Z
2022-03-11T10:40:28.000Z
pytorch_toolbelt/modules/encoders/timm/hrnet.py
azkalot1/pytorch-toolbelt
9d7544fa32a6c6588f9f8c4525ba702700ac01cc
[ "MIT" ]
99
2019-03-18T08:40:18.000Z
2022-03-26T10:52:57.000Z
from .common import GenericTimmEncoder from ..common import EncoderModule, _take, make_n_channel_input from ...activations import ACT_RELU, get_activation_block __all__ = ["HRNetW18Encoder", "HRNetW32Encoder", "HRNetW48Encoder", "TimmHRNetW18SmallV2Encoder"] class HRNetW18Encoder(GenericTimmEncoder): def __init_...
36.697674
107
0.665082
373
3,156
5.327078
0.176944
0.07851
0.064419
0.042778
0.843986
0.843986
0.843986
0.843986
0.843986
0.819829
0
0.022662
0.230989
3,156
85
108
37.129412
0.796045
0
0
0.738462
0
0
0.033904
0.008238
0
0
0
0
0
1
0.169231
false
0
0.107692
0
0.446154
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
665577957a42c32cbd5128b3672bde36efdcad20
151
py
Python
app/web_ui/views/readme_view.py
olderlong/WvsCCServer
20f4fdc89f2b6087ebf50044597e3caa375fe0d7
[ "Apache-2.0" ]
1
2019-05-09T08:48:26.000Z
2019-05-09T08:48:26.000Z
app/web_ui/views/readme_view.py
olderlong/WvsCCServer
20f4fdc89f2b6087ebf50044597e3caa375fe0d7
[ "Apache-2.0" ]
null
null
null
app/web_ui/views/readme_view.py
olderlong/WvsCCServer
20f4fdc89f2b6087ebf50044597e3caa375fe0d7
[ "Apache-2.0" ]
null
null
null
#! /usr/bin/env python # _*_coding:utf-8 -*_ from flask import render_template def readme(): return render_template("readme.html", title="使用说明")
18.875
55
0.708609
21
151
4.857143
0.857143
0.27451
0
0
0
0
0
0
0
0
0
0.007692
0.139073
151
8
55
18.875
0.776923
0.271523
0
0
0
0
0.137615
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0.333333
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
1
1
0
0
8
b0824ad6a1ddc8bab3399d7b7195698df0d49128
12,293
py
Python
data_loader/lb_loader.py
hackerekcah/dcase19_task1_hitsplab
24579eac72d78951ecd53a6462b32a9504d18a28
[ "MIT" ]
3
2019-07-10T07:36:49.000Z
2020-01-15T09:14:27.000Z
data_loader/lb_loader.py
hackerekcah/dcase19_task1_hitsplab
24579eac72d78951ecd53a6462b32a9504d18a28
[ "MIT" ]
null
null
null
data_loader/lb_loader.py
hackerekcah/dcase19_task1_hitsplab
24579eac72d78951ecd53a6462b32a9504d18a28
[ "MIT" ]
null
null
null
from torch.utils.data import DataLoader from data_loader.transformer import * from torchvision.transforms import Compose from data_loader.data_sets import * class LB_Loader: def __init__(self, is_divide_variance=True): self.is_divide_variance = is_divide_variance def train(self, batch_size=128, shuff...
61.159204
116
0.51631
1,113
12,293
5.389039
0.06469
0.109537
0.189396
0.130043
0.956152
0.956152
0.956152
0.956152
0.952151
0.952151
0
0.022059
0.402587
12,293
201
117
61.159204
0.794662
0
0
0.878049
0
0
0.002115
0
0
0
0
0
0
1
0.176829
false
0
0.02439
0.115854
0.378049
0.006098
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
1
0
0
0
9
b0b93dbde046be26fe91be3f103164df74c458f5
564
py
Python
updater.py
Cagrimanoka/yokatlas-crawler
63ae2a3ca74295fb12876b60d00d4d9f7f58d1fd
[ "MIT" ]
1
2021-09-16T20:01:28.000Z
2021-09-16T20:01:28.000Z
updater.py
Cagrimanoka/yokatlas-crawler
63ae2a3ca74295fb12876b60d00d4d9f7f58d1fd
[ "MIT" ]
null
null
null
updater.py
Cagrimanoka/yokatlas-crawler
63ae2a3ca74295fb12876b60d00d4d9f7f58d1fd
[ "MIT" ]
null
null
null
import pickle with open("assoc_data_pickle", "rb") as f: data = pickle.load(f) with open("assoc_data_pickle_new", "rb") as f: new_data = pickle.load(f) data.update(new_data) with open("assoc_data_pickle_updated", "wb") as f: pickle.dump(data, f, protocol=4) with open("bachelor_data_pickle"...
24.521739
54
0.66844
92
564
3.880435
0.195652
0.280112
0.056022
0.168067
0.966387
0.812325
0.812325
0.812325
0.812325
0.812325
0
0.004357
0.18617
564
23
55
24.521739
0.77342
0
0
0.533333
0
0
0.270718
0.180479
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0
0
0
0
null
1
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
8
b0f6d7be799b621c7e3555ed7e720763e33b45a4
729
py
Python
example/src/functions.py
BuvinJT/pyMkDocs
e6044ba64519e778f9acb0225dd4fd3c7e53188f
[ "MIT" ]
null
null
null
example/src/functions.py
BuvinJT/pyMkDocs
e6044ba64519e778f9acb0225dd4fd3c7e53188f
[ "MIT" ]
null
null
null
example/src/functions.py
BuvinJT/pyMkDocs
e6044ba64519e778f9acb0225dd4fd3c7e53188f
[ "MIT" ]
null
null
null
#import numpy as np MIN_SIZE=-1 """This is the minimum size allowed!""" _pro_min_size=-2 __pri_min_size=-3 def mini(x, y): """ Take the max between two numbers **Parameters** > **x:** `float` -- Description of parameter `x`. > **y:** `float` -- Description of parameter `y`. **Returns** ...
16.953488
53
0.569273
93
729
4.376344
0.376344
0.029484
0.265356
0.265356
0.766585
0.766585
0.766585
0.766585
0.766585
0.766585
0
0.007421
0.260631
729
42
54
17.357143
0.747681
0.652949
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0
0
0.571429
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
1
0
0
0
0
1
0
0
9
b019c674e13f9adc3c0e65532ae6b544a19195aa
9,201
py
Python
HW4-keyvan-dadashzadeh-97522148/Q4/gen/Q4Listener.py
keyvan1379/IUSTCompiler
ca7f03fe23d0322335a2e8a333967d5905ac3345
[ "MIT" ]
null
null
null
HW4-keyvan-dadashzadeh-97522148/Q4/gen/Q4Listener.py
keyvan1379/IUSTCompiler
ca7f03fe23d0322335a2e8a333967d5905ac3345
[ "MIT" ]
null
null
null
HW4-keyvan-dadashzadeh-97522148/Q4/gen/Q4Listener.py
keyvan1379/IUSTCompiler
ca7f03fe23d0322335a2e8a333967d5905ac3345
[ "MIT" ]
null
null
null
# Generated from Q4.g4 by ANTLR 4.9 from antlr4 import * if __name__ is not None and "." in __name__: from .Q4Parser import Q4Parser else: from Q4Parser import Q4Parser # This class defines a complete listener for a parse tree produced by Q4Parser. class Q4Listener(ParseTreeListener): # Enter a parse tree...
32.62766
92
0.741115
1,240
9,201
5.255645
0.095161
0.125211
0.166948
0.168482
0.874022
0.802517
0.79822
0.752647
0.646156
0.42627
0
0.021969
0.198565
9,201
282
93
32.62766
0.861812
0.371155
0
0.472441
1
0
0.000177
0
0
0
0
0
0
1
0.472441
false
0.472441
0.023622
0
0.503937
0.015748
0
0
0
null
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
8
c65eaffc280fa623802b5bf24b26756f69abc970
373
py
Python
utility_scripts/switch_power.py
UCT-White-Lab/provisioning-jig
d2b8b5738651b9f2885beebe4b50b2cd9d49e973
[ "MIT" ]
null
null
null
utility_scripts/switch_power.py
UCT-White-Lab/provisioning-jig
d2b8b5738651b9f2885beebe4b50b2cd9d49e973
[ "MIT" ]
null
null
null
utility_scripts/switch_power.py
UCT-White-Lab/provisioning-jig
d2b8b5738651b9f2885beebe4b50b2cd9d49e973
[ "MIT" ]
null
null
null
import usb.core def pOff(pNum): hubs = usb.core.find(find_all=True, bDeviceClass=usb.CLASS_HUB) dev_hub = hubs.next() dev_hub.ctrl_transfer((usb.TYPE_CLASS | usb.RECIP_OTHER), 1, 8, pNum) def pOn(pNum): hubs = usb.core.find(find_all=True, bDeviceClass=usb.CLASS_HUB) dev_hub = hubs.next() dev_hub.ctrl_tran...
31.083333
73
0.729223
65
373
3.969231
0.369231
0.093023
0.085271
0.116279
0.852713
0.852713
0.852713
0.852713
0.852713
0.852713
0
0.012232
0.123324
373
11
74
33.909091
0.776758
0
0
0.444444
0
0
0
0
0
0
0
0
0
0
null
null
0
0.111111
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
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
7
c699f02aaba84087610091f90d7dce8150c4a810
174
py
Python
mrkt/framework/__init__.py
Tefx/Meerkat
ad9d4d3973a990406b976998dce9727b40139650
[ "MIT" ]
null
null
null
mrkt/framework/__init__.py
Tefx/Meerkat
ad9d4d3973a990406b976998dce9727b40139650
[ "MIT" ]
null
null
null
mrkt/framework/__init__.py
Tefx/Meerkat
ad9d4d3973a990406b976998dce9727b40139650
[ "MIT" ]
null
null
null
from mrkt.framework.cluster.pool import Pool from .cluster.pool import Pool from .platform.local import Hosts from .platform.AWS import EC2 from .service.docker import ViaSSH
34.8
44
0.827586
27
174
5.333333
0.518519
0.152778
0.236111
0.291667
0.347222
0
0
0
0
0
0
0.006452
0.109195
174
5
45
34.8
0.922581
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
c6c0cf8e38240787623b6d28a8dcb2d8f441df79
7,442
py
Python
notifierlib/channels/jabber.py
costastf/notifierlib
ddf5d32dd114a55717eb0d267b165db27a655db0
[ "MIT" ]
null
null
null
notifierlib/channels/jabber.py
costastf/notifierlib
ddf5d32dd114a55717eb0d267b165db27a655db0
[ "MIT" ]
2
2017-09-21T15:24:39.000Z
2021-07-07T11:17:08.000Z
notifierlib/channels/jabber.py
costastf/notifierlib
ddf5d32dd114a55717eb0d267b165db27a655db0
[ "MIT" ]
1
2017-09-20T17:12:26.000Z
2017-09-20T17:12:26.000Z
#!/usr/bin/env python # -*- coding: UTF-8 -*- # File: jabber.py """Jabber module file.""" import logging import sleekxmpp from notifierlib.notifierlib import Channel __author__ = '''Costas Tyfoxylos <costas.tyf@gmail.com>, Argiris Gounaris <agounaris@gmail.com>''' __docformat__ = 'plaintext' __date__ = '''19-09-2017...
35.778846
99
0.497313
687
7,442
5.199418
0.190684
0.036394
0.035834
0.033595
0.818309
0.771837
0.741041
0.741041
0.741041
0.694009
0
0.007557
0.413195
7,442
207
100
35.951691
0.810396
0.129669
0
0.820809
0
0
0.042297
0.006867
0
0
0
0
0
1
0.046243
false
0.092486
0.017341
0
0.109827
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
1
0
0
0
0
0
8
05a2454f50dd6e29f87968abcf2bdd888e944f37
89
py
Python
tests/bytecode/mp-tests/class6.py
LabAixBidouille/micropython
11aa6ba456287d6c80598a7ebbebd2887ce8f5a2
[ "MIT" ]
303
2015-07-11T17:12:55.000Z
2018-01-08T03:02:37.000Z
tests/bytecode/mp-tests/class6.py
roger-/micropython
bad2df3e95cd5719099319d71590a79bf6bc4493
[ "MIT" ]
13
2016-05-12T16:51:22.000Z
2018-01-10T22:33:25.000Z
tests/bytecode/mp-tests/class6.py
roger-/micropython
bad2df3e95cd5719099319d71590a79bf6bc4493
[ "MIT" ]
26
2018-01-18T09:15:33.000Z
2022-02-07T13:09:14.000Z
class A: def f(self): pass class B(A): def f(self): super().f()
11.125
19
0.438202
14
89
2.785714
0.571429
0.205128
0.25641
0.461538
0
0
0
0
0
0
0
0
0.393258
89
7
20
12.714286
0.722222
0
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.166667
0
0
0.666667
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
8
05ff43f83bb2a3df512467ab2b06464a2d6c2682
1,577
py
Python
nn_utils.py
zabil/AdaSwarm
41afe3f39037e4563a538a28805e13d225c45b53
[ "MIT" ]
1
2021-04-30T18:04:17.000Z
2021-04-30T18:04:17.000Z
nn_utils.py
zabil/AdaSwarm
41afe3f39037e4563a538a28805e13d225c45b53
[ "MIT" ]
null
null
null
nn_utils.py
zabil/AdaSwarm
41afe3f39037e4563a538a28805e13d225c45b53
[ "MIT" ]
1
2021-09-28T07:04:39.000Z
2021-09-28T07:04:39.000Z
import torch import torch.nn.functional as F class CELoss: def __init__(self, y): self.y = y self.fitness = torch.nn.CrossEntropyLoss() def evaluate(self, x): # print(x, self.y) return self.fitness(x, self.y) class CELossWithPSO(torch.autograd.Function): @static...
30.326923
64
0.590361
222
1,577
3.995496
0.207207
0.067644
0.040586
0.049605
0.859076
0.859076
0.859076
0.859076
0.859076
0.859076
0
0.00364
0.303107
1,577
52
65
30.326923
0.803458
0.020926
0
0.772727
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0.045455
0.045455
0.454545
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
af018ab6d91ef3e2f270db20448d8f0d93c875d0
181,147
py
Python
src/api/migrations/0001_initial.py
WWF-ConsEvidence/mpasocial
347c8b92884a73befb19db65ff48c900a545d222
[ "MIT" ]
null
null
null
src/api/migrations/0001_initial.py
WWF-ConsEvidence/mpasocial
347c8b92884a73befb19db65ff48c900a545d222
[ "MIT" ]
1
2021-11-06T20:53:35.000Z
2021-11-06T20:53:35.000Z
src/api/migrations/0001_initial.py
WWF-ConsEvidence/mpasocial
347c8b92884a73befb19db65ff48c900a545d222
[ "MIT" ]
null
null
null
# Generated by Django 2.2 on 2022-02-01 19:59 import api.models.base from django.conf import settings import django.contrib.gis.db.models.fields import django.core.validators from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True depe...
130.227894
1,297
0.656412
20,942
181,147
5.626397
0.049947
0.040559
0.027039
0.037555
0.880937
0.878127
0.870905
0.836482
0.835837
0.806566
0
0.058372
0.196415
181,147
1,390
1,298
130.321583
0.75107
0.000237
0
0.479393
1
0.127983
0.440928
0.023401
0
0
0
0
0
1
0
false
0.02603
0.004338
0
0.007231
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
af37947379434b7153c9290c921ce257fedb1bb4
61
py
Python
pyqentangle/cythonmodule/__init__.py
stephenhky/PyQEntangle
f06b63ac89952c1878555af0f2b4f079d11237d2
[ "MIT" ]
15
2017-05-25T17:09:53.000Z
2021-12-07T14:36:15.000Z
pyqentangle/cythonmodule/__init__.py
stephenhky/PyQEntangle
f06b63ac89952c1878555af0f2b4f079d11237d2
[ "MIT" ]
9
2019-04-07T04:52:57.000Z
2020-11-05T04:27:55.000Z
pyqentangle/cythonmodule/__init__.py
stephenhky/PyQEntangle
f06b63ac89952c1878555af0f2b4f079d11237d2
[ "MIT" ]
5
2019-03-12T03:45:10.000Z
2021-03-25T18:56:04.000Z
from . import interpolate_nocheck from . import interpolate
15.25
33
0.819672
7
61
7
0.571429
0.408163
0.857143
0
0
0
0
0
0
0
0
0
0.147541
61
3
34
20.333333
0.942308
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
af4121387fd128687ec1a74ae4c9592803d6bc38
82
py
Python
snapx/snapx/algorithms/__init__.py
averyr2/snap-python
8173f1281d6b26e66903753af387c59225b23783
[ "BSD-3-Clause" ]
1
2020-09-08T14:51:46.000Z
2020-09-08T14:51:46.000Z
snapx/snapx/algorithms/__init__.py
ameya98/snap-python
da987be9921de8fa8018630c49dd23c33c33d361
[ "BSD-3-Clause" ]
null
null
null
snapx/snapx/algorithms/__init__.py
ameya98/snap-python
da987be9921de8fa8018630c49dd23c33c33d361
[ "BSD-3-Clause" ]
null
null
null
from snapx.algorithms.centrality import * from snapx.algorithms.community import *
41
41
0.841463
10
82
6.9
0.6
0.26087
0.550725
0
0
0
0
0
0
0
0
0
0.085366
82
2
42
41
0.92
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
afd1a44e9dc4303abb911acad977417aa6c5bf5d
5,499
py
Python
pyaz/cloud/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
null
null
null
pyaz/cloud/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
null
null
null
pyaz/cloud/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
1
2022-02-03T09:12:01.000Z
2022-02-03T09:12:01.000Z
''' Manage registered Azure clouds. ''' from .. pyaz_utils import _call_az def list(): ''' List registered clouds. ''' return _call_az("az cloud list", locals()) def show(name=None): ''' Get the details of a registered cloud. Optional Parameters: - name -- Name of a registered cloud....
49.098214
626
0.773231
733
5,499
5.489768
0.136426
0.082008
0.091451
0.053678
0.895875
0.895875
0.87003
0.862326
0.862326
0.846918
0
0
0.162757
5,499
111
627
49.540541
0.874023
0.613202
0
0
0
0
0.061224
0
0
0
0
0
0
1
0.466667
false
0
0.066667
0
1
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
1
0
0
0
0
1
0
0
8
bb6ad2e1ddc6e68239a31fb77ce22a97a077e620
26
py
Python
brreg_announce/__init__.py
anderser/brreg_announce
88ca9aafea48733055972ab1a5f82c380c11f742
[ "MIT" ]
null
null
null
brreg_announce/__init__.py
anderser/brreg_announce
88ca9aafea48733055972ab1a5f82c380c11f742
[ "MIT" ]
1
2021-03-31T19:58:04.000Z
2021-03-31T19:58:04.000Z
brreg_announce/__init__.py
anderser/brreg_announce
88ca9aafea48733055972ab1a5f82c380c11f742
[ "MIT" ]
null
null
null
def version(): return 0.4
13
14
0.692308
5
26
3.6
1
0
0
0
0
0
0
0
0
0
0
0.090909
0.153846
26
2
15
13
0.727273
0
0
0
0
0
0
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
bb6b6d9b3822ee2a84b19ac10c7453cae010ea5d
262,718
py
Python
google/identity/accesscontextmanager/v1/identity-accesscontextmanager-v1-py/tests/unit/gapic/accesscontextmanager_v1/test_access_context_manager.py
googleapis/googleapis-gen
d84824c78563d59b0e58d5664bfaa430e9ad7e7a
[ "Apache-2.0" ]
7
2021-02-21T10:39:41.000Z
2021-12-07T07:31:28.000Z
google/identity/accesscontextmanager/v1/identity-accesscontextmanager-v1-py/tests/unit/gapic/accesscontextmanager_v1/test_access_context_manager.py
googleapis/googleapis-gen
d84824c78563d59b0e58d5664bfaa430e9ad7e7a
[ "Apache-2.0" ]
6
2021-02-02T23:46:11.000Z
2021-11-15T01:46:02.000Z
google/identity/accesscontextmanager/v1/identity-accesscontextmanager-v1-py/tests/unit/gapic/accesscontextmanager_v1/test_access_context_manager.py
googleapis/googleapis-gen
d84824c78563d59b0e58d5664bfaa430e9ad7e7a
[ "Apache-2.0" ]
4
2021-01-28T23:25:45.000Z
2021-08-30T01:55:16.000Z
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
39.281998
263
0.691879
29,867
262,718
5.824689
0.016841
0.023464
0.036099
0.05539
0.951939
0.936718
0.924232
0.902533
0.885409
0.879281
0
0.004036
0.231313
262,718
6,687
264
39.287872
0.857404
0.204569
0
0.731637
0
0
0.066778
0.023076
0
0
0
0.00015
0.123009
1
0.042257
false
0.000221
0.008628
0.000442
0.051327
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
bb93cc81e6f633bac0bc459b82ddc669c9e84426
158
py
Python
wsgi_basic/token/__init__.py
QthCN/wsgi-basic
e080304aeaa9922fc9367dbb5cb57a7ab9494b38
[ "Apache-2.0" ]
null
null
null
wsgi_basic/token/__init__.py
QthCN/wsgi-basic
e080304aeaa9922fc9367dbb5cb57a7ab9494b38
[ "Apache-2.0" ]
null
null
null
wsgi_basic/token/__init__.py
QthCN/wsgi-basic
e080304aeaa9922fc9367dbb5cb57a7ab9494b38
[ "Apache-2.0" ]
null
null
null
from wsgi_basic.token import controllers from wsgi_basic.token import providers from wsgi_basic.token import routers from wsgi_basic.token import persistence
31.6
40
0.873418
24
158
5.583333
0.375
0.238806
0.38806
0.537313
0.716418
0
0
0
0
0
0
0
0.101266
158
4
41
39.5
0.943662
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
bbcceef09ee53587969805ff7e8c32280783a493
197
py
Python
light_cnns/Inception/__init__.py
murufeng/awesome_lightweight_networks
dfa19bd7ee491a7b7ade360175244c81b3c0e322
[ "MIT" ]
318
2021-08-15T10:33:27.000Z
2022-03-31T16:42:50.000Z
light_cnns/Inception/__init__.py
x779250919/awesome_lightweight_networks
dfa19bd7ee491a7b7ade360175244c81b3c0e322
[ "MIT" ]
6
2021-11-16T06:27:34.000Z
2022-02-08T07:57:52.000Z
light_cnns/Inception/__init__.py
x779250919/awesome_lightweight_networks
dfa19bd7ee491a7b7ade360175244c81b3c0e322
[ "MIT" ]
67
2021-11-01T13:06:48.000Z
2022-03-24T12:59:41.000Z
from .inception_v1 import * from .inception_v2 import * from .inception_v3 import * from .inception_v4 import * from .Xception import * from .pattern_zoo import * from .inception_nas import *
28.142857
28
0.761421
27
197
5.333333
0.407407
0.416667
0.527778
0
0
0
0
0
0
0
0
0.02439
0.167513
197
7
29
28.142857
0.853659
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
bbf008567dc986f686e84b670e534441af36362f
10,853
py
Python
puq/cnote.py
zoidy/puq
ed70f113f7c135ee61adeebfc9bd18c541970caf
[ "MIT" ]
null
null
null
puq/cnote.py
zoidy/puq
ed70f113f7c135ee61adeebfc9bd18c541970caf
[ "MIT" ]
null
null
null
puq/cnote.py
zoidy/puq
ed70f113f7c135ee61adeebfc9bd18c541970caf
[ "MIT" ]
null
null
null
"""A custom Ttk Notebook with a colored square in the tab """ import Tkinter as tkinter import ttk red_square = "R0lGODdhEAAQAIcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADMAAGYAAJkAAMwAAP8AAAAzADMzAGYzAJkzAMwzAP8zAABmADNmAGZmAJlmAMxmAP9mAACZADOZAGaZAJmZAMyZAP+ZAADMADPMAGbMAJnMAMzMAP/MAAD/ADP/AGb/AJn/AMz/AP//AAAAM...
139.141026
1,119
0.85147
905
10,853
10.154696
0.19116
0.1358
0.155822
0.159304
0.72938
0.718172
0.718172
0.718172
0.718172
0.718172
0
0.046761
0.04432
10,853
77
1,120
140.948052
0.839279
0.004976
0
0.032258
0
0.129032
0.832376
0.815419
0
1
0
0
0
1
0.048387
false
0
0.032258
0
0.145161
0
0
0
1
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
11
bbf18055f80049cdad3a3e108e76f9dbd88dffd7
6,701
py
Python
flask_blueprint_test/flaskapp/mongodbRestapi.py
WommyInStandingPosition/YtbDataApiRelated
4856ad2ee5be49bb74c79c3d6649f9d1fdbdc85d
[ "MIT" ]
null
null
null
flask_blueprint_test/flaskapp/mongodbRestapi.py
WommyInStandingPosition/YtbDataApiRelated
4856ad2ee5be49bb74c79c3d6649f9d1fdbdc85d
[ "MIT" ]
null
null
null
flask_blueprint_test/flaskapp/mongodbRestapi.py
WommyInStandingPosition/YtbDataApiRelated
4856ad2ee5be49bb74c79c3d6649f9d1fdbdc85d
[ "MIT" ]
null
null
null
from flask import Blueprint, Response, request, json from .mongodbapi import YtbSearchRecordDBAPI_V0 mongodbrestapi = Blueprint('mongodbrestapi', __name__) # TODO: modify the route to /ytbrecordapi/v0/{db_url}/{db_col}/readall|read|write|update|delete def verify_db_access(db_url, db_port, db_name, col_name, access_...
41.621118
114
0.650201
820
6,701
5.037805
0.071951
0.03268
0.037279
0.11329
0.926894
0.926894
0.926894
0.926894
0.921084
0.826192
0
0.01476
0.231607
6,701
161
115
41.621118
0.787532
0.013879
0
0.753968
0
0.039683
0.197518
0.083396
0
0
0
0.006211
0
1
0.087302
false
0.007937
0.015873
0
0.246032
0.015873
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
a53c898049d6477eac1652e13c1ef49f02da7972
198
py
Python
lawyerd/complaint/views.py
loobinsk/customer_project
4f43d4c6db2c99926715ea16451511466569c4ae
[ "MIT" ]
null
null
null
lawyerd/complaint/views.py
loobinsk/customer_project
4f43d4c6db2c99926715ea16451511466569c4ae
[ "MIT" ]
null
null
null
lawyerd/complaint/views.py
loobinsk/customer_project
4f43d4c6db2c99926715ea16451511466569c4ae
[ "MIT" ]
null
null
null
from django.contrib.auth.decorators import login_required from django.contrib.auth.mixins import LoginRequiredMixin from django.http import HttpResponseRedirect from django.shortcuts import render
33
57
0.873737
25
198
6.88
0.56
0.232558
0.197674
0.244186
0
0
0
0
0
0
0
0
0.085859
198
5
58
39.6
0.950276
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
0
0
0
7
a5c017c5e85f3eef83b456d34fb5434aa08098c2
48
py
Python
glpy/__init__.py
abhinav-TB/glpy
00d8769064dd3371c32663479654bb2b124738ae
[ "Apache-2.0" ]
11
2021-09-10T20:59:41.000Z
2021-11-16T12:39:41.000Z
glpy/__init__.py
abhinav-TB/glpy
00d8769064dd3371c32663479654bb2b124738ae
[ "Apache-2.0" ]
1
2021-09-18T21:32:01.000Z
2021-10-16T05:43:27.000Z
glpy/__init__.py
abhinav-TB/glpy
00d8769064dd3371c32663479654bb2b124738ae
[ "Apache-2.0" ]
null
null
null
from glpy.main import * from glpy.utils import *
24
24
0.770833
8
48
4.625
0.625
0.432432
0
0
0
0
0
0
0
0
0
0
0.145833
48
2
24
24
0.902439
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
3c144fa89ce3b272acad5983728738c87a402db3
3,960
py
Python
04_Selenium/framework/with_nose_test.py
twiindan/selenium_lessons
798557e8f584f9e6655414c13f232017483f0439
[ "Apache-2.0" ]
null
null
null
04_Selenium/framework/with_nose_test.py
twiindan/selenium_lessons
798557e8f584f9e6655414c13f232017483f0439
[ "Apache-2.0" ]
null
null
null
04_Selenium/framework/with_nose_test.py
twiindan/selenium_lessons
798557e8f584f9e6655414c13f232017483f0439
[ "Apache-2.0" ]
1
2020-07-16T09:49:47.000Z
2020-07-16T09:49:47.000Z
from nose.tools import assert_equals from selenium import webdriver import random class TestCreatePoll(): baseUrl = "http://twiindan.pythonanywhere.com/admin" @classmethod def setup_class(self): self.driver = webdriver.Firefox() self.driver.implicitly_wait(3) def setup(self): ...
34.434783
118
0.69697
473
3,960
5.513742
0.186047
0.122699
0.150307
0.22546
0.852377
0.83934
0.83934
0.83934
0.812117
0.812117
0
0.011842
0.189646
3,960
114
119
34.736842
0.800873
0
0
0.727273
0
0
0.16393
0.042435
0
0
0
0
0.038961
1
0.077922
false
0.051948
0.038961
0
0.142857
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
1
0
0
0
0
0
9
3c6311bcdb7a61738ccdd2c7804f828b98c29b85
203
py
Python
pySnowRadar/algorithms/__init__.py
kingjml/pySnowRadar
a64721c3a84f255aa3bb9b872682a79969f7b1be
[ "MIT" ]
4
2020-06-04T00:25:46.000Z
2021-12-17T15:08:35.000Z
pySnowRadar/algorithms/__init__.py
kingjml/pySnowRadar
a64721c3a84f255aa3bb9b872682a79969f7b1be
[ "MIT" ]
7
2020-02-19T11:34:26.000Z
2020-10-02T12:52:17.000Z
pySnowRadar/algorithms/__init__.py
kingjml/pySnowRadar
a64721c3a84f255aa3bb9b872682a79969f7b1be
[ "MIT" ]
null
null
null
from .Wavelet import Wavelet_TN, Wavelet_JK from .GSFC import GSFC_NK, NSIDC # Not yet integrated from .Peakiness import Peakiness def available_pickers(): return [Wavelet_TN, Wavelet_JK, Peakiness]
33.833333
53
0.79803
29
203
5.37931
0.551724
0.115385
0.205128
0.230769
0
0
0
0
0
0
0
0
0.137931
203
6
54
33.833333
0.891429
0.08867
0
0
0
0
0
0
0
0
0
0
0
1
0.2
true
0
0.6
0.2
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
1
1
0
0
8
b1e5a635128f456550f9ff0d3e83c7e4b09ec80f
11,255
py
Python
test/test_messages.py
vinv1n/MultiChannel
6788cc8f306da8535ee7d182cbf5ed5d9c517669
[ "MIT" ]
null
null
null
test/test_messages.py
vinv1n/MultiChannel
6788cc8f306da8535ee7d182cbf5ed5d9c517669
[ "MIT" ]
null
null
null
test/test_messages.py
vinv1n/MultiChannel
6788cc8f306da8535ee7d182cbf5ed5d9c517669
[ "MIT" ]
null
null
null
import unittest import requests import argparse import logging import json URL = 'http://127.0.0.1:5000/api' class get_messages_test(unittest.TestCase): def setUp(self): print("----------Running get_messages_test----------") headers = {'Content-type': 'application/json'} data = {"username...
38.412969
117
0.541093
1,078
11,255
5.461967
0.072356
0.069124
0.056046
0.074728
0.902683
0.894701
0.86481
0.857846
0.826257
0.814878
0
0.010642
0.323767
11,255
293
118
38.412969
0.762975
0.00693
0
0.722467
0
0
0.18373
0.005101
0
0
0
0
0.105727
1
0.092511
false
0.008811
0.022026
0
0.123348
0.008811
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
b1ee7deaa6e1a8726d4bce6d12ec2d939466da00
3,244
py
Python
migrations/versions/fc07e3fa0086_sql_compatibility.py
PaliPalo/burp-ui
affbed705f5b35a630ca1a96c01e6dea1bfbeddb
[ "BSD-3-Clause" ]
93
2015-02-10T16:01:46.000Z
2021-12-02T21:21:42.000Z
migrations/versions/fc07e3fa0086_sql_compatibility.py
PaliPalo/burp-ui
affbed705f5b35a630ca1a96c01e6dea1bfbeddb
[ "BSD-3-Clause" ]
5
2015-12-18T19:34:46.000Z
2021-09-17T14:18:10.000Z
migrations/versions/fc07e3fa0086_sql_compatibility.py
PaliPalo/burp-ui
affbed705f5b35a630ca1a96c01e6dea1bfbeddb
[ "BSD-3-Clause" ]
17
2015-09-21T22:24:05.000Z
2021-10-01T14:28:47.000Z
"""sql compatibility Revision ID: fc07e3fa0086 Revises: 7f317474332d Create Date: 2017-01-30 16:09:53.367166 """ # revision identifiers, used by Alembic. revision = "fc07e3fa0086" down_revision = "7f317474332d" from alembic import op import sqlalchemy as sa def upgrade(): ### commands auto generated by Alembi...
27.726496
66
0.548397
340
3,244
4.988235
0.170588
0.099057
0.099057
0.148585
0.867925
0.856132
0.834906
0.834906
0.81309
0.81309
0
0.045923
0.34217
3,244
116
67
27.965517
0.748828
0.090937
0
0.765957
0
0
0.032236
0
0
0
0
0
0
1
0.021277
false
0
0.021277
0
0.042553
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
593b135af51d7e9fb767a609e22f74b3ec449749
7,235
py
Python
pipelines/pet_clinic_pipeline.py
voidcontext/devops-in-practice-workshop
6284820fc25d478eea1ab3a5a917eebcc4115300
[ "Apache-2.0" ]
null
null
null
pipelines/pet_clinic_pipeline.py
voidcontext/devops-in-practice-workshop
6284820fc25d478eea1ab3a5a917eebcc4115300
[ "Apache-2.0" ]
null
null
null
pipelines/pet_clinic_pipeline.py
voidcontext/devops-in-practice-workshop
6284820fc25d478eea1ab3a5a917eebcc4115300
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python from gomatic import * import os, re print "Updating PetClinic Pipeline..." go_server_host = re.search('https?://([a-z0-9.\-._~%]+)', os.environ['GO_SERVER_URL']).group(1) go_server_url = "%s:%s" % (go_server_host, "8153") configurator = GoCdConfigurator(HostRestClient(go_server_url)) service_key=...
168.255814
4,251
0.873117
561
7,235
11.069519
0.461676
0.014493
0.024155
0.043478
0.191304
0.182609
0.160386
0.141707
0.141707
0.124638
0
0.096733
0.026952
7,235
42
4,252
172.261905
0.785369
0.002764
0
0.216216
0
0.081081
0.789992
0.630579
0
1
0
0
0
0
null
null
0
0.054054
null
null
0.027027
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
1
null
1
0
0
0
1
0
0
0
0
0
0
0
0
7
3caa254c21eb19940faeed87fd0149d55352adcc
66,990
py
Python
solutions/130_surrounded_regions.py
abawchen/leetcode
41d3b172a7694a46a860fbcb0565a3acccd000f2
[ "MIT" ]
null
null
null
solutions/130_surrounded_regions.py
abawchen/leetcode
41d3b172a7694a46a860fbcb0565a3acccd000f2
[ "MIT" ]
null
null
null
solutions/130_surrounded_regions.py
abawchen/leetcode
41d3b172a7694a46a860fbcb0565a3acccd000f2
[ "MIT" ]
null
null
null
class Solution: # @param {character[][]} board # @return {void} Do not return anything, modify board in-place instead. def solve(self, board): if not board or not board[0]: return self.dic = {} self.rows = len(board) self.columns = len(board[0]) sel...
408.47561
63,259
0.956531
770
66,990
83.201299
0.107792
0.491688
0.725825
0.967767
0.987872
0.984578
0.982783
0.981659
0.981659
0.981659
0
0.000488
0.020511
66,990
164
63,260
408.47561
0.975875
0.0289
0
0.1
0
0
0.962535
0.962012
0
1
0
0
0
0
null
null
0
0
null
null
0
0
0
1
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
1
1
null
1
0
0
0
1
0
0
0
0
0
0
0
0
16
3cc83fce90a8128f0cdda03fd0253115fdc6e30b
50,939
py
Python
pyredis/commands.py
schlitzered/pyredis
4f5049aae7ae2702f22ccfb661ca3f13869a3c31
[ "MIT" ]
43
2015-12-15T12:39:18.000Z
2021-05-13T08:52:26.000Z
pyredis/commands.py
schlitzered/pyredis
4f5049aae7ae2702f22ccfb661ca3f13869a3c31
[ "MIT" ]
7
2016-03-07T14:16:33.000Z
2019-10-17T15:24:23.000Z
pyredis/commands.py
schlitzered/pyredis
4f5049aae7ae2702f22ccfb661ca3f13869a3c31
[ "MIT" ]
15
2015-11-19T03:22:26.000Z
2021-10-16T15:29:56.000Z
__author__ = 'schlitzer' __all__ = [ 'Connection', 'Hash', 'HyperLogLog', 'Key', 'List', 'Publish', 'Scripting', 'Set', 'SSet', 'String', 'Subscribe', 'Transaction' ] class BaseCommand(object): def __init__(self): self._cluster = False def execute(self...
32.758199
92
0.604252
6,012
50,939
5.041085
0.035762
0.091728
0.153694
0.162735
0.84657
0.845184
0.771538
0.75768
0.742733
0.601247
0
0.004675
0.286185
50,939
1,554
93
32.779279
0.828828
0.373054
0
0.26979
0
0
0.071244
0
0
0
0
0
0
1
0.253635
false
0
0
0
0.725363
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
1
0
0
0
0
0
0
0
8
5959dd25c73172cbbe4312f64657c86f293b080e
41,145
py
Python
46/swagger_client/api/wordnet_controller_api.py
apitore/apitore-sdk-python
c0814c5635ddd09e9a20fcb155b62122bee41d33
[ "Apache-2.0" ]
3
2018-08-21T06:14:33.000Z
2019-10-18T23:05:50.000Z
46/swagger_client/api/wordnet_controller_api.py
apitore/apitore-sdk-python
c0814c5635ddd09e9a20fcb155b62122bee41d33
[ "Apache-2.0" ]
null
null
null
46/swagger_client/api/wordnet_controller_api.py
apitore/apitore-sdk-python
c0814c5635ddd09e9a20fcb155b62122bee41d33
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ WordNet APIs You can access ALL WordNet DB.<BR />[Endpoint] https://api.apitore.com/api/46 # noqa: E501 OpenAPI spec version: 0.0.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import re # noqa: F401 # pytho...
44.771491
224
0.623211
4,742
41,145
5.204133
0.048503
0.049275
0.025488
0.023341
0.964705
0.956844
0.950887
0.940352
0.927101
0.925804
0
0.015635
0.274055
41,145
918
225
44.820261
0.810573
0.068368
0
0.792757
1
0
0.207931
0.055898
0
0
0
0
0
0
null
null
0
0.008048
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
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
9
59a604738db2ba7aa7c659b090e7b7bfdaeb3dad
1,097
py
Python
tests/test_module_level_fixtures.py
ubaumann/nuts
a2a70cc56be8cf85da6c6b3842c846ee9bbe1e9f
[ "MIT" ]
14
2021-04-28T09:38:12.000Z
2021-11-01T20:48:27.000Z
tests/test_module_level_fixtures.py
ubaumann/nuts
a2a70cc56be8cf85da6c6b3842c846ee9bbe1e9f
[ "MIT" ]
32
2021-07-12T10:02:06.000Z
2022-01-21T09:43:28.000Z
tests/test_module_level_fixtures.py
ubaumann/nuts
a2a70cc56be8cf85da6c6b3842c846ee9bbe1e9f
[ "MIT" ]
1
2021-07-26T22:08:46.000Z
2021-07-26T22:08:46.000Z
from tests.utils import YAML_EXTENSION def test_load_module_fixture(pytester): arguments = { "test_module_level_fixtures": """ --- - test_module: tests.base_tests.module_level_fixtures test_class: TestModuleLevelFixture test_data: [] """ ...
28.868421
65
0.611668
100
1,097
6.3
0.3
0.095238
0.150794
0.18254
0.869841
0.793651
0.793651
0.793651
0.793651
0.793651
0
0.003876
0.294439
1,097
37
66
29.648649
0.810078
0
0
0.709677
0
0
0.542388
0.236098
0
0
0
0
0.064516
1
0.064516
false
0.064516
0.032258
0
0.096774
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
1
0
0
0
0
0
9
59e2c601531d026277afbb6e8cc64466b1e73740
497
py
Python
geometry.py
catzilla-007/fractal-overload
5d173124aaefdb84539248e22275fd2ee39522d8
[ "MIT" ]
null
null
null
geometry.py
catzilla-007/fractal-overload
5d173124aaefdb84539248e22275fd2ee39522d8
[ "MIT" ]
null
null
null
geometry.py
catzilla-007/fractal-overload
5d173124aaefdb84539248e22275fd2ee39522d8
[ "MIT" ]
null
null
null
def rotate_left(point_a, point_b, sin, cos): x1, y1 = point_a x2, y2 = point_b x_rot = (x2 * cos) - (y2 * sin) + (x1 * (1 - cos)) + (y1 * sin) y_rot = (x2 * sin) + (y2 * cos) + (y1 * (1 - cos)) - (x1 * sin) return x_rot, y_rot def rotate_right(point_a, point_b, sin, cos): x1, y1 = point_a ...
33.133333
67
0.501006
88
497
2.625
0.204545
0.103896
0.095238
0.103896
0.883117
0.883117
0.883117
0.883117
0.883117
0.883117
0
0.080692
0.301811
497
14
68
35.5
0.585014
0
0
0.833333
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
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
59e5cfeefe9d32252c2b79c87f8d8caaa8b38e40
70
py
Python
gs_pipe/mods/example.py
yowenter/gs-pipe
2f79c186fe1305a6dcab2859d54f24751d6368f9
[ "Apache-2.0" ]
2
2018-04-01T07:20:29.000Z
2018-11-29T01:41:05.000Z
gs_pipe/mods/example.py
yowenter/gs-pipe
2f79c186fe1305a6dcab2859d54f24751d6368f9
[ "Apache-2.0" ]
null
null
null
gs_pipe/mods/example.py
yowenter/gs-pipe
2f79c186fe1305a6dcab2859d54f24751d6368f9
[ "Apache-2.0" ]
null
null
null
def square(x): return x*x def minus_one(x): return x - 1
7
17
0.557143
13
70
2.923077
0.538462
0.368421
0.421053
0
0
0
0
0
0
0
0
0.021277
0.328571
70
9
18
7.777778
0.787234
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
1
0
0
null
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
1
0
0
0
1
1
0
0
7
59e851858cc4b13ec79ed1505dd70052e6bd5cac
48
py
Python
flask_tests/pure/__init__.py
fp12/flask-tests
b14913ea4d56ff6429df34a08f23ca802f52d01f
[ "MIT" ]
null
null
null
flask_tests/pure/__init__.py
fp12/flask-tests
b14913ea4d56ff6429df34a08f23ca802f52d01f
[ "MIT" ]
null
null
null
flask_tests/pure/__init__.py
fp12/flask-tests
b14913ea4d56ff6429df34a08f23ca802f52d01f
[ "MIT" ]
null
null
null
from .pure_demo import blueprint, setup # noqa
24
47
0.770833
7
48
5.142857
1
0
0
0
0
0
0
0
0
0
0
0
0.166667
48
1
48
48
0.9
0.083333
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
1
0
7