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
8b7174c5655353741ded63d1253adc06ea6c86d0
8,769
py
Python
tests/test_turn_based_multi_corridor.py
Leonardo767/Abmarl
9fada5447b09174c6a70b6032b4a8d08b66c4589
[ "Apache-2.0" ]
7
2020-11-13T01:33:44.000Z
2021-03-05T14:30:34.000Z
tests/test_turn_based_multi_corridor.py
Leonardo767/Abmarl
9fada5447b09174c6a70b6032b4a8d08b66c4589
[ "Apache-2.0" ]
91
2020-11-04T23:34:30.000Z
2021-06-08T17:18:00.000Z
tests/test_turn_based_multi_corridor.py
Leonardo767/Abmarl
9fada5447b09174c6a70b6032b4a8d08b66c4589
[ "Apache-2.0" ]
6
2021-07-12T19:28:51.000Z
2022-03-01T00:50:02.000Z
import numpy as np import pytest from abmarl.sim.corridor import MultiCorridor as Corridor from abmarl.managers import TurnBasedManager def test_init(): sim = Corridor() wrapped_sim = TurnBasedManager(sim) assert wrapped_sim.sim == sim assert wrapped_sim.agents == sim.agents assert next(wrapped_s...
48.181319
94
0.604858
1,108
8,769
4.637184
0.055957
0.059946
0.065784
0.086026
0.874854
0.856559
0.777735
0.774231
0.761191
0.683729
0
0.026235
0.187137
8,769
181
95
48.447514
0.694585
0
0
0.468966
0
0
0.155434
0
0
0
0
0
0.662069
1
0.013793
false
0
0.027586
0
0.041379
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
7
8b7f868d3f7c27e3e3be7a0e999e3115461c5714
114
py
Python
Trakttv.bundle/Contents/Libraries/Shared/plugin/core/backup/tasks/__init__.py
disrupted/Trakttv.bundle
24712216c71f3b22fd58cb5dd89dad5bb798ed60
[ "RSA-MD" ]
1,346
2015-01-01T14:52:24.000Z
2022-03-28T12:50:48.000Z
Trakttv.bundle/Contents/Libraries/Shared/plugin/core/backup/tasks/__init__.py
alcroito/Plex-Trakt-Scrobbler
4f83fb0860dcb91f860d7c11bc7df568913c82a6
[ "RSA-MD" ]
474
2015-01-01T10:27:46.000Z
2022-03-21T12:26:16.000Z
Trakttv.bundle/Contents/Libraries/Shared/plugin/core/backup/tasks/__init__.py
alcroito/Plex-Trakt-Scrobbler
4f83fb0860dcb91f860d7c11bc7df568913c82a6
[ "RSA-MD" ]
191
2015-01-02T18:27:22.000Z
2022-03-29T10:49:48.000Z
from plugin.core.backup.tasks.archive import ArchiveTask from plugin.core.backup.tasks.compact import CompactTask
38
56
0.859649
16
114
6.125
0.625
0.204082
0.285714
0.408163
0.510204
0
0
0
0
0
0
0
0.070175
114
2
57
57
0.924528
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
8badb99acbe77ee93ccf5d2afbe378a855b01061
1,624
py
Python
Keras_tensorflow_nightly/source2.7/tensorflow/tools/api/generator/api/keras/metrics/__init__.py
Con-Mi/lambda-packs
b23a8464abdd88050b83310e1d0e99c54dac28ab
[ "MIT" ]
3
2019-04-01T11:03:04.000Z
2019-12-31T02:17:15.000Z
Keras_tensorflow_nightly/source2.7/tensorflow/tools/api/generator/api/keras/metrics/__init__.py
Con-Mi/lambda-packs
b23a8464abdd88050b83310e1d0e99c54dac28ab
[ "MIT" ]
1
2021-04-15T18:46:45.000Z
2021-04-15T18:46:45.000Z
Keras_tensorflow_nightly/source2.7/tensorflow/tools/api/generator/api/keras/metrics/__init__.py
Con-Mi/lambda-packs
b23a8464abdd88050b83310e1d0e99c54dac28ab
[ "MIT" ]
1
2021-09-23T13:43:07.000Z
2021-09-23T13:43:07.000Z
"""Imports for Python API. This file is MACHINE GENERATED! Do not edit. Generated by: tensorflow/tools/api/generator/create_python_api.py script. """ from tensorflow.python.keras._impl.keras.losses import KLD as kullback_leibler_divergence from tensorflow.python.keras._impl.keras.losses import MAE as mean_absolute_err...
67.666667
93
0.866995
233
1,624
5.83691
0.23176
0.195588
0.279412
0.349265
0.746324
0.746324
0.746324
0.738971
0.431618
0.198529
0
0
0.064655
1,624
24
94
67.666667
0.895326
0.088054
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
1
0
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
0
1
0
1
0
0
0
0
8
47742c33aedfdd4508d7eb82fdc9df7fa86c0e3e
53
py
Python
tests/test_d3heatmap.py
erdogant/d3heatmap
3755bcbea7893ee9487c1f7ae8212db0f1973ad4
[ "MIT" ]
5
2021-06-18T19:46:06.000Z
2022-03-09T00:09:23.000Z
tests/test_d3heatmap.py
erdogant/d3heatmap
3755bcbea7893ee9487c1f7ae8212db0f1973ad4
[ "MIT" ]
null
null
null
tests/test_d3heatmap.py
erdogant/d3heatmap
3755bcbea7893ee9487c1f7ae8212db0f1973ad4
[ "MIT" ]
2
2021-04-05T22:38:56.000Z
2022-01-05T00:13:06.000Z
import d3heatmap as d3heatmap def test_plot(): pass
13.25
29
0.792453
8
53
5.125
0.875
0
0
0
0
0
0
0
0
0
0
0.044444
0.150943
53
4
30
13.25
0.866667
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
1
0
1
0
0
7
47b4b61f04c7c20009bb9b3358aa44adcf41ebbe
127
py
Python
Algorithm/Sum Questions/67. Add Binary - Sol 2 O(n) TS.py
smsubham/Data-Structure-Algorithms-Questions
45da68231907068ef4e4a0444ffdac69b337fa7c
[ "Apache-2.0" ]
null
null
null
Algorithm/Sum Questions/67. Add Binary - Sol 2 O(n) TS.py
smsubham/Data-Structure-Algorithms-Questions
45da68231907068ef4e4a0444ffdac69b337fa7c
[ "Apache-2.0" ]
null
null
null
Algorithm/Sum Questions/67. Add Binary - Sol 2 O(n) TS.py
smsubham/Data-Structure-Algorithms-Questions
45da68231907068ef4e4a0444ffdac69b337fa7c
[ "Apache-2.0" ]
null
null
null
#https://leetcode.com/problems/add-binary/ #https://leetcode.com/problems/add-binary/discuss/279879/Python-easy-to-understand
31.75
82
0.795276
18
127
5.611111
0.666667
0.257426
0.316832
0.475248
0.653465
0.653465
0
0
0
0
0
0.048387
0.023622
127
3
83
42.333333
0.766129
0.96063
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
7
d02d8ae0b2389a0b84774d7588278f252543307d
1,879
py
Python
src/apps/tasks/migrations/0002_auto_20191203_1911.py
binfeng1018/competitions-v2
173ea6053b7eda5de3a9f1a687dfb0d43bfc4e9c
[ "Apache-2.0" ]
19
2018-07-27T19:14:10.000Z
2021-12-08T16:34:42.000Z
src/apps/tasks/migrations/0002_auto_20191203_1911.py
binfeng1018/competitions-v2
173ea6053b7eda5de3a9f1a687dfb0d43bfc4e9c
[ "Apache-2.0" ]
516
2017-07-27T15:45:43.000Z
2022-02-10T07:57:46.000Z
src/apps/tasks/migrations/0002_auto_20191203_1911.py
binfeng1018/competitions-v2
173ea6053b7eda5de3a9f1a687dfb0d43bfc4e9c
[ "Apache-2.0" ]
16
2018-01-01T19:07:01.000Z
2021-09-17T07:59:59.000Z
# Generated by Django 2.1.11 on 2019-12-03 19:11 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tasks', '0001_initial'), ] operations = [ migrations.AddField( model_name='solution', name='chahub_data_hash', ...
29.359375
73
0.548696
171
1,879
5.894737
0.298246
0.178571
0.228175
0.267857
0.810516
0.810516
0.810516
0.723214
0.723214
0.684524
0
0.018415
0.335285
1,879
63
74
29.825397
0.788631
0.024481
0
0.824561
1
0
0.113053
0
0
0
0
0
0
1
0
false
0
0.017544
0
0.070175
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
d032448f50fd3a13785e1869875317d4aa3e2f51
17,019
py
Python
canvas_sdk/methods/appointment_groups.py
david-house-harvard/canvas_python_sdk
9c2e59621a9a5667bc43c253ef801482b241a2c1
[ "MIT" ]
21
2015-06-12T13:49:04.000Z
2021-11-08T05:37:44.000Z
canvas_sdk/methods/appointment_groups.py
david-house-harvard/canvas_python_sdk
9c2e59621a9a5667bc43c253ef801482b241a2c1
[ "MIT" ]
44
2015-02-04T15:26:52.000Z
2021-12-03T17:47:00.000Z
canvas_sdk/methods/appointment_groups.py
david-house-harvard/canvas_python_sdk
9c2e59621a9a5667bc43c253ef801482b241a2c1
[ "MIT" ]
7
2015-07-20T23:56:03.000Z
2021-02-23T17:13:00.000Z
from canvas_sdk import client, utils def list_appointment_groups(request_ctx, scope=None, context_codes=None, include_past_appointments=None, include=None, **request_kwargs): """ Retrieve the list of appointment groups that can be reserved or managed by the current user. :param request_ctx: The re...
62.340659
573
0.761149
2,106
17,019
5.881292
0.095916
0.204101
0.040691
0.035524
0.880107
0.868481
0.85306
0.852172
0.848216
0.835298
0
0.000782
0.172983
17,019
272
574
62.569853
0.879218
0.56766
0
0.708333
0
0
0.200589
0.162325
0
0
0
0
0
1
0.072917
false
0
0.010417
0
0.15625
0
0
0
0
null
1
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
8
d0476ac6ea8d4f30143c0dbff2409edda5c03fe4
8,509
py
Python
ample/util/tests/test_reference_manager.py
fsimkovic/ample
c3c2196ca292e831e3cd8d15e3d3079bb6609848
[ "BSD-3-Clause" ]
6
2017-03-17T14:43:14.000Z
2021-08-06T07:07:14.000Z
ample/util/tests/test_reference_manager.py
fsimkovic/ample
c3c2196ca292e831e3cd8d15e3d3079bb6609848
[ "BSD-3-Clause" ]
47
2017-03-17T14:37:09.000Z
2021-01-28T10:22:15.000Z
ample/util/tests/test_reference_manager.py
fsimkovic/ample
c3c2196ca292e831e3cd8d15e3d3079bb6609848
[ "BSD-3-Clause" ]
6
2017-09-26T08:45:09.000Z
2020-03-19T14:26:49.000Z
"""Test functions for util.ample_util""" import sys import unittest from ample.util import reference_manager class Test(unittest.TestCase): def test_construct_references(self): # import argparse from ample.util import config_util, argparse_util options = config_util.AMPLEConfigOptions() ...
223.921053
2,587
0.762369
1,260
8,509
5.116667
0.242857
0.022956
0.0349
0.008066
0.82581
0.818675
0.818675
0.809369
0.785016
0.785016
0
0.156544
0.125397
8,509
37
2,588
229.972973
0.709755
0.014925
0
0.08
0
0.12
0.872716
0.162746
0
0
0
0
0.12
1
0.04
false
0
0.16
0
0.24
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
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
d059037fcf74aa6b62ae2ba874e34bd2f9b5d844
777,868
py
Python
venv/lib/python3.6/site-packages/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_wtp_profile.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
1
2020-01-22T13:11:23.000Z
2020-01-22T13:11:23.000Z
venv/lib/python3.6/site-packages/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_wtp_profile.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
12
2020-02-21T07:24:52.000Z
2020-04-14T09:54:32.000Z
venv/lib/python3.6/site-packages/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_wtp_profile.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
null
null
null
#!/usr/bin/python from __future__ import (absolute_import, division, print_function) # Copyright 2019-2020 Fortinet, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of th...
39.183357
158
0.20926
55,426
777,868
2.910638
0.020442
0.264621
0.145446
0.058763
0.912667
0.899365
0.889193
0.883081
0.879727
0.876554
0
0.133999
0.680966
777,868
19,851
159
39.185331
0.51607
0.001127
0
0.77221
0
0.004045
0.276358
0.004841
0
0
0
0
0
1
0.000405
false
0.001669
0.000506
0.000051
0.001719
0.000051
0
0
0
null
1
0
0
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
9
d0a720f3631a531060eeed8152480eccad538e8d
1,397
py
Python
game/consumeableRoom.py
kim-tran/text-based-atk
eb33a39f1fcb70729d9c3a5a147923c5c95a1fe8
[ "MIT" ]
null
null
null
game/consumeableRoom.py
kim-tran/text-based-atk
eb33a39f1fcb70729d9c3a5a147923c5c95a1fe8
[ "MIT" ]
null
null
null
game/consumeableRoom.py
kim-tran/text-based-atk
eb33a39f1fcb70729d9c3a5a147923c5c95a1fe8
[ "MIT" ]
null
null
null
import consumable from tiles import LootRoom class FindCookieRoom(LootRoom): def __init__(self, x, y): super().__init__(x, y, items.Cookie()) def intro_text(self): return """ You notice something shiny in the corner. It/'s a {}! You pick it up. """.format(self.name) cla...
28.510204
49
0.586256
182
1,397
4.252747
0.21978
0.02584
0.096899
0.122739
0.807494
0.807494
0.807494
0.807494
0.768734
0.768734
0
0
0.277738
1,397
48
50
29.104167
0.767096
0
0
0.690476
0
0
0.334288
0
0
0
0
0
0
1
0.238095
false
0
0.047619
0.119048
0.52381
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
1
0
0
0
8
ef75b9fb6b7f94a2cd882e0fe902dc01131e84c9
156
py
Python
001.py
tangcg/githelper
1686129ba60ebaede4cac90ac8f3a94e2ad10fa2
[ "Apache-2.0" ]
null
null
null
001.py
tangcg/githelper
1686129ba60ebaede4cac90ac8f3a94e2ad10fa2
[ "Apache-2.0" ]
1
2019-10-22T09:13:24.000Z
2019-10-22T09:21:31.000Z
001.py
tangcg/githelper
1686129ba60ebaede4cac90ac8f3a94e2ad10fa2
[ "Apache-2.0" ]
1
2019-10-22T08:54:31.000Z
2019-10-22T08:54:31.000Z
print('this repo is belong to nbnitboy') print('this line is added by tangcg !') print('删除原始仓库,添加forked仓库后,提交代码 !') print('this line is added by tangcg')
22.285714
40
0.724359
25
156
4.52
0.56
0.238938
0.230089
0.265487
0.495575
0.495575
0.495575
0
0
0
0
0
0.147436
156
6
41
26
0.849624
0
0
0
0
0
0.730769
0.147436
0
0
0
0
0
1
0
true
0
0
0
0
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
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
8
ef95051a184b53b9e70e65905bb6fea609ab7062
26,161
py
Python
selectinf/randomized/sandbox/convenience.py
TianXie1999/selective-inference
ca02bbd84af5f5597944c75bde8337db9c69066a
[ "BSD-3-Clause" ]
51
2016-03-31T16:34:15.000Z
2022-01-16T04:32:58.000Z
selectinf/randomized/sandbox/convenience.py
TianXie1999/selective-inference
ca02bbd84af5f5597944c75bde8337db9c69066a
[ "BSD-3-Clause" ]
11
2016-04-07T00:19:58.000Z
2021-10-03T18:31:14.000Z
selectinf/randomized/sandbox/convenience.py
TianXie1999/selective-inference
ca02bbd84af5f5597944c75bde8337db9c69066a
[ "BSD-3-Clause" ]
14
2015-10-28T17:29:05.000Z
2021-08-16T21:04:30.000Z
""" Classes encapsulating some common workflows in randomized setting """ from copy import copy import numpy as np import regreg.api as rr from .glm import (glm_greedy_step, glm_threshold_score, pairs_bootstrap_glm) from .randomization import randomization from .query import multi...
30.035591
114
0.54092
2,656
26,161
5.236822
0.092997
0.053922
0.047451
0.031634
0.917104
0.911352
0.899993
0.89798
0.89798
0.89798
0
0.002778
0.380719
26,161
870
115
30.070115
0.85575
0.438706
0
0.85342
0
0
0.012979
0
0
0
0
0
0
1
0.045603
false
0
0.022801
0
0.107492
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
efd2a247fae8587bac2d4eb9a6d4264e72cf6f5d
39
py
Python
tracklib/io/__init__.py
SGrosse-Holz/tracklib
e0b88e3959db2ce65869d8292ce5792f4c77c7a4
[ "MIT" ]
1
2022-01-30T15:10:51.000Z
2022-01-30T15:10:51.000Z
tracklib/io/__init__.py
SGrosse-Holz/tracklib
e0b88e3959db2ce65869d8292ce5792f4c77c7a4
[ "MIT" ]
null
null
null
tracklib/io/__init__.py
SGrosse-Holz/tracklib
e0b88e3959db2ce65869d8292ce5792f4c77c7a4
[ "MIT" ]
null
null
null
from . import load from . import write
13
19
0.74359
6
39
4.833333
0.666667
0.689655
0
0
0
0
0
0
0
0
0
0
0.205128
39
2
20
19.5
0.935484
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
323c5799f0ba54cbf2cf6e2913cac55568cb9079
8,061
py
Python
datasets/weedcluster.py
carolinepotts/DeepLabV3Plus-Pytorch
208ae68a5d0265be5aafa39c2e27bd9beb380346
[ "MIT" ]
null
null
null
datasets/weedcluster.py
carolinepotts/DeepLabV3Plus-Pytorch
208ae68a5d0265be5aafa39c2e27bd9beb380346
[ "MIT" ]
null
null
null
datasets/weedcluster.py
carolinepotts/DeepLabV3Plus-Pytorch
208ae68a5d0265be5aafa39c2e27bd9beb380346
[ "MIT" ]
null
null
null
import os import torch from skimage import io, transform from torch.utils.data import Dataset, DataLoader from torchvision import transforms, utils from PIL import Image import numpy as np class WeedClusterDataset(Dataset): """weed_cluster class only dataset. Use when only detecting weed clusters to minimize mem...
37.84507
161
0.593227
974
8,061
4.806982
0.104723
0.05126
0.033319
0.041008
0.890859
0.890859
0.890859
0.844724
0.844724
0.844724
0
0.011113
0.263243
8,061
213
162
37.84507
0.777235
0.274035
0
0.791209
0
0
0.156044
0.019104
0
0
0
0
0
1
0.197802
false
0
0.076923
0.065934
0.472527
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
32a5e501d33fe1c4f73fc9b11de548b4c7db87ea
6,468
py
Python
pythonlibs/mantis/sg/fisher/ctp/loader.py
adoggie/Tibet.6
3c53060edafd80b9c4dafa10699a68d86a410c66
[ "MIT" ]
22
2019-10-28T07:28:12.000Z
2022-03-19T15:36:41.000Z
pythonlibs/mantis/sg/fisher/ctp/loader.py
adoggie/Tibet.6
3c53060edafd80b9c4dafa10699a68d86a410c66
[ "MIT" ]
1
2019-11-07T04:54:14.000Z
2019-11-07T07:12:48.000Z
pythonlibs/mantis/sg/fisher/ctp/loader.py
adoggie/Tibet.6
3c53060edafd80b9c4dafa10699a68d86a410c66
[ "MIT" ]
13
2019-10-28T07:29:07.000Z
2021-11-03T06:53:12.000Z
#coding:utf-8 """ ctp策略运行加载器定义 """ from pymongo import MongoClient from mantis.sg.fisher.utils.importutils import import_module from mantis.sg.fisher.utils.useful import singleton from mantis.fundamental.utils.timeutils import current_date_string from mantis.sg.fisher import stbase from mantis.sg.fisher import a...
33.340206
175
0.623222
696
6,468
5.656609
0.225575
0.065024
0.033528
0.050292
0.825502
0.777242
0.777242
0.752858
0.752858
0.752858
0
0.026582
0.267161
6,468
194
176
33.340206
0.804008
0.202999
0
0.804348
0
0
0.027491
0
0
0
0
0
0
1
0.086957
false
0
0.141304
0
0.293478
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
32bba3a32dc25830cb67c2cb96553602845dcb6b
139
py
Python
Chapter09/readcount1.py
kaushalkumarshah/Learn-Python-in-7-Days
2663656767c8959ace836f0c0e272f3e501bbe6e
[ "MIT" ]
12
2018-07-09T16:20:31.000Z
2022-03-21T22:52:15.000Z
Chapter09/readcount1.py
kaushalkumarshah/Learn-Python-in-7-Days
2663656767c8959ace836f0c0e272f3e501bbe6e
[ "MIT" ]
null
null
null
Chapter09/readcount1.py
kaushalkumarshah/Learn-Python-in-7-Days
2663656767c8959ace836f0c0e272f3e501bbe6e
[ "MIT" ]
19
2018-01-09T12:49:06.000Z
2021-11-23T08:05:55.000Z
file_input = open("sample1.txt",'r') print file_input.read(20) print file_input.read(15) print file_input.read(10) file_input.close()
27.8
38
0.741007
24
139
4.083333
0.5
0.459184
0.428571
0.55102
0
0
0
0
0
0
0
0.056452
0.107914
139
5
39
27.8
0.733871
0
0
0
0
0
0.088235
0
0
0
0
0
0
0
null
null
0
0
null
null
0.6
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
08ba80a90e4722bf1fa533da5b808e14f9598e28
6,683
py
Python
loldib/getratings/models/NA/na_skarner/na_skarner_sup.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_skarner/na_skarner_sup.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_skarner/na_skarner_sup.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
from getratings.models.ratings import Ratings class NA_Skarner_Sup_Aatrox(Ratings): pass class NA_Skarner_Sup_Ahri(Ratings): pass class NA_Skarner_Sup_Akali(Ratings): pass class NA_Skarner_Sup_Alistar(Ratings): pass class NA_Skarner_Sup_Amumu(Ratings): pass class NA_Skarner_Sup_Anivia(Rating...
16.026379
46
0.77151
972
6,683
4.878601
0.151235
0.203712
0.407423
0.494728
0.808941
0.808941
0
0
0
0
0
0
0.166243
6,683
416
47
16.064904
0.851041
0
0
0.498195
0
0
0
0
0
0
0
0
0
1
0
true
0.498195
0.00361
0
0.501805
0
0
0
0
null
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
8
3ef160893797f29230b2e4f4010c074ff8ba7656
193
py
Python
src/elasticizefiles/base/__init__.py
pierluigi-failla/elasticize_files
2530d74f1b56344ee73ca113bcb2870566a565a0
[ "MIT" ]
null
null
null
src/elasticizefiles/base/__init__.py
pierluigi-failla/elasticize_files
2530d74f1b56344ee73ca113bcb2870566a565a0
[ "MIT" ]
null
null
null
src/elasticizefiles/base/__init__.py
pierluigi-failla/elasticize_files
2530d74f1b56344ee73ca113bcb2870566a565a0
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created by Pierluigi on 2020-02-02 project: elasticizefiles """ from elasticizefiles.base.extractor import Extractor from elasticizefiles.base.elastic import Elastic
27.571429
52
0.777202
24
193
6.25
0.666667
0.253333
0.306667
0
0
0
0
0
0
0
0
0.052326
0.108808
193
7
53
27.571429
0.819767
0.42487
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
de75f74d20fd5676db62dd833a493c8fb2ebcf4e
11,756
py
Python
tests/unit/test_measure.py
EwertonBello/measures
c1e3dd8b6d6720f331f5e6a65e19f716f3f4d4a5
[ "MIT" ]
19
2015-01-14T16:44:49.000Z
2020-05-10T04:12:26.000Z
tests/unit/test_measure.py
EwertonBello/measures
c1e3dd8b6d6720f331f5e6a65e19f716f3f4d4a5
[ "MIT" ]
1
2020-03-19T18:47:28.000Z
2020-03-19T18:47:28.000Z
tests/unit/test_measure.py
EwertonBello/measures
c1e3dd8b6d6720f331f5e6a65e19f716f3f4d4a5
[ "MIT" ]
9
2015-01-16T00:42:12.000Z
2020-10-02T19:06:57.000Z
# -*- coding: utf-8 -*- from unittest import TestCase from measures import Measure from mock import patch import json import socket from nose_focus import focus class MeasureTestCase(TestCase): def test_must_create_a_measure_object_with_correct_attributes(self): measure = Measure('myclient', ('localhost...
39.716216
114
0.652943
1,351
11,756
5.492228
0.090303
0.107143
0.05283
0.093801
0.879919
0.869003
0.852561
0.843127
0.831132
0.812129
0
0.012673
0.207979
11,756
295
115
39.850847
0.784234
0.003743
0
0.77686
0
0
0.1574
0.00538
0
0
0
0
0.429752
1
0.095041
false
0.016529
0.024793
0
0.140496
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
8
de97e6f8cd37358489e4c1c49082589e8b7bba39
3,741
py
Python
tests/atlas/test_atlas_webhook_tf.py
byorgey/irc-hooky
e78942b7e13ce273c40815863d0384dddfa52243
[ "MIT" ]
19
2016-01-26T18:36:38.000Z
2022-03-12T02:32:01.000Z
tests/atlas/test_atlas_webhook_tf.py
byorgey/irc-hooky
e78942b7e13ce273c40815863d0384dddfa52243
[ "MIT" ]
3
2016-01-29T19:43:25.000Z
2019-03-11T20:21:11.000Z
tests/atlas/test_atlas_webhook_tf.py
byorgey/irc-hooky
e78942b7e13ce273c40815863d0384dddfa52243
[ "MIT" ]
2
2016-03-01T09:23:07.000Z
2020-04-01T21:53:51.000Z
import unittest from irc_hooky.atlas.atlas_webhook import AtlasWebhook class TestAtlasWebhookTerraform(unittest.TestCase): def test_empty_payload(self): payload = {} event = { "payload": payload } atl = AtlasWebhook(event, {}) self.assertEqual(atl.irc_message, ...
30.917355
108
0.504678
337
3,741
5.433234
0.181009
0.083561
0.13763
0.160568
0.803386
0.803386
0.803386
0.803386
0.803386
0.803386
0
0.002124
0.370756
3,741
120
109
31.175
0.775701
0.002406
0
0.666667
0
0
0.204881
0
0
0
0
0
0.126126
1
0.063063
false
0
0.018018
0
0.09009
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
7220fe5f26e2bd74ae2a474a7cea8655a935ed5d
7,041
py
Python
OPF_Python/src/sdp_ymat.py
JipKim/ACOPF
170c8a65844075773a4230aad93cf24b3832d1c3
[ "MIT" ]
2
2022-02-16T19:37:42.000Z
2022-03-30T11:09:10.000Z
OPF_Python/src/sdp_ymat.py
JipKim/ACOPF
170c8a65844075773a4230aad93cf24b3832d1c3
[ "MIT" ]
null
null
null
OPF_Python/src/sdp_ymat.py
JipKim/ACOPF
170c8a65844075773a4230aad93cf24b3832d1c3
[ "MIT" ]
null
null
null
#%% import numpy as np from scipy import sparse from scipy.linalg import block_diag #%% def sdp_ymat( lines, Ybus ): nbus = Ybus.shape[0] nline = len(lines) # busset = np.arange(0, nbus) # lineset = np.arange(0, nline) #%% def e(k): return np.eye(nbus)[:, k][np.newaxis] # size of e(k): (...
45.134615
89
0.512427
1,174
7,041
3.040034
0.062181
0.258896
0.19053
0.142897
0.875035
0.856823
0.85234
0.83805
0.827683
0.815915
0
0.016885
0.251385
7,041
155
90
45.425806
0.660216
0.021872
0
0.637097
0
0
0
0
0
0
0
0
0
1
0.16129
false
0
0.024194
0.153226
0.193548
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
1
0
0
0
9
19c610c8de96f02886afd683ab431bfd08f9796c
11,383
py
Python
robin_stocks/export.py
VacuusUmbra/robin_stocks
52ee37483a8d859a6de70b5248068ac5a36806be
[ "MIT" ]
null
null
null
robin_stocks/export.py
VacuusUmbra/robin_stocks
52ee37483a8d859a6de70b5248068ac5a36806be
[ "MIT" ]
null
null
null
robin_stocks/export.py
VacuusUmbra/robin_stocks
52ee37483a8d859a6de70b5248068ac5a36806be
[ "MIT" ]
null
null
null
from csv import writer from datetime import date, timedelta, datetime import sys from pathlib import Path import robin_stocks.helper as helper import robin_stocks.orders as orders import robin_stocks.stocks as stocks def fix_file_extension(file_name): """ Takes a file extension and makes it end with .csv :pa...
38.070234
134
0.570676
1,325
11,383
4.664906
0.101887
0.047889
0.023297
0.026695
0.872027
0.836272
0.82883
0.799223
0.798253
0.76816
0
0.005234
0.328648
11,383
299
135
38.070234
0.803585
0.2256
0
0.842593
0
0
0.161309
0
0
0
0
0
0
1
0.046296
false
0
0.032407
0
0.092593
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
19d97308669a669fd8da85a0fdeb5138bd4966b8
11,078
py
Python
code/train.py
ArvindSubramaniam/Pruning-Networks-using-Neuron2Neuron-Skip-Connections
bbe402bbf4c5afb4ae712354e8fca5ce320501b8
[ "Apache-2.0" ]
1
2021-11-16T03:36:51.000Z
2021-11-16T03:36:51.000Z
code/train.py
ArvindSubramaniam/Pruning-Networks-using-Neuron2Neuron-Skip-Connections
bbe402bbf4c5afb4ae712354e8fca5ce320501b8
[ "Apache-2.0" ]
null
null
null
code/train.py
ArvindSubramaniam/Pruning-Networks-using-Neuron2Neuron-Skip-Connections
bbe402bbf4c5afb4ae712354e8fca5ce320501b8
[ "Apache-2.0" ]
3
2020-12-29T01:52:01.000Z
2021-11-16T03:36:52.000Z
import time import torch import torch.optim as optim import torch.nn as nn from torch.autograd import Variable, Function import torch.nn.functional as F from torch.utils.data import Dataset, DataLoader, ConcatDataset, random_split import torchvision from torchvision import datasets from torchvision import transforms im...
33.877676
136
0.589727
1,322
11,078
4.816944
0.121785
0.026853
0.020729
0.020415
0.853015
0.836997
0.811244
0.796796
0.786118
0.771043
0
0.027884
0.291027
11,078
326
137
33.981595
0.782913
0.048836
0
0.746781
0
0.008584
0.066599
0.018386
0
0
0
0
0
1
0.034335
false
0
0.051502
0
0.11588
0.064378
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
c22e9e49f0e1066e6fea478a9b82e9baa73ec67e
2,087
py
Python
evalml/tests/demo_tests/test_datasets.py
BlockchainClimateInstitute/price_microservice
11d1cff8965fe1befc997e9da3dc09efceed4579
[ "BSD-3-Clause" ]
null
null
null
evalml/tests/demo_tests/test_datasets.py
BlockchainClimateInstitute/price_microservice
11d1cff8965fe1befc997e9da3dc09efceed4579
[ "BSD-3-Clause" ]
13
2021-03-04T19:29:09.000Z
2022-03-07T01:00:43.000Z
evalml/tests/demo_tests/test_datasets.py
RG4421/evalml
33c62abe6d107d1da2f54e9e44a90f18aaf916a9
[ "BSD-3-Clause" ]
null
null
null
import pandas as pd import woodwork as ww from evalml import demos def test_fraud(): X, y = demos.load_fraud() assert X.shape == (99992, 12) assert y.shape == (99992,) assert isinstance(X, ww.DataTable) assert isinstance(y, ww.DataColumn) X, y = demos.load_fraud(1000) assert X.shape == (...
26.417722
55
0.643987
301
2,087
4.385382
0.13289
0.242424
0.058333
0.091667
0.9
0.837121
0.72803
0.72803
0.72803
0.676515
0
0.066176
0.218016
2,087
78
56
26.75641
0.742647
0
0
0.655738
0
0
0
0
0
0
0
0
0.688525
1
0.081967
true
0
0.04918
0
0.131148
0
0
0
0
null
1
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
1
0
0
0
0
0
0
9
5f2b9e46fce34da567e2e296d466fae65d6f654c
37,875
py
Python
VirClass/tests/test_load.py
thecoparyew/Virus-classification-theano
55c4a7b804fa65d14c2167a3bbbaa2cf1b4a3521
[ "MIT" ]
null
null
null
VirClass/tests/test_load.py
thecoparyew/Virus-classification-theano
55c4a7b804fa65d14c2167a3bbbaa2cf1b4a3521
[ "MIT" ]
5
2016-12-08T17:51:59.000Z
2017-02-23T11:18:32.000Z
VirClass/tests/test_load.py
thecoparyew/Virus-classification-theano
55c4a7b804fa65d14c2167a3bbbaa2cf1b4a3521
[ "MIT" ]
null
null
null
# pylint: disable=missing-docstring, protected-access, unused-argument, too-many-arguments, too-many-statements # pylint: disable=too-many-locals, bad-continuation # pydocstyle: disable=missing-docstring from collections import defaultdict from io import StringIO from unittest import TestCase, main from unittest import...
71.060038
120
0.481135
7,170
37,875
2.481311
0.038075
0.294756
0.276207
0.187061
0.791524
0.766061
0.739981
0.709572
0.702996
0.697375
0
0.230482
0.320238
37,875
532
121
71.193609
0.460538
0.015498
0
0.46383
0
0
0.183816
0.103915
0
0
0
0
0.174468
1
0.019149
false
0
0.014894
0
0.03617
0
0
0
0
null
1
1
1
0
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
10
a040a18bb41b03a411bd051c4e6d1ca9a4f6a1dd
129
py
Python
firewood/models/gan/__init__.py
kynk94/torch-firewood
8ecd03c166bcadaae22a6cb2c1457a82f2c644eb
[ "MIT" ]
1
2022-03-26T12:51:27.000Z
2022-03-26T12:51:27.000Z
firewood/models/gan/__init__.py
kynk94/torch-firewood
8ecd03c166bcadaae22a6cb2c1457a82f2c644eb
[ "MIT" ]
null
null
null
firewood/models/gan/__init__.py
kynk94/torch-firewood
8ecd03c166bcadaae22a6cb2c1457a82f2c644eb
[ "MIT" ]
null
null
null
from . import DCGAN, GAN, LSGAN, PGGAN, pix2pix, pix2pixHD __all__ = ["DCGAN", "GAN", "LSGAN", "PGGAN", "pix2pix", "pix2pixHD"]
32.25
68
0.658915
15
129
5.4
0.6
0.197531
0.320988
0.444444
0.839506
0.839506
0
0
0
0
0
0.036036
0.139535
129
3
69
43
0.693694
0
0
0
0
0
0.263566
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
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
0
0
1
0
0
0
0
7
a0974a2b78590a2106815485f16e96f892842194
3,195
py
Python
systemdlint/systemdlint/conf/knownPaths.py
priv-kweihmann/systemdlint
d9909d2e2d970599bb2015e2a667d4debf063384
[ "BSD-2-Clause" ]
17
2019-06-10T00:40:04.000Z
2021-12-27T21:26:52.000Z
systemdlint/systemdlint/conf/knownPaths.py
priv-kweihmann/systemdlint
d9909d2e2d970599bb2015e2a667d4debf063384
[ "BSD-2-Clause" ]
53
2019-04-26T14:56:13.000Z
2021-12-21T09:52:05.000Z
systemdlint/systemdlint/conf/knownPaths.py
priv-kweihmann/systemdlint
d9909d2e2d970599bb2015e2a667d4debf063384
[ "BSD-2-Clause" ]
2
2020-05-28T11:20:41.000Z
2021-12-27T21:07:32.000Z
KNOWN_PATHS = [ "/etc/systemd/*", "/etc/systemd/**/*", "/lib/systemd/*", "/lib/systemd/**/*", "/run/systemd/*", "/run/systemd/**/*", "/usr/lib/systemd/*", "/usr/lib/systemd/**/*", ] KNOWN_DROPIN_PATHS = { "user.conf": [ "/etc/systemd/%unit%.d/*.conf", "/run/systemd/%unit%.d/...
49.153846
154
0.538654
425
3,195
4.042353
0.068235
0.197905
0.356228
0.428405
0.869616
0.846333
0.846333
0.846333
0.846333
0.846333
0
0
0.137715
3,195
64
155
49.921875
0.623593
0
0
0.52381
0
0
0.753365
0.672613
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
262876d8c6708b71339ea205054725268f995e0a
49
py
Python
torch_interpolations/__init__.py
sbarratt/torch_interpolations
91f0c9127dd20747daade34e96747426e2183fbf
[ "Apache-2.0" ]
84
2020-07-16T20:09:48.000Z
2021-12-13T17:29:20.000Z
torch_interpolations/__init__.py
sbarratt/torch_interpolations
91f0c9127dd20747daade34e96747426e2183fbf
[ "Apache-2.0" ]
3
2021-02-22T10:58:39.000Z
2021-06-18T16:15:32.000Z
torch_interpolations/__init__.py
sbarratt/torch_interpolations
91f0c9127dd20747daade34e96747426e2183fbf
[ "Apache-2.0" ]
8
2020-07-28T14:45:50.000Z
2021-12-21T09:16:45.000Z
from .multilinear import RegularGridInterpolator
24.5
48
0.897959
4
49
11
1
0
0
0
0
0
0
0
0
0
0
0
0.081633
49
1
49
49
0.977778
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
2633d6417a3f4e2a115b1dba314b45a11550f627
57,954
py
Python
biserici_inlemnite/biserici/migrations/0014_historicalcomponentaartistica_historicalfinisaj_historicalfinisajactualinvelitoare_historicalfinisaj.py
ck-tm/biserici-inlemnite
c9d12127b92f25d3ab2fcc7b4c386419fe308a4e
[ "MIT" ]
null
null
null
biserici_inlemnite/biserici/migrations/0014_historicalcomponentaartistica_historicalfinisaj_historicalfinisajactualinvelitoare_historicalfinisaj.py
ck-tm/biserici-inlemnite
c9d12127b92f25d3ab2fcc7b4c386419fe308a4e
[ "MIT" ]
null
null
null
biserici_inlemnite/biserici/migrations/0014_historicalcomponentaartistica_historicalfinisaj_historicalfinisajactualinvelitoare_historicalfinisaj.py
ck-tm/biserici-inlemnite
c9d12127b92f25d3ab2fcc7b4c386419fe308a4e
[ "MIT" ]
null
null
null
# Generated by Django 3.1.13 on 2021-07-30 12:54 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import simple_history.models class Migration(migrations.Migration): dependencies = [ ('nomenclatoare', '0005_boltapestealtar_historicalboltapestealt...
73.826752
213
0.616109
5,832
57,954
5.907407
0.036523
0.048299
0.041043
0.064496
0.946447
0.942326
0.942326
0.942326
0.942326
0.942326
0
0.00716
0.228802
57,954
784
214
73.920918
0.763682
0.000794
0
0.843188
1
0
0.20181
0.061548
0
0
0
0
0
1
0
false
0
0.005141
0
0.008997
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
263ff7947eb09a018892e094c9af6c1727b618b1
4,938
py
Python
py-rest-client/test/test_product_relations_api.py
ausseabed/product-catalogue
3deca0301298efe22d7b61028683254ac3bd3c66
[ "Apache-2.0" ]
null
null
null
py-rest-client/test/test_product_relations_api.py
ausseabed/product-catalogue
3deca0301298efe22d7b61028683254ac3bd3c66
[ "Apache-2.0" ]
4
2022-02-13T10:48:44.000Z
2022-03-02T21:22:04.000Z
py-rest-client/test/test_product_relations_api.py
ausseabed/product-catalogue
3deca0301298efe22d7b61028683254ac3bd3c66
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ AusSeabed product catalogue The API description for the Ausseabed product catalogue inventory # noqa: E501 The version of the OpenAPI document: 0.2.2 Contact: AusSeabed@ga.gov.au Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import...
27.586592
113
0.730458
577
4,938
5.712305
0.116118
0.242718
0.378641
0.131068
0.860437
0.851942
0.838592
0.776396
0.56068
0.175971
0
0.013127
0.213244
4,938
178
114
27.741573
0.835264
0.415148
0
0.416667
0
0
0.002927
0
0
0
0
0
0
1
0.433333
false
0.416667
0.083333
0
0.533333
0
0
0
0
null
1
1
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
9
cd1aa872b14f15c69687b69d62736a5238558024
118
py
Python
backend/test/test_factory.py
lkoehl/doppelkopf
fe80fc10cd8296da2a4ab97afb502eb69e50fb9b
[ "MIT" ]
38
2018-02-14T19:28:00.000Z
2022-03-30T07:28:12.000Z
backend/test/test_factory.py
lkoehl/doppelkopf
fe80fc10cd8296da2a4ab97afb502eb69e50fb9b
[ "MIT" ]
57
2018-10-01T10:54:32.000Z
2022-02-08T23:26:40.000Z
backend/test/test_factory.py
AlexRogalskiy/doppelkopf
cbfc95d56f102ab8e01e194603e9f4abf09e2e14
[ "MIT" ]
11
2018-12-17T17:02:31.000Z
2022-03-10T17:47:07.000Z
from doppelkopf import create_app def test_config(): assert create_app({"FOO": True}).config.get("FOO") is True
19.666667
62
0.720339
18
118
4.555556
0.722222
0.219512
0
0
0
0
0
0
0
0
0
0
0.144068
118
5
63
23.6
0.811881
0
0
0
0
0
0.050847
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
cd842c2ca02a5f1b522ae7b08d2e31e5a695360e
132,117
py
Python
utools/maya/widgets/validator_res.py
theiviaxx/utools
6501e52ad77edb2beab8f33028460f32b3231b80
[ "BSD-3-Clause" ]
1
2019-09-25T22:47:02.000Z
2019-09-25T22:47:02.000Z
utools/maya/widgets/validator_res.py
theiviaxx/utools
6501e52ad77edb2beab8f33028460f32b3231b80
[ "BSD-3-Clause" ]
4
2015-12-16T22:14:59.000Z
2015-12-16T22:18:04.000Z
utools/maya/widgets/validator_res.py
theiviaxx/utools
6501e52ad77edb2beab8f33028460f32b3231b80
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Resource object code # # Created: Sat Sep 5 14:57:44 2015 # by: The Resource Compiler for PySide (Qt v4.8.5) # # WARNING! All changes made in this file will be lost! from PySide import QtCore qt_resource_data = "\x00\x00I\x8f\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x000\x00\...
6,005.318182
128,216
0.397262
15,003
132,117
3.488969
0.109645
0.068774
0.102302
0.135256
0.749642
0.742688
0.741847
0.735008
0.714318
0.705626
0
0.245697
0.474504
132,117
21
128,217
6,291.285714
0.50826
0.001378
0
0
0
0.333333
0.997256
0.476362
0
0
0.000061
0
0
1
0.222222
false
0
0.111111
0
0.333333
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
1
0
0
0
1
1
0
0
0
0
0
1
1
1
null
0
0
0
0
0
1
0
0
0
0
0
0
0
12
f80d5cbf2b1f4889eea1ac62ad358942a56d009b
159
py
Python
20.py
lycantropos/Project-Euler
df6c5a7e118ddd3fe3c39f4b30ad57e7d3ea853b
[ "MIT" ]
null
null
null
20.py
lycantropos/Project-Euler
df6c5a7e118ddd3fe3c39f4b30ad57e7d3ea853b
[ "MIT" ]
null
null
null
20.py
lycantropos/Project-Euler
df6c5a7e118ddd3fe3c39f4b30ad57e7d3ea853b
[ "MIT" ]
null
null
null
from math import factorial from utils import number_digits_sum assert number_digits_sum(factorial(10)) == 27 assert number_digits_sum(factorial(100)) == 648
22.714286
47
0.811321
24
159
5.125
0.541667
0.292683
0.365854
0.341463
0.487805
0
0
0
0
0
0
0.070922
0.113208
159
6
48
26.5
0.801418
0
0
0
0
0
0
0
0
0
0
0
0.5
1
0
true
0
0.5
0
0.5
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
1
0
1
0
0
0
0
8
f8c3cfe8db41db2f97039670240b422982c9671f
28,200
py
Python
sdk/python/pulumi_yandex/lb_network_load_balancer.py
pulumi/pulumi-yandex
559a0c82fd2b834bb5f1dc3abbf0dab689b13a3e
[ "ECL-2.0", "Apache-2.0" ]
9
2021-04-20T15:39:41.000Z
2022-02-20T09:14:39.000Z
sdk/python/pulumi_yandex/lb_network_load_balancer.py
pulumi/pulumi-yandex
559a0c82fd2b834bb5f1dc3abbf0dab689b13a3e
[ "ECL-2.0", "Apache-2.0" ]
56
2021-04-20T11:31:03.000Z
2022-03-31T15:53:06.000Z
sdk/python/pulumi_yandex/lb_network_load_balancer.py
pulumi/pulumi-yandex
559a0c82fd2b834bb5f1dc3abbf0dab689b13a3e
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import ...
47.157191
221
0.656454
3,134
28,200
5.738034
0.069879
0.093588
0.066952
0.059946
0.890897
0.876494
0.860924
0.856086
0.85325
0.841239
0
0.00122
0.244113
28,200
597
222
47.236181
0.842419
0.384255
0
0.808442
1
0
0.121881
0.07013
0
0
0
0
0
1
0.162338
false
0.003247
0.022727
0
0.282468
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
3e9293ed6b07cffae4a21ee8cbf56d9510e65f69
5,724
py
Python
icon.py
yaooort/Apputils
42faa2ab72f376651279cd7b47340a8822a390af
[ "Apache-2.0" ]
17
2018-08-28T04:40:07.000Z
2021-12-15T06:19:31.000Z
icon.py
yaooort/Apputils
42faa2ab72f376651279cd7b47340a8822a390af
[ "Apache-2.0" ]
4
2019-05-17T09:35:30.000Z
2022-03-13T03:50:20.000Z
icon.py
yaooort/Apputils
42faa2ab72f376651279cd7b47340a8822a390af
[ "Apache-2.0" ]
3
2019-01-15T07:13:53.000Z
2020-03-29T00:48:39.000Z
img = 'AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAABAAABILAAASCwAAAAAAAAAAAAAAAAAAjR78AJMl/ACMHfwojBz8gIsb/MaLGvzuihn7/YoZ+/+JGPv/iRf7/4kW+/+IFvv/iBX7/4cU+/+HE/v/hxL7/4YS+/+GEfv/hRD7/4UP+/+FD/r/hA76/4QN+v+DDPr+gwz674ML+seCC/qBggr6KYEI+gCCCvoAAAAAAI4g/QCOIP0FjR/8VY0e/NCMHfz8jBz8/4sb/P+LG/v/ihr7/4oZ+/+KGPv/i...
5,724
5,724
0.682565
1,290
5,724
3.028682
0.368992
0.006143
0.00819
0.00819
0.15613
0.080625
0.052214
0.024571
0.014333
0.014333
0
0.160433
0.000349
5,724
1
5,724
5,724
0.52237
0
0
0
0
1
0.998428
0.998428
0
1
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
1
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
7
e41b8d53f8ccade3c875cebce6d0a34b1824775c
132
py
Python
boa3_test/test_sc/interop_test/runtime/CheckWitnessMismatchedType.py
hal0x2328/neo3-boa
6825a3533384cb01660773050719402a9703065b
[ "Apache-2.0" ]
25
2020-07-22T19:37:43.000Z
2022-03-08T03:23:55.000Z
boa3_test/test_sc/interop_test/runtime/CheckWitnessMismatchedType.py
hal0x2328/neo3-boa
6825a3533384cb01660773050719402a9703065b
[ "Apache-2.0" ]
419
2020-04-23T17:48:14.000Z
2022-03-31T13:17:45.000Z
boa3_test/test_sc/interop_test/runtime/CheckWitnessMismatchedType.py
hal0x2328/neo3-boa
6825a3533384cb01660773050719402a9703065b
[ "Apache-2.0" ]
15
2020-05-21T21:54:24.000Z
2021-11-18T06:17:24.000Z
from boa3.builtin.interop.runtime import check_witness def Main(script_hash: list) -> bool: return check_witness(script_hash)
22
54
0.787879
19
132
5.263158
0.789474
0.24
0
0
0
0
0
0
0
0
0
0.008696
0.128788
132
5
55
26.4
0.86087
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
7
e485c7e23d44cb8ed2e557bc82c5c1be6ae39671
387
py
Python
datasette_query_history/__init__.py
bretwalker/datasette-query-history
c4d4cceb2a0b6f69dd96db1d7c1bf97194ad841a
[ "Apache-2.0" ]
3
2021-01-17T05:08:00.000Z
2021-04-18T03:06:36.000Z
datasette_query_history/__init__.py
bretwalker/datasette-query-history
c4d4cceb2a0b6f69dd96db1d7c1bf97194ad841a
[ "Apache-2.0" ]
null
null
null
datasette_query_history/__init__.py
bretwalker/datasette-query-history
c4d4cceb2a0b6f69dd96db1d7c1bf97194ad841a
[ "Apache-2.0" ]
null
null
null
from datasette import hookimpl @hookimpl def extra_css_urls(database, table, columns, view_name, datasette): return [ "/-/static-plugins/datasette_query_history/datasette-query-history.css", ] @hookimpl def extra_js_urls(database, table, columns, view_name, datasette): return [ "/-/static-...
27.642857
80
0.731266
46
387
5.934783
0.413043
0.205128
0.307692
0.175824
0.747253
0.747253
0.747253
0.747253
0.747253
0.747253
0
0
0.155039
387
13
81
29.769231
0.834862
0
0
0.363636
0
0
0.354005
0.354005
0
0
0
0
0
1
0.181818
false
0
0.090909
0.181818
0.454545
0
0
0
0
null
1
1
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
9
e49b73695e8a8e6fe65244b5521604e1f4222b7a
66
py
Python
build/lib/brawlstars_api/__init__.py
smlbiobot/brawlstars_api
f40cc3e82bbcbe384dfccd33eda42d3e2331b81f
[ "MIT" ]
null
null
null
build/lib/brawlstars_api/__init__.py
smlbiobot/brawlstars_api
f40cc3e82bbcbe384dfccd33eda42d3e2331b81f
[ "MIT" ]
null
null
null
build/lib/brawlstars_api/__init__.py
smlbiobot/brawlstars_api
f40cc3e82bbcbe384dfccd33eda42d3e2331b81f
[ "MIT" ]
null
null
null
from .api import BrawlStarsAPI from .api import BrawlStarsAPIError
33
35
0.863636
8
66
7.125
0.625
0.245614
0.45614
0
0
0
0
0
0
0
0
0
0.106061
66
2
35
33
0.966102
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
e4b846d4e88a4a01e387646854c63a46fff18f8c
198
py
Python
python/dagster-fusion/tests/test_imports_dagster.py
roeap/flight-fusion
14f73c99c5214277d0abcced633d83b37f1d5292
[ "Apache-2.0", "MIT" ]
5
2021-12-24T06:21:40.000Z
2022-01-16T12:21:06.000Z
python/dagster-fusion/tests/test_imports_dagster.py
roeap/flight-fusion
14f73c99c5214277d0abcced633d83b37f1d5292
[ "Apache-2.0", "MIT" ]
66
2021-12-15T17:08:21.000Z
2022-03-29T10:36:18.000Z
python/dagster-fusion/tests/test_imports_dagster.py
roeap/flight-fusion
14f73c99c5214277d0abcced633d83b37f1d5292
[ "Apache-2.0", "MIT" ]
1
2022-02-08T21:07:08.000Z
2022-02-08T21:07:08.000Z
import dagster_fusion def test_import_dagster_fusion(): assert dagster_fusion.__name__ == "dagster_fusion" def test_dagster_fusion_version(): assert dagster_fusion.__version__ > "0.0.0"
19.8
54
0.782828
26
198
5.269231
0.346154
0.569343
0.277372
0.291971
0
0
0
0
0
0
0
0.017442
0.131313
198
9
55
22
0.77907
0
0
0
0
0
0.09596
0
0
0
0
0
0.4
1
0.4
true
0
0.4
0
0.8
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
1
0
1
0
1
0
0
9
9018c9ec1895f65c68abc2794f13646d7757d496
68,562
py
Python
benchmarks/SimResults/micro_pinned_train_combos/cmpA_povraygromacslibquantumbzip2/power.py
TugberkArkose/MLScheduler
e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061
[ "Unlicense" ]
null
null
null
benchmarks/SimResults/micro_pinned_train_combos/cmpA_povraygromacslibquantumbzip2/power.py
TugberkArkose/MLScheduler
e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061
[ "Unlicense" ]
null
null
null
benchmarks/SimResults/micro_pinned_train_combos/cmpA_povraygromacslibquantumbzip2/power.py
TugberkArkose/MLScheduler
e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061
[ "Unlicense" ]
null
null
null
power = {'BUSES': {'Area': 1.33155, 'Bus/Area': 1.33155, 'Bus/Gate Leakage': 0.00662954, 'Bus/Peak Dynamic': 0.0, 'Bus/Runtime Dynamic': 0.0, 'Bus/Subthreshold Leakage': 0.0691322, 'Bus/Subthreshold Leakage with power gating': 0.0259246, 'Gate...
75.013129
124
0.681865
8,082
68,562
5.77852
0.066691
0.123678
0.113057
0.093529
0.94026
0.931652
0.919597
0.889812
0.863432
0.845146
0
0.131181
0.224483
68,562
914
125
75.013129
0.747155
0
0
0.653173
0
0
0.657862
0.048131
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
5f8b31ef3f41a62c6fd76fbfc5a97fac2028199a
59,490
py
Python
sdk/python/pulumi_consul/_inputs.py
pulumi/pulumi-consul
5b66c5b97fda6b5433bfb4d4173c999e468c82e8
[ "ECL-2.0", "Apache-2.0" ]
3
2019-11-12T12:21:18.000Z
2021-07-31T08:17:22.000Z
sdk/python/pulumi_consul/_inputs.py
pulumi/pulumi-consul
5b66c5b97fda6b5433bfb4d4173c999e468c82e8
[ "ECL-2.0", "Apache-2.0" ]
38
2019-11-21T15:19:33.000Z
2022-03-31T15:24:11.000Z
sdk/python/pulumi_consul/_inputs.py
pulumi/pulumi-consul
5b66c5b97fda6b5433bfb4d4173c999e468c82e8
[ "ECL-2.0", "Apache-2.0" ]
2
2020-11-24T12:23:13.000Z
2021-12-06T17:33:31.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import ...
33.897436
149
0.611212
7,141
59,490
4.949727
0.044672
0.052453
0.075765
0.055367
0.894528
0.848752
0.815453
0.787784
0.767951
0.722826
0
0.000303
0.277626
59,490
1,754
150
33.916762
0.822195
0.224038
0
0.76721
1
0
0.085579
0.01453
0
0
0
0
0
1
0.206522
false
0
0.004529
0.037138
0.324275
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
1
0
0
0
0
0
0
0
9
39766684fb0c01a1cd78b752933f53ca22adbf4a
22,531
py
Python
scenegraph/exp-official/taskographyv2medium1_FF-X/taskographyv2medium1_FF-X_test.py
taskography/3dscenegraph-dev
2c261241230fbea1f1c687ff793478248f25c02c
[ "MIT" ]
1
2022-01-30T22:06:57.000Z
2022-01-30T22:06:57.000Z
scenegraph/exp-official/taskographyv2medium1_FF-X/taskographyv2medium1_FF-X_test.py
taskography/3dscenegraph-dev
2c261241230fbea1f1c687ff793478248f25c02c
[ "MIT" ]
null
null
null
scenegraph/exp-official/taskographyv2medium1_FF-X/taskographyv2medium1_FF-X_test.py
taskography/3dscenegraph-dev
2c261241230fbea1f1c687ff793478248f25c02c
[ "MIT" ]
null
null
null
STATS = [ { "num_node_expansions": 25, "plan_length": 20, "search_time": 0.04, "total_time": 0.04 }, { "num_node_expansions": 22, "plan_length": 18, "search_time": 0.04, "total_time": 0.04 }, { "num_node_expansions": 24, ...
21.706166
34
0.464826
2,590
22,531
3.710425
0.029344
0.171696
0.304266
0.039334
0.944537
0.943288
0.892196
0.892196
0.892196
0.875442
0
0.11927
0.382273
22,531
1,037
35
21.727097
0.571203
0
0
0.599807
0
0
0.38933
0
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
398c5c5fc791abc27536b9f67e84e841d5f2d05b
55
py
Python
roa/__init__.py
MatthewScholefield/read-only-attributes
076064482016858fcb05154579579491e1c668e9
[ "MIT" ]
2
2020-02-28T22:33:01.000Z
2020-02-28T22:33:02.000Z
roa/__init__.py
MatthewScholefield/read-only-attributes
076064482016858fcb05154579579491e1c668e9
[ "MIT" ]
5
2020-03-24T18:34:04.000Z
2022-02-02T03:38:55.000Z
roa/__init__.py
MatthewScholefield/read-only-attributes
076064482016858fcb05154579579491e1c668e9
[ "MIT" ]
1
2021-08-10T09:32:14.000Z
2021-08-10T09:32:14.000Z
from .read_only_attributes import read_only_attributes
27.5
54
0.909091
8
55
5.75
0.625
0.347826
0.782609
0
0
0
0
0
0
0
0
0
0.072727
55
1
55
55
0.901961
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
39933fec402aaabb9cc4c8c12a314215ed15ef10
1,289
py
Python
dice/dice_arrays.py
JGRainbow/Dicify
75f897e592be7417fa8f0fd3d7563870fbf9e53d
[ "MIT" ]
1
2021-02-10T22:02:04.000Z
2021-02-10T22:02:04.000Z
dice/dice_arrays.py
JGRainbow/Dicify
75f897e592be7417fa8f0fd3d7563870fbf9e53d
[ "MIT" ]
null
null
null
dice/dice_arrays.py
JGRainbow/Dicify
75f897e592be7417fa8f0fd3d7563870fbf9e53d
[ "MIT" ]
null
null
null
import numpy as np d_one = np.array([ [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 1, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0] ]) d_two = np.array([ [0, 0, 0, 0, 0, 0, 0], [0, 1, 0, 0, 0, 0, 0], [0, 0, 0, 0...
20.790323
26
0.298681
322
1,289
1.177019
0.043478
1.298153
1.733509
2.026385
0.899736
0.899736
0.899736
0.899736
0.899736
0.899736
0
0.370744
0.384794
1,289
62
27
20.790323
0.107188
0
0
0.872727
0
0
0
0
0
0
0
0
0
1
0
false
0
0.018182
0
0.018182
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
39989884263c2078f2d845c55a0a460c3ff7ecfa
102,398
py
Python
NGDAUpdater/NGDAUpdater.py
mattCensus/PerlScripts
d2643d99abc3f0647ebfbd41f7e5faa704da3e91
[ "MIT" ]
null
null
null
NGDAUpdater/NGDAUpdater.py
mattCensus/PerlScripts
d2643d99abc3f0647ebfbd41f7e5faa704da3e91
[ "MIT" ]
null
null
null
NGDAUpdater/NGDAUpdater.py
mattCensus/PerlScripts
d2643d99abc3f0647ebfbd41f7e5faa704da3e91
[ "MIT" ]
null
null
null
import os import fnmatch import shutil import re import datetime import time #import StringIO import pickle import sys import MetadataDateModules from MetadataDateModules import metadataDateUpdater from MetadataDateModules import TodaysDate datesupdated=[] NewFileArray=[] NationalPlace=[] DatesUpdated=...
62.9754
344
0.545958
9,932
102,398
5.614378
0.051349
0.173236
0.109752
0.053657
0.862254
0.846616
0.82888
0.819357
0.800796
0.779599
0
0.014985
0.332008
102,398
1,626
345
62.9754
0.800222
0.030118
0
0.706667
0
0.087018
0.507298
0.110874
0
0
0
0
0
1
0.005614
false
0.008421
0.007719
0
0.050526
0.010526
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
f2e79495573e62f3873db4ca7c58977203422284
6,802
py
Python
Painter_RandomizedBenchmarking/DRAG_utils.py
sherryue123/Labber-Drivers
90fc217db4158857f650122cd780f18fcf6d9a78
[ "MIT" ]
3
2019-06-18T21:14:50.000Z
2020-10-11T19:05:35.000Z
Painter_RandomizedBenchmarking/DRAG_utils.py
sherryue123/Labber-Drivers
90fc217db4158857f650122cd780f18fcf6d9a78
[ "MIT" ]
null
null
null
Painter_RandomizedBenchmarking/DRAG_utils.py
sherryue123/Labber-Drivers
90fc217db4158857f650122cd780f18fcf6d9a78
[ "MIT" ]
1
2020-04-03T16:54:28.000Z
2020-04-03T16:54:28.000Z
""" A super cool file for helping with DRAG stuff.""" import numpy as np import scipy import dsp_utils # Empty envelopes def empty_detuning_envelope(t, args): return 0 def empety_x_envelope(t, args): return 0 def empty_y_envelope(t, args): return 0 # Helper functions for building gaussian pulses def ...
38.213483
104
0.543664
811
6,802
4.348952
0.114673
0.0241
0.037426
0.027219
0.824213
0.801815
0.744542
0.731216
0.710802
0.710802
0
0.018285
0.32461
6,802
177
105
38.429379
0.749456
0.052632
0
0.707143
0
0
0.035369
0
0
0
0
0
0
1
0.107143
false
0
0.021429
0.035714
0.235714
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
f2ef79fff16604edae6b25ba5e265ecbd4b6bfb2
111
py
Python
Python/OneLang/Generator/IGeneratorPlugin.py
onelang/OneLang-CrossCompiled
ed67f2b57e7181712c7d8c2ba85f23b3812d8e3a
[ "MIT" ]
2
2020-11-15T23:38:23.000Z
2020-11-16T00:54:25.000Z
Python/OneLang/Generator/IGeneratorPlugin.py
onelang/OneLang-CrossCompiled
ed67f2b57e7181712c7d8c2ba85f23b3812d8e3a
[ "MIT" ]
null
null
null
Python/OneLang/Generator/IGeneratorPlugin.py
onelang/OneLang-CrossCompiled
ed67f2b57e7181712c7d8c2ba85f23b3812d8e3a
[ "MIT" ]
null
null
null
from onelang_core import * import OneLang.One.Ast.Interfaces as ints import OneLang.One.Ast.Statements as stats
37
42
0.837838
18
111
5.111111
0.611111
0.282609
0.347826
0.413043
0
0
0
0
0
0
0
0
0.099099
111
3
42
37
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
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
843af5a525110e9d08f09b3afa5464e12516cc00
4,021
py
Python
neuralwoz/loss.py
naver-ai/neuralwoz
89f10904256c0df33e14c05e8581421d52b63105
[ "Apache-2.0" ]
25
2021-07-22T07:40:24.000Z
2022-02-09T01:42:43.000Z
neuralwoz/loss.py
naver-ai/neuralwoz
89f10904256c0df33e14c05e8581421d52b63105
[ "Apache-2.0" ]
null
null
null
neuralwoz/loss.py
naver-ai/neuralwoz
89f10904256c0df33e14c05e8581421d52b63105
[ "Apache-2.0" ]
3
2021-07-23T01:14:38.000Z
2021-08-19T10:36:35.000Z
""" NeuralWOZ Copyright (c) 2021-present NAVER Corp. Apache License v2.0 """ import torch class LabelSmoothingLoss(torch.nn.Module): """ With label smoothing, KL-divergence between q_{smoothed ground truth prob.}(w) and p_{prob. computed by model}(w) is minimized. """ def __init__(self, label...
35.901786
90
0.623725
533
4,021
4.446529
0.165103
0.055696
0.056962
0.04557
0.834177
0.823207
0.802954
0.802954
0.791561
0.791561
0
0.019025
0.254912
4,021
111
91
36.225225
0.772029
0.168117
0
0.746032
0
0
0
0
0
0
0
0
0.031746
1
0.126984
false
0
0.015873
0
0.269841
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
ffd60fe1921da0cd5f09233b30ce0f7ecaf64529
126,011
py
Python
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_tty_server_oper.py
tkamata-test/ydk-py
b637e7853a8edbbd31fbc05afa3aa4110b31c5f9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_tty_server_oper.py
tkamata-test/ydk-py
b637e7853a8edbbd31fbc05afa3aa4110b31c5f9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_tty_server_oper.py
tkamata-test/ydk-py
b637e7853a8edbbd31fbc05afa3aa4110b31c5f9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
""" Cisco_IOS_XR_tty_server_oper This module contains a collection of YANG definitions for Cisco IOS\-XR tty\-server package operational data. This module contains definitions for the following management objects\: tty\: TTY Line Configuration Copyright (c) 2013\-2016 by Cisco Systems, Inc. All rights reserved. ...
39.738568
269
0.434906
10,364
126,011
5.066577
0.027499
0.041897
0.052371
0.041345
0.926966
0.908817
0.875395
0.869511
0.862693
0.853152
0
0.016917
0.500393
126,011
3,170
270
39.751104
0.817158
0.216878
0
0.858166
0
0.004298
0.099113
0.057569
0
0
0
0
0
1
0.162607
false
0
0.037249
0.002865
0.505014
0
0
0
0
null
0
0
0
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
1
0
0
9
ffe8e797ff507e4c149d85bd0df812957a4e0587
2,077
py
Python
mama_cas/migrations/0002_ticket.py
taoky/django-mama-cas
9fbca9c33bfb139da12d922f7583c27c654e4049
[ "BSD-3-Clause" ]
null
null
null
mama_cas/migrations/0002_ticket.py
taoky/django-mama-cas
9fbca9c33bfb139da12d922f7583c27c654e4049
[ "BSD-3-Clause" ]
null
null
null
mama_cas/migrations/0002_ticket.py
taoky/django-mama-cas
9fbca9c33bfb139da12d922f7583c27c654e4049
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 3.2.6 on 2021-09-02 10:28 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mama_cas', '0001_initial'), ] operations = [ migrations.AddField( model_name='proxygrantingticket', name='login_ip',...
35.20339
111
0.597496
199
2,077
6.075377
0.266332
0.066998
0.114144
0.133995
0.832093
0.832093
0.738627
0.738627
0.738627
0.738627
0
0.018805
0.283101
2,077
58
112
35.810345
0.79315
0.021666
0
0.865385
1
0
0.117734
0
0
0
0
0
0
1
0
false
0
0.019231
0
0.076923
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
08178215b576ae3a998049998edb796d77b9eced
109
py
Python
partools/mail/__init__.py
paularnaud2/PyTools
09accc33e1dcfdde45671ad5962727554648b30c
[ "MIT" ]
null
null
null
partools/mail/__init__.py
paularnaud2/PyTools
09accc33e1dcfdde45671ad5962727554648b30c
[ "MIT" ]
null
null
null
partools/mail/__init__.py
paularnaud2/PyTools
09accc33e1dcfdde45671ad5962727554648b30c
[ "MIT" ]
null
null
null
from .main import gmail from .main import no_auth from .main import outlook from .functions import init_mail
21.8
32
0.816514
18
109
4.833333
0.555556
0.275862
0.482759
0
0
0
0
0
0
0
0
0
0.146789
109
4
33
27.25
0.935484
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
08465bf2dc785a727396d083bf37deae0409c8f8
1,050
py
Python
red-scare/src/test_output.py
Sebastian-ba/DoDoBing
6edcc18de22ad76505d2c13ac6a207a2c274cc95
[ "MIT" ]
3
2017-09-25T11:59:20.000Z
2017-11-20T12:55:21.000Z
red-scare/src/test_output.py
ITU-2019/DoDoBing
6edcc18de22ad76505d2c13ac6a207a2c274cc95
[ "MIT" ]
6
2017-09-25T12:04:51.000Z
2017-11-13T07:51:40.000Z
red-scare/src/test_output.py
ITU-2019/DoDoBing
6edcc18de22ad76505d2c13ac6a207a2c274cc95
[ "MIT" ]
null
null
null
from main import * def test_output_1(): print() res = output("Testfile", 43, True, 3,2,1, False, False) res1 = output("Testfile", 43, True, 3,2,1, False, False) res2 = output("Testfile", 43, True, 3,2,1, False, False) res3 = output("Testfile", 43, True, 3,2,1, False, False) res4 = ...
29.166667
61
0.569524
157
1,050
3.783439
0.127389
0.282828
0.323232
0.40404
0.929293
0.929293
0.929293
0.929293
0.929293
0.299663
0
0.105534
0.26
1,050
35
62
30
0.658945
0
0
0.482759
0
0
0.094768
0
0
0
0
0
0
1
0.068966
false
0
0.034483
0
0.103448
0.482759
0
0
0
null
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
9
4b4280b41cc95077e54f7dd66f0b715ae4c9fea2
2,770
py
Python
daq-gui/roi_window_ui.py
Sovichea/instrumentation-opendaq-rpi3
ed8b00bce131d8960ddc2a0d130c442b77a4a087
[ "MIT" ]
1
2017-12-08T17:07:12.000Z
2017-12-08T17:07:12.000Z
daq-gui/roi_window_ui.py
Sovichea/instrumentation-opendaq-rpi3
ed8b00bce131d8960ddc2a0d130c442b77a4a087
[ "MIT" ]
null
null
null
daq-gui/roi_window_ui.py
Sovichea/instrumentation-opendaq-rpi3
ed8b00bce131d8960ddc2a0d130c442b77a4a087
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'roi_window.ui' # # Created by: PyQt4 UI code generator 4.11.4 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 except AttributeError: def...
33.373494
80
0.701805
308
2,770
6.155844
0.211039
0.088608
0.084388
0.118143
1
1
1
1
1
1
0
0.018165
0.205054
2,770
82
81
33.780488
0.84287
0.133213
0
1
1
0
0.039896
0
0
0
0
0
0
1
0.185185
false
0
0.074074
0.111111
0.407407
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
1
0
0
0
9
4bafa487132743606b971ee250c9b2ed7e3fc942
484
py
Python
code/chapter_02/listing_02_03.py
guinslym/python_earth_science_book
f4dd0115dbbce140c6713989f630a71238daa72c
[ "MIT" ]
80
2021-04-19T10:03:57.000Z
2022-03-30T15:34:47.000Z
code/chapter_02/listing_02_03.py
guinslym/python_earth_science_book
f4dd0115dbbce140c6713989f630a71238daa72c
[ "MIT" ]
null
null
null
code/chapter_02/listing_02_03.py
guinslym/python_earth_science_book
f4dd0115dbbce140c6713989f630a71238daa72c
[ "MIT" ]
23
2021-04-25T03:50:07.000Z
2022-03-22T03:06:19.000Z
# this instruction is always executed # this instruction is always executed # this instruction is always executed if a == 1: # this instruction is executed if a = 1 if b == 3: # this instruction is executed if a = 1 and b = 3 # this instruction is executed if a = 1 and b = 3 # this instru...
32.266667
57
0.652893
74
484
4.27027
0.148649
0.474684
0.537975
0.265823
0.993671
0.949367
0.949367
0.949367
0.949367
0.949367
0
0.029412
0.297521
484
14
58
34.571429
0.9
0.81405
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
11
4bbd260c0ec694c143844cf243aefc9245c52582
32,189
py
Python
tb_rest_client/api/api_ce/auth_controller_api.py
jernkuan/thingsboard-python-rest-client
3fb25272507494e6d494b27ca2380d3c543562e5
[ "Apache-2.0" ]
null
null
null
tb_rest_client/api/api_ce/auth_controller_api.py
jernkuan/thingsboard-python-rest-client
3fb25272507494e6d494b27ca2380d3c543562e5
[ "Apache-2.0" ]
null
null
null
tb_rest_client/api/api_ce/auth_controller_api.py
jernkuan/thingsboard-python-rest-client
3fb25272507494e6d494b27ca2380d3c543562e5
[ "Apache-2.0" ]
1
2021-11-26T11:24:56.000Z
2021-11-26T11:24:56.000Z
# coding: utf-8 """ ThingsBoard REST API For instructions how to authorize requests please visit <a href='http://thingsboard.io/docs/reference/rest-api/'>REST API documentation page</a>. # noqa: E501 OpenAPI spec version: 2.0 Contact: info@thingsboard.io Generated by: https://github.com/swagger-...
37.472643
163
0.608873
3,634
32,189
5.094386
0.051458
0.045806
0.027224
0.035002
0.952466
0.941285
0.931346
0.920758
0.910765
0.900394
0
0.014506
0.301842
32,189
858
164
37.516317
0.809282
0.302401
0
0.799145
0
0
0.172346
0.058427
0
0
0
0
0
1
0.040598
false
0.061966
0.008547
0
0.108974
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
29a86b74695876b3b452671dda5339b5c1b92205
1,601
py
Python
test/test_add_group.py
ruslankl9/python_training
7bcaf2606a80935a4a0c458af4e6a078f241fb38
[ "Apache-2.0" ]
null
null
null
test/test_add_group.py
ruslankl9/python_training
7bcaf2606a80935a4a0c458af4e6a078f241fb38
[ "Apache-2.0" ]
null
null
null
test/test_add_group.py
ruslankl9/python_training
7bcaf2606a80935a4a0c458af4e6a078f241fb38
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from model.group import Group import pytest def test_add_group_data(app, db, data_groups, check_ui): group = data_groups with pytest.allure.step('Given a group list'): old_groups = db.get_group_list() with pytest.allure.step('When I add a group %s to the list' % group): ...
48.515152
115
0.670206
262
1,601
3.889313
0.19084
0.088322
0.078508
0.09421
0.855741
0.855741
0.855741
0.855741
0.855741
0.855741
0
0.000793
0.212367
1,601
33
116
48.515152
0.807296
0.013117
0
0.785714
0
0
0.151995
0
0
0
0
0
0.142857
1
0.071429
false
0
0.071429
0
0.142857
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
29bcd6aa3f57e6f463eca65febe9064b0eac349f
23,868
py
Python
tests/test_IP_drawer.py
dmulyalin/N2G
78c7395d0c08b45183c1951857a2fb8b2ead7fda
[ "MIT" ]
84
2020-07-13T22:00:03.000Z
2022-03-24T03:35:03.000Z
tests/test_IP_drawer.py
dmulyalin/N2G
78c7395d0c08b45183c1951857a2fb8b2ead7fda
[ "MIT" ]
14
2020-10-08T04:56:01.000Z
2022-03-12T17:32:59.000Z
tests/test_IP_drawer.py
dmulyalin/N2G
78c7395d0c08b45183c1951857a2fb8b2ead7fda
[ "MIT" ]
12
2021-01-18T00:01:16.000Z
2022-03-14T09:09:28.000Z
import sys sys.path.insert(0,'..') # after updated sys path, can do N2G import from parent dir from N2G import drawio_diagram as create_drawio_diagram from N2G import yed_diagram as create_yed_diagram from N2G import ip_drawer def test_ip_drawing_yed_data_dict_base(): data = {"Cisco_IOS": [""" switch_1# show run ...
31.909091
127
0.717907
3,859
23,868
4.298264
0.063229
0.07741
0.06077
0.037379
0.937963
0.92259
0.913848
0.887743
0.862543
0.856273
0
0.188648
0.192475
23,868
748
128
31.909091
0.671941
0.013784
0
0.578261
0
0.002174
0.735452
0.157763
0
0
0
0
0.021739
1
0.021739
false
0
0.008696
0
0.030435
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
d9c411f03c3fdc9efb1372388495a05d2a80ddde
141,293
py
Python
opcua/server/standard_address_space/standard_address_space_part3.py
aixiwang/opcua2cloud
32e1e745e4939f8d4fd51892d9a51230ffdfc198
[ "Apache-2.0" ]
null
null
null
opcua/server/standard_address_space/standard_address_space_part3.py
aixiwang/opcua2cloud
32e1e745e4939f8d4fd51892d9a51230ffdfc198
[ "Apache-2.0" ]
null
null
null
opcua/server/standard_address_space/standard_address_space_part3.py
aixiwang/opcua2cloud
32e1e745e4939f8d4fd51892d9a51230ffdfc198
[ "Apache-2.0" ]
2
2019-01-14T10:13:57.000Z
2020-02-11T15:22:14.000Z
# -*- coding: utf-8 -*- """ DO NOT EDIT THIS FILE! It is automatically generated from opcfoundation.org schemas. """ from opcua import ua from opcua.ua import NodeId, QualifiedName, NumericNodeId, StringNodeId, GuidNodeId from opcua.ua import NodeClass, LocalizedText def create_standard_address_space_Part3(server):...
38.784793
557
0.709115
14,799
141,293
6.751537
0.039462
0.02367
0.048221
0.054796
0.888536
0.883202
0.879989
0.873784
0.863675
0.858161
0
0.039266
0.185466
141,293
3,642
558
38.795442
0.828879
0.000757
0
0.822788
1
0.001431
0.070486
0.002047
0
0
0
0
0
1
0.000286
false
0
0.000859
0
0.001145
0.000286
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
d9f2c4713f58011ac46063726e895ed2aedbda0d
280,319
py
Python
hphp/hack/test/integration/test_lsp.py
Raulkumar/hhvm
dfc1a50aff4d3a1df508c685fee401262e530879
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/test/integration/test_lsp.py
Raulkumar/hhvm
dfc1a50aff4d3a1df508c685fee401262e530879
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/test/integration/test_lsp.py
Raulkumar/hhvm
dfc1a50aff4d3a1df508c685fee401262e530879
[ "PHP-3.01", "Zend-2.0" ]
1
2021-01-29T08:44:22.000Z
2021-01-29T08:44:22.000Z
# pyre-strict # flake8: noqa: B950 from __future__ import absolute_import, division, print_function, unicode_literals import copy import enum import json import os import re import unittest import urllib.parse from typing import Iterable, List, Mapping, Tuple import common_tests from hh_paths import hh_server from l...
41.602701
153
0.366807
18,254
280,319
5.487674
0.052043
0.020964
0.022861
0.028681
0.850058
0.826988
0.806862
0.793176
0.772921
0.757677
0
0.014247
0.509741
280,319
6,737
154
41.608876
0.714624
0.010142
0
0.651816
0
0.001087
0.251509
0.037953
0
0
0
0.000148
0.004967
1
0.010556
false
0
0.002794
0.001087
0.017852
0.000155
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
8a296a773bafc9087dba6705ad7d749540a9c690
10,584
py
Python
frozen/mcudev/fsmc.py
seelpro/BLACK_F407ZG
d3166a2a5c0d59a9a9e534c9a57f839028badde4
[ "MIT" ]
null
null
null
frozen/mcudev/fsmc.py
seelpro/BLACK_F407ZG
d3166a2a5c0d59a9a9e534c9a57f839028badde4
[ "MIT" ]
null
null
null
frozen/mcudev/fsmc.py
seelpro/BLACK_F407ZG
d3166a2a5c0d59a9a9e534c9a57f839028badde4
[ "MIT" ]
null
null
null
import machine import stm RCC_AHB3ENR_FSMCEN = const(0x01) RCC_AHB1ENR_GPIODEN = const(0x08) RCC_AHB1ENR_GPIOEEN = const(0x10) RCC_AHB1ENR_GPIOFEN = const(0x20) RCC_AHB1ENR_GPIOGEN = const(0x40) FSMC_Banks_base = const(0xA0000000) FSMC_BCR_bank1_offset = const(0x0) FSMC_BTR_bank1_offset = const(0x4) FSMC_BCR_bank2_of...
57.210811
188
0.716648
1,365
10,584
5.211722
0.104762
0.074782
0.118077
0.030925
0.844532
0.832584
0.810374
0.788445
0.738825
0.738825
0
0.209456
0.186697
10,584
184
189
57.521739
0.616984
0.155045
0
0.604167
0
0
0
0
0
0
0.089153
0
0
1
0.069444
false
0
0.013889
0
0.104167
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
8a367104f4ebbefefacc0d9fb84442ada945d66f
144
py
Python
utils/__init__.py
ravi-0841/Emocon
acf713ddc26999f66416acb490045ea3c1db1ab7
[ "MIT" ]
1
2019-11-14T09:56:17.000Z
2019-11-14T09:56:17.000Z
utils/__init__.py
ravi-0841/Emocon
acf713ddc26999f66416acb490045ea3c1db1ab7
[ "MIT" ]
null
null
null
utils/__init__.py
ravi-0841/Emocon
acf713ddc26999f66416acb490045ea3c1db1ab7
[ "MIT" ]
null
null
null
from get_features import * from predict_params import * from predict_pitch import * from predict_energy import * from generate_waveform import *
28.8
31
0.833333
20
144
5.75
0.5
0.347826
0.443478
0
0
0
0
0
0
0
0
0
0.131944
144
5
31
28.8
0.92
0
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
8a7cf5797e83bf032fabdc0f334ffb9b7945cd59
7,224
py
Python
test/test_feature.py
hirano1412/bdpy
cee6f36dcdf4f4d29fc3a6980777e1c3d7c66cbb
[ "MIT" ]
18
2018-01-22T04:18:48.000Z
2022-03-12T09:42:03.000Z
test/test_feature.py
hirano1412/bdpy
cee6f36dcdf4f4d29fc3a6980777e1c3d7c66cbb
[ "MIT" ]
13
2018-05-01T08:31:14.000Z
2022-02-21T06:45:34.000Z
test/test_feature.py
hirano1412/bdpy
cee6f36dcdf4f4d29fc3a6980777e1c3d7c66cbb
[ "MIT" ]
15
2019-03-04T02:43:46.000Z
2022-02-17T00:41:47.000Z
from unittest import TestCase, TestLoader, TextTestRunner import numpy as np from bdpy.feature import normalize_feature class TestUtilFeature(TestCase): def test_normalize_feature_1d(self): feat = np.random.rand(4096) feat_mean0 = np.random.rand(1, 1) feat_std0 = np.random.rand(1, 1) ...
46.606452
102
0.557032
869
7,224
4.286536
0.071346
0.121074
0.080537
0.059329
0.910604
0.879195
0.86255
0.850738
0.849664
0.842148
0
0.021874
0.354513
7,224
154
103
46.909091
0.776968
0.072951
0
0.747573
0
0
0.004788
0
0
0
0
0
0.116505
1
0.019417
false
0
0.029126
0
0.058252
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
8aa1068bbb1315de8443a574e7e9c846e96c5cee
7,248
py
Python
tests/garage/torch/policies/test_gaussian_mlp_policy.py
st2yang/garage
50186a9630df038aeba36d6b06b006ab32ed48f5
[ "MIT" ]
null
null
null
tests/garage/torch/policies/test_gaussian_mlp_policy.py
st2yang/garage
50186a9630df038aeba36d6b06b006ab32ed48f5
[ "MIT" ]
null
null
null
tests/garage/torch/policies/test_gaussian_mlp_policy.py
st2yang/garage
50186a9630df038aeba36d6b06b006ab32ed48f5
[ "MIT" ]
null
null
null
"""Test Gaussian MLP Policy.""" import pickle import numpy as np import pytest import torch from torch import nn from garage.envs import GarageEnv from garage.torch.policies import GaussianMLPPolicy from tests.fixtures.envs.dummy import DummyBoxEnv class TestGaussianMLPPolicies: """Class for Testing Gaussian M...
38.759358
78
0.544702
804
7,248
4.630597
0.121891
0.070911
0.018802
0.029546
0.86382
0.857642
0.847703
0.824335
0.824335
0.803922
0
0.020017
0.345199
7,248
186
79
38.967742
0.764433
0.051325
0
0.807143
0
0
0.019763
0
0
0
0
0
0.1
1
0.035714
false
0
0.057143
0
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
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
76efdbe4e5a700ae903bf5f000c6c4581203a1c8
87,788
py
Python
TWLight/resources/migrations/0001_initial_squashed_0062_auto_20190220_1639.py
nicole331/TWLight
fab9002e76868f8a2ef36f9279c777de34243b2c
[ "MIT" ]
67
2017-12-14T22:27:48.000Z
2022-03-13T18:21:31.000Z
TWLight/resources/migrations/0001_initial_squashed_0062_auto_20190220_1639.py
nicole331/TWLight
fab9002e76868f8a2ef36f9279c777de34243b2c
[ "MIT" ]
433
2017-03-24T22:51:23.000Z
2022-03-31T19:36:22.000Z
TWLight/resources/migrations/0001_initial_squashed_0062_auto_20190220_1639.py
Mahuton/TWLight
90b299d07b0479f21dc90e17b8d05f5a221b0de1
[ "MIT" ]
105
2017-06-23T03:53:41.000Z
2022-03-30T17:24:29.000Z
# Generated by Django 3.0.11 on 2021-01-31 06:22 import TWLight.resources.models import datetime from django.conf import settings import django.core.validators from django.db import migrations, models import django.db.models.manager from django.utils.timezone import utc import django_countries.fields # Functions fro...
38.452913
362
0.45758
7,426
87,788
5.300431
0.102478
0.03727
0.071289
0.083687
0.820152
0.808059
0.78405
0.770458
0.754783
0.750946
0
0.006158
0.439491
87,788
2,282
363
38.469763
0.793196
0.011084
0
0.777036
1
0.018692
0.273157
0.005036
0
0
0
0
0
1
0.00178
false
0
0.00356
0
0.006676
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
76f62590f904ac02ec22387ebed471484f1497fd
4,533
py
Python
tests/core/test_datamodules.py
stas00/pytorch-lightning
84c507c4df5f5c336deb19ce7f70fa02329f39f6
[ "Apache-2.0" ]
1
2021-06-10T07:12:58.000Z
2021-06-10T07:12:58.000Z
tests/core/test_datamodules.py
stas00/pytorch-lightning
84c507c4df5f5c336deb19ce7f70fa02329f39f6
[ "Apache-2.0" ]
null
null
null
tests/core/test_datamodules.py
stas00/pytorch-lightning
84c507c4df5f5c336deb19ce7f70fa02329f39f6
[ "Apache-2.0" ]
null
null
null
import pickle import torch import pytest from pytorch_lightning import Trainer from tests.base.datamodules import TrialMNISTDataModule from tests.base import EvalModelTemplate from argparse import ArgumentParser def test_base_datamodule(tmpdir): dm = TrialMNISTDataModule() dm.prepare_data() dm.setup() d...
22.893939
92
0.668652
560
4,533
5.205357
0.148214
0.0494
0.06175
0.046312
0.840137
0.81235
0.81235
0.81235
0.766381
0.766381
0
0.011121
0.22634
4,533
197
93
23.010152
0.820074
0.017428
0
0.739437
0
0
0.048166
0
0
0
0
0
0.091549
1
0.077465
false
0
0.056338
0
0.133803
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
0a0919ea1dc6cbcecf7715d2ae433886c80b4a21
166
py
Python
tools/leetcode.242.Valid Anagram/leetcode.242.Valid Anagram.submission1.py
tedye/leetcode
975d7e3b8cb9b6be9e80e07febf4bcf6414acd46
[ "MIT" ]
4
2015-10-10T00:30:55.000Z
2020-07-27T19:45:54.000Z
tools/leetcode.242.Valid Anagram/leetcode.242.Valid Anagram.submission1.py
tedye/leetcode
975d7e3b8cb9b6be9e80e07febf4bcf6414acd46
[ "MIT" ]
null
null
null
tools/leetcode.242.Valid Anagram/leetcode.242.Valid Anagram.submission1.py
tedye/leetcode
975d7e3b8cb9b6be9e80e07febf4bcf6414acd46
[ "MIT" ]
null
null
null
class Solution: # @param {string} s # @param {string} t # @return {boolean} def isAnagram(self, s, t): return sorted(list(s))==sorted(list(t))
166
166
0.578313
22
166
4.363636
0.590909
0.229167
0
0
0
0
0
0
0
0
0
0
0.253012
166
1
166
166
0.774194
0.319277
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.333333
1
0
1
0
0
null
1
0
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
1
0
0
0
1
1
0
0
7
0a0e50bc4018f79233f5194287cbf1c61b8529bc
323
py
Python
ipython/startup/import_beartype.py
dycw/dotfiles2
9e23c4989e9813080da3658a8f98dbb1e03776f2
[ "MIT" ]
null
null
null
ipython/startup/import_beartype.py
dycw/dotfiles2
9e23c4989e9813080da3658a8f98dbb1e03776f2
[ "MIT" ]
null
null
null
ipython/startup/import_beartype.py
dycw/dotfiles2
9e23c4989e9813080da3658a8f98dbb1e03776f2
[ "MIT" ]
null
null
null
from contextlib import suppress with suppress(ModuleNotFoundError): from beartype import beartype # noqa: F401 from beartype.vale import Is # noqa: F401 from beartype.vale import IsAttr # noqa: F401 from beartype.vale import IsEqual # noqa: F401 from beartype.vale import IsSubclass # noqa: F4...
32.3
54
0.736842
41
323
5.804878
0.341463
0.252101
0.201681
0.336134
0.504202
0.504202
0
0
0
0
0
0.058824
0.210526
323
9
55
35.888889
0.87451
0.167183
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.857143
0
0.857143
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
6a537b1dd1a64dc5b4d65f89403140fc05d38c87
65
py
Python
collection/2.py
nemero/py_neural
87f151097f8c331a06f13b96c4cec9a1ee663abf
[ "MIT" ]
null
null
null
collection/2.py
nemero/py_neural
87f151097f8c331a06f13b96c4cec9a1ee663abf
[ "MIT" ]
1
2017-01-18T18:35:03.000Z
2017-01-25T08:55:49.000Z
collection/2.py
nemero/py_neural
87f151097f8c331a06f13b96c4cec9a1ee663abf
[ "MIT" ]
null
null
null
0 0 0 1 0 1 1 1 1 0 0 0 1 0 0 0 1 0 1 1 0 1 0 0 0 1 0 0 0 1 1 1 1
8.125
9
0.507692
33
65
1
0.060606
0.606061
0.454545
0.606061
1
0.878788
0.878788
0.545455
0.545455
0
0
1
0.492308
65
8
10
8.125
0
0
0
0.75
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
1
null
1
1
1
1
1
1
0
0
0
0
1
0
0
1
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
12
6a5e4c6e6126accfbbf8bdd30ff250a594535a73
25,200
py
Python
rlschool/liftsim/environment/mansion/test_elevator.py
ANCL/QuadPPO
b7ed0574467bd321f4259175621a12ff7aeb7d12
[ "MIT" ]
169
2019-07-15T02:23:54.000Z
2021-10-31T08:31:19.000Z
rlschool/liftsim/environment/mansion/test_elevator.py
ANCL/QuadPPO
b7ed0574467bd321f4259175621a12ff7aeb7d12
[ "MIT" ]
23
2019-07-22T05:11:13.000Z
2021-11-01T04:53:39.000Z
rlschool/liftsim/environment/mansion/test_elevator.py
ANCL/QuadPPO
b7ed0574467bd321f4259175621a12ff7aeb7d12
[ "MIT" ]
48
2019-07-15T02:21:42.000Z
2021-09-16T06:40:51.000Z
# Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved. # # 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 app...
38.414634
113
0.634921
2,823
25,200
5.405951
0.081119
0.074962
0.041282
0.061923
0.856694
0.837298
0.811087
0.778389
0.771771
0.763318
0
0.026293
0.278571
25,200
655
114
38.473282
0.813146
0.133849
0
0.814103
0
0
0.035152
0.024304
0
0
0
0
0.051282
1
0.019231
false
0
0.021368
0
0.042735
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
6a6194a2a790f3394fee53f4d76791e84363c659
2,245
py
Python
tests/test_integration_protocol.py
tstirrat15/pywinrm
124fe223eafa7bed3a1bf417c7f1ebc61d98850d
[ "MIT" ]
null
null
null
tests/test_integration_protocol.py
tstirrat15/pywinrm
124fe223eafa7bed3a1bf417c7f1ebc61d98850d
[ "MIT" ]
1
2016-03-10T21:01:51.000Z
2016-03-10T21:01:51.000Z
tests/test_integration_protocol.py
tstirrat15/pywinrm
124fe223eafa7bed3a1bf417c7f1ebc61d98850d
[ "MIT" ]
2
2016-03-10T17:07:45.000Z
2022-02-13T20:50:28.000Z
from __future__ import unicode_literals import re import pytest xfail = pytest.mark.xfail def test_open_shell_and_close_shell(protocol_real): shell_id = protocol_real.open_shell() assert re.match('^\w{8}-\w{4}-\w{4}-\w{4}-\w{12}$', shell_id) protocol_real.close_shell(shell_id) def test_run_command_wit...
29.933333
74
0.740312
341
2,245
4.472141
0.187683
0.220328
0.146885
0.137705
0.805246
0.805246
0.805246
0.805246
0.712131
0.712131
0
0.016546
0.13853
2,245
74
75
30.337838
0.771975
0
0
0.66
0
0.08
0.098441
0.057016
0
0
0
0
0.18
1
0.16
false
0
0.06
0
0.22
0
0
0
0
null
1
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
6a76c068bf5d42b59e23a34e19ca1e56cb448be6
79,144
py
Python
dashboard/dashboard/models/alert_group_workflow_test.py
Countryboy13/catapult
abc7ba7d871fe3c25b0a1bec7fc84fb309034cb7
[ "BSD-3-Clause" ]
null
null
null
dashboard/dashboard/models/alert_group_workflow_test.py
Countryboy13/catapult
abc7ba7d871fe3c25b0a1bec7fc84fb309034cb7
[ "BSD-3-Clause" ]
null
null
null
dashboard/dashboard/models/alert_group_workflow_test.py
Countryboy13/catapult
abc7ba7d871fe3c25b0a1bec7fc84fb309034cb7
[ "BSD-3-Clause" ]
null
null
null
# Copyright 2020 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # pylint: disable=too-many-lines from __future__ import print_function from __future__ import division from __future__ import absolute_import import datetim...
34.727512
99
0.629106
8,001
79,144
5.936508
0.053868
0.078824
0.089941
0.078066
0.887911
0.874521
0.863678
0.854162
0.847657
0.84132
0
0.008823
0.258213
79,144
2,278
100
34.742757
0.800232
0.02076
0
0.775607
0
0.000953
0.069746
0.020099
0
0
0
0.000439
0.080991
1
0.024297
false
0
0.00667
0
0.033826
0.000476
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
6abc784b678877e65c72b6b4b691f8fb993e0ae2
62,125
py
Python
entsoe/entsoe.py
lpirl/entsoe-py
edc9f08e8ce1622023498696435765a0b47d6964
[ "MIT" ]
null
null
null
entsoe/entsoe.py
lpirl/entsoe-py
edc9f08e8ce1622023498696435765a0b47d6964
[ "MIT" ]
null
null
null
entsoe/entsoe.py
lpirl/entsoe-py
edc9f08e8ce1622023498696435765a0b47d6964
[ "MIT" ]
null
null
null
import logging from typing import Union, Optional, Dict import pandas as pd from pandas.tseries.offsets import YearBegin, YearEnd import pytz import requests from bs4 import BeautifulSoup from entsoe.exceptions import InvalidPSRTypeError, InvalidBusinessParameterError from .exceptions import NoMatchingDataError, Pagi...
33.911026
120
0.572861
6,607
62,125
5.189345
0.070229
0.092078
0.055533
0.065945
0.844718
0.831126
0.814677
0.80231
0.792685
0.779619
0
0.005288
0.327243
62,125
1,831
121
33.929547
0.81505
0.221553
0
0.714448
0
0
0.048431
0.004724
0
0
0
0
0
1
0.071672
false
0
0.021615
0
0.166098
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
6ad500028db882c012d2e87030d5c74d7434b458
20,272
py
Python
plugins/minfraud/komand_minfraud/actions/device_lookup/schema.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
46
2019-06-05T20:47:58.000Z
2022-03-29T10:18:01.000Z
plugins/minfraud/komand_minfraud/actions/device_lookup/schema.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
386
2019-06-07T20:20:39.000Z
2022-03-30T17:35:01.000Z
plugins/minfraud/komand_minfraud/actions/device_lookup/schema.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
43
2019-07-09T14:13:58.000Z
2022-03-28T12:04:46.000Z
# GENERATED BY KOMAND SDK - DO NOT EDIT import komand import json class Component: DESCRIPTION = "Query device info" class Input: ACCEPT_LANGUAGE = "accept_language" ADDRESS = "address" USER_AGENT = "user_agent" class Output: DEVICE_RESULT = "device_result" IP_RESULT = "ip_result" ...
26.779392
64
0.404943
1,424
20,272
5.690309
0.076545
0.06294
0.094409
0.029619
0.800444
0.797729
0.789337
0.782303
0.770209
0.763915
0
0.008562
0.435379
20,272
756
65
26.814815
0.699371
0.001825
0
0.69852
1
0
0.973113
0.034103
0
0
0
0
0
1
0.002692
false
0
0.002692
0
0.024226
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
6ae38a3103a05f7f8603c9526ca6678ce7901459
8,668
py
Python
tests/visualization_tests/test_optimization_history.py
captain-pool/optuna
2ae8c17afea54362460320870304c763e91c0596
[ "MIT" ]
1,300
2018-12-03T06:11:11.000Z
2019-11-15T01:28:25.000Z
tests/visualization_tests/test_optimization_history.py
captain-pool/optuna
2ae8c17afea54362460320870304c763e91c0596
[ "MIT" ]
274
2018-12-04T09:54:07.000Z
2019-11-15T02:23:18.000Z
tests/visualization_tests/test_optimization_history.py
captain-pool/optuna
2ae8c17afea54362460320870304c763e91c0596
[ "MIT" ]
148
2018-12-03T10:48:50.000Z
2019-11-11T16:37:51.000Z
import numpy as np import pytest from optuna.study import create_study from optuna.trial import Trial from optuna.visualization import plot_optimization_history def test_target_is_none_and_study_is_multi_obj() -> None: study = create_study(directions=["minimize", "minimize"]) with pytest.raises(ValueError):...
38.017544
95
0.680434
1,234
8,668
4.610211
0.08671
0.068553
0.084901
0.066444
0.891545
0.868694
0.857268
0.824222
0.805238
0.79768
0
0.025759
0.198316
8,668
227
96
38.185022
0.79292
0.043955
0
0.758824
0
0
0.054776
0.011125
0
0
0
0
0.282353
1
0.070588
false
0
0.029412
0.005882
0.176471
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
0ac4e48cf16a5788526fd72ae3eff0bd6d43a0a2
16,224
py
Python
Tests/test_integration_manage_faculty.py
avirois/ProjectManagement
9e05d1302336ca4ef32bef93e28bcc69fdad7d4f
[ "WTFPL" ]
null
null
null
Tests/test_integration_manage_faculty.py
avirois/ProjectManagement
9e05d1302336ca4ef32bef93e28bcc69fdad7d4f
[ "WTFPL" ]
3
2021-03-24T11:53:18.000Z
2021-04-05T10:20:58.000Z
Tests/test_integration_manage_faculty.py
avirois/ProjectManagement
9e05d1302336ca4ef32bef93e28bcc69fdad7d4f
[ "WTFPL" ]
null
null
null
import pytest from selenium import webdriver from time import sleep from selenium.webdriver.support.select import Select import sqlite3 from static.classes.User import User, encryptPassword, decryptPassword # Global variable # Prepare the user and password for test username_test = "test111" password_test = "Aa123456!!...
35.657143
123
0.663955
1,934
16,224
5.389866
0.08635
0.069071
0.053626
0.082502
0.809766
0.805545
0.788469
0.777533
0.762855
0.747026
0
0.005107
0.239645
16,224
455
124
35.657143
0.839899
0.216963
0
0.665072
0
0
0.175433
0.045606
0
0
0
0
0.047847
1
0.052632
false
0.08134
0.028708
0
0.086124
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
7
0ad17b7bcbc1a6ba9d64dbbf0e5406ce4ae767cc
7,220
py
Python
webapi/tests/test_post.py
xqhgit/fastapi-vue-blog
4f90869c4b8078205239be38d79ac9be6dcb56b8
[ "MIT" ]
3
2022-03-10T08:43:24.000Z
2022-03-26T09:10:29.000Z
webapi/tests/test_post.py
xqhgit/fastapi-vue-blog
4f90869c4b8078205239be38d79ac9be6dcb56b8
[ "MIT" ]
null
null
null
webapi/tests/test_post.py
xqhgit/fastapi-vue-blog
4f90869c4b8078205239be38d79ac9be6dcb56b8
[ "MIT" ]
2
2022-03-11T03:14:38.000Z
2022-03-19T07:27:56.000Z
import json import pytest from starlette.testclient import TestClient from webapi.db.dals.post_dal import Post, PostDAL def test_get_posts(test_app: TestClient, monkeypatch): data = { "total": 2, "items": [ { "id": 1, "title": "a", "descr...
27.245283
93
0.556094
769
7,220
5.0013
0.113134
0.174727
0.046802
0.045762
0.887416
0.878055
0.862455
0.836713
0.815653
0.782631
0
0.030608
0.312188
7,220
264
94
27.348485
0.743858
0
0
0.701835
0
0
0.219668
0
0
0
0
0
0.055046
1
0.036697
false
0.009174
0.018349
0
0.114679
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
7c60532d800d8584b5a0f2a15210031ce4d6204b
11,080
py
Python
tf_routes/visualizations.py
jalhackl/tf_routes
25ce3bca61c52a537b2d0dd08696e9a8f54ab29b
[ "MIT" ]
1
2022-02-21T09:23:50.000Z
2022-02-21T09:23:50.000Z
tf_routes/visualizations.py
jalhackl/tf_routes
25ce3bca61c52a537b2d0dd08696e9a8f54ab29b
[ "MIT" ]
1
2022-02-21T21:41:43.000Z
2022-02-21T21:41:43.000Z
tf_routes/visualizations.py
jalhackl/tf_routes
25ce3bca61c52a537b2d0dd08696e9a8f54ab29b
[ "MIT" ]
null
null
null
from rdkit import Chem from rdkit.Chem import Draw from rdkit.Chem.Draw import IPythonConsole IPythonConsole.ipython_useSVG = False import logging from colorsys import hls_to_rgb from copy import deepcopy from rdkit.Chem import AllChem, Draw from rdkit.Chem.Draw import IPythonConsole, rdMolDraw2D logger = logging.ge...
27.493797
125
0.621209
1,261
11,080
5.408406
0.185567
0.013196
0.015836
0.010557
0.830059
0.784457
0.766276
0.738416
0.717302
0.717302
0
0.031849
0.274549
11,080
402
126
27.562189
0.816621
0.141155
0
0.763713
0
0
0.015137
0
0
0
0.001706
0
0
1
0.025316
false
0
0.067511
0
0.113924
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
7c8d13b1c87077b4c4f2ff141fbf7b1ee74251d6
53,005
py
Python
ngraph/python/tests/test_ngraph/test_create_op.py
AnastasiaKazantaeva/openvino
ec48fcb29bef94cca480573110a598afc3515019
[ "Apache-2.0" ]
null
null
null
ngraph/python/tests/test_ngraph/test_create_op.py
AnastasiaKazantaeva/openvino
ec48fcb29bef94cca480573110a598afc3515019
[ "Apache-2.0" ]
6
2022-02-11T15:01:22.000Z
2022-02-21T13:24:09.000Z
ngraph/python/tests/test_ngraph/test_create_op.py
AnastasiaKazantaeva/openvino
ec48fcb29bef94cca480573110a598afc3515019
[ "Apache-2.0" ]
null
null
null
# ****************************************************************************** # Copyright 2017-2020 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apa...
31.701555
110
0.660108
7,394
53,005
4.413714
0.054909
0.056963
0.032266
0.027945
0.831776
0.811981
0.798131
0.791236
0.777723
0.771503
0
0.035323
0.218602
53,005
1,671
111
31.720527
0.75262
0.022677
0
0.736842
0
0
0.042265
0.001661
0
0
0
0
0.130467
1
0.031875
false
0
0.00593
0
0.037806
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
7cb91ef62b6d238b31353a27cb8d256ad0c727ff
4,445
py
Python
notebooks/planning/helpers.py
janiapurv/swarm-reinforcement-learning
118c952f96e0c6cc093996fa1c76e7cc8a544bad
[ "MIT" ]
null
null
null
notebooks/planning/helpers.py
janiapurv/swarm-reinforcement-learning
118c952f96e0c6cc093996fa1c76e7cc8a544bad
[ "MIT" ]
null
null
null
notebooks/planning/helpers.py
janiapurv/swarm-reinforcement-learning
118c952f96e0c6cc093996fa1c76e7cc8a544bad
[ "MIT" ]
null
null
null
""" Helper methods and variables ============================ """ import plotly.graph_objs as go def obstacle_generator(obstacle_map): """ Generates a grid map with obstacles for testing Args: obstacle_map: Numpy array of zeros of shape atleast 100x100x100 Returns: Numpy arr...
38.991228
71
0.375028
814
4,445
2.031941
0.081081
0.067715
0.072551
0.077388
0.817412
0.817412
0.817412
0.817412
0.817412
0.817412
0
0.316119
0.424972
4,445
113
72
39.336283
0.330986
0.052418
0
0.869565
1
0
0.011525
0
0
0
0
0
0
1
0.01087
false
0
0.01087
0
0.032609
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
7cdc9614c25474564f4623de22ded062fa0e684a
31,034
py
Python
mridul_mtech_project.py
shaktimukker/bacterial-growth-analysis
8288745ec8c069ca1e91c60dcccd5dbdddaf510e
[ "MIT" ]
null
null
null
mridul_mtech_project.py
shaktimukker/bacterial-growth-analysis
8288745ec8c069ca1e91c60dcccd5dbdddaf510e
[ "MIT" ]
null
null
null
mridul_mtech_project.py
shaktimukker/bacterial-growth-analysis
8288745ec8c069ca1e91c60dcccd5dbdddaf510e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Sat May 29 16:31:46 2021 @author: shakt """ import pandas as pd import numpy as np import matplotlib.pyplot as plt from scipy.optimize import curve_fit from gekko import GEKKO from mpl_toolkits.mplot3d import Axes3D import matplotlib.pyplot as plt path=r"/Users/shaktimukker/Docu...
29.897881
269
0.618902
6,106
31,034
3.085326
0.074353
0.016561
0.010829
0.018685
0.861564
0.823611
0.803705
0.776634
0.748925
0.737141
0
0.044719
0.139653
31,034
1,037
270
29.926712
0.660861
0
0
0.65488
0
0.009901
0.109408
0.046478
0
0
0
0
0
0
null
null
0
0.07355
null
null
0.048091
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
7ce9d90709d88fbafeda91829b7281a0835d3dc0
210,170
py
Python
desktop/libs/dashboard/src/dashboard/tests.py
linwukang/hue
93a8c370713e70b216c428caa2f75185ef809deb
[ "Apache-2.0" ]
1
2019-06-23T13:22:07.000Z
2019-06-23T13:22:07.000Z
desktop/libs/dashboard/src/dashboard/tests.py
zks888/hue
93a8c370713e70b216c428caa2f75185ef809deb
[ "Apache-2.0" ]
4
2021-03-11T04:02:00.000Z
2022-03-27T08:31:56.000Z
desktop/libs/dashboard/src/dashboard/tests.py
zks888/hue
93a8c370713e70b216c428caa2f75185ef809deb
[ "Apache-2.0" ]
1
2017-11-09T09:31:28.000Z
2017-11-09T09:31:28.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # Licensed to Cloudera, Inc. under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. Cloudera, Inc. licenses this file # to you under the Apache License, Version 2.0 (...
126.152461
96,564
0.722672
23,378
210,170
6.43156
0.093122
0.038548
0.068357
0.054151
0.793804
0.779644
0.753879
0.734066
0.717838
0.703552
0.000114
0.024681
0.08505
210,170
1,665
96,565
126.228228
0.757102
0.009706
0
0.36422
0
0.059872
0.924364
0.628154
0
0
0
0.000601
0.052031
1
0.014968
false
0.000713
0.00784
0.000713
0.032787
0
0
0
0
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
0
0
0
0
0
0
0
0
0
0
0
0
0
9
7cf6b39db3b711cf6a72da02cd3d64e1fe916614
276
py
Python
jsondler/json_tools/__init__.py
loven-doo/jsondler
1466f022fc059a5a58e34dcc3ebddb76b5f82c5c
[ "BSD-3-Clause" ]
null
null
null
jsondler/json_tools/__init__.py
loven-doo/jsondler
1466f022fc059a5a58e34dcc3ebddb76b5f82c5c
[ "BSD-3-Clause" ]
null
null
null
jsondler/json_tools/__init__.py
loven-doo/jsondler
1466f022fc059a5a58e34dcc3ebddb76b5f82c5c
[ "BSD-3-Clause" ]
null
null
null
from jsondler.json_tools.requests import get_by_path, deepupdate, deepdiff, query, where from jsondler.json_tools.index import index_dicts_list from jsondler.json_tools.restruct import columnize_dicts_list from jsondler.json_tools.sort import sort_dicts_list, get_paths_order
55.2
88
0.876812
43
276
5.302326
0.488372
0.210526
0.280702
0.368421
0.263158
0.263158
0
0
0
0
0
0
0.076087
276
4
89
69
0.894118
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
7cfb960110c41345cf6de27aa3b8c945bfe271a5
4,744
py
Python
nc/migrations/0030_auto_20180605_0032.py
kfarrelly/nucleo
096fa9fdfac39383269904f5d58b3714ce2d2f46
[ "Apache-2.0" ]
1
2022-01-10T23:35:53.000Z
2022-01-10T23:35:53.000Z
nc/migrations/0030_auto_20180605_0032.py
kfarrelly/nucleo
096fa9fdfac39383269904f5d58b3714ce2d2f46
[ "Apache-2.0" ]
null
null
null
nc/migrations/0030_auto_20180605_0032.py
kfarrelly/nucleo
096fa9fdfac39383269904f5d58b3714ce2d2f46
[ "Apache-2.0" ]
1
2022-01-10T23:36:32.000Z
2022-01-10T23:36:32.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.13 on 2018-06-05 00:32 from __future__ import unicode_literals import django.core.validators from django.db import migrations, models import functools import nc.models import nc.validators class Migration(migrations.Migration): dependencies = [ ('nc', '...
94.88
684
0.704469
663
4,744
4.956259
0.147813
0.118685
0.08521
0.068472
0.851491
0.851491
0.848448
0.799757
0.799757
0.799757
0
0.01957
0.116779
4,744
49
685
96.816327
0.764678
0.014545
0
0.5
1
0
0.339683
0.129067
0
0
0
0
0
1
0
false
0
0.142857
0
0.214286
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
6b2df2a898ddeee3fd75e883cf4e4aa3bca387df
130
py
Python
s3imageservice/celery.py
The-Politico/django-s3-image-service
da8afd36b82c031ed09d881e7b3de013061e9ccd
[ "MIT" ]
7
2018-07-23T16:35:07.000Z
2021-12-22T16:42:08.000Z
s3imageservice/celery.py
The-Politico/django-s3-image-service
da8afd36b82c031ed09d881e7b3de013061e9ccd
[ "MIT" ]
13
2019-01-07T22:42:30.000Z
2022-02-27T10:53:02.000Z
s3imageservice/celery.py
The-Politico/django-s3-image-service
da8afd36b82c031ed09d881e7b3de013061e9ccd
[ "MIT" ]
2
2020-07-27T02:25:59.000Z
2020-10-17T20:54:22.000Z
# flake8: noqa from s3imageservice.tasks.aws import publish_to_aws from s3imageservice.tasks.process_images import process_images
32.5
62
0.869231
18
130
6.055556
0.611111
0.330275
0.422018
0
0
0
0
0
0
0
0
0.02521
0.084615
130
3
63
43.333333
0.890756
0.092308
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
6b3904e6e83f23552760c2fc7f92020174c52e3f
146,908
py
Python
tests/api_data/dsm_6/surveillance_station/const_6_api_info.py
synodriver/synologydsm-api
cb086f53dd3f4f8eceb4ab4dbc07bc8888df2b17
[ "MIT" ]
37
2020-02-10T19:10:40.000Z
2022-03-04T17:17:41.000Z
tests/api_data/dsm_6/surveillance_station/const_6_api_info.py
synodriver/synologydsm-api
cb086f53dd3f4f8eceb4ab4dbc07bc8888df2b17
[ "MIT" ]
161
2020-12-22T06:47:36.000Z
2022-03-28T21:09:10.000Z
tests/api_data/dsm_6/surveillance_station/const_6_api_info.py
mib1185/python-synology
dc721537b981d97c1e53ee8a4f20f9536805c360
[ "MIT" ]
19
2020-04-02T09:23:08.000Z
2021-11-29T13:11:58.000Z
"""DSM 6 SYNO.API.Info data with surveillance surppot.""" DSM_6_API_INFO = { "data": { "SYNO.API.Auth": {"maxVersion": 6, "minVersion": 1, "path": "auth.cgi"}, "SYNO.API.Encryption": { "maxVersion": 1, "minVersion": 1, "path": "encryption.cgi", }, ...
30.352893
81
0.424762
10,419
146,908
5.988291
0.059123
0.140691
0.191852
0.314143
0.929703
0.927346
0.91212
0.909652
0.909652
0.907664
0
0.018946
0.411135
146,908
4,839
82
30.359165
0.702274
0.000347
0
0.658259
0
0
0.434876
0.150282
0
0
0
0
0
1
0
false
0.00124
0.000207
0
0.000207
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
861369b719399eb44ab3578f84bb10c85b8af8f1
63,828
py
Python
detection/maskrcnn_benchmark/modeling/roi_heads/iou_head/loss.py
fregu856/ebms_regression
95e5b513808d2ea1c2a0aea107727f6e66918f16
[ "MIT" ]
74
2020-05-05T01:34:11.000Z
2022-03-15T06:47:38.000Z
detection/maskrcnn_benchmark/modeling/roi_heads/iou_head/loss.py
fregu856/ebms_regression
95e5b513808d2ea1c2a0aea107727f6e66918f16
[ "MIT" ]
5
2020-08-05T10:07:27.000Z
2021-12-24T09:37:53.000Z
detection/maskrcnn_benchmark/modeling/roi_heads/iou_head/loss.py
fregu856/ebms_regression
95e5b513808d2ea1c2a0aea107727f6e66918f16
[ "MIT" ]
14
2020-05-14T21:59:00.000Z
2022-01-29T16:08:00.000Z
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. import torch import torch.nn as nn from torch.nn import functional as F from maskrcnn_benchmark.layers import smooth_l1_loss from maskrcnn_benchmark.structures.boxlist_ops import boxlist_iou from maskrcnn_benchmark.structures.bounding_box i...
38.967033
214
0.577537
8,202
63,828
4.179712
0.048281
0.055569
0.032379
0.01896
0.799691
0.773496
0.748439
0.737617
0.721341
0.71011
0
0.022259
0.296155
63,828
1,637
215
38.990837
0.740835
0.195149
0
0.701676
0
0
0.007639
0
0
0
0
0.010385
0.006704
1
0.054749
false
0
0.010056
0.001117
0.121788
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
7
8646f3b9872326e55f4a737c981fa618ebe97292
13,551
py
Python
minihinch/gui/fonts/arial_50.py
aabbtree77/esp32-mqtt-experiments
c008161a2cfe8607d6e3d5b635cbccc98b4bd553
[ "MIT" ]
198
2018-08-31T22:30:28.000Z
2022-03-27T14:21:36.000Z
minihinch/gui/fonts/arial_50.py
aabbtree77/esp32-mqtt-experiments
c008161a2cfe8607d6e3d5b635cbccc98b4bd553
[ "MIT" ]
24
2018-10-01T23:44:25.000Z
2022-01-08T09:05:14.000Z
minihinch/gui/fonts/arial_50.py
aabbtree77/esp32-mqtt-experiments
c008161a2cfe8607d6e3d5b635cbccc98b4bd553
[ "MIT" ]
44
2018-09-30T02:09:56.000Z
2022-03-25T07:37:36.000Z
# Code generated by font_to_py.py. # Font: Arial.ttf Char set: 0123456789: # Cmd: ./font_to_py.py Arial.ttf 50 arial_50.py -x -c 0123456789: version = '0.33' def height(): return 50 def baseline(): return 49 def max_width(): return 37 def hmap(): return True def reverse(): return False def mon...
58.158798
68
0.703786
3,272
13,551
2.908619
0.031785
0.46212
0.381107
0.240832
0.8385
0.753494
0.700116
0.62982
0.556163
0.505622
0
0.339435
0.028411
13,551
232
69
58.409483
0.383412
0.009889
0
0.12093
1
0.860465
0.883024
0.881533
0
1
0
0
0
1
0.04186
false
0
0
0.037209
0.083721
0
0
0
0
null
1
1
1
1
1
1
0
0
0
0
1
0
0
0
0
0
1
0
0
0
1
1
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
13
8650b678b1deb288e3f71c5785e520b3a120b022
55,912
py
Python
backend/api/tests/ProyectoTestCase.py
kukiamarilla/polijira
510dbc1473db973ac71fc68fa5a9b758b90a780b
[ "MIT" ]
1
2022-03-02T02:28:49.000Z
2022-03-02T02:28:49.000Z
backend/api/tests/ProyectoTestCase.py
kukiamarilla/polijira
510dbc1473db973ac71fc68fa5a9b758b90a780b
[ "MIT" ]
22
2021-09-01T17:44:25.000Z
2021-10-07T19:39:09.000Z
backend/api/tests/ProyectoTestCase.py
kukiamarilla/polijira
510dbc1473db973ac71fc68fa5a9b758b90a780b
[ "MIT" ]
null
null
null
import datetime from django.test import TestCase, Client from backend.api.models import Miembro, Proyecto, RolProyecto, Usuario, Permiso, PermisoProyecto, SprintBacklog from backend.api.models.Sprint import Sprint from backend.api.models.UserStory import UserStory class ProyectoTestCase(TestCase): """ Proyect...
47.544218
117
0.659733
6,220
55,912
5.747749
0.037942
0.064446
0.040838
0.041174
0.941121
0.898129
0.831865
0.782971
0.757014
0.724931
0
0.015284
0.226517
55,912
1,175
118
47.584681
0.811386
0.115682
0
0.721649
0
0
0.245755
0.024347
0
0
0
0.002553
0.216495
1
0.074456
false
0.07331
0.005727
0
0.082474
0.12142
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
86566fb95b84a16a481c83fb33c46c90d16c018d
8,315
py
Python
py/2015/2A.py
pedrotari7/advent_of_code
98d5bc8d903435624a019a5702f5421d7b4ef8c8
[ "MIT" ]
null
null
null
py/2015/2A.py
pedrotari7/advent_of_code
98d5bc8d903435624a019a5702f5421d7b4ef8c8
[ "MIT" ]
null
null
null
py/2015/2A.py
pedrotari7/advent_of_code
98d5bc8d903435624a019a5702f5421d7b4ef8c8
[ "MIT" ]
null
null
null
presents = """20x3x11 15x27x5 6x29x7 30x15x9 19x29x21 10x4x15 1x26x4 1x5x18 10x15x23 10x14x20 3x5x18 29x23x30 7x4x10 22x24x29 30x1x2 19x2x5 11x9x22 23x15x10 11x11x10 30x28x5 22x5x4 6x26x20 16x12x30 10x20x5 25x14x24 16x17x22 11x28x26 1x11x10 1x24x15 13x17x21 30x3x13 20x25x17 22x12x5 22x20x24 9x2x14 6x18x8 27x28x24 11x17...
1,187.857143
8,137
0.869513
1,043
8,315
6.931927
0.949185
0.001107
0.00166
0.003873
0
0
0
0
0
0
0
0.704461
0.123873
8,315
7
8,138
1,187.857143
0.287989
0
0
0
0
0.25
0.976551
0
0
0
0
0
0
0
null
null
0
0
null
null
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1
1
1
0
0
0
0
1
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
865e127f8bf53cfcb9401018ad1d7b1f04698c86
54,836
py
Python
test-runner/adapters/rest/generated/e2erestapi/operations/_module_operations.py
Azure/iot-sdks-e2e-fx
b57f71aa3bda26839ba50e26c9cdefb52ea5b8df
[ "MIT" ]
12
2019-02-02T00:15:13.000Z
2022-02-08T18:20:08.000Z
test-runner/adapters/rest/generated/e2erestapi/operations/_module_operations.py
Azure/iot-sdks-e2e-fx
b57f71aa3bda26839ba50e26c9cdefb52ea5b8df
[ "MIT" ]
36
2019-02-14T22:53:17.000Z
2022-03-22T22:41:38.000Z
test-runner/adapters/rest/generated/e2erestapi/operations/_module_operations.py
Azure/iot-sdks-e2e-fx
b57f71aa3bda26839ba50e26c9cdefb52ea5b8df
[ "MIT" ]
12
2019-02-19T13:28:25.000Z
2022-02-08T18:20:55.000Z
# coding=utf-8 # -------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- from ...
41.292169
136
0.665019
5,660
54,836
6.240283
0.045053
0.036806
0.028313
0.031144
0.888392
0.876387
0.870696
0.863052
0.858409
0.858409
0
0.00427
0.248286
54,836
1,327
137
41.323286
0.852575
0.342184
0
0.7691
1
0
0.095865
0.031843
0
0
0
0
0
1
0.044143
false
0.005093
0.005093
0
0.117148
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
86d6b0f632c57c531653f2fc0777c7d4ab0b0fd7
14,034
py
Python
tests/test_oauth2_resource_owner_password.py
bottoy/requests_auth
f95ecd833d52341ebe0e2c974d133577ae124dd9
[ "MIT" ]
null
null
null
tests/test_oauth2_resource_owner_password.py
bottoy/requests_auth
f95ecd833d52341ebe0e2c974d133577ae124dd9
[ "MIT" ]
null
null
null
tests/test_oauth2_resource_owner_password.py
bottoy/requests_auth
f95ecd833d52341ebe0e2c974d133577ae124dd9
[ "MIT" ]
null
null
null
from responses import RequestsMock import pytest import requests import requests_auth from tests.oauth2_helper import token_cache from tests.auth_helper import get_header, get_request def test_oauth2_password_credentials_flow_token_is_sent_in_authorization_header_by_default( token_cache, responses: RequestsMock ...
36.931579
215
0.684053
1,488
14,034
6.159946
0.108871
0.045603
0.061204
0.079206
0.804822
0.79544
0.776238
0.755837
0.755837
0.741436
0
0.010579
0.211914
14,034
379
216
37.029024
0.818174
0
0
0.608824
0
0.005882
0.342454
0.042041
0
0
0
0
0.064706
1
0.055882
false
0.117647
0.017647
0
0.073529
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
7
86e9edf3aae31c827a04d678ebd3f96beea33c5b
147,957
py
Python
utils/common_sql.py
gtouchgogo/qtalk_search
9cc34572c187033fb860c1b1988ca3d24c95738b
[ "MIT" ]
1
2021-01-08T07:47:39.000Z
2021-01-08T07:47:39.000Z
utils/common_sql.py
startalkIM/search
7737b4e83cd02e63a78e2e93d2b960f70d33539f
[ "MIT" ]
2
2019-12-04T07:59:36.000Z
2021-09-15T09:19:19.000Z
utils/common_sql.py
startalkIM/search
7737b4e83cd02e63a78e2e93d2b960f70d33539f
[ "MIT" ]
6
2019-11-21T14:10:58.000Z
2021-02-15T17:30:04.000Z
#!/usr/bin/env python # -*- coding:utf-8 -*- __author__ = 'jingyu.he' import psycopg2 from psycopg2 import sql import re import sys import time import json import asyncpg from collections import defaultdict from functools import reduce from utils.get_conf import get_config_file, get_logger_file from utils.logger_conf i...
50.722317
763
0.50172
18,018
147,957
3.875791
0.02603
0.019503
0.010826
0.011928
0.921041
0.90466
0.889266
0.874388
0.862617
0.84582
0
0.010417
0.384943
147,957
2,916
764
50.739712
0.756972
0.047602
0
0.842186
0
0.040801
0.32765
0.018672
0
0
0
0.001372
0
1
0.011162
false
0.00154
0.007698
0.000385
0.048884
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
86fe33cd8857890f8e4a788280e9599b12ece0f5
11,428
py
Python
tests/test_us/tests.py
MehdioKhan/django-localflavor
7cb223bf801ebc7659cc314a8a870e47e5004488
[ "BSD-3-Clause" ]
1
2018-11-28T22:08:17.000Z
2018-11-28T22:08:17.000Z
tests/test_us/tests.py
DalavanCloud/django-localflavor
b78df3bbfa5e07e3f6b78a09d43c45eb39fa1196
[ "BSD-3-Clause" ]
null
null
null
tests/test_us/tests.py
DalavanCloud/django-localflavor
b78df3bbfa5e07e3f6b78a09d43c45eb39fa1196
[ "BSD-3-Clause" ]
null
null
null
from __future__ import unicode_literals from django.test import TestCase from localflavor.us import forms from .forms import USPlaceForm class USLocalFlavorTests(TestCase): def setUp(self): self.form = USPlaceForm({ 'state': 'GA', 'state_req': 'NC', 'postal_code': '...
37.84106
115
0.676146
1,467
11,428
5.215406
0.174506
0.261665
0.397726
0.021958
0.774931
0.733107
0.712456
0.705137
0.705137
0.705137
0
0.018579
0.142807
11,428
301
116
37.966777
0.762454
0.025289
0
0.691756
0
0.003584
0.733105
0.314047
0
0
0
0
0.060932
1
0.039427
false
0
0.014337
0
0.057348
0
0
0
0
null
1
1
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
8102d916c7417017126a5788f222b57c087c9f8d
113
py
Python
stockzie/strategy/__init__.py
amozie/amozie
fb7c16ce537bc5567f9c87cfc22c564a4dffc4ef
[ "Apache-2.0" ]
null
null
null
stockzie/strategy/__init__.py
amozie/amozie
fb7c16ce537bc5567f9c87cfc22c564a4dffc4ef
[ "Apache-2.0" ]
null
null
null
stockzie/strategy/__init__.py
amozie/amozie
fb7c16ce537bc5567f9c87cfc22c564a4dffc4ef
[ "Apache-2.0" ]
null
null
null
from stockzie.strategy.BaseStrategy import BaseStrategy from stockzie.strategy.Ma520Strategy import Ma520Strategy
56.5
57
0.902655
12
113
8.5
0.5
0.235294
0.392157
0
0
0
0
0
0
0
0
0.056604
0.061947
113
2
57
56.5
0.90566
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
811277c093dbcf243161bbbf3179b962a83db4b6
3,032
py
Python
tests/unit/actions/conftest.py
mascheck/hcloud-python
ffbfd32418c191676ce7f03a5e384bb123eb904a
[ "MIT" ]
2
2020-12-11T18:09:44.000Z
2020-12-12T05:53:22.000Z
tests/unit/actions/conftest.py
mascheck/hcloud-python
ffbfd32418c191676ce7f03a5e384bb123eb904a
[ "MIT" ]
null
null
null
tests/unit/actions/conftest.py
mascheck/hcloud-python
ffbfd32418c191676ce7f03a5e384bb123eb904a
[ "MIT" ]
1
2019-06-19T17:53:10.000Z
2019-06-19T17:53:10.000Z
import pytest @pytest.fixture() def generic_action_list(): return { "actions": [ { "id": 1, "command": "start_server", "status": "success", "progress": 100, "started": "2016-01-30T23:55:00+00:00", "...
25.694915
56
0.329485
216
3,032
4.555556
0.171296
0.081301
0.111789
0.111789
0.888211
0.888211
0.888211
0.888211
0.888211
0.780488
0
0.145329
0.523417
3,032
117
57
25.91453
0.53564
0
0
0.66055
0
0
0.28661
0.082454
0
0
0
0
0
1
0.036697
true
0
0.009174
0.036697
0.082569
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
1
0
0
0
0
0
0
8
814385fa659d6706f57b0a753a9bb46550f4b48c
12,599
py
Python
wBDA.py
chenjiehu/MGCN_ODA
311a71444d6e22d4049d7356c1aa31584857006c
[ "MIT" ]
null
null
null
wBDA.py
chenjiehu/MGCN_ODA
311a71444d6e22d4049d7356c1aa31584857006c
[ "MIT" ]
null
null
null
wBDA.py
chenjiehu/MGCN_ODA
311a71444d6e22d4049d7356c1aa31584857006c
[ "MIT" ]
null
null
null
import torch from sklearn import metrics import sklearn.metrics import numpy as np from predict_A_distance import proxy_a_distance from wMMD import mmd def kernel(ker, X1, X2, gamma): K = None if not ker or ker == 'primal': K = X1 elif ker == 'linear': if X2 is not None: K = skl...
36.625
115
0.561235
1,752
12,599
3.789384
0.079909
0.091881
0.056484
0.0241
0.803585
0.77105
0.754029
0.741527
0.732189
0.701009
0
0.020411
0.311691
12,599
343
116
36.731778
0.745157
0.004524
0
0.74359
0
0
0.009413
0
0
0
0
0
0
1
0.029304
false
0
0.025641
0
0.084249
0.018315
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
d4b4820fbe9a213a29610ac7f91fb7bf016a4e6c
9,019
py
Python
dbaas/workflow/steps/mysql/flipperfox_migration/acl_database_bind.py
jaeko44/python_dbaas
4fafa4ad70200fec1436c326c751761922ec9fa8
[ "BSD-3-Clause" ]
null
null
null
dbaas/workflow/steps/mysql/flipperfox_migration/acl_database_bind.py
jaeko44/python_dbaas
4fafa4ad70200fec1436c326c751761922ec9fa8
[ "BSD-3-Clause" ]
null
null
null
dbaas/workflow/steps/mysql/flipperfox_migration/acl_database_bind.py
jaeko44/python_dbaas
4fafa4ad70200fec1436c326c751761922ec9fa8
[ "BSD-3-Clause" ]
1
2017-07-02T08:46:17.000Z
2017-07-02T08:46:17.000Z
# -*- coding: utf-8 -*- import logging from util import full_stack from util import get_credentials_for from workflow.steps.util.base import BaseStep from workflow.exceptions.error_codes import DBAAS_0020 from dbaas_credentials.models import CredentialType from dbaas_cloudstack.models import DatabaseInfraAttr from dbaa...
41.948837
112
0.557157
730
9,019
6.583562
0.131507
0.049938
0.063254
0.041615
0.895963
0.873075
0.873075
0.873075
0.873075
0.873075
0
0.003776
0.383302
9,019
214
113
42.14486
0.860302
0.002328
0
0.879518
0
0
0.04402
0
0
0
0
0
0
1
0.036145
false
0.024096
0.066265
0.012048
0.174699
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
be0a5ece4a96c29e5806b7110928eb7eed866a04
65,341
py
Python
airavata-api/airavata-client-sdks/airavata-python-sdk/airavata/service/profile/tenant/cpi/TenantProfileService.py
docquantum/airavata
4ec5fa0aab1b75ca1e98a16648c57cd8abdb4b9c
[ "ECL-2.0", "Apache-2.0" ]
74
2015-04-10T02:57:26.000Z
2022-02-28T16:10:03.000Z
airavata-api/airavata-client-sdks/airavata-python-sdk/airavata/service/profile/tenant/cpi/TenantProfileService.py
docquantum/airavata
4ec5fa0aab1b75ca1e98a16648c57cd8abdb4b9c
[ "ECL-2.0", "Apache-2.0" ]
126
2015-04-26T02:55:26.000Z
2022-02-16T22:43:28.000Z
airavata-api/airavata-client-sdks/airavata-python-sdk/airavata/service/profile/tenant/cpi/TenantProfileService.py
docquantum/airavata
4ec5fa0aab1b75ca1e98a16648c57cd8abdb4b9c
[ "ECL-2.0", "Apache-2.0" ]
163
2015-01-22T14:05:24.000Z
2022-03-17T12:24:34.000Z
# # Autogenerated by Thrift Compiler (0.10.0) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # # options string: py # from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException from thrift.protocol.TProtocol import TProtocolException import sys import airavata....
38.390717
220
0.603327
6,565
65,341
5.833054
0.031531
0.014624
0.026323
0.023032
0.881026
0.849898
0.835562
0.815324
0.790646
0.790646
0
0.004746
0.29698
65,341
1,701
221
38.413286
0.828892
0.024074
0
0.852833
1
0
0.035729
0.005254
0
0
0
0
0
1
0.100074
false
0.005151
0.005887
0.025754
0.202355
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
076e3f3e40b888bde05dbc604bb2668511635ee7
1,135
py
Python
model_selection_cb/make_scripts.py
akshaykr/oracle_cb
68f10fce5eca8ebe3f57fd5a56a0ef8d82537ab4
[ "MIT" ]
26
2017-08-02T19:58:06.000Z
2021-11-03T06:31:01.000Z
model_selection_cb/make_scripts.py
akshaykr/oracle_cb
68f10fce5eca8ebe3f57fd5a56a0ef8d82537ab4
[ "MIT" ]
1
2020-03-03T06:06:32.000Z
2020-03-03T06:06:32.000Z
model_selection_cb/make_scripts.py
akshaykr/oracle_cb
68f10fce5eca8ebe3f57fd5a56a0ef8d82537ab4
[ "MIT" ]
10
2017-06-02T19:34:38.000Z
2022-03-22T10:38:51.000Z
import numpy as np if __name__=='__main__': T = 4000 d = 1000 s = 10 K = 2 delta_vals = np.logspace(-3,1,10) eps_vals = np.logspace(-3,1,10) iters = 20 print("cd ../") for i in range(len(delta_vals)): print("python3 -W ignore LimeCB.py --T %d --d %d --s %d --K %d --iters...
51.590909
183
0.532159
213
1,135
2.760563
0.206573
0.034014
0.110544
0.161565
0.828231
0.812925
0.751701
0.751701
0.751701
0.751701
0
0.052995
0.235242
1,135
21
184
54.047619
0.624424
0
0
0
0
0.3125
0.542328
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.0625
0.375
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
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
0789ba58e6a1adb60f102222e0f0451c03b4a69c
19,484
py
Python
elitist_es.py
LsTam91/elitist_constrained_es
3c707165b4462c736284c53e0afe2f58e49ed418
[ "MIT" ]
1
2021-04-27T08:20:19.000Z
2021-04-27T08:20:19.000Z
elitist_es.py
LsTam91/elitist_constrained_es
3c707165b4462c736284c53e0afe2f58e49ed418
[ "MIT" ]
null
null
null
elitist_es.py
LsTam91/elitist_constrained_es
3c707165b4462c736284c53e0afe2f58e49ed418
[ "MIT" ]
null
null
null
import numpy as np class CholeskyElitistES: """ Implementation of the (1+1)-Cholesky-CMA-ES without constraint. It is the implementation presented in the article: 'A Computational Efficient Covariance Matrix Update and a (1+1)CMA for Evolution Strategies' by C. Igel, T. Suttorp, and N. Hansen....
32.204959
109
0.516064
2,713
19,484
3.638776
0.100258
0.025831
0.014587
0.013675
0.821515
0.787784
0.77654
0.759724
0.75
0.73987
0
0.025879
0.363375
19,484
605
110
32.204959
0.769994
0.198573
0
0.742105
0
0
0.033101
0
0
0
0
0
0.010526
1
0.065789
false
0
0.002632
0
0.144737
0.055263
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