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
5323e094092974513a2dc088e7cf3580a018018c
3,599
py
Python
src/codespaces/azext_codespaces/commands.py
tilnl/azure-cli-extensions
ef9946bbcde34bb51343554a8f2a8dedd1f7d44a
[ "MIT" ]
null
null
null
src/codespaces/azext_codespaces/commands.py
tilnl/azure-cli-extensions
ef9946bbcde34bb51343554a8f2a8dedd1f7d44a
[ "MIT" ]
null
null
null
src/codespaces/azext_codespaces/commands.py
tilnl/azure-cli-extensions
ef9946bbcde34bb51343554a8f2a8dedd1f7d44a
[ "MIT" ]
null
null
null
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
55.369231
118
0.714365
427
3,599
5.679157
0.269321
0.054845
0.098144
0.069278
0.540619
0.437938
0.355464
0.323299
0.294433
0.294433
0
0
0.145318
3,599
64
119
56.234375
0.788362
0.154765
0
0.046512
0
0
0.23153
0.03562
0
0
0
0.015625
0
1
0.046512
false
0.023256
0.069767
0.023256
0.139535
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
532af880fba1a2eedb41673dc4ba4275560344bd
1,759
py
Python
sitemap/worm.py
gopal131072/WormScraper
5722db2e3f21960a2353cd867e4795823c89ed4e
[ "MIT" ]
1
2017-06-16T17:27:11.000Z
2017-06-16T17:27:11.000Z
sitemap/worm.py
gopal131072/WormScraper
5722db2e3f21960a2353cd867e4795823c89ed4e
[ "MIT" ]
null
null
null
sitemap/worm.py
gopal131072/WormScraper
5722db2e3f21960a2353cd867e4795823c89ed4e
[ "MIT" ]
null
null
null
import bs4 as bs import urllib.request import sys import os.path # Reads the table of contents to try and generate a sitemap for the serial. # I would use the actual sitemap but this is easier since the sitemap is in reverse chronological # order whereas this is in the actual chronological order and is formatted bett...
37.425532
125
0.697555
284
1,759
4.323944
0.514085
0.013029
0.02443
0.017915
0.037459
0.037459
0.037459
0.037459
0
0
0
0.01481
0.19386
1,759
46
126
38.23913
0.849083
0.419557
0
0
1
0
0.328713
0.049505
0
0
0
0
0
1
0
false
0
0.148148
0
0.148148
0.185185
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
532bd4d93505d83aad71643d4b7f160f4cd53afe
4,226
py
Python
tests/test_socket.py
taskx6004/pyspectrum
2855492967b0717788f08653e44da2f83858d927
[ "MIT" ]
3
2020-07-10T09:56:21.000Z
2021-12-03T04:41:20.000Z
tests/test_socket.py
taskx6004/pyspectrum
2855492967b0717788f08653e44da2f83858d927
[ "MIT" ]
4
2020-08-09T17:58:34.000Z
2021-04-03T08:19:18.000Z
tests/test_socket.py
taskx6004/pyspectrum
2855492967b0717788f08653e44da2f83858d927
[ "MIT" ]
2
2020-07-16T19:13:21.000Z
2021-08-07T14:04:10.000Z
from dataSources import DataSource_socket import pytest def test_socket_connection_fails(): sock = DataSource_socket.Input(ip_address_port="test_missing_lookup:1", data_type="16tbe", sample_rate=1.0, centre_frequency=1.0, input_bw=1.0) # fa...
41.431373
91
0.586133
579
4,226
4.058722
0.184801
0.028085
0.098298
0.10766
0.705532
0.705532
0.68
0.64766
0.64766
0.577021
0
0.121222
0.295315
4,226
101
92
41.841584
0.667898
0.0885
0
0.527778
0
0
0.073679
0.005467
0
0
0.012497
0
0.083333
1
0.152778
false
0
0.027778
0
0.180556
0
0
0
0
null
0
0
0
0
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
0
0
0
0
0
0
0
1
5331aad7e93148c7ba39418fe29444812263e556
2,441
py
Python
tests/functional/detail/test_generic_deployment.py
intdata-bsc/idact
54cb65a711c145351e205970c27c83e6393cccf5
[ "MIT" ]
5
2018-12-06T15:40:34.000Z
2019-06-19T11:22:58.000Z
tests/functional/detail/test_generic_deployment.py
garstka/idact
b9c8405c94db362c4a51d6bfdf418b14f06f0da1
[ "MIT" ]
9
2018-12-06T16:35:26.000Z
2019-04-28T19:01:40.000Z
tests/functional/detail/test_generic_deployment.py
intdata-bsc/idact
54cb65a711c145351e205970c27c83e6393cccf5
[ "MIT" ]
2
2019-04-28T19:18:58.000Z
2019-06-17T06:56:28.000Z
from contextlib import ExitStack import pytest from bitmath import MiB from idact import show_cluster, Walltime from idact.detail.auth.set_password import set_password from idact.detail.deployment.cancel_on_exit import cancel_on_exit from idact.detail.deployment.create_deployment_dir import create_runtime_dir from id...
40.016393
78
0.681278
292
2,441
5.400685
0.273973
0.063412
0.05707
0.047559
0.07863
0.046925
0.046925
0.046925
0.046925
0
0
0.007663
0.251536
2,441
60
79
40.683333
0.855501
0
0
0.12
0
0
0.018845
0
0
0
0
0
0.06
1
0.02
false
0.06
0.3
0
0.32
0.04
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
5333535af9cf0f3f91a038e862ad9174e3874844
675
py
Python
api/migrations/0004_auto_20180930_1748.py
SpenserPorter/SpotifyDJ
4038d8fb25d629586cb3bab68b56e88a66644633
[ "MIT" ]
1
2020-10-03T19:42:34.000Z
2020-10-03T19:42:34.000Z
api/migrations/0004_auto_20180930_1748.py
SpenserPorter/SpotifyDJ
4038d8fb25d629586cb3bab68b56e88a66644633
[ "MIT" ]
8
2019-11-23T22:27:09.000Z
2022-03-12T00:30:56.000Z
api/migrations/0004_auto_20180930_1748.py
SpenserPorter/SpotifyDJ
4038d8fb25d629586cb3bab68b56e88a66644633
[ "MIT" ]
null
null
null
# Generated by Django 2.0.8 on 2018-09-30 17:48 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('api', '0003_auto_20180930_1732'), ] operations = [ migrations.AlterField( model_name='playlist'...
27
123
0.617778
73
675
5.60274
0.575342
0.05868
0.06846
0.107579
0
0
0
0
0
0
0
0.061753
0.256296
675
24
124
28.125
0.752988
0.066667
0
0.222222
1
0
0.138535
0.036624
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
533494606be61f748d8507467208faefeacaa9dc
647
py
Python
zemfrog/loaders/error_handler.py
aprilahijriyan/zemfrog
0a4ebc303caa8fadf89ca0cc8569de60c61f3252
[ "MIT" ]
null
null
null
zemfrog/loaders/error_handler.py
aprilahijriyan/zemfrog
0a4ebc303caa8fadf89ca0cc8569de60c61f3252
[ "MIT" ]
null
null
null
zemfrog/loaders/error_handler.py
aprilahijriyan/zemfrog
0a4ebc303caa8fadf89ca0cc8569de60c61f3252
[ "MIT" ]
null
null
null
from flask import Flask from ..helper import get_import_name, import_attr def loader(app: Flask): """ Function to load all error handlers """ import_name = get_import_name(app) handlers = app.config.get("ERROR_HANDLERS", {}) prefix = "handlers." for code, func in handlers.it...
26.958333
52
0.602782
74
647
5.108108
0.459459
0.10582
0.068783
0
0
0
0
0
0
0
0
0
0.296754
647
23
53
28.130435
0.830769
0.054096
0
0
0
0
0.054101
0
0
0
0
0
0
1
0.066667
false
0
0.4
0
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
5335f75a4419e283f0179e356e427668be49b0c8
10,815
py
Python
fetch.py
airtimemedia/depot_tools
697cb664f2306718b2b9645b41e1d5bd7ae5766c
[ "BSD-3-Clause" ]
1
2016-07-09T02:40:59.000Z
2016-07-09T02:40:59.000Z
fetch.py
airtimemedia/depot_tools
697cb664f2306718b2b9645b41e1d5bd7ae5766c
[ "BSD-3-Clause" ]
null
null
null
fetch.py
airtimemedia/depot_tools
697cb664f2306718b2b9645b41e1d5bd7ae5766c
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # Copyright (c) 2013 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. """ Tool to perform checkouts in one easy command line! Usage: fetch <recipe> [--property=value [--property2=value2 ...]] This ...
32.283582
83
0.640037
1,483
10,815
4.536076
0.229265
0.014271
0.014865
0.011892
0.185818
0.152222
0.101234
0.070611
0.064813
0.028839
0
0.004209
0.209154
10,815
334
84
32.38024
0.782299
0.035506
0
0.138393
0
0
0.20719
0.015275
0
0
0
0
0.013393
0
null
null
0.013393
0.035714
null
null
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5338146a960efe17f8b8504a51134fb6b24e91ec
1,180
py
Python
FaceSwapper/faceLandmarks.py
rahulsingh50/Computer-Vision-Projects
1c9db567b6c5d4c185e743c8b8ba7327d1ccaf0d
[ "Apache-2.0" ]
1
2019-11-21T13:57:02.000Z
2019-11-21T13:57:02.000Z
FaceSwapper/faceLandmarks.py
rahulsingh50/Computer-Vision-Projects
1c9db567b6c5d4c185e743c8b8ba7327d1ccaf0d
[ "Apache-2.0" ]
9
2020-01-28T23:01:39.000Z
2022-01-13T01:40:38.000Z
FaceSwapper/faceLandmarks.py
rahulsingh50/Computer-Vision-Projects
1c9db567b6c5d4c185e743c8b8ba7327d1ccaf0d
[ "Apache-2.0" ]
2
2019-12-11T14:39:36.000Z
2019-12-13T14:29:09.000Z
import cv2 import dlib import numpy as np # Path to shape predictor file PATH = 'shape_predictor_68_face_landmarks.dat' # Our landpoints' predictor and detector objects predictor = dlib.shape_predictor(PATH) detector = dlib.get_frontal_face_detector() # Reading our image img = cv2.imread('images/mr_robot.jpg') # D...
23.137255
96
0.737288
178
1,180
4.797753
0.449438
0.04918
0.028103
0
0
0
0
0
0
0
0
0.029644
0.142373
1,180
50
97
23.6
0.814229
0.184746
0
0.066667
0
0
0.068063
0.038743
0
0
0
0
0
1
0.066667
false
0.066667
0.1
0
0.3
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
5338a059038ac5566ae107b494cb3762f6939d2c
1,895
py
Python
pypadre/examples/decorators/05_custom_parameter_search.py
padre-lab-eu/pypadre
c244a5f1d4eb7bf168cc06dd9b43416883534268
[ "MIT" ]
3
2019-12-19T13:29:52.000Z
2019-12-20T07:32:05.000Z
pypadre/examples/decorators/05_custom_parameter_search.py
padre-lab-eu/pypadre
c244a5f1d4eb7bf168cc06dd9b43416883534268
[ "MIT" ]
1
2019-12-16T13:39:24.000Z
2019-12-16T13:39:24.000Z
pypadre/examples/decorators/05_custom_parameter_search.py
padre-lab-eu/pypadre
c244a5f1d4eb7bf168cc06dd9b43416883534268
[ "MIT" ]
null
null
null
""" This is a minimal example of a PaDRE experiment. """ import numpy as np from sklearn.datasets import load_iris from sklearn.decomposition import PCA from pypadre.binding.model.sklearn_binding import SKLearnPipeline from pypadre.examples.base_example import example_app app = example_app() @app.dataset(name="iris...
31.583333
116
0.665963
229
1,895
5.340611
0.388646
0.035977
0.021259
0
0
0
0
0
0
0
0
0.008678
0.209499
1,895
59
117
32.118644
0.807744
0.044327
0
0
0
0
0.08264
0
0
0
0
0.016949
0
1
0.128205
false
0
0.205128
0.051282
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
533d79c4d825beedcdac082f862ced6cf6d12cdb
2,588
py
Python
app/grandchallenge/profiles/migrations/0001_initial.py
kaczmarj/grand-challenge.org
8dc8a2170e51072354f7e94f2a22578805a67b94
[ "Apache-2.0" ]
101
2018-04-11T14:48:04.000Z
2022-03-28T00:29:48.000Z
app/grandchallenge/profiles/migrations/0001_initial.py
kaczmarj/grand-challenge.org
8dc8a2170e51072354f7e94f2a22578805a67b94
[ "Apache-2.0" ]
1,733
2018-03-21T11:56:16.000Z
2022-03-31T14:58:30.000Z
app/grandchallenge/profiles/migrations/0001_initial.py
kaczmarj/grand-challenge.org
8dc8a2170e51072354f7e94f2a22578805a67b94
[ "Apache-2.0" ]
42
2018-06-08T05:49:07.000Z
2022-03-29T08:43:01.000Z
# Generated by Django 1.11.11 on 2018-03-20 18:38 import django.db.models.deletion import django_countries.fields import stdimage.models from django.conf import settings from django.db import migrations, models import grandchallenge.core.storage class Migration(migrations.Migration): initial = True depende...
34.052632
80
0.425811
184
2,588
5.842391
0.505435
0.04186
0.026047
0.04093
0.050233
0
0
0
0
0
0
0.02169
0.483385
2,588
75
81
34.506667
0.782349
0.018161
0
0.161765
1
0
0.105947
0
0
0
0
0
0
1
0
false
0
0.088235
0
0.147059
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
533e0c8617d34fdf7994c9c2f7faa640c24bacfe
849
py
Python
topics/DynamicProgramming/Climbing_Stairs_70/[1_DP_rolling_vars]_Climbing_Stairs_70.py
DmitryNaimark/leetcode-solutions-python
16af5f3a9cb8469d82b14c8953847f0e93a92324
[ "MIT" ]
1
2019-10-31T11:06:23.000Z
2019-10-31T11:06:23.000Z
topics/DynamicProgramming/Climbing_Stairs_70/[1_DP_rolling_vars]_Climbing_Stairs_70.py
DmitryNaimark/leetcode-solutions-python
16af5f3a9cb8469d82b14c8953847f0e93a92324
[ "MIT" ]
null
null
null
topics/DynamicProgramming/Climbing_Stairs_70/[1_DP_rolling_vars]_Climbing_Stairs_70.py
DmitryNaimark/leetcode-solutions-python
16af5f3a9cb8469d82b14c8953847f0e93a92324
[ "MIT" ]
null
null
null
# https://leetcode.com/problems/climbing-stairs/ # --------------------------------------------------- # Runtime Complexity: O(n) # Space Complexity: O(1) class Solution: def climbStairs(self, n: int) -> int: if n <= 2: return n prev_prev = 1 prev = 2 cur = 0 f...
21.769231
53
0.481743
91
849
4.461538
0.406593
0.137931
0.413793
0.157635
0.068966
0.068966
0
0
0
0
0
0.033742
0.232038
849
39
54
21.769231
0.588957
0.347468
0
0
0
0
0
0
0
0
0
0
0
1
0.052632
false
0
0
0
0.210526
0.368421
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
533e433e302fb0a8687478b0f5ecd92029c84661
935
py
Python
numpy/HelloNumpy.py
yo16/python_tips
7f3f3e873e71ab199ec22a85b85359ed7fc619e7
[ "MIT" ]
null
null
null
numpy/HelloNumpy.py
yo16/python_tips
7f3f3e873e71ab199ec22a85b85359ed7fc619e7
[ "MIT" ]
3
2017-11-27T23:47:57.000Z
2017-12-19T03:52:58.000Z
numpy/HelloNumpy.py
yo16/tips_python
7f3f3e873e71ab199ec22a85b85359ed7fc619e7
[ "MIT" ]
null
null
null
# はじめてのNumPy # 参考 http://qiita.com/wellflat/items/284ecc4116208d155e01 # 2016/1/16 import numpy as np a = np.array([[1,2,3], [4,5,6], [7,8,9], [10,11,12]]) print(a) print(a.flags) # C_CONTIGUOUS : True ## データがメモリ上に連続しているか(C配列型) # F_CONTIGUOUS : False ## 同上(Fortran配列型) # OWNDATA : True ## 自分のデータかどうか、ビュー...
17.641509
57
0.620321
130
935
4.446154
0.615385
0.010381
0.010381
0.013841
0.020761
0.020761
0
0
0
0
0
0.084768
0.192513
935
52
58
17.980769
0.680795
0.547594
0
0
0
0
0.224274
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0.818182
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
5340233bd1905493156a553de81e1ee7c5888bae
3,159
py
Python
src/classes/package.py
swinslow/tern
5cd034e02ebaa4b680a9ffbe1a6d8ea11aef4d84
[ "BSD-2-Clause" ]
null
null
null
src/classes/package.py
swinslow/tern
5cd034e02ebaa4b680a9ffbe1a6d8ea11aef4d84
[ "BSD-2-Clause" ]
null
null
null
src/classes/package.py
swinslow/tern
5cd034e02ebaa4b680a9ffbe1a6d8ea11aef4d84
[ "BSD-2-Clause" ]
null
null
null
''' Copyright (c) 2017 VMware, Inc. All Rights Reserved. SPDX-License-Identifier: BSD-2-Clause ''' from .origins import Origins class Package(object): '''A package installed within a Docker image layer attributes: name: package name version: package version license: package license ...
30.085714
78
0.621716
399
3,159
4.739348
0.278195
0.044421
0.031729
0.020624
0.033845
0
0
0
0
0
0
0.00225
0.296613
3,159
104
79
30.375
0.848785
0.373219
0
0.086207
0
0
0.030286
0
0
0
0
0
0
1
0.224138
false
0
0.017241
0.086207
0.431034
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
534064f43a77837e8ccba063108a70f9ee2ac8d6
1,585
py
Python
clip_arcpy.py
wy1157497582/arcpy
c7b67505a3e2d47bdbcfdbef7e54f1b0b0a23d02
[ "Apache-2.0" ]
1
2019-07-07T17:49:28.000Z
2019-07-07T17:49:28.000Z
clip_arcpy.py
wy1157497582/arcpy
c7b67505a3e2d47bdbcfdbef7e54f1b0b0a23d02
[ "Apache-2.0" ]
null
null
null
clip_arcpy.py
wy1157497582/arcpy
c7b67505a3e2d47bdbcfdbef7e54f1b0b0a23d02
[ "Apache-2.0" ]
null
null
null
#import arcpy """----------------------------------------------------------------------------- Script Name: Clip Multiple Feature Classes Description: Clips one or more shapefiles from a folder and places the clipped feature classes into a geodatabase. Created By: Insert name here. ...
31.7
80
0.619558
172
1,585
5.703488
0.517442
0.024465
0.036697
0
0
0
0
0
0
0
0
0.003263
0.226498
1,585
49
81
32.346939
0.7969
0.280757
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
53418d2ccdff7d80026259eaf661bc219fab13d5
361
py
Python
tests/test_api.py
dialogstate/reyearn
8b59be1668e6fda8231f801a7455b79db4040e05
[ "Apache-2.0" ]
2
2020-04-20T06:08:04.000Z
2020-04-23T22:42:11.000Z
tests/test_api.py
dialogstate/reyearn
8b59be1668e6fda8231f801a7455b79db4040e05
[ "Apache-2.0" ]
null
null
null
tests/test_api.py
dialogstate/reyearn
8b59be1668e6fda8231f801a7455b79db4040e05
[ "Apache-2.0" ]
null
null
null
from fastapi import FastAPI from fastapi.testclient import TestClient # By importing the app, its on_startup and on_shutdown hooks are called, # and we have access to its state. from server import app client = TestClient(app) def test_root(): response = client.get("/") assert response.status_code == 200 ...
24.066667
72
0.725762
52
361
4.961538
0.673077
0.085271
0
0
0
0
0
0
0
0
0
0.010135
0.180055
361
14
73
25.785714
0.861486
0.285319
0
0
0
0
0.023529
0
0
0
0
0
0.25
1
0.125
false
0
0.375
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
5341ef68285c39a4f3c6b8490f19942687a4346d
449
py
Python
src/sql/selectable.py
311devs/clickhouse-sqlalchemy
c32fbc6f646fa6e03779b01d480d0c1a2e9bfad7
[ "MIT" ]
2
2017-08-22T15:21:40.000Z
2019-12-19T09:47:14.000Z
src/sql/selectable.py
311devs/clickhouse-sqlalchemy
c32fbc6f646fa6e03779b01d480d0c1a2e9bfad7
[ "MIT" ]
1
2019-01-17T14:01:15.000Z
2019-01-22T09:41:22.000Z
src/sql/selectable.py
311devs/clickhouse-sqlalchemy
c32fbc6f646fa6e03779b01d480d0c1a2e9bfad7
[ "MIT" ]
1
2018-12-12T09:19:22.000Z
2018-12-12T09:19:22.000Z
from sqlalchemy.sql.selectable import Select as StandardSelect from ..ext.clauses import sample_clause __all__ = ('Select', 'select') class Select(StandardSelect): _with_totals = False _sample_clause = None def with_totals(self, _with_totals=True): self._with_totals = _with_totals retu...
19.521739
62
0.706013
54
449
5.518519
0.407407
0.167785
0.09396
0
0
0
0
0
0
0
0
0
0.218263
449
22
63
20.409091
0.849003
0
0
0.153846
0
0
0.026726
0
0
0
0
0
0
1
0.153846
false
0
0.153846
0
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
534301f89e86e28dcfb94389c91da7de0084d085
2,770
py
Python
extract_results.py
clement10601/SynthText-Chinese
377f684c648231eb9ad3ca2de763f5a74d5c34da
[ "Apache-2.0" ]
null
null
null
extract_results.py
clement10601/SynthText-Chinese
377f684c648231eb9ad3ca2de763f5a74d5c34da
[ "Apache-2.0" ]
null
null
null
extract_results.py
clement10601/SynthText-Chinese
377f684c648231eb9ad3ca2de763f5a74d5c34da
[ "Apache-2.0" ]
null
null
null
# Author: Ankush Gupta # Date: 2015 """ Visualize the generated localization synthetic data stored in h5 data-bases """ from __future__ import division import io import os import os.path as osp import numpy as np import matplotlib.pyplot as plt import h5py from common import * import string import random from PIL im...
32.209302
87
0.608664
412
2,770
3.958738
0.354369
0.051502
0.042918
0.039853
0.133047
0.087676
0.087676
0.053342
0.053342
0.053342
0
0.011809
0.23574
2,770
85
88
32.588235
0.758621
0.101805
0
0
1
0
0.086425
0
0
0
0
0
0.015625
1
0.046875
false
0
0.171875
0.015625
0.234375
0.078125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
534302b6fdede59d21746fd40cca4af1e416a339
344
py
Python
main/urls.py
wuuuduu/django-notifications2
544502ec02bf34b4e0ff613500fd29766aecd229
[ "BSD-3-Clause" ]
1
2020-09-08T20:13:58.000Z
2020-09-08T20:13:58.000Z
main/urls.py
wuuuduu/django-notifications2
544502ec02bf34b4e0ff613500fd29766aecd229
[ "BSD-3-Clause" ]
null
null
null
main/urls.py
wuuuduu/django-notifications2
544502ec02bf34b4e0ff613500fd29766aecd229
[ "BSD-3-Clause" ]
null
null
null
import logging from django.conf import settings from django.contrib import admin from django.urls import path, include logger = logging.getLogger(__name__) urlpatterns = [ path('admin/', admin.site.urls), ] if settings.DEBUG: import debug_toolbar urlpatterns += [ path('__debug__/', include(debu...
18.105263
56
0.712209
41
344
5.731707
0.463415
0.12766
0
0
0
0
0
0
0
0
0
0
0.18314
344
18
57
19.111111
0.836299
0
0
0
0
0
0.046512
0
0
0
0
0
0
1
0
false
0
0.384615
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
5346f96f49fa758eb963e2541b81a996f4618bb1
486
py
Python
projects/flow.hello-world/project.py
phmalek/signac-examples
d48def3106afcde70e58f07940ab0de3779bad4b
[ "BSD-3-Clause" ]
1
2020-03-12T19:27:46.000Z
2020-03-12T19:27:46.000Z
projects/flow.hello-world/project.py
phmalek/signac-examples
d48def3106afcde70e58f07940ab0de3779bad4b
[ "BSD-3-Clause" ]
null
null
null
projects/flow.hello-world/project.py
phmalek/signac-examples
d48def3106afcde70e58f07940ab0de3779bad4b
[ "BSD-3-Clause" ]
null
null
null
from flow import FlowProject # import flow.environments # uncomment to use default environments class Project(FlowProject): pass @Project.label def greeted(job): return job.isfile('hello.txt') # Add hello world operation @Project.operation @Project.post(greeted) def hello(job): print("Hello {}".forma...
18.692308
67
0.664609
63
486
4.968254
0.571429
0.051118
0.089457
0.102236
0
0
0
0
0
0
0
0
0.195473
486
25
68
19.44
0.800512
0.185185
0
0
0
0
0.109694
0
0
0
0
0
0
1
0.133333
false
0.066667
0.066667
0.066667
0.333333
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
534aa414576d0570066a112f0282f962faa039e0
10,592
py
Python
workspace/howtolens/chapter_1_introduction/scripts/tutorial_8_fitting.py
AshKelly/PyAutoLens
043795966338a655339e61782253ad67cc3c14e6
[ "MIT" ]
null
null
null
workspace/howtolens/chapter_1_introduction/scripts/tutorial_8_fitting.py
AshKelly/PyAutoLens
043795966338a655339e61782253ad67cc3c14e6
[ "MIT" ]
null
null
null
workspace/howtolens/chapter_1_introduction/scripts/tutorial_8_fitting.py
AshKelly/PyAutoLens
043795966338a655339e61782253ad67cc3c14e6
[ "MIT" ]
null
null
null
from autolens.data import ccd from autolens.data.array import mask as ma from autolens.lens import ray_tracing, lens_fit from autolens.model.galaxy import galaxy as g from autolens.lens import lens_data as ld from autolens.model.profiles import light_profiles as lp from autolens.model.profiles import mass_profiles as m...
52.696517
127
0.751416
1,775
10,592
4.369014
0.212958
0.029916
0.015087
0.009026
0.334623
0.277885
0.203997
0.202579
0.198195
0.186331
0
0.019765
0.164086
10,592
201
128
52.696517
0.85611
0.54494
0
0.333333
0
0
0.086545
0.016846
0
0
0
0
0
1
0
false
0
0.114943
0
0.114943
0.517241
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
5355028e1eb3a66b3a7b8e99d1bd016c96ddc31f
14,839
py
Python
setup.py
akharche/hpat
c7889893b49f7b251cd9f0a0889107593d8f1c4a
[ "BSD-2-Clause" ]
null
null
null
setup.py
akharche/hpat
c7889893b49f7b251cd9f0a0889107593d8f1c4a
[ "BSD-2-Clause" ]
null
null
null
setup.py
akharche/hpat
c7889893b49f7b251cd9f0a0889107593d8f1c4a
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # ***************************************************************************** # Copyright (c) 2017-2020, Intel Corporation All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: ...
38.244845
112
0.570524
1,678
14,839
4.827175
0.274136
0.025802
0.01358
0.018765
0.229012
0.184444
0.155185
0.123457
0.111481
0.10642
0
0.008343
0.321518
14,839
387
113
38.343669
0.796087
0.168273
0
0.224719
0
0
0.167985
0.013694
0
0
0
0
0
0
null
null
0.007491
0.041199
null
null
0.033708
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5355a70f773ec08090c9a673575d9f6f65269490
15,610
py
Python
sandbox-singlepage/build_graphs.py
epcw/housing_equity
074da171880fb445765662a98a816d13779f160f
[ "MIT" ]
null
null
null
sandbox-singlepage/build_graphs.py
epcw/housing_equity
074da171880fb445765662a98a816d13779f160f
[ "MIT" ]
null
null
null
sandbox-singlepage/build_graphs.py
epcw/housing_equity
074da171880fb445765662a98a816d13779f160f
[ "MIT" ]
1
2021-07-19T20:25:02.000Z
2021-07-19T20:25:02.000Z
import networkx as nx from networkx.readwrite import json_graph from fa2 import ForceAtlas2 import pandas as pd from flask_caching import Cache import plotly.graph_objects as go import json import csv import itertools import numpy import os # set root directory for data files # ROOTBEER = '/home/ubuntu/housing_equity/...
45.911765
131
0.676489
2,159
15,610
4.606762
0.130616
0.047255
0.04072
0.032576
0.747537
0.716067
0.646089
0.565252
0.536698
0.483813
0
0.036854
0.172582
15,610
340
132
45.911765
0.733199
0.053555
0
0.163265
0
0.005102
0.170626
0.025686
0
0
0
0
0
1
0.015306
false
0
0.056122
0
0.086735
0.056122
0
0
0
null
0
0
0
0
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
0
0
0
0
0
0
0
1
535b57ea27b979dec9a9d1ecda783bd27c698484
17,886
py
Python
analysis_tools/iFAB/output_completeness/scripts/StructuralCompleteness.py
lefevre-fraser/openmeta-mms
08f3115e76498df1f8d70641d71f5c52cab4ce5f
[ "MIT" ]
null
null
null
analysis_tools/iFAB/output_completeness/scripts/StructuralCompleteness.py
lefevre-fraser/openmeta-mms
08f3115e76498df1f8d70641d71f5c52cab4ce5f
[ "MIT" ]
null
null
null
analysis_tools/iFAB/output_completeness/scripts/StructuralCompleteness.py
lefevre-fraser/openmeta-mms
08f3115e76498df1f8d70641d71f5c52cab4ce5f
[ "MIT" ]
null
null
null
""" Structural Completeness Testbench Copyright 2013-2014 The Pennsylvania State University """ from xml.etree import ElementTree import os import sys import json import argparse import itertools import uuid import traceback import urllib def id_in_path(id, path): for entry in path: if e...
39.746667
434
0.606564
2,082
17,886
5.04755
0.131124
0.041108
0.029689
0.014844
0.418213
0.360453
0.260253
0.238367
0.189076
0.177848
0
0.005714
0.295483
17,886
449
435
39.835189
0.828268
0.013754
0
0.314869
0
0.005831
0.145713
0.015981
0
0
0
0
0
0
null
null
0
0.026239
null
null
0.023324
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
535d66a17318151871b7eb51814e5981bdf3df9e
5,650
py
Python
haproxyspoa/spoa_data_types.py
krrg/haproxy-python-spoa
f8a3c4dcea1c0451683dbc89c035009911b234e2
[ "Apache-2.0" ]
4
2021-04-06T01:46:58.000Z
2022-01-10T12:38:29.000Z
haproxyspoa/spoa_data_types.py
krrg/haproxy-python-spoa
f8a3c4dcea1c0451683dbc89c035009911b234e2
[ "Apache-2.0" ]
null
null
null
haproxyspoa/spoa_data_types.py
krrg/haproxy-python-spoa
f8a3c4dcea1c0451683dbc89c035009911b234e2
[ "Apache-2.0" ]
null
null
null
import ctypes import ipaddress import io class SpopDataTypes: NULL = 0 BOOL = 1 INT32 = 2 UINT32 = 3 INT64 = 4 UINT64 = 5 IPV4 = 6 IPV6 = 7 STRING = 8 BINARY = 9 SINGLE_BYTE_MAX = 0xF0 MIDDLE_BYTE_MASK = 0x80 TERMINAL_BYTE_MASK = 0x00 def __is_middle_byte(byte: int) -> boo...
25.799087
116
0.688673
731
5,650
5.108071
0.194254
0.047134
0.047134
0.057847
0.236476
0.160686
0.081414
0
0
0
0
0.029763
0.215044
5,650
218
117
25.917431
0.811048
0.047611
0
0.06993
0
0.006993
0.034258
0
0
0
0.005958
0
0
1
0.174825
false
0
0.020979
0.111888
0.559441
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
536c8ea3468d15a73b7bcea1dc11de498dab7d63
1,553
py
Python
unittests/test_dnpFit.py
ongjj323/DNPLab
09fd9f21c3c48a3f122d0b0295cc982f689a9842
[ "MIT" ]
4
2020-09-23T08:09:33.000Z
2022-02-10T22:02:11.000Z
unittests/test_dnpFit.py
ongjj323/DNPLab
09fd9f21c3c48a3f122d0b0295cc982f689a9842
[ "MIT" ]
126
2020-09-16T22:25:59.000Z
2022-03-29T17:15:27.000Z
unittests/test_dnpFit.py
ongjj323/DNPLab
09fd9f21c3c48a3f122d0b0295cc982f689a9842
[ "MIT" ]
5
2020-09-24T20:57:31.000Z
2021-08-19T01:52:16.000Z
import unittest from dnplab import dnpdata from numpy.testing import assert_array_equal import dnplab.dnpImport as wrapper import dnplab.dnpNMR as nmr import dnplab.dnpFit as efit import dnplab.dnpTools as tools import dnplab as dnp import numpy as np import os class dnpFit_tester(unittest.TestCase): def setUp(se...
39.820513
88
0.685769
215
1,553
4.865116
0.418605
0.097514
0.057361
0.08413
0.268642
0.268642
0.174952
0.104207
0.070746
0
0
0.068323
0.170637
1,553
38
89
40.868421
0.743789
0
0
0
0
0
0.063104
0
0
0
0
0
0.15625
1
0.0625
false
0
0.3125
0
0.40625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
536cf26bd5a42d4d66ca4d360f0ef283d9757a14
249
py
Python
synapse/tests/test_glob.py
ackroute/synapse
51197f89ab372d2e357bcd054358352ecca66840
[ "Apache-2.0" ]
216
2017-01-17T18:52:50.000Z
2022-03-31T18:44:49.000Z
synapse/tests/test_glob.py
ackroute/synapse
51197f89ab372d2e357bcd054358352ecca66840
[ "Apache-2.0" ]
2,189
2017-01-17T22:31:48.000Z
2022-03-31T20:41:45.000Z
synapse/tests/test_glob.py
ackroute/synapse
51197f89ab372d2e357bcd054358352ecca66840
[ "Apache-2.0" ]
44
2017-01-17T16:50:57.000Z
2022-03-16T18:35:52.000Z
import synapse.glob as s_glob import synapse.tests.utils as s_t_utils class GlobTest(s_t_utils.SynTest): def test_glob_sync(self): async def afoo(): return 42 retn = s_glob.sync(afoo()) self.eq(retn, 42)
17.785714
39
0.638554
39
249
3.871795
0.538462
0.172185
0.092715
0
0
0
0
0
0
0
0
0.021978
0.269076
249
13
40
19.153846
0.807692
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
7257d15d22466a5064bbe099ad8e87d257d26166
2,057
py
Python
ferris/components/csrf.py
palladius/gae-ferris-ricc
e6d9d8d4aadeae10eb258b94b6fe5912c8630b36
[ "MIT" ]
2
2015-03-04T07:05:57.000Z
2015-03-04T07:06:00.000Z
ferris/components/csrf.py
palladius/gae-ferris-ricc
e6d9d8d4aadeae10eb258b94b6fe5912c8630b36
[ "MIT" ]
null
null
null
ferris/components/csrf.py
palladius/gae-ferris-ricc
e6d9d8d4aadeae10eb258b94b6fe5912c8630b36
[ "MIT" ]
null
null
null
import uuid from ferris.core.controller import add_authorizations class CSRF(object): """ Provides protection against `Cross-site Request Forgery <http://en.wikipedia.org/wiki/Cross-site_request_forgery>`_. Example:: class Pages(Controller): class Meta: components = (...
32.140625
120
0.681575
258
2,057
5.24031
0.410853
0.073225
0.035503
0.051036
0.04142
0
0
0
0
0
0
0.000621
0.216821
2,057
63
121
32.650794
0.83861
0.321828
0
0
0
0
0.125096
0
0
0
0
0
0
1
0.269231
false
0
0.076923
0.076923
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
725a86e5609c4b3e10b9819347c07f89fc16f711
3,294
py
Python
nWn Toolbox/Panel.extension/nWn Toolbox .tab/Model.Panel/Number Rooms by Spline.pushbutton/Number Rooms_script.py
NiWeiNi/Revit-Tab
b54c7dd334b504e682519981983b3f258b975b15
[ "MIT" ]
5
2019-11-28T01:43:01.000Z
2022-01-11T11:01:04.000Z
nWn Toolbox/Panel.extension/nWn Toolbox .tab/Model.Panel/Number Rooms by Spline.pushbutton/Number Rooms_script.py
NiWeiNi/Revit-Tab
b54c7dd334b504e682519981983b3f258b975b15
[ "MIT" ]
null
null
null
nWn Toolbox/Panel.extension/nWn Toolbox .tab/Model.Panel/Number Rooms by Spline.pushbutton/Number Rooms_script.py
NiWeiNi/Revit-Tab
b54c7dd334b504e682519981983b3f258b975b15
[ "MIT" ]
4
2019-11-24T01:50:28.000Z
2022-01-11T11:00:51.000Z
# -*- coding: utf-8 -*- """Number rooms that intersects with spline. NOTE: """ __author__ = "nWn" __title__ = "Number\n Rooms" # Import from pyrevit import revit, DB from pyrevit import script from pyrevit import forms # Store current document into variable doc = __revit__.ActiveUIDocument.Document uidoc = __revit...
31.371429
90
0.64997
383
3,294
5.543081
0.391645
0.018841
0.024023
0.02261
0.073481
0.055582
0.055582
0
0
0
0
0.005374
0.265634
3,294
105
91
31.371429
0.872261
0.216454
0
0
0
0
0.031987
0
0
0
0
0
0
0
null
null
0
0.046875
null
null
0.015625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
725c0b570f414f846ae3ba4da2e911dfdd4cd0e3
9,706
py
Python
setup.py
roschler/mythril
586b321a9468716946bf67592ac2be6c8502ed4c
[ "MIT" ]
null
null
null
setup.py
roschler/mythril
586b321a9468716946bf67592ac2be6c8502ed4c
[ "MIT" ]
null
null
null
setup.py
roschler/mythril
586b321a9468716946bf67592ac2be6c8502ed4c
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages from setuptools.command.install import install import os # Package version (vX.Y.Z). It must match git tag being used for CircleCI # deployment; otherwise the build will failed. VERSION = "v0.17.5" class VerifyVersionCommand(install): """Custom command to verify that the...
28.297376
110
0.69081
1,254
9,706
5.318182
0.412281
0.019193
0.023392
0.016194
0.089369
0.064178
0.038986
0.025491
0
0
0
0.065532
0.182464
9,706
342
111
28.380117
0.774921
0.018442
0
0.127119
0
0.025424
0.875945
0.095483
0
0
0.047899
0
0
1
0.004237
false
0.012712
0.012712
0
0.025424
0.004237
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
725cd8d91b32a9a7d0f02ed50f2259136b48f1ae
3,787
py
Python
heltour/tournament/migrations/0071_auto_20160817_2044.py
zbidwell/heltour
3895142695096a81cc65c3fefb7d4501ed796f46
[ "MIT" ]
41
2016-08-17T19:58:42.000Z
2021-11-08T10:52:07.000Z
heltour/tournament/migrations/0071_auto_20160817_2044.py
zbidwell/heltour
3895142695096a81cc65c3fefb7d4501ed796f46
[ "MIT" ]
257
2016-08-17T22:29:05.000Z
2022-01-13T00:42:05.000Z
heltour/tournament/migrations/0071_auto_20160817_2044.py
zbidwell/heltour
3895142695096a81cc65c3fefb7d4501ed796f46
[ "MIT" ]
31
2016-09-23T23:36:14.000Z
2022-01-14T17:05:08.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-08-17 20:44 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('tournament', '0070_auto_20160816_0552'), ] operations = [ migrations.CreateModel( ...
53.338028
182
0.621072
381
3,787
5.994751
0.24147
0.028021
0.042907
0.067426
0.675569
0.635289
0.618651
0.584501
0.48993
0.48993
0
0.013287
0.244785
3,787
70
183
54.1
0.785315
0.017692
0
0.645161
1
0.016129
0.347323
0.059995
0
0
0
0
0
1
0
false
0
0.032258
0
0.080645
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
726288787a2bf6618e4cec4fe336ef1e21f614b2
2,539
py
Python
_zadania/type_int_e.py
DJG-coderslab/2021-12-elearning-pythonana
e072d6cbd231c4b858e92a59af768a069b74ba67
[ "MIT" ]
null
null
null
_zadania/type_int_e.py
DJG-coderslab/2021-12-elearning-pythonana
e072d6cbd231c4b858e92a59af768a069b74ba67
[ "MIT" ]
null
null
null
_zadania/type_int_e.py
DJG-coderslab/2021-12-elearning-pythonana
e072d6cbd231c4b858e92a59af768a069b74ba67
[ "MIT" ]
null
null
null
""" * Assignment: Type Int Time * Required: yes * Complexity: easy * Lines of code: 12 lines * Time: 8 min English: 1. Calculate how many seconds is one day (24 hours) 2. Calculate how many minutes is one week (7 days) 3. Calculate how many hours is in one month (31 days) 4. Calculate how many seconds ...
27.597826
60
0.637653
363
2,539
4.460055
0.278237
0.044472
0.059296
0.070414
0.343422
0.253243
0.237801
0.108091
0
0
0
0.041248
0.255219
2,539
91
61
27.901099
0.814913
0.922804
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7264808c3ae78552d233575fc7bb8efea169a730
11,068
py
Python
web/callbacks.py
Connor-Ryan-1998/GCP_VM_Project
a20c873ed054f7539817cab6549412fc7a87e7c2
[ "MIT" ]
null
null
null
web/callbacks.py
Connor-Ryan-1998/GCP_VM_Project
a20c873ed054f7539817cab6549412fc7a87e7c2
[ "MIT" ]
null
null
null
web/callbacks.py
Connor-Ryan-1998/GCP_VM_Project
a20c873ed054f7539817cab6549412fc7a87e7c2
[ "MIT" ]
null
null
null
#Module Import from config import * try: conn = psycopg2.connect( host="postgres", database="production", user="postgres1", password="secret123") cur = conn.cursor() except Exception as e: print('Not Connected:...
51.47907
191
0.432508
882
11,068
5.319728
0.310658
0.026854
0.040281
0.026854
0.264919
0.21526
0.1948
0.177749
0.163683
0.11509
0
0.011532
0.451572
11,068
214
192
51.719626
0.76145
0.022226
0
0.247368
0
0.005263
0.194779
0.018145
0
0
0
0
0
1
0.036842
false
0.052632
0.005263
0
0.136842
0.005263
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
7267131ad86cc72e4620e64ba888e3695f93e61b
7,136
py
Python
keystone/tests/test_utils.py
raildo/keystone-1
2b26e45b72e03e64d18dc55cff7db24b7d1b4d5f
[ "Apache-2.0" ]
null
null
null
keystone/tests/test_utils.py
raildo/keystone-1
2b26e45b72e03e64d18dc55cff7db24b7d1b4d5f
[ "Apache-2.0" ]
null
null
null
keystone/tests/test_utils.py
raildo/keystone-1
2b26e45b72e03e64d18dc55cff7db24b7d1b4d5f
[ "Apache-2.0" ]
1
2021-08-29T16:53:06.000Z
2021-08-29T16:53:06.000Z
# Copyright 2012 OpenStack Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
35.68
78
0.669423
871
7,136
5.285878
0.235362
0.024327
0.019114
0.03497
0.605995
0.545395
0.467202
0.40682
0.385969
0.363162
0
0.017847
0.238369
7,136
199
79
35.859296
0.829255
0.167461
0
0.214815
0
0
0.037043
0
0
0
0
0
0.2
1
0.155556
false
0.407407
0.074074
0
0.296296
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
72716233004ed8997de2ab126a75577db8491420
6,624
py
Python
src/opts.py
AIM-Harvard/DeepConstrast
0f99f965cd58c63878fac4631572af8f0f3b0269
[ "MIT" ]
3
2022-02-23T09:05:45.000Z
2022-02-23T20:18:18.000Z
src/opts.py
AIM-Harvard/DeepConstrast
0f99f965cd58c63878fac4631572af8f0f3b0269
[ "MIT" ]
null
null
null
src/opts.py
AIM-Harvard/DeepConstrast
0f99f965cd58c63878fac4631572af8f0f3b0269
[ "MIT" ]
null
null
null
import argparse def parse_opts(): parser = argparse.ArgumentParser() # path parser.add_argument('--root_dir', default='/mnt/aertslab/USERS/Zezhong/contrast_detection/GitHub_Test', type=str, help='Root path') # head and neck dataset parser.add_argument('--HN_data', de...
72
116
0.705918
935
6,624
4.827807
0.171123
0.113646
0.214665
0.088392
0.498228
0.395215
0.307266
0.285335
0.270713
0.252105
0
0.012191
0.133152
6,624
91
117
72.791209
0.773946
0.015851
0
0
0
0
0.388727
0.008908
0
0
0
0
0
1
0.013514
false
0
0.013514
0
0.040541
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7272a622eb89c791a9566c4d1eb6f53894fd9ffc
1,981
py
Python
python_modules/dagster/dagster_tests/core_tests/storage_tests/test_system_storage_resources.py
atsuhiro/dagster
24116a003a12c5a582afba3d4db74b3fa8c8159c
[ "Apache-2.0" ]
null
null
null
python_modules/dagster/dagster_tests/core_tests/storage_tests/test_system_storage_resources.py
atsuhiro/dagster
24116a003a12c5a582afba3d4db74b3fa8c8159c
[ "Apache-2.0" ]
null
null
null
python_modules/dagster/dagster_tests/core_tests/storage_tests/test_system_storage_resources.py
atsuhiro/dagster
24116a003a12c5a582afba3d4db74b3fa8c8159c
[ "Apache-2.0" ]
null
null
null
import pytest from dagster import ( DagsterInvalidDefinitionError, ModeDefinition, ResourceDefinition, execute_pipeline, pipeline, system_storage, ) from dagster.core.definitions.system_storage import create_mem_system_storage_data def test_resource_requirements_pass(): called = {} @...
29.132353
92
0.642605
191
1,981
6.303665
0.287958
0.097176
0.05814
0.054817
0.491694
0.393688
0.333887
0.333887
0.262458
0.262458
0
0
0.273094
1,981
67
93
29.567164
0.836111
0
0
0.290909
0
0
0.093892
0.012115
0
0
0
0
0.109091
1
0.109091
false
0.109091
0.054545
0.018182
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
727326afd97b9826dd229384689ae796f28b8ae6
216
py
Python
proceduralbricks/main.py
jncraton/procedural-bricks
16e97f214c228a0490ab63235217f434684e1185
[ "MIT" ]
null
null
null
proceduralbricks/main.py
jncraton/procedural-bricks
16e97f214c228a0490ab63235217f434684e1185
[ "MIT" ]
null
null
null
proceduralbricks/main.py
jncraton/procedural-bricks
16e97f214c228a0490ab63235217f434684e1185
[ "MIT" ]
1
2018-02-22T11:31:42.000Z
2018-02-22T11:31:42.000Z
from random import random from buildings import ModularBuilding def main(): building = ModularBuilding() with open('test.ldr', 'w') as out: out.write(building.to_ldr()) if __name__ == '__main__': main()
18
37
0.699074
28
216
5.071429
0.678571
0
0
0
0
0
0
0
0
0
0
0
0.171296
216
12
38
18
0.793296
0
0
0
0
0
0.078341
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.375
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
72881023fe595bddc4e17cb977f8e65cc0b401dc
4,988
py
Python
tests/components/auth/test_login_flow.py
tizzen33/core
2a1884a1f7a07848b8b63afd29f59c81f1ffaf62
[ "Apache-2.0" ]
7
2019-08-15T13:36:58.000Z
2020-03-18T10:46:29.000Z
tests/components/auth/test_login_flow.py
tizzen33/core
2a1884a1f7a07848b8b63afd29f59c81f1ffaf62
[ "Apache-2.0" ]
87
2020-07-15T13:43:35.000Z
2022-03-23T07:43:10.000Z
tests/components/auth/test_login_flow.py
tizzen33/core
2a1884a1f7a07848b8b63afd29f59c81f1ffaf62
[ "Apache-2.0" ]
7
2018-10-04T10:12:45.000Z
2021-12-29T20:55:40.000Z
"""Tests for the login flow.""" from http import HTTPStatus from unittest.mock import patch from . import async_setup_auth from tests.common import CLIENT_ID, CLIENT_REDIRECT_URI async def test_fetch_auth_providers(hass, aiohttp_client): """Test fetching auth providers.""" client = await async_setup_auth(ha...
31.770701
88
0.637129
625
4,988
4.8752
0.2048
0.039383
0.066951
0.068264
0.679029
0.670496
0.614047
0.614047
0.614047
0.614047
0
0.003676
0.236367
4,988
156
89
31.974359
0.796272
0.06255
0
0.539823
0
0
0.194084
0.044369
0
0
0
0
0.176991
1
0
false
0.044248
0.035398
0
0.035398
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
728ce3529532f944d478d08bc061ab17867cae61
582
py
Python
blockchain/web3.py
joelwembo/expert-python-dts-algorithms
d6fc781ea48e96255fcd90fbbe3b9e7c3da60841
[ "Apache-2.0", "MIT" ]
null
null
null
blockchain/web3.py
joelwembo/expert-python-dts-algorithms
d6fc781ea48e96255fcd90fbbe3b9e7c3da60841
[ "Apache-2.0", "MIT" ]
null
null
null
blockchain/web3.py
joelwembo/expert-python-dts-algorithms
d6fc781ea48e96255fcd90fbbe3b9e7c3da60841
[ "Apache-2.0", "MIT" ]
null
null
null
# Block development using web3 """ >>> from web3 import Web3 # IPCProvider: >>> w3 = Web3(Web3.IPCProvider('./path/to/geth.ipc')) # HTTPProvider: >>> w3 = Web3(Web3.HTTPProvider('http://127.0.0.1:8545')) # WebsocketProvider: >>> w3 = Web3(Web3.WebsocketProvider('ws://127.0.0.1:8546')) >>> w3.isConnected() True """...
20.068966
80
0.670103
80
582
4.8625
0.475
0.082262
0.102828
0.092545
0
0
0
0
0
0
0
0.091977
0.121993
582
28
81
20.785714
0.669276
0.534364
0
0
0
0
0.280702
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
729144e001a6dc3b3d795a677f12199c35f74887
3,152
py
Python
tests/test_bic.py
KayJay89/schwifty
382bfc4d58e407fd0e4961bfd97746344cb8b173
[ "MIT" ]
null
null
null
tests/test_bic.py
KayJay89/schwifty
382bfc4d58e407fd0e4961bfd97746344cb8b173
[ "MIT" ]
null
null
null
tests/test_bic.py
KayJay89/schwifty
382bfc4d58e407fd0e4961bfd97746344cb8b173
[ "MIT" ]
null
null
null
import pytest from schwifty import BIC def test_bic(): bic = BIC("GENODEM1GLS") assert bic.formatted == "GENO DE M1 GLS" assert bic.validate() def test_bic_allow_invalid(): bic = BIC("GENODXM1GLS", allow_invalid=True) assert bic assert bic.country_code == "DX" with pytest.raises(ValueEr...
25.836066
64
0.644036
387
3,152
5.067183
0.24031
0.174401
0.066293
0.058644
0.390617
0.193779
0.110148
0.063233
0
0
0
0.030478
0.229695
3,152
121
65
26.049587
0.777183
0.030457
0
0.14433
0
0
0.183934
0
0
0
0
0
0.43299
1
0.113402
false
0.020619
0.020619
0
0.134021
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
7299293964337425e67767747671c90fef253c09
3,447
py
Python
lambdata_robdbennett/__example_module__.py
RobDBennett/lambdata
22f6fed1d5a7394026da39976a6101af024f31e9
[ "BSD-3-Clause" ]
null
null
null
lambdata_robdbennett/__example_module__.py
RobDBennett/lambdata
22f6fed1d5a7394026da39976a6101af024f31e9
[ "BSD-3-Clause" ]
3
2021-04-20T20:07:26.000Z
2021-04-20T20:07:56.000Z
lambdata_robdbennett/__example_module__.py
RobDBennett/lambdata
22f6fed1d5a7394026da39976a6101af024f31e9
[ "BSD-3-Clause" ]
2
2020-07-07T20:22:57.000Z
2020-08-06T17:43:49.000Z
#!/usr/bin/env python import pandas as pd import numpy as np from sklearn.model_selection import train_test_split from sklearn.metrics import plot_confusion_matrix from sklearn.preprocessing import StandardScaler from sklearn.linear_model import LogisticRegression from sklearn.pipeline import make_pipeline from sklearn...
34.128713
101
0.672759
477
3,447
4.72956
0.371069
0.024823
0.028369
0.015957
0.128989
0.095745
0.080674
0
0
0
0
0.005686
0.234697
3,447
100
102
34.47
0.849507
0.414273
0
0
0
0
0.033926
0
0
0
0
0
0
1
0.18
false
0
0.18
0.04
0.54
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
729bb00bc1bded62fef29bad368525d017ad9ecb
794
py
Python
myapp/migrations/0009_project.py
fluix-dev/site
41bc923fdba211289653746a0ab569b36961cce1
[ "MIT" ]
4
2019-10-07T12:40:43.000Z
2020-06-14T03:28:50.000Z
myapp/migrations/0009_project.py
fluix-dev/site
41bc923fdba211289653746a0ab569b36961cce1
[ "MIT" ]
1
2020-06-07T17:54:25.000Z
2020-06-07T17:54:25.000Z
myapp/migrations/0009_project.py
fluix-dev/site
41bc923fdba211289653746a0ab569b36961cce1
[ "MIT" ]
1
2020-03-05T07:55:39.000Z
2020-03-05T07:55:39.000Z
# Generated by Django 2.2.5 on 2019-09-30 12:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('myapp', '0008_auto_20190928_2100'), ] operations = [ migrations.CreateModel( name='Project', fields=[ ...
33.083333
114
0.594458
88
794
5.227273
0.647727
0.03913
0.078261
0.1
0.191304
0.191304
0.191304
0.191304
0.191304
0.191304
0
0.06563
0.270781
794
23
115
34.521739
0.728843
0.056675
0
0
1
0
0.1834
0.03079
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
729ca2a0b6c1a1e8deaaf0f1b3a3a6729f8fb78e
394
py
Python
h1st_contrib/iot_mgmt/data/migrations/0051_auto_20190223_0644.py
h1st-ai/h1st-contrib
38fbb1fff4513bb3433bc12f2b436836e5e51c80
[ "Apache-2.0" ]
1
2022-02-19T18:55:43.000Z
2022-02-19T18:55:43.000Z
h1st_contrib/iot_mgmt/data/migrations/0051_auto_20190223_0644.py
h1st-ai/h1st-contrib
38fbb1fff4513bb3433bc12f2b436836e5e51c80
[ "Apache-2.0" ]
null
null
null
h1st_contrib/iot_mgmt/data/migrations/0051_auto_20190223_0644.py
h1st-ai/h1st-contrib
38fbb1fff4513bb3433bc12f2b436836e5e51c80
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.1.5 on 2019-02-23 06:44 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('IoT_DataMgmt', '0050_auto_20190223_0551'), ] operations = [ migrations.AlterUniqueTogether( name='equipmentinstancedailymetadata', ...
21.888889
61
0.639594
38
394
6.473684
0.894737
0
0
0
0
0
0
0
0
0
0
0.10473
0.248731
394
17
62
23.176471
0.726351
0.114213
0
0
1
0
0.25072
0.152738
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
729f9e56a0e74bafe42a06ef784d335ac41d704f
1,231
py
Python
layoutlm/examples/classification/mapping.py
Cedrusco/unilm
f5485696aad9a39b733bc16d40e5e5d2c37284eb
[ "MIT" ]
null
null
null
layoutlm/examples/classification/mapping.py
Cedrusco/unilm
f5485696aad9a39b733bc16d40e5e5d2c37284eb
[ "MIT" ]
null
null
null
layoutlm/examples/classification/mapping.py
Cedrusco/unilm
f5485696aad9a39b733bc16d40e5e5d2c37284eb
[ "MIT" ]
null
null
null
import pandas as pd def get_label(template_id): mapping_df = pd.read_csv('mapping.csv') row = mapping_df[mapping_df["template_id"] == template_id] label = row["label"].values[0] print("get_label ", label) return label def get_template_id(label): mapping_df = pd.read_csv('mapping.csv') r...
28.627907
74
0.693745
185
1,231
4.259459
0.210811
0.203046
0.098985
0.095178
0.318528
0.281726
0.281726
0.281726
0.233503
0.124365
0
0.003945
0.176279
1,231
43
75
28.627907
0.773176
0
0
0.147059
0
0
0.138099
0
0
0
0
0
0
1
0.147059
false
0
0.029412
0
0.323529
0.147059
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
72a880c6b33f9256bc4368495d81c83488c3df40
6,286
py
Python
umd/products/gram5.py
egi-qc/umd-verification
328e875f9633c9e602e9eea61d2590def373098e
[ "Apache-2.0" ]
1
2019-10-31T10:41:37.000Z
2019-10-31T10:41:37.000Z
umd/products/gram5.py
egi-qc/umd-verification
328e875f9633c9e602e9eea61d2590def373098e
[ "Apache-2.0" ]
12
2015-06-04T12:08:18.000Z
2018-06-05T09:54:58.000Z
umd/products/gram5.py
egi-qc/umd-verification
328e875f9633c9e602e9eea61d2590def373098e
[ "Apache-2.0" ]
3
2015-09-15T13:15:50.000Z
2018-04-26T15:10:24.000Z
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
35.92
79
0.614063
805
6,286
4.688199
0.350311
0.055379
0.033386
0.031797
0.18495
0.110493
0.053259
0.041865
0
0
0
0.017505
0.272988
6,286
174
80
36.126437
0.808315
0.131403
0
0.039063
0
0
0.379
0.112357
0
0
0
0
0
1
0.039063
false
0.054688
0.078125
0
0.140625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
72a8a3a08033668eff3180beedc5fb836b5c7613
1,353
py
Python
setup.py
qq758689805/Pocsuite-dev
9d1d15c100a9637b8cd782bfca3daa5d3b235add
[ "OLDAP-2.6", "Python-2.0" ]
1,991
2015-08-06T12:26:16.000Z
2022-03-31T13:58:15.000Z
setup.py
qq758689805/Pocsuite-dev
9d1d15c100a9637b8cd782bfca3daa5d3b235add
[ "OLDAP-2.6", "Python-2.0" ]
85
2015-08-26T03:43:59.000Z
2021-11-02T02:34:05.000Z
setup.py
qq758689805/Pocsuite-dev
9d1d15c100a9637b8cd782bfca3daa5d3b235add
[ "OLDAP-2.6", "Python-2.0" ]
742
2015-08-22T23:17:54.000Z
2022-01-18T08:55:33.000Z
#!/usr/bin/env python # coding: utf-8 from setuptools import setup, find_packages from pocsuite import ( __version__ as version, __author__ as author, __author_email__ as author_email, __license__ as license) setup( name='pocsuite', version=version, description="Pocsuite is an open-sourced remote ...
37.583333
277
0.707317
161
1,353
5.732919
0.534161
0.086674
0.036836
0.049837
0.223185
0.223185
0.223185
0.130011
0.130011
0
0
0.001838
0.195861
1,353
35
278
38.657143
0.846507
0.078344
0
0.064516
0
0.032258
0.48955
0.09164
0
0
0
0
0
1
0
true
0
0.064516
0
0.064516
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
72abbf3a0e2c9dac9a0c6ed33114a1da6130a0c5
365
py
Python
lists advanced more exersices/kates way out.py
DiyanKalaydzhiev23/fundamentals---python
7fa032d9a3270648ffa383bb00dad8e51613189d
[ "MIT" ]
null
null
null
lists advanced more exersices/kates way out.py
DiyanKalaydzhiev23/fundamentals---python
7fa032d9a3270648ffa383bb00dad8e51613189d
[ "MIT" ]
null
null
null
lists advanced more exersices/kates way out.py
DiyanKalaydzhiev23/fundamentals---python
7fa032d9a3270648ffa383bb00dad8e51613189d
[ "MIT" ]
null
null
null
n = int(input()) matrix = [row for lists in range(n) for index, row in enumerate(input())] last_pos_possible = [] pos = "" last_count_mov = 0 for i in range(len(matrix)): row = matrix[i] if "k" in row: k_row_i = row.index("k") pos = f"{i}:{k_row_i}" break def check_for_ops(): globa...
21.470588
73
0.59726
66
365
3.090909
0.424242
0.078431
0.098039
0.078431
0
0
0
0
0
0
0
0.007299
0.249315
365
17
74
21.470588
0.737226
0
0
0
0
0
0.040984
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
72ae3c792e37d98d05ec1ac1bb7656a13ba5ccb5
3,116
py
Python
src/handler/video.py
tahesse/gifCutterBot
2552e639622fc4b8f91ac9e4d964414b46580a0c
[ "BSD-3-Clause" ]
4
2022-01-04T20:24:22.000Z
2022-03-26T07:59:47.000Z
src/handler/video.py
tahesse/gifCutterBot
2552e639622fc4b8f91ac9e4d964414b46580a0c
[ "BSD-3-Clause" ]
null
null
null
src/handler/video.py
tahesse/gifCutterBot
2552e639622fc4b8f91ac9e4d964414b46580a0c
[ "BSD-3-Clause" ]
null
null
null
import math import shlex import subprocess from io import BytesIO from tempfile import NamedTemporaryFile import src.model.result as result from src.execution import task from src.handler import base from src.util import video_utilities class VideoCutHandler(base.BaseCutHandler): def cut(self, stream: BytesIO, c...
47.938462
171
0.662388
401
3,116
5.034913
0.406484
0.034671
0.031699
0.044577
0.058445
0
0
0
0
0
0
0.040374
0.244865
3,116
64
172
48.6875
0.81768
0.321566
0
0.086957
0
0.021739
0.08401
0
0
0
0
0.015625
0.021739
1
0.021739
false
0
0.195652
0
0.26087
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
72c9d5087b3dadcdc82cb40ad044fd40e4ce5837
1,732
py
Python
Exercicios/Exercicio061.py
RicardoMart922/estudo_Python
cb595c2a5e5aee568b6afa71b3ed9dd9cb7eef72
[ "MIT" ]
null
null
null
Exercicios/Exercicio061.py
RicardoMart922/estudo_Python
cb595c2a5e5aee568b6afa71b3ed9dd9cb7eef72
[ "MIT" ]
null
null
null
Exercicios/Exercicio061.py
RicardoMart922/estudo_Python
cb595c2a5e5aee568b6afa71b3ed9dd9cb7eef72
[ "MIT" ]
null
null
null
# Crie um programa que leia dois valores e mostre um menu na tela: # [ 1 ] Somar # [ 2 ] Multiplicar # [ 3 ] Maior # [ 4 ] Novos Números # [ 5 ] Sair do Programa # Seu programa deverá realizar a operação solicitada em cada caso. from time import sleep numero1 = float(input('Informe um número: ')) numero2 = float(input(...
31.490909
78
0.532333
207
1,732
4.454106
0.362319
0.045553
0.053145
0.078091
0.222343
0.145336
0.145336
0.145336
0.145336
0.145336
0
0.041667
0.307159
1,732
55
79
31.490909
0.726667
0.123557
0
0.276596
0
0
0.303772
0
0
0
0
0
0
1
0
false
0
0.021277
0
0.021277
0.425532
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
72ca86896a3833c376e756243166396a87e1ba79
1,724
py
Python
shop_categories/models/defaults/category/base.py
fivethreeo/django-shop-categories
779c684a412dcba2b60cd3a1cb9ad39278d9b5db
[ "BSD-3-Clause" ]
8
2015-03-28T12:54:44.000Z
2020-11-02T00:23:50.000Z
shop_categories/models/defaults/category/base.py
fivethreeo/django-shop-categories
779c684a412dcba2b60cd3a1cb9ad39278d9b5db
[ "BSD-3-Clause" ]
1
2015-07-04T06:12:09.000Z
2015-07-04T06:12:09.000Z
shop_categories/models/defaults/category/base.py
fivethreeo/django-shop-categories
779c684a412dcba2b60cd3a1cb9ad39278d9b5db
[ "BSD-3-Clause" ]
7
2015-08-25T03:42:20.000Z
2021-07-15T13:11:28.000Z
from django.db import models from django.utils.encoding import force_unicode from mptt.models import MPTTModel from mptt.fields import TreeForeignKey class ProductCategoryBase(MPTTModel): parent = TreeForeignKey('self', blank=True, null=True, ...
28.733333
81
0.604408
190
1,724
5.342105
0.352632
0.047291
0.053202
0.070936
0.094581
0.061084
0
0
0
0
0
0.006552
0.291763
1,724
59
82
29.220339
0.824734
0
0
0
0
0
0.026102
0
0
0
0
0
0
1
0.139535
false
0
0.093023
0.093023
0.511628
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
72d195f9038f69caf81b82c309e04dfcda88c70f
993
py
Python
testapp/views.py
garylwatson/mysteamlist
96a9e846ab1c222dbb1636cf83130447599561cd
[ "MIT" ]
1
2020-09-28T13:58:24.000Z
2020-09-28T13:58:24.000Z
testapp/views.py
garylwatson/mysteamlist
96a9e846ab1c222dbb1636cf83130447599561cd
[ "MIT" ]
null
null
null
testapp/views.py
garylwatson/mysteamlist
96a9e846ab1c222dbb1636cf83130447599561cd
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.http import HttpResponse from userProfile import loginFcn, buildProfile from .models import Game, Category, Genre # Create your views here. def index(request): ''' context = { "games": Game.objects.all() } ''' queryDict = request.POST res...
26.131579
67
0.617321
121
993
5.066116
0.446281
0.097879
0.154976
0.084829
0.195759
0.097879
0
0
0
0
0
0.010667
0.244713
993
38
68
26.131579
0.806667
0.114804
0
0.173913
0
0
0.102662
0
0
0
0
0
0
1
0.130435
false
0.086957
0.173913
0.086957
0.478261
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
72d8ea02516b0e3b58685a554796df5da1d662ac
4,623
py
Python
pyof/v0x05/symmetric/hello.py
mhaji007/python-openflow
25f032d660e648501d1e732969b6f91357ef5b66
[ "MIT" ]
null
null
null
pyof/v0x05/symmetric/hello.py
mhaji007/python-openflow
25f032d660e648501d1e732969b6f91357ef5b66
[ "MIT" ]
null
null
null
pyof/v0x05/symmetric/hello.py
mhaji007/python-openflow
25f032d660e648501d1e732969b6f91357ef5b66
[ "MIT" ]
null
null
null
"""Defines Hello message.""" # System imports from enum import IntEnum from pyof.foundation.base import GenericMessage, GenericStruct from pyof.foundation.basic_types import BinaryData, FixedTypeList, UBInt16, UBInt32, TypeList from pyof.foundation.exceptions import PackException from pyof.v0x05.common.header import...
28.89375
105
0.637249
519
4,623
5.572254
0.333333
0.013831
0.015214
0.025934
0.078838
0.078838
0
0
0
0
0
0.00774
0.273416
4,623
159
106
29.075472
0.85323
0.471988
0
0
0
0
0.048279
0.010516
0
0
0
0
0
1
0.159091
false
0
0.113636
0
0.568182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
72d9e28f33020406574e27b2e252695796253eab
653
py
Python
apps/blog/migrations/0004_auto_20210306_1440.py
mehrbodjavadi79/AIC21-Backend
9f4342781f0722804a2eb704b43b52984c81b40a
[ "MIT" ]
3
2021-03-12T18:32:39.000Z
2021-11-08T10:21:04.000Z
apps/blog/migrations/0004_auto_20210306_1440.py
mehrbodjavadi79/AIC21-Backend
9f4342781f0722804a2eb704b43b52984c81b40a
[ "MIT" ]
null
null
null
apps/blog/migrations/0004_auto_20210306_1440.py
mehrbodjavadi79/AIC21-Backend
9f4342781f0722804a2eb704b43b52984c81b40a
[ "MIT" ]
2
2021-01-29T14:52:53.000Z
2022-03-05T10:24:24.000Z
# Generated by Django 3.1.5 on 2021-03-06 14:40 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0003_remove_aparatmedia_script'), ] operations = [ migrations.AddField( model_name='aparatmedia', name='apar...
25.115385
63
0.586524
65
653
5.723077
0.646154
0.096774
0.123656
0.145161
0.258065
0.258065
0.258065
0
0
0
0
0.054705
0.300153
653
25
64
26.12
0.7593
0.068913
0
0.421053
1
0
0.123762
0.049505
0
0
0
0
0
1
0
false
0
0.052632
0
0.210526
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
72db8cffab2fa77a9fb8fa46a6ee3d196c433eaf
965
py
Python
db/db_create.py
lulosol/tradekit
02d24c0849192fc53d27fdf763e60041396a2171
[ "Apache-2.0" ]
null
null
null
db/db_create.py
lulosol/tradekit
02d24c0849192fc53d27fdf763e60041396a2171
[ "Apache-2.0" ]
null
null
null
db/db_create.py
lulosol/tradekit
02d24c0849192fc53d27fdf763e60041396a2171
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import os import json import dbwrapper as dbw def initSchema(): basepath = '/app/db/tables' entries = os.listdir(basepath) with os.scandir(basepath) as entries: for entry in entries: if entry.is_file(): print('Running '+ entry.name) ...
29.242424
92
0.596891
109
965
5.229358
0.633028
0.024561
0.052632
0.077193
0
0
0
0
0
0
0
0
0.292228
965
33
93
29.242424
0.834553
0.405181
0
0
0
0
0.04078
0
0
0
0
0.030303
0
1
0.0625
false
0
0.1875
0
0.25
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
72ec9c88c0e4cba244f334e7b1790572750ab31b
2,936
py
Python
nomadgram/locations/views.py
zlyanz13/Yonwongram
a340f8ef215d3d8967e6977f89f46fbe2cc1a337
[ "MIT" ]
null
null
null
nomadgram/locations/views.py
zlyanz13/Yonwongram
a340f8ef215d3d8967e6977f89f46fbe2cc1a337
[ "MIT" ]
null
null
null
nomadgram/locations/views.py
zlyanz13/Yonwongram
a340f8ef215d3d8967e6977f89f46fbe2cc1a337
[ "MIT" ]
null
null
null
from rest_framework.views import APIView from rest_framework.response import Response from rest_framework import status from . import models, serializers from nomadgram.users import models as user_models from nomadgram.users import serializers as user_serializers from nomadgram.images import serializers as image_serial...
33.747126
110
0.717984
344
2,936
5.979651
0.209302
0.023335
0.03403
0.057851
0.529412
0.494409
0.412737
0.376762
0.251337
0.208556
0
0.005051
0.190736
2,936
87
111
33.747126
0.86069
0.007834
0
0.352941
0
0
0.017725
0
0
0
0
0
0
1
0.176471
false
0
0.235294
0
0.705882
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
72ed78e6d068b16dc1c3f49158f1618fb7f5817a
7,925
py
Python
utils/threshold.py
davidtvs/kaggle-hpaic
546a98eb2b1591955ada731ab170084bad0e65bf
[ "MIT" ]
4
2019-11-30T13:11:21.000Z
2021-04-18T01:45:34.000Z
utils/threshold.py
davidtvs/kaggle-hpaic
546a98eb2b1591955ada731ab170084bad0e65bf
[ "MIT" ]
9
2020-03-24T16:37:02.000Z
2022-03-11T23:37:41.000Z
utils/threshold.py
davidtvs/kaggle-hpaic
546a98eb2b1591955ada731ab170084bad0e65bf
[ "MIT" ]
1
2019-02-26T03:30:47.000Z
2019-02-26T03:30:47.000Z
import torch import numpy as np from core import predict def sigmoid_threshold(tensor, threshold=0.5): """Applies the sigmoid function to the tensor and thresholds the values out_tensor = sigmoid(tensor) > threshold Arguments: tensor (torch.Tensor): the tensor to threshold. threshold (sc...
42.607527
88
0.674069
1,021
7,925
5.145935
0.167483
0.029692
0.020556
0.010659
0.650171
0.626951
0.626951
0.60335
0.60335
0.60335
0
0.00793
0.252114
7,925
185
89
42.837838
0.878522
0.608959
0
0.617647
0
0
0
0
0
0
0
0
0
1
0.058824
false
0
0.044118
0
0.147059
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
72f012a80e158d1d3051723232c49e6fec813f83
465
py
Python
shapes/cube.py
ChainBreak/signed_distance_renderer
67e9e85072e127dc5569fbc29fc8131ad2d2014b
[ "MIT" ]
null
null
null
shapes/cube.py
ChainBreak/signed_distance_renderer
67e9e85072e127dc5569fbc29fc8131ad2d2014b
[ "MIT" ]
null
null
null
shapes/cube.py
ChainBreak/signed_distance_renderer
67e9e85072e127dc5569fbc29fc8131ad2d2014b
[ "MIT" ]
null
null
null
import torch from .shape import Shape class Cube(Shape): def __init__(self,cube_size,position:tuple=(0.,0.,0.), orientation:tuple=(0.,0.,0.)): super().__init__(position,orientation) self.cube_size = cube_size def signed_distance_function(self,point_tensor): signed_distance_in_each_axi...
35.769231
89
0.72043
65
465
4.738462
0.446154
0.227273
0.116883
0.051948
0.155844
0
0
0
0
0
0
0.020619
0.165591
465
13
90
35.769231
0.773196
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
72f1d99ce223fb974a26afe2ba17b0c225f6be5e
2,854
py
Python
pyFAI/gui/matplotlib.py
tacaswell/pyFAI
fd63c7d9ba35e687ef5c4ec717c01bf46564572a
[ "MIT" ]
45
2016-07-16T19:43:47.000Z
2022-03-12T16:53:47.000Z
pyFAI/gui/matplotlib.py
tacaswell/pyFAI
fd63c7d9ba35e687ef5c4ec717c01bf46564572a
[ "MIT" ]
1,125
2016-06-09T07:47:57.000Z
2022-03-31T20:34:00.000Z
pyFAI/gui/matplotlib.py
tacaswell/pyFAI
fd63c7d9ba35e687ef5c4ec717c01bf46564572a
[ "MIT" ]
52
2016-06-09T07:30:46.000Z
2022-02-14T08:25:11.000Z
# coding: utf-8 # /*########################################################################## # # Copyright (C) 2016-2018 European Synchrotron Radiation Facility # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to d...
36.126582
90
0.709881
364
2,854
5.461538
0.445055
0.044266
0.050302
0.036217
0.213783
0.213783
0.213783
0.148893
0.148893
0.148893
0
0.013479
0.168185
2,854
78
91
36.589744
0.823926
0.47232
0
0.125
0
0
0.12708
0
0
0
0
0
0
1
0.03125
false
0
0.3125
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
72f2ed17d35965d8dced8a72e991971a81c6a188
333
py
Python
src/ashley/machina_extensions/forum_conversation/apps.py
openfun/ashley
33af6a46bc22c86417c200fdd84876c2c46b02ce
[ "MIT" ]
6
2020-05-05T11:50:29.000Z
2021-09-19T06:01:39.000Z
src/ashley/machina_extensions/forum_conversation/apps.py
openfun/ashley
33af6a46bc22c86417c200fdd84876c2c46b02ce
[ "MIT" ]
93
2020-02-17T16:28:57.000Z
2022-03-18T14:06:45.000Z
src/ashley/machina_extensions/forum_conversation/apps.py
openfun/ashley
33af6a46bc22c86417c200fdd84876c2c46b02ce
[ "MIT" ]
1
2020-03-02T04:36:12.000Z
2020-03-02T04:36:12.000Z
"""Ashley application""" from machina.apps.forum_conversation.apps import ( ForumConversationAppConfig as BaseForumConversationAppConfig, ) class ForumConversationAppConfig(BaseForumConversationAppConfig): """Configuration class for the forum_conversation app.""" name = "ashley.machina_extensions.forum_c...
30.272727
65
0.810811
28
333
9.5
0.642857
0.191729
0
0
0
0
0
0
0
0
0
0
0.108108
333
10
66
33.3
0.895623
0.21021
0
0
0
0
0.174603
0.174603
0
0
0
0
0
1
0
false
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
72f3feb99af63918d48a702995a29fcad1572c1f
1,636
py
Python
alipay/aop/api/response/AlipayEcoCityserviceUserAppinfoQueryResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
213
2018-08-27T16:49:32.000Z
2021-12-29T04:34:12.000Z
alipay/aop/api/response/AlipayEcoCityserviceUserAppinfoQueryResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
29
2018-09-29T06:43:00.000Z
2021-09-02T03:27:32.000Z
alipay/aop/api/response/AlipayEcoCityserviceUserAppinfoQueryResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
59
2018-08-27T16:59:26.000Z
2022-03-25T10:08:15.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse class AlipayEcoCityserviceUserAppinfoQueryResponse(AlipayResponse): def __init__(self): super(AlipayEcoCityserviceUserAppinfoQueryResponse, self).__init__() self._biz_type ...
29.214286
117
0.679095
187
1,636
5.609626
0.192513
0.114395
0.041945
0.062917
0
0
0
0
0
0
0
0.000801
0.237164
1,636
55
118
29.745455
0.839744
0.025672
0
0.093023
0
0
0.05402
0
0
0
0
0
0
1
0.232558
false
0
0.046512
0.093023
0.395349
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
f405ebd46df2e2b315957c09a429ef98bf762fdc
2,079
py
Python
python_Projects/break_out_game/pokeball.py
RayZ5566/python_projects
506a7ffd53584932a84c1ef4ca15abd78715d2d9
[ "MIT" ]
null
null
null
python_Projects/break_out_game/pokeball.py
RayZ5566/python_projects
506a7ffd53584932a84c1ef4ca15abd78715d2d9
[ "MIT" ]
null
null
null
python_Projects/break_out_game/pokeball.py
RayZ5566/python_projects
506a7ffd53584932a84c1ef4ca15abd78715d2d9
[ "MIT" ]
null
null
null
""" File: pokeball Name:Ray Lee ---------------------- TODO: """ from campy.graphics.gobjects import GOval, GRect, GPolygon, GArc, GRoundRect from campy.graphics.gcolor import GColor from campy.graphics.gwindow import GWindow RADIUS = 200 class Pokeball: def __init__(self, radius=RADIUS): ...
25.9875
77
0.559885
269
2,079
4.211896
0.237918
0.088261
0.074139
0.047661
0
0
0
0
0
0
0
0.053047
0.329004
2,079
79
78
26.316456
0.75914
0.181337
0
0
0
0
0
0
0
0
0
0.012658
0
1
0.026316
false
0
0.078947
0
0.131579
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
f406db95fe70053297c3e5f80514fe3b2b6defe7
3,614
py
Python
Software/Estadística/MCMC/Paper/HS/CC+SN/3params/MCMC_supernovas_3params.py
matiasleize/tesis_licenciatura
5df6e341314583702b466b8ed7977d410f0ee457
[ "MIT" ]
null
null
null
Software/Estadística/MCMC/Paper/HS/CC+SN/3params/MCMC_supernovas_3params.py
matiasleize/tesis_licenciatura
5df6e341314583702b466b8ed7977d410f0ee457
[ "MIT" ]
null
null
null
Software/Estadística/MCMC/Paper/HS/CC+SN/3params/MCMC_supernovas_3params.py
matiasleize/tesis_licenciatura
5df6e341314583702b466b8ed7977d410f0ee457
[ "MIT" ]
null
null
null
""" Created on Wed Feb 5 13:04:17 2020 @author: matias """ import numpy as np np.random.seed(42) from matplotlib import pyplot as plt from scipy.optimize import minimize import emcee import corner from scipy.interpolate import interp1d import time import sys import os from os.path import join as osjoin from pc_path...
30.888889
90
0.726065
570
3,614
4.435088
0.435088
0.053402
0.026108
0.022152
0.136472
0.126978
0.09731
0.036392
0.036392
0
0
0.033455
0.164638
3,614
116
91
31.155172
0.803909
0.219978
0
0.12
0
0
0.139041
0.090743
0
0
0
0
0
0
null
null
0
0.173333
null
null
0.013333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f407ce3146dde77bc50f9ce90c90dcd559d005cf
438
py
Python
mingflix/users/migrations/0010_auto_20190519_1954.py
chyoni/mingflix
91c4b8dc77fb9731c576f7cd06745d79d911c899
[ "MIT" ]
null
null
null
mingflix/users/migrations/0010_auto_20190519_1954.py
chyoni/mingflix
91c4b8dc77fb9731c576f7cd06745d79d911c899
[ "MIT" ]
5
2021-10-05T20:53:47.000Z
2022-02-26T10:31:10.000Z
mingflix/users/migrations/0010_auto_20190519_1954.py
chyoni/mingflix
91c4b8dc77fb9731c576f7cd06745d79d911c899
[ "MIT" ]
null
null
null
# Generated by Django 2.0.13 on 2019-05-19 10:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0009_user_is_streaming'), ] operations = [ migrations.AlterField( model_name='channel', name='channel_name...
23.052632
97
0.621005
50
438
5.3
0.78
0.083019
0.113208
0
0
0
0
0
0
0
0
0.070988
0.260274
438
18
98
24.333333
0.746914
0.105023
0
0
1
0
0.128205
0.05641
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f408fee0bf3fea017ce30a6ef36358b577346707
7,168
py
Python
utils.py
wanwanbeen/ct_lung_segmentation
120f617089a759d1fbf569cc78c21987fd6335aa
[ "MIT" ]
72
2017-10-30T22:53:13.000Z
2022-01-13T10:01:30.000Z
utils.py
zlinzju/ct_lung_segmentation
120f617089a759d1fbf569cc78c21987fd6335aa
[ "MIT" ]
1
2020-02-10T02:42:11.000Z
2020-02-10T02:42:11.000Z
utils.py
zlinzju/ct_lung_segmentation
120f617089a759d1fbf569cc78c21987fd6335aa
[ "MIT" ]
19
2018-02-05T23:13:16.000Z
2021-08-12T07:22:43.000Z
import numpy as np from scipy.spatial import distance from scipy import ndimage from skimage import measure ##################################################### # Pre-define parameters ##################################################### def define_parameter(): params = {} #-----------------------...
34.133333
129
0.502651
796
7,168
4.474874
0.217337
0.023582
0.020213
0.026951
0.16676
0.145424
0.095452
0.062325
0.062325
0.062325
0
0.030008
0.270089
7,168
209
130
34.296651
0.650803
0.121233
0
0.088889
0
0
0.044727
0
0
0
0
0
0
0
null
null
0
0.02963
null
null
0.014815
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f409293b84d3502021b370084ff9256617015372
2,938
py
Python
tools/mask2geojson.py
LutaoChu/PaddleRS
ca1051e5eb9165688317ac42f810f7f57b4fbeca
[ "Apache-2.0" ]
null
null
null
tools/mask2geojson.py
LutaoChu/PaddleRS
ca1051e5eb9165688317ac42f810f7f57b4fbeca
[ "Apache-2.0" ]
null
null
null
tools/mask2geojson.py
LutaoChu/PaddleRS
ca1051e5eb9165688317ac42f810f7f57b4fbeca
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2022 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 b...
38.155844
83
0.622532
388
2,938
4.597938
0.448454
0.033632
0.028587
0.017937
0.057175
0.038117
0.038117
0.038117
0
0
0
0.019991
0.267869
2,938
76
84
38.657895
0.809391
0.229408
0
0
0
0
0.09116
0
0
0
0
0.013158
0
1
0.037736
false
0
0.132075
0
0.188679
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
f40db31e44331ecb040e35594a02022cd6269470
17,841
py
Python
lib/impexpd/__init__.py
apyrgio/ganeti
241ad8a92f228f9dd749c7971a4a6711c0eb9e71
[ "BSD-2-Clause" ]
null
null
null
lib/impexpd/__init__.py
apyrgio/ganeti
241ad8a92f228f9dd749c7971a4a6711c0eb9e71
[ "BSD-2-Clause" ]
null
null
null
lib/impexpd/__init__.py
apyrgio/ganeti
241ad8a92f228f9dd749c7971a4a6711c0eb9e71
[ "BSD-2-Clause" ]
null
null
null
# # # Copyright (C) 2010 Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # 1. Redistributions of source code must retain the above copyright notice, # this list of conditions and ...
28.822294
80
0.642733
2,367
17,841
4.678918
0.228137
0.020226
0.008126
0.010835
0.17228
0.132461
0.098149
0.071242
0.060226
0.047494
0
0.006417
0.248809
17,841
618
81
28.868932
0.819952
0.184799
0
0.225806
0
0
0.097378
0.01311
0
0
0
0.003236
0.005865
0
null
null
0.005865
0.046921
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f411c187556af8de15ca911e7fcfc541c0dca32e
849
py
Python
hyperopt/exceptions.py
must/hyperopt
3ffa3904bc526cf5ed5bd00ba5dcbe84fb8d9e9e
[ "BSD-3-Clause" ]
14
2017-06-01T21:46:08.000Z
2022-01-08T18:52:47.000Z
hyperopt/exceptions.py
must/hyperopt
3ffa3904bc526cf5ed5bd00ba5dcbe84fb8d9e9e
[ "BSD-3-Clause" ]
null
null
null
hyperopt/exceptions.py
must/hyperopt
3ffa3904bc526cf5ed5bd00ba5dcbe84fb8d9e9e
[ "BSD-3-Clause" ]
3
2018-11-18T11:03:08.000Z
2019-04-15T12:58:20.000Z
""" """ from builtins import str class BadSearchSpace(Exception): """Something is wrong in the description of the search space""" class DuplicateLabel(BadSearchSpace): """A search space included a duplicate label """ class InvalidTrial(ValueError): """Non trial-like object used as Trial""" def __i...
24.257143
67
0.678445
100
849
5.51
0.54
0.087114
0.059891
0.061706
0.185118
0.185118
0.185118
0.185118
0.185118
0.185118
0
0.001497
0.213192
849
34
68
24.970588
0.823353
0.326266
0
0.4
0
0
0.001855
0
0
0
0
0
0
1
0.2
false
0
0.066667
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
f4141d899147829bc62b116c1fbdedf98d66efab
6,906
py
Python
src/visualize/visualize_latent_space.py
Neptune-Trojans/ACTOR
26d548e4e7004a8e8a2a476433fc8397d5dc5435
[ "MIT" ]
null
null
null
src/visualize/visualize_latent_space.py
Neptune-Trojans/ACTOR
26d548e4e7004a8e8a2a476433fc8397d5dc5435
[ "MIT" ]
null
null
null
src/visualize/visualize_latent_space.py
Neptune-Trojans/ACTOR
26d548e4e7004a8e8a2a476433fc8397d5dc5435
[ "MIT" ]
null
null
null
import os import imageio import numpy as np import torch from scipy.spatial.distance import pdist from src.parser.visualize import parser from src.utils.bvh_export import save_generated_motion from src.utils.get_model_and_data import get_model_and_data from src.visualize.anim import plot_3d_motion class VisualizeLa...
38.154696
106
0.640023
863
6,906
4.855156
0.228273
0.034129
0.027924
0.016706
0.215274
0.176134
0.159427
0.140811
0.140811
0.114081
0
0.013384
0.242688
6,906
180
107
38.366667
0.787763
0.02925
0
0.104478
1
0
0.080209
0.012397
0
0
0
0
0
1
0.074627
false
0
0.067164
0
0.201493
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f41bcb0ae7e06121c90edda55e5b9e6873c622e5
12,721
py
Python
pgbot/commands/base.py
GhostMander/PygameCommunityBot
ed93e057ff1779a88f98e9b6f6f8ad81d9546b92
[ "MIT" ]
null
null
null
pgbot/commands/base.py
GhostMander/PygameCommunityBot
ed93e057ff1779a88f98e9b6f6f8ad81d9546b92
[ "MIT" ]
null
null
null
pgbot/commands/base.py
GhostMander/PygameCommunityBot
ed93e057ff1779a88f98e9b6f6f8ad81d9546b92
[ "MIT" ]
null
null
null
from __future__ import annotations import inspect import os import platform import sys import re import traceback import discord from pgbot import common, embed_utils, utils class ArgError(Exception): pass class CodeBlock: def __init__(self, code): code = code.strip().strip("\\") # because \\ ca...
34.947802
85
0.490449
1,347
12,721
4.549369
0.211581
0.031821
0.039164
0.020888
0.445496
0.351828
0.328329
0.325555
0.302872
0.297813
0
0.003687
0.424338
12,721
363
86
35.044077
0.833129
0.053927
0
0.35
0
0
0.180392
0
0
0
0.001451
0
0
0
null
null
0.003846
0.034615
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f423153353faa6eb2853051f7262566e97f5a520
300
py
Python
saefportal/jobs/migrations/0018_delete_historicaljob.py
harry-consulting/SAEF1
055d6e492ba76f90e3248b9da2985fdfe0c6b430
[ "BSD-2-Clause" ]
null
null
null
saefportal/jobs/migrations/0018_delete_historicaljob.py
harry-consulting/SAEF1
055d6e492ba76f90e3248b9da2985fdfe0c6b430
[ "BSD-2-Clause" ]
null
null
null
saefportal/jobs/migrations/0018_delete_historicaljob.py
harry-consulting/SAEF1
055d6e492ba76f90e3248b9da2985fdfe0c6b430
[ "BSD-2-Clause" ]
1
2020-12-16T15:02:52.000Z
2020-12-16T15:02:52.000Z
# Generated by Django 3.1.6 on 2021-08-26 19:52 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('jobs', '0017_merge_20210826_1952'), ] operations = [ migrations.DeleteModel( name='HistoricalJob', ), ]
17.647059
47
0.61
32
300
5.625
0.875
0
0
0
0
0
0
0
0
0
0
0.143519
0.28
300
16
48
18.75
0.689815
0.15
0
0
1
0
0.162055
0.094862
0
0
0
0
0
1
0
false
0
0.1
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f43d49b47216ea66bd729001bc401872a2f69226
313
py
Python
setup.py
project-fencegate/Fencegate-Site
a8171f9db748443641be27fe05084909b9bce309
[ "MIT" ]
null
null
null
setup.py
project-fencegate/Fencegate-Site
a8171f9db748443641be27fe05084909b9bce309
[ "MIT" ]
null
null
null
setup.py
project-fencegate/Fencegate-Site
a8171f9db748443641be27fe05084909b9bce309
[ "MIT" ]
null
null
null
from setuptools import find_packages, setup setup( name='fencegate', version='0.0.1 - ALPHA', packages=find_packages(), include_package_data=True, zip_safe=False, install_requires=[ 'flask', 'flask-babel2', 'markdown', 'flask-sqlalchemy', 'click' ], )
19.5625
43
0.603834
33
313
5.545455
0.787879
0.131148
0
0
0
0
0
0
0
0
0
0.017316
0.261981
313
15
44
20.866667
0.774892
0
0
0
0
0
0.217252
0
0
0
0
0
0
1
0
true
0
0.071429
0
0.071429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
f4403fde308f79cd78c54b282220aedd506473a6
470
py
Python
pointilist/env.py
martinisandresearch/PointilistNet
09341b2b5c2b0fae781333edcfe035fa265f2650
[ "MIT" ]
null
null
null
pointilist/env.py
martinisandresearch/PointilistNet
09341b2b5c2b0fae781333edcfe035fa265f2650
[ "MIT" ]
null
null
null
pointilist/env.py
martinisandresearch/PointilistNet
09341b2b5c2b0fae781333edcfe035fa265f2650
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import pathlib import functools import torch import torchvision DATA_CACHE = pathlib.Path(__file__).parents[1] / 'data' # a convenience for the MNIST dataset # set `train` and transforms as per # MNIST = functools.partial(torchvision.datasets.MNIST, DATA_CACHE, downlo...
23.5
82
0.729787
66
470
5.090909
0.666667
0.053571
0.10119
0
0
0
0
0
0
0
0
0.007481
0.146809
470
20
83
23.5
0.830424
0.491489
0
0
0
0
0.047009
0
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
f4430a5363570569b88e206bc96559f7ac67a25f
46,568
py
Python
pyOCD/tools/pyocd.py
orenc17/pyOCD
b5c9bc62b68323129aa258e128a8fc68aaa2527f
[ "Apache-2.0" ]
null
null
null
pyOCD/tools/pyocd.py
orenc17/pyOCD
b5c9bc62b68323129aa258e128a8fc68aaa2527f
[ "Apache-2.0" ]
null
null
null
pyOCD/tools/pyocd.py
orenc17/pyOCD
b5c9bc62b68323129aa258e128a8fc68aaa2527f
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python """ mbed CMSIS-DAP debugger Copyright (c) 2015 ARM Limited 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 requir...
36.043344
264
0.508783
5,083
46,568
4.555774
0.128861
0.031092
0.01166
0.019864
0.245541
0.202099
0.175886
0.136417
0.119186
0.106102
0
0.017664
0.373905
46,568
1,291
265
36.071263
0.776581
0.02884
0
0.281588
0
0.000903
0.152033
0.001727
0.002708
0
0.000269
0
0.000903
0
null
null
0.004513
0.016245
null
null
0.106498
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f44649583ab955eec74087e588134512f6fd03a0
1,626
py
Python
ding/envs/env/default_wrapper.py
jayyoung0802/DI-engine
efbb35ddaf184d1009291e6842fbbae09f193492
[ "Apache-2.0" ]
1
2022-03-21T16:15:39.000Z
2022-03-21T16:15:39.000Z
ding/envs/env/default_wrapper.py
jayyoung0802/DI-engine
efbb35ddaf184d1009291e6842fbbae09f193492
[ "Apache-2.0" ]
null
null
null
ding/envs/env/default_wrapper.py
jayyoung0802/DI-engine
efbb35ddaf184d1009291e6842fbbae09f193492
[ "Apache-2.0" ]
null
null
null
from easydict import EasyDict from typing import Optional, List import copy final_eval_reward_wrapper = EasyDict(type='final_eval_reward') def get_default_wrappers(env_wrapper_name: str, env_id: Optional[str] = None) -> List[dict]: if env_wrapper_name == 'mujoco_default': return [ EasyDict(ty...
43.945946
106
0.690652
211
1,626
5
0.308057
0.125118
0.145024
0.189573
0.392417
0.227488
0.098578
0.098578
0.098578
0.098578
0
0.003852
0.201722
1,626
36
107
45.166667
0.808937
0
0
0.121212
0
0
0.140221
0.01353
0
0
0
0
0
1
0.030303
false
0
0.090909
0
0.242424
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f44883d9b8a7ec63cb588670a7da44344001e38c
990
gyp
Python
ios/crnet/test/crnet_test.gyp
Wzzzx/chromium-crosswalk
768dde8efa71169f1c1113ca6ef322f1e8c9e7de
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2019-01-28T08:09:58.000Z
2021-11-15T15:32:10.000Z
ios/crnet/test/crnet_test.gyp
Wzzzx/chromium-crosswalk
768dde8efa71169f1c1113ca6ef322f1e8c9e7de
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ios/crnet/test/crnet_test.gyp
Wzzzx/chromium-crosswalk
768dde8efa71169f1c1113ca6ef322f1e8c9e7de
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
6
2020-09-23T08:56:12.000Z
2021-11-18T03:40:49.000Z
# Copyright 2015 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. { 'variables': { 'chromium_code': 1, }, 'targets': [], 'conditions': [ # The CrNet build is ninja-only because of the hack in # ios/build...
26.052632
82
0.486869
93
990
5.064516
0.677419
0.038217
0
0
0
0
0
0
0
0
0
0.007587
0.334343
990
37
83
26.756757
0.707132
0.252525
0
0.16129
0
0
0.468665
0.212534
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
f449964da0ab55838c71510c220656eff34df850
26,468
py
Python
nipype/interfaces/semtools/diffusion/diffusion.py
sebastientourbier/nipype
99c5904176481520c5bf42a501aae1a12184e672
[ "Apache-2.0" ]
2
2019-01-25T18:20:51.000Z
2019-07-30T20:51:51.000Z
nipype/interfaces/semtools/diffusion/diffusion.py
sebastientourbier/nipype
99c5904176481520c5bf42a501aae1a12184e672
[ "Apache-2.0" ]
null
null
null
nipype/interfaces/semtools/diffusion/diffusion.py
sebastientourbier/nipype
99c5904176481520c5bf42a501aae1a12184e672
[ "Apache-2.0" ]
2
2018-01-25T19:48:17.000Z
2019-01-25T18:20:52.000Z
# -*- coding: utf-8 -*- # -*- coding: utf8 -*- """Autogenerated file - DO NOT EDIT If you spot a bug, please report it on the mailing list and/or change the generator.""" import os from ...base import (CommandLine, CommandLineInputSpec, SEMLikeCommandLine, TraitedSpec, File, Directory, traits, is...
92.870175
775
0.760881
3,700
26,468
5.381622
0.185405
0.020088
0.022599
0.027622
0.357172
0.336581
0.297509
0.281539
0.264614
0.241111
0
0.005627
0.14731
26,468
284
776
93.197183
0.876645
0.35235
0
0.087591
1
0.138686
0.552756
0.034197
0
0
0
0
0
1
0
false
0
0.014599
0
0.934307
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f4508dc3bf010425f18d249c4dbbd60dec84a9e5
2,723
py
Python
core/res_format.py
willdx/sensor_agent
28eebc8cb17dc53b5657d3898a196724da882ac8
[ "MIT" ]
null
null
null
core/res_format.py
willdx/sensor_agent
28eebc8cb17dc53b5657d3898a196724da882ac8
[ "MIT" ]
null
null
null
core/res_format.py
willdx/sensor_agent
28eebc8cb17dc53b5657d3898a196724da882ac8
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- ''' File Name: res_format.py Author: WillDX mail: xiang.dai@shuyun.com Created Time: 2016年04月18日 星期一 18时26分34秒 ''' import time import json import math import commands from core.handle_config import handle from core.settings import config_file from core.settings import custom_param_file from core...
24.981651
62
0.659199
355
2,723
4.898592
0.349296
0.036803
0.046003
0.063255
0.316849
0.253019
0.203565
0.203565
0.203565
0.13571
0
0.014747
0.203085
2,723
108
63
25.212963
0.786636
0.007712
0
0.22973
0
0
0.051431
0
0
0
0
0
0
0
null
null
0
0.162162
null
null
0.027027
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f462a55a7e5be9896059088f6df0866e133a76a1
1,318
py
Python
src/classifier/impl/lgbm.py
William9923/IF4072-SentimentClassification
5e22a6da418056955243c310bab0382e4683b781
[ "MIT" ]
null
null
null
src/classifier/impl/lgbm.py
William9923/IF4072-SentimentClassification
5e22a6da418056955243c310bab0382e4683b781
[ "MIT" ]
null
null
null
src/classifier/impl/lgbm.py
William9923/IF4072-SentimentClassification
5e22a6da418056955243c310bab0382e4683b781
[ "MIT" ]
null
null
null
import joblib from lightgbm import LGBMClassifier from src.classifier.interface import IClassifier class LGBMClf(IClassifier): def __init__(self, n_estimators, learning_rate, max_depth, early_stopping_rounds): self.model = LGBMClassifier( n_estimators=n_estimators, learning_rate=learning_rate...
29.954545
87
0.629742
162
1,318
4.938272
0.333333
0.07875
0.11875
0.08625
0.1175
0.1175
0.1175
0.1175
0.1175
0
0
0
0.26176
1,318
43
88
30.651163
0.822199
0
0
0.117647
0
0
0.116844
0
0
0
0
0
0.058824
1
0.205882
false
0
0.088235
0
0.411765
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
f46352a1a2e210edb6a3f4446f7a1f0d7e7d8e3c
2,181
py
Python
Harr_feature_training.py
jinchengli97/Viola-Jones-Facial-Recognition
e9c7ca3f7f274ef0e86cc4be6eba69780ad465ad
[ "MIT" ]
null
null
null
Harr_feature_training.py
jinchengli97/Viola-Jones-Facial-Recognition
e9c7ca3f7f274ef0e86cc4be6eba69780ad465ad
[ "MIT" ]
null
null
null
Harr_feature_training.py
jinchengli97/Viola-Jones-Facial-Recognition
e9c7ca3f7f274ef0e86cc4be6eba69780ad465ad
[ "MIT" ]
null
null
null
from myfoobar import int_img, Harr1, Harr2, Harr3, Harr4 import matplotlib.image as mpimg import numpy as np import os import time img_dir_faces = 'C:/Users/lijin/Desktop/Fall 2020/ECEN649/Project/trainset/faces/' img_dir_non_faces = 'C:/Users/lijin/Desktop/Fall 2020/ECEN649/Project/trainset/non-faces/' Harr1Map = np....
32.552239
90
0.630445
272
2,181
4.915441
0.227941
0.116679
0.077786
0.107704
0.697083
0.697083
0.697083
0.655198
0.655198
0.655198
0
0.02649
0.169188
2,181
66
91
33.045455
0.711369
0.113709
0
0.571429
0
0.017857
0.114345
0.067568
0
0
0
0
0
1
0
false
0
0.089286
0
0.089286
0.017857
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f465b9b34cd7c68db5268aae5a3d6fb59051cc25
2,496
py
Python
symposion/reviews/migrations/0002_auto_20170810_2141.py
pyohio/symposion
f8ec9c7e7daab4658061867d1294c1c126dd2919
[ "BSD-3-Clause" ]
null
null
null
symposion/reviews/migrations/0002_auto_20170810_2141.py
pyohio/symposion
f8ec9c7e7daab4658061867d1294c1c126dd2919
[ "BSD-3-Clause" ]
5
2015-07-16T19:46:00.000Z
2018-03-11T05:58:48.000Z
symposion/reviews/migrations/0002_auto_20170810_2141.py
pyohio/symposion
f8ec9c7e7daab4658061867d1294c1c126dd2919
[ "BSD-3-Clause" ]
1
2017-01-27T21:18:26.000Z
2017-01-27T21:18:26.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.2 on 2017-08-10 21:41 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('symposion_reviews', '0001_initial'), ] operations = [ migrations.RenameField...
44.571429
510
0.602163
298
2,496
4.919463
0.302013
0.049113
0.078445
0.081855
0.675307
0.639836
0.58663
0.58663
0.427012
0.427012
0
0.044457
0.270032
2,496
55
511
45.381818
0.760154
0.026843
0
0.5
1
0
0.406018
0
0
0
0
0
0
1
0
false
0
0.041667
0
0.104167
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f4672b99d577bccf9352e129471f4c63e9e33b87
1,922
py
Python
examples/linearfit.py
creativeishu/pychain
c9b6a90510af6c8456bc0611117f4bc8e7661940
[ "MIT" ]
null
null
null
examples/linearfit.py
creativeishu/pychain
c9b6a90510af6c8456bc0611117f4bc8e7661940
[ "MIT" ]
null
null
null
examples/linearfit.py
creativeishu/pychain
c9b6a90510af6c8456bc0611117f4bc8e7661940
[ "MIT" ]
null
null
null
""" Example demonstrating the usage for the linear-fit scenario. """ import numpy as np import matplotlib.pyplot as plt import sys sys.path.insert(0,'../src') from mcmc import MCMC #---------------------------------------------------------- class LinearFit(MCMC): """ Extends the original MCMC class to sample the p...
26.328767
83
0.581686
240
1,922
4.591667
0.4375
0.040835
0.049002
0.054446
0.19147
0.128857
0.128857
0.128857
0.128857
0.128857
0
0.031308
0.152445
1,922
73
84
26.328767
0.645181
0.131113
0
0
0
0
0.028881
0
0
0
0
0
0
0
null
null
0
0.190476
null
null
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f46798cdd3318ff8aab6b9c82163a214744dbf1f
2,094
py
Python
ansible/modules/network/system/net_banner.py
EnjoyLifeFund/macHighSierra-py36-pkgs
5668b5785296b314ea1321057420bcd077dba9ea
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
1
2021-04-02T08:08:39.000Z
2021-04-02T08:08:39.000Z
ansible/modules/network/system/net_banner.py
EnjoyLifeFund/Debian_py36_packages
1985d4c73fabd5f08f54b922e73a9306e09c77a5
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
null
null
null
ansible/modules/network/system/net_banner.py
EnjoyLifeFund/Debian_py36_packages
1985d4c73fabd5f08f54b922e73a9306e09c77a5
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
1
2020-05-03T01:13:16.000Z
2020-05-03T01:13:16.000Z
#!/usr/bin/python # Copyright: Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], ...
26.506329
93
0.685291
260
2,094
5.438462
0.511538
0.02546
0.033946
0.032532
0.066478
0.066478
0.066478
0.066478
0.066478
0.066478
0
0.004978
0.232569
2,094
78
94
26.846154
0.874922
0.063992
0
0.215385
0
0
0.877874
0.017374
0
0
0
0
0
1
0
false
0
0.015385
0
0.015385
0.015385
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f46ae5a8050c8f51a072b439c914d7a1dd77263f
676
py
Python
tests/utils/test_rl.py
DavidSlayback/gym-gridverse
b8916576a92489c030fb2c2060598c7f473f19f2
[ "MIT" ]
6
2020-10-15T14:45:11.000Z
2021-02-20T12:11:32.000Z
tests/utils/test_rl.py
DavidSlayback/gym-gridverse
b8916576a92489c030fb2c2060598c7f473f19f2
[ "MIT" ]
5
2021-01-20T15:34:29.000Z
2022-03-18T18:52:53.000Z
tests/utils/test_rl.py
DavidSlayback/gym-gridverse
b8916576a92489c030fb2c2060598c7f473f19f2
[ "MIT" ]
2
2021-01-11T18:48:49.000Z
2021-01-26T15:45:38.000Z
from typing import Iterable import pytest from gym_gridverse.utils.rl import make_return_computer @pytest.mark.parametrize( 'discount,rewards,expected', [ (1.0, [1.0, 1.0, 1.0, 1.0], [1.0, 2.0, 3.0, 4.0]), (1.0, [1.0, -1.0, 1.0, -1.0], [1.0, 0.0, 1.0, 0.0]), (0.1, [1.0, 1.0, 1.0, 1.0...
28.166667
72
0.58432
124
676
3.104839
0.290323
0.119481
0.155844
0.187013
0.148052
0.135065
0.135065
0.135065
0.135065
0.135065
0
0.146067
0.210059
676
23
73
29.391304
0.574906
0
0
0
0
0
0.036982
0.036982
0
0
0
0
0.055556
1
0.055556
false
0
0.166667
0
0.222222
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f471d5fba5cddf1ba0289b93206f570e8a8f69df
143
py
Python
jw_utils/unicode/base/general.py
codingJWilliams/Assignment_55_Ciphers
eaef6402c3e3e6ba83c88588ea1ceb729283f1cf
[ "MIT" ]
null
null
null
jw_utils/unicode/base/general.py
codingJWilliams/Assignment_55_Ciphers
eaef6402c3e3e6ba83c88588ea1ceb729283f1cf
[ "MIT" ]
1
2017-11-01T10:44:34.000Z
2017-11-01T10:44:34.000Z
jw_utils/unicode/base/general.py
codingJWilliams/jw_utils
735c1063e417b93a790b3d97a971d536b932e417
[ "MIT" ]
null
null
null
tick = "✓" cross = "✘" enter_key = "⏎" up = "↑" down = "↓" left = "←" right = "→" division = "÷" multiplication = "×" _sum = "∑" _lambda = "λ"
11.916667
20
0.468531
23
143
3.217391
1
0
0
0
0
0
0
0
0
0
0
0
0.230769
143
11
21
13
0.581818
0
0
0
0
0
0.076923
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f4731754b5a18205f3a563c5aa977b50983ab750
1,113
py
Python
quiz/migrations/0004_auto_20151218_1656.py
pbx/django-quiz
07fa0f0a1dd52fac53469d5cb92dc2dbef826b80
[ "MIT" ]
null
null
null
quiz/migrations/0004_auto_20151218_1656.py
pbx/django-quiz
07fa0f0a1dd52fac53469d5cb92dc2dbef826b80
[ "MIT" ]
null
null
null
quiz/migrations/0004_auto_20151218_1656.py
pbx/django-quiz
07fa0f0a1dd52fac53469d5cb92dc2dbef826b80
[ "MIT" ]
1
2021-06-07T12:53:51.000Z
2021-06-07T12:53:51.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2015-12-18 16:56 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('quiz', '0003_auto_20151214_1556'), ] operations = [ migrations.AlterModelOptio...
26.5
107
0.552561
100
1,113
5.98
0.57
0.060201
0.065217
0.085284
0
0
0
0
0
0
0
0.043767
0.322552
1,113
41
108
27.146341
0.749337
0.058401
0
0.323529
1
0
0.15311
0.02201
0
0
0
0
0
1
0
false
0
0.058824
0
0.147059
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f473e6898c3eda69584514976cc70201140e3a67
586
py
Python
vkwave/bots/core/dispatching/cast/default.py
Stunnerr/vkwave
605bcfafa8db9d75122b5c66cf8bad5211199883
[ "MIT" ]
1
2021-01-02T00:53:32.000Z
2021-01-02T00:53:32.000Z
vkwave/bots/core/dispatching/cast/default.py
Stunnerr/vkwave
605bcfafa8db9d75122b5c66cf8bad5211199883
[ "MIT" ]
null
null
null
vkwave/bots/core/dispatching/cast/default.py
Stunnerr/vkwave
605bcfafa8db9d75122b5c66cf8bad5211199883
[ "MIT" ]
null
null
null
from typing import Any, Callable, List, Optional, TypeVar, cast from .caster import AbstractCaster IT = TypeVar("IT") T = TypeVar("T") class DefaultCaster(AbstractCaster[IT]): def __init__(self): self._user_casts: List[Callable[[Any], IT]] = [] def add_caster(self, handler: Callable[[Any], IT]): ...
26.636364
63
0.639932
72
586
5.041667
0.458333
0.066116
0.107438
0
0
0
0
0
0
0
0
0
0.249147
586
21
64
27.904762
0.825
0
0
0
0
0
0.005119
0
0
0
0
0
0
1
0.2
false
0
0.133333
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
f4774a252fca8a9b5c92f103e0556cde774d5812
946
py
Python
src/ai_package/ai_coin_chaser.py
vineetjc/pygame-Coin-Fall-
0d8629afa73f41edb4eea11bf0b7e346008499f1
[ "MIT" ]
5
2018-12-11T12:38:46.000Z
2022-02-13T05:29:18.000Z
src/ai_package/ai_coin_chaser.py
vineetjc/pygame-Coin-Fall-
0d8629afa73f41edb4eea11bf0b7e346008499f1
[ "MIT" ]
56
2018-11-27T06:52:57.000Z
2019-01-05T21:09:55.000Z
src/ai_package/ai_coin_chaser.py
vineetjc/pygame-Coin-Fall-
0d8629afa73f41edb4eea11bf0b7e346008499f1
[ "MIT" ]
31
2018-11-30T23:09:13.000Z
2019-11-21T04:21:56.000Z
#################################### # Example AI which moves based on # the lowest coin location #################################### import math from .ai_base import AI_Base from src.misc.game_enums import Entity class AI_Coin_Chaser(AI_Base): def __init__(self): pass def restart(self): pa...
23.65
67
0.530655
124
946
3.774194
0.403226
0.08547
0.089744
0.055556
0.068376
0
0
0
0
0
0
0.014107
0.325581
946
39
68
24.25641
0.719436
0.059197
0
0.192308
0
0
0
0
0
0
0
0
0
1
0.115385
false
0.076923
0.115385
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
f47761b80e3e5acf7194d66bd71bb4f07d9c023f
368
py
Python
broker/_test/eudat/submit.py
ebloc/EBlocBroker
8e0a8be0fb4e998b0b7214c3eb3eff20b90a8253
[ "MIT" ]
null
null
null
broker/_test/eudat/submit.py
ebloc/EBlocBroker
8e0a8be0fb4e998b0b7214c3eb3eff20b90a8253
[ "MIT" ]
null
null
null
broker/_test/eudat/submit.py
ebloc/EBlocBroker
8e0a8be0fb4e998b0b7214c3eb3eff20b90a8253
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from broker.config import env from broker.eudat.submit import submit_eudat def main(): job_yaml = env.HOME / "ebloc-broker" / "broker" / "_test" / "eudat" / "job.yaml" # job_yaml_temp = job_yaml.replace(".yaml", "_temp.yaml") # copyfile(job_yaml, job_yaml_temp) submit_eudat(jo...
21.647059
84
0.673913
52
368
4.384615
0.423077
0.214912
0.105263
0.122807
0.157895
0
0
0
0
0
0
0.0033
0.17663
368
16
85
23
0.749175
0.30163
0
0
0
0
0.173228
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.428571
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f47e037e2d701819e81f396a67de08ff9b2d8fbe
113,385
py
Python
malaya/text/rules.py
Adlifuddin/malaya
054f15572da68b3ae8a463d0a06935c94d116456
[ "MIT" ]
1
2021-07-28T07:15:21.000Z
2021-07-28T07:15:21.000Z
malaya/text/rules.py
zulkiflizaki/malaya
2358081bfa43aad57d9415a99f64c68f615d0cc4
[ "MIT" ]
null
null
null
malaya/text/rules.py
zulkiflizaki/malaya
2358081bfa43aad57d9415a99f64c68f615d0cc4
[ "MIT" ]
null
null
null
import numpy as np import pickle import warnings import string # https://www.kaggle.com/kyakovlev/jigsaw-general-helper-public/code # Url extensions ################################################################################# url_extensions = """com|net|org|edu|gov|mil|aero|asia|biz|cat|coop|info|int|jobs|mobi|mu...
24.632848
1,659
0.474172
10,722
113,385
5.081048
0.575359
0.003579
0.0038
0.004405
0.057582
0.039575
0.03137
0.02568
0.019916
0.011968
0
0.004076
0.251409
113,385
4,602
1,660
24.638201
0.628554
0.002073
0
0.019746
0
0.000658
0.506912
0.029214
0
0
0
0
0
1
0
false
0.001316
0.000878
0
0.000878
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f4811519dcee4a8909b452166a4e9d96afb91400
10,704
py
Python
lib/Release/nengo_show_spikes.py
Stanford-BIS/pystorm
4acaaee78a04b69ad17554126018016800e5a140
[ "MIT" ]
3
2018-12-19T06:46:15.000Z
2019-11-08T18:53:20.000Z
lib/Release/nengo_show_spikes.py
Stanford-BIS/pystorm
4acaaee78a04b69ad17554126018016800e5a140
[ "MIT" ]
1
2018-12-13T00:30:08.000Z
2018-12-14T18:55:44.000Z
lib/Release/nengo_show_spikes.py
Stanford-BIS/pystorm
4acaaee78a04b69ad17554126018016800e5a140
[ "MIT" ]
null
null
null
import nengo import time import numpy as np import sys from math import floor sys.path.append(".") import PyRawDriver as bd from PyDriver.pystorm.bddriver import bdpars AER_TO_XY = np.zeros((4096, 2), dtype=int) for _idx in range(4096): x = 0 y = 0 word = "{0:012b}".format(_idx)[::-1] for _n in range...
40.854962
118
0.621824
1,316
10,704
4.827508
0.160334
0.049111
0.131591
0.159295
0.67417
0.643476
0.638281
0.638281
0.628522
0.628522
0
0.035011
0.274197
10,704
262
119
40.854962
0.782726
0.10781
0
0.521053
0
0
0.003153
0
0
0
0
0
0
1
0.042105
false
0
0.052632
0
0.126316
0.026316
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f484c6c03e020cce43a7bee43cb1f23f60108919
505
py
Python
mongodec/__init__.py
harrisonhunter/mongodec
076969a268d9e51cd2214f89a124e815326a1ed9
[ "BSD-3-Clause" ]
null
null
null
mongodec/__init__.py
harrisonhunter/mongodec
076969a268d9e51cd2214f89a124e815326a1ed9
[ "BSD-3-Clause" ]
1
2021-06-25T15:44:32.000Z
2021-06-25T15:44:32.000Z
mongodec/__init__.py
harrisonhunter/mongodec
076969a268d9e51cd2214f89a124e815326a1ed9
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright (C) 2016 Matt Jordan, mattjordan.mail@gmail.com # # This module is part of mongodec and is released under # the BSD License: https://opensource.org/licenses/BSD-3-Clause # Setup namespace from mongodec import MongoConfig from changeling import Changeling from filter_mongo import ...
24.047619
63
0.693069
57
505
5.964912
0.789474
0.064706
0
0
0
0
0
0
0
0
0
0.022901
0.221782
505
20
64
25.25
0.842239
0.417822
0
0
0
0
0.017668
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
f48c514df06f349e052c6bcf8450ddfc4c868dbc
67,172
py
Python
tools/proteonics/validator.py
globusgenomics/galaxy
7caf74d9700057587b3e3434c64e82c5b16540f1
[ "CC-BY-3.0" ]
1
2021-02-05T13:19:58.000Z
2021-02-05T13:19:58.000Z
tools/proteonics/validator.py
globusgenomics/galaxy
7caf74d9700057587b3e3434c64e82c5b16540f1
[ "CC-BY-3.0" ]
null
null
null
tools/proteonics/validator.py
globusgenomics/galaxy
7caf74d9700057587b3e3434c64e82c5b16540f1
[ "CC-BY-3.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: UTF-8 -*- # by Samuel Volchenboum import sys import cPickle import time from PeptideFragmentSingleton import PeptideFragment # from Gene Selkov import bisect import os os.environ["LD_LIBRARY_PATH"] = os.environ["LD_LIBRARY_PATH"] + ":" + "." import itertools # built in to 2.6 from ...
37.822072
337
0.63586
11,215
67,172
3.661346
0.077753
0.006648
0.012566
0.004432
0.425819
0.356924
0.298061
0.260996
0.235278
0.211753
0
0.046022
0.201334
67,172
1,775
338
37.84338
0.719374
0.170458
0
0.283764
0
0.000718
0.117361
0.006011
0
0
0
0
0.000718
0
null
null
0
0.006466
null
null
0.086925
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f48f3e776d31e2695bd0f17a35e8ec0af8fa8f9f
1,108
py
Python
DP&Memorization/125.py
wilbertgeng/LintCode_exercise
e7a343b746e98ca3b4bc7b36655af7291f3150db
[ "MIT" ]
null
null
null
DP&Memorization/125.py
wilbertgeng/LintCode_exercise
e7a343b746e98ca3b4bc7b36655af7291f3150db
[ "MIT" ]
null
null
null
DP&Memorization/125.py
wilbertgeng/LintCode_exercise
e7a343b746e98ca3b4bc7b36655af7291f3150db
[ "MIT" ]
null
null
null
"""125. Backpack II """ class Solution: """ @param m: An integer m denotes the size of a backpack @param A: Given n items with size A[i] @param V: Given n items with value V[i] @return: The maximum value """ def backPackII(self, m, A, V): # write your code here dp = [[float('...
29.157895
84
0.387184
186
1,108
2.295699
0.236559
0.056206
0.056206
0.070258
0.505855
0.505855
0.449649
0.449649
0.346604
0.346604
0
0.054688
0.422383
1,108
37
85
29.945946
0.6125
0.1787
0
0.47619
0
0
0.009185
0
0
0
0
0.027027
0
1
0.047619
false
0
0
0
0.190476
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
be37003c35de63328bb3a7fd8d5c63648cbf3017
3,445
py
Python
src/sentry/api/serializers/rest_framework/sentry_app.py
lauryndbrown/sentry
c5304e303966566386f5e61df1b72624a30803b4
[ "BSD-3-Clause" ]
1
2019-07-29T16:21:39.000Z
2019-07-29T16:21:39.000Z
src/sentry/api/serializers/rest_framework/sentry_app.py
lauryndbrown/sentry
c5304e303966566386f5e61df1b72624a30803b4
[ "BSD-3-Clause" ]
1
2020-11-05T14:54:44.000Z
2020-11-19T21:54:19.000Z
src/sentry/api/serializers/rest_framework/sentry_app.py
lauryndbrown/sentry
c5304e303966566386f5e61df1b72624a30803b4
[ "BSD-3-Clause" ]
1
2017-02-09T06:36:57.000Z
2017-02-09T06:36:57.000Z
from __future__ import absolute_import from jsonschema.exceptions import ValidationError as SchemaValidationError from rest_framework import serializers from rest_framework.serializers import Serializer, ValidationError from django.template.defaultfilters import slugify from sentry.api.validators.sentry_apps.schema ...
33.125
103
0.667344
382
3,445
5.908377
0.34555
0.040319
0.034559
0.048737
0.196721
0.114311
0.114311
0.073549
0.05494
0.05494
0
0
0.25283
3,445
103
104
33.446602
0.876845
0.043541
0
0.2
0
0
0.058645
0
0
0
0
0
0
1
0.08
false
0
0.106667
0
0.56
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
be39d21abf4ee425b6b52ba06f3b97c1a62cb97a
14,437
py
Python
backend/song/tests/test_views.py
espoirMur/nzembo
f4e73ea77eaf217bbcdfc50d761984a7d4291811
[ "MIT" ]
1
2020-09-30T08:29:38.000Z
2020-09-30T08:29:38.000Z
backend/song/tests/test_views.py
espoirMur/nzembo
f4e73ea77eaf217bbcdfc50d761984a7d4291811
[ "MIT" ]
12
2020-08-07T06:44:39.000Z
2022-02-27T10:35:08.000Z
backend/song/tests/test_views.py
kisanola/nzembo
f4e73ea77eaf217bbcdfc50d761984a7d4291811
[ "MIT" ]
null
null
null
import pytest from django.urls import reverse from rest_framework.status import ( HTTP_200_OK, HTTP_201_CREATED, HTTP_204_NO_CONTENT, HTTP_403_FORBIDDEN, ) from backend.song.models import Artist pytestmark = pytest.mark.django_db class TestCategoryView: def test_create_category(self, auth, c...
43.48494
135
0.685392
1,815
14,437
5.213774
0.07438
0.127232
0.10652
0.105675
0.706436
0.632041
0.562718
0.399345
0.347776
0.283208
0
0.016174
0.186327
14,437
331
136
43.616314
0.789393
0
0
0.320675
0
0.004219
0.164923
0.031239
0
0
0
0
0.582278
1
0.164557
false
0
0.016878
0
0.21519
0.008439
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
be40b75b1c1963f5b1b614f920a6fbdb6c849e64
1,564
py
Python
clinic/config/clinic.py
hrgadeha/clinic
c77eb13408b2f84a376d6ecb2a0150ad2637c115
[ "MIT" ]
null
null
null
clinic/config/clinic.py
hrgadeha/clinic
c77eb13408b2f84a376d6ecb2a0150ad2637c115
[ "MIT" ]
null
null
null
clinic/config/clinic.py
hrgadeha/clinic
c77eb13408b2f84a376d6ecb2a0150ad2637c115
[ "MIT" ]
1
2019-07-30T14:52:47.000Z
2019-07-30T14:52:47.000Z
from __future__ import unicode_literals from frappe import _ def get_data(): return [ { "label": _("Document"), "items": [ { "type": "doctype", "name": "Doctor", "description": _("Doctor") }, { "type": "doctype", "name": "Customer", "description": _("Client") }, ...
18.186047
43
0.507673
120
1,564
6.416667
0.341667
0.114286
0.155844
0.066234
0.188312
0.120779
0.120779
0
0
0
0
0
0.297954
1,564
85
44
18.4
0.701275
0
0
0.240506
0
0
0.460358
0
0
0
0
0
0
1
0.012658
true
0
0.025316
0.012658
0.050633
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
be4407a0f85e5f790d85fb9c386b368efce34c8b
12,734
py
Python
Python/treehopper/libraries/io/adc/nau7802_registers.py
treehopper-electronics/treehopper-sdk
1abe8aacd9723470e1a4ffe734cdecfda2110ae3
[ "MIT" ]
3
2018-03-16T07:00:42.000Z
2022-03-27T00:39:55.000Z
Python/treehopper/libraries/io/adc/nau7802_registers.py
treehopper-electronics/treehopper-sdk
1abe8aacd9723470e1a4ffe734cdecfda2110ae3
[ "MIT" ]
16
2016-08-12T18:51:04.000Z
2021-04-16T16:14:07.000Z
Python/treehopper/libraries/io/adc/nau7802_registers.py
treehopper-electronics/treehopper-sdk
1abe8aacd9723470e1a4ffe734cdecfda2110ae3
[ "MIT" ]
6
2015-11-04T15:53:49.000Z
2020-06-25T18:34:47.000Z
### This file was auto-generated by RegisterGenerator. Any changes to it will be overwritten! from treehopper.libraries.register_manager_adapter import RegisterManagerAdapter from treehopper.libraries.register_manager import RegisterManager, Register, sign_extend class Gains: x1 = 0 x4 = 1 x2 = 2 x8 =...
39.181538
304
0.536438
1,413
12,734
4.731069
0.112527
0.011369
0.045475
0.068212
0.410471
0.360209
0.336275
0.336275
0.162752
0.162752
0
0.054508
0.317104
12,734
324
305
39.302469
0.714236
0.006989
0
0.270677
1
0
0.116456
0.002136
0
0
0.021361
0
0
1
0.154135
false
0.015038
0.007519
0.030075
0.417293
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
be461465a301c9db4db15ee7d81d9cbcfc4ce04a
699
py
Python
services/migrations/0007_auto_20191214_1326.py
Wings30306/callingmrschristmas
2957e4fd3e61e0df4f3135113d52a518eae6270e
[ "PostgreSQL" ]
4
2020-01-31T13:49:43.000Z
2020-02-05T22:47:51.000Z
services/migrations/0007_auto_20191214_1326.py
Wings30306/callingmrschristmas
2957e4fd3e61e0df4f3135113d52a518eae6270e
[ "PostgreSQL" ]
13
2019-12-07T12:16:27.000Z
2022-03-12T00:06:22.000Z
services/migrations/0007_auto_20191214_1326.py
Wings30306/callingmrschristmas
2957e4fd3e61e0df4f3135113d52a518eae6270e
[ "PostgreSQL" ]
1
2020-02-01T00:23:19.000Z
2020-02-01T00:23:19.000Z
# Generated by Django 2.2.8 on 2019-12-14 12:26 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('services', '0006_service_servicecategory'), ] operations = [ migrations.RemoveField( model_name...
27.96
174
0.633763
71
699
6.126761
0.549296
0.055172
0.064368
0.101149
0
0
0
0
0
0
0
0.03619
0.248927
699
24
175
29.125
0.792381
0.064378
0
0.222222
1
0
0.179448
0.079755
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
be47e18faad0c8c670a0a9bf23fc283a6d06c0ba
531
py
Python
pinaxcon/registrasion/migrations/0004_auto_20160923_0133.py
n6151h/pyconau2017
092de5fd60d2b0dd207242cf2585e16ec6843392
[ "MIT" ]
null
null
null
pinaxcon/registrasion/migrations/0004_auto_20160923_0133.py
n6151h/pyconau2017
092de5fd60d2b0dd207242cf2585e16ec6843392
[ "MIT" ]
null
null
null
pinaxcon/registrasion/migrations/0004_auto_20160923_0133.py
n6151h/pyconau2017
092de5fd60d2b0dd207242cf2585e16ec6843392
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-09-23 01:33 from __future__ import unicode_literals from django.db import migrations import django_countries.fields class Migration(migrations.Migration): dependencies = [ ('pinaxcon_registrasion', '0003_auto_20160922_2337'), ] operati...
24.136364
84
0.661017
59
531
5.728814
0.79661
0.088757
0.12426
0
0
0
0
0
0
0
0
0.080685
0.229755
531
21
85
25.285714
0.745721
0.126177
0
0
1
0
0.147505
0.095445
0
0
0
0
0
1
0
false
0
0.214286
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
be487b5a6b24b98cbccf9a40d3cd69f5a7f50a64
1,050
py
Python
Algo and DSA/LeetCode-Solutions-master/Python/self-crossing.py
Sourav692/FAANG-Interview-Preparation
f523e5c94d582328b3edc449ea16ac6ab28cdc81
[ "Unlicense" ]
3,269
2018-10-12T01:29:40.000Z
2022-03-31T17:58:41.000Z
Algo and DSA/LeetCode-Solutions-master/Python/self-crossing.py
Sourav692/FAANG-Interview-Preparation
f523e5c94d582328b3edc449ea16ac6ab28cdc81
[ "Unlicense" ]
53
2018-12-16T22:54:20.000Z
2022-02-25T08:31:20.000Z
Algo and DSA/LeetCode-Solutions-master/Python/self-crossing.py
Sourav692/FAANG-Interview-Preparation
f523e5c94d582328b3edc449ea16ac6ab28cdc81
[ "Unlicense" ]
1,236
2018-10-12T02:51:40.000Z
2022-03-30T13:30:37.000Z
# Time: O(n) # Space: O(1) class Solution(object): def isSelfCrossing(self, x): """ :type x: List[int] :rtype: bool """ if len(x) >= 5 and x[3] == x[1] and x[4] + x[0] >= x[2]: # Crossing in a loop: # 2 # 3 ┌────┐ # └─══...
27.631579
86
0.26381
142
1,050
2.190141
0.330986
0.090032
0.080386
0.057878
0.128617
0.128617
0.07074
0.07074
0.07074
0
0
0.078947
0.565714
1,050
37
87
28.378378
0.528509
0.21619
0
0.272727
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
be4edf67fd9a24e4092ce8b91adbe01653c74481
5,378
py
Python
keyextract.py
rambasnet/MAKE2
3e4f31a0e39aab4aae117d8644fa4ae50e8531b5
[ "MIT" ]
null
null
null
keyextract.py
rambasnet/MAKE2
3e4f31a0e39aab4aae117d8644fa4ae50e8531b5
[ "MIT" ]
null
null
null
keyextract.py
rambasnet/MAKE2
3e4f31a0e39aab4aae117d8644fa4ae50e8531b5
[ "MIT" ]
null
null
null
import os import shutil import string import re import time #User Input msg_Folder_Path = "E:\\mailtest\\Emails\\Messages" result_Dir_Path = "E:\\search Results" file_Name = "E:\\keywords.txt" #auto Input key_List = [] find_Word = 'Attachments:' attach_Exp = re.compile(find_Word,re.IGNORECASE) def Co...
32.39759
193
0.546672
597
5,378
4.696817
0.241206
0.051355
0.045649
0.016049
0.105563
0.064194
0.049929
0.024964
0.024964
0.024964
0
0.011598
0.342692
5,378
165
194
32.593939
0.781612
0.003719
0
0.105263
0
0
0.070328
0.005927
0
0
0
0
0
0
null
null
0
0.04386
null
null
0.04386
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1